]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
the automatic label patch
[lyx.git] / src / ChangeLog
1
2 2003-09-12  André Pönitz  <poenitz@gmx.net>
3
4         * BufferView_pimpl.C:
5         * Bullet.C:
6         * layout.h:
7         * lyxfunc.C:
8         * lyxlayout.[Ch]:
9         * lyxtextclass.C:
10         * rowpainter.C:
11         * text.C:
12         * text2.C:
13         * Counters.[Ch]: finish the 'automatic counters' job
14
15 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
16
17         * aspell.C: include <boost/assert.cpp> (compile fix)
18
19 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
20
21         * boost.C (assertion_failed): use lyx::support::abort instead of
22         assert.
23
24 2003-09-10  Angus Leeming  <leeming@lyx.org>
25
26         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h with their
27         _fwd progeny.
28
29 2003-09-09  Angus Leeming  <leeming@lyx.org>
30
31         134 files throughtout the source tree: replace 'using namespace abc;'
32         directives with the appropriate 'using abc::xyz;' declarations.
33
34 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
35
36         * boost.C (emergencyCleanup): moved here from LAssert.c
37         (assertion_failed): new function, called by BOOST_ASSERT
38
39         * several files: change Assert to BOOST_ASSERT
40
41 2003-09-09  Angus Leeming  <leeming@lyx.org>
42
43         * buffer.[Ch]: Add an Impl class and move Buffer's member
44         variables into it. As a result move several header files out of
45         buffer.h.
46
47         Add header files to lots of .C files all over the tree as a result.
48
49 2003-09-09  Angus Leeming  <leeming@lyx.org>
50
51         * buffer.[Ch]: make Buffer's member variables private. Add
52         accessor functions.
53
54         Lots of changes all over the tree as a result.
55
56 2003-09-08  Angus Leeming  <leeming@lyx.org>
57
58         * graph.C: #include <config.h>.
59
60 2003-09-08  Angus Leeming  <leeming@lyx.org>
61
62         * BranchList.C:
63         * BufferView.C:
64         * BufferView_pimpl.C:
65         * CutAndPaste.C:
66         * DepTable.C:
67         * LaTeX.C:
68         * LaTeXFeatures.C:
69         * LyXAction.C:
70         * MenuBackend.C:
71         * TextCache.C:
72         * aspell.C:
73         * buffer.C:
74         * bufferlist.C:
75         * changes.C:
76         * chset.C:
77         * converter.C:
78         * counters.C:
79         * debug.C:
80         * graph.C:
81         * ispell.C:
82         * lyx_cb.C:
83         * lyxfind.C:
84         * lyxfunc.C:
85         * lyxlex_pimpl.C:
86         * lyxrc.C:
87         * lyxrow.C:
88         * paragraph.C:
89         * rowpainter.C:
90         * texrow.C:
91         * text.C:
92         * text2.C:
93         * toc.C: remove redundant using directives.
94
95 2003-09-07  Angus Leeming  <leeming@lyx.org>
96
97         * LaTeXFeatures.h: remove #include "support/types.h".
98         * ToolbarBackend.h: remove #include <algorithm>.
99         * changes.h: remove #include <ctime>.
100         * debug.h: remove #include <iosfwd>.
101         * graph.h: remove #include "support/std_string.h".
102         * lyx_main.h: remove #include <csignal>.
103         * lyxlex_pimpl.h: remove #include <fstream>.
104         * sgml.h: remove #include <algorithm>, <utility>.
105         * toc.h: remove #include "support/std_ostream.h". Add #include <iosfwd>.
106
107 2003-09-07  Angus Leeming  <leeming@lyx.org>
108
109         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
110
111         * converter.h: forward declare LatexRunParams.
112         * encoding.h: remove #include "lyxrc.h".
113         * lyxtext.h: remove #include "LColor.h".
114         * lyxtextclass.h: remove #include "support/types.h".
115         * trans.h: remove #include "tex-accent.h".
116         * trans_mgr.h: remove #include "tex-accent.h".
117         * insets/inset.h: remove #include "support/types.h", <vector>.
118         * insets/insetcollapsable.h: remove #include "LColor.h".
119         * insets/insetinclude.h: remove #include "dimension.h".
120         * insets/insetlatexaccent.h: remove #include "dimension.h".
121         * insets/insetoptarg.h:: remove #include "insettext.h".
122         * insets/insettext.h: remove #include "dimension.h", <boost/shared_ptr.hpp>
123
124         * insets/renderers.h: add #include "dimension.h".
125         * insets/updatableinset.h: add #include "support/types.h".
126
127         * many .C files: Associated changes.
128
129 2003-09-06  Angus Leeming  <leeming@lyx.org>
130
131         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just one,
132         inside testInvariant.
133
134         * PrinterParams.C: new file.
135         * PrinterParams.[Ch]: move the function bodies out of line.
136
137 2003-09-06  Angus Leeming  <leeming@lyx.org>
138
139         * ParagraphParameters.h: forward declare ParameterStruct rather than
140         including its header file.
141         (depth): moved out-of-line.
142
143 2003-09-06  Angus Leeming  <leeming@lyx.org>
144
145         * BufferView_pimpl.h:
146         * kbmap.h:
147         * kbsequence.h:
148         * lyxfunc.h: forward declare LyXKeySym rather than
149         #include "frontends/LyXKeySym.h".
150
151         * BufferView_pimpl.C:
152         * kbmap.C:
153         * kbsequence.C:
154         * lyxfunc.C: associated changes.
155
156 2003-09-06  Angus Leeming  <leeming@lyx.org>
157
158         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
159         As a result, can remove the #include "insets/inset.h" from BufferView.h
160
161 2003-09-06  Angus Leeming  <leeming@lyx.org>
162
163         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
164         As a result, can remove the #include "insets/inset.h" from BufferView.h
165
166 2003-09-06  Angus Leeming  <leeming@lyx.org>
167
168         * buffer_funcs.C:
169         * buffer.h:
170         * bufferlist.C:
171         * BufferView.C:
172         * bufferview_funcs.C:
173         * BufferView_pimpl.C:
174         * CutAndPaste.C:
175         * lyx_cb.C:
176         * lyxfunc.C:
177         * paragraph.h:
178         * ParagraphParameters.C:
179         * tabular.C:
180         * text3.C:
181         * toc.C:
182         * undo_funcs.C:
183         * frontends/controllers/ControlDocument.C:
184         * insets/insetcaption.C: rearrange the #includes into some sort of
185         coherent order.
186
187         * buffer.h: remove #includes ErrorList.h, undo.h
188
189 2003-09-06  Angus Leeming  <leeming@lyx.org>
190
191         * support/types.h: add a 'depth_type' typedef, used to store the
192         nesting depth of a paragraph.
193
194         * paragraph.h:
195         * ParameterStruct.h: use this lyx::depth_type typedef rather than
196         defining explicitly.
197
198         * buffer.h:
199         * paragraph_funcs.h:
200         * ParagraphParameters.h:
201         * sgml.h: use lyx::depth_type rather than Paragraph or
202         ParameterStruct's depth_type.
203
204         * buffer.h
205         * paragraph_funcs.h: no need to #include paragraph.h anymore.
206
207         * BufferView.C:
208         * BufferView_pimpl.C:
209         * CutAndPaste.C:
210         * ParagraphParameters.C:
211         * buffer_funcs.C:
212         * bufferlist.C:
213         * bufferview_funcs.C:
214         * lyx_cb.C:
215         * lyxfunc.C:
216         * tabular.C:
217         * text3.C:
218         * toc.C:
219         * undo_funcs.C:
220         * frontends/LyXView.C:
221         * frontends/controllers/ControlDocument.C:
222         * frontends/controllers/ControlErrorList.C:
223         * insets/insetbibitem.C:
224         * insets/insetbranch.C:
225         * insets/insetcaption.C:
226         * insets/insetcollapsable.C:
227         * insets/insetenv.C:
228         * insets/insetert.C:
229         * insets/insetfloat.C:
230         * insets/insetfoot.C:
231         * insets/insetfootlike.C:
232         * insets/insetnewline.C:
233         * insets/insetquotes.C:
234         * insets/insettabular.C:
235         * insets/insettext.C:
236         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
237
238         * frontends/controllers/ControlChanges.C: #include "changes.h".
239
240 2003-09-06  Angus Leeming  <leeming@lyx.org>
241
242         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather than
243         #including paragraph.h.
244
245         * ParagraphList.h:
246         * RowList.h: deleted. Superfluous.
247
248         * CutAndPaste.h:
249         * iterators.h:
250         * lyxcursor.h:
251         * lyxtext.h:
252         * text_funcs.h:
253         * undo.h:
254         * undo_funcs.h:
255         * insets/inset.h:
256         * insets/insettext.h: use ParagraphList_fwd.h rather than ParagraphList.h.
257
258         * paragraph.h: don't forward declare ParagraphList.
259
260         * buffer.h:
261         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
262         rather than ParagraphList.h. paragraph.h is still needed for the
263         Paragraph::depth_type parameters.
264
265         * textcursor.h: enable it to compile stand-alone in light of the
266         above changes.
267
268         * bufferview_funcs.C:
269         * iterators.C:
270         * lyxfunc.C:
271         * lyxrow_funcs.C:
272         * paragraph.C:
273         * rowpainter.C:
274         * text.C:
275         * text2.C:
276         * text3.C:
277         * text_funcs.C:
278         * textcursor.C:
279         * undo.C:
280         * frontends/controllers/ControlParagraph.C:
281         * frontends/controllers/ControlTabular.C:
282         * insets/insetmarginal.C:
283         * insets/insetminipage.C:
284         * insets/insetnote.C:
285         * insets/insetoptarg.C: add header files needed to compile again.
286
287 2003-09-06  Angus Leeming  <leeming@lyx.org>
288
289         * RowList_fwd.h: new file, forward-declaring Row rather than
290         #including lyxrow.h.
291
292         * lyxrow_funcs.h:
293         * lyxtext.h:
294         * paragraph.h:
295         * insets/insettext.h: use it instead of RowList.h
296
297         * bufferview_funcs.C:
298         * lyxfunc.C:
299         * lyxrow_funcs.C:
300         * paragraph.C:
301         * rowpainter.C:
302         * text.C:
303         * text2.C:
304         * text3.C: #include "RowList.h".
305
306 2003-09-05  Angus Leeming  <leeming@lyx.org>
307
308         * factory.C (createInset):
309         * vspace.C (c-tor): replace sscanf call with an istringstream.
310         * ispell.C: re-add missing HP/UX headers.
311         * lyxserver.C: re-add missing  os2 headers.
312
313 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
314
315         * BranchList.C:
316         * graph.C:
317         * ispell.C:
318         * lastfiles.C:
319         * lyx_cb.C:
320         * lyxserver.C:
321         * texrow.C:
322         * text3.C: re-add missing system headers, needed for 2.95.2.
323
324 2003-09-05  Angus Leeming  <leeming@lyx.org>
325
326         Changes most place everywhere due to the removal of using directives
327         from support/std_sstream.h.
328
329 2003-09-05  Angus Leeming  <leeming@lyx.org>
330
331         Replace LString.h with support/std_string.h,
332         Lsstream.h with support/std_sstream.h,
333         support/LIstream.h with support/std_istream.h,
334         support/LOstream.h with support/std_ostream.h.
335
336         Changes resulting throughout the tree.
337
338 2003-09-05  Angus Leeming  <leeming@lyx.org>
339
340         * sgml.h: ensure that the header file can be compiled stand-alone.
341         * *.C: strip out redundant #includes. (320 in total.)
342
343 2003-09-04  Angus Leeming  <leeming@lyx.org>
344
345         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
346         here (from getPackages).
347
348         * debug.[Ch]: add a new EXTERNAL tag.
349
350 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
351
352         * text2.C (cursorEnd): simplify
353         (setCursor): adjust
354         (getColumnNearX): adjust
355
356         * text.C (computeBidiTables): adjust
357         (fill): adjust
358
359         * rowpainter.C (paintChars): adjust
360         (paintSelection): adjust
361         (paintChangeBar): adjust
362         (paintText): adjust
363
364         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
365         lastPos instead.
366         (numberOfSeparators): adjust
367
368 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
369
370         * LyXAction.C:
371         * box.[Ch]:
372         * lfuns.h:
373         * lyxfunc.C:
374         * text3.C: Restricts the mouse click functionality
375         of insets like bibtex, include, toc and floatlist to the visible
376         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
377         up the dialogs. Cursor has to be in front of the inset (i.e.
378         start of row) for this to function.
379
380 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
381
382         * bufferview_funcs.C (currentState): output row information
383
384 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
385
386         * bufferview_funcs.C (currentState): output paragraph position
387
388 2003-09-04  Angus Leeming  <leeming@lyx.org>
389
390         * FloatList.h: move out #include "Floating.h".
391         * LaTeX.h: move out #include "DepTable.h".
392         * LyXAction.h: move out #include "funcrequest.h".
393         * buffer.h: move out #include "author.h", "iterators.h".
394         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
395         * lyx_main.h: move out #include "errorlist.h".
396         * lyxfunc.h: move out #include "FuncStatus.h".
397         * lyxtext: move out #include "lyxcursor.h".
398         * paragraph_pimpl.h: move out #include "counters.h".
399
400 2003-09-03  Angus Leeming  <leeming@lyx.org>
401
402         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
403         preamble_snippets list, enabling us to add snippets to the preamble only
404         if the snippet was not there already.
405
406 2003-09-04  Angus Leeming  <leeming@lyx.org>
407
408         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
409
410 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
411
412         * lyxfunc.C (dispatch): if fitCursor did something be sure to
413         update
414
415 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
416
417         * BranchList.C: point fix, earlier forgotten
418
419 2003-09-02  Angus Leeming  <leeming@lyx.org>
420
421         * box.C (contains): renamed from 'contained' after a fantastic
422         amount of hot air.
423
424 2003-09-02  John Levon  <levon@movementarian.org>
425
426         * BufferView.C:
427         * lyxcursor.h:
428         * lyxcursor.C:
429         * lyxfunc.C:
430         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
431
432 2003-09-02  John Levon  <levon@movementarian.org>
433
434         * text2.C: simplification of cursorEnd(), including partial
435         fix for bug 1376
436
437 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
438
439         * buffer.C (readFile): add a space
440
441 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
442
443         * BufferView_pimpl.C (update): remove bogus fitCursor() call
444
445 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
446
447         * buffer.C (readFile): new function, take a filename and a
448         ParagraphList::iterator
449         (readFile): adjust
450         (readFile): adjust, make it private. don't use setStream, make
451         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
452         always contain the filename.
453
454         * BufferView.C (insertLyXFile): simplify and make it work for
455         gzipped files.
456
457 2003-08-30  John Levon  <levon@movementarian.org>
458
459         * Makefile.am: fix dist (from Kayvan)
460
461 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
462
463         * most files: change to use const Buffer refs
464
465 2003-08-27  André Pönitz  <poenitz@gmx.net>
466
467         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
468         on top of ownerPar().
469
470 2003-08-27  John Levon  <levon@movementarian.org>
471
472         * funcrequest.C: properly initialise POD members
473
474 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
475
476         * lyxtext.h (top_y): move top_y from here
477         * text.C:
478         * text2.C:
479         * text3.C:
480         * BufferView.[Ch]:
481         * BufferView_pimpl.[Ch]: to here
482         * frontends/screen.C:
483         * insets/insettabular.C:
484         * insets/insettext.C: adjust
485         * rowpainter.[Ch] (paintRows): remove LyXText & argument
486
487 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
488
489         * BufferView.[Ch]:
490         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
491
492 2003-08-26  André Pönitz  <poenitz@gmx.net>
493
494         * paragraph_func.[Ch] (outerPar): new function
495
496         * paragraph.C:
497         * paragraph_funcs.C:
498         * paragraph_funcs.h:
499         * paragraph_pimpl.C:
500         * text2.C: remove Inset::par_owner
501
502 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
503
504         * lyxrow_funcs.C:
505         * lyxtext.h:
506         * text.C:
507         * text2.C: eliminates the needFullRow/display() stuff
508         altogether, putting the logic in metrics/draw in the insets.
509
510 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
511
512         * text2.C (redoParagraphInternal, redoParagraphs):
513         * text.C (redoParagraph): add a call to updateRowPositions at the
514         end of each 'metrics-like' call. Remove all others.
515         (getRow): remove the 'y-computing' version.
516         (getRowNearY): do not compute nor return the real y. Solve the
517         'y < 0' problem and simplify.
518
519 2003-08-22  Angus Leeming  <leeming@lyx.org>
520
521         * *.[Ch]: clean-up of licence and author blurbs.
522         Also move config.h out of a few .h files and into a few .C files.
523
524 2003-08-22  André Pönitz  <poenitz@gmx.net>
525
526         * lyxrow.[Ch]: add x_ and *fill_ members
527
528         * lyxtext.h:
529         * text.C:
530         * rowpainter.C:
531         * text2.C: adjust/remove prepareToPrint() calls
532
533 2003-08-22  André Pönitz  <poenitz@gmx.net>
534
535         * lyxrow.[Ch]: add  end_ member
536
537         * lyxrow_funcs.C: use LyXRow::end_
538
539         * lyxtext.h (singleWidth): add LyXFont parameter
540
541         * rowpainter.C:
542         * text2.C: adjust LyXText::singleWidth() calls
543
544         * text.C (redoParagraph): simplify row breaking logic
545
546
547 2003-08-19  André Pönitz  <poenitz@gmx.net>
548
549         * funcrequest.C: initialize button_ member
550
551         * text3.C:
552         * rowpainter.[Ch]: interface consolidation
553
554 2003-08-18  André Pönitz  <poenitz@gmx.net>
555
556         * BufferView.C:
557         * BufferView_pimpl.C:
558         * lyxfind.C:
559         * paragraph_funcs.C:
560         * rowpainter.C:
561         * text3.C: remove LyXScreen::draw() and fitCursor calls
562
563         * BranchList.h: remove spurious semicolons
564
565         * MenuBackend.C: fix branchlist related crash
566
567 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
568
569         * BranchList.[Ch]:
570         * InsetList.[Ch]:
571         * LColor.[Ch]:
572         * LyXAction.C:
573         * Makefile.am:
574         * MenuBackend.[Ch]:
575         * bufferparams.[Ch]:
576         * factory.C:
577         * lfuns.h:
578         * lyxfunc.C:
579         * text3.C: implements the 'branch inset'
580         idea. This allows the output of various versions of a document
581         from a single source version, selectively outputing or suppressing
582         output of parts of the text.
583         This implementation contains a 'branch list editor' in a separate
584         tab of the document settings dialog. Branches are user definable
585         and have a "display colour" to distinguish them on-screen.
586
587         ColorHandler was somewhat cleaned up.
588         (1) make possible a dynamically growing LColor list by allowing
589         the graphic context cache to grow along (vector);
590         (2) eliminate an IMHO unnecessary step in colour allocation.
591
592 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
593
594         * BufferView_pimpl.C: compile fix
595
596 2003-08-15  André Pönitz  <poenitz@gmx.net>
597
598         * rowpainter.C: remove extra metrics calls
599
600         * lyxtext.h: merge the two constructors into a single one,
601           pass reference to owner's par list
602
603         * BufferView_pimpl.C:
604         * text.C:
605         * text2.C: adjust
606
607 2003-08-15  André Pönitz  <poenitz@gmx.net>
608
609         * lyxrow_funcs.[Ch]:
610         * lyxtext.h:
611         * paragraph.h:
612         * paragraph_funcs.C:
613         * rowpainter.C:
614         * text.C:
615         * text2.C:
616         * text3.C:
617         * text_funcs.C: split LyXText::rowlist_ into individual
618         Paragraph::rows_ chunks
619
620         * BufferView.[Ch]:
621         * BufferView_pimpl.[Ch]:
622         * lyxfind.C:
623         * lyxtext.h:
624         * text3.C: remove toggleSelection()
625
626 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
627
628         * bufferlist.C: beautify two alerts (shorter text of buttons)
629         * buffer.C: Remove redundant ' ' from message
630         * tabular.h:
631         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
632         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
633         rename VALIGN_CENTER to VALIGN_MIDDLE
634
635 2003-08-11  André Pönitz  <poenitz@gmx.net>
636
637         * lyxtext.h (getPar):
638         * text.C: new function
639
640 2003-08-11  André Pönitz  <poenitz@gmx.net>
641
642         * Makefile.am:
643         * tracer.[Ch]: remove unneeded files
644
645         * InsetList.[Ch]: remove resizeInsetsLyXText()
646
647         * lyxtext.h:
648         * text.C:
649         * text2.C:
650         * text3.C: merge insertParagraphs() and appendParagraph()
651         remove breakAgain(), update()
652
653         * BufferView_pimpl.[Ch]:
654         * bufferview_funcs.[Ch]:
655         * lyxfunc.C:
656         * paragraph.[Ch]:
657         * rowpainter.C:
658         * tabular.C: adjust after text & InsetList changes.
659
660 2003-08-08  André Pönitz  <poenitz@gmx.net>
661
662         * text.C (insertChar, backspace): replace rowlist fiddling
663         with rebreak of full par
664
665         * lyxtext.h:
666         * text.C (breakAgainOneRow, redoHeightOfParagraph,
667         checkParagraph, updateInset): removed
668
669 2003-08-07  André Pönitz  <poenitz@gmx.net>
670
671         * paragraph.C:
672         * text3.C: merge some LFUN handlers, remove dead code
673
674 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
675
676         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
677
678 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
679
680         * text2.C (DEPM): fix part of bug 1255 and 1256
681
682 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
683
684         * BufferView_pimpl.C (workAreaDispatch): change to use
685         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
686         that are no mouse related.
687
688 2003-08-05  André Pönitz  <poenitz@gmx.net>
689
690         * BufferView.[Ch]:
691         * BufferView_pimpl.[Ch]:
692         * bufferview_funcs.C:
693         * text2.C:
694         * text3.C: rip out "deep update"
695
696         * textcursor.[Ch] (last_sel_cursor): remove unused member
697
698 2003-08-04  André Pönitz  <poenitz@gmx.net>
699
700         * BufferView.[Ch]:
701         * BufferView_pimpl.[Ch]:
702         * ParagraphParameters.C:
703         * bufferview_funcs.C:
704         * lyx_cb.C:
705         * lyxfind.C:
706         * lyxfunc.C:
707         * text.C:
708         * text2.C:
709         * text3.C: replace "complicated" BufferView::update(...) calls with
710         simpler ones.
711
712         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
713
714 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
715
716         * Makefile.am (lyx_SOURCES): add paper.h
717
718 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
719
720         * Makefile.am: move things around so that both lyx-qt and
721         lyx-xforms can be built (according to --with-frontend). Then lyx
722         is a symbolic link to lyx-[firstfrontend]
723
724 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
725
726         * Always use std::endl with lyxerr
727
728 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
729
730         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
731
732 2003-08-01  André Pönitz  <poenitz@gmx.net>
733
734         * BufferView.[Ch]:
735         * BufferView_pimpl.[Ch]:
736         * lyxfunc.C:
737         * text3.C: merge BufferView::repaint() and BufferView::update()
738
739 2003-08-01  José Matos  <jamatos@lyx.org>
740
741         * buffer.[Ch]: file_format is no longer a buffer data element.
742
743 2003-08-01  André Pönitz  <poenitz@gmx.net>
744
745         * BufferView.C:
746         * lyxtext.h:
747         * text.C:
748         * text2.C: make redoParagraph more independent of current cursor
749
750         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
751         * text.C:
752         * text2.C: remove unneeded members
753
754 2003-07-30  André Pönitz  <poenitz@gmx.net>
755
756         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
757
758         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
759           create a single function...
760
761         * paragraph_funcs.C (moveItem): ... here.
762
763         * text.C:
764           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
765
766 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
767
768         * LColor.[Ch]: Add comment and greyedout logical colors.
769
770 2003-07-30  André Pönitz  <poenitz@gmx.net>
771
772         * tabular.C: don't use Assert too heavily. This crashes where it
773           shouldn't
774
775 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
776
777         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
778         is disabled (bug 1232)
779
780 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
781
782         * factory.C: limited 'arg' scope
783
784 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
785
786         * factory.C: fixed Note submenu issues
787
788 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
789
790         * factory.C: submenu for Note/Comment/Greyedout
791
792 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
793
794         * lyx_main.C (LyX):
795         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
796
797 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
798
799         * LaTeXFeatures.C:
800         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
801         greyedout. Patch provided by Jürgen Spitzmüller.
802
803 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
804
805         * kbmap.C (read): fix error message when reading bind files
806
807 2003-07-29  Angus Leeming  <leeming@lyx.org>
808
809         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
810         certainly does not do what it purports to do. I am doing it, and
811         us, a favour by killing it.
812
813 2003-07-28  José Matos  <jamatos@lyx.org>
814
815         * buffer.C (readBody, do_writeFile):
816         * paragraph.C(readParagraph): \end_document replaces \the_end.
817
818 2003-07-29  André Pönitz  <poenitz@gmx.net>
819
820         * BufferView.[Ch]:
821         * BufferView_pimpl.[Ch]:
822         * lyxfunc.C:
823         * text2.C:
824         * text3.C:
825         * textcursor.[Ch]: remove toggleToggle & Co
826
827 2003-07-28  José Matos  <jamatos@fep.up.pt>
828
829         * buffer.C (readParagraph):
830         * params_func (readParToken, readParagraph):
831         * paragraph.C (write): \layout -> \begin_layout.
832
833 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
834
835         * lyxlex_pimpl.C (setFile): clean up slightly.
836
837         * bufferparams.h: add compressed var
838
839         * buffer_funcs.C (readFile): adjust for LyXLex change
840         (newFile): ditto + simplify
841
842         * buffer.C (writeFile): handle writing of compressed files
843
844         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
845         Check if the file is compressed and set a bufferparm if so.
846
847         * Makefile.am (lyx_LDADD): remove explicit -lz
848
849 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
850
851         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
852         makeDocBookFile): put the real LyX version in the first line of
853         the file
854
855         * version.h:
856         * version.C.in: remove lyx_docversion
857
858         * tabular.C (write_attribute): add a template-based version to
859         write enums properly
860
861 2003-07-28  André Pönitz  <poenitz@gmx.net>
862
863         * lyxtext.h:
864         * text.C:
865         * text2.C:
866         * text3.C: use doubles again for x-coordinates. They are needed.
867
868 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
869
870         * messages.C (getLocaleDir): use lyx_localedir()
871
872         * lyxlex_pimpl.C (setFile): compress stuff
873
874         * buffer.C (writeFile): add some compression stuff
875         (do_writeFile): new func, dont call expliti close... will this
876         breake anything?
877
878         * Makefile.am (lyx_LDADD): add -lz
879
880 2003-07-28  José Matos  <jamatos@fep.up.pt>
881
882         * buffer.C: increment file format.
883         * paragraph_funcs (readParagraph, readParToken):
884         * paragraph.C (readParagraph): add \end_layout.
885
886 2003-07-27  Angus Leeming  <leeming@lyx.org>
887
888         * Makefile.am: remove special casing for configure-time setting of
889         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
890
891         * lyx_main.C (init): remove all Jean-Marc's magic setting of
892         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
893
894 2003-07-26  André Pönitz  <poenitz@gmx.net>
895
896         * paragraph_func.[Ch]:
897         * paragraph.C (realizeFont): inline it whereever it is used
898
899         * rowpainter.C:
900         * text.C:
901         * text2.C:
902         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
903
904
905 2003-07-26  André Pönitz  <poenitz@gmx.net>
906
907         *       lyxtext.h:
908         * text.C:
909         * text2.C: get rid of LyXText::need_break_row
910
911 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
912
913         * toc.[Ch]: put namespace toc inside namespace lyx
914
915         * MenuBackend.C (expandToc2): adjust for lyx::toc
916         (expandToc): ditto
917
918         * lyxfunc.C (dispatch): adjust for lyx::find
919
920         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
921         lyx::find instead. Reorganize a bit.
922         (LyXReplace): rename to replace
923         (LyXFind): rename to find
924
925         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
926         (dispatch): ditto
927
928 2003-07-26  André Pönitz  <poenitz@gmx.net>
929
930         * text.C (setHeightOfRow): restrict scope of temporary variable
931
932         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
933           code (never has been used?)
934
935 2003-07-27  Asger Alstrup  <alstrup@local>
936
937         * text.C (fill): Optimise algorithm to exploit that we can reuse
938         the LyXFont for many characters.
939         (setHeightOfRow): Same thing.
940         (rowBreakPoint): Same thing.
941
942 2003-07-26  Asger Alstrup  <alstrup@local>
943
944         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
945
946         * text.C (singleWidth): Spurious font copying in hot-spot
947         singleWidth avoided. Reorder tests for arabic for efficiency.
948
949         * text.C (fill): handle empty paragraphs better.
950
951 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
952
953         * ispell.C:
954         * encoding.h: add includes
955
956         * lyxrc.C: remove reading of bind files
957
958         * lyx_main.C (init): setup bindings and menus only if we have a
959         gui.
960
961         * kbmap.C (read): new method. Do the actual reading of bind
962         files.
963
964         * converter.C (dvipdfm_options):
965         * bufferparams.C:
966         * lyxrc.C (read):
967         (output): adapt PAPER_* enums.
968
969         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
970
971         * bufferparams.h: remove paper-related enums from there
972
973         * paper.h: New file. A trivial header file to hold paper-related
974         enums. It should later expand to contain many paper-related
975         horrors access.
976
977         * lyxrc.C: declare extern displayTranslator
978
979 2003-07-27  José Matos  <jamatos@fep.up.pt>
980
981         * tabular.[Ch] (linuxdoc): add support for tables and figures
982         (linuxdoc).
983
984 2003-07-27  José Matos  <jamatos@fep.up.pt>
985
986         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
987         consistency in both functions.
988         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
989
990 2003-07-26  Asger Alstrup  <alstrup@local>
991
992         * rowpainter.C (paintRows): Change algorithm to work directly on
993         the insets rather than asking every character in the document
994         whether its an inset.
995
996 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
997
998         * buffer.C (openFileWrite): factorize some code
999
1000 2003-07-26  Angus Leeming  <leeming@lyx.org>
1001
1002         * lyx_cb.C:
1003         * lyx_main.[Ch]: replace occurances of system_tempdir with
1004         os::getTmpDir().
1005
1006 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1007
1008         * rename Inset to InsetOld
1009
1010 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1011
1012         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1013         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1014         which I think is a bit clearer. EDIT is gone, since it was
1015         premature optimisation, and broken for mathed anyway.
1016         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1017         with cursor positioning in insets as well (math insets still do not
1018         work, but that's a different story anyway.) It mysteriously
1019         crashes sometimes with undo in the first paragraph, but I'm fairly
1020         confident that this is a compiler bug.
1021
1022 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1023
1024         * paragraph.C (Paragraph): adjust for new clone return type
1025         (operator==): ditto
1026         (copyIntoMinibuffer): ditto
1027
1028 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1029
1030         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1031         by not having a special case, and always doing a full rebreak of
1032         the document after undo.
1033
1034 2003-07-23  Angus Leeming  <leeming@lyx.org>
1035
1036         * factory.C (createInset): InsetExternal::setParams now takes a
1037         Buffer const * arg.
1038
1039 2003-07-23  Angus Leeming  <leeming@lyx.org>
1040
1041         * factory.C (createInset): changed interface to the external and
1042         graphics mailers' string2params functions.
1043
1044 2003-07-23  Angus Leeming  <leeming@lyx.org>
1045
1046         * factory.C (createInset): pass a
1047         Buffer const * parameter to InsetExternalMailer's string2params.
1048
1049 2003-07-22  John Levon  <levon@movementarian.org>
1050
1051         * Thesaurus.h: include the right aiksaurus header
1052
1053 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1054
1055         * MenuBackend.C (expand): check menu shortcuts unconditionally
1056
1057 2003-07-21  Angus Leeming  <leeming@lyx.org>
1058
1059         * factory.C (createInset): pass a
1060         buffer_path parameter to InsetGraphicsMailer's string2params.
1061
1062 2003-07-21  Angus Leeming  <leeming@lyx.org>
1063
1064         * BufferView_pimpl.C (buffer):
1065         * buffer.C (d-tor):
1066         * lyx_main.C (LyX):
1067         * lyxfunc.C (dispatch):
1068         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1069         rather than the grfx shortcut.
1070
1071 2003-07-21  André Pönitz  <poenitz@gmx.net>
1072
1073         * rowpainter.C: remove unused variables
1074
1075         * tabular_funcs.C:
1076         * tabular_funcs.h: move to tabular.C
1077         * Makefile.am: adjust
1078
1079         * tabular.[Ch]: basic optical cleaning
1080
1081         * author.h: pass references, not values
1082
1083 2003-07-18  André Pönitz  <poenitz@gmx.net>
1084
1085         * lyxtext.h:
1086         * metricsinfo.C:
1087         * metricsinfo.h:
1088         * rowpainter.C:
1089         * text.C:
1090         * text2.C:
1091         * text3.C: two-phase drawing for InsetText and InsetTabular
1092         some float -> int changes.
1093
1094 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1095
1096         * lyx_main.C: fix the fix
1097
1098 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1099
1100         * lyx_main.C: fix a crash in batch mode if no files specified
1101         * converter.C: ws
1102
1103 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1104
1105         * format.[Ch] (papersize): moved to BufferParams
1106         * converter.[Ch] (dvips_options): moved to BufferParams
1107         (dvipdfm_options): moved to anon namespace
1108         * bufferparams.[Ch]: added above functions.
1109
1110 2003-07-17  André Pönitz  <poenitz@gmx.net>
1111
1112         * lyxtext.h:
1113         * rowpainter.C:
1114         * text2.C: don't call inset->update() anymore
1115
1116         * metricsinfo.[Ch]: add convenience constructor
1117
1118 2003-07-16  André Pönitz  <poenitz@gmx.net>
1119
1120         * lyxcursor.[Ch]:
1121         * lyxfunc.[Ch]:
1122         * text.C:
1123         * text2.C: replace the LyXCursor::irow_ member with
1124          on-demand computation of the value
1125
1126 2003-07-16  John Levon  <levon@movementarian.org>
1127
1128         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1129
1130 2003-07-15  André Pönitz  <poenitz@gmx.net>
1131
1132         * text.C:
1133         * text2.C: remove no more needed refresh_row
1134
1135 2003-07-15  André Pönitz  <poenitz@gmx.net>
1136
1137         * lyxtext.h:
1138         * rowpainter.C:
1139         * text2.C:
1140         * text3.C: refresh_status tristate -> need_update bool
1141
1142 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1143
1144         * lyxtext.h (init): remove reinit argument (act as if always true)
1145         * text2.C: adjust to that
1146
1147 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1148
1149         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1150         * text3.C: use it to delete selections in some cases
1151         (bugs 441, 673, 702, 954).
1152
1153 2003-07-14  André Pönitz  <poenitz@gmx.net>
1154
1155         * rowpainter.[Ch]: reduce interface
1156
1157 2003-07-14  André Pönitz  <poenitz@gmx.net>
1158
1159         * BufferView_pimpl.C:
1160         * text2.C: adjust after removing unused BufferView * argument
1161
1162 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1163
1164         * text2.C (init): fix a crash fired on resize
1165
1166 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1167
1168         * buffer.[Ch]: added new closing signal
1169         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1170         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1171         BufferView::Pimpl via the closing the signal
1172
1173 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1174
1175         * buffer.[Ch]: take out all bv-related from buffer
1176         * BufferView.C:
1177         * BufferView_pimpl.[Ch]: connect to new signals
1178         * CutAndPaste.C: removed useless asserts
1179         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1180         * lyxvc.[Ch]:
1181         * vc-backend.[Ch]:
1182         * lyxfunc.C: moved view-related funciontality from vc here
1183         * paragraph.C: removed outdated comments
1184         * text.C: ws
1185
1186 2003-07-10  André Pönitz  <poenitz@gmx.net>
1187
1188         * BufferView_pimpl.C:
1189         * tabular.h:
1190         * tabular_funcs.C:
1191         * text.C:
1192         * text2.C: remove InsetText::InnerCache, clean up consequences
1193
1194 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1195
1196         * ispell.C: fix two typos in error messages
1197
1198 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1199
1200         * Extend Note inset to other forms of annotation like Comment
1201         and Greyedout. Right button click gives dialog.
1202
1203         Files modified or added (+):
1204
1205         * insetnote.[Ch]
1206         * FormNote.[Ch]      +
1207         * ControlNote.[Ch]   +
1208         * form_note.fd       +
1209         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1210         frontends/controllers
1211         * xforms/Dialogs.C
1212         * factory.C
1213
1214 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1215
1216         * aspell.C: add missing namespace lyx::support
1217
1218 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1219
1220         * BufferView.[Ch] (newFile): Add
1221         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1222         * LaTeX.[Ch] (message): added this signal and use it
1223         * buffer.[Ch] (busy, message): added these signals and use them
1224         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1225         * converter.C:
1226         * exporter.C:
1227         * format.C:
1228         * importer.C: use buffer signals instead of direct bv calling
1229         * lyx_cb.[Ch] (ShowMessage): removed
1230         * lyx_main.C:
1231         * lyxfunc.C:
1232         * paragraph_funcs.C:
1233         * text2.C: use buffer signals
1234
1235 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1236
1237         * introduce namespace lyx::graphics
1238
1239 2003-07-02  André Pönitz  <poenitz@gmx.net>
1240
1241         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1242
1243 2003-07-01  André Pönitz  <poenitz@gmx.net>
1244
1245         * text.C:
1246         * text2.C:
1247         * text3.C:
1248         * text_funcs.[Ch]:
1249         * textcursor.h:
1250         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1251           text*.C to text_func.C
1252
1253 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1254
1255         * introduce namespace lyx::support
1256
1257 2003-06-30  André Pönitz  <poenitz@gmx.net>
1258
1259         * Chktex.C:
1260         * funcrequest.C:
1261         * lyxtext.h:
1262         * text.C: re-enable --with-included-string
1263
1264 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1265
1266         * textcursor.C: add <config.h>
1267
1268         * text.C (getWord): remove const from word_location arg
1269
1270         * lyxvc.C (getLogFile): fix const type order
1271
1272         * lyxtext.h: remove const from word_location arg, add arg name
1273
1274         * lyxlayout.h: currect type on labeltype.
1275
1276         * importer.C: correct \file
1277
1278         * converter.C (intToFormat): use std:: on ret val, ws changes
1279
1280         * bufferlist.h: correct \file
1281
1282         * buffer.C (makeLinuxDocFile): fix const type order
1283         (makeDocBookFile): ditto
1284         (fillWithBibKeys): use std:: on stdlib args.
1285
1286         * CutAndPaste.C: fix authors.
1287         (availableSelections): use std:: on return vector
1288
1289 2003-06-27  André Pönitz  <poenitz@gmx.net>
1290
1291         * BufferView_pimpl.C:
1292         * bufferview_funcs.C:
1293         * lyxcursor.C:
1294         * lyxcursor.h:
1295         * lyxfunc.C:
1296         * lyxtext.h:
1297         * rowpainter.C:
1298         * text.C:
1299         * text2.C:
1300         * text3.C: remove LyXCursor::row_ member
1301
1302         * lyxtext.h:
1303         * text.C: rename fullRebreak() to partialRebreak() and implement
1304           a fullRebreak() that really bereks fully
1305
1306         * textcursor.h: new struct for cursor-related data
1307
1308 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1309
1310         * lyx_main.C (LyX): get full path of document loaded on the
1311         command line
1312
1313 2003-06-26  André Pönitz  <poenitz@gmx.net>
1314
1315         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1316           remove unused/broken operator>,<,>=.
1317
1318         *       text.C: remove only use of broken operator<= in an Assert().
1319
1320 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1321
1322         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1323         moved errorlist_.clear to showErrorList
1324
1325 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1326
1327         * converter.C (scanLog, runLaTeX):
1328         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1329         move the bv->showErrorList call to the callers
1330         * lyxfunc.C: i.e. here...
1331         * text2.C: and here
1332         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1333         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1334         namespace, the second to...
1335         * buffer_funcs (BufferFormat, parseErrors): added
1336         * errorlist.C (ErrorList(TeXErrors const &)): removed
1337
1338 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1339
1340         * ToolbarBackend.C (getIcon): complain when icon cannot be found
1341
1342 2003-06-24  "Garst R. Reese" <reese@isn.net>
1343
1344         * debug.C: fix typo
1345
1346 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1347
1348         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1349
1350         * version.C.in: change docversion to 1.4
1351
1352 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
1353
1354         * buffer.C: fix a bug just introduced
1355
1356 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1357
1358         * buffer.[Ch]: added the parseError signal and use it, removed
1359         sgmlError
1360         * BufferView.[Ch] (addError): moved to ...
1361         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1362         to the Buffer::parseError signal to catch (guess what) parse errors
1363         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1364
1365 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
1366
1367         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1368         ability to create a buffer and to return an existing one from
1369         the list. Moved these functions to...
1370         * buffer_funcs.[Ch]: added
1371         * BufferView.[Ch] (loadLyXFile): added
1372         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1373         job removed from bufferlist::loadLyXFile.
1374         * buffer.C (setReadOnly): make it work without view
1375         (i.e added an if (users))
1376
1377 2003-06-19  Angus Leeming  <leeming@lyx.org>
1378
1379         * lfuns.h:
1380         * LyXAction.C (init):
1381         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1382         with LFUN_DIALOG_SHOW <name> <data>.
1383
1384 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1385
1386         * CutAndPaste.C (availableSelections): small compilation fix for
1387         ancient (gcc 2.9x) compilers
1388
1389 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
1390
1391         * text3.C (cursorNext): add tmp var
1392
1393         * text2.C (updateCounters): for function calling out of for clause
1394         (replaceSelectionWithString): ditto
1395         (insertStringAsParagraphs): ditto
1396         (getColumnNearX): add tmp var
1397         (setCursorFromCoordinates): add tmp var
1398         (cursorDownParagraph): add tmp var
1399         (deleteEmptyParagraphMechanism): add tmp var
1400
1401         * text.C (insertChar): add tmp var
1402
1403         * rowpainter.C (paintDepthBar): add tmp var
1404
1405         * CutAndPaste.C (availableSelections): potentially check all
1406         paragraphs in a cut to fill the shown strings.
1407
1408 2003-06-18  André Pönitz  <poenitz@gmx.net>
1409
1410         * kbmap.[Ch]: use vector<> instead of list<>
1411
1412 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1413
1414         * text3.C (dispatch): handle arg to LFUN_PASTE, call
1415         pasteSelection with index
1416
1417         * text2.C (pasteSelection): modify, call pasteSelection with index
1418
1419         * paragraph.C (asString): reimplement version with no interval to
1420         call the one with interval.
1421
1422         * lyxtext.h: add index arg to pasteSelection
1423
1424         * MenuBackend.C (MenuItem): handle PasteRecent
1425         (Menu::read::Menutags): add md_pasterecent
1426         (read): handle it
1427         (expandPasteRecent): new function
1428         (expand): use it
1429
1430         * MenuBackend.h: add PasteRecent to MenuItem::Kind
1431
1432         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1433         the limited stack
1434         (availableSelections): new function
1435
1436 2003-06-17  Angus Leeming  <leeming@lyx.org>
1437
1438         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1439
1440 2003-06-17  Angus Leeming  <leeming@lyx.org>
1441
1442         * lfuns.h:
1443         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1444
1445         * lyxfunc.C (dispatch): invoke it.
1446
1447 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1448
1449         * iterators.C (operator++, ParPosition): reintroduce some
1450         const_cast for the benefit of older compilers.
1451
1452 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1453
1454         * text3.C (dispatch): do not modify clipboard when doing
1455         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1456         LFUN_DELETE_SKIP on a selection selection
1457
1458 2003-06-16  André Pönitz  <poenitz@gmx.net>
1459
1460         * BufferView.C:
1461         * buffer.C:
1462         * buffer.h:
1463         * paragraph.C:
1464         * tabular.[Ch]: IU of clone() and getLabelList();
1465
1466 2003-06-13  André Pönitz  <poenitz@gmx.net>
1467
1468         * tabular.h: compactification
1469
1470 2003-06-12  André Pönitz  <poenitz@gmx.net>
1471
1472         * tabular.C:
1473         * tabular.h:
1474         * tabular_funcs.h: some renaming plus whitespace
1475
1476 2003-06-12  André Pönitz  <poenitz@gmx.net>
1477
1478         * BufferView.C:
1479         * BufferView_pimpl.C:
1480         * CutAndPaste.C:
1481         * buffer.C:
1482         * iterators.[Ch]:
1483         * lyxfunc.C:
1484         * text.C:
1485         * toc.C: Return a Paragraph & for ParIterator::operator*()
1486
1487 2003-06-11  John Levon  <levon@movementarian.org>
1488
1489         * lyx_main.C:
1490         * ToolbarBackend.h:
1491         * ToolbarBackend.C: add "Toolbars" section and
1492         put the flags there
1493
1494 2003-06-10  Angus Leeming  <leeming@lyx.org>
1495
1496         * lfuns.h:
1497         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1498
1499         * lyxfunc.C (dispatch): invoke it.
1500
1501 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1502
1503         * main.C: protect <ios> with HAVE_IOS
1504         (main): protect sync_with_stdio with HAVE_IOS
1505
1506 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
1507
1508         * text2.C (cutSelection): adjust
1509         (pasteSelection): adjust
1510
1511         * messages.C: handle get of empty string
1512
1513         * main.C (main): use sync_with_stdio(false)
1514
1515         * lyxfunc.C (dispatch): adjust
1516
1517         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1518         (WriteAs): remove unneeded BufferView arg.
1519
1520         * bufferparams.h: use correct types on papersize, papersize2 and
1521         paperpackage.
1522
1523         * bufferparams.C (readToken): adjust for type
1524         (writeLaTeX): add missing cases to switch.
1525
1526         * bufferlist.C (quitWriteBuffer): adjust
1527         (close): adjust
1528
1529         * buffer.C (asciiParagraph): remove some commented code.
1530
1531         * CutAndPaste.C: remove current_view extern variable.
1532         (cutSelection): add BufferParams arg.
1533         (eraseSelection): add BufferParams arg.
1534         (pasteSelection): add Buffer const & arg
1535
1536 2003-06-07  John Levon  <levon@movementarian.org>
1537
1538         * buffer.C:
1539         * paragraph_funcs.C:
1540         * paragraph_pimpl.C:
1541         * text.C:
1542         * text2.C:
1543         * paragraph.h:
1544         * paragraph.C: allow InsetERT to freely space lines,
1545         and some consolidation of code
1546
1547 2003-06-06  José Matos  <jamatos@fep.up.pt>
1548
1549         * buffer.C (makeDocBookFile): fix bug #821
1550
1551 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
1552
1553         * BufferView_pimpl.C (dispatch): use Dialogs::visible
1554
1555 2003-06-04  Angus Leeming  <leeming@lyx.org>
1556
1557         * buffer.C: bump format to 224.
1558
1559 2003-06-05  André Pönitz  <poenitz@gmx.net>
1560
1561         * text2.C (redoParagraphs): remove two const_cast<>
1562
1563 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1564
1565         * ParagraphList.h: remove last remnants of NO_STD_LIST
1566
1567 2003-06-03  Angus Leeming  <leeming@lyx.org>
1568
1569         * factory.C (createInset): small change to the way InsetExternal's params
1570         are set.
1571
1572 2003-06-04  André Pönitz  <poenitz@gmx.net>
1573
1574         * buffer.h: use Undo directly instead of shared_ptr<Undo>
1575
1576         * paragraph_pimpl.h:
1577         * paragraph.[Ch]: some Inset -> UpdatableInset changes
1578
1579         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1580
1581         * undo_funcs.C: make some simple cases of undo work again
1582
1583 2003-06-03  John Levon  <levon@movementarian.org>
1584
1585         * ispell.C: HPUX doesn't have sys/select.h
1586         (from Albert Chin)
1587
1588 2003-06-03  John Levon  <levon@movementarian.org>
1589
1590         * CutAndPaste.C: update tabular and include inset
1591         buffer references
1592
1593         * buffer.h:
1594         * paragraph.h:
1595         * paragraph.C: remove owningBuffer(), don't pass Buffer
1596         to clone()
1597
1598         * factory.C: insetGraphicsParams changed
1599
1600 2003-06-02  John Levon  <levon@movementarian.org>
1601
1602         * LyXAction.C:
1603         * factory.C:
1604         * lfuns.h:
1605         * lyxfunc.C:
1606         * text3.C: remove insetparent
1607
1608 2003-06-02  John Levon  <levon@movementarian.org>
1609
1610         * buffer.h:
1611         * buffer.C: fix inset_iterator.end(), move out of line
1612         (bug 1149)
1613
1614 2003-06-01  John Levon  <levon@movementarian.org>
1615
1616         * text3.C: use a proper cut/paste when doing inset
1617         insert (from Jürgen Spitzmüller)
1618
1619 2003-06-01  John Levon  <levon@movementarian.org>
1620
1621         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1622
1623 2003-05-30  André Pönitz  <poenitz@gmx.net>
1624
1625         * rowpainter.C: unify second drawing phase
1626
1627 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1628
1629         * trans_mgr.C: remove one case of current_view
1630
1631         * text2.C (cursorBottom): delete NO_STD_LIST stuff
1632
1633         * paragraph_funcs.h: remove paragraph.h include
1634
1635         * paragraph.h: delete NO_STD_LIST stuff
1636
1637         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1638
1639         * buffer.h: remove paragraph.h include
1640
1641         * ParagraphList.C: delete file
1642
1643         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1644
1645         * toc.C (getTocList): adjust
1646
1647         * paragraph_pimpl.C (validate): adjust
1648
1649         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1650
1651         * paragraph.C (Paragraph): adjust
1652         (getPositionOfInset): use const_iterator, adjust
1653         (bibitem): use const_iterator, adjust
1654         (setInsetOwner): adjust
1655
1656         * iterators.C (operator++): adjust
1657
1658         * InsetList.[Ch]: Replace selfmade iterator with standard
1659         vector::iterator also introduce const_iterator. Remove getPos,
1660         getInset and setInset from InsetTable. Adjust accordingly.
1661
1662         * BufferView.C (lockInset): adjust
1663         (ChangeInsets): adjust
1664
1665         * tabular.[Ch]: delete commented same_id functions
1666
1667 2003-05-28  John Levon  <levon@movementarian.org>
1668
1669         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1670
1671 2003-05-28  André Pönitz  <poenitz@gmx.net>
1672
1673         * metricsinfo.[Ch]: remove 'fullredraw' member
1674
1675 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
1676
1677         * lyxtextclass.C (operator): remove caching.
1678
1679 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1680
1681         * text3.C: adjust
1682
1683         * text2.C (cursorBottom): adjust
1684         (setCounter): use ParagraphList::find, adjust
1685
1686         * text.C (workWidth): use ParagraphList::find, adjust
1687
1688         * lyxcursor.C (LyXCursor): adjust
1689
1690         * buffer.C (inset_iterator): adjust
1691
1692         * ParagraphList.h: make iterator(value_type) private, make
1693         ParagraphList a friend of iterator.
1694
1695         * ParagraphList.C (find): new function
1696
1697         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1698
1699 2003-05-27  André Pönitz  <poenitz@gmx.net>
1700
1701         * dimension.[Ch]: a -> asc, d -> des, w -> wid
1702
1703 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1704
1705         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1706
1707 2003-05-26  John Levon  <levon@movementarian.org>
1708
1709         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1710
1711 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1712
1713         * remove same_id from function signatures, adjust.
1714
1715 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1716
1717         * undo_funcs.C (createUndo): use the id functions directly, adjust.
1718
1719         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1720
1721         * paragraph.C (Paragraph): get rid of same_ids parameter
1722
1723         * ParagraphList.C (insert): adjust
1724         (push_back): adjust
1725
1726 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1727
1728         * paragraph_funcs.C (breakParagraph): adjust
1729         (breakParagraphConservative): adjust
1730
1731         * buffer.C (readParagraph): adjust
1732
1733         * ParagraphList.C (insert): take a reference instead of a pointer
1734         (insert): adjust
1735
1736         * paragraph.[Ch] (id): new function
1737
1738         * bufferlist.C (newFile): adjust
1739
1740         * ParagraphList.C (ParagraphList): adjust
1741         (assign): adjust
1742         (push_back): take a reference instead of a pointer.
1743
1744         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1745
1746         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1747         instead.
1748
1749         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1750         set else use old code.
1751
1752         * ParagraphList.C: remove all NO_NEXT code and only compile this
1753         code of NO_STD_LIST is set.
1754
1755 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
1756
1757         * BufferView_pimpl.C:
1758         * TextCache.C:
1759         * TextCache.h:
1760         * bufferlist.C:
1761         * errorlist.h:
1762         * format.C:
1763         * format.h:
1764         * graph.C:
1765         * lyxfunc.C:
1766         * lyxrc.C:
1767         * graphics/GraphicsConverter.C:
1768         * graphics/PreviewLoader.C: header adjustment
1769
1770 2003-05-23  Angus Leeming  <leeming@lyx.org>
1771
1772         * LaTeXFeatures.[Ch] (useBabel): new method.
1773         * bufferparams.C (writeLaTeX): use it.
1774
1775 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1776
1777         * ParagraphList.h (set): remove unused function.
1778
1779 2003-05-23  André Pönitz  <poenitz@gmx.net>
1780
1781         * BufferView.C:
1782         * BufferView_pimpl.C:
1783         * buffer.C:
1784         * buffer.h:
1785         * lyxfunc.C:
1786         * undo_funcs.C: setUndo reworked
1787
1788         * iterators.[Ch]: add access to topmost ParagraphList
1789
1790         * lyxtext.[Ch] (workWidth): add a const
1791
1792 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
1793
1794         * texrow.[Ch] (increasePos): remove function
1795         * exporter.C (export): removed unused var and outdated comment
1796
1797 2003-05-23  Angus Leeming  <leeming@lyx.org>
1798
1799         * latexrunparams.h: rename fragile as moving_arg.
1800         * paragraph.C (simpleTeXOnePar): ditto.
1801         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1802
1803 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1804
1805         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1806         (createUndo): ditto
1807         (textUndoOrRedo): comment out a currently unused var.
1808
1809         * paragraph.h (NO_NEXT): enable NO_NEXT
1810
1811         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1812
1813         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1814
1815         * exporter.C (Export): adjust for removeAutoInsets removal.
1816
1817         * buffer.C (runChktex): adjust for removeAutoInsets removal.
1818
1819         * LyXAction.C (init): remove LFUN_REMOVEERRORS
1820
1821         * BufferView.[Ch] (removeAutoInsets): delete function
1822
1823 2003-05-22  Angus Leeming  <leeming@lyx.org>
1824
1825         * latexrunparams.h: add a free_spacing variable.
1826
1827         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1828         to pass moving_arg, as the data is stored in runparams.fragile.
1829
1830         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1831         to Inset::latexOptional or to simpleTeXOnePar.
1832
1833         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1834         free_spacing arg to Inset::latexOptional.
1835
1836         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1837         free_spacing arg.
1838
1839 2003-05-22  Angus Leeming  <leeming@lyx.org>
1840
1841         * latexrunparams.h: add fragile and use_babel variables.
1842
1843         * bufferparams.[Ch] (writeLaTeX): return use_babel.
1844         * buffer.C (makeLaTeXFile): store this returned value in
1845         runparams.use_babel, thus passing it to the inset::latex methods.
1846
1847         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1848         simpleTeXSpecialChars as it is now stored in runparams.fragile.
1849
1850         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1851         longer has a fragile arg, as it is stored in runparams.fragile.
1852
1853         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1854         moving_arg parameter as the data is stored in runparams.fragile.
1855
1856         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1857         a fragile parameter as the data is stored in runparams.fragile.
1858
1859 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1860
1861         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1862
1863 2003-05-22  Angus Leeming  <leeming@lyx.org>
1864
1865         * latexrunparams.h: add a 'bool nice' which defaults to false.
1866
1867         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1868         now encapsulated within runparams.
1869
1870         * bufferlist.C (updateIncludedTeXfiles):
1871         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1872
1873 2003-05-22  Angus Leeming  <leeming@lyx.org>
1874
1875         * latexrunparams.h: new file containing struct LatexRunParams.
1876         * Makefile.am: add new file.
1877
1878         * LaTeX.[Ch] (c-tor, run):
1879         * buffer.[Ch] (makeLaTeXFile):
1880         * bufferlist.[Ch] (updateIncludedTeXfiles):
1881         * converter.C (convert, scanLog):
1882         * converter.[Ch] (runLaTeX):
1883         * exporter.C (Export):
1884         * paragraph.[Ch] (simpleTeXOnePar):
1885         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1886         * paragraph_funcs.[Ch] (latexParagraphs):
1887         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1888         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1889         pass around a LatexRunParams parameter.
1890
1891 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1892
1893         * paragraph.[Ch]: remove unused constructor
1894
1895         * ParagraphList.C (erase): new function, taking two iterators
1896
1897 2003-05-22  André Pönitz  <poenitz@gmx.net>
1898
1899         * undo_funcs.C: remove duplicated code
1900
1901         * iterator.[Ch]: operator=
1902
1903 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1904
1905         * tabular.C (SetMultiColumn): ws changes
1906
1907         * rowpainter.C (paintFirst): get rid of a ->previous
1908
1909         * lyx_cb.C (getPossibleLabel): parlist simplification
1910
1911         * BufferView.C (ChangeInsets): simplify slightly.
1912
1913 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1914
1915         * LyXAction.C: new lfun space-insert, kill protected-space-insert
1916         * lfuns.h: new LFUN_SPACE
1917         * lyxfunc.C: protected space has a new lfun
1918         * paragraph_funcs.C: read new space insets
1919         * text3.C:
1920         * factory.C: handle new space insets
1921
1922 2003-05-22  André Pönitz  <poenitz@gmx.net>
1923
1924         * BufferView.C:
1925         * BufferView_pimpl.C:
1926         * buffer.[Ch]:
1927         * lyxfunc.C:
1928         * undo_funcs.C: return a ParIterator from getParFromID.
1929
1930         * iterators.[Ch]: add two const's
1931
1932 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1933
1934         * toc.C (getTocList): adjust
1935
1936         * iterators.[Ch]: rework for parlist
1937
1938         * buffer.C (par_iterator_begin): adjust
1939         (par_iterator_end): adjust
1940
1941         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1942
1943         * BufferView.C (removeAutoInsets): adjust
1944         (ChangeInsets): adjust
1945
1946 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
1947
1948         * text.C (top_y): fix bug 1110
1949
1950 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
1951
1952         * errorlist.[Ch]: added
1953         * buffer.C:
1954         * BufferView.[Ch]:
1955         * BufferView_pimpl.C:
1956         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1957         instead
1958
1959 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1960
1961         * Makefile.am: ensure that lyx is relinked upon changes to the
1962         various "convenience" libs.
1963
1964 2003-05-20  Angus Leeming  <leeming@lyx.org>
1965
1966         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1967         files are compiled in alphabetical order again.
1968
1969         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1970
1971 2003-05-19  Angus Leeming  <leeming@lyx.org>
1972
1973         * gettext.[Ch]: remove "char const * _(char const *)".
1974
1975 2003-05-19  André Pönitz  <poenitz@gmx.net>
1976
1977         * dimension.[Ch]: promote from mathed/dimension.[Ch]
1978
1979         * Makefile.am:
1980         * BufferView.C:
1981         * DepTable.h:
1982         * LaTeXFeatures.C:
1983         * buffer.C:
1984         * lyxfont.C:
1985         * lyxlex.h:
1986         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1987
1988 2003-05-19  André Pönitz  <poenitz@gmx.net>
1989
1990         * buffer.C:
1991         * lyxlayout.[Ch]:
1992         * lyxtextclass.[Ch]:
1993         * paragraph.C:
1994         * paragraph_funcs.[Ch]:
1995         * text2.C:
1996         * text3.C: more insetenv work
1997
1998 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
1999
2000         * ParagraphParameters.C (params2string): small bug fixed
2001
2002 2003-05-16  André Pönitz  <poenitz@gmx.net>
2003
2004         * debug.C:
2005         * bufferview_funcs.C: patch from Kornel Benko to prevent
2006           crash when _(...) is called twice in a statement
2007
2008 2003-05-16  André Pönitz  <poenitz@gmx.net>
2009
2010         * BufferView.C:
2011         * lyxfunc.C:
2012         * text.C:
2013         * text2.C:
2014         * text3.C:
2015         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2016
2017 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2018
2019         * lyx_main.C (init): remove spurious static_cast
2020
2021 2003-05-14  André Pönitz  <poenitz@gmx.net>
2022
2023         * BufferView.C: fix format string
2024
2025 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2026
2027         * BufferView.[Ch] (insertErrors): removed
2028         * BufferView.[Ch] (showErrorList): added
2029         * buffer.C (runChkTeX):
2030         * converter.C (scanLog): call showErrorList instead of inserterrors
2031
2032 2003-05-13  André Pönitz  <poenitz@gmx.net>
2033
2034         * BufferView_pimpl.C:
2035         * buffer.C:
2036         * bufferview_func.C:
2037         * MenuBackend.C:
2038         * lyxfunc.C:
2039         * lyxrc.C:
2040         * tex-accent.C:
2041         * text3.C:
2042         * toc.C:
2043         * tabular_funcs.h: tostr() from its own header
2044
2045         * ParagraphParameters.C:
2046         * ToolbarBackend.C:
2047         * bufferparams.C:
2048         * format.C:
2049         * lyxlex_pimpl.C:
2050         * text3.C: STRCONV()
2051
2052 2003-05-12  André Pönitz  <poenitz@gmx.net>
2053
2054         * BufferView.C:
2055         * BufferView_pimpl.C:
2056         * CutAndPaste.C:
2057         * LaTeX.C:
2058         * LaTeXFeatures.C:
2059         * ParagraphParameters.C:
2060         * buffer.C:
2061         * bufferlist.C:
2062         * bufferparams.C:
2063         * bufferview_funcs.C:
2064         * converter.C:
2065         * counters.C:
2066         * debug.C:
2067         * exporter.C:
2068         * format.C:
2069         * importer.C:
2070         * lyx_cb.C:
2071         * lyx_main.C:
2072         * lyxfont.C:
2073         * lyxfunc.C:
2074         * lyxvc.C:
2075         * paragraph.C:
2076         * paragraph_funcs.C:
2077         * tabular.C:
2078         * tabular_funcs.C:
2079         * text2.C:
2080         * text3.C:  boost::format -> bformat  all over the place
2081
2082
2083 2003-05-09  André Pönitz  <poenitz@gmx.net>
2084
2085         * LColor.[Ch]: Pimpl the #include <map> away
2086
2087 2003-05-09  John Levon  <levon@movementarian.org>
2088
2089         * bufferlist.C: never remove emergency saves
2090
2091 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2092
2093         * Makefile.am: better lib building
2094
2095 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2096
2097         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2098         instead.
2099         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2100         (simpleTeXSpecialChars): adjust
2101         (simpleTeXSpecialChars): adjust
2102         * paragraph.C (simpleTeXOnePar): adjust
2103         * buffer.C (makeLaTeXFile): adjust
2104
2105         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2106
2107         * text2.C (changeDepth): parlist cleanup
2108         (getColumnNearX): ditto
2109
2110         * rowpainter.C (getLabelFont): parlist cleanup
2111
2112         * bufferlist.C (newFile): parlist cleanup
2113
2114         * CutAndPaste.C (eraseSelection): parlist cleanup
2115
2116         * BufferView_pimpl.C (trackChanges): parlist cleanup
2117         (dispatch): ditto
2118
2119         * BufferView.C (lockInset): parlist cleanup.
2120         (ChangeInsets): ditto
2121
2122 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2123
2124         * CutAndPaste.h: Update file header.
2125
2126         * CutAndPaste.C: Update file header.
2127         Store the parts cut out of the Document in a limited_stack.
2128         (copySelection): adjust
2129         (pasteSelection): new function, takes the index in the limited stack.
2130         (nrOfParagraphs): adjust
2131         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2132         simplify error inset insertion.
2133         (checkPastePossible): adjust
2134
2135 2003-05-06  John Levon  <levon@movementarian.org>
2136
2137         * text2.C: don't cast wrap inset to float
2138
2139 2003-05-05  André Pönitz  <poenitz@gmx.net>
2140
2141         * iterator.C:
2142         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2143
2144         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2145           few naked Paragraph *.
2146
2147 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2148
2149         * bufferparams.C: Output warning if a document with missing
2150         TeX document class is loaded
2151         * exporter.C: Disable TeX exports if the document class is missing
2152         * lyxtextclass.C:
2153         * lyxtextclass.h:
2154         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2155         isTeXClassAvailable()
2156
2157 2003-05-03  John Levon  <levon@movementarian.org>
2158
2159         * BufferView.h:
2160         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2161         explicit cursor show/hide
2162
2163         * BufferView_pimpl.h:
2164         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2165         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2166
2167         * lyxfunc.C: hide cursor before dispatching.
2168
2169         * lyx_cb.C:
2170         * lyxfind.C:
2171         * text.C:
2172         * text3.C: remove explicit cursor hides
2173
2174 2003-05-02  André Pönitz  <poenitz@gmx.net>
2175
2176         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2177
2178         * undo_funcs.C:
2179         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2180           linked lists
2181
2182         * text2.C: tiny whitespace
2183
2184 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2185
2186         * undo_funcs.C: almost only ws changes.
2187
2188         * ParagraphList.C (splice): just return if pl is empty.
2189
2190 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2191
2192         * ParagraphList.C (splice): new function.
2193
2194         * CutAndPaste.C (pasteSelection): use it
2195
2196 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2197
2198         * CutAndPaste.C (pasteSelection): remove the last next and
2199         previous from this file.
2200
2201 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2202
2203         * CutAndPaste.C (pasteSelection): more clean up, user proper
2204         ParagraphList functions for pasteing.
2205
2206         * ParagraphList.C (insert): new function, three arg insert
2207
2208 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2209
2210         * ParagraphList.C (insert): new function, three arg insert
2211
2212         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2213         not on paragraphs.
2214
2215 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2216
2217         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2218
2219 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2220
2221         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2222
2223 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2224
2225         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2226         (copySelection): clean up a bit.
2227         (pasteSelection): use make_pair
2228
2229         * ParagraphList.C (ParagraphList): implement copy constructor
2230         (operator=): implement, base on copy constructor.
2231         (assign): new func
2232
2233         * paragraph.C (erase): return a bool
2234
2235         * paragraph_pimpl.C (erasePos): remove function, move contents...
2236         (erase): ... here. Return a bool.
2237         (erase): call erase instead of erasePos.
2238
2239 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2240
2241         * ParagraphList.h: define PitPosPair
2242         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2243         ParagraphList, fix a bug on pasting multiple pars
2244         * text2.C: change interface to C&P
2245
2246 2003-04-30  André Pönitz  <poenitz@gmx.net>
2247
2248         * undo_func.C: revert part of yesterday's patch 2
2249
2250 2003-04-30  John Levon  <levon@movementarian.org>
2251
2252         * LColor.C: s/tabular/table/
2253
2254 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2255
2256         * text3.C (dispatch): do not convert iterator -> pointer
2257         * undo_funcs.C (setCursorParUndo): ditto
2258         * text_funcs.C (transposeChars): ditto
2259
2260         * text2.C (setLayout): ws changes only
2261
2262         * text.C (breakParagraph): do not convert iterator -> pointer
2263         (insertChar): ditto
2264         (acceptChange): ditto
2265         (rejectChange): ditto
2266         (changeCase): ditto
2267         (Delete): ditto
2268         (backspace): ditto
2269
2270         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2271         pointer
2272
2273 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2274
2275         * text3.C (gotoInset): YABG (yet another bad getChar)
2276
2277 2003-04-29  André Pönitz  <poenitz@gmx.net>
2278
2279         * paragraph.h: make operator= private unimplemented as long as
2280           it is unusable
2281
2282         * ParagraphList.C: whitespace
2283
2284         * paragraph.[Ch]:
2285         * paragraph_pimpl.[Ch]:
2286         * paragraph_funcs.C:
2287         * CutAndPaste.C:
2288         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2289
2290         * text2.C:
2291           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2292
2293 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2294
2295         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2296         * paragraph.[Ch] (erase):
2297         * paragraph_pimpl.[Ch] (erase): change return type and value
2298         * text2.C (cutSelection): some rework
2299
2300 2003-04-28  John Levon  <levon@movementarian.org>
2301
2302         * bufferlist.C: changes for unsaved changes dialog
2303
2304 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2305
2306         * bufferlist.C (newFile): set language (messages_) for new
2307         documents also.
2308
2309         * buffer.C (readFile): ws changes only.
2310
2311 2003-04-28  André Pönitz  <poenitz@gmx.net>
2312
2313         * undo_funcs.C:
2314         * lyxfunc.C:
2315         * buffer.[Ch]:
2316         * BufferView_pimpl.C:
2317         * BufferView.C: getParFromID related ParagraphList::iterator changes
2318
2319 2003-04-28  André Pönitz  <poenitz@gmx.net>
2320
2321         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2322           Changes
2323
2324 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2325
2326         * messages.C: remove one more localedir class variable.
2327
2328 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2329
2330         * messages.C (getLocaleDir): singleton generation function
2331         (Pimpl): use it.
2332         (Messages): add a default constructor.
2333
2334         * main.C (main): do not setup localedir here, do not call
2335         gettext_init.
2336
2337         * gettext.C (_): use it.
2338         (gettext_init): delete funciton
2339
2340 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2341
2342         * gettext.C (getLyXMessages): new singleton generating function.
2343
2344         * buffer.C (updateDocLang): adjust
2345
2346         * Makefile.am (messages.o): add target
2347         (main.o): remove target
2348
2349 2003-04-27  John Levon  <levon@movementarian.org>
2350
2351         * bufferlist.C:
2352         * lyx_cb.C:
2353         * lyxfunc.C:
2354         * lyxvc.C: specify cancel button in Alert::prompt
2355
2356 2003-04-26  John Levon  <levon@movementarian.org>
2357
2358         * text3.C:
2359         * lyxfunc.C:
2360         * lfuns.h:
2361         * LyXAction.C: add LFUN_INSET_SETTINGS
2362
2363         * lyxfunc.C: don't enable tabular-feature when there's
2364         just any locking inset
2365
2366 2003-04-26  John Levon  <levon@movementarian.org>
2367
2368         * bufferlist.C: re-add Cancel to buffer close question
2369
2370         * lyxfunc.C: fix import UI a bit
2371
2372 2003-04-25  John Levon  <levon@movementarian.org>
2373
2374         * gettext.C: remove the broken asserts for now
2375
2376 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2377
2378         * messages.C: make case where setlocale cannot comply work better.
2379
2380         * buffer.C (updateDocLang): new function
2381         (changeLanguage): use it
2382         (readFile): use it
2383
2384         * text2.C (setCounter): use B_ a bit.
2385
2386         * lyxlayout.C (Read): be sure to trim the label strings.
2387
2388         * messages.C (Messages): fix typo in comment
2389
2390         * buffer.C (readFile): set message_ after file is loaded.
2391         (makeDocBookFile): remove double return
2392         (changeLanguage): reset message_ upon language change.
2393         (B_): new func, use this to get translated buffer strings.
2394
2395         * main.C: add myself and Jean Marc as authors.
2396
2397 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2398
2399         * messages.[hC]: pimplify Messages, and three different pimpls to be
2400         used in different circumstances.
2401
2402         * gettext.[Ch]: change for use with new message code.
2403
2404 2003-04-24 André Pönitz <poenitz@gmx.net>
2405
2406         * factory.C: support for eqref
2407
2408 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2409
2410         * messages.[Ch]: add missing char
2411
2412         * Makefile.am (lyx_SOURCES): add messages.[Ch]
2413
2414         * messages.[Ch]: New files
2415
2416 2003-04-18  John Levon  <levon@movementarian.org>
2417
2418         * BufferView.h:
2419         * BufferView.C:
2420         * BufferView_pimpl.C:
2421         * lfuns.h:
2422         * LyXAction.C:
2423         * lyxtext.h:
2424         * text2.C: remove layout-copy/paste (bug 778)
2425
2426 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2427
2428         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2429
2430 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2431
2432         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2433         if they succeed. Act accordingly.
2434
2435 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2436
2437         * text2.C (setCharFont): adjust
2438         (setCounter): adjust
2439         (insertStringAsLines): adjust
2440
2441         * text.C (leftMargin): adjust
2442         (setHeightOfRow): adjust
2443
2444         * rowpainter.C (paintFirst): adjust
2445         (paintLast): adjust
2446
2447         * paragraph_funcs.C (depthHook): ParagraphList::iterators
2448         (outerHook): ditto
2449         (isFirstInSequence): ditto
2450         (getEndLabel): ditto
2451         (outerFont): adjust
2452
2453         * paragraph.C (getParLanguage): comment out some hard stuff.
2454
2455         * buffer.C (insertStringAsLines): take a ParagraphList as arg
2456         (sgmlError): ditto
2457         (simpleDocBookOnePar): ditto
2458         (makeDocBookFile): use ParagraphList::iterator
2459
2460         * CutAndPaste.C (pasteSelection): adjust
2461
2462 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2463
2464         * text2.C (getFont): adjust
2465         (getLayoutFont): adjust
2466         (getLabelFont): adjust
2467
2468         * paragraph_funcs.C (TeXOnePar): adjust
2469
2470         * buffer.C (simpleLinuxDocOnePar): adjust
2471         (simpleDocBookOnePar): adjust
2472
2473         * CutAndPaste.C (pasteSelection): adjust
2474
2475         * BufferView.C (getEncoding): adjust
2476
2477         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2478
2479 2003-04-16  John Levon  <levon@movementarian.org>
2480
2481         * lyxfind.C: use parlist stuff for search/changes
2482
2483 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2484
2485         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2486
2487         * text2.C (deleteEmptyParagraphMechanism): adjust
2488
2489         * text2.[Ch] (ownerParagraph): delete func (both of them
2490
2491 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2492
2493         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2494
2495 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2496
2497         * ParagraphList.C: prepare for NO_NEXT
2498
2499 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2500
2501         * text2.C (getFont): adjust
2502         (getLayoutFont): adjust
2503         (getLabelFont): adjust
2504
2505         * paragraph.C (getFont): adjust
2506         (getLabelFont): adjust
2507         (getLayoutFont): adjust
2508
2509         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2510
2511 2003-04-15  John Levon  <levon@movementarian.org>
2512
2513         From Angus Leeming
2514
2515         * lyx_main.C: handle Include in .ui files
2516
2517 2003-04-15  John Levon  <levon@movementarian.org>
2518
2519         * MenuBackend.C: make the doc files length shorter
2520
2521         * ToolbarBackend.h:
2522         * ToolbarBackend.C: handle toolbar placement flags,
2523         Minibuffer
2524
2525 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2526
2527         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2528         adjust
2529
2530         * paragraph_funcs.C (TeXOnePar): adjust
2531
2532         * paragraph.C (getLabelFont): add outerfont arg, adjust
2533         (getLayoutFont): ditto
2534         (simpleTeXOnePar): adjust
2535
2536         * paragraph_pimpl.C (realizeFont): delete func
2537
2538 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
2539
2540         * text2.C (beforeFullRowInset): added a bad getchar check, removed
2541         row argument, constify cur argument.
2542
2543 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2544
2545         * text2.C (getFont): adjust
2546         (getLayoutFont): adjust
2547         (getLabelFont): adjust
2548
2549         * paragraph_funcs.C (TeXOnePar): adjust
2550         (outerFont): new func...
2551         (realizeFont): ...moved out from here, changed this to facilitate
2552         transition
2553
2554         * paragraph.C (getFont): take outerfont as arg, adjust
2555         (simpleTeXOnePar): add outerfont arg, adjust
2556
2557         * buffer.C (simpleLinuxDocOnePar): adjust
2558         (simpleDocBookOnePar): adjust
2559
2560         * CutAndPaste.C (pasteSelection): adjust
2561
2562         * BufferView.C (getEncoding): adjust
2563
2564 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2565
2566         * text2.C (setCharFont): adjust
2567         (setCounter): adjust
2568
2569         * text.C (leftMargin): adjust
2570         (setHeightOfRow): adjust
2571
2572         * rowpainter.C (paintFirst): adjust
2573         (paintLast): adjust
2574
2575         * paragraph_pimpl.C (realizeFont): adjust
2576
2577         * paragraph.C (isFirstInSequence): move from here...
2578         * paragraph_funcs.C (isFirstInSequence): ...to here
2579
2580         * paragraph.C (outerHook): move from here...
2581         * paragraph_funcs.C (outerHook): ...to here
2582
2583         * paragraph.C (depthHook): move from here...
2584         * paragraph_funcs.C (depthHook): ...to here
2585
2586         * paragraph.C (getEndLabel): move from here...
2587         * paragraph_funcs.C (getEndLabel): ...to here
2588
2589         * text2.C (realizeFont): move from here...
2590         * paragraph_funcs.C (realizeFont): ...to here
2591
2592 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2593
2594         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2595
2596 2003-04-14  Angus Leeming  <leeming@lyx.org>
2597
2598         * LColor.[Ch]: scrap LColor mathcursor.
2599
2600 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2601
2602         * lyxlex.[Ch] (text): delete function
2603         * trans.C (Load): adjust
2604         * paragraph_funcs.C (readParToken): adjust
2605
2606 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2607
2608         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2609         vector<char> instead of a char[].
2610
2611         * lyxlex_pimpl.C (getString): adjust
2612         (next): adjust
2613         (lex): use getString
2614         (eatLine): adjust
2615         (nextToken): adjust
2616
2617         * lyxlex.C (text): use pimpl_->getString()
2618         (getBool): ditto
2619         (findToken): ditto
2620
2621 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2622
2623         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2624         (makeFontEntriesLayoutSpecific): temp var for par.size()
2625         (setLayout): temp var for ownerParagraphs().end()
2626         (fullRebreak): temp var for rows().end()
2627         (selectionAsString): temp var for boost::next(startpit), realize
2628         that the while really is a regular for loop.
2629         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2630         setCursor in one place.
2631         (setParagraph): temp vr for ownerParagraphs().end()
2632         (updateCounters): make the while loop a for loop
2633         (cutSelection): temp var for ownerParagraphs().end()
2634         (updateInset): make the do {} while() a regular for loop
2635         (getCursorX): use temp vars
2636         (setCurrentFont): use temp vars
2637         (getColumnNearX): use temp vars
2638
2639 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2640
2641         * text.C (transformChar): use temp var for getChar
2642         (computeBidiTables): use temp var for row->par()
2643         (fill): move temp vars for row->par() and pit->layout() earlier in
2644         the function.
2645         (labelFill): use temp var for row->par()
2646         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2647         asc and desc, realize that pit never changes and that firstpit is
2648         just a duplicate and not needed. Exchange rit->par() with pit in a
2649         lot of places.
2650         (breakAgain): use a temp var for boost::next(rit)
2651         (breakAgainOneRow): ditto
2652         (breakParagraph): use a temp var for rows().begin()
2653         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2654         (cursorRightOneWord): use temp var for cursor.par() and
2655         cursor.pos(), remove usage of tmpcursor.
2656         (cursorLeftOneWord): use temp var for cursor.par() and
2657         cursor.pos() only set cur at end of function.
2658
2659 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2660
2661         * text.C, text2.C: exchange all usage of Paragraph::next with
2662         boost::next(ParagraphList::iterator)
2663
2664         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2665
2666         * text2.C (cursorTop): simplify implementation
2667         (cursorBottom): ditto
2668         (setParagraph): use ParagraphList::iterator
2669         (setCurrentFont): adjust
2670         (getColumnNearX): adjust
2671         (cursorRight): adjust
2672         (cursorLeft): remove usage of Paragraph::previous
2673         (cursorUpParagraph): ditto
2674         (deleteEmptyParagraphMechanism): slight cleanup
2675
2676         * text.C (isBoundary): take a Paragraph const & instead of a
2677         pointer as arg.
2678         (addressBreakPoint): ditto
2679         (leftMargin): remove usage of Paragraph::previous.
2680         (setHeightOfRow): ditto
2681         (cursorLeftOneWord): ditto
2682         (selectNextWordToSpellcheck): ditto
2683         (Delete): ditto
2684         (backspace): ditto
2685         (breakParagraph): remove one usage of Paragraph::next
2686         (redoParagraph): ditto
2687         (acceptChange): ditto
2688         (insertChar): adjust
2689         (rowBreakPoint): adjust
2690
2691         * bufferview_funcs.C (toggleAndShow): adjust
2692
2693 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
2694
2695         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2696         methods to access it.
2697         * lyxtext.h:
2698         * text.C: Added updateRowPositions to compute all row positions.
2699         Make top_y and getRowNearY() to use the cached y position
2700
2701 2003-04-11  John Levon  <levon@movementarian.org>
2702
2703         * text.C (rowBreakPoint): reintroduce the labelEnd
2704         checks, code copied from the row fill stuff. Deep voodoo.
2705
2706         * text.C (fill): add a comment and debugging for the
2707         next poor soul.
2708
2709 2003-04-11  John Levon  <levon@movementarian.org>
2710
2711         * text.C: make sure fullrow insets get wrapped to the next line,
2712         even when they're in a manual label
2713
2714 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
2715
2716         * text2.C (insertParagraph): make it take ParagraphList::iterator
2717         as arg.
2718         (setLayout): make it return ParagraphList::iterator
2719         (redoParagraphs): ditto
2720         (setCounter): ditto
2721         (checkParagraph): ditto
2722
2723         * text.C (getRow): make getrow take ParagraphList::iterator as arg
2724
2725         * text2.C: adjust several funcs.
2726         (realizeFont): take a ParagraphList::iterator as arg.
2727         (getLayoutFont): ditto
2728         (getLabelFont): ditto
2729         (setCharFont): ditto
2730
2731         * text.C: adjust several funcs.
2732
2733 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
2734
2735         * text.C (selectNextWordToSpellcheck): don't accidentally
2736         skip insets
2737
2738 2003-04-10  John Levon  <levon@movementarian.org>
2739
2740         * ToolbarBackend.C (getIcon): special handling for
2741         LFUN_MATH_DELIM
2742
2743 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
2744
2745         * text2.C (cursorRight): a getChar assert fixed
2746
2747 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2748
2749         * text2.C (getFont): change to take a ParagraphList::iterator
2750         instead of Paragraph*
2751         Adjust several functions.
2752
2753         * text.C (transformChar): change to take a ParagraphList::iterator
2754         instead of Paragraph*
2755         (singleWidth): ditto
2756         Adjust several functions.
2757
2758         * rowpainter.C: adjust several functions
2759         * rowpainter.h:store a ParagraphList::iterator and not a
2760         Paragraph&.
2761
2762
2763 2003-04-09  John Levon  <levon@movementarian.org>
2764
2765         * lyxfunc.C:
2766         * lfuns.h:
2767         * LyXAction.h:
2768         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2769         and the "help" bits as well
2770
2771 2003-04-09  John Levon  <levon@movementarian.org>
2772
2773         * ToolbarBackend.h:
2774         * ToolbarBackend.C: allow multiple toolbars
2775
2776 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2777
2778         * undo_funcs.C (setCursorParUndo): adjust
2779
2780         * text_funcs.C (transposeChars): adjust
2781
2782         * text3.C (gotoNextInset): adjust
2783         (dispatch): adjust
2784
2785         * text2.C (setLayout): adjust
2786         (changeDepth): adjust
2787         (setFont): adjust
2788         (redoParagraphs): adjust
2789         (selectionAsString): adjust
2790         (setParagraph): adjust
2791         (insertInset): adjust
2792         (cutSelection): adjust
2793         (copySelection): adjust
2794         (pasteSelection): adjust
2795         (insertStringAsLines): adjust
2796         (updateInset): adjust
2797         (setCursor): change to take a ParagraphList::iterator parameter
2798         (setCursorIntern): change to take a ParagraphList::iterator parameter
2799         (setCurrentFont): adjust
2800         (cursorLeft): adjust
2801         (cursorRight): adjust
2802         (deleteEmptyParagraphMechanism): adjust
2803
2804         * text.C (breakParagraph): adjust
2805         (insertChar): adjust
2806         (acceptChange): adjust
2807         (rejectChange): adjust
2808         (selectNextWordToSpellcheck): adjust
2809         (changeCase): adjust
2810         (Delete): adjust
2811         (backspace): adjust
2812
2813         * lyxfind.C (SearchForward): adjust
2814         (SearchBackward): adjust
2815         (nextChange): adjust
2816
2817         * lyxcursor.C (par): adjust
2818
2819         * lyxcursor.h: store a ParagraphList::iterator instead of a
2820         Paragraph*
2821
2822         * lyx_cb.C (getPossibleLabel): adjust
2823
2824         * bufferview_funcs.C (toggleAndShow): adjust
2825
2826         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2827         (dispatch): adjust
2828
2829         * BufferView.C (removeAutoInsets): adjust
2830         (lockedInsetStoreUndo): adjust
2831
2832 2003-04-09  John Levon  <levon@movementarian.org>
2833
2834         * ToolbarBackend.C: try icon without argument
2835         if with argument fails
2836
2837 2003-04-08  John Levon  <levon@movementarian.org>
2838
2839         * ToolbarBackend.h:
2840         * ToolbarBackend.C: add getIcon(), handle tooltip,
2841         and change from "Icon" to "Item".
2842
2843 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
2844
2845         * BufferView.C (lockInset): another bad getchar crunched
2846
2847 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
2848
2849         * text2.C (changeDepth): do not setUndo on test_only (make undo work
2850         again)
2851
2852 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
2853
2854         * lyxfind.C (searchForward, searchBackwards): bug 782
2855
2856 2003-04-07  John Levon  <levon@movementarian.org>
2857
2858         * paragraph.C: remove dead comment
2859
2860         * text.C: remove troublesome depth-fiddling code
2861         in leftMargin() and rightMargin() (bug 1017)
2862
2863         * text.C: fix breaking of rows in nested lists
2864         (bug 1004)
2865
2866         * text2.C (updateCounters): fix up depth values
2867         (bug 1013)
2868
2869 2003-04-07  John Levon  <levon@movementarian.org>
2870
2871         * BufferView_pimpl.C: clear message when doc finishes resizing,
2872         and after a mouse event
2873
2874         * lyxfunc.C: clear message after exiting inset
2875
2876 2003-04-07  John Levon  <levon@movementarian.org>
2877
2878         * bufferview_funcs.C: show math status not outside
2879         status in the statusbar
2880
2881 2003-04-07  John Levon  <levon@movementarian.org>
2882
2883         * lyxfunc.C: note status changed after a depth change
2884
2885 2003-04-04  Angus Leeming  <leeming@lyx.org>
2886
2887         * LaTeX.h: move AuxInfo operator==, != out of line.
2888         Remove LaTeX virtual destructor; nothing derives from it.
2889         Move operator()() out of public area and rename it startscript().
2890         Change protected for private.
2891
2892 2003-04-04  Angus Leeming  <leeming@lyx.org>
2893
2894         * lyxfunc.C:
2895         * text2.C: remove unneeded #includes.
2896
2897 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
2898
2899         * text2.C (dEPM): fix the heigth of the next row
2900
2901 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
2902
2903         * text.C: squashed an invalid getChar requester + some ws changes
2904
2905 2003-04-03  John Levon  <levon@movementarian.org>
2906
2907         * bufferview_funcs.h:
2908         * bufferview_funcs.C:
2909         * lyxfunc.C:
2910         * lyxtext.h:
2911         * text2.C: make getStatus work for the env depth lfuns
2912
2913 2003-04-03  John Levon  <levon@movementarian.org>
2914
2915         * bufferview_funcs.h:
2916         * bufferview_funcs.C:
2917         * lyxfunc.C:
2918         * lyxtext.h:
2919         * text2.C: parlistize decDepth(), by merging it with incDepth()
2920
2921 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2922
2923         * lyxrow.h: store a ParagraphList::iterator instead of a
2924         Paragraph* and adjust other class functions to suit.
2925
2926         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2927         above.
2928
2929 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
2930
2931         * text2.C (setCursor): do not anchor to cursor row for the time being
2932
2933 2003-04-02  John Levon  <levon@movementarian.org>
2934
2935         * LyXAction.C:
2936         * lfuns.h:
2937         * lyx_main.C:
2938         * lyxtext.h:
2939         * text.C:
2940         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2941
2942 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2943
2944         * paragraph.h: make ParagraphList and ParagraphList::iterator
2945         friends of Paragraph.
2946
2947         * buffer.C (makeLinuxDocFile): move towards ParagraphList
2948
2949         * ParagraphList.C: Use the private next_ and previous_ from
2950         Paragraph.
2951
2952 2003-04-01  John Levon  <levon@movementarian.org>
2953
2954         * ToolbarBackend.h:
2955         * ToolbarBackend.C:
2956         * Makefile.am: rename, remove defaults gunk
2957
2958         * MenuBackend.h:
2959         * MenuBackend.C: remove defaults gunk
2960
2961         * Languages.h:
2962         * Languages.C: remove defaults gunk
2963
2964         * lyx_main.h:
2965         * lyx_main.C: error out if files couldn't be found.
2966
2967 2003-04-02  John Levon  <levon@movementarian.org>
2968
2969         * text2.C: make incDepth() use parlist
2970
2971 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2972
2973         * undo_funcs.C (firstUndoParagraph): adjust
2974
2975         * text3.C (gotoInset): adjust
2976         (dispatch): adjust, and rewrite loop.
2977
2978         * text2.C (init): adjust, and rewrite loop.
2979         (redoParagraphs): adjust
2980         (updateInset): adjust, and rewrite loop.
2981         (deleteEmptyParagraphMechanism): adjust
2982
2983         * tabular.C (LyXTabular): adjust
2984         (SetMultiColumn): adjust
2985         (TeXRow): adjust
2986
2987         * lyxtext.[Ch] (ownerParagraph): delete function
2988         (ownerParagraphs): new function returns a ParagraphList.
2989
2990         * BufferView.C (removeAutoInsets): adjust
2991         (insertErrors): adjust
2992         (setCursorFromRow): adjust
2993
2994 2003-04-01  Angus Leeming  <leeming@lyx.org>
2995
2996         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2997         in the frontends.
2998
2999 2003-04-02  John Levon  <levon@movementarian.org>
3000
3001         * lyxtext.h:
3002         * text.C:
3003         * Makefile.am:
3004         * text_funcs.h:
3005         * text_funcs.C: make transposeChars a free function
3006
3007         * lyxrow_funcs.C: remove wrong comment
3008
3009 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3010
3011         * lyxtext.h: adjust
3012         * rowpainter.C: adjust
3013         * text.C: adjust
3014         * text2.C: adjust
3015         * text3.C: adjust
3016
3017         * lyxrow_funcs. [Ch]: new files
3018
3019         * lyxrow.[Ch]: remove next and previous pointers
3020         (next,previous): remove accessor functions
3021         (isParEnd): move to lyxrow_funcs
3022         (lastPos): move to lyxrow_funcs
3023         (nextRowIsAllInset): move to lyxrow_funcs
3024         (lastPrintablePos): move to lyxrow_funcs
3025         (numberOfSeparators): move to lyxrow_funcs
3026         (numberOfHfills): move to lyxrow_funcs
3027         (numberOfLabelHfills): move to lyxrow_funcs
3028         (hfillExpansion): move to lyxrow_funcs
3029
3030         * lyxfunc.C: adjust
3031
3032         * bufferview_funcs.C (toggleAndShow): adjust
3033
3034         * RowList.h: Remove class RowList from file leave just a
3035         std::list<Row>.
3036
3037         * RowList.C: delete file
3038
3039         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3040         and lyxrow_funcs.h
3041
3042 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3043
3044         * text3.C (cursorPrevious): adjust
3045         (cursorNext): adjust
3046         (dispatch): adjust
3047
3048         * text2.C (redoHeightOfParagraph): adjust
3049         (redoDrawingOfParagraph): adjust
3050         (setCursor): adjust
3051
3052         * text.C (breakParagraph): adjust
3053         (insertChar): adjust
3054         (backspace): adjust
3055
3056         * rowpainter.C (RowPainter): adjust
3057         (leftMargin): simplify and adjust
3058         (most rowpainter functions): adjust.
3059
3060         * rowpainter.h: store the row as RowList::iterator not as Row*
3061
3062         * lyxcursor.C (row): taka RowList::iterator as arg
3063         (irow): ditto
3064
3065         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3066         of Row*.
3067
3068 2003-04-01  Angus Leeming  <leeming@lyx.org>
3069
3070         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3071         stuff like bool Bool.
3072
3073 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3074
3075         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3076         rewrite a loop
3077
3078 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3079
3080         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3081         RowList::iterator.
3082
3083         * lyxtext.h (rows): drop one version and leve a const variant that
3084         returns a RowList::iterator.
3085
3086 2003-03-31  Angus Leeming  <leeming@lyx.org>
3087
3088         * text.C (fill): ensure that the signature is the same as that in the
3089         header file.
3090
3091 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3092
3093         * text2.C (redoParagraphs): adjust
3094         (updateCounters): adjust
3095         (checkParagraph): adjust
3096         (getColumnNearX): adjust and reformat a bit.
3097
3098         * text.C (top_y): adjust
3099         (workWidth): adjust
3100         (leftMargin): adjust
3101         (prepareToPrint): adjust
3102         (getRow): adjust
3103         (getRowNearY): adjust
3104
3105         * lyxtext.h: make rowlist_ mutable.
3106
3107         * RowList.h: add const_iterator
3108         * RowList.C: adjust for RowList::const_iterator.
3109
3110         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3111         adjust.
3112
3113 2003-03-31  John Levon  <levon@movementarian.org>
3114
3115         * lyxrc.h:
3116         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3117
3118         * lyx_main.C: set default fonts from using lyx_gui funcs
3119
3120         * exporter.C: pdf_mode moved from lyxrc
3121
3122         * lyx_cb.C:
3123         * lyxfunc.C: changes from above
3124
3125 2003-03-31  John Levon  <levon@movementarian.org>
3126
3127         * lyx_main.C: fix to the last fix
3128
3129 2003-03-31  John Levon  <levon@movementarian.org>
3130
3131         * bufferlist.C: "Load original" -> "Load Original"
3132
3133         * converter.C:
3134         * exporter.C:
3135         * importer.C:
3136         * lyx_main.C:
3137         * format.C: more Alert cleanups
3138
3139 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3140
3141         * text2.C (removeParagraph): make it take a RowList::iterator as
3142         arg, adjust.
3143         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3144         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3145
3146         * text.C (anchor_row): make it take a RowList::iterator as arg,
3147         adjust.
3148         (computeBidiTables): make it take a const reference to Row instead
3149         of Row pointer, adjust.
3150         (leftMargin): make it take a RowList::iterator as arg, adjust.
3151         (rowBreakPoint): adjust
3152         (breakAgainOneRow): make it take a RowList::iterator as arg,
3153         adjust.
3154         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3155
3156         * bufferview_funcs.C (toggleAndShow): adjust
3157
3158 2003-03-30  John Levon  <levon@movementarian.org>
3159
3160         * Makefile.am:
3161         * BoostFormat.h:
3162         * boost-inst.C: moved to support
3163
3164         * several files: changes as a result
3165
3166 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3167
3168         * text2.C (LyXText): adjust.
3169         (init): adjust
3170         (removeRow): make it take a RowList::iterator as arg, adjust.
3171         (fullRebreak): adjust
3172         (deleteEmptyParagraphMechanism): adjust
3173         (clearPaint): adjust
3174         (postPaint): adjust
3175
3176         * text.C (top_y): adjust
3177         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3178         (breakAgain): make it take a RowList::iterator as arg, adjust.
3179         (breakParagraph): adjust
3180         (insertChar): adjust
3181         (backspace): adjust
3182
3183         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3184         need_break_row, and refresh_row.
3185
3186         * text3.C (dispatch): adjust
3187
3188         * text2.C (checkParagraph): adjust
3189         (setCursor): adjust
3190         (setCursorFromCoordinates): adjust
3191
3192         * text.C (top_y): adjust
3193         (workWidth): adjust
3194         (getRow): make it return a RowList::iterator, adjust
3195         (getRowNearY): make it return a RowList::iterator, adjust
3196
3197         * text2.C (init): adjust
3198         (insertRow): remove function
3199         (insertParagraph): adjust
3200         (redoParagraphs): adjust
3201         (fullRebreak): adjust
3202         (updateCounters): adjust
3203
3204         * text.C (top_y): rewrite to use RowList iterators.
3205         (top_y): adjust
3206         (setHeightOfRow): rewrite to sue RowList iterators.
3207         (appendParagraph): adjust
3208         (breakAgain): adjust
3209         (breakAgainOneRow): adjust
3210         (breakParagraph): adjust
3211         (getRow): adjust
3212         (getRowNearY): adjust, and remove commented code.
3213
3214         * lyxtext.h (firstRow): delete function
3215         (lastRow): delete function
3216         (rows): new function (const and non-const versions.)
3217         (insertRow): delete function
3218
3219         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3220
3221 2003-03-29  John Levon  <levon@movementarian.org>
3222
3223         * BufferView_pimpl.C: always update scrollbar top
3224         because pasting text when we're anchored could mean we
3225         miss an update altogether
3226
3227 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3228
3229         * text2.C (init): use rowlist_.end() and not 0.
3230         (insertRow): change to take a RowList::iterator as arg, adjust
3231         for this.
3232         (insertParagraph): change to take a RowList::iterator as arg,
3233         adjust for this.
3234         (redoParagraphs): remove some debug msgs.
3235
3236         * text.C (appendParagraph): change to take a RowList::iterator
3237         arg, adjust for this.
3238         (breakAgain): add an assert
3239         (breakAgainOneRow): ditto
3240
3241 2003-03-29  John Levon  <levon@movementarian.org>
3242
3243         * text2.C: do not clear selection after inc/decDepth
3244         (bug 550)
3245
3246 2003-03-29  John Levon  <levon@movementarian.org>
3247
3248         * BufferView.C:
3249         * buffer.C: fix broken strerrors according to Lars
3250
3251 2003-03-29  John Levon  <levon@movementarian.org>
3252
3253         * converters.C: more Alert cleanups
3254
3255 2003-03-29  John Levon  <levon@movementarian.org>
3256
3257         * bufferview_funcs.C: remove pointless Alert
3258
3259         * buffer.C: fix confusing error message when
3260         a template is chmoded 000
3261
3262 2003-03-29  John Levon  <levon@movementarian.org>
3263
3264         * BufferView.C:
3265         * BufferView.h:
3266         * BufferView_pimpl.C: Alert fixes
3267
3268         * Makefile.am:
3269         * tabular.C:
3270         * tabular-old.C: remove unused table compat reading
3271
3272 2003-03-29  John Levon  <levon@movementarian.org>
3273
3274         * BufferView.C:
3275         * buffer.C:
3276         * lyx_cb.h:
3277         * lyx_cb.C: more Alert cleanups
3278
3279         * lyxfunc.C: don't allow chktex if not latex document
3280
3281 2003-03-29  John Levon  <levon@movementarian.org>
3282
3283         * lyx_cb.C:
3284         * BufferView.C:
3285         * buffer.C: warnings pushed down from support/,
3286         kill err_alert
3287
3288 2003-03-29  John Levon  <levon@movementarian.org>
3289
3290         * lyxfunc.C: safety check for C-r (revert)
3291
3292 2003-03-29  John Levon  <levon@movementarian.org>
3293
3294         * bufferlist.h:
3295         * bufferlist.C: several UI fixes using Alert::prompt.
3296         Fix the pointless looping quit code. Fix stupid revert
3297         behaviour (bug 938)
3298
3299         * lyxvc.h:
3300         * lyxvc.C:
3301         * lyx_cb.C: use Alert::prompt
3302
3303         * lyx_main.C: remove a silly question
3304
3305         * lyxfunc.C: remove a couple of silly questions,
3306         use Alert::prompt
3307
3308 2003-03-28  John Levon  <levon@movementarian.org>
3309
3310         * text2.C: fix bug 974 (End on empty par)
3311
3312 2003-03-28  John Levon  <levon@movementarian.org>
3313
3314         * BufferView_pimpl.C:
3315         * LyXAction.C:
3316         * lfuns.h: remove do-nothing math greek lfuns
3317
3318 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3319
3320         * lyxgluelength.h (isValidGlueLength): add default arg on
3321         parameter 2. Remove default arg from friend in class.
3322
3323         * lyxlength.h (isValidLength): add default arg on parameter 2.
3324         Remove default arg from friend in class.
3325
3326         * text2.C (LyXText): adjust, initialize refresh_row.
3327         (init): adjust
3328         (removeRow): adjust
3329         (insertRow): adjust
3330         (insertParagraph): adjst
3331         (redoParagraphs): adjust
3332         (fullRebreak): adjust
3333         (updateCounters): adjust
3334         (deleteEmptyParagraphMechanism): first attempt at fixing a
3335         crashing bug.
3336
3337         * text.C (top_y): adjust
3338         (setHeightOfRow): adjust
3339         (getRow): adjust
3340         (getRowNearY): adjust
3341
3342         * lyxtext.h: include RowList.h
3343         (~LyXText): not needed anymore, deleted.
3344         (firstRow): modify for RowList
3345         (lastRow): new function
3346         Delete firstrow and lastrow class variables, add a Rowlist
3347         rowlist_ class variable.
3348
3349         * lyxrow.C (lastPos): use empty() and not !size() to check if a
3350         paragraph is empty.
3351
3352         * RowList.C (insert): fix case where it == begin().
3353
3354 2003-03-26  Angus Leeming  <leeming@lyx.org>
3355
3356         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3357         the thesaurus dialog.
3358
3359 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3360
3361         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3362
3363         * RowList.[Ch]: new files
3364
3365         * ParagraphList.C (erase): handle the case where it == begin
3366         correctly.
3367
3368 2003-03-25  John Levon  <levon@movementarian.org>
3369
3370         * Makefile.am:
3371         * aspell_local.h:
3372         * aspell.C: add new aspell support
3373
3374         * lyxrc.h:
3375         * lyxrc.C: Make use_pspell be use_spell_lib. Always
3376         have it accessible.
3377
3378 2003-03-25  Angus Leeming  <leeming@lyx.org>
3379
3380         * lfuns.h:
3381         * LyXAction.C (init): new LFUN_INSET_INSERT.
3382
3383         * BufferView_pimpl.C (dispatch): split out part of the
3384         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3385
3386         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3387         LFUN_INSET_APPLY.
3388
3389 2003-03-25  Angus Leeming  <leeming@lyx.org>
3390
3391         * lyxfunc.C (dispatch): changes to the Dialogs interface.
3392
3393 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
3394
3395         * text2.C:
3396         * text3.C: remove useless row->height(0)
3397
3398 2003-03-25  John Levon  <levon@movementarian.org>
3399
3400         * lyxtext.h:
3401         * text2.C:
3402         * text3.C: rename the refreshing stuff to better names
3403
3404 2003-03-24  John Levon  <levon@movementarian.org>
3405
3406         * BufferView_pimpl.h:
3407         * BufferView_pimpl.C: update layout choice on a mouse
3408         press/release
3409
3410 2003-03-23  John Levon  <levon@movementarian.org>
3411
3412         * Makefile.am: fix commandtags.h reference
3413
3414 2003-03-22  John Levon  <levon@movementarian.org>
3415
3416         * BufferView_pimpl.C:
3417         * lyxtext.h:
3418         * rowpainter.C:
3419         * rowpainter.h:
3420         * text.C:
3421         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3422
3423 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
3424
3425         * lyxtext.h:
3426         * text.C: take the rtl methods out of line
3427
3428 2003-03-21 André Pönitz <poenitz@gmx.net>
3429
3430         * metricsinfo.[Ch]: new files containing structures to be passed around
3431         during the two-phase-drawing...
3432
3433 2003-03-21 André Pönitz <poenitz@gmx.net>
3434
3435         * lyxtextclass.C: read 'environment' tag.
3436
3437 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
3438
3439         * text2.C (removeRow): fix bug 964
3440
3441 2003-03-20  John Levon  <levon@movementarian.org>
3442
3443         * rowpainter.C:
3444         * text.C:
3445         * text2.C: paint cleanups. Inset::update() dropped font
3446         parameter
3447
3448 2003-03-19  John Levon  <levon@movementarian.org>
3449
3450         * lyxfunc.C: only fitcursor/markDirty if available()
3451
3452 2003-03-19  John Levon  <levon@movementarian.org>
3453
3454         * commandtags.h: rename to ...
3455
3456         * lfuns.h: ... this, and renumber / cleanup
3457
3458 2003-03-19  John Levon  <levon@movementarian.org>
3459
3460         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3461         fit the cursor after an lfun
3462
3463         * BufferView.h:
3464         * BufferView.C:
3465         * BufferView_pimpl.h:
3466         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3467
3468         * LyXAction.C: layout-character should have ReadOnly
3469
3470         * ParagraphParameters.C:
3471         * buffer.C:
3472         * bufferview_funcs.C:
3473         * lyx_cb.C:
3474         * lyxfind.C:
3475         * lyxtext.h:
3476         * text.C:
3477         * text2.C:
3478         * text3.C:
3479         * undo_funcs.C: changes from above
3480
3481 2003-03-18  John Levon  <levon@movementarian.org>
3482
3483         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3484         remove it from update()
3485
3486         * lyxfunc.C: update layout choice after an lfun
3487
3488         * text3.C: remove extra updateLayoutChoice()s
3489
3490 2003-03-18  John Levon  <levon@movementarian.org>
3491
3492         * text.C: top_y change means full repaint, fix
3493         a drawing bug with cursor movement
3494
3495 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3496
3497         * lyxtext.h:
3498         * text.C:
3499         * text2.C: anchor row on setCursor
3500
3501 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3502
3503         * lyxtext.h: remove almost all mutable keywords
3504         * text.C:
3505         * text2.C:
3506         * text3.C: remove const keywords accordingly
3507
3508 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3509
3510         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3511         anon namespace
3512         (TeXEnvironment): ditto
3513         (TeXOnePar): ditto
3514
3515 2003-03-17  John Levon  <levon@movementarian.org>
3516
3517         * text.C (rowBreakPoint): remove attempt to fix displayed
3518         math insets inside a manual label
3519
3520 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3521
3522         * lyxtext.h: remove BufferView* as first arg from almost all class
3523         functions.
3524         * other files: adjust.
3525
3526 2003-03-17  John Levon  <levon@movementarian.org>
3527
3528         * lyxtext.h:
3529         * undo_funcs.C:
3530         * text2.C: more paint cleanups
3531
3532         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3533
3534         * rowpainter.h:
3535         * rowpainter.C: remove "smart" background painting code
3536
3537 2003-03-16  John Levon  <levon@movementarian.org>
3538
3539         * lyxtext.h:
3540         * text.C:
3541         * text2.C:
3542         * text3.C: add helper functions for setting refresh_row/y
3543
3544 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
3545
3546         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3547         newline inset which *can* get inserted in the pass_thru layouts.
3548         This is primarily for literate documents.
3549
3550 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
3551
3552         * buffer.C: increment LYX_FORMAT to 223
3553
3554 2003-03-14 André Pönitz <poenitz@gmx.net>
3555
3556         * textclass.h: prepare for environment handling, ws changes
3557         * lyxlayout.C: read latexheader and latexfooter tags
3558
3559 2003-03-14  John Levon  <levon@movementarian.org>
3560
3561         * text2.C: rewrite ::status() a bit
3562
3563 2003-03-13  John Levon  <levon@movementarian.org>
3564
3565         * lyxtext.h: add some docs
3566
3567 2003-03-13  John Levon  <levon@movementarian.org>
3568
3569         * lyxtext.h:
3570         * text.C:
3571         * text2.C:
3572         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3573
3574 2003-03-13  John Levon  <levon@movementarian.org>
3575
3576         * text3.C: fix appendix redrawing
3577
3578 2003-03-13  John Levon  <levon@movementarian.org>
3579
3580         * text.C (setHeightOfRow):
3581         * rowpainter.h:
3582         * rowpainter.C: make appendix mark have the text
3583           "Appendix" so the user knows what it is
3584
3585         * LColor.h:
3586         * LColor.C: s/appendixline/appendix/ from above
3587
3588 2003-03-13  John Levon  <levon@movementarian.org>
3589
3590         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3591
3592         * text.C: fix a getChar(pos) bug properly
3593
3594 2003-03-13  Angus Leeming  <leeming@lyx.org>
3595
3596         * commandtags.h:
3597         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3598         Probably only temporary. Let's see how things pan out.
3599
3600         * BufferView.C (unlockInset):
3601         * BufferView_pimpl.C (fitCursor):
3602         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3603
3604         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3605         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3606
3607         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3608         new functions that convert ParagraphParameters to and from a string.
3609
3610         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3611         BufferView::Pimpl's dispatch.
3612         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3613
3614 2003-03-13 André Pönitz <poenitz@gmx.net>
3615
3616         * lyxfunc.C:
3617         * text3.C:
3618         * factory.C: make it aware of InsetEnv
3619
3620 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3621
3622         * text2.C (setCursor): never ask for one past last
3623         (setCursor): add some debugging messages.
3624
3625         * text.C (singleWidth): never ask for one past last
3626         (singleWidth): ditto
3627         (leftMargin): ditto
3628         (rightMargin): ditto
3629         (rowBreakPoint): ditto
3630         (setHeightOfRow): ditto
3631         (prepareToPrint): ditto
3632
3633         * rowpainter.C (paintBackground): never ask for one past last
3634         (paintText): never ask for one past last
3635
3636         * paragraph_pimpl.C (getChar): make the assert stricter, never
3637         allow the one past last pos to be taken
3638
3639         * paragraph.C (getChar): ws changes only
3640
3641         * lyxrow.C (nextRowIsAllInset): never ask for one past last
3642         (numberOfSeparators): ditto
3643         (numberOfHfills): ditto
3644
3645 2003-03-12  John Levon  <levon@movementarian.org>
3646
3647         * author.h:
3648         * author.C:
3649         * bufferparams.h:
3650         * bufferparams.C:
3651         * paragraph_funcs.C: fix per-buffer authorlists
3652
3653 2003-03-12  John Levon  <levon@movementarian.org>
3654
3655         * text.C: fix newline in right address
3656
3657 2003-03-12  Angus Leeming  <leeming@lyx.org>
3658
3659         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3660         duplicate those in LyXFunc::dispatch.
3661
3662         * commandtags.h:
3663         * LyXAction.C:
3664         * ToolbarDefaults.C:
3665         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3666         Add LFUN_FONTFREE_UPDATE.
3667
3668         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3669         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3670
3671         * bufferview_func.[Ch]: several new functions to facilliate
3672         transfer of data to and from the character dialog.
3673
3674 2003-03-12  John Levon  <levon@movementarian.org>
3675
3676         * buffer.C:
3677         * paragraph.h:
3678         * paragraph.C:
3679         * paragraph_funcs.C:
3680         * paragraph_pimpl.C:
3681         * sgml.C:
3682         * tabular.C:
3683         * text.C:
3684         * text3.C: remove META_NEWLINE in favour of an inset
3685
3686         * rowpainter.h:
3687         * rowpainter.C: remove paintNewline (done by inset)
3688
3689 2003-03-12  John Levon  <levon@movementarian.org>
3690
3691         * paragraph_pimpl.C: complain about bad getChar()s
3692         for a while at least
3693
3694 2003-03-12  John Levon  <levon@movementarian.org>
3695
3696         * buffer.h:
3697         * buffer.C: move paragraph read into a separate function,
3698         a little renaming to reflect that.
3699
3700         * bufferparams.h:
3701         * bufferparams.C: remove the author_ids map, not necessary now
3702
3703         * factory.h:
3704         * factory.C: moved Buffer::readInset to here
3705
3706         * paragraph_funcs.h:
3707         * paragraph_funcs.C: readParagraph free function moved from
3708         buffer.C
3709
3710         * tabular.C: name change
3711
3712 2003-03-12  John Levon  <levon@movementarian.org>
3713
3714         * buffer.C:
3715         * ParagraphParameters.C: move par params input to
3716         a read() method
3717
3718         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3719         behave like a normal read from the stream wrt reading
3720         a line vs. a \\token
3721
3722 2003-03-12  John Levon  <levon@movementarian.org>
3723
3724         * paragraph.C:
3725         * ParagraphParameters.h:
3726         * ParagraphParameters.C: move output code to a
3727         ::write() method
3728
3729 2003-03-12  John Levon  <levon@movementarian.org>
3730
3731         * BufferView.C (insertLyXFile):
3732         * buffer.h:
3733         * buffer.C:
3734         * tabular.C: use a parlist iterator for creating the
3735           document.
3736
3737 2003-03-12  John Levon  <levon@movementarian.org>
3738
3739         * buffer.C: make current_change static local not
3740           static file-scope
3741
3742 2003-03-12  John Levon  <levon@movementarian.org>
3743
3744         * buffer.C: fix insertStringAsLines for change tracking
3745
3746 2003-03-12  John Levon  <levon@movementarian.org>
3747
3748         * BufferView.C:
3749         * tabular.C:
3750         * buffer.h:
3751         * buffer.C:
3752         * bufferparams.h:
3753         * bufferparams.C: move author list into params. Rename some
3754           functions. Move the header reading into a separate token
3755           loop. Move the header token reading into BufferParams.
3756
3757 2003-03-12  John Levon  <levon@movementarian.org>
3758
3759         * changes.C: put debug inside lyxerr.debugging() checks
3760
3761 2003-03-11 André Pönitz <poenitz@gmx.net>
3762
3763         * factory.C: make it aware of InsetHFill
3764
3765 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3766
3767         * buffer.C (latexParagraphs): move function from here...
3768         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3769         args.
3770
3771 2003-03-10  Angus Leeming  <leeming@lyx.org>
3772
3773         * LyXAction.C (init): fix bug in poplating array with multiple entries
3774         with the same LFUN (spotted by JMarc).
3775
3776 2003-03-10  John Levon  <levon@movementarian.org>
3777
3778         * text.C:
3779         * text2.C: move getColumnNearX() near its
3780         only call site
3781
3782 2003-03-10  John Levon  <levon@movementarian.org>
3783
3784         * text.C: fix break before a minipage
3785
3786 2003-03-10  John Levon  <levon@movementarian.org>
3787
3788         * text.C: fix the last commit
3789
3790 2003-03-09  John Levon  <levon@movementarian.org>
3791
3792         * lyxtext.h:
3793         * text.C:
3794         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3795         bug 365 (don't break before insets unless needed). Don't
3796         return a value > last under any circumstances.
3797
3798 2003-03-09  Angus Leeming  <leeming@lyx.org>
3799
3800         * BufferView_pimpl.C (trackChanges, dispatch): call
3801         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3802
3803 2003-03-09  Angus Leeming  <leeming@lyx.org>
3804
3805         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3806         than Dialogs::showAboutlyx().
3807
3808 2003-03-09  Angus Leeming  <leeming@lyx.org>
3809
3810         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3811         than Dialogs::showTabularCreate().
3812
3813 2003-03-09  John Levon  <levon@movementarian.org>
3814
3815         * lyxtext.h:
3816         * text.C:
3817         * text2.C: 3rd arg to nextBreakPoint was always the same.
3818           Use references.
3819
3820 2003-03-08  John Levon  <levon@movementarian.org>
3821
3822         * lyxrow.C:
3823         * paragraph.C:
3824         * paragraph.h:
3825         * rowpainter.C:
3826         * text.C:
3827         * text2.C: Remove the "main" bit from the "main body"
3828           notion.
3829
3830 2003-03-08  John Levon  <levon@movementarian.org>
3831
3832         * text.C (leftMargin): The left margin of an empty
3833         manual label paragraph should not include the label width
3834         string length.
3835
3836         * text.C (prepareToPrint): don't attempt to measure hfills
3837         for empty manual label paragraphs - the answer should be 0
3838
3839 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3840
3841         * CutAndPaste.C: remove commented code and reindent.
3842
3843 2003-03-08  John Levon  <levon@movementarian.org>
3844
3845         * lyxfunc.h:
3846         * lyxfunc.C: move reloadBuffer()
3847
3848         * BufferView.h:
3849         * BufferView.C: to here
3850
3851         * lyxvc.C: add comment
3852
3853         * vc-backend.h:
3854         * vc-backend.C: call bv->reload() to avoid
3855           getStatus() check on MENURELOAD
3856
3857 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
3858
3859         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3860         to an old format .dep file.
3861
3862 2003-03-07  Angus Leeming  <leeming@lyx.org>
3863
3864         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3865         when the LFUN_MOUSE_RELEASE should have been handled by
3866         inset->localDispatch.
3867
3868 2003-03-07  Angus Leeming  <leeming@lyx.org>
3869
3870         * BufferView_pimpl.C (dispatch):
3871         * LyXAction.C (init):
3872         * ToolbarDefaults.C (init):
3873         * commandtags.h:
3874         * lyxfunc.C (getStatus):
3875         remove LFUN_INSET_GRAPHICS.
3876
3877         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3878
3879 2003-03-07  Angus Leeming  <leeming@lyx.org>
3880
3881         * commandtags.h:
3882         * LyXAction.C (init):
3883         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3884
3885         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3886
3887         * commandtags.h:
3888         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3889
3890         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3891         localDispatch method LFUN_INSET_DIALOG_UPDATE.
3892
3893 2003-03-07  Angus Leeming  <leeming@lyx.org>
3894
3895         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3896         remove "ert".
3897
3898 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3899
3900         * ParagraphList.C (front): new function
3901         (back): implement
3902
3903 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
3904
3905         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3906         and top_row_offset_. removed var first_y.
3907         * text.C (top_y):
3908         * text2.C (LyXText, removeRow):
3909         * text3.C:
3910         * BufferView_pimpl.C:
3911         use these methods instead of using first_y
3912
3913 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3914
3915         * text2.C (pasteSelection): adjust for checkPastePossible
3916
3917         * CutAndPaste.C: remove Paragraph * buf and replace with
3918         ParagraphList paragraphs.
3919         (DeleteBuffer): delete
3920         (cutSelection): change the tc type to textclass_type
3921         (copySelection): change the tc type to textclass_type
3922         (copySelection): adjust for ParagraphList
3923         (pasteSelection): change the tc type to textclass_type
3924         (pasteSelection): adjust for Paragraphlist
3925         (nrOfParagraphs): simplify for ParagraphList
3926         (checkPastePossible): simplify for ParagraphList
3927         (checkPastePossible): remove unused arg
3928
3929         * ParagraphList.C (insert): handle the case where there are no
3930         paragraphs yet.
3931
3932         * CutAndPaste.h: make CutAndPaste a namespace.
3933
3934         * text3.C (dispatch): adjust
3935
3936         * text.C (breakParagraph): add a ParagraphList as arg
3937
3938         * paragraph_funcs.C (breakParagraph): change to take a
3939         BufferParams and a ParagraphList as args.
3940         (breakParagraphConservative): ditto
3941         (mergeParagraph): ditto
3942         (TeXDeeper): add a ParagraphList arg
3943         (TeXEnvironment): ditto
3944         (TeXOnePar): ditto
3945
3946         * buffer.C (readLyXformat2): adjust
3947         (insertStringAsLines): adjust
3948         (latexParagraphs): adjust
3949
3950         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3951         (cutSelection): adjust
3952         (pasteSelection): adjust
3953
3954         * BufferView_pimpl.C (insertInset): adjust
3955
3956 2003-03-05  Angus Leeming  <leeming@lyx.org>
3957
3958         * commandtags.h:
3959         * LyXAction.C (init):
3960         * BufferView_pimpl.C (dispatch):
3961         * lyxfunc.C (getStatus):
3962         remove LFUN_CHILD_INSERT.
3963
3964         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3965
3966 2003-03-05  Angus Leeming  <leeming@lyx.org>
3967
3968         * commandtags.h:
3969         * LyXAction.C (init):
3970         * src/factory.C (createInset):
3971         * lyxfunc.C (getStatus):
3972         * text3.C (dispatch):
3973         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3974
3975         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3976
3977 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
3978
3979         * ParagraphList.C (insert): handle insert right before end()
3980         (erase): fix cases where it can be first or last paragraph.
3981
3982 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3983
3984         * paragraph_funcs.C (TeXEnvironment): remove all usage of
3985         Paragraph::next and Paragraph::previous
3986         (TeXOnePar): ditto
3987
3988         * text.C (breakParagraph): adjust
3989
3990         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3991         BufferParams& as arg.
3992         (breakParagraph): use ParagraphList::insert
3993         (breakParagraphConservative): take a Buffer* instead of a
3994         BufferParams& as arg.
3995         (breakParagraphConservative): use ParagraphList::insert.
3996
3997         * buffer.C (insertStringAsLines): un-const it
3998         (insertStringAsLines): adjust
3999
4000         * ParagraphList.C (insert): new function
4001
4002         * CutAndPaste.C (pasteSelection): adjust
4003
4004         * text.C (backspace): adjust
4005
4006         * tabular.C (SetMultiColumn): adjust
4007
4008         * CutAndPaste.C (cutSelection): adjust
4009         (pasteSelection): adjust
4010
4011         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4012         Buffer const * as arg
4013
4014         * ParagraphList.C (erase): new function
4015         * paragraph_funcs.C (mergeParagraph): use it
4016         (mergeParagraph): make it take a Buffer* instead of a
4017         BufferParams* as arg
4018
4019         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4020         as arg
4021         (breakParagraphConservative): ditto
4022
4023         * paragraph.h: remove the breakParagraph friend
4024
4025         * paragraph.C (eraseIntern): new function
4026         (setChange): new function
4027
4028         * paragraph_funcs.C (mergeParagraph): make it take a
4029         ParagraphList::iterator instead of a Paragraph *, adjust
4030         accordingly.
4031
4032         * paragraph.h: move an #endif so that the change tracking stuff
4033         also works in the NO_NEXT case.
4034
4035 2003-03-04  Angus Leeming  <leeming@lyx.org>
4036
4037         * commandtags.h:
4038         * LyXAction.C: new LFUN_INSET_MODIFY.
4039
4040         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4041         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4042
4043 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4044
4045         * several files: ws changes only
4046
4047         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4048         (TeXEnvironment): ditto
4049         (TeXDeeper): ditto
4050
4051         * buffer.C (makeLaTeXFile): adjust
4052         (latexParagraphs): make it take ParagraphList::iterator as args
4053
4054 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4055
4056         * buffer.C (latexParagraphs): adjust
4057
4058         * paragraph.C (TeXOnePar): move function...
4059         (optArgInset): move function...
4060         (TeXEnvironment): move function...
4061         * paragraph_pimpl.C (TeXDeeper): move function...
4062         * paragraph_funcs.C: ...here
4063
4064         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4065
4066 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4067
4068         * buffer.C (readInset): remove compability code for old Figure and
4069         InsetInfo insets
4070
4071 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4072
4073         * buffer.C: ws changes
4074         (readInset):
4075
4076         * BufferView_pimpl.C: ditto
4077         * author.C: ditto
4078         * buffer.h: ditto
4079         * bufferlist.h: ditto
4080         * changes.h: ditto
4081         * lyxfunc.C: ditto
4082
4083 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4084
4085         * converter.[Ch]: split into itself +
4086         * graph.[Ch]
4087         * format.[Ch]
4088         * Makefile.am: += graph.[Ch] + format.[Ch]
4089         * MenuBackend.C
4090         * buffer.C
4091         * exporter.C
4092         * importer.C
4093         * lyx_main.C
4094         * lyxfunc.C
4095         * lyxrc.C: added #include "format.h"
4096
4097 2003-02-27  Angus Leeming  <leeming@lyx.org>
4098
4099         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4100           a label.
4101
4102         * factory.C (createInset): add "label" to the factory.
4103
4104         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4105           string and do no more.
4106
4107 2003-02-27  Angus Leeming  <leeming@lyx.org>
4108
4109         * commandtags.h:
4110         * LyXAction.C (init):
4111         * factory.C (createInset):
4112         * BufferView_pimpl.C (dispatch):
4113           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4114
4115         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4116
4117         * lyxfunc.C (dispatch):
4118         * text3.C (dispatch): pass name to params2string.
4119
4120 2003-02-26  Angus Leeming  <leeming@lyx.org>
4121
4122         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4123           blocks together.
4124           Rearrange the ~includes. Strip out the unnecessary ones.
4125
4126         * factory.C (createInset): reformat.
4127           create new insets for the various LFUN_XYZ_APPLY lfuns.
4128
4129 2003-02-26  John Levon  <levon@movementarian.org>
4130
4131         * lyxrow.h:
4132         * lyxrow.C: add isParStart,isParEnd helpers
4133
4134         * paragraph.h: make isInserted/DeletedText take refs
4135
4136         * paragraph_funcs.h:
4137         * paragraph_funcs.C: remove #if 0'd code
4138
4139         * lyxtext.h:
4140         * text3.C:
4141         * text2.C:
4142         * text.C: use lyxrow helpers above.
4143           Move draw and paint routines to RowPainter.
4144           Make several methods use refs not pointers.
4145           Make backgroundColor() const.
4146           Add markChangeInDraw(), isInInset().
4147           Merge changeRegionCase into changeCase.
4148           Make workWidth() shouldn't-happen code into an Assert.
4149
4150         * rowpainter.h:
4151         * rowpainter.C: new class for painting a row.
4152
4153         * vspace.h:
4154         * vspace.C: make inPixels take a ref
4155
4156 2003-02-26  Angus Leeming  <leeming@lyx.org>
4157
4158         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4159         LFUN_REF_APPLY.
4160
4161 2003-02-25  John Levon  <levon@movementarian.org>
4162
4163         * ispell.C: give the forked command a more accurate name
4164
4165 2003-02-22  John Levon  <levon@movementarian.org>
4166
4167         * toc.h:
4168         * toc.C: make TocItem store an id not a Paragraph *
4169           (bug #913)
4170
4171 2003-02-21  Angus Leeming  <leeming@lyx.org>
4172
4173         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4174           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4175           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4176           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4177           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4178           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4179
4180         * BufferView_pimpl.C (dispatch):
4181         * LyXAction.C (init):
4182         * factory.C (createInset):
4183         * lyxfunc.C (getStatus, dispatch):
4184         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4185
4186 2003-02-21  Angus Leeming  <leeming@lyx.org>
4187
4188         * BufferView_pimpl.C (MenuInsertLyXFile):
4189         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4190         * lyxfunc.C (menuNew, open, doImport):
4191           no longer pass a LyXView & to fileDlg.
4192
4193 2003-02-21  Angus Leeming  <leeming@lyx.org>
4194
4195         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4196         * LyXAction.C: change, BIBKEY to BIBITEM.
4197         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4198         Change InsetBibKey to InsetBibitem.
4199         Change BIBKEY_CODE to BIBITEM_CODE.
4200         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4201         * factory.C: replace insetbib.h with insetbibitem.h.
4202         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4203         * paragraph.C: replace insetbib.h with insetbibitem.h.
4204         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4205         Change bibkey() to bibitem().
4206         * text.C: remove insetbib.h.
4207         * text2.C: replace insetbib.h with insetbibitem.h.
4208         change bibkey() to bibitem().
4209         * text3.C: remove insetbib.h.
4210         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4211
4212 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4213
4214         * lyxrc.C (output): enclose user email in quotes (in case there are
4215         several words)
4216
4217 2003-02-18  John Levon  <levon@movementarian.org>
4218
4219         * buffer.h: add std::
4220
4221 2003-02-17  John Levon  <levon@movementarian.org>
4222
4223         * SpellBase.h:
4224         * ispell.h:
4225         * ispell.C:
4226         * pspell.h:
4227         * pspell.C: reworking. Especially in ispell, a large
4228           number of clean ups and bug fixes.
4229
4230         * lyxfunc.C: fix revert to behave sensibly
4231
4232 2003-02-17 André Pönitz <poenitz@gmx.net>
4233
4234         * LyXAction.C:
4235         * commandtags.h: new LFUN_INSERT_BIBKEY
4236
4237         * layout.h:
4238         * lyxlayout.C:
4239         * buffer.C:
4240         * factory.C:
4241         * text.C:
4242         * text2.C:
4243         * text3.C:
4244         * paragraph.[Ch]:
4245         * paragraph_func.C: remove special bibkey handling
4246
4247 2003-02-17  John Levon  <levon@movementarian.org>
4248
4249         * text.C (Delete): fix case where delete at the end of
4250           the very first paragraph would not merge the pars
4251
4252 2003-02-17  John Levon  <levon@movementarian.org>
4253
4254         * lyxrow.C: fix lastPrintablePos()
4255
4256 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4257
4258         * bufferparams.C (writeLaTeX): add a std:here
4259
4260         * buffer.C: and remove a using directive there
4261
4262 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4263
4264         * buffer.C (makeLaTeXFile): move the code that generates the
4265           preamble...
4266
4267         * bufferparams.C (writeLaTeX): ... in this new method
4268
4269         * LaTeXFeatures.C (getEncodingSet): make const
4270           (getLanguages): make const
4271
4272         * MenuBackend.C (binding): returns the binding associated to this
4273           action
4274           (add): sets the status of each item by calling getStatus. Adds
4275           some intelligence.
4276           (read): add support for OptSubMenu
4277           (expand): remove extra separator at the end of expanded menu
4278
4279 2003-02-15  John Levon  <levon@movementarian.org>
4280
4281         * BufferView.C:
4282         * BufferView_pimpl.C:
4283         * bufferlist.h:
4284         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4285           inset code that had no actual effect. Remove unneeded status
4286           code.
4287
4288 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4289
4290         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4291           in preamble
4292
4293 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4294
4295         * text.C (drawLengthMarker): also draw an arrow marker for
4296           symbolic lengths (medskip...)
4297
4298 2003-02-14  John Levon  <levon@movementarian.org>
4299
4300         * tabular.h:
4301         * tabular.C: better method names
4302
4303 2003-02-14  John Levon  <levon@movementarian.org>
4304
4305         * BufferView_pimpl.C:
4306         * bufferlist.C:
4307         * buffer.C:
4308         * converter.C:
4309         * lyx_cb.C:
4310         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4311           it's a more accurate name. Remove some pointless uses.
4312
4313 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4314
4315         * text2.C (LyXText): change order of initilizers to shut off
4316           warnings
4317
4318 2003-02-14  John Levon  <levon@movementarian.org>
4319
4320         * buffer.C: use ParIterator for getParFromID()
4321
4322         * paragraph.h:
4323         * paragraph.C:
4324         * paragraph_pimpl.h:
4325         * paragraph_pimpl.C: remove unused getParFromID()
4326
4327 2003-02-14  John Levon  <levon@movementarian.org>
4328
4329         * buffer.C: remove some very old #if 0'd parse code
4330
4331 2003-02-13  John Levon  <levon@movementarian.org>
4332
4333         * text.h:
4334         * text.C:
4335         * text2.C: move hfillExpansion(), numberOfSeparators(),
4336           rowLast(), rowLastPrintable(), numberofHfills(),
4337           numberOfLabelHfills() ...
4338
4339         * lyxrow.h:
4340         * lyxrow.C: ... to member functions here.
4341
4342         * paragraph.h:
4343         * paragraph.C:
4344         * lyxtext.h:
4345         * text.C: remove LyXText::beginningOfMainBody(), and call
4346           p->beginningOfMainBody() directly. Move the check for
4347           LABEL_MANUAL into the latter.
4348
4349         * text.h:
4350         * text.C:
4351         * text2.C:
4352         * vspace.C:
4353         * BufferView.h:
4354         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4355
4356         * text.h:
4357         * text.C:
4358         * text2.C:
4359         * text3.C:
4360         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4361           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4362
4363 2003-02-13  John Levon  <levon@movementarian.org>
4364
4365         * CutAndPaste.C: remove debug
4366
4367 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4368
4369         * paragraph.C (asString): remove two unused variables
4370
4371         * lyxtextclass.C (readTitleType):
4372           (Read):
4373           (LyXTextClass): handle new members titletype_ and titlename_
4374
4375         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4376
4377 2003-02-09  John Levon  <levon@movementarian.org>
4378
4379         * buffer.h:
4380         * buffer.C: replace hand-coded list with a map for the dep clean
4381
4382 2003-02-08  John Levon  <levon@movementarian.org>
4383
4384         * LaTeX.C: consolidate code into showRunMessage() helper
4385
4386 2003-02-08  John Levon  <levon@movementarian.org>
4387
4388         * lyxfind.C:
4389         * lyxtext.h:
4390         * text2.C:
4391         * BufferView.C: change setSelectionOverString() to setSelectionRange()
4392           and pass the size in explicitly
4393
4394         * BufferView_pimpl.h:
4395         * BufferView_pimpl.C:
4396         * BufferView.h:
4397         * BufferView.C: add getCurrentChange()
4398
4399         * BufferView_pimpl.h:
4400         * BufferView_pimpl.C: handle change lfuns
4401
4402         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4403           for changes. Mark pasted paragraphs as new.
4404
4405         * support/lyxtime.h:
4406         * support/lyxtime.C:
4407         * DepTable.C: abstract time_t as lyx::time_type
4408
4409         * LColor.h:
4410         * LColor.C: add colours for new text, deleted text, changebars
4411
4412         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4413           package use "usenames" option.
4414
4415         * commandtags.h:
4416         * lyxfunc.C:
4417         * LyXAction.C: add change lfuns
4418
4419         * Makefile.am:
4420         * author.h:
4421         * author.C: author handling
4422
4423         * buffer.h:
4424         * buffer.C: add a per-buffer author list, with first entry as
4425           current author. Handle new .lyx tokens for change tracking. Output
4426           author list to .lyx file. Output dvipost stuff to .tex preamble.
4427           Bump lyx format to 222.
4428
4429         * bufferlist.h:
4430         * bufferlist.C: add setCurrentAuthor() to reset current author details
4431           in all buffers.
4432
4433         * bufferparams.h:
4434         * bufferparams.C: add param for tracking
4435
4436         * bufferview_funcs.C: output change info in minibuffer
4437
4438         * Makefile.am:
4439         * changes.h:
4440         * changes.C: add change-tracking structure
4441
4442         * debug.h:
4443         * debug.C: add CHANGES debug flag
4444
4445         * lyxfind.h:
4446         * lyxfind.C: add code for finding the next change piece
4447
4448         * lyxrc.h:
4449         * lyxrc.C: add user_name and user_email
4450
4451         * lyxrow.h:
4452         * lyxrow.C: add a metric for the top of the text line
4453
4454         * lyxtext.h:
4455         * text.C: implement accept/rejectChange()
4456
4457         * lyxtext.h:
4458         * text.C: paint changebars. Paint new/deleted text in the chosen
4459         colours. Strike through deleted text.
4460
4461         * paragraph.h:
4462         * paragraph.C:
4463         * paragraph_pimpl.h:
4464         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4465           in the current change to the insert functions. Rework erase to
4466           mark text as deleted, adding an eraseIntern() and a range-based
4467           erase(). Implement per-paragraph change lookup and
4468           accept/reject.
4469
4470         * paragraph_funcs.C: Fixup paste for change tracking.
4471
4472         * tabular.C: mark added row/columns as new.
4473
4474         * text.C: fix rowLast() to never return -1. Don't allow
4475           spellchecking of deleted text. Track transpose changes. Don't
4476           allow paragraph break or merge where appropriate.
4477
4478         * text2.C: leave cursor at end of selection after a cut.
4479
4480 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4481
4482         * text.C (getLengthMarkerHeight):
4483         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4484         visible on screen too.
4485
4486 2003-02-07  John Levon  <levon@movementarian.org>
4487
4488         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4489
4490 2003-02-05  Angus Leeming  <leeming@lyx.org>
4491
4492         * lyxserver.C (read_ready): revert my patch of 11 September last year
4493         as it sends PC cpu through the roof. Presumably this means that
4494         the lyxserver will no longer run on an Alpha...
4495
4496 2003-01-30  Angus Leeming  <leeming@lyx.org>
4497
4498         * factory.C (createInset): create an InsetCommandParam of type "index"
4499         and use it to 'do the right thing'.
4500
4501         * text2.C (getStringToIndex): ensure that cursor position is always
4502         reset to the reset_cursor position.
4503
4504 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4505
4506         * lyxfunc.C (getStatus): "buffer-export custom" should never be
4507         disabled.
4508
4509 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
4510
4511         * bufferview.C:
4512         * lyxcb.C:
4513         * lyxfunc.C: Output messages with identical spelling, punctuation,
4514         and spaces
4515
4516 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
4517
4518         * MenuBackend.C (expandFormats): List only viewable export formats
4519         in "View" menu
4520
4521         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4522         message
4523
4524         * lyxfunc.C (getStatus): Make sure that formats other than
4525         "fax" can also be disabled
4526
4527 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4528
4529         * text3.C (dispatch): put the lfuns that insert insets in 3
4530         groups, and call doInsertInset with appropriate arguments.
4531         (doInsertInset): new function, that creates an inset and inserts
4532         it according to some boolean parameters.
4533
4534 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4535
4536         * buffer.C (readFile): remember to pass on 'par' when calling
4537         readFile recursively.
4538
4539 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4540
4541         * MenuBackend.C (expandFormats): add "..." to import formats.
4542
4543 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
4544
4545         * paragraph.C (asString): Remove XForms RTL hacks.
4546
4547 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
4548         * buffer.C: fix typo
4549
4550 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
4551
4552         * Makefile.am (LIBS): delete var
4553         (lyx_LDADD): add @LIBS@ here instead.
4554
4555 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
4556
4557         * Clarify the meaning of "wheel mouse jump"
4558
4559 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4560
4561         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4562         tabular in a float
4563
4564 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4565
4566         * importer.C (Loaders): do not preallocate 3 elements in the
4567         vector, since one ends up with 6 elements otherwise
4568
4569 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4570
4571         * DepTable.C (write): write the file name as last element of the
4572         .dep file (because it may contain spaces)
4573         (read): read info in the right order
4574
4575 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4576
4577         * paragraph_pimpl.C (simpleTeXBlanks):
4578         (simpleTeXSpecialChars):
4579         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4580
4581         * tabular.C (latex): add some missing case statements. Reindent.
4582
4583         * MenuBackend.C (expandToc): remove unused variable.
4584
4585 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
4586
4587         * LColor.C:
4588         * LaTeX.C:
4589         * LyXAction.C:
4590         * MenuBackend.C:
4591         * buffer.C:
4592         * exporter.C:
4593         * lyxfunc.C:
4594         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4595         and the like.
4596
4597 2003-01-05  John Levon  <levon@movementarian.org>
4598
4599         * BufferView.h:
4600         * BufferView.C: add getEncoding()
4601
4602         * kbsequence.h:
4603         * kbsequence.C: do not store last keypress
4604
4605         * lyxfunc.h:
4606         * lyxfunc.C: store last keypress here instead. Pass encoding
4607           to getISOEncoded()
4608
4609 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4610
4611         * lyx_main.C (init): remove annoying error message when following
4612         symbolic links (bug #780)
4613
4614 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4615
4616         * text.C (insertChar):
4617         * lyxrc.C (getDescription): remove extra spaces
4618
4619 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4620
4621         * lyxrc.C (getDescription): remove extra spaces
4622
4623 2002-12-20  John Levon  <levon@movementarian.org>
4624
4625         * text3.C: hack fix for page up/down across tall rows
4626
4627 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4628
4629         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4630         not been invoked
4631
4632 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4633
4634         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4635         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4636         thesaurus is not compiled in
4637
4638 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
4639
4640         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
4641
4642 2002-12-16  Angus Leeming  <leeming@lyx.org>
4643
4644         * lyxrc.[Ch]:
4645         * lyx_main.C (init): remove override_x_deadkeys stuff.
4646
4647 2002-12-12  John Levon  <levon@movementarian.org>
4648
4649         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4650           insert. Only remove shift modifier under strict
4651           circumstances.
4652
4653 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4654
4655         * MenuBackend.C (expandToc): fix crash.
4656
4657 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4658
4659         * MenuBackend.C (expandToc): gettext on float names.
4660
4661 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4662
4663         * lyxlength.[Ch]: set default unit to UNIT_NONE,
4664         implement bool empty() [bug 490]
4665
4666 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4667
4668         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4669
4670 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4671
4672         * several files: ws changes
4673
4674 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4675
4676         * text2.C (setCounter): clean up a bit, use boost.format.
4677         (updateCounters): initialize par upon declaration.
4678
4679         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4680         if the layout exists. We do not just store the layout any more.
4681         (SwitchLayoutsBetweenClasses): use boost.format
4682
4683 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4684
4685         * converter.C (convert): if from and to files are the same, use a
4686         temporary files as intermediary
4687
4688 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4689
4690         * commandtags.h:
4691         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4692
4693 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
4694
4695         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4696
4697 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4698
4699         * tabular.C (asciiPrintCell): use string(size, char) instead of
4700         explicit loop.
4701
4702         * sgml.C (openTag): fix order of arguments to string constructor
4703         (closeTag): ditto
4704
4705         * lyxfunc.C (dispatch): use boost.format
4706
4707         * lots of files: change "c" -> 'c'
4708
4709 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
4710
4711         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4712
4713 2002-11-25  Angus Leeming  <leeming@lyx.org>
4714
4715         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4716
4717         * lyx_main.C (init): compile fix.
4718
4719 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4720
4721         * lyx_cb.C (start): boost.formatify
4722         do not include <iostream>
4723
4724         * lengthcommon.C: ws only
4725
4726         * boost-inst.C,BoostFormat.h: add more explict instantations
4727
4728 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4729
4730         * lots of files: handle USE_BOOST_FORMAT
4731
4732 2002-11-21  John Levon  <levon@movementarian.org>
4733
4734         * pspell.C: fix compile
4735
4736 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4737
4738         * lyxfunc.C (dispatch): use boost::format
4739         (open): ditto
4740         (doImport): ditto
4741
4742         * lyxfont.C (stateText): use boost::format
4743
4744         * lyx_main.C (LyX): use boost::format
4745         (init): ditto
4746         (queryUserLyXDir): ditto
4747         (readRcFile): ditto
4748         (parse_dbg): ditto
4749         (typedef boost::function): use the recommened syntax.
4750
4751         * importer.C (Import): use boost::format
4752
4753         * debug.C (showLevel): use boost::format
4754
4755         * converter.C (view): use boost::format
4756         (convert): ditto
4757         (move): ditto
4758         (scanLog): ditto
4759
4760         * bufferview_funcs.C (currentState): use boost::format
4761
4762         * bufferlist.C (emergencyWrite): use boost::format
4763
4764         * buffer.C (readLyXformat2): use boost::format
4765         (parseSingleLyXformat2Token): ditto
4766
4767         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4768
4769         * LaTeX.C (run): use boost::format
4770
4771         * Chktex.C (scanLogFile): use boost::format
4772
4773         * BufferView_pimpl.C (savePosition): use boost::format
4774         (restorePosition): ditto
4775         (MenuInsertLyXFile): ditto
4776
4777         * BoostFormat.h: help file for explicit instation.
4778
4779 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
4780
4781         * tabular.C (latex): Support for block alignment in fixed width
4782         columns.
4783
4784 2002-11-17  John Levon  <levon@movementarian.org>
4785
4786         * BufferView_pimpl.C:
4787         * lyx_cb.C:
4788         * lyxfunc.C: split filedialog into open/save
4789
4790 2002-11-08  Juergen Vigna  <jug@sad.it>
4791
4792         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4793         by my last patch (hopefully).
4794
4795 2002-11-08  John Levon  <levon@movementarian.org>
4796
4797         * iterators.h:
4798         * iterators.C:
4799         * buffer.h:
4800         * buffer.C:
4801         * paragraph.h:
4802         * paragraph.C:
4803         * toc.h:
4804         * toc.C: ParConstIterator, and use it (from Lars)
4805
4806 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
4807
4808         * lyxtextclass.[Ch]: revise and add doxygen comments
4809
4810 2002-11-07  John Levon  <levon@movementarian.org>
4811
4812         * text.C: fix progress value for spellchecker
4813
4814         * toc.C: fix navigate menu for insetwrap inside minipage
4815
4816         * paragraph_funcs.C: added FIXME for suspect code
4817
4818 2002-11-07  John Levon  <levon@movementarian.org>
4819
4820         * BufferView_pimpl.C: fix redrawing of insets
4821           on buffer switch
4822
4823 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4824
4825         * text2.C (updateCounters): fix bug 668
4826
4827 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
4828
4829         * text3.C (dispatch): Do not make the buffer dirty when moving the
4830         cursor.
4831
4832 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4833
4834         * vc-backend.C: STRCONV
4835         (scanMaster): ditto
4836
4837         * text2.C (setCounter): STRCONV
4838
4839         * paragraph.C (asString): STRCONV
4840
4841         * lyxlength.C (asString): STRCONV
4842         (asLatexString): ditto
4843
4844         * lyxgluelength.C (asString): STRCONV
4845         (asLatexString): ditto
4846
4847         * lyxfunc.C (dispatch): STRCONV
4848         (open): ditto
4849
4850         * lyxfont.C (stateText): STRCONV
4851
4852         * importer.C (Import): STRCONV
4853
4854         * counters.C (labelItem): STRCONV
4855         (numberLabel): ditto
4856         (numberLabel): remove unused ostringstream o
4857
4858         * chset.C: STRCONV
4859         (loadFile): ditto
4860
4861         * bufferview_funcs.C (currentState): STRCONV
4862
4863         * buffer.C (readFile): STRCONV
4864         (asciiParagraph): ditto
4865         (makeLaTeXFile): ditto
4866
4867         * Spacing.C (writeEnvirBegin): STRCONV
4868
4869         * LaTeXFeatures.C (getLanguages): STRCONV
4870         (getPackages): ditto
4871         (getMacros): ditto
4872         (getBabelOptions): ditto
4873         (getTClassPreamble): ditto
4874         (getLyXSGMLEntities): ditto
4875         (getIncludedFiles): ditto
4876
4877         * LaTeX.C: STRCONV
4878         (run): ditto
4879         (scanAuxFile): ditto
4880         (deplog): ditto
4881
4882         * LString.h: add the STRCONV macros
4883
4884         * BufferView_pimpl.C (savePosition): STRCONV
4885         (restorePosition): ditto
4886         (MenuInsertLyXFile): ditto
4887
4888         * vc-backend.C (scanMaster): change from submatch[...] to
4889         submatch.str(...)
4890
4891         * funcrequest.C: include config.h
4892
4893         * factory.C: include config.h
4894
4895         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4896
4897         * box.C: include config.h
4898
4899         * LaTeX.C (scanAuxFile): change from submatch[...] to
4900         submatch.str(...)
4901         (deplog): ditto
4902
4903 2002-10-25  Angus Leeming  <leeming@lyx.org>
4904
4905         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4906
4907         * ispell.[Ch] (setError): new method.
4908         * ispell.C (c-tor): move out child process into new class LaunchIspell.
4909         Use setError() insetead of goto END.
4910
4911         * lyx_cb.C (AutoSave): move out child process into new class
4912         AutoSaveBuffer.
4913
4914 2002-10-30  John Levon  <levon@movementarian.org>
4915
4916         * text3.C: make start appendix undoable
4917
4918 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
4919
4920         * lyxlength.C (inPixels): Fix returned value.
4921
4922         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4923         environment.
4924
4925 2002-10-24  Angus Leeming  <leeming@lyx.org>
4926
4927         * lyxgluelength.h: no need to forward declare BufferParams
4928         or BufferView, so don't.
4929
4930 2002-10-21  John Levon  <levon@movementarian.org>
4931
4932         * BufferView.C: menuUndo ->undo, redo
4933
4934         * BufferView.h: document, remove dead, make some methods private
4935
4936         * paragraph_funcs.h:
4937         * paragraph_funcs.C:
4938         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4939
4940         * buffer.h:
4941         * buffer.C:
4942         * sgml.h:
4943         * sgml.C: move sgml open/close tag into sgml.C
4944
4945         * bufferview_funcs.h: unused prototype
4946
4947         * lyxfunc.h:
4948         * lyxfunc.C: remove unused
4949
4950         * lyxtext.h:
4951         * text.C: remove unused
4952
4953 2002-10-21  John Levon  <levon@movementarian.org>
4954
4955         * BufferView.h:
4956         * BufferView.C:
4957         * BufferView_pimpl.h:
4958         * BufferView_pimpl.C: fix mouse wheel handling based on
4959           patch from Darren Freeman
4960
4961 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
4962
4963         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4964
4965 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
4966
4967         * lyxlength.C (inPixels): Fix hanfling of negative length.
4968         Fix LyXLength::MU case.
4969
4970 2002-10-16  John Levon  <levon@movementarian.org>
4971
4972         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4973
4974 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4975
4976         * converter.C (view): add support for $$i (file name) and $$p
4977         (file path) for the viewer command. If $$i is not specified, then
4978         it is appended to the command (for compatibility with old syntax)
4979
4980 2002-10-14  Juergen Vigna  <jug@sad.it>
4981
4982         * undo_funcs.C (textHandleUndo): alter the order in which the
4983         new undopar is added to the LyXText, as we have to set first
4984         the right prev/next and then add it as otherwise the rebuild of
4985         LyXText is not correct. Also reset the cursor to the right paragraph,
4986         with this IMO we could remove the hack in "redoParagraphs()".
4987
4988 2002-10-09  Angus Leeming  <leeming@lyx.org>
4989
4990         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4991         to turn off an optimisation if a new inset is to be inserted.
4992
4993 2002-10-11 André Pönitz <poenitz@gmx.net>
4994
4995         * lyxtext.h: make some functions public to allow access
4996         from inset/lyxtext for handling LFUN_PRIOR/NEXT
4997
4998 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4999
5000         * text3.C (dispatch): when changing layout, avoid an infinite loop
5001         [bug #652]
5002
5003 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5004
5005         * lyxrc.C (read): treat a viewer or converter command of "none" as
5006         if it were empty.
5007
5008         * MenuBackend.C (expandFormats): for an update, also allow the
5009         formats that are not viewable
5010
5011         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5012         script if it is newer than the lyxrc.defaults in user directory
5013
5014 2002-10-07 André Pönitz <poenitz@gmx.net>
5015
5016         * text.C: Vitaly Lipatov's small i18n fix
5017
5018 2002-09-25  Angus Leeming  <leeming@lyx.org>
5019
5020         * ispell.h: doxygen fix.
5021
5022 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5023
5024         * buffer.h (readFile): Add a new argument to the method, to allow
5025         reading of old-format templates.
5026
5027 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5028
5029         * toc.C (getTocList): Get TOC from InsetWrap.
5030
5031 2002-09-16  John Levon  <levon@movementarian.org>
5032
5033         * lyxfunc.C: check tabular for cut/copy too
5034
5035 2002-09-12  John Levon  <levon@movementarian.org>
5036
5037         * LyXAction.C: tidy
5038
5039         * factory.h:
5040         * factory.C: add header
5041
5042         * paragraph_funcs.h:
5043         * paragraph_funcs.C: cleanup
5044
5045 2002-09-11  John Levon  <levon@movementarian.org>
5046
5047         * PrinterParams.h: odd/even default to true
5048
5049 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5050
5051         * PrinterParams.h: update printer parameters for new xforms dialog
5052
5053 2002-09-11  Angus Leeming  <leeming@lyx.org>
5054
5055         * lyxserver.C (read_ready): re-write to make it more transparent
5056         and to make it work in coherent fashion under Tru64 Unix.
5057
5058 2002-09-11  André Pönitz <poenitz@gmx.net>
5059
5060         * commandtags.h:
5061         * LyXAction.C:
5062         * text3.C: implement LFUN_WORDSEL
5063
5064 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5065
5066         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5067         make floatlist_ a boost::shared_ptr<FloatList>
5068
5069         * lyxtextclass.C: include FloatList.h
5070         (LyXTextClass): initialize floatlist_
5071         (TextClassTags): add TC_NOFLOAT
5072         (Read): match "nofloat" to TC_NOFLOAT and use it.
5073         (readFloat): modify call to floatlist_
5074         (floats): ditto
5075         (floats): ditto
5076
5077         * FloatList.[Ch] (FloatList): remove commented out float
5078         initialization.
5079         (erase): new function
5080
5081 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5082
5083         * MenuBackend.C (expandToc): fix crash when there is no document
5084         open
5085
5086 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5087
5088         * many files: Add insetwrap.
5089
5090 2002-09-09  John Levon  <levon@movementarian.org>
5091
5092         * text2.C: remove confusing and awkward depth wraparound
5093
5094 2002-09-09  John Levon  <levon@movementarian.org>
5095
5096         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5097
5098         * buffer.h:
5099         * buffer.C: remove getIncludeonlyList()
5100
5101         * paragraph.C:
5102         * lyxfunc.C: remove headers
5103
5104 2002-09-09  Juergen Vigna  <jug@sad.it>
5105
5106         * text.C (getColumnNearX): fix form Michael this is most
5107         probably a cut&paste bug.
5108
5109 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5110
5111         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5112
5113         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5114         references, ws changes.
5115
5116         * text2.C (init): update counters after init
5117         (insertParagraph): no need to set counter on idividual paragraphs.
5118         (setCounter): access the counters object in the textclass object
5119         on in the buffer object.
5120         (updateCounters): ditto
5121
5122         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5123         shared_ptr<Counters> to avoid loading counters.h in all
5124         compilation units.
5125         (LyXTextClass): initialize ctrs_
5126         (TextClassTags): add TC_COUNTER, and ...
5127         (Read): use it here.
5128         (CounterTags): new tags
5129         (readCounter): new function
5130         (counters): new funtion
5131         (defaultLayoutName): return a const reference
5132
5133         * counters.C (Counters): remove contructor
5134         (newCounter): remove a couple of unneeded statements.
5135         (newCounter): simplify a bit.
5136         (numberLabel): some small formatting changes.
5137
5138         * buffer.[Ch]: remove all traces of counters, move the Counters
5139         object to the LyXTextClass.
5140
5141 2002-09-06  Alain Castera  <castera@in2p3.fr>
5142
5143         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5144         package to set the horizontal alignment on fixed width columns.
5145
5146         * lyx_sty.C:
5147         * lyx_sty.h: added tabularnewline macro def.
5148
5149         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5150
5151 2002-09-06  John Levon  <levon@movementarian.org>
5152
5153         * LyXAction.C: tooltips for sub/superscript
5154
5155         * MenuBackend.C: a bit more verbose
5156
5157         * lyxfunc.C: tiny clean
5158
5159         * undo_funcs.C: document undo_frozen
5160
5161 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5162
5163         * counters.C (Counters): add missing algorithm counter.
5164
5165         * text2.C (setCounter): lookup the counter with layouts latexname
5166         instead of by section number.
5167         (setCounter): use a hackish way to lookup the correct enum
5168         counter.
5169         a float name->type change
5170         reset enum couners with counter name directly instead of depth value.
5171
5172         * counters.C (Counters): remove the push_backs, change to use the
5173         float type not the float name.
5174         (labelItem): remove unused string, float name->type change
5175
5176         * counters.h: don't include vector, loose the enums and sects vectors
5177
5178 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5179
5180         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5181         (Read): add float->TC_FLOAT to textclassTags
5182         (Read): and handle it in the switch
5183         (readFloat): new function
5184
5185         * FloatList.C (FloatList): comment out the hardcoded float
5186         definitions.
5187
5188         * lyxlayout.h: ws change.
5189
5190 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5191
5192         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5193
5194 2002-09-03  Angus Leeming  <leeming@lyx.org>
5195
5196         * BufferView_pimpl.h: qualified name is not allowed in member
5197         declaration: WorkArea & Pimpl::workarea() const;
5198
5199         * factory.C: added using std::endl directive.
5200
5201         * text3.C: added using std::find and std::vector directives.
5202
5203 2002-08-29  André Pönitz <poenitz@gmx.net>
5204
5205         * lyxtext.h:
5206         * text2.C: remove unused member number_of_rows
5207
5208         * Makefile.am:
5209         * BufferView2.C: remove file, move contents to...
5210         * BufferView.C: ... here
5211
5212         * BufferView_pimpl.C:
5213         * factory.C: move more inset creation to factory
5214
5215         * vspace.C: avoid direct usage of LyXText, ws changes
5216
5217         * BufferView.[Ch]:
5218                 don't provide direct access to WorkArea, use two simple
5219                 acessors haveSelction() and workHeight() instead
5220
5221
5222 2002-08-29  John Levon  <levon@movementarian.org>
5223
5224         * BufferView_pimpl.C (dispatch): do not continue when
5225           no buffer
5226
5227 2002-08-28  André Pönitz <poenitz@gmx.net>
5228
5229         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5230
5231         * BufferView.h:
5232         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5233
5234 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5235
5236         * buffer.C: increment LYX_FORMAT to 221
5237
5238         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5239         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5240
5241         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5242
5243         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5244
5245 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5246
5247         * factory.C (createInset): use LyXTextClass::floats
5248
5249         * MenuBackend.C (expandFloatListInsert):
5250         (expandFloatInsert):
5251         (expandToc):
5252
5253         * text2.C (setCounter):
5254
5255         * LaTeXFeatures.C (useFloat):
5256         (getFloatDefinitions):
5257
5258         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5259
5260         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5261         floatlist_, with accessor floats().
5262
5263         * FloatList.h: remove global FloatList
5264
5265 2002-08-26  André Pönitz <poenitz@gmx.net>
5266
5267         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5268
5269         * BufferView.h:
5270         * BufferView2.C:
5271         * BufferView_pimpl.C:
5272         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5273
5274 2002-08-25  John Levon  <levon@movementarian.org>
5275
5276         * LyXAction.C: fix margin note description
5277
5278 2002-08-24  John Levon  <levon@movementarian.org>
5279
5280         * buffer.C:
5281         * bufferlist.C:
5282         * bufferview_funcs.C:
5283         * lyxfont.C:
5284         * undo_funcs.C: cleanups
5285
5286         * lyxfunc.C: disable CUT/COPY when no selection
5287
5288 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5289
5290         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5291         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5292
5293         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5294         Add backward compatibility to "mono", "gray" and "no".
5295
5296 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5297
5298         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5299         (and file_format >= 200).
5300
5301 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5302
5303         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5304
5305 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5306
5307         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5308
5309 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5310
5311         * BufferView_pimpl.C:
5312         * LyXAction.C:
5313         * buffer.C:
5314         * commandtags.h:
5315         * lyxfunc.C:
5316         * paragraph.[Ch]:
5317         * text2.C:
5318         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5319         inset and code to make it  work with the paragraph code. The inset
5320         can be anywhere in the paragraph, but will only do the expected
5321         thing in LaTeX if the layout file contains the parameter line
5322                         OptionalArgs    1
5323         (or more generally, a nonzero value) for that layout.
5324
5325 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5326
5327         * paragraph.h: remove the declaration of undefined counters class
5328         function.
5329
5330 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5331
5332         * text2.C (setCounter):  fixed enumeration mis-count as reported by
5333         Dr. Richard Hawkins.
5334
5335 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5336
5337         * paragraph_funcs.h: remove some unneeded includes
5338
5339         * text.C (backspace): pasteParagraph now in global scipe
5340
5341         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5342         (pasteSelection): ditto
5343
5344         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5345         * paragraph_funcs.C (pasteParagraph): ... here
5346
5347 2002-08-20  André Pönitz <poenitz@gmx.net>
5348
5349         * commandtags.h: new LFUNs for swapping/copying table row/colums
5350
5351         * LyXAction.C:
5352         * lyxfunc.C: support for new lfuns
5353
5354 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5355
5356         * tabular.C:
5357         * buffer.[Ch]: remove NO_COMPABILITY stuff
5358
5359 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
5360
5361         * boost.C (throw_exception): new file, with helper function for
5362         boost compiled without exceptions.
5363
5364         * paragraph.h:
5365         * lyxlength.C:
5366         * buffer.C:
5367         * ParameterStruct.h:
5368         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5369
5370         * bufferlist.C (emergencyWriteAll): use boost bind
5371
5372         * BufferView_pimpl.C (moveCursorUpdate): remove inline
5373
5374         * text.C: include paragraph_funcs.h
5375         (breakParagraph): breakParagraph is now in global scope
5376
5377         * paragraph_funcs.[Ch]: new files
5378
5379         * paragraph.C (breakParagraph,breakParagraphConservative): move to
5380         global scope
5381
5382         * buffer.C: include paragraph_funcs.h
5383         (insertStringAsLines): breakParagraph is now in global scope
5384
5385         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5386         paragraph_funcs.C
5387
5388         * CutAndPaste.C: include paragraph_funcs.h
5389         (cutSelection): breakParagraphConservative is now in global scope
5390         (pasteSelection): ditto
5391
5392         * buffer.h: declare oprator== and operator!= for
5393         Buffer::inset_iterator
5394
5395         * bufferlist.C (emergencyWrite): don't use fmt(...)
5396
5397         * text3.C: add using std::endl
5398
5399         * BufferView.C (moveCursorUpdate): remove default arg
5400
5401 2002-08-20  André Pönitz <poenitz@gmx.net>
5402
5403         * buffer.[Ch]: move inline functions to .C
5404
5405         * BufferView2.C:
5406         * BufferView_pimpl.C:
5407         * text.C:
5408         * buffer.[Ch]: use improved inset_iterator
5409
5410         * buffer.C:
5411         * paragraph.[Ch]: write one paragraph at a time
5412
5413 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
5414
5415         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5416         style if style is not specified.
5417
5418 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5419
5420         * text2.C (setCounter): when searching for right label for a
5421         caption, make sure to recurse to parent insets (so that a caption
5422         in a minipage in a figure float works) (bug #568)
5423
5424 2002-08-20  André Pönitz <poenitz@gmx.net>
5425
5426         * text3.C: new file for LyXText::dispatch() and helpers
5427
5428         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5429
5430         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5431
5432 2002-08-19  André Pönitz <poenitz@gmx.net>
5433
5434         * lyxtext.h:
5435         * text.C: new LyXText::dispatch()
5436
5437         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5438
5439 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
5440
5441         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5442
5443         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5444         Hebrew text.
5445
5446 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5447
5448         * Makefile.am: use $(variables) instead of @substitutions@
5449
5450 2002-08-15  André Pönitz <poenitz@gmx.net>
5451
5452         * lyxfunc.C:
5453         * BufferView_pimpl.C: streamlining mathed <-> outer world
5454         interaction
5455
5456         * commandtags.h:
5457         * LyXAction.C: remove unused LFUN_MATH
5458
5459 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5460
5461         * paragraph.[Ch]: add some NO_NEXT ifdefs.
5462
5463 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5464
5465         * paragraph.C (Paragraph): reformat a bit
5466         (cutIntoMinibuffer): use builtin InsetList function instad of
5467         doing it manually.
5468         (getInset): ditto
5469
5470         * buffer.C: include boost/bind.hpp, add using std::for_each
5471         (writeFileAscii): use ParagraphList iterators
5472         (validate): use for_each for validate traversal of paragraphs
5473         (getBibkeyList): use ParagraphList iterators
5474         (resizeInsets): use for_each to resizeInsetsLyXText for all
5475         paragraphs.
5476         (getParFromID): use ParagraphList iterators
5477
5478         * BufferView2.C (lockInset): use paragraph list and iterators
5479
5480 2002-08-14  John Levon  <levon@movementarian.org>
5481
5482         * lyxserver.C: remove spurious xforms include
5483
5484 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5485
5486         * lyxfunc.C (getStatus): disable math-extern outside of math mode
5487
5488 2002-08-13  André Pönitz <poenitz@gmx.net>
5489
5490         * LyXAction.[Ch]:
5491         * lyxfunc.C: further cleaning
5492
5493 2002-08-13  André Pönitz <poenitz@gmx.net>
5494
5495         * funcrequest.h: new constructor
5496
5497         * funcrequest.C: move stuff here from .h
5498
5499         * Makefile.am:
5500         * BufferView_pimpl.C:
5501         * LyXAction.C:
5502         * toc.C:
5503         * lyxfunc.C: subsequent changes
5504
5505         * lyxfunc.h: new view() member function
5506
5507         * lyxfunc.C: subsequent changes
5508
5509 2002-08-13  Angus Leeming  <leeming@lyx.org>
5510
5511         * BufferView2.C:
5512         * BufferView_pimpl.C:
5513         * buffer.C:
5514         * converter.C:
5515         * importer.C:
5516         * lyxfunc.C:
5517         * lyxvc.C:
5518         * toc.C:
5519         * vc-backend.C:
5520         changes due to the changed LyXView interface that now returns references
5521         to member variables not pointers.
5522
5523 2002-08-13  Angus Leeming  <leeming@lyx.org>
5524
5525         * WordLangTuple (word, lang_code): return references to strings,
5526         not strings.
5527
5528         * BufferView.h:
5529         * SpellBase.h:
5530         * lyxtext.h: forward-declare WordLangTuple.
5531
5532         * BufferView2.C:
5533         * ispell.C:
5534         * pspell.C:
5535         * text.C: #include "WordLangTuple.h".
5536
5537         * lyxtext.h:
5538         * text.C: (selectNextWordToSpellcheck): constify return type.
5539
5540 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
5541
5542         * buffer.C:
5543         * buffer.h:
5544         * lyxtext.h:
5545         * paragraph.C:
5546         * paragraph_pimpl.h:
5547         * text.C:
5548         * text2.C:
5549         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5550         suggested by Angus.
5551         Made updateCounter always count from start of buffer, and removed
5552         second argument (par).
5553         Reverted floats number display to '#'. Perhaps I'll try again when the
5554         code base is sanitized a bit.
5555
5556 2002-08-12  Angus Leeming  <leeming@lyx.org>
5557
5558         * buffer.[Ch] (getLabelList): constify.
5559
5560 2002-08-07  André Pönitz <poenitz@gmx.net>
5561
5562         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5563
5564         * funcrequest.h: extension to keep mouse (x,y) position
5565
5566 2002-08-12  Juergen Vigna  <jug@sad.it>
5567
5568         * BufferView2.C (insertErrors): forbid undo when inserting error
5569         insets.
5570
5571         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5572
5573 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5574
5575         * ParagraphList.[Ch]: new files
5576
5577         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5578
5579         * BufferView2.C (lockInset): ParagraphList changes
5580         * toc.C: ditto
5581         * text2.C: ditto
5582         * bufferlist.C: ditto
5583         * buffer.h: ditto
5584         * buffer.C: ditto
5585
5586 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5587
5588         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5589         unused class variable counter_,
5590
5591         * paragraph.[Ch] (getFirstCounter): delete unused function
5592
5593         * counters.C: include LAssert.h
5594         (reset): add a new function with no arg, change other version to
5595         not have def. arg and to not allow empty arg.
5596
5597         * text2.C (setCounter): remove empty arg from call to Counters::reset
5598
5599 2002-08-11  John Levon  <levon@movementarian.org>
5600
5601         * Makefile.am: add WordLangTuple.h
5602
5603 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5604
5605         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5606         lyxfunc.C lyxlex_pimpl.C: ws changes only.
5607
5608         * insets/insettext.C: InsetList changes
5609
5610         * graphics/GraphicsSupport.C (operator()): InsetList changes
5611
5612         * toc.C (getTocList): InsetList changes
5613
5614         * paragraph_pimpl.[Ch]: InsetList changes
5615
5616         * paragraph.[Ch]: InsetList changes
5617
5618         * buffer.C (inset_iterator): InsetList changes
5619         (setParagraph): ditto
5620         * buffer.h (inset_iterator): ditto
5621         * iterators.C (operator++): ditto
5622         * iterators.h: ditto
5623
5624         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5625
5626         * InsetList.[Ch]: new files, most InsetList handling moved out of
5627         paragraph.C.
5628
5629         * BufferView2.C (removeAutoInsets): InsetList changes
5630         (lockInset): ditto
5631         (ChangeInsets): ditto
5632
5633 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5634
5635         * paragraph_pimpl.h (empty): new function
5636
5637         * paragraph.[Ch] (empty): new function
5638
5639         * other files: use the new Paragraph::empty function
5640
5641 2002-08-09  John Levon  <levon@movementarian.org>
5642
5643         * lyxtext.h: remove unused refresh_height
5644
5645 2002-08-09  John Levon  <levon@movementarian.org>
5646
5647         * Makefile.am:
5648         * sgml.h:
5649         * sgml.C:
5650         * buffer.C:
5651         * paragraph.h:
5652         * paragraph.C: move sgml char escaping out of paragraph
5653
5654         * paragraph.h:
5655         * paragraph.C: remove id setter
5656
5657         * buffer.C:
5658         * paragraph.C:
5659         * paragraph_pimpl.C: remove dead tex_code_break_column
5660
5661         * bufferview_funcs.C: small cleanup
5662
5663         * lyxfunc.C: remove dead proto
5664
5665         * lyxtext.h: make some stuff private. Remove some dead stuff.
5666
5667         * lyxgluelength.C: make as[LyX]String() readable
5668
5669 2002-08-08  John Levon  <levon@movementarian.org>
5670
5671         * LyXAction.h:
5672         * LyXAction.C:
5673         * MenuBackend.C:
5674         * ToolbarDefaults.C:
5675         * lyxfunc.C:
5676         * lyxrc.C:
5677         * toc.C: lyxaction cleanup
5678
5679 2002-08-08  John Levon  <levon@movementarian.org>
5680
5681         * BufferView2.C: small cleanup
5682
5683         * lyxfind.h:
5684         * lyxfind.C: move unnecessary header into the .C
5685
5686 2002-08-08  John Levon  <levon@movementarian.org>
5687
5688         * funcrequest.h: just tedious nonsense
5689
5690         * lyx_main.h:
5691         * lyx_main.C: cleanups
5692
5693         * buffer.C:
5694         * vspace.C: remove dead header lyx_main.h
5695
5696 2002-08-07  Angus Leeming  <leeming@lyx.org>
5697
5698         * Paragraph.[Ch]:
5699         * paragraph_pimpl.h:
5700         Forward declare class Counters in paragraph.h by moving the ctrs member
5701         variable into Paragraph::Pimpl.
5702         (counters): new method, returning a reference to pimpl_->ctrs.
5703
5704         * text2.C: ensuing changes.
5705
5706 2002-08-07  John Levon  <levon@movementarian.org>
5707
5708         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5709
5710         * BufferView_pimpl.C: announce X selection on double/triple
5711           click
5712
5713         * lyx_main.C: use correct bool in batch dispatch
5714
5715         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5716
5717 2002-08-07  André Pönitz <poenitz@gmx.net>
5718
5719         * funcrequest.h: new class to wrap a kb_action and its argument
5720
5721         * BufferView.[Ch]:
5722         * BufferView_pimpl[Ch]:
5723         * LaTeX.C:
5724         * LyXAction.[Ch]:
5725         * lyxfunc.[Ch]:
5726         * lyxrc.C: subsequent changes
5727
5728
5729 2002-08-07  John Levon  <levon@movementarian.org>
5730
5731         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5732           document options change.
5733
5734 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
5735
5736         * counters.[Ch]
5737         * text2.C
5738         * paragraph.[Ch]
5739         * makefile.am: move counters functionality over from
5740         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5741
5742 2002-08-06  John Levon  <levon@movementarian.org>
5743
5744         * WordLangTuple.h: new file for word + language code tuple
5745
5746         * SpellBase.h:
5747         * pspell.h:
5748         * pspell.C:
5749         * ispell.h:
5750         * ispell.C:
5751         * lyxtext.h:
5752         * text.C:
5753         * text2.C:
5754         * BufferView.h:
5755         * BufferView2.C: use WordLangTuple
5756
5757         * layout.h:
5758         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5759
5760 2002-08-06  John Levon  <levon@movementarian.org>
5761
5762         * lyx_main.C: fix cmdline batch handling
5763
5764 2002-08-06  André Pönitz <poenitz@gmx.net>
5765
5766         * lyxrc.C: set default for show_banner to true
5767
5768 2002-08-06  John Levon  <levon@movementarian.org>
5769
5770         * pspell.C: fix a crash, and allow new aspell to work
5771
5772 2002-08-06  John Levon  <levon@movementarian.org>
5773
5774         * lyxfunc.C:
5775         * kbmap.C: small cleanup
5776
5777         * vspace.h:
5778         * vspace.C: add const
5779
5780 2002-08-05  John Levon  <levon@movementarian.org>
5781
5782         * LyXAction.C: back to tabular-insert
5783
5784 2002-08-04  John Levon  <levon@movementarian.org>
5785
5786         * BufferView.h:
5787         * BufferView.C: cosmetic change
5788
5789         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5790
5791         * bufferlist.C:
5792         * buffer.h:
5793         * buffer.C:
5794         * lyxcb.h:
5795         * lyxcb.C:
5796         * lyxserver.C:
5797         * lyxvc.C:
5798         * vc-backend.C:
5799         * BufferView2.C: purge all "Lyx" not "LyX" strings
5800
5801         * lyxcursor.h:
5802         * lyxcursor.C: attempt to add some documentation
5803
5804         * lyxfunc.C:
5805         * commandtags.h:
5806         * LyXAction.C:
5807         * ToolbarDefaults.C:
5808         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5809           merge with LFUN_TABULAR_INSERT
5810
5811         * Makefile.am:
5812         * SpellBase.h:
5813         * ispell.h:
5814         * ispell.C:
5815         * pspell.h:
5816         * pspell.C: split up i/pspell implementations into separate
5817           files, many cleanups
5818
5819         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5820
5821         * text2.C: some cleanup
5822
5823         * lyxfunc.C: don't check for isp_command == "none" any more, it
5824           didn't make any sense
5825
5826 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
5827
5828         * counters.[Ch]
5829         * text2.C
5830         * paragraph.[Ch]
5831         * makefile.am: move counters functionality over
5832         from text2.C/paragraph.[Ch] to counters.[Ch], and
5833         make proper C++.
5834 2002-08-02  John Levon  <levon@movementarian.org>
5835
5836         * buffer.C: s/lyxconvert/lyx2lyx/
5837
5838 2002-08-02  Angus Leeming  <leeming@lyx.org>
5839
5840         * lyxlex.C: revert John's change as it breaks reading of the user
5841         preamble.
5842
5843 2002-08-02  Angus Leeming  <leeming@lyx.org>
5844
5845         * importer.C (Import):
5846         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5847         changes due to LyXView::view() now returning a boost::shared_ptr.
5848
5849 2002-08-02  John Levon  <levon@movementarian.org>
5850
5851         * lyxlex.C: small cleanup
5852
5853 2002-08-02  John Levon  <levon@movementarian.org>
5854
5855         * text2.C (status): small cleanup, no logic change
5856
5857 2002-08-01  John Levon  <levon@movementarian.org>
5858
5859         * buffer.h:
5860         * buffer.C (writeFile): don't output alerts, caller
5861           handles this
5862
5863         * bufferlist.C:
5864         * lyx_cb.C: from above
5865
5866         * lyxfunc.C: allow to open non-existent files
5867
5868 2002-07-31  John Levon  <levon@movementarian.org>
5869
5870         * lyxserver.C: don't let incidental errors get
5871           in the way (errno)
5872
5873 2002-07-30  John Levon  <levon@movementarian.org>
5874
5875         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5876
5877 2002-07-30  John Levon  <levon@movementarian.org>
5878
5879         * lyxserver.h:
5880         * lyxserver.C: remove I/O callback too
5881
5882 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5883
5884         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5885         log.
5886
5887 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5888
5889         * many files: strip,frontStrip -> trim,ltrim,rtrim
5890
5891 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5892
5893         * PrinterParams.h: remove extern containsOnly, and include
5894         support/lstrings.h instead.
5895
5896         * LaTeX.C (scanAuxFile): modify because of strip changes
5897         (deplog): ditto
5898         * buffer.C (makeLaTeXFile): ditto
5899         * bufferparams.C (writeFile): ditt
5900         * lyxfont.C (stateText): ditto
5901         * lyxserver.C (read_ready): ditto
5902         * vc-backend.C (scanMaster): ditto
5903
5904         * BufferView_pimpl.h: ws changes
5905
5906         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5907
5908 2002-07-26  André Pönitz <poenitz@gmx.net>
5909
5910         * kb_sequence.C: remove unnedred usings
5911
5912 2002-07-26  Juergen Vigna  <jug@sad.it>
5913
5914         * lyxfind.C (LyXReplace): we have to check better if the returned
5915         text is not of theLockingInset()->getLockingInset().
5916
5917 2002-07-25  Juergen Vigna  <jug@sad.it>
5918
5919         * lyxfind.C (LyXReplace): don't replace if we don't get the
5920         right LyXText.
5921
5922         * undo_funcs.C (createUndo): remove debugging code.
5923
5924 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
5925
5926         * buffer.C (parseSingleLyXformat2Token): Use default placement
5927         when reading old floats.
5928
5929         * FloatList.C (FloatList): Change the default placement of figure
5930         and tables to "tbp".
5931
5932 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
5933
5934         * MenuBackend.C: using std::max
5935
5936 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5937
5938         * MenuBackend.C (expandToc):
5939         (expandToc2): code moved from xforms menu frontend. It is now
5940         generic and TOCs are transparent to menu frontends.
5941
5942 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5943
5944         * toc.C (getTocList): protect against buf=0
5945
5946         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5947         Menu as first parameter. Now, this calls itself recursively to
5948         expand a whole tree (this will be useful for TOC handling)
5949         (expandFloatInsert): remove 'wide' version of floats
5950
5951         * MenuBackend.h (submenuname): returns the name of the submenu.
5952         (submenu): returns the submenu itself, provided it has been
5953         created by MenuBackend::expand
5954
5955 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5956
5957         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5958         insets which have noFontChange == true. (bug #172)
5959
5960 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5961
5962         * BufferView_pimpl.C: add connection objects and use them...
5963         (Pimpl): here.
5964
5965 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5966
5967         * MenuBackend.C (expandLastfiles):
5968         (expandDocuments):
5969         (expandFormats):
5970         (expandFloatListInsert):
5971         (expandFloatInsert):
5972         (expand): split expand in parts
5973
5974 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5975
5976         * lyx_gui.C: use lyx_gui::exit()
5977
5978 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5979
5980         * LyXAction.C: show the failing pseudo action
5981
5982 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
5983
5984         * buffer.C (readFile): Run the lyxconvert script in order to read
5985         old files.
5986
5987 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5988
5989         * LyXAction.C:
5990         * commandtags.h:
5991         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5992
5993 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5994
5995         * LyXAction.C:
5996         * commandtags.h:
5997         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5998
5999 2002-07-22  Herbert Voss  <voss@lyx.org>
6000
6001         * lengthcommon.C:
6002         * lyxlength.[Ch]: add support for the vertical lengths
6003
6004 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6005
6006         * toc.[Ch]: std:: fixes
6007
6008 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6009
6010         * lyxrc.C: do not include lyx_main.h
6011
6012         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6013         for layouts
6014
6015         * lyxrc.C:
6016         * encoding.C:
6017         * bufferlist.C:
6018         * BufferView2.C: include "lyxlex.h"
6019
6020         * tabular.h:
6021         * bufferparams.h: do not #include "lyxlex.h"
6022
6023         * lyxtextclasslist.C (Add): remove method
6024         (classlist): renamed to classlist_
6025
6026         * paragraph_pimpl.C:
6027         * paragraph.C:
6028         * text2.C:
6029         * CutAndPaste.C:
6030         * bufferview_funcs.C:
6031         * bufferlist.C:
6032         * text.C:
6033         * LaTeXFeatures.C:
6034         * buffer.C:
6035         * toc.C (getTocList): use BufferParams::getLyXTextClass
6036
6037         * toc.C (getTocList): use InsetFloat::addToToc
6038
6039         * toc.[Ch]: new files, containing helper functions to handle table
6040         of contents
6041
6042         * lyxfunc.C (dispatch): no need to remove spaces around command
6043         given as a string
6044         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6045         first command of the sequence; it is not very clever, but I do not
6046         have a better idea, actually
6047
6048         * LyXAction.C (LookupFunc): make sure to remove space at the
6049         beginning and end of the command
6050
6051 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6052
6053         * MenuBackend.C (getMenubar): new method: return the menubar of
6054         this menu set
6055         (read): treat differently reading of menu and menubar (in
6056         particular, the menubar has no name now)
6057         (Menu::menubar): remove
6058
6059         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6060         saving is finished
6061
6062 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6063
6064         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6065         a bibitem inset in a RTL paragraph.
6066
6067 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6068
6069         * paragraph_pimpl.C: constify
6070
6071         * BufferView_pimpl.C:
6072         * LaTeX.C:
6073         * lyxfunc.C: fix dispatch in a nicer way
6074
6075 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6076
6077         * lyxfunc.C (dispatch):
6078         * BufferView_pimpl.C:
6079         * BufferView_pimpl.h:
6080         * BufferView.C:
6081         * BufferView.h: rename Dispatch() to dispatch()
6082
6083         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6084
6085         * lyxlayout.C (Read): honor DependsOn tag
6086
6087         * lyxlayout.[Ch] (depends_on): new method
6088
6089         * version.C.in: update lyx_docversion
6090
6091         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6092
6093         * paragraph.C (validate): remove from here...
6094         * paragraph_pimpl.C (validate): ... and move here
6095         (isTextAt): make it const
6096
6097         * buffer.C (getLists): ws cleanup
6098
6099 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6100
6101         * language.C (read): Use iso8859-1 encoding in latex_lang
6102         (this prevents LyX from crashing when using iso10646-1 encoding).
6103
6104 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6105
6106         * text2.C (toggleInset): if cursor is inside an inset, close the
6107         inset and leave cursor _after_ it
6108
6109 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6110
6111         * lyxfunc.C: move minibuffer completion handling out of here
6112
6113 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6114
6115         * BufferView_pimpl.C:
6116         * LaTeX.C: fix dispatch calls
6117
6118 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6119
6120         * text.C (drawChars): Fix Arabic text rendering.
6121
6122 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6123
6124         * LyXAction.C:
6125         * commandtags.h:
6126         * lyxfunc.C: remove message-push/pop
6127
6128         * lyxserver.C:
6129         * lyxfunc.h:
6130         * lyxfunc.C: rationalise some code by removing verboseDispatch
6131           in favour of a bool argument to dispatch()
6132
6133 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6134
6135         * lyx_main.C (init): make sure to read symlinks as absolute paths
6136
6137 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6138
6139         * lyxfunc.h:
6140         * lyxfunc.C: no need for commandshortcut to be a member
6141
6142 2002-07-15  André Pönitz <poenitz@gmx.net>
6143
6144         * converter.C: add support for $$s (scripts from lib/scripts dir)
6145         * lyx_main.C: white space
6146
6147 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6148
6149         * bufferlist.C:
6150         * lyxrc.h:
6151         * lyxrc.C: remove second exit confirmation
6152
6153 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6154
6155         * BufferView.h:
6156         * BufferView.C:
6157         * BufferView2.C:
6158         * BufferView_pimpl.h:
6159         * BufferView_pimpl.C:
6160         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6161
6162 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6163
6164         * MenuBackend.C (expand): add numeric shortcuts to document menu
6165
6166         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6167
6168 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6169
6170         * lyxfont.C (setLyXFamily):
6171         (setLyXSeries):
6172         (setLyXShape):
6173         (setLyXSize):
6174         (setLyXMisc):
6175         (lyxRead):
6176         * debug.C (value):
6177         * buffer.C (asciiParagraph): use ascii_lowercase
6178
6179 2002-07-15  Mike Fabian  <mfabian@suse.de>
6180
6181         * lyxlex_pimpl.C (search_kw):
6182         * lyxlex.C (getLongString):
6183         * converter.h (operator<):
6184         * converter.C (operator<):
6185         * buffer.C (parseSingleLyXformat2Token):
6186         (asciiParagraph):
6187         * ToolbarDefaults.C (read):
6188         * MenuBackend.C (checkShortcuts):
6189         (read):
6190         * LColor.C (getFromGUIName):
6191         (getFromLyXName): use the compare_ascii_no_case instead of
6192         compare_no_case, because in turkish, 'i' is not the lowercase
6193         version of 'I', and thus turkish locale breaks parsing of tags.
6194
6195 2002-07-16  Angus Leeming  <leeming@lyx.org>
6196
6197         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6198         now takes a Buffer const & argument.
6199
6200 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6201
6202         * BufferView.C (resize): check there's a buffer to resize
6203
6204 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6205
6206         * lyxfunc.C: remove dead code
6207
6208         * lyxserver.h:
6209         * lyxserver.C: use lyx_guii::set_read_callback
6210
6211 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6212
6213         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6214         an inset in a RTL paragraph.
6215
6216 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6217
6218         * lyxfunc.C: repaint after a font size update
6219
6220 2002-07-15  André Pönitz <poenitz@gmx.net>
6221
6222         * lyxlength.C: inBP should be able to return negative values
6223
6224 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6225
6226         * lyxfunc.C: use lyx_gui::update_fonts()
6227
6228 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6229
6230         * lyxfunc.C: use lyx_gui::update_color()
6231
6232 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6233
6234         * bufferlist.C:
6235         * lyxfunc.h:
6236         * lyxfunc.C:
6237         * lyxrc.h:
6238         * lyxrc.C: remove file->new asks for name option, and let
6239           buffer-new take an argument
6240
6241 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6242
6243         * BufferView_pimpl.C: remove unneeded extra repaint()
6244
6245 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6246
6247         * LyXAction.C: allow command-sequence with NoBuffer
6248
6249         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6250
6251 2002-07-10  Angus Leeming  <leeming@lyx.org>
6252
6253         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6254
6255 2002-07-09  Angus Leeming  <leeming@lyx.org>
6256
6257         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6258
6259 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6260
6261         * lengthcommon.h: whitespace
6262
6263         * lyxfunc.C: update scrollbar after goto paragraph
6264
6265         * lyxtext.h: factor out page break drawing, and fix it so
6266           page break/added space paints as selected nicely
6267
6268 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6269
6270         * BufferView_pimpl.C: add FIXMEs, clean up a little
6271
6272 2002-07-09  André Pönitz <poenitz@gmx.net>
6273
6274         * lyxfont.[Ch]: support for wasy symbols
6275
6276 2002-07-08  André Pönitz <poenitz@gmx.net>
6277
6278         * BufferView_pimpl.C: apply John's patch for #93.
6279
6280 2002-07-05  Angus Leeming  <leeming@lyx.org>
6281
6282         * BufferView_pimpl.C (buffer): generate previews if desired.
6283
6284         * LColor.h: add "preview" to the color enum.
6285
6286         * LColor.C (LColor): add a corresponding entry to the items array.
6287
6288         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6289         with this buffer.
6290
6291 2002-07-05  Angus Leeming  <leeming@lyx.org>
6292
6293         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6294         The body of the code is now in the method that is passed an ostream &
6295         rather than a file name.
6296         Pass an additional only_preamble parameter, useful for the forthcoming
6297         preview stuff.
6298
6299 2002-07-03  André Pönitz <poenitz@gmx.net>
6300
6301         * lyxfunc.C: simplify getStatus() a bit for math stuff
6302
6303 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6304
6305         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6306
6307 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6308
6309         * text.C (changeRegionCase): do not change case of all the
6310         document when region ends at paragraph end (bug #461)
6311
6312 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6313
6314         * paragraph.C (startTeXParParams):
6315         (endTeXParParams): add \protect when necessary
6316
6317 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6318
6319         * BufferView_pimpl.C (workAreaExpose): remove warning
6320
6321 2002-06-27  Angus Leeming  <leeming@lyx.org>
6322
6323         * Makefile.am: add lyxlayout_ptr_fwd.h.
6324
6325 2002-06-26  André Pönitz <poenitz@gmx.net>
6326
6327         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6328
6329 2002-06-25  Angus Leeming  <leeming@lyx.org>
6330
6331         * lyxfunc.C (dispatch): Comment out the call to
6332         grfx::GCache::changeDisplay. The method no longer exists now that the
6333         pixmap generation part of the graphics loader has been moved into
6334         InsetGraphics.
6335
6336 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6337
6338         * text2.C: layout as layout
6339
6340         * text.C: layout as layout
6341
6342         * tabular.C (OldFormatRead): layout as layout
6343
6344         * paragraph_pimpl.C (TeXDeeper): layout as layout
6345         (realizeFont): layout as layout
6346
6347         * paragraph.C (writeFile): layout as layout
6348         (validate): layout as layout
6349         (getFont): layout as layout
6350         (getLabelFont): layout as layout
6351         (getLayoutFont): layout as layout
6352         (breakParagraph): layout as layout
6353         (stripLeadingSpaces): layout as layout
6354         (getEndLabel): layout as layout
6355         (getMaxDepthAfter): layout as layout
6356         (applyLayout): layout as layout
6357         (TeXOnePar): layout as layout
6358         (simpleTeXOnePar): layout as layout
6359         (TeXEnvironment): layout as layout
6360         (layout): layout as layout
6361         (layout): layout as layout
6362
6363         * lyxtextclass.C (compare_name): new functor to work with
6364         shared_ptr, layout as layout
6365         (Read): layout as layout
6366         (hasLayout): layout as layout
6367         (operator): layout as layout
6368         (delete_layout): layout as layout
6369         (defaultLayout): layout as layout
6370
6371         * lyxlayout_ptr_fwd.h: new file
6372
6373         * lyxlayout.C (Read): layout as layout
6374
6375         * lyx_cb.C (MenuInsertLabel): layout as layout
6376
6377         * bufferlist.C (newFile): layout as layout
6378
6379         * buffer.C (readLyXformat2): layout as layout
6380         (parseSingleLyXformat2Token): layout as layout
6381         (insertStringAsLines): layout as layout
6382         (asciiParagraph): layout as layout
6383         (latexParagraphs): layout as layout
6384         (makeLinuxDocFile): layout as layout
6385         (simpleLinuxDocOnePar): layout as layout
6386         (makeDocBookFile): layout as layout
6387         (simpleDocBookOnePar): layout as layout
6388         (getLists): layout as layout
6389
6390         * LaTeXFeatures.C (getTClassPreamble): layout as layout
6391
6392         * CutAndPaste.C (cutSelection): layout as layout
6393         (pasteSelection): layout as layout
6394         (SwitchLayoutsBetweenClasses): layout as layout
6395
6396         * BufferView_pimpl.C (Dispatch): layout as layout
6397         (smartQuote): layout as layout
6398
6399         * BufferView2.C (unlockInset): layout as layout
6400
6401 2002-06-24  André Pönitz <poenitz@gmx.net>
6402
6403         * lyxfunc.C: fix #487
6404
6405 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6406
6407         * lyxrc.h:
6408         * lyxrc.C:
6409         * lyxfunc.C: remove display_shortcuts, show_banner
6410
6411 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6412
6413         * Buffer_pimpl.C: oops, update on resize
6414
6415 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6416
6417         * buffer.C:
6418         * converter.C:
6419         * exporter.C:
6420         * lyxfunc.C:
6421         * BufferView.h:
6422         * BufferView.C: use repaint()
6423
6424         * BufferView_pimpl.h:
6425         * BufferView_pimpl.C: s/updateScreen()/repaint()/
6426           as it's a clearer description. Remove superfluous
6427           redraws.
6428
6429 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6430
6431         * text.C: fix bug 488. Not ideal, but getting
6432           getWord() to work properly for the insets that
6433           matter is more difficult ...
6434
6435 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6436
6437         * BufferView_pimpl.C:
6438         * LyXAction.C:
6439         * commandtags.h:
6440         * lyxfunc.C: remove the six million index lyxfuncs to just
6441           one, and DTRT (bug 458)
6442
6443 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6444
6445         * BufferView.h:
6446         * BufferView.C:
6447         * BufferView_pimpl.h:
6448         * BufferView_pimpl.C: clean up resize() stuff,
6449           and unnecessary updateScreen()s
6450
6451 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6452
6453         * BufferView.h:
6454         * BufferView.C:
6455         * BufferView_pimpl.h:
6456         * BufferView_pimpl.C:
6457         * lyxfind.h:
6458         * lyxfind.C:
6459         * minibuffer.C: remove focus management of workarea,
6460           not needed. Use screen's greyOut()
6461
6462 2002-06-17  Herbert Voss  <voss@lyx.org>
6463
6464         * converter.C: (convert) do not post a message, when converting
6465         fails, let the calling function decide what to do in this case
6466
6467 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
6468
6469         * lyxfunc.C: tidy up a little
6470
6471 2002-06-16    <alstrup@diku.dk>
6472
6473         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6474         Got rid of FORMS_H_LOCATION include. Now we are
6475         GUII.
6476
6477 2002-06-15  LyX Development team  <lyx@rilke>
6478
6479         * buffer.[Ch] (sgmlOpenTag):
6480         (sgmlCloseTag): Added support for avoiding pernicious mixed
6481         content. Return number of lines written.
6482
6483         (makeLinuxDocFile):
6484         (makeDocBookFile): Fixed calls to sgml*Tag.
6485         Simple white space clean.
6486
6487         (simpleDocBookOnePar): Simple white space clean.
6488
6489         * tabular.[Ch] (docBook): Renamed to docbook and got another
6490         argument to related with the pernicious mixed content.
6491
6492         (docbookRow): Fixed calls for docbook inset method.
6493
6494 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
6495
6496         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6497         so it's X11 independent.
6498
6499         * kb*.[Ch]: ditto.
6500
6501         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6502
6503 2002-06-15  Lyx Development team  <lyx@electronia>
6504
6505         * intl.h: Renamed getTrans to getTransManager.
6506
6507 2002-06-14  Angus Leeming  <leeming@lyx.org>
6508
6509         * Makefile.am: nuke forgotten stl_string_fwd.h.
6510
6511 2002-06-12  Angus Leeming  <leeming@lyx.org>
6512
6513         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6514
6515 2002-06-13  Angus Leeming  <leeming@lyx.org>
6516
6517         * LaTeX.C:
6518         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6519
6520 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
6521
6522         * kbmap.C (getiso): add support for cyrillic and greek
6523
6524 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6525
6526         * BufferView.h:
6527         * BufferView.C:
6528         * BufferView_pimpl.h:
6529         * BufferView_pimpl.C: move bogus scrolling logic
6530           to xforms
6531
6532 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6533
6534         * lyxfunc.C:
6535         * BufferView_pimpl.C: view->resize() change
6536
6537 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6538
6539         * BufferView_pimpl.C: topCursorVisible
6540           prototype change
6541
6542 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6543
6544         * Makefile.am:
6545         * lyx_gui.h:
6546         * lyx_gui.C: move to frontends/
6547
6548         * main.C:
6549         * lyx_main.h:
6550         * lyx_main.C: changes from above
6551
6552 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6553
6554         * intl.C:
6555         * intl.h:
6556         * kbmap.C:
6557         * kbsequence.C:
6558         * lyx_cb.C:
6559         * lyx_main.C: minor tidy
6560
6561 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6562
6563         * BufferView_pimpl.h:
6564         * BufferView_pimpl.C:
6565         * BufferView.h:
6566         * BufferView.C: make painter() const,
6567           remove dead code
6568
6569         * BufferView2.C: use screen() accessor
6570
6571         * lyx_main.h:
6572         * lyx_main.C: some minor cleanup
6573
6574 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6575
6576         * BufferView_pimpl.h:
6577         * BufferView_pimpl.C: remove enter/leaveView,
6578           use workHeight()
6579
6580 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6581
6582         * BufferView.h:
6583         * BufferView.C:
6584         * BufferView2.C:
6585         * BufferView_pimpl.h:
6586         * BufferView_pimpl.C: only construct screen once,
6587           rename
6588
6589         * lyxrc.C: remove pointless comment
6590
6591 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6592
6593         * BufferView.h:
6594         * BufferView.C: remove active() and belowMouse()
6595
6596         * BufferView_pimpl.h:
6597         * BufferView_pimpl.C: use workarea() not workarea_,
6598           and make it use a scoped_ptr instead
6599
6600 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6601
6602         * lyx_gui.C: add debug message on BadWindow
6603
6604 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6605
6606         * sp_spell.C: fdopen is not part of the C++ standard.
6607
6608         * paragraph.C (InsetIterator): use >= instead of ==
6609
6610 2002-06-07  Angus Leeming  <leeming@lyx.org>
6611
6612         Fixes needed to compile with Compaq cxx 6.5.
6613         * BufferView_pimpl.C:
6614         * DepTable.C:
6615         * buffer.C:
6616         * converter.C:
6617         * encoding.C:
6618         * lyx_gui.C:
6619         * lyx_main.C:
6620         * lyxtextclasslist.C:
6621         * minibuffer.C:
6622         * sp_spell.C:
6623         * tabular_funcs.C:
6624         * vc-backend.C:
6625         all c-library variables have been moved into namespace std. Wrap
6626         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6627
6628         * lyxlength.C:
6629         * tabular-old.C:
6630         * tabular.C:
6631         Add a using std::abs declaration.
6632
6633         * kbmap.h (modifier_pair):
6634         * paragraph.h (InsetTable, InsetList):
6635         * lyxfont.h (FontBits):
6636         type definition made public.
6637
6638         * bufferlist.C (emergencyWriteAll): the compiler complains that
6639         there is more than one possible lyx::class_fun template to choose from.
6640         I re-named the void specialisation as lyx::void_class_fun.
6641
6642         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6643
6644         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6645         the compiler is is unable to find tostr in write_attribute.
6646
6647 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6648
6649         * buffer.C (sgmlError): hide #warning
6650
6651 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6652
6653         * xtl/*: get rid of xtl, which is not in use anyway
6654
6655         * LyXAction.C (init):
6656         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6657         were unimplemented xtl experimentation
6658
6659 2002-06-04  André Pönitz <poenitz@gmx.net>
6660
6661         * lyxfunc.C: disable array operation on simple formulae
6662
6663 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
6664
6665         * converter.C: constify a bit
6666
6667 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
6668
6669         * lyx_gui.C: check xforms version correctly
6670
6671 2002-04-30  Herbert Voss  <voss@lyx.org>
6672
6673         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6674         "keep" option
6675
6676 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
6677
6678         * lyxvc.C: fix bug 416 (make sure buffer is saved before
6679           attempt to register it with a VCS)
6680
6681 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6682
6683         * lyx_main.C (init): honor variables LYX_DIR_13x and
6684         LYX_USERDIR_13x
6685
6686 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6687
6688         * buffer.h:
6689         * buffer.C:
6690         * lyx_main.C: fix a crash on bad command line,
6691           and give a useful exit status on error
6692
6693         * lyxfunc.C (doImport): allow -i lyx to work
6694
6695 2002-03-30  André Pönitz <poenitz@gmx.net>
6696
6697         * lyxfunc.C: mathed font changes
6698
6699 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6700
6701         * LaTeX.C:
6702         * importer.h:
6703         * importer.C:
6704         * lyx_sty.h:
6705         * lyx_sty.C:
6706         * lyxlex.C:
6707         * lyxrow.h:
6708         * lyxtext.h:
6709         * paragraph.h:
6710         * paragraph.C:
6711         * texrow.h:
6712         * texrow.C:
6713         * text.C:
6714         * trans_mgr.h: srcdocs, and some minor cleanups
6715
6716 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6717
6718         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6719         call getFont all the time)
6720
6721 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6722
6723         * switch from SigC signals to boost::signals
6724
6725 2002-05-29  André Pönitz <poenitz@gmx.net>
6726
6727         * paragraph_pimpl.C (getChar): don't call size() too often...
6728
6729 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6730
6731         * paragraph_pimpl.C (insertChar): do not try to update tables when
6732         appending (pos == size())
6733
6734         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6735         in order to reduce drastically the number of comparisons needed to
6736         parse a large document
6737
6738 2002-05-29  André Pönitz <poenitz@gmx.net>
6739
6740         * text.C:
6741         * text2.C:
6742         * lyxtextclass.C:
6743         * sp_pspell.h:
6744         * textclasslist.[Ch]:
6745         * sp_ispell.h: whitespace change
6746
6747 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6748
6749         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6750         lyxaction directly now.
6751
6752 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
6753
6754         * trans.C:
6755         * lyxfont.C:
6756         * lyxvc.C: remove unused headers
6757
6758 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
6759
6760         * Makefile.am:
6761         * buffer.h:
6762         * undostack.h:
6763         * undostack.C:
6764         * undo_funcs.h:
6765         * undo_funcs.C: some cleanups. Use shared_ptr
6766           and a template for the undo stacks.
6767
6768 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
6769
6770         * BufferView_pimpl.h:
6771         * BufferView_pimpl.C:
6772         * kbmap.h:
6773         * kbmap.C:
6774         * kbsequence.h:
6775         * kbsequence.C:
6776         * lyxfunc.h:
6777         * lyxfunc.C:
6778         * text2.C: use key_state/mouse_state
6779
6780 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6781
6782         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6783         and LSubstring
6784
6785         * chset.C: change include order
6786         (loadFile): use boost regex and get rid of LRegex and LSubstring
6787
6788         * Makefile.am (BOOST_LIBS): new variable
6789         (lyx_LDADD): use it
6790
6791         * LaTeX.C: change include order.
6792         (scanAuxFile): use boost regex and get rid of LRegex and
6793         LSubstring
6794         (deplog): ditto
6795
6796 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
6797
6798         * ColorHandler.h:
6799         * ColorHandler.C:
6800         * FontInfo.h:
6801         * FontInfo.C: moved to frontends/xforms/
6802
6803         * FontLoader.h:
6804         * FontLoader.C: moved into frontends for GUIIzation
6805
6806         * Makefile.am:
6807         * lyx_gui.C:
6808         * lyxfont.C:
6809         * lyxfunc.C: changes from above
6810
6811 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
6812
6813         * LColor.C: remove spurious X include
6814
6815         * BufferView_pimpl.C:
6816         * Makefile.am:
6817         * font.h:
6818         * font.C:
6819         * text.C:
6820         * text2.C: move font metrics to frontends/
6821
6822 2002-05-24  Juergen Vigna  <jug@sad.it>
6823
6824         * undo_funcs.C (textHandleUndo): fix the cursor selection after
6825         setting the undo_cursor.
6826
6827         * ParagraphParameters.h: include local includes first.
6828
6829 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6830
6831         * BufferView_pimpl.C:
6832         * BufferView_pimpl.h:
6833         * Makefile.am:
6834         * WorkArea.h:
6835         * WorkArea.C:
6836         * screen.C: move WorkArea into frontends/
6837
6838         * lyxscreen.h:
6839         * screen.C:
6840         * text.C:
6841         * BufferView.C:
6842         * BufferView2.C: move LyXScreen into frontends/
6843
6844         * lyxlookup.h:
6845         * lyxlookup.C:
6846         * lyx_gui.C: move lyxlookup into frontends/xforms/
6847
6848 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6849
6850         * BufferView2.C:
6851         * BufferView_pimpl.C:
6852         * FontLoader.C:
6853         * LyXView.h:
6854         * LyXView.C:
6855         * Makefile.am:
6856         * WorkArea.C:
6857         * XFormsView.h:
6858         * XFormsView.C:
6859         * buffer.C:
6860         * bufferlist.C:
6861         * bufferview_funcs.C:
6862         * converter.C:
6863         * importer.C:
6864         * lyx_cb.C:
6865         * lyx_gui.C:
6866         * lyx_main.C:
6867         * lyx_find.C:
6868         * lyxfunc.C:
6869         * lyxvc.C:
6870         * minibuffer.C:
6871         * text.C:
6872         * text2.C:
6873         * trans.C:
6874         * vc-backend.C: move LyX/XFormsView into frontends/
6875
6876 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6877
6878         * Makefile.am:
6879         * PainterBase.C:
6880         * PainterBase.h:
6881         * Painter.C:
6882         * Painter.h:
6883         * WorkArea.C:
6884         * WorkArea.h:
6885         * screen.C:
6886         * tabular.C:
6887         * text.C:
6888         * text2.C: move Painter to frontends/
6889
6890 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6891
6892         * buffer.C: comment out some some code that depend upon lyx_format
6893         < 220
6894
6895         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6896         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6897
6898         * buffer.h (NO_COMPABILITY): turn off compability
6899
6900         * ColorHandler.C: include scoped_array.hpp
6901
6902         * font.C: Use more specific smart_ptr header.
6903         * Painter.C: ditto
6904         * gettext.C: ditto
6905         * ShareContainer.h: ditto
6906         * lyx_main.h: ditto
6907         * kbmap.h: ditto
6908         * FontInfo.h: ditto
6909         * BufferView_pimpl.h: ditto
6910         * ColorHandler.h: ditto
6911
6912         * kbmap.C (defkey): change call to shared_ptr::reset
6913
6914 2002-05-21  Juergen Vigna  <jug@sad.it>
6915
6916         * buffer.C (insertErtContents): fix to insert ert asis if it is
6917         non empty. Skip it completely if it contains only whitespaces.
6918
6919 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
6920
6921         * BufferView_pimpl.C:
6922         * BufferView2.C: clear selection on paste (bug 393)
6923
6924 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6925
6926         * DepTable.C: include ctime
6927
6928 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
6929
6930         * buffer.C (latexParagraphs): Add new argument (moving_arg).
6931
6932 2002-05-14  Juergen Vigna  <jug@sad.it>
6933
6934         * text.C (breakParagraph): fixed function to honor the keepempty
6935         layout in the right maner and also to permit the right breaking
6936         algorithm on empty or non empyt keepempty paragraphs.
6937
6938         * paragraph.C (breakParagraph): we have to check also if the par
6939         is really empty (!size()) for isempty otherwise we do the wrong
6940         paragraph break.
6941
6942 2002-05-10  Juergen Vigna  <jug@sad.it>
6943
6944         * buffer.[Ch] : The following are only changes to the ert
6945         compatibility read reading old LaTeX layout and font stuff and
6946         convert it to ERTInsets.
6947
6948         * buffer.h: added isErtInset().
6949
6950         * buffer.C (struct ErtComp): add a fromlayout bool to check
6951         if we're inside a LaTeX layout.
6952         (isErtInset): new helper function.
6953         (insertErtContents): look for other ert insets before this one
6954         and insert the contents there, so that we don't have subsequent
6955         ERT insets with nothing between them. This way we create only one
6956         inset with multiple paragraphs. Also check if we don't insert only
6957         spaces ' ' as they are ignored anyway afterwards in the .tex file
6958         so if we have only spaces we will ignore this latex part in the
6959         new file.
6960         (parseSingleLyXformat2Token \\layout): better compatibility when
6961         reading layout-latex stuff.
6962         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6963         language tag.
6964         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6965         stuff after reading the inset only get the information back from
6966         the stack.
6967
6968 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
6969
6970         * buffer.C (makeLaTeXFile): Put language options after loading babel.
6971
6972         * LaTeXFeatures.C (getBabelOptions): New method.
6973
6974 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6975
6976         * BufferView_pimpl.C (Dispatch): work around missing argument for
6977         'layout'
6978
6979 2002-05-08  Juergen Vigna  <jug@sad.it>
6980
6981         * text.C (leftMargin): handle paragraph leftindent.
6982
6983         * paragraph.C (writeFile): write the new \\leftindent tag.
6984         (validate): handle leftindent code.
6985         (TeXEnvironment): handle paragraphleftindent code again.
6986
6987         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6988
6989         * buffer.C (parseSingleLyXformat2Token): added compatibility code
6990         for paragrap_extra indent code and new token \\leftindent.
6991         (latexParagraphs): handle the leftindent as environment.
6992
6993         * ParameterStruct.h: added leftindent support.
6994
6995         * ParagraphParameters.C (leftIndent): added support functions for
6996         the paragraph left indent.
6997
6998         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6999         more appropriate.
7000
7001 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7002
7003         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7004         inside insetERT.
7005
7006         * text.C (computeBidiTables): No bidi in insetERT.
7007
7008         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7009         in RTL documents.
7010
7011 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7012
7013         * version.C.in: pre 5
7014
7015 2002-05-02  José Matos  <jamatos@fep.up.pt>
7016         * buffer.C (makeDocBookFile): white space changes, add newline to
7017         command styles.
7018         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7019
7020         * tabular.C (docBook): fix typo.
7021
7022 2002-05-03  Juergen Vigna  <jug@sad.it>
7023
7024         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7025         change in LyXText as we can not be sure it was not freed.
7026         (drawOneRow): remove unused code.
7027
7028         * text.C (drawInset): redo the calculation of the need_break_row as
7029         it could have a row which was already freed.
7030         (draw): look at the return value of drawInset and return false if
7031         it also returned false.
7032         (paintRowText): look at the return value of draw and return false if
7033         it also returned false.
7034
7035         * lyxtext.h: added bool return type to drawInset() and draw() so that
7036         if we have a change in the row so that the rowbreak has to be redone
7037         we abort drawing as it will be called again.
7038
7039 2002-05-02  Juergen Vigna  <jug@sad.it>
7040
7041         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7042         a change in the maintext also if we're inside an inset.
7043         (Dispatch): set the cursor again after a break line and after the
7044         screen has been updated as it could be we're in a different row.
7045
7046         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7047         to set the cursor behind the pargraph with > size().
7048         (setCursor): check also for the same paragraph when checking where
7049         to put the cursor if we have a NFR inset.
7050
7051         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7052         parts of layout read further up as it still was in the wrong
7053         position.
7054
7055 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7056
7057         * screen.C (drawFromTo): change sine fullRebreak always return
7058         true.
7059
7060         * buffer.C (parseSingleLyXformat2Token): reindent some
7061
7062         * BufferView_pimpl.C (update): change since fullRebreak always
7063         return true.
7064         (Dispatch): git rid of the last hardcoded "Standard"s.
7065
7066 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7067
7068         * text2.[Ch] (fullRebreak): make it return void now that we always
7069         returned true.
7070
7071 2002-04-30  Juergen Vigna  <jug@sad.it>
7072
7073         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7074         ert compatibility check for "latex" layout.
7075
7076 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7077
7078         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7079         minipages: use col% instead of p%, and also use the current font.
7080         (makeLaTeXFile): Fix use babel condition.
7081         (parseSingleLyXformat2Token): Correct font when reading old floats.
7082
7083 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7084
7085         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7086         inserting list of floats.
7087
7088 2002-04-25  Herbert Voss  <voss@lyx.org>
7089
7090         * MenuBackend.C (expand): don't add the graphics extensions to the
7091         export menu
7092
7093 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7094
7095         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7096         non-existing layout, do not complain if it was the default layout
7097         of the original class (bug #342)
7098
7099 2002-04-24  Juergen Vigna  <jug@sad.it>
7100
7101         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7102         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7103
7104 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7105
7106         * buffer.C (getBibkeyList): If using \bibliography, return the
7107         option field with the reference itself. Enables us to provide natbib
7108         support when using \bibliography.
7109
7110 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7111
7112         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7113
7114         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7115         natbib is provided by the LaTeX class.
7116
7117 2002-04-23  Juergen Vigna  <jug@sad.it>
7118
7119         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7120         Wakeup functions.
7121
7122         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7123
7124 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7125
7126         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7127
7128         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7129         ensuremath around textordmasculine, textordfeminine and
7130         textdegree.
7131
7132 2002-04-19  Juergen Vigna  <jug@sad.it>
7133
7134         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7135         reinitializing the buffer otherwise row-dimensions may be wrong.
7136         (update): reset also the selection cursors if they do exits otherwise
7137         their x/y positions may be wrong.
7138
7139         * text2.C (cursorDown): don't enter the inset if we came from a row
7140         above and are one row over the inset.
7141
7142         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7143         really leaving an inset.
7144
7145 2002-04-18  Juergen Vigna  <jug@sad.it>
7146
7147         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7148         of the selected paragraph does not have the selected layout also if
7149         the last one had!
7150
7151         * text2.C (setLayout): fixed bug which did not change last selected
7152         paragraph.
7153
7154         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7155         changed the read and substituted \\end_float with \\end_inset!
7156
7157         * BufferView_pimpl.C (cursorPrevious):
7158         (cursorNext): fixed to make it work with rows heigher than the work
7159         area without moving the cursor only the draw of the row.
7160         (workAreaMotionNotify): fix jumping over high rows.
7161
7162 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7163
7164         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7165         Ressler.
7166
7167 2002-04-16  Juergen Vigna  <jug@sad.it>
7168
7169         * text2.C (setCursor): set also the irow().
7170         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7171         (cursorUp):
7172         (cursorDown): support for locking an inset if the x_fix value goes
7173         inside it. That way I can transverse insets too with cursor up/down.
7174
7175         * lyxrow.h: added irow helper function same as other (i) functions.
7176
7177         * BufferView_pimpl.C (cursorPrevious):
7178         (cursorNext): fixed for insets!
7179
7180 2002-04-15  Juergen Vigna  <jug@sad.it>
7181
7182         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7183         position otherwise it is wrong in some cases.
7184
7185         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7186         inside the inset before the call.
7187
7188 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7189
7190         * buffer.[Ch] (getBibkeyList): make it const.
7191
7192 2002-04-12  Juergen Vigna  <jug@sad.it>
7193
7194         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7195
7196         * text2.C (getCursorX): new helper function
7197         (setCursor): compute also ix_
7198         (setCursorFromCoordinates): set also ix.
7199
7200         * lyxcursor.h: added ix_ and helper functions.
7201
7202         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7203
7204         * buffer.C (insertStringAsLines): dont break paragraph if the this
7205         paragraph is inside an inset which does not permit it!
7206
7207         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7208         also with no chars on this paragraph.
7209         (paintRowText): only paint stuff if it's inside the workarea!
7210
7211         * paragraph.C (breakParagraph): honor keepempty flag and break the
7212         paragraph always below not above.
7213
7214         * BufferView2.C (unlockInset): update the paragraph layout on inset
7215         unlock as we changed paragraph in such a case.
7216
7217         * lyxfind.C (LyXFind): clear the former selection if not found!
7218
7219         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7220         again called in insertChar().
7221
7222         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7223         an inset which uses the whole row!
7224         (rightMargin): ditto.
7225         (insertChar): force a rebreak if we inserted an inset!
7226
7227 2002-03-28  Herbert Voss  <voss@lyx.org>
7228
7229         * lyxlength.[Ch]: add inBP() to get the right PS-point
7230         units (BigPoint). With inPixels we have rounding errors
7231
7232 2002-04-11  Juergen Vigna  <jug@sad.it>
7233
7234         * text2.C (setCursorFromCoordinates): set iy to the right value.
7235         (setCursor): add check if row->previous exists!
7236
7237         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7238         an old float_type as this was the case in the old code!
7239
7240         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7241
7242         * BufferView2.C (showLockedInsetCursor): use iy
7243         (fitLockedInsetCursor): ditto
7244
7245         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7246         locked insets as there we have the right value now.
7247
7248         * lyxcursor.C: added iy_ variable and iy functions to set to the
7249         baseline of cursor-y of the locked inset.
7250
7251         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7252         (setCursor): fixed for insets which need a full row.
7253
7254         * text.C (rowLastPrintable): don't ignore the last space when before
7255         an inset which needs a full row.
7256         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7257         as last character of a row when before a inset which needs a full row.
7258
7259 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7260
7261         * version.C.in: update date
7262
7263         * text2.C (fullRebreak): try to always return true and see what
7264         happens...
7265
7266 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7267
7268         * MenuBackend.C (expand): use Floating::listName
7269
7270         * FloatList.C (FloatList): add listName argument to the built-in
7271         floats
7272
7273         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7274         text associated with the float.
7275
7276 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7277
7278         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7279
7280 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7281
7282         * ShareContainer.h: add a couple of missing typenames.
7283
7284 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7285
7286         * lyxrc.C (getDescription): use _() correctly rather than N_().
7287
7288 2002-03-28  Herbert Voss  <voss@lyx.org>
7289
7290         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7291         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7292
7293 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7294
7295         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7296         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7297
7298 2002-03-29  Juergen Vigna  <jug@sad.it>
7299
7300         * lyxfunc.C (dispatch): add a missing fitCursor call.
7301
7302         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7303         it was scrolled by a cursor move, so return the bool status.
7304
7305         * BufferView.C (fitCursor): return the bool flag also to the outside
7306         world as this is needed.
7307
7308         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7309
7310         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7311         call the edit() as it is not needed (and wrong) IMO.
7312         (workAreaButtonPress): set the screen_first variable before evt.
7313         unlock the inset as this may change screen_first and then we have
7314         a wrong y position for the click!
7315
7316 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7317
7318         * MenuBackend.C (expand): another translation that I missed
7319
7320 2002-03-28  Juergen Vigna  <jug@sad.it>
7321
7322         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7323
7324         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7325
7326 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7327
7328         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7329
7330         * MenuBackend.C (expand): fix export/view/update when there is no
7331         document open.
7332
7333 2002-03-27  Herbert Voss  <voss@lyx.org>
7334
7335         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7336         and text%
7337
7338 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7339
7340         * bufferview_funcs.C (currentState): only show paragraph number
7341         for is DEVEL_VERSION is set.
7342
7343         * lyxfunc.C (dispatch): put warning in INFO channel
7344
7345         * MenuBackend.C (expand): translate the name of floats
7346
7347         * FloatList.C (FloatList): mark the float names for translation
7348
7349         * converter.C (convert): use LibScriptSearch
7350
7351 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7352
7353         * MenuBackend.C (defaults): fix default menu (we might as well get
7354         rid of it...)
7355
7356 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7357
7358         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7359         directory.
7360
7361 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7362
7363         * lyxvc.C: reorder includes.
7364
7365 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
7366
7367         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7368           properly
7369
7370 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
7371
7372         * CutAndPaste.C: change layouts earlier on paste
7373           to avoid crashing when calling getFont()
7374
7375 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
7376
7377         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7378         irritating #error.
7379
7380 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7381
7382         * WorkArea.C: remove 'Pending' debug message.
7383
7384         * most files: ws cleanup
7385
7386         * buffer.[Ch]: ws changes
7387
7388         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7389
7390 2002-03-21  Juergen Vigna  <jug@sad.it>
7391
7392         * tabular.C (SetMultiColumn): collapse also the contents of the
7393         cells and set the last border right. Added a Buffer const * param.
7394
7395 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7396
7397         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7398         linking or not.
7399
7400 2002-03-19  Juergen Vigna  <jug@sad.it>
7401
7402         * text2.C (clearSelection): reset also xsel_cache.
7403
7404         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7405         where it needs to be called (John tells us to do so too :)
7406         (selectionLost): reset sel_cache.
7407
7408         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7409
7410 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7411
7412         * text2.C (setCursorIntern): put debuging code in INSETS channel
7413
7414 2002-03-19  André Pönitz <poenitz@gmx.net>
7415
7416         * lyxfunc.C: tiny whitespace change
7417
7418 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7419
7420         * ToolbarDefaults.C (init):
7421         * LyXAction.C (init):
7422         * commandtags.h:
7423         * BufferView_pimpl.C (Dispatch):
7424         * lyxfunc.C (dispatch): remove LFUN_DEPTH
7425
7426 2002-03-19  Allan Rae  <rae@lyx.org>
7427
7428         * exporter.C (Export): removeAutoInsets before doing anything else.
7429         While I've just introduced a dependency on BufferView this really is
7430         the best place to clean the buffer otherwise you need to cleanup in
7431         a dozen places before calling export or cleanup in a dozen functions
7432         that export calls.
7433
7434         * converter.C (runLaTeX):
7435         (scanLog): Better handling of removeAutoInsets and screen updates.
7436
7437         * lyxfunc.C (dispatch): small whitespace changes
7438
7439 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7440
7441         * WorkArea.C (C_WorkAreaEvent): return a value.
7442         (event_cb): return 1 if we handled the event, 0 otherwise.
7443
7444         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7445
7446 2002-03-18  Juergen Vigna  <jug@sad.it>
7447
7448         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7449         (GetAdditionalWidth): ditto.
7450         (RightLine): ditto.
7451         (LeftLine): ditto.
7452
7453         * BufferView2.C (copy): use getLyXText() so that we do it inside an
7454         inset if we're there actually (probably not used right now but this
7455         is the direction to go for unifying code).
7456         (paste): disable code to clear the selection.
7457
7458         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7459         inside an InsetText and move the check further up as it is in the
7460         wrong place.
7461
7462         * text2.C (pasteSelection): set a selection over the pasted text.
7463
7464 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
7465
7466         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7467         and libgraphics to build on Cygwin.
7468
7469 2002-03-15  Juergen Vigna  <jug@sad.it>
7470
7471         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7472         inserting an Inset into the paragraph. I know this is not the best
7473         fix but we already use current_view in CutAndPaste so we will remove
7474         all of it's using at the same time.
7475
7476         * buffer.C (sgmlError): deactivated function till it is rewritten in
7477         the right mode, now it can create problems.
7478
7479         * paragraph.C (isLineSeparator): check if getInset returns != 0,
7480         before accessing it.
7481
7482 2002-03-14  Juergen Vigna  <jug@sad.it>
7483
7484         * undo_funcs.C (textHandleUndo): do the right thing when updating
7485         the inset after the undo/redo.
7486
7487         * text2.C (setCursor): just some testcode for #44 not ready yet.
7488
7489         * undo_funcs.C (textHandleUndo): set the next() and previous()
7490         pointers of the paragraph to 0 before deleting otherwise we have
7491         problems with the Paragraph::[destructor].
7492
7493         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7494         on a paragraph insertion.
7495
7496 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7497
7498         * buffer.C (asciiParagraph): use += operator for char append to
7499         string.
7500
7501         * paragraph.C (getFontSettings): compare >= not just >
7502         (highestFontInRange): ditto
7503         (setFont): ditto
7504
7505 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7506
7507         * paragraph.C: change several algorithm to be more appripriate for
7508         the problem domain. This is lookip in FontList and in the InsetList.
7509
7510 2002-03-13  André Pönitz <poenitz@gmx.net>
7511
7512         * commandtags.h:
7513         * LyXAction.C: remove unused LFUN_MATH_MACROARG
7514
7515 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
7516
7517         * commandtags.h:
7518         * LyXAction.C:
7519         * lyxfunc.C:
7520         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7521
7522 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7523
7524         * Painter.C (display): anon helper function, adjust code for this
7525         change.
7526         (pixmap): remove function.
7527
7528         * Painter.h: remove private display variable.
7529
7530         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7531
7532 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
7533
7534         * WorkArea.[Ch]: remove figinset_canvas cruft.
7535
7536 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7537
7538         * lyxtextclass.C (operator): add one item cache optimization.
7539
7540         * bufferlist.h: doxy changes
7541
7542         * bufferlist.C: ws changes
7543
7544         * DepTable.[Ch] (ext_exist): place const in the right spot.
7545
7546         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7547         call resizeInsets.
7548         (workAreaExpose): call resizeInsets when the with BufferView changes.
7549         (Dispatch): adjust for protectedBlank removal
7550         (specialChar): call updateInset if the insert went ok.
7551
7552         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7553         specialChar instead.
7554
7555         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7556
7557         * BufferView.h: doxy change
7558
7559         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7560
7561         * lyxtextclass.C (operator[]): remove non-const version
7562         (defaultLayout): remove non-const version
7563
7564 2002-03-12  Juergen Vigna  <jug@sad.it>
7565
7566         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7567         did resize the LyXText too.
7568
7569         * buffer.C (readLyXformat2): set layout information on newly allocated
7570         paragraphs.
7571
7572         * tabular.C (OldFormatRead): set layout information on the paragraph.
7573
7574 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7575
7576         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7577
7578 2002-03-11  Juergen Vigna  <jug@sad.it>
7579
7580         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7581         plainly wrong.
7582         (resizeCurrentBuffer): force also the insets to resize themselfes.
7583         (moveCursorUpdate): fixed up for InsetText.
7584
7585 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
7586
7587         * commandtags.h:
7588         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7589         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7590         value of Dialogs::tooltipsEnabled().
7591         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7592
7593 2002-03-08  Juergen Vigna  <jug@sad.it>
7594
7595         * BufferView_pimpl.C (updateInset): update inset inside inset also
7596         if it isn't inside theLockingInset().
7597
7598 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7599
7600         * buffer.C (asciiParagraph): redo some of the word and line length
7601         handling.
7602         (getLists): look for Caption instead of caption.
7603
7604 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7605
7606         * buffer.C (Buffer): initialize niceFile to true
7607         (makeLaTeXFile):
7608         (makeLinuxDocFile):
7609         (makeDocBookFile): make sure niceFile is true on exit
7610
7611 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7612
7613         * buffer.C (makeLaTeXFile): escape ~ in \input@path
7614
7615 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
7616
7617         * LyXSendto.C: remove.
7618         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7619         * lyx_gui.C: remove now-redundant comment.
7620         * ColorHandler.h: remove forward declaration of class WorkArea.
7621         * lyxfunc.C: remove #include "WorkArea.h".
7622
7623 2002-03-07  Juergen Vigna  <jug@sad.it>
7624
7625         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7626         got moved away with the DEPM and also set the inset_owner always
7627         right which before could have been omitted.
7628
7629 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7630
7631         * buffer.C (parseSingleLyXformat2Token): use default layout is the
7632         wanted layout is not found.
7633
7634 2002-03-07  Juergen Vigna  <jug@sad.it>
7635
7636         * CutAndPaste.C (cutSelection): another layout settings forgotten.
7637
7638 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7639
7640         * paragraph.C (breakParagraph): use default layout not layout of
7641         prev paragraph.
7642         (Paragraph): clear ParagraphParameters.
7643
7644 2002-03-06  Juergen Vigna  <jug@sad.it>
7645
7646         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7647         otherwise it would not be a valid lenght. Fixed a special case in
7648         the minipage compatibility read where we end the document with a
7649         minipage.
7650
7651         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7652         was set as it could be 0 for InsetTexts first entry.
7653
7654 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7655
7656         * paragraph.C (writeFile): if layout is empty write out
7657         defaultLayoutName().
7658
7659         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7660         file without named layout we set layout to defaultLayoutName().
7661
7662 2002-03-06  Juergen Vigna  <jug@sad.it>
7663
7664         * CutAndPaste.C (copySelection): set layout for new paragraph.
7665
7666         * text.C (prepareToPrint): leave ERT inset left aligned
7667         (leftMargin): don't indent paragraphs inside ERT insets
7668
7669 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7670
7671         * paragraph.C (breakParagraph): dont call clear do the work manually
7672
7673         * paragraph.[Ch] (clear): remove function
7674
7675 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7676
7677         * paragraph.C (Paragraph): dont call clear, the work has already
7678         been done.
7679
7680         * lyxtextclass.C (operator): assert if n is empty
7681
7682         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7683         work manually instead.
7684
7685 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7686
7687         * BufferView_pimpl.C: protect selectionLost against text == 0
7688
7689 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7690
7691         * text.C (breakParagraph): fix a setting layout to '0' problem.
7692
7693 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7694
7695         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7696         final location of file, for the included files, and graphics.
7697
7698 2002-03-05  Juergen Vigna  <jug@sad.it>
7699
7700         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7701
7702 2002-03-04  Juergen Vigna  <jug@sad.it>
7703
7704         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7705
7706         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7707         last column of multicolumn cells.
7708         (SetWidthOfMulticolCell): recalculate NMC and real columns.
7709
7710 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7711
7712         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7713         file if it doesn't go to a temporary file.
7714
7715         * buffer.C (sgmlOpenTag):
7716         (sgmlCloseTag):  remove extra newline insertion.
7717
7718 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7719
7720         * text.C (getRowNearY): comment out debug msg
7721
7722 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7723
7724         * text2.C: first -> first_y
7725
7726         * text.C (getRowNearY): add some attemts at a possible
7727         optimization, not working.
7728
7729         * tabular.[Ch]: add BufferParams to several function so that newly
7730         created paragraph can be initialized to he default layotu for the
7731         buffers textclass.
7732
7733         * tabular-old.C (ReadOld): add buf->params to call of Init
7734
7735         * screen.C: rename text->first to text->first_y
7736
7737         * paragraph.C (breakParagraph): always set layout in the broken
7738         paragraph
7739
7740         * lyxtextclass.C (Read): remove lowercase
7741         (hasLayout): ditto
7742         (operator): ditto
7743         (delete_layout): ditto
7744
7745         * lyxtext.h: rename first -> first_y
7746
7747         * lyxlayout.C (Read): remove lowercase
7748         (name): ditto
7749         (setName): ditto
7750         (obsoleted_by): ditto
7751
7752         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7753
7754         * buffer.C (insertErtContents): add params are to InsetERT
7755         (parseSingleLyXformat2Token): add code to check if a paragraphs
7756         layout really exist.
7757         (parseSingleLyXformat2Token): add params to several inset
7758         constructors
7759         (asciiParagraph): remove lowercase, do the layout comparisons with
7760         no_case
7761
7762         * BufferView_pimpl.C (cursorNext): first -> first_y
7763         (resizeCurrentBuffer): first -> first_y
7764         (updateScrollbar): first -> first_y
7765         (scrollCB): first -> first_y
7766         (workAreaMotionNotify): first -> first_y
7767         (workAreaButtonPress): first -> first_y
7768         (checkInsetHit): first -> first_y
7769         (cursorPrevious): first -> first_y
7770         (cursorNext): first -> first_y
7771         (Dispatch): add buffer_->params to severl inset contructors
7772
7773 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7774
7775         * lyxlayout.C (Read): remove some debug info that I forgot.
7776
7777         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7778         clean up the code slightly.
7779         (makeLinuxDocFile): ditto
7780         (makeDocBookFile): ditto
7781
7782         * text2.C: layout as string
7783
7784         * text.C: layout as string
7785
7786         * paragraph_pimpl.C: layout as string
7787
7788         * paragraph.[Ch]: layout as string
7789
7790         * lyxtextclasslist.[Ch]: layout as string
7791
7792         * lyxtextclass.[Ch]: layout as string
7793
7794         * lyxtext.h: layout as string
7795
7796         * lyxlayout.[Ch]: layout as string
7797
7798         * lyx_cb.C: layout as string
7799
7800         * bufferview_funcs.C: layout as string
7801
7802         * bufferparams.C: layout as string
7803
7804         * buffer.C: layout as string
7805
7806         * LyXView.[Ch]: layout as string
7807
7808         * LaTeXFeatures.[Ch]: layout as string
7809
7810         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7811
7812         * BufferView_pimpl.C: change current_layout to string, remove
7813         lyx::layout_type.
7814         (Dispatch):
7815         (smartQuote):
7816         (insertInset):
7817         (workAreaButtonRelease): layout as string
7818
7819         * BufferView2.C (unlockInset): adjust
7820
7821         * vspace.C (asLatexCommand): use an explict temp variable.
7822
7823 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7824
7825         * Makefile.am: use FRONTEND_*
7826
7827 2002-03-01  Juergen Vigna  <jug@sad.it>
7828
7829         * tabular.C (SetWidthOfMulticolCell): changed to something better
7830         I hope but still work in progress.
7831         (recalculateMulticolumnsOfColumn): renamed function from
7832         recalculateMulticolCells as it is more appropriate now.
7833         (SetWidthOfCell): calculate multicols better.
7834
7835 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7836
7837         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7838
7839         * lyxfunc.C (processKeySym): print sequence also if it is
7840         `deleted' (complete)
7841
7842         * kbsequence.C (print): print sequence even if it is deleted
7843         (complete would be a better word, actually).
7844
7845         * lyxfunc.C (dispatch): print complete options after a prefix key
7846
7847         * vspace.C (asLatexCommand): rewrite in a slightly different form.
7848
7849 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
7850
7851         * text2.C (setCharFont): eliminate setCharFont code duplication.
7852
7853 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7854
7855         * BufferView_pimpl.C (Dispatch): remove bogus handling of
7856         LFUN_TABULAR_FEATURE (bug #177)
7857
7858 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
7859
7860         * Makefile.am: remove figure.h
7861
7862 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
7863
7864         * Bufferview_pimpl.C:
7865         * CutAndPasteC:
7866         * LaTeX.C:
7867         * LyXSendto.C:
7868         * buffer.C:
7869         * bufferlist.C:
7870         * converter.C:
7871         * language.C:
7872         * lyxfunc.C:
7873         * lyxvc.C:
7874         * paragraph.C:
7875         * text.C:
7876         * text2.C: remove #include "lyx_gui_misc.h".
7877
7878         * LaTeX.C: added #include <cstdio>
7879
7880 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7881
7882         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7883         that the paragraph following this one can have.
7884
7885         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7886
7887         * vspace.C (asLatexCommand): fix bogus gcc warning
7888
7889         * Makefile.am (lyx_SOURCES): remove vms_defines.h
7890
7891 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
7892
7893         * text2.C (setLayout): get rid of redundant code
7894
7895 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
7896
7897         * text2.C (incDepth): make sure depth cannot be increased beyond
7898         reasonable values.
7899
7900 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
7901
7902         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7903         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7904
7905         * PainterBase.h (image):
7906         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7907         a LyXImage const *.
7908
7909 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
7910
7911         * BufferView.C:
7912         * BufferView.h:
7913         * BufferView_pimpl.C:
7914         * BufferView_pimpl.h:
7915         * LaTeXFeatures.C:
7916         * LyXAction.C:
7917         * LyXView.C:
7918         * Makefile.am:
7919         * UpdateList.h:
7920         * UpdateList.C:
7921         * buffer.C:
7922         * figure.h:
7923         * figureForm.C:
7924         * figureForm.h:
7925         * figure_form.C:
7926         * figure_form.h:
7927         * lyx_cb.C:
7928         * lyx_gui.C:
7929         * lyx_gui_misc.C:
7930         * lyxfunc.C:
7931         * sp_base.h:
7932         * sp_ispell.h:
7933         * sp_pspell.h:
7934         * sp_spell.C: remove fig inset, and the crap house of
7935           cards that follows it
7936
7937 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
7938
7939         * Makefile.am:
7940         * lyxserver.C:
7941         * os2_defines.h:
7942         * os2_errortable.h:
7943         * nt_defines.h: move .h into support/
7944
7945         * vms_defines.h: remove
7946
7947         * WorkArea.C: add space in debug output
7948
7949         * text2.C:
7950         * paragraph.C:
7951         * buffer.C: add WITH_WARNINGS
7952
7953         * vc-backend.h:
7954         * vc-backend.C:
7955         * bufferlist.C: s/retrive/retrieve/, add docs
7956
7957         * vspace.h:
7958         * vspace.C:
7959         * kbmap.h:
7960         * lyxlength.h:
7961         * lyxgluelength.h:
7962         * length_common.h:
7963         * chset.h:
7964         * chset.C: add docs
7965
7966         * lyxgui.C: add ID to X error handler
7967
7968         * lyxtestclass.c: fix typo
7969
7970 2002-02-26  Juergen Vigna  <jug@sad.it>
7971
7972         * tabular_funcs.C (write_attribute): changed so that some default
7973         attributes are not written at all.
7974         (getTokenValue): set default values before trying to read the
7975         value so we have the return value always set as default if we don't
7976         find the token we search for.
7977
7978         * tabular.C (Write): write bools as bools not as strings!
7979
7980 2002-02-22  Juergen Vigna  <jug@sad.it>
7981
7982         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7983         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7984
7985         * text.C (leftMargin): don't add an indent for paragraphs inside
7986         tabular cells (fix #208).
7987
7988 2002-02-21  José Matos  <jamatos@fep.up.pt>
7989
7990         * tabular.C (docBook): fixed support for long tables.
7991
7992 2002-02-20  Juergen Vigna  <jug@sad.it>
7993
7994         * text2.C (getFont): get the drawing font of the Inset if this
7995         paragraph is inside an inset (only important for InsetERT for now).
7996
7997         * buffer.C (insertErtContents): use new lanugage params in ERT
7998         constructor.
7999
8000         * CutAndPaste.C: commenting out seemingly uneeded code.
8001
8002 2002-02-19  Allan Rae  <rae@lyx.org>
8003
8004         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8005         Iterators might be simple to use but they also get invalidated.
8006         (removeAutoInsets): renamed saved cursor tracking variables and added
8007         some comments to clarify what everything does.
8008
8009 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8010
8011         * Chktex.C:
8012         * LaTeX.C:
8013         * LyXSendto.C:
8014         * converter.C:
8015         * lyx_cb.C:
8016         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8017         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8018
8019         * lyxfunc.C:
8020         * vc-backend.h: remove #include "support/syscall.h"
8021
8022         * LaTeX.C:
8023         * LyXSendto.C:
8024         * converter.C: rearrange #includes in Lars' approved fashion.
8025
8026         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8027         forward declare class Timeout in the header file.
8028
8029         * XFormsView.C: changes due to the above.
8030
8031         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8032         similar to LyXView.
8033
8034         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8035         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8036
8037 2002-02-18  José Matos  <jamatos@fep.up.pt>
8038
8039         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8040         insets contents.
8041
8042 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8043
8044         * a lot of small ws changes
8045         * add a lot of using std::XXX
8046         * use std construcs some places where approp.
8047         * use some exisint stuff from lyxfunctional where approp.
8048         * Make file changes to use partial linking (lets test this now...)
8049
8050 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8051
8052         * Chktex.C:
8053         * buffer.C:
8054         remove #include "support/syscontr.h" as it's redundant. Always has been.
8055
8056         * Chktex.C:
8057         * LaTeX.C:
8058         * LyXSendto.C:
8059         * converter.C:
8060         * lyx_cb.C:
8061         * vc-backend.C:
8062         change Systemcalls::System to Systemcalls::Wait and
8063         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8064         No change of functionality, just reflects the stripped down Systemcalls
8065         class.
8066
8067 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8068
8069         * debug.[Ch]: add a GRAPHICS type to the enum.
8070
8071 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8072
8073         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8074
8075         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8076         there is an inset.
8077
8078 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8079
8080         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8081         match the changes below.
8082
8083         * text2.C (toggleInset): if there is not editable inset at cursor
8084         position, try to see if cursor is _inside_ a collapsable inset
8085         and close it.
8086
8087 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8088
8089         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8090         document menu has a nice checkbox
8091
8092 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8093
8094         * lyxlength.C (asLatexString): change PW to output as percent of
8095         \textwidth.
8096
8097         * lengthcommon.C: change '%' to 't%'
8098
8099         * lyxfunc.C (dispatch): a few comments from Martin
8100
8101 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8102
8103         * WorkArea.h:
8104         * WorkArea.C:
8105         * BufferView_pimpl.h:
8106         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8107           the X selection.
8108
8109 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8110
8111         * vspace.C (inPixels): fix compiler warning
8112
8113 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8114
8115         * lyxfunc.C (getStatus): fix status message for disabled commands.
8116
8117 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8118
8119         * BufferView_pimpl.C: fix crash on close buffer
8120         during selection (#227)
8121
8122 2002-01-27  Herbert Voss  <voss@lyx.org>
8123
8124         * buffer.C: link old Figure to new graphic inset
8125
8126 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8127
8128         * FontLoader.C (getFontinfo): Change the latex font names in order
8129         to match the names of type1inst.
8130
8131 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8132
8133         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8134
8135         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8136         (extchanged): ditto
8137         (ext_exist): ditto
8138         (remove_files_with_extension): ditto
8139         (remove_file): ditto
8140         (write): ditto
8141
8142         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8143         document is smaller than the work area height. Do not initialize
8144         static variables to 0.
8145
8146 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8147
8148         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8149
8150         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8151         LFUN_LAYOUT_PARAGRAPHS.
8152
8153         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8154         tabular. It is possible to provide a possible cell, which will
8155         typically be the actcell from the corresponding insettabular
8156
8157         * lyxfunc.C (getStatus): small cleanup; disable
8158         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8159         true
8160
8161 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8162
8163         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8164
8165         * paragraph.C (startTeXParParams):
8166         (endTeXParParams): new methods. The LaTeX code to
8167         start/end paragraph formatting
8168         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8169         empty (fixes bug #200)
8170
8171         * vspace.C (inPixels): adapt to the change below
8172         (inPixels): [later] more cleanups (remove unused variables)
8173
8174         * lyxlength.C (inPixels): change to use a width and a height as
8175         parameter.
8176
8177 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8178
8179         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8180         Replaced with \paperwidth
8181
8182         * DepTable.C (insert): add std:: qualifier
8183
8184 2002-01-18  Allan Rae  <rae@lyx.org>
8185
8186         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8187         updated also?
8188
8189         * text.C (drawInset): Turned out I didn't know enough about how
8190         rebreaking worked.  This fixes most of the redraw problems.  I see
8191         an occasional cursor trail when a line is broken now and the cursor
8192         placement can seem out by a few pixels also after a rebreak.
8193
8194 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8195
8196         * buffer.C (parseSingleLyXformat2Token): update because minipage
8197         width is now a LyXLength
8198
8199         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8200
8201         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8202         math insets
8203
8204 2002-01-17  Juergen Vigna  <jug@sad.it>
8205
8206         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8207
8208         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8209         is set correctly and the inset is updated correctly.
8210
8211 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8212
8213         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8214         the beginning of the loop.
8215
8216 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8217
8218         * lyxrc.C: improve help for use_scalable_fonts
8219
8220 2002-01-17  Allan Rae  <rae@lyx.org>
8221
8222         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8223
8224 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8225
8226         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8227         make sure to set their inset_owner to the right value (bug #171)
8228
8229 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8230
8231         * DepTable.h
8232         * DepTable.C: Implement mtime checking to reduce time spent doing
8233         CRCs.
8234
8235 2002-01-16  Juergen Vigna  <jug@sad.it>
8236
8237         * tabular.C (GetAdditionalHeight): one of error fixed.
8238
8239         * lyxrc.C (output): small fix in writing use_pspell.
8240
8241 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8242
8243         * sp_base.h: #include LString.h
8244
8245 2002-01-16  Allan Rae  <rae@lyx.org>
8246
8247         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8248         Can someone check this please?
8249
8250         * text.C (drawInset): It was possible that p.row would be removed by
8251         breakAgainOneRow upsetting a few other settings.  There may be another
8252         small tweak possible by setting need_break_row = 0 when p.row has been
8253         removed but I don't know enough about the logic here.
8254
8255 2002-01-15  Allan Rae  <rae@lyx.org>
8256
8257         * text.C (insertChar): removed conditional truism.
8258
8259         * BufferView2.C (removeAutoInsets): More tweaks.
8260         cur_par_prev could be a stray pointer.  Check for trailing empty line
8261         in case last line was cur_par and only had an error inset on it.
8262
8263 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8264
8265         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8266         absolute
8267
8268         * vc-backend.C (most methods):
8269         * exporter.C (Export):
8270         * converter.C (convert):
8271         (runLaTeX):
8272         * LyXSendto.C (SendtoApplyCB):
8273         * lyxfunc.C (dispatch):
8274         (menuNew):
8275         (open):
8276         (doImport):
8277         * lyx_cb.C (AutoSave):
8278         (InsertAsciiFile):
8279         * BufferView_pimpl.C (MenuInsertLyXFile):
8280         * buffer.C (runChktex): use Buffer::filePath().
8281
8282         * buffer.h: rename filename to filename_; rename filepath to
8283         filepath_ and make it private
8284         (filePath): new method
8285
8286         * buffer.C (writeFile): use fileName()
8287         (getLatexName):
8288
8289         * lyx_main.C (init): fix starting  of LyX when the binary is a
8290         link from so,ewhere else.
8291
8292         * minibuffer.C: include <cctype> for isprint
8293
8294 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8295
8296         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8297         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8298         name clash with InsetCollapsable's width function.
8299
8300 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8301
8302         * lastfiles.C: include <iterator>
8303
8304 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8305
8306         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8307         std::count.
8308
8309         * buffer.C (makeLaTeXFile): ditto.
8310         Also make loop operation more transparent.
8311
8312 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8313
8314         * ToolbarDefaults.C: remove trailing comma closing namespace.
8315
8316         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8317
8318         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8319         as in WorkArea.
8320
8321         * trans.C (Load): comment out unused variable, allowed.
8322
8323 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8324
8325         * minibuffer.[Ch] (append_char): new method to recieve input from the
8326         drop-down completion browser. If a key was pressed, then recieve this
8327         char and append it to the existing string.
8328         (peek_event): modify the positioning data passed to the completion
8329         browser so that it can be placed above the minibuffer rather than below.
8330 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8331
8332         * LyXAction.C (init): alloe error-next for readonly documents.
8333
8334         * BufferView2.C (ChangeRefsIfUnique): use standard version of
8335         count.
8336
8337 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8338
8339         * bufferlist.C (readFile): create the buffer _after_ checking that
8340         the file exists.
8341
8342         * lyxfunc.C (verboseDispatch): fix handling of arguments
8343
8344         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8345
8346         * lyxrc.C: use string::erase() instead of initializing to "".
8347
8348
8349 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8350
8351         * BufferView_pimpl.h:
8352         * BufferView_pimpl.C:
8353         * WorkArea.h:
8354         * WorkArea.C:
8355         * text2.C: tell X when we have made a selection for copying
8356
8357 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8358
8359         * BufferView_pimpl.C (MenuInsertLyXFile):
8360         * lyxfunc.C (menuNew):
8361         (open):
8362         (doImport): add shortcuts to directory buttons
8363
8364         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8365         open a float)
8366
8367         * lyxfunc.C (setStatusMessage):
8368         (getStatusMessage): new methods
8369         (getStatus):use setStatusMessage instead of setErrorMessage
8370         (dispatch): when function is disabled, set error message here
8371         [instead of in getStatus previously]
8372
8373         * BufferView_pimpl.C (workAreaButtonRelease): update
8374         toolbar/menubar here too.
8375
8376 2002-01-13  Allan Rae  <rae@lyx.org>
8377
8378         * BufferView2.C (removeAutoInsets): finished off earlier fix.
8379         Now seems indestructible.  Remaining task is to audit all other
8380         code affected by deleteEmptyParagraphMechanism.  One small quirk
8381         left is that an empty document with an error in the preamble can
8382         be made to report an error but no error box appears.  I don't know
8383         where it goes.
8384         (removeAutoInsets): Improved comments.
8385
8386 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
8387
8388         * Thesaurus.h:
8389         * Thesaurus.C: update for Aiksaurus 0.14
8390
8391 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8392
8393         * text2.C (firstParagraph): removed member function, all uses
8394         replaces with ownerParagraph
8395         (redoParagraphs): here
8396         (updateInset): here
8397         (toggleAppendix): here
8398         * BufferView2.C (insertErrors): here
8399         (setCursorFromRow): here
8400
8401 2002-01-13  Allan Rae  <rae@lyx.org>
8402
8403         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8404         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8405         There is still a way to segfault this although you may have to do this
8406         multiple times: Have an InsetERT with an unknown command in it.
8407         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8408         <down-arrow>, <Enter> again, View->DVI, BANG!
8409
8410         * text2.C (setCursor):
8411         (deleteEmptyParagraphMechanism):
8412         * lyxtext.h (setCursor):
8413         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8414         Making use of the return value may help fix other bugs.
8415
8416 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8417
8418         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8419
8420         * LyXView.C (updateMenubar): call MenuBar::update here
8421         (updateToolbar): but not here
8422         (showState): do not update toolbar/menubar
8423
8424         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8425         should need to care about that.
8426
8427         * lyxfunc.C (verboseDispatch): simplify a bit
8428         (getStatus): have a version which takes a pseudoaction, and
8429         another which requires a (kb_action,string).
8430
8431         * LyXAction.C (retrieveActionArg): make it work also when action
8432         is not a pseudo-action.
8433         (getActionName): simplify a bit
8434         (helpText):
8435
8436 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8437
8438         * lyxfunc.C (verboseDispatch): new families of methods with
8439         several ways to specify a command and a bool to indicate whether
8440         the command name and shortcut should be displayed in minibuffer
8441         (eventually, we could extend that to a finer bitmask like
8442         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8443         (dispatch): the pristine dispatch command which just, well,
8444         dispatchs! Note it still sets its result to minibuffer; I'm not
8445         sure we want that.
8446
8447         * lyxfunc.h: remove setHintMessage
8448
8449         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8450
8451 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8452
8453         * BufferView_pimpl.C (specialChar): delete new inset if we have
8454         not been able to insert it.
8455
8456         * kbmap.C: revert to using int instead of kb_action, since all we
8457         are dealing with is pseudo-actions.
8458
8459         * LyXAction.C (searchActionArg): change to return int instead of
8460         kb_action, since the result is a pseudoaction.
8461
8462 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
8463
8464         * buffer.C (insertErtContents): Fix (partially) the font bug.
8465
8466 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8467
8468         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8469         as the other one is broken on my machine!
8470
8471 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
8472
8473         * commandtags.h:
8474         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8475
8476 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
8477
8478         * lyxrc.[Ch]: change names and descriptions of popup font variables to
8479         reflect their actual use. Provide compatibility code for older lyxrc
8480         files.
8481
8482         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8483         FL_NORMAL_STYLE.
8484         change names of popup font variables in line with the changes to lyxrc.C
8485
8486 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8487
8488         * buffer.C (asciiParagraph): avoid outputing a word twice after
8489         an inset.
8490
8491         * lyxrc.C (getDescription): document that document_path and
8492         template_path can be empty.
8493
8494 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8495
8496         * LaTeXFeatures.C (getMacros):
8497         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8498
8499         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8500
8501         * LaTeXFeatures.C (useFloat): require "float" here instead of in
8502         getPackages.
8503         (getPackages): rename feature "floats" to "float". Use an array to
8504         iterate over 'simple' features (i.e. just a \usepackage). Add
8505         handling of "amsmath" (renamed from "amsstyle").
8506
8507 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
8508
8509         * LaTeXFeatures.C (require): Prevent duplicate entries in the
8510         features list.
8511
8512 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
8513
8514         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8515         FuncStaus::FuncStatus & FuncStaus::some_method().
8516
8517 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
8518
8519         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8520         of the func_satus stuff. Edited and massaged in various ways by
8521         JMarc.
8522
8523         * lyxfunc.C (getStatus): use FuncStatus
8524
8525 2002-01-08  Juergen Vigna  <jug@sad.it>
8526
8527         * text.C (nextBreakPoint): use function Inset::isChar().
8528
8529         * paragraph.C (TeXOnePar): use function
8530         Inset::forceDefaultParagraphs.
8531
8532         * buffer.C (latexParagraphs): use function
8533         Inset::forceDefaultParagraphs.
8534
8535 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8536
8537         * lyx_gui.C (init): set the style of the menu popups to
8538         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8539
8540 2002-01-07  Juergen Vigna  <jug@sad.it>
8541
8542         * text.C (setHeightOfRow): small fix
8543         (prepareToPrint): don't look at alignment if we don't have the place
8544         for doing it.
8545
8546 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8547
8548         * box.C: New file. Move the Box methods and functions out of box.h,
8549         following Lars' suggestion.
8550
8551 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8552
8553         * box.h: #include "support/LOstream.h", needed for inlined function.
8554
8555         * lyxtextclass.C:
8556         * lyxtextclasslist.C: added some using std declarations.
8557
8558 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
8559
8560         * box.h: make signed dimensions to allow insets wider than
8561           the screen (bug #162)
8562
8563         * BufferView_pimpl.C: add some insetHit debug
8564
8565 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
8566
8567         * vc-backend.C: add FIXME
8568
8569 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8570
8571         * lyxfunc.C (getStatus): enable code for showing math font status
8572         in toolbar/menu.
8573
8574 2002-01-07  Juergen Vigna  <jug@sad.it>
8575
8576         * text.C (nextBreakPoint): removed debug output not needed anymore.
8577
8578 2002-01-06  Juergen Vigna  <jug@sad.it>
8579
8580         * text.C (nextBreakPoint): fixed up this function we had this bug
8581         since ever but now hopefully we break row better.
8582         (insertChar): we have to check if an inset is the next char as it
8583         could now happen that a large inset is causing a break.
8584
8585 2002-01-05  Juergen Vigna  <jug@sad.it>
8586
8587         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8588         if it doesn't like to be drawed.
8589
8590 2002-01-04  Juergen Vigna  <jug@sad.it>
8591
8592         * BufferView2.C (lockInset): forgot to set a cursor.
8593
8594         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8595
8596 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
8597
8598         * FormMathsPanel.C:
8599         * FormMathsPanel.h
8600         * MathsSymbols.C:
8601         * form_maths_panel.C:
8602         * form_maths_panel.h:
8603         * form_maths_panel.fd: implemented sub- and super- buttons in math
8604         panel.
8605
8606         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8607         (or ^ space) to be used as in TeX (req'd by André).
8608
8609         * lyxfunc.C: Allow ^ and _ again to be used both as
8610         super/subscript (mathed) and as themselves (in text).
8611
8612 2002-01-03  Allan Rae  <rae@lyx.org>
8613
8614         * LyXView.C (updateWindowTitle): Setup a short icon title of either
8615         "LyX" or the filename of the current buffer if it has one.  This is a
8616         modified form of John Levon's patch.
8617
8618         * XFormsView.C (setWindowTitle): also set icon title.
8619
8620         * LyXView.h (setWindowTitle): signature changed.
8621         * XFormsView.h (setWindowTitle): ditto.
8622
8623 2002-01-02  Juergen Vigna  <jug@sad.it>
8624
8625         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8626
8627 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8628
8629         * screen.C (topCursorVisible): introduce a temp var for
8630         text->cursor.row(), handle the case where this row is null. (kindo
8631         hachish)
8632
8633         * text2.C (setCursor): add a couple of asserts.
8634
8635         * paragraph.h (inset_iterator): add -> operator
8636
8637         * paragraph.[Ch] (autoDeleteInsets): remove member function
8638
8639         * BufferView2.C (removeAutoInsets): rewrite to handle the old
8640         cursor pos correctly and handle inset deletion by itself.
8641         (insertErrors): move iterator declaration out of for expression
8642
8643         * lyxtextclass.C: add <algorithm>
8644
8645         * Makefile.am: added the new files to sources, removed layout.C
8646
8647         * layout.C: removed file
8648
8649         * layout.h: remove LYX_DUMMY_LAYOUT
8650
8651         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8652         layout.
8653
8654         * lyxlayout.[Ch]:
8655         * lyxtextclass.[Ch]:
8656         * lyxtextclasslist.[Ch]: new files
8657
8658         * include order changes to a lot of files, also changes because of
8659         the six new files.
8660
8661 2001-12-27  Juergen Vigna  <jug@sad.it>
8662
8663         * buffer.C (asciiParagraph): more fixes.
8664
8665         * tabular.C (ascii): make ascii export support export of only the
8666         data separated by a column-delimiter.
8667         (ascii): better support for ascii export.
8668
8669         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8670
8671 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8672
8673         * tabular_funcs.C: use a "using std::getline" instead of the
8674         previous fix from Angus (necessary for cxx + lyxstring)
8675
8676 2001-12-24  Juergen Vigna  <jug@sad.it>
8677
8678         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8679
8680         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8681         problems. First check a minipage also if we have some ert-contents
8682         (not only on par->size(), second set the right depth of the paragraph
8683         on the relink to the root-paragraph-list!
8684
8685         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8686         which then did not anymore update the main paragraphs on undo/redo!
8687
8688 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8689
8690         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8691         code. Support all font-changing funcs (even those which are not in
8692         menu currently). Support for reporting font settings in
8693         mathed (disabled until Andre provides a function on mathed's side).
8694
8695         * func_status.h (toggle): small helper function to set toggle
8696         state on a flag.
8697
8698 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
8699
8700         * tabular_funcs.C: getline -> std::getline
8701
8702 2001-12-21  Juergen Vigna  <jug@sad.it>
8703
8704         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8705         accessed and could be 0 (I couldn't generate this but it seems
8706         Michael could!).
8707
8708 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8709
8710         * tabular_funcs.C: add LIstream.h, move write_attribute to..
8711         * tabular_funcs.h: here and include iosfwd
8712
8713 2001-12-20  Juergen Vigna  <jug@sad.it>
8714
8715         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8716         inside inset but undo_par was.
8717
8718 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8719
8720         * Thesaurus.C: always include <config.h> in sources.
8721
8722         * Painter.h:
8723         * lyxlookup.h:
8724         * box.h: do not include <config.h> in header files
8725
8726         * text.C (paintLastRow): remove unused variable
8727
8728         * text.C (transformChar):
8729         (insertChar):
8730         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8731
8732         * Painter.C (text):
8733         * font.C (width): rewrite to use uppercase() instead of
8734         islower/toupper.
8735
8736         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8737
8738 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
8739
8740         * lyxfind.C: clean up of find failure position change
8741
8742 2001-12-20  Juergen Vigna  <jug@sad.it>
8743
8744         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8745
8746         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8747         (TeXRow): added to LaTeX a single tabular row.
8748         (TeXLongtableHeaderFooter): added to output LT-h/f data.
8749         (Latex): simplified and finally good LT-h/f support.
8750         (various_functions): just small adaptions for LT-h/f support.
8751
8752         * tabular_funcs.[hC]: added and moved here all not classfunctions
8753         of LyXTabular.
8754
8755 2001-12-19  Juergen Vigna  <jug@sad.it>
8756
8757         * tabular.[Ch]: better support for longtabular options (not finished
8758         yet!)
8759
8760 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8761
8762         * text.C (paintLastRow): use the label font instead of the font of
8763         the last character to compute the size of *_BOX. This makes more
8764         sense and avoids a crash with empty paragraphs.
8765         Use Painter::rectangle to draw EMPTY_BOX.
8766
8767 2001-12-19  Juergen Vigna  <jug@sad.it>
8768
8769         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8770         the paragraphs if the replaced paragraph is not the first one!
8771         Tried to delete not used paragraphs but does not work yet so for
8772         now it's inside #ifdef's and by default off!
8773
8774 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8775
8776         * MenuBackend.C: include "lyx_main.h" instead of declaring
8777         lastfiles (actually was declared as LastFiles* instead of a
8778         scoped_ptr).
8779
8780 2001-12-17  Juergen Vigna  <jug@sad.it>
8781
8782         * tabular.C (AppendColumn): applied John's fix
8783
8784 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
8785
8786         * BufferView.h:
8787         * BufferView.C:
8788         * BufferView_pimpl.h:
8789         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8790
8791         * Makefile.am:
8792         * box.h: new start of class for above
8793
8794         * lyxfunc.C: ignore space-only minibuffer dispatches.
8795           Show the command name when it doesn't exist
8796
8797         * minibuffer.C: don't add empty lines to the history
8798
8799         * minibuffer.C: add a space on dropdown completion
8800
8801 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
8802
8803         * text.C: fix line above/below drawing in insets
8804
8805 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8806
8807         * lyxlength.C (LyXLength): Initialize private variables.
8808
8809 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
8810
8811         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8812         when inserting error insets.
8813
8814 2001-12-13  Juergen Vigna  <jug@sad.it>
8815
8816         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8817         actually sometimes the before-paragraph.
8818         (setUndo): don't clear the redostack if we're not actually undoing!
8819
8820 2001-12-06  Juergen Vigna  <jug@sad.it>
8821
8822         * undo_funcs.C (textHandleUndo): well after John's hint I got here
8823         and fixed redoing of main paragraph, so we can use it now ;)
8824
8825         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8826
8827 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8828
8829         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8830         Juergen's request
8831
8832 2001-12-13  André Pönitz <poenitz@gmx.net>
8833
8834         * undostack.[Ch]:
8835         * undo_func.C: minor cleanup
8836
8837 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8838
8839         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8840         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8841         font in urw-fonts package which is marked as -urw-fontspecific and
8842         does not work (incidentally, changing the encoding in the
8843         fonts.dir of this package to -adobe-fontspecific fixes the
8844         problem).
8845
8846         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8847         is a crash when undoing first paragraph (Juergen, please take a
8848         look). THis does not mean the undo fix is wrong, just that it
8849         uncovers problems.
8850
8851         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8852         the (Paragraph*) version when needed instead of duplicating the
8853         code.
8854
8855         * text.C (workWidth): use Inset::parOwner to find out where the
8856         inset has been inserted. This is a huge performance gain for large
8857         documents with lots of insets. If Inset::parOwner is not set, fall
8858         back on the brute force method
8859
8860         * paragraph_pimpl.C (insertInset):
8861         * paragraph.C (Paragraph):
8862         (cutIntoMinibuffer): set parOwner of insets when
8863         inserting/removing them
8864
8865         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8866
8867 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
8868
8869         * commandtags.h:
8870         * LyXAction.C:
8871         * lyx_main.C:
8872         * lyxfunc.C:
8873         * mathed/formulabase.C:
8874         * mathed/math_cursor.[Ch]:
8875         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8876
8877
8878 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8879
8880         * lyxlength.[Ch] (operator!=): new function
8881
8882 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8883
8884         * text.C (workWidth): use Inset::parOwner to find out where the
8885         inset has been inserted. This is a huge performance gain for large
8886         documents with lots of insets. If Inset::parOwner is not set, fall
8887         back on the brute force method
8888
8889         * paragraph_pimpl.C (insertInset):
8890         * paragraph.C (Paragraph):
8891         (cutIntoMinibuffer): set parOwner of insets when
8892         inserting/removing them
8893
8894         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8895
8896 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8897
8898         * tabular-old.C (getTokenValue):
8899         * tabular.C (getTokenValue):
8900         (write_attribute): new versions for LyXLength
8901         (everywhere): adjust the use of widths
8902
8903         * tabular.h: change the type of widths from string to LyXLength
8904
8905 2001-12-11  Ben Stanley <bds02@uow.edu.au>
8906
8907         * paragraph.C: fixed missing line number count when exporting
8908         Environments to LaTeX file
8909
8910         * buffer.C: added informational message for checking line numbers.
8911
8912 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8913
8914         * text2.C (deleteEmptyParagraphMechanism): if there is only one
8915         paragraph, do the 'double space' part, but not the 'empty
8916         paragraph' one.
8917
8918         * text.C (workWidth): small optimization
8919         (getLengthMarkerHeight): use minimal size for negative lengths.
8920
8921 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
8922
8923         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8924
8925         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8926
8927 2001-12-11  André Pönitz <poenitz@gmx.net>
8928
8929         * FontLoader.C:
8930         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8931
8932 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
8933
8934         * text2.C: keep selection on a setFont()
8935
8936 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
8937
8938         * lyx_cb.C: another bv->text misuse, from insert label
8939
8940 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
8941
8942         * kbsequence.h:
8943         * kbsequence.C: re-instate nmodifier mask
8944
8945 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
8946
8947         * lyx_main.h: make lyxGUI private.
8948
8949 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
8950
8951         * lyxfind.C: place the cursor correctly on failed search
8952
8953 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8954
8955         * text.C (getLengthMarkerHeight): for small heights, the arrows
8956         are not always on top/bottom of the text
8957         (drawLengthMarker): smaller arrows; take the left margin in
8958         account; draw also vfills.
8959         (paintFirstRow):
8960         (paintLastRow): remove special code for vfill and standard spaces,
8961         since everything is handled in drawLengthMarker now.
8962
8963 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8964
8965         * buffer.C (insertErtContents): try to handle font and language
8966         interaction a bit better.g
8967
8968         * ColorHandler.C (updateColor): change the hash to cover the whole
8969         LColor enum, ws cleanup
8970         (getGCLinepars): ditto
8971         (getGCLinepars): only lookup in the linecache once.
8972
8973 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
8974
8975         * iterators.C (operator++): Make the iterator more robust
8976
8977         * BufferView2.C (removeAutoInsets): Use paragraph iterators
8978         (John's patch)
8979         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8980
8981 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8982
8983         * lyxtext.h:
8984         * text.C: better added space drawing
8985
8986 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8987
8988         * LyXView.C:
8989         * BufferView2.C: fix layout combo update on inset unlock
8990
8991 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8992
8993         * Makefile.am: don't compile unused files
8994
8995 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8996
8997         * lyxfunc.C:
8998         * commandtags.h:
8999         * LyXAction.C: remove old LFUN_LAYOUTNO
9000
9001 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9002
9003         * paragraph_pimpl.h:
9004         * paragraph_pimpl.C: isTextAt() doesn't need font param
9005
9006 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9007
9008         * lyxlex.h:
9009         * lyxlex.C: little cleanup
9010
9011 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9012
9013         * BufferView_pimpl.C: fix insertAscii for insets
9014
9015 2001-12-05  Juergen Vigna  <jug@sad.it>
9016
9017         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9018         set the right font on the "multi" paragraph paste!
9019
9020 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9021
9022         * trans_decl.h:
9023         * trans_mgr.[Ch]:
9024         * trans.[Ch]:
9025         * lyxgluelength.C:
9026         * lyxlength.C: remove out-commented code.
9027
9028         * BufferView_pimpl:
9029         * CutAndPaste.C:
9030         * DepTable.C:
9031         * buffer.C:
9032         * chset.C:
9033         * lastfiles.C:
9034         * lyxlex.C:
9035         * lyxlex_pimpl.C:
9036         * lyxserver.C:
9037         * screen.C:
9038         * tabular-old.C:
9039         * tabular.C:
9040         * text.C:
9041         * trans_mgr.C:
9042         * vc-backend.C: change "while(" to "while ("
9043
9044         * lyxlength.[Ch]: add zero function to check if length is zero or
9045         not
9046         * lyxgluelength.C: use it
9047
9048 2001-12-05  Allan Rae  <rae@lyx.org>
9049
9050         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9051         Works for 2.95.3, from what I understand of Garst's reports this should
9052         work for other g++ versions.  We're screwed if the abs(int) definition
9053         changed between bugfix releases of gcc.
9054
9055 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9056
9057         * text.C: fix chapter label offset !
9058
9059 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9060
9061         * lyxtext.h:
9062         * text.C: fix hfill at end of line, clean up
9063
9064 2001-12-04  Juergen Vigna  <jug@sad.it>
9065
9066         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9067         that we force an update of the inset and it's owners if neccessary.
9068
9069 2001-12-03  Juergen Vigna  <jug@sad.it>
9070
9071         * text.C (rowLast): simplified code
9072
9073 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9074
9075         * lyxfunc.C: fix show options on timeout
9076
9077 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9078
9079         * screen.C (topCursorVisible): scroll half a page when the cursor
9080         reached top of bottom of screen
9081
9082 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9083
9084         * minibuffer.C: deactivate on loss of focus
9085
9086 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9087
9088         * vspace.[Ch] (operator!=): add operator.
9089
9090 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9091
9092         * BufferView_pimpl.C: refuse to open an inset when
9093         there's a selection.
9094
9095 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9096
9097         * BufferView_pimpl.C: allow to click on RHS of full row insets
9098
9099 2001-11-30  Juergen Vigna  <jug@sad.it>
9100
9101         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9102         insets for undo reasons.
9103
9104 2001-11-28  André Pönitz <poenitz@gmx.net>
9105
9106         * vspace.[Ch]: cosmetical changes
9107
9108 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9109
9110         * LyXAction.h:
9111         * LyXAction.C:
9112         * lyxfunc.h:
9113         * lyxfunc.C:
9114         * kbmap.h:
9115         * kbmap.C:
9116         * lyxrc.C:
9117         * kbsequence.h:
9118         * kbsequence.C: part re-write of old kb code
9119
9120         * Painter.C:
9121         * WorkArea.C: remove Lgb_bug_find_hack
9122
9123 2001-11-30  José Matos <jamatos@fep.up.pt>
9124
9125         * buffer.C (makeDocBookFile): add a comment to point a hack.
9126         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9127         Fixed a double write of labels.
9128
9129 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9130
9131         * LaTeX.C:
9132         * LaTeX.h Fixed bug in LaTeX class where it would not
9133         re-run latex if no depfiles were changed, but the .dvi was removed.
9134
9135 2001-11-28  André Pönitz <poenitz@gmx.net>
9136
9137         * all the files from the change on 2001/11/26:
9138         use lyx::layout_type instead of LyXTextClass::size_type
9139         use lyx::textclass_type instead of LyXTextClassList::size_type
9140
9141 2001-11-29  Juergen Vigna  <jug@sad.it>
9142
9143         * text.C: added support for paragraph::isFreeSpacing()
9144
9145         * buffer.C: same as above
9146
9147         * paragraph.h: inserted isFreeSpacing() function to enable
9148         FreeSpacing inside InsetERT.
9149
9150         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9151         of the paragraph's in the cut/copy buffer to 0!
9152
9153         * text2.C (removeRow): remove the assert as it can!
9154
9155         * lyxtext.h: added helper function firstRow returning firstrow and
9156         made firstrow private again.
9157
9158         * BufferView2.C (lockInset): don't relock if we're already locked!
9159
9160         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9161         the only paragraph.
9162         (removeRow): added Assert::(firstrow)
9163
9164         * debug.C: forgot to add INSETTEXT here.
9165
9166 2001-11-28  Juergen Vigna  <jug@sad.it>
9167
9168         * sp_spell.C (initialize): changed error text to more general
9169         spellchecker command use (not only ispell!)
9170
9171         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9172
9173         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9174
9175 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9176
9177         * vspace.C: initialise lyxgluelength on failure
9178
9179 2001-11-28  Allan Rae  <rae@lyx.org>
9180
9181         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9182         declaration & definition that looks like a function declaration.
9183
9184 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9185
9186         * BufferView2.C (copy):
9187         (copyEnvironment): do not clear the selection when doing a copy.
9188
9189         * text.C (paintFirstRow): compilation fix
9190
9191 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9192
9193         * tabular.C (Latex): correct line count when writing latex.
9194
9195 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9196
9197         * paragraph_pimpl.h:
9198         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9199           bug a bit
9200
9201 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9202
9203         * text.C:
9204         * LColor.h:
9205         * LColor.C: change vfillline->added_space
9206
9207         * text.C: add markers and text for added space
9208
9209         * vspace.C: fix comment
9210
9211 2001-11-28  André Pönitz <poenitz@gmx.net>
9212
9213         * paragraph.C: whitespace changes
9214         * all the other files from the change on 2001/11/26:
9215         change *::pos_type into lyx::pos_type
9216
9217 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9218
9219         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9220         language of the document when inserting error insets.
9221
9222 2001-11-26  André Pönitz <poenitz@gmx.net>
9223
9224         * BufferView_pimpl.[Ch]:
9225         *       CutAndPaste.C:
9226         * buffer.[Ch]:
9227         * lyxcursor.[Ch]:
9228         * lyxfind.C:
9229         * lyxfunc.C:
9230         * lyxrow.[Ch]:
9231         * paragraph.[Ch]:
9232         * paragraph_pimpl.[Ch]:
9233         * sp_spell.C:
9234         * text.C:
9235         * text2.C: reduce header dependencies, introduce type for positions
9236
9237 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9238
9239         * <various>: change to use Alert.h
9240
9241 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9242
9243         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9244         when encountering an unknown token.
9245         (readLyXformat2): Show an error message if there were unknown tokens.
9246
9247 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9248
9249         * BufferView2.C:
9250         * BufferView_pimpl.C:
9251         * buffer.C:
9252         * paragraph.h:
9253         * text.C:
9254         * text2.C: use par->isInset()
9255
9256 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9257
9258         * paragraph_pimpl.h:
9259         * paragraph_pimpl.C: cleanup
9260
9261 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9262
9263         * text2.C (removeRow):
9264         * text.C (setHeightOfRow): remove useless (and costly) call to
9265         getRow.
9266
9267 2001-11-20  Allan Rae  <rae@lyx.org>
9268
9269         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9270         Now need Inset*::checkInsertChar() to return true for appropriate
9271         cases so that the characters in the minibuffer will actually be
9272         inserted.
9273
9274 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9275
9276         * text.C: change the order of the includes.
9277         (workWidth): initialize it at once.
9278         (workWidth): make maxw unsigned
9279         (setHeightOfRow): remove unused variable (inset)
9280         (selectSelectedWord): remove unused variable (inset)
9281         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9282
9283 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9284
9285         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9286         server is not running.
9287         (openConnection):
9288         (closeConnection): add debug info when server is disabled.
9289
9290         * ColorHandler.C (getGCForeground): send debug message to GUI
9291         channel.
9292
9293         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9294
9295         * kbmap.C (bind): modify because return conventions of
9296         kb_sequence::parse have changed.
9297
9298         * kbsequence.C (parse): only ignore spaces and not any stupid
9299         control character. This avoids tests like s[i] <= ' ', which are
9300         guaranteed to fail with 8bit characters and signed chars.
9301         Change return code to string::npos when there have been no error
9302         (0 was a bad idea when error is at first character)
9303
9304 2001-11-14  José Matos  <jamatos@fep.up.pt>
9305
9306         * buffer.h:
9307         * buffer.C (simpleDocBookOnePar): removed unused argument.
9308
9309 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9310
9311         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9312         insets which are part of a word. Paragraph::isLetter takes care of
9313         that now. Use Paragraph::isInset to identify insets.
9314         (selectSelectedWord): do not test for hyphenation break.
9315
9316         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9317         that protected spaces are considered as spaces.
9318
9319         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9320         Inset::isLetter.
9321
9322 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9323
9324         * lyxserver.h:
9325         * lyxserver.C: fix it. and small cleanup.
9326
9327 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9328
9329         * BufferView_pimpl.C: use inline helpers
9330
9331         * LaTeXFeatures.h:
9332         * LaTeXFeatures.C: fix typos
9333
9334         * Spacing.h:
9335         * Spacing.C: move spacing_string into class
9336
9337         * ToolbarDefaults.C: move stuff into namespace anon
9338
9339         * layout.h: update enum
9340
9341         * lyxfunc.C: use better debug
9342
9343         * minibuffer.h: fix typo
9344
9345         * debug.h:
9346         * debug.C:
9347         * WorkArea.C: add and use Debug::WORKAREA
9348
9349         * lyxtext.h:
9350         * text.C:
9351         * text2.C: code re-organisation, inline helpers
9352
9353 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
9354
9355         * Layout.C: replaced a few cases of std::vector.size() == 0 with
9356         std::vector.empty().
9357
9358 2001-11-09  Allan Rae  <rae@lyx.org>
9359
9360         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9361         '\n's after tables.  Tabular and ERT inset work now makes this no
9362         longer necessary.
9363
9364 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9365
9366         * minibuffer.h:
9367         * minibuffer.C: fix crash, improve drop-down completion
9368
9369 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
9370
9371         * lyxserver.h:
9372         * lyxserver.C: invalidate fd's when doing endPipe()
9373
9374 2001-11-08  José Matos  <jamatos@fep.up.pt>
9375
9376         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9377         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9378
9379         * paragraph.h:
9380         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9381
9382 2001-11-07  José Matos  <jamatos@fep.up.pt>
9383
9384         * buffer.h:
9385         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9386         const qualifier.
9387
9388         * buffer.C (sgmlOpenTag):
9389         * buffer.C (sgmlCloseTag): removed debug info.
9390
9391         * buffer.h (sgmlOpenTag):
9392         * buffer.h (sgmlCloseTag): made public.
9393
9394 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9395
9396         * buffer.C (saveParamsAsDefaults):
9397         * lyx_cb.C (MenuLayoutSave): remove
9398
9399         * LyXAction.C (init):
9400         * commandtags.h:
9401         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9402
9403 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9404
9405         * buffer.C (setPaperStuff): removed from here...
9406
9407         * bufferparams.C (setPaperStuff): ... and moved there.
9408
9409 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
9410
9411         * minibuffer.h:
9412         * minibuffer.C:
9413         * XFormsView.C: add support for drop-down completion
9414
9415 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
9416
9417         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9418         commands.
9419
9420 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9421
9422         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9423         disabled.
9424
9425 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
9426
9427         * lyx_main.C: change ref to known bugs
9428
9429 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
9430
9431         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9432         to work around older babel problems.
9433
9434 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
9435
9436         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9437
9438 2001-10-24  Juergen Vigna  <jug@sad.it>
9439
9440         * tabular-old.C (ReadOld): below variable changes reflected.
9441
9442         * tabular.[Ch]: added ltType struct for longtable header/footer
9443         defines and changed all instances where they are used. Added
9444         future support for double top/bottom rows.
9445
9446 2001-10-24  José Matos  <jamatos@fep.up.pt>
9447
9448         * buffer.h (docbookHandleCaption):
9449         * buffer.C (docbookHandleCaption): removed unused function.
9450         (makeDocBookFile): moved docbook supported version to v4.1.
9451
9452 2001-10-24  José Matos  <jamatos@fep.up.pt>
9453
9454         * tabular.h:
9455         * tabular.C (docbookRow): new function to export docbook code of a row.
9456         (DocBook): now honors the longtable flags.
9457
9458 2001-10-23  José Matos  <jamatos@fep.up.pt>
9459
9460         * LaTeXFeatures.h:
9461         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9462         of the lyx defined sgml entities used in a docbook/linuxdoc document.
9463
9464         * buffer.C (makeLinuxDocFile):
9465         (makeDocBookFile): reworked the preamble, more clean, and with
9466         support for lyx defined entities. Changed the document declaration
9467         to be more XML friendly.
9468
9469         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9470         if we need to output XML that should be done with a filter.
9471
9472 2001-10-22  Juergen Vigna  <jug@sad.it>
9473
9474         * sp_pspell.h (class PSpell): add alive function needed in the
9475         controller to see if the spellchecker could be started.
9476
9477 2001-10-22  Juergen Vigna  <jug@sad.it>
9478
9479         * buffer.C (insertStringAsLines): modify the font for inserting
9480         chars in certain conditions by calling checkInsertChar(font).
9481
9482 2001-10-19  Juergen Vigna  <jug@sad.it>
9483
9484         * text.C (workWidth): use getRow instead of wrong algorithm.
9485         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9486
9487 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
9488
9489         * lyxserver.h:
9490         * lyxserver.C:
9491         * lyx_main.h:
9492         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9493
9494 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9495
9496         * text.C (workWidth): do not search for the exact row when
9497         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9498         optimization for big documents.
9499
9500 2001-10-18  Juergen Vigna  <jug@sad.it>
9501
9502         * text.C (workWidth): new function with added Inset * parameter.
9503
9504 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9505
9506         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9507
9508         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9509         change return type of getColumnNearX.
9510
9511
9512         * text.C (changeRegionCase): use uppercase/lowercase instead of
9513         toupper/tolower.
9514         (leftMargin):
9515         (rightMargin): simplify code by factoring out the uses of
9516         textclasslist.
9517         (labelFill):
9518         (numberOfHfills):
9519         (setHeightOfRow):
9520         (appendParagraph): use Paragraph::size_type
9521
9522 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9523
9524         * vspace.C (asLatexString): add a missing break
9525
9526 2001-10-15  Herbert Voss  <voss@perce.de>
9527
9528         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9529
9530 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9531
9532         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9533         is not available.
9534
9535 2001-10-10  André Pönitz <poenitz@gmx.net>
9536
9537         * lyxfunc.C: removed greek_kb_flag.
9538
9539 2001-10-10  Herbert Voss  <voss@perce.de>
9540
9541         * lyx_main.C: delete global string help_lyxdir.
9542
9543 2001-10-09  Herbert Voss  <voss@perce.de>
9544
9545         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9546
9547         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9548
9549         * lyx_main.C: added global string help_lyxdir.
9550
9551         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9552
9553 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9554
9555         * lyxrc.C (set_font_norm_type): support iso8859-4
9556
9557 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
9558
9559         * LaTeX.C (deplog): add another regex for MikTeX
9560
9561 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9562
9563         * lyxrc.C (set_font_norm_type): support iso8859-3
9564
9565 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9566
9567         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9568
9569         * LaTeXFeatures.C: remove special case of french and index
9570
9571         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9572         before \begin{document}). This solves several incompatibilities.
9573
9574 2001-10-03  Garst Reese  <reese@isn.net>
9575
9576         * lyx_cb.C: change CheckTex error msg.
9577
9578 2001-10-03  José Matos  <jamatos@fep.up.pt>
9579
9580         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9581
9582 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9583
9584         * .cvsignore: update
9585
9586         * lyx_main.C (commandLineVersionInfo): use new style version info.
9587
9588         * buffer.C (writeFile):
9589         (makeLaTeXFile):
9590         (makeLinuxDocFile):
9591         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9592
9593         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9594
9595         * version.h: update to use stuff in version.C
9596
9597         * version.C.in: new file. Contains version information determined
9598         at compile time. This is a merging of version.h and
9599         version_info.h.in.
9600
9601 2001-10-03  Juergen Vigna  <jug@sad.it>
9602
9603         * BufferView_pimpl.C (update): don't change "dirty" status in
9604         updateInset call.
9605
9606 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
9607
9608         * WorkArea.C (c-tor): re-position version string slightly.
9609
9610 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
9611
9612         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9613         revert to previous code.
9614
9615         WorkArea.[Ch]: (show, destroySplash): methods removed.
9616
9617         WorkArea.C: rework code so that it's an amalgam of the codes before and
9618         after the splash screen was moved to WorkArea.
9619
9620 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9621
9622         * lyxrc.C (read):
9623         * vspace.C (inPixels):
9624         (lyx_advance):
9625         * kbmap.C (bind):
9626         * buffer.C (insertStringAsLines):
9627         (asciiParagraph): fix types to be large enough
9628
9629         * lyxlex_pimpl.h: change member status from short to int
9630
9631         * layout.h: fix type of endlabeltype
9632
9633         * kbmap.C (bind):
9634         * kbsequence.C (parse): change return type to string::size_type
9635
9636         * LaTeX.C (updateBibtexDependencies): comment out unneeded
9637         variable
9638
9639         * Bullet.C (bulletSize):
9640         (bulletEntry): do not use short ints as parameters
9641
9642         * BufferView2.C (insertLyXFile): change a char to an int.
9643
9644         * WorkArea.C (WorkArea): remove unneeded floats in computation
9645
9646 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
9647
9648         * buffer.C (asciiParagraph): Treat '\\' as other chars.
9649
9650         * paragraph.C (asString): Do not ignore newline/hfill chars when
9651         copying to the clipboard.
9652
9653 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
9654
9655         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9656         after a multi-line inset.
9657
9658 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
9659
9660         * paragraph.C (validate): Set NeedLyXFootnoteCode
9661
9662 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9663
9664         * lyxfont.C (LyXSizeNames): changed increase-error to increase
9665         and decrease-error to decrease.
9666
9667 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9668
9669         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9670         it more readable (should be equivalent)
9671
9672 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9673
9674         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9675
9676 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9677
9678         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9679         of a cursor (row, etc.) after a character has been deleted
9680         (deleteEmptyParagraphMechanism): call the method above on _all_
9681         cursors held by the LyXText when a double space has been
9682         detected/deleted.
9683
9684 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9685
9686         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9687         pixmap.
9688         (resizeCurrentBuff): remove code to destroy the old splash dialog.
9689
9690         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9691         background. Use greyOut() and the new show() methods to toggle between
9692         the foreground and background. Add code to remove the splash after
9693         its initial showing.
9694
9695         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9696         (create_forms): no longer call Dialogs::showSplash.
9697
9698 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9699
9700         * .cvsignore: add version_info.h
9701
9702 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9703
9704         * version_info.h.in: new file
9705
9706         * Makefile.am: add version_info.h.in
9707
9708         * lyx_main.C (commandLineVersionInfo): use version_info defined in
9709         version_info.h instead of VERSION_INFO
9710
9711 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
9712
9713         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9714         The ERT inset now returns string().
9715
9716 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
9717
9718         * lyxtext.h, text.C (selectNextWord): renamed as
9719         selectNextWordToSpellcheck.
9720
9721         * text.C (selectNextWordToSpellcheck): Modified to not select
9722         words inside an ERT inset.
9723
9724 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9725
9726         * lyx_cb.C (MenuLayoutSave): change a bit the question
9727
9728         * sp_base.h: include <sys/types.h>
9729
9730 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
9731
9732         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9733
9734 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
9735
9736         * several files: fix typos in user-visible strings
9737
9738 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9739
9740         * text2.C (pasteSelection): do not set the selection, since it
9741         will be cleared later. Actually, the intent was to fix the way the
9742         selection was set, but I figured rmoving the code was just as good.
9743
9744 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
9745
9746         * FontLoader.C (available): Check if font is available without
9747         loading the font.
9748
9749 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
9750
9751         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9752
9753 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
9754
9755         * lyxrc.[Ch]: added display_graphics variable and associated code.
9756
9757 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9758
9759         * bufferparams.C (hasClassDefaults): new method. Returns true if
9760         the buffer parameters correspond to known class defaults
9761
9762 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
9763
9764         * XFormsView.C (show): set minimum size to the main window.
9765
9766 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9767
9768         * text2.C (copySelection):
9769         (cutSelection):
9770         * lyxfind.C (LyXReplace):
9771         * BufferView_pimpl.C (Dispatch): pass the correct flag to
9772         LyXText::selectionAsString.
9773
9774         * paragraph.C (asString): add "label" argument to the second form
9775
9776         * text2.C (selectionAsString): add "label" argument and pass it to
9777         Paragraph::asString.
9778
9779 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9780
9781         * lyx_main.C (commandLineHelp): remove version information
9782
9783 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
9784
9785         * lyx_main.C: add -version commandline option
9786
9787 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9788
9789         * paragraph.h: make the optional constructor arg required instead.
9790         some modifications to other files because of this.
9791
9792         * minibuffer.C (C_MiniBuffer_peek_event): make it static
9793
9794         * lyxserver.C (C_LyXComm_callback): make it static
9795
9796         * lyx_main.C (error_handler): make it static
9797
9798         * lyx_gui.C (LyX_XErrHandler): make it static
9799
9800         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9801
9802         * WorkArea.C: make the extern "C" methods static.
9803
9804         * Makefile.am (lyx_LDADD): simplify
9805
9806 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9807
9808         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9809         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9810
9811         * LyXAction.C (init):
9812         * lyxfunc.C (dispatch): associated code removal.
9813
9814 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9815
9816         * lyxfont.h (isSymbolFont): shut off warning
9817
9818         * text.C (setHeightOfRow):
9819         (getVisibleRow): fix crash with empty paragraphs which have a
9820         bottom line
9821
9822 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
9823
9824         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9825         code.
9826
9827 2001-09-04  José Matos  <jamatos@fep.up.pt>
9828         * buffer.C
9829         * buffer.h
9830         * tabular.C (docbook): rename docBook method to docbook.
9831
9832 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9833
9834         * Makefile.am: add dependencies to main.o.
9835
9836 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
9837
9838         * FontLoader.C (available): Return false if !lyxrc.use_gui
9839
9840 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
9841
9842         * FontInfo.C (query):
9843         * converter.C (view):
9844         * importer.C (Import):
9845         * exporter.C (Export): Can not -> cannot.
9846
9847 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
9848
9849         * BufferView_pimpl.C: allow to create index inset even if
9850           string is empty
9851
9852 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9853
9854         * buffer.C (getLists): replace boost::tie code with an explicit pair
9855         as boost::tie can break some compilers.
9856
9857         * iterators.h: Added a std:: declaration to the return type of
9858         ParIterator::size.
9859
9860 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
9861
9862         * lyxrc.C: add help for view_dvi_paper_option, default to safe
9863           case.
9864
9865 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
9866
9867         * iterators.[Ch]: New files. Provide paragraph iterators.
9868
9869         * buffer.C (changeLanguage): Use paragraph iterators.
9870         (isMultiLingual): ditto
9871
9872         * BufferView2.C (ChangeInsets): Use paragraph iterators.
9873
9874 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
9875
9876         * FontLoader.C: Support for cmr font.
9877
9878 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
9879
9880         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9881         (available): New method.
9882
9883         * FontInfo.C (getFontname): Use scalable fonts even when
9884         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9885         found.
9886
9887 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
9888
9889         * converter.C (Formats::view): reverted! Incorrect fix.
9890
9891 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
9892
9893         * converter.C (Formats::view): only output the -paper option
9894         if the dvi viewer is xdvi, thereby fixing bug #233429.
9895
9896 2001-08-23  Herbert Voss  <voss@perce>
9897
9898         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9899
9900 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9901
9902         * Spacing.h (Spacing): Set space to Default on in the default
9903         constructor.
9904
9905 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9906
9907         * vc-backend.h (RCS::versionString): add RCS to version
9908         (CVS::versionString): add CVS to version
9909
9910         * vc-backend.C (scanMaster): do not add CVS to version.
9911         (scanMaster): do not add RCS to version
9912
9913         * lyxvc.C (versionString): new method
9914
9915         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9916
9917 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9918
9919         * Spacing.C (set): initialize fval
9920
9921 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
9922
9923         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9924         " or \.
9925
9926 2001-08-16  Juergen Vigna  <jug@sad.it>
9927
9928         * lyxfunc.C (dispatch): implemented the new FINISHED states.
9929
9930 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
9931
9932         * BufferView_pimpl.C:
9933         * figureForm.C:
9934         * lyxtext.h:
9935         * text2.C: setParagraph takes linespacing now
9936
9937 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
9938
9939         * LyxAction.C: add internal LFUN_CITATION_INSERT
9940
9941         * LyXView.C: actually apply fix
9942
9943         * bufferlist.C: fix open non-existent file
9944
9945         * lyxfind.C: fix indentation
9946
9947         * lyxfunc.C: remove unneeded assert, fix typo
9948
9949 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
9950
9951         * MenuBackend.C: use "Floatname List"
9952
9953 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
9954
9955         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9956         when converting LaTeX layout to insetERT.
9957         Generate a non-collapsed float when reading old float
9958
9959 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
9960
9961         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9962         ERT insets.
9963
9964 2001-08-13  Juergen Vigna  <jug@sad.it>
9965
9966         * text.C (fill): return 0 instead of 20 as this seems to be the more
9967         correct value.
9968
9969 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
9970
9971         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9972         lyxrc.font_norm.
9973
9974 2001-08-13  Juergen Vigna  <jug@sad.it>
9975
9976         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9977         casesensitive off.
9978         (SearchBackward): comment out the unlocking of the inset_owner this
9979         should not be needed!
9980
9981 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
9982
9983         * Many files: Remove inherit_language, and add latex_language
9984
9985         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9986         collapsible insets.
9987
9988 2001-08-10  Juergen Vigna  <jug@sad.it>
9989
9990         * text.C (prepareToPrint): fixed hfill-width in draw!
9991
9992         * BufferView2.C (selectLastWord): save the selection cursor as this
9993         now is cleared in the function LyXText::clearSelection!
9994
9995 2001-08-08  Juergen Vigna  <jug@sad.it>
9996
9997         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9998         BACKSPACE type functions.
9999
10000         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10001         is only cutted from the document but not put in the cut-buffer, where
10002         still the old stuff should be.
10003
10004         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10005
10006         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10007
10008         * tabular.C (SetWidthOfCell): fixed special case where the width
10009         was not updated!
10010         (LeftLine): handle '|' in align_special.
10011         (RightLine): ditto
10012         (LeftAlreadyDrawed): ditto
10013         (SetWidthOfCell): ditto
10014
10015 2001-08-07  Juergen Vigna  <jug@sad.it>
10016
10017         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10018
10019 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10020
10021         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10022         * lyxlex.[hC]: ditto
10023
10024 2001-08-06  Juergen Vigna  <jug@sad.it>
10025
10026         * text.C (getVisibleRow): fix up row clearing a bit.
10027
10028 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10029
10030         * minibuffer.C: make sure the X server sees the changes in the input.
10031
10032 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10033
10034         * paragraph.C (getFont): split into...
10035         (getLabelFont): this
10036         (getLayoutFont): and this
10037         * paragraph_pimpl.C (realizeFont): calling this
10038
10039         * text2.C (getFont): split into...
10040         (getLayoutFont): this
10041         (getLabelFont): and this
10042         (realizeFont): all three calling this
10043
10044         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10045         files where used.
10046
10047 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10048
10049         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10050
10051 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10052
10053         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10054         layouts from the Quote inset insertion.
10055
10056 2001-08-03  Juergen Vigna  <jug@sad.it>
10057
10058         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10059
10060         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10061         only if status not is already CHANGED_IN_DRAW (second level).
10062
10063         * text.C (draw): don't set the need_break_row when inside an
10064         InsetText LyXText.
10065
10066 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10067
10068         * buffer.C (parseSingleLyXformat2Token): handle more latex
10069         conversion cases.
10070
10071         * bufferview_funcs.[hC]: change function names to
10072         begin with small char, adjust other files.
10073
10074 2001-08-02  André Pönitz <poenitz@gmx.net>
10075
10076         * lyxfunc.C:
10077         BufferView_pimpl.C: remove broken special code for math-greek
10078
10079 2001-08-02  Juergen Vigna  <jug@sad.it>
10080
10081         * BufferView_pimpl.C (update): redone this function so that we
10082         update the text again if there was a CHANGE_IN_DRAW.
10083
10084         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10085         (drawFromTo): added a new internal bool which is used by draw() and
10086         redraw() function.
10087         (general): some cursor drawing problems fixed.
10088
10089 2001-08-01  Juergen Vigna  <jug@sad.it>
10090
10091         * lyxfind.C (LyXFind): fixed
10092         (SearchForward): ditto
10093         (SearchBackward): ditto
10094
10095         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10096         spurius drawing of the cursor in the main area.
10097
10098         * text2.C (status): small fix which could lead to a segfault!
10099         (clearSelection): remove unneeded BufferView param.
10100
10101 2001-08-01  André Pönitz <poenitz@gmx.net>
10102
10103         * lyxfunc.C: small change due to changed mathed interface
10104
10105 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10106
10107         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10108
10109 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10110
10111         * lyxfunc.c: fail gracefully if file doesn't exist
10112
10113         * LyXSendto.C:
10114         * buffer.C:
10115         * lyxfunc.C:
10116         * BufferView_pimpl.C: IsDirWriteable() proto changed
10117
10118         * LyXView.C: fix updateWindowTitle() to store the last title
10119
10120 2001-07-31  Juergen Vigna  <jug@sad.it>
10121
10122         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10123         the font (wrong since using of Paragraph::highestFontInRange).
10124
10125         * paragraph.C (highestFontInRange): added a default_size parameter.
10126
10127         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10128         (setHeightOfRow): reformat
10129
10130 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10131
10132         * converter.[hC] + affected files: move to (inital-char)lowercase
10133         function names.
10134
10135         * ParagraphParameters.C (ParagraphParameters): remove commented code
10136
10137         * PainterBase.[Ch]: remove commented code
10138
10139         * LaTeXFeatures.h: add "bool floats" for float.sty
10140
10141         * LaTeXFeatures.C (LaTeXFeatures): init floats
10142         (require): handle float
10143         (getPackages): do it with floats
10144
10145 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10146
10147         * BufferView_pimpl.C (Dispatch): improve handling of
10148         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10149
10150         * commandtags.h: #include lyxfont.h here temporarily to avoid
10151         keybinding bug.
10152
10153         * bufferlist.h: include LString.h here.
10154
10155 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10156
10157         * text2.C (getStringToIndex): new method.
10158
10159 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10160
10161         * *: Reduced header file dependencies all over.
10162
10163 2001-07-30  Baruch Even  <baruch@lyx.org>
10164
10165         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10166
10167 2001-07-29  Baruch Even  <baruch@lyx.org>
10168
10169         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10170
10171 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10172
10173         * ParameterStruct.h (endif): add a default constructor to make
10174         sure that all variables is initialized.
10175
10176         * ParagraphParameters.C (ParagraphParameters): adjust
10177
10178 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10179
10180         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10181         index; also, check that there is something to index, and that it
10182         does not span over several paragraphs.
10183         (doubleClick): use WHOLE_WORD_STRICT for double click.
10184
10185         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10186
10187         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10188         scheme.
10189
10190 2001-07-26  Baruch Even  <baruch@lyx.org>
10191
10192         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10193         an InsetFig figure, backwards compatible reading of old figure code.
10194
10195 2001-07-27  Juergen Vigna  <jug@sad.it>
10196
10197         * text2.C: font.realize function adaption.
10198
10199         * text.C (draw): add a warnings lyxerr text if needed.
10200
10201         * layout.C: font.realize function adaption.
10202
10203         * language.C: add inherit_language and implement it's handlings
10204
10205         * bufferview_funcs.C (StyleReset): remove language parameter from
10206         font creation (should be language_inherit now).
10207
10208         * bufferparams.C (writeFile): handle ignore_language.
10209
10210         * paragraph.C (getFontSettings): the language has to be resolved
10211         otherwise we have problems in LyXFont!
10212
10213         * lyxfont.C (lyxWriteChanges): added document_language parameter
10214         (update): removed unneeded language parameter
10215
10216         * paragraph.C (validate): fixed wrong output of color-package when
10217         using interface colors for certain fonts in certain environments,
10218         which should not seen as that on the final output.
10219
10220 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10221
10222         * BufferView_pimpl.C:
10223         * Thesaurus.h:
10224         * Thesaurus.C:
10225         * Makefile.am:
10226         * commandtags.h:
10227         * LyXAction.C: add thesaurus support
10228
10229         * lyxfind.h:
10230         * lyxfind.C: add "once" parameter, for thesaurus, to not
10231           move to the next match
10232
10233 2001-07-26  Juergen Vigna  <jug@sad.it>
10234
10235         * lyxfont.C (realize): honor ignore_language too!
10236         (resolved): ditto.
10237
10238         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10239
10240         * text.C (draw): one place more for ignore_language to not draw
10241         itself!
10242
10243 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10244
10245         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10246
10247 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10248
10249         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10250         the minipage conversion problem.
10251
10252 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10253
10254         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10255         insert an inset.
10256
10257 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10258
10259         * BufferView.h: don't forward declare WorkArea
10260
10261         * BufferView.C: don't include WorkArea.h
10262
10263 2001-07-25  André Pönitz <poenitz@gmx.net>
10264
10265         * commandtags.h:
10266         * LyXAction.C:
10267         * lyxfunc.C:  new LFUN 'math-space'
10268
10269         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10270
10271 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10272
10273         * text2.C (toggleInset): call open/close
10274
10275 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10276
10277         * lyxfunc.C (dispatch): add debug for the disabled case
10278
10279         * font.C (buttonText): make similar to rectText
10280
10281         * buffer.C (readInset): comment out parsing of insetlist and
10282         insttheorem
10283
10284         * PainterBase.C (rectText): small correction
10285
10286         * BufferView_pimpl.C: comment out insettheorem and insetlist
10287         * LyXAction.C: ditto
10288         * commandtags.h: ditto
10289
10290 2001-07-24  Juergen Vigna  <jug@sad.it>
10291
10292         * text.C (draw): honor the ignore_language.
10293
10294         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10295
10296 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10297
10298         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10299         char inset.
10300
10301 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10302
10303         * lyxtext.h: remove unused (and unimplemented) methods
10304
10305 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10306
10307         * text.C (getVisibleRow): honor background color
10308
10309         * PainterBase.h:
10310         * Painter.h: remove default color argument for fillRectangle
10311
10312         * text.C (backgroundColor): new method
10313
10314 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10315
10316         * text.C (getVisibleRow): adjust
10317
10318         * font.[Ch] (rectText): new method, metrics
10319         (buttonText): new method, metrics
10320
10321         * PainterBase.[hC]: make rectText and buttonText always draw and take
10322         fewer paramteres.
10323
10324 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10325
10326         * ToolbarDefaults.C (read):
10327         * MenuBackend.C (read): allow escaping in all strings
10328
10329         * BufferView_pimpl.C (insertAndEditInset): new method.
10330         (Dispatch): use insertAndEditInset whenever appropriate.
10331
10332         * BufferView_pimpl.C (insertNote): removed
10333
10334         * BufferView_pimpl.C (smartQuote): new method, moved from
10335         BufferView; if an insetquote cannot be inserted, insert a '"'
10336         character instead.
10337
10338         * BufferView2.C: remove insertCorrectQuote();
10339
10340         * lyxfunc.C (getStatus): Add support for all remaingin
10341         inset-insert lfuns.
10342
10343         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10344
10345         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10346         command (necessary to pass " as parameter of self-insert.
10347
10348         * text.C (selectWordWhenUnderCursor):
10349         (selectWord): add word_location parameter
10350         (selectWordWhenUnderCursor): same + remove special code for word
10351         boundary.
10352         (selectNextWord): use kind() to guess type of insetspecialchar,
10353         not latex().
10354
10355         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10356         (insertErtContents): create ert insets as collapsed.
10357         (readInset): better compatibility code for Info inset.
10358
10359 2001-07-20  Juergen Vigna  <jug@sad.it>
10360
10361         * lyxfunc.C (dispatch): use always LyXFind now!
10362
10363         * text2.C (init): add a reinit flag so that the LyXText can be
10364         reinited instead of deleted and reallocated (used in InsetText).
10365
10366         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10367
10368         * text.C: ditto
10369
10370         * text2.C: ditto
10371
10372 2001-07-18  Juergen Vigna  <jug@sad.it>
10373
10374         * text.C (selectNextWord): handle insets inside inset by calling
10375         always the bv->text functions so that we can go up the_locking_inset!
10376
10377         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10378         in strange locations when inside an inset!
10379
10380         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10381         handling to include insets.
10382
10383         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10384
10385 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10386
10387         * LyXAction.C (init):
10388         * commandtags.h:
10389         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10390         LIGATURE_BREAK, since the name is so stupid.
10391
10392 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10393
10394         * buffer.C (readInset): enable reading of new InsetNotes as well as old
10395         InsetInfos.
10396
10397         * FontLoader.C: remove FORMS_H_LOCATION cruft.
10398
10399         * sp_form.[Ch]: remove.
10400
10401         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10402
10403         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10404         InsetInfo.
10405
10406         * src/buffer.C (readInset): ditto.
10407
10408 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10409
10410         * BufferView_pimpl.C (specialChar): new method. Obsoletes
10411         menuSeparator(), endOfSentenceDot(), ldots() and
10412         hyphenationPoint(), which are therefore removed.
10413         (Dispatch): handle LFUN_HYPHENATION_BREAK.
10414
10415         * LyXAction.C (init):
10416         * commandtags.h: add LFUN_HYPHENATION_BREAK.
10417
10418         * paragraph.C (getWord): removed.
10419
10420         * BufferView_pimpl.C (Dispatch): use last word or selection for
10421         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10422
10423         * lyx_main.C (queryUserLyXDir): do not ask before creating
10424         user_dir, except if it has been named explicitely.
10425
10426 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10427
10428         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10429         a document of zero size.
10430
10431 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
10432
10433         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10434         approriately in the c-tor and in require().
10435         (getPackages): output the appropriate LaTeX for natbib support.
10436
10437         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10438         variables "use_natbib" and "use_numerical_citations" when reading the
10439         LyX file.
10440         (readInset): read the various natbib cite commands.
10441         (validate): white-space change.
10442
10443         * bufferparams.[Ch]: new variables "bool use_natbib" and
10444         "bool use_numerical_citations".
10445         (writeFile): output them in the LyX file.
10446
10447 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10448
10449         * lyxfunc.C (getStatus): add support for all the inset insertion
10450         commands.
10451
10452         * text2.C (insertInset):
10453         * paragraph.C (insetAllowed):
10454         * BufferView_pimpl.C (insertInset): update to take in account the
10455         renaming of insertInsetAllowed
10456
10457         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10458
10459         * text2.C (getInset): new method. returns inset at cursor position.
10460
10461         * BufferView_pimpl.C (Dispatch): changes because of this.
10462
10463         * LyXAction.C (init): rename open-stuff to inset-toggle.
10464
10465         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10466
10467         * text2.C (toggleInset): renamed from openStuff; use
10468         Inset::open().
10469
10470 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
10471
10472         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10473
10474         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10475
10476 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
10477
10478         * buffer.C (readLyXformat2): Add filename to the error dialog
10479
10480 2001-07-18  Juergen Vigna  <jug@sad.it>
10481
10482         * tabular.C (GetCellNumber): put an assert here instead of the check!
10483
10484 2001-07-17  Juergen Vigna  <jug@sad.it>
10485
10486         * BufferView_pimpl.C (toggleSelection): adapted too.
10487
10488         * text.C (selectNextWord): adapted for use with insets.
10489         (selectSelectedWord): ditto
10490
10491 2001-07-17  Juergen Vigna  <jug@sad.it>
10492
10493         * sp_spell.C (PSpell): fix initialitation order.
10494
10495 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10496
10497         * paragraph.C: spacing
10498
10499 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
10500
10501         * sp_spell.C: repair language selection for pspell
10502
10503 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10504
10505         * lyxfunc.h: change more methods to begin with lower char.
10506
10507 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
10508
10509         * buffer.C (parseSingleLyXformat2Token): Generate error insets
10510         for unknown layouts.
10511
10512 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10513
10514         * buffer.C (readLyXformat2): Generate an error dialog if there are
10515         unknown layouts.
10516
10517 2001-07-16  Juergen Vigna  <jug@sad.it>
10518
10519         * sp_spell.C: always compile ISpell part.
10520
10521         * lyxrc.C: added use_pspell entry and it's handling.
10522
10523 2001-07-13  Juergen Vigna  <jug@sad.it>
10524
10525         * sp_spell.C: removed double includes.
10526
10527 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
10528
10529         Consistent use of Lsstream.h:
10530         * Lsstream.h: added using std::stringstream for consistencies sake.
10531
10532         * buffer.C: removed using std::stringstream
10533
10534         * lyxfont.C (stateText):
10535         * paragraph.C (asString):
10536         * text.C (selectNextWord, selectSelectedWord):
10537         * text2.C (setCounter):
10538         * vspace.C (asString, asLatexString):
10539         std::ostringstream -> ostringstream.
10540
10541 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10542
10543         * LyXAction.C: add LFUN_HELP_ABOUTLYX
10544         * commandtags.h: add LFUN_HELP_ABOUTLYX
10545         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10546
10547 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10548
10549         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10550         cursorToggle()
10551         * lyx_gui_misc.C: remove spellchecker
10552         * lyxfunc.C: showSpellchecker
10553         * sp_base.h: added
10554         * sp_ispell.h: added
10555         * sp_pspell.h: added
10556         * sp_spell.C: added
10557         * sp_form.[Ch]: removed
10558         * spellchecker.[Ch]: removed
10559
10560 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
10561
10562         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10563         is set.
10564         (simpleTeXSpecialChars): Simply print the input character without
10565         any special translation if pass_thru is set.
10566
10567         * layout.h: Added bool pass_thru to layout class for being able to
10568         implement pass through of a paragraph for Literate Programming.
10569
10570         * layout.C: add LT_PASS_THRU to LayoutTags enum.
10571         * layout.C (LyXLayout): set pass_thru to flase in constructor.
10572         * layout.C (Read): add "passthru" to list of layout tags and add
10573         code to set the pass_thru boolean when it is read.
10574
10575 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10576
10577         * trans_decl.h: remove allowed from KmodInfo
10578
10579         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10580         remove allowed code
10581         (Load): adjust
10582
10583         * paragraph_pimpl.C (erase): use boost::prior
10584
10585         * Painter.C (text): use data() instead of c_str() when length is
10586         also provided.
10587         * WorkArea.C (putClipboard): ditto
10588         * font.h (width): ditto
10589
10590         * BufferView2.C: use it-> instead of (*it). for iterators
10591         * texrow.C: ditto
10592         * paragraph_pimpl.C: ditto
10593         * paragraph.C: ditto
10594         * minibuffer.C: ditto
10595         * language.C: ditto
10596         * kbmap.C: ditto
10597         * encoding.C: ditto
10598         * counters.C: ditto
10599         * converter.C: ditto
10600         * chset.C: ditto
10601         * Variables.C: ditto
10602         * TextCache.C: ditto
10603         * MenuBackend.C: ditto
10604         * LyXAction.C: ditto
10605         * LColor.C: ditto
10606         * FloatList.C: ditto
10607         * DepTable.C: ditto
10608         * ColorHandler.C (LyXColorHandler): ditto
10609
10610 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10611
10612         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10613
10614         * text2.C (openStuff): reintroduce this method (which had been
10615         nuked in NEW_INSETS frenzy).
10616
10617         * lyxfunc.C (Dispatch): when an action has not been handled, use
10618         its name in the error message, not its number.
10619
10620         * paragraph.C (inInset): change method name to begin with lowercase.
10621
10622         * undo_funcs.C:
10623         * text2.C: updates because of this.
10624
10625 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10626
10627         * ToolbarDefaults.C (add): add spaces in error message
10628
10629 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10630
10631         * buffer.C (readLyXformat2): initialize the ert comp. variables.
10632         (readLyXformat2): rename return_par to first_par, use lyxlex's
10633         pushToken and remove the manual push handling.
10634         (parseSingleLyXformat2Token): add another ert comp. variable:
10635         in_tabular, rename return_par to first_par. handle newlines better
10636
10637 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10638
10639         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10640
10641 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10642
10643         * text2.C (getParFromID): removed
10644
10645         * buffer.C (getParFromID): new method moved form lyxtext.
10646         * BufferView2.C (insertErrors): adjust
10647         (setCursorFromRow): adjust
10648         * BufferView_pimpl.C (restorePosition): adjust
10649         * lyxfunc.C (Dispatch): adjust
10650         * undo_funcs.C (textUndo): adjust
10651         (textRedo): adjust
10652         (textHandleUndo): adjust
10653         (textHandleUndo): adjust
10654
10655 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10656
10657         * buffer.C: up' the LYX_FORMAT
10658
10659         * lyxfont.h: turn NO_LATEX on as default
10660
10661         * buffer.C (insertErtContents): new methods of tex style compability.
10662         (parseSingleLyXformat2Token): use it several places.
10663         * tabular.C (OldFormatRead): and here
10664
10665 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10666
10667         * text2.C: remove some commented code.
10668         reindent file.
10669
10670         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10671         * trans.C: changes because of the above.
10672
10673 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
10674
10675         * text2.C (setCounter): Fix counters bug with bibliography layout.
10676
10677 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10678
10679         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10680         own member functions
10681         (simpleTeXSpecialChars): ditto
10682
10683 2001-07-06  Juergen Vigna  <jug@sad.it>
10684
10685         * a lot of files: changed the access to LyXText::status and the
10686         call of undo-functions.
10687
10688         * undo.[Ch]: added a inset_id to the undo informations.
10689
10690         * undo_funcs.[Ch]: added and moved here all undo functions.
10691
10692         * lyxtext.h: give the status enum a weight, made status_ a private
10693         variable and made accessor functions for it, removed the whole bunch
10694         of undo-functions as they are now in their own file, make some
10695         functions publically available. Added function ownerParagraph with
10696         int parameter.
10697
10698         * paragraph.[Ch]: added "bool same_ids" to the constructor,
10699         made InInset() a const function, added getParFromID() function.
10700
10701         * buffer.[Ch]: added const version for inset_iterator functions,
10702         added getInsetFromID() function.
10703
10704         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10705         changed undo functions for new version.
10706
10707 2001-07-05  Juergen Vigna  <jug@sad.it>
10708
10709         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10710         unknow mechanism does not call the proper constructor but only this
10711         one also if I request the other!?
10712
10713 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10714
10715         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10716
10717         * text2.C (LyXText): use initialization lists.
10718
10719         * lyxtext.h (Selection): initialize set_ and mark_
10720         (init): remove method
10721
10722 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
10723
10724         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10725
10726 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10727
10728         * screen.[Ch]: change method names to begin with lowercase
10729
10730         * BufferView_pimpl.C (updateScrollbar): simplify further and
10731         hopefully make it a bit faster.
10732
10733 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10734
10735         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10736         calling directly xforms functions.
10737
10738         * Painter.C (Painter):
10739         * lyx_cb.C (MenuWrite):
10740         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10741         fl_display.
10742
10743         * lyx_gui.C: remove bogus guiruntime extern declaration.
10744
10745 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10746
10747         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10748         in NEW_INSETS
10749         (redoDrawingOfParagraph): ditto
10750         (redoParagraphs): ditto
10751         (cutSelection): don't create a object for CutAndPaste use the
10752         static method directly
10753         (pasteSelection): ditto
10754
10755         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10756         LyXview (+ rename)
10757
10758 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10759
10760         * modifications to some other files because of this.
10761
10762         * Makefile.am (lyx_SOURCES): add XFormsView
10763
10764         * XFormsView.[Ch]: new files
10765
10766         * LyXView.[Ch]: make LyXView a base class for the gui handling for
10767         the main window. Move the gui dependent stuff to XFormsView
10768
10769 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10770
10771         * tabular.C (GetCellInset): update cur_cell also in the row/col
10772         version of this function.
10773
10774         * lyxfunc.C: no need to include figure_form.h here.
10775
10776         * FontLoader.h:
10777         * lyxfunc.h:
10778         * lyxscreen.h:
10779         * text2.C:
10780         * lyxvc.C: no need to include forms.h here.
10781
10782 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10783
10784         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10785
10786         * lyxfunc.C (Dispatch):
10787         * Spacing.C (set):
10788         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10789         constructor argument.
10790
10791 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10792
10793         * paragraph.C (Paragraph): dont't clear, and just set layout.
10794         (makeSameLayout): use params's copy contructor.
10795
10796         * ParagraphParameters.[Ch] (makeSame): delete method
10797
10798 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
10799
10800         * Variables.[Ch]: fix indentation, rename set to isSet
10801
10802 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10803
10804         * lyxfunc.C (Dispatch): fix typo
10805
10806 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10807
10808         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10809         upper_bound.
10810
10811         * bufferlist.C: include assert.h for emergencyWrite().
10812
10813 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10814
10815         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10816           give up at last (bug #425202) !
10817
10818 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
10819
10820         * lyx_gui_misc.C:
10821         * sp_form.h:
10822         * sp_form.C:
10823         * spellchecker.h:
10824         * spellchecker.C: strip spellchecker options and bring up
10825           preferences tab instead
10826
10827 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10828
10829         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10830         the istringstream constructor
10831
10832 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10833
10834         * paragraph.C (getLayout): fix return value
10835
10836         * paragraph.h: do not declare getLayout as inline.
10837
10838         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10839
10840 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10841
10842         * lyxcursor.h (operator<): new func
10843         (operator>): new func
10844         (operator>=): new func
10845         (operator<=): new func
10846
10847         * text.C (changeCase): use selection.start and selection.end
10848         (changeRegionCase): require from to be <= to. Require par to be a
10849         valid paragraph.
10850
10851         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10852
10853 2001-06-27  Juergen Vigna  <jug@sad.it>
10854
10855         * text.C (cursorLeftOneWord): changed to return the cursor and added
10856         overlay with BufferView * parameter which calls this one.
10857         (getWord): added
10858         (selectWord): use new getWord function.
10859         (changeCase): renamed from changeWordCase as and extended to work
10860         also on selections.
10861
10862         * lyxtext.h: added enum word_location
10863
10864         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10865         changeCase as this operates now also on selections.
10866
10867 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
10868
10869         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10870
10871         * many files: send debug output to Debug::INFO instead of
10872         Debug::ANY.
10873
10874         * converter.C (View):
10875         (Convert):
10876         (Move): send debug output to Debug::FILES instead of console.
10877
10878 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
10879
10880         * lyxfunc.C (getStatus): use func_status
10881
10882         * func_status.h: new header, describing the results of
10883         LyXFunc::getStatus;
10884
10885         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10886         LFUN_MATH_HALIGN.
10887
10888 2001-06-25  The LyX Project  <jug@sad.it>
10889
10890         * buffer.C (sgmlOpenTag):
10891         (sgmlCloseTag):
10892         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
10893
10894 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10895
10896         * text2.C: remove some dead code
10897
10898         * tabular.C (GetCellInset): store the last cell checked (gotten)
10899
10900         * tabular.h: add the helper for the speedup
10901
10902         * lyxtext.h: remove some dead code
10903
10904 2001-06-26  The LyX Project  <Asger>
10905
10906         * paragraph.C: Change export to LaTeX of alignment to
10907         \begin{center} and family for better roundtrip work with reLyX.
10908
10909         * Tune the math drawing a bit.
10910
10911 2001-06-25  The LyX Project  <Asger>
10912
10913         * LColor.C (LColor): New color for math background. New color
10914         for buttons.
10915
10916 2001-06-25  The LyX Project  <jug@sad.it>
10917
10918         * lyxfunc.C (MenuNew): remove extra check for .lyx file
10919
10920         * lyxfunc.C (Open):
10921         * bufferlist.C (newFile): do not restrict to files ending with
10922         .lyx
10923
10924         * BufferView_pimpl.C (MenuInsertLyXFile):
10925
10926 2001-06-24  The LyX Project  <jug@sad.it>
10927
10928         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10929         of compare_no_case
10930
10931 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10932
10933         * lyxtext.h: rename most methods to begin with a small char.
10934         Lots of changes because of this.
10935
10936         * paragraph.C (Paragraph): do not call fitToSize
10937         (erase): call Pimpl::erase
10938         (insertChar): call Pimpl::insertChar
10939         (insertInset): call Pipl::insertInset
10940         (breakParagraph): do not call fitToSize
10941         (breakParagraphConservative): do not call fitToSize
10942         (fitToSize): remove method
10943
10944         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10945
10946 2001-06-24  The LyX Project  <Asger>
10947
10948         * Fix Qt compilation^2
10949
10950 2001-06-24  The LyX Project  <jug@sad.it>
10951
10952         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10953         depthHook(getDepth()-1).
10954
10955         * paragraph.h:
10956         * ParagraphParameters.h:
10957         * ParameterStruct.h: change type of depth to unsigned int ==
10958         depth_type. Many adaptations to other files before of that.
10959
10960 2001-06-24  The LyX Project  <Asger>
10961
10962         * Fix Qt compilation.
10963
10964 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10965
10966         * paragraph.h: renamed several methods to begin with small letter.
10967         several changes to many parts of the code because of this.
10968
10969 2001-06-23  The LyX Project  <jug@sad.it>
10970
10971         * text2.C (InsertStringAsLines): renamed from InsertStringA;
10972         rewritten to discard all double spaces when KeepEmpty is off
10973         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10974         to only handle newlines but not fiddle with spaces and friends.
10975
10976         * lyxfunc.C (MenuNew): when doing 'new from template', use
10977         template_path as default directory
10978
10979 2001-06-23  The LyX Project  <Asger>
10980
10981         * Clean-up of header file includes all over
10982         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10983
10984 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10985
10986         * paragraph.h: renamed from lyxparagraph.h
10987
10988 2001-06-23  Asger  <lyx@violet.home.sad.it>
10989
10990         * Buffer.h: Removed Buffer::resize
10991         * BufferList.h: Removed BufferList::resize
10992         * LyXView.h: Added LyXView::resize. This way, we will only reflow
10993         the document lazily when we change the width, or the font settings.
10994
10995 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10996
10997         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10998
10999 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11000
11001         * buffer.h: remove out of date comment
11002
11003 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11004
11005         * lyxscreen.h:
11006         * screen.C: fix "theoretical" GC leak
11007
11008 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11009
11010         * LaTeX.C (scanAuxFile):
11011         (deplog): remove trailing \r when reading stream (useful under
11012         win32)
11013
11014 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11015
11016         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11017         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11018         and BufferView::theLockingInset(Inset*), so should use them and not
11019         access bv_->text->the_locking_inset directly.
11020
11021         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11022
11023 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11024
11025         * Makefile.am:
11026         * tex-defs.h: remove old unused file
11027
11028 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11029
11030         * BufferView_pimpl.C: fix typo, remove minibuffer message
11031           when buffer has loaded
11032
11033 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11034
11035         * lyxfunc.C (Dispatch): use stringstream
11036         (MenuNew): use stringstream
11037         (Open): use stringstream
11038
11039         * importer.C (Import): use stringstream
11040
11041         * bufferview_funcs.C (CurrentState): use stringstream
11042
11043         * LaTeX.C (run): use stringstream
11044
11045         * BufferView_pimpl.C (savePosition): use stringstream
11046         (restorePosition): use stringstream
11047         (MenuInsertLyXFile): use stringstream
11048
11049 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11050
11051         * BufferView.C:
11052         * Bullet.C:
11053         * ColorHandler.C:
11054         * FontInfo.C:
11055         * FontLoader.C:
11056         * LColor.C:
11057         * LaTeXFeatures.C:
11058         * Painter.C:
11059         * gettext.C:
11060         * lyx_gui_misc.C:
11061         * lyxserver.C:
11062         * vspace.C: removed // -*- C++ -*- as first line.
11063
11064         * lyxfind.h:
11065         * version.h: added // -*- C++ -*- as first line.
11066
11067 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11068
11069         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11070
11071         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11072         of string
11073
11074 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11075
11076         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11077         of floats.
11078
11079 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11080
11081         * gettext.C: include LString.h even when --disable-nls is on.
11082
11083 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11084
11085         * converter.h (Get): changed argument type from int to
11086         FormatList::size_type to avoid unnecessary conversion.
11087
11088         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11089         before using it.
11090
11091 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11092
11093         * gettext.h: include LString.h even when --disable-nls is on.
11094
11095 2001-06-07  Juergen Vigna  <jug@sad.it>
11096
11097         * text.C (BreakAgain): subst spaces with tabs.
11098
11099         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11100         (resizeInsetsLyXText): set force on resizeLyXText.
11101
11102 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11103
11104         * gettext.h (gettext_init):
11105         (locale_init): use a real definition instead of a macro
11106
11107 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11108
11109         * Bufferview_pimpl.C:
11110         * LColor.h:
11111         * LColor.C: further lcolor tidies
11112
11113 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11114
11115         * BufferView_pimpl.C (updateScrollbar): simplify.
11116
11117         * BufferView2.C: don't include insets/insetinfo.h, change
11118         prototype for insertInset and call the Pimpl version. let
11119         updateInset call Pimpl version.
11120
11121         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11122         gotoInset to BufferView::Pimpl
11123
11124 2001-06-01  Juergen Vigna  <jug@sad.it>
11125
11126         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11127         inside a LockingInset (is the update needed at all?).
11128
11129 2001-05-31  Juergen Vigna  <jug@sad.it>
11130
11131         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11132         here not the old one otherwise how should we compare it afterwards
11133         if it's the same!
11134
11135 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11136
11137         * lyxfont.C:
11138         * tabular.C:
11139         * tabular-old.C:
11140         * FontInfo.C: bring C functions into global namespace when
11141         necessary
11142
11143 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11144
11145         * LString.h: make sure config.h has been loaded before LString.h.
11146
11147         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11148         (one for each char read by EatLine!).
11149
11150         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11151         variables.
11152
11153 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11154
11155         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11156         to the same as the par we break from
11157
11158 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11159
11160         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11161
11162         * MenuBackend.C (expand): also create menu entries for wide
11163         versions of the floats.
11164
11165         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11166
11167         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11168
11169         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11170         frontends/Makefile.am
11171
11172         * text2.C: adjust
11173         * text.C: adjust
11174
11175
11176         * tabular.C (getTokenValue): add std::
11177
11178         * tabular-old.C (getTokenValue): add std::
11179         (getTokenValue): ditto
11180         (getTokenValue): ditto
11181
11182         * screen.C (ToggleSelection): adjust
11183
11184         * lyxtext.h: put selection cursors inside a Selection struct.
11185
11186         * lyxfunc.C (moveCursorUpdate): adjust
11187
11188         * lyxfont.C (latexWriteStartChanges): add std::
11189
11190         * lyxfind.C: adjust
11191
11192         * font.h: delete with(char const *, LyXFont const &)
11193
11194         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11195
11196         * FontInfo.C (getFontname): add std::
11197
11198         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11199         (workAreaButtonPress): adjust
11200         (tripleClick): adjust
11201         (update): adjust
11202         (moveCursorUpdate): adjust
11203         (Dispatch): adjust
11204
11205         * BufferView2.C (gotoInset): adjust
11206
11207 2001-05-30  Juergen Vigna  <jug@sad.it>
11208
11209         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11210         to check pspell I add this as default as I now have new pspell
11211         libraries and they seem to use this.
11212
11213 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11214
11215         * text2.C (CutSelection): make the cursor valid before the call to
11216         ClearSelection.
11217
11218 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11219
11220         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11221         relied on 0 terminated strings and other horrors. Bug found due to
11222         the new assert in lyxstring!
11223
11224         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11225         KP_ keys.
11226
11227 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11228
11229         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11230         to latinkeys.bind.
11231
11232         * lyxfunc.C (processKeySym): change method of getting to the
11233         self-insert char.
11234
11235         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11236         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11237         * BufferView_pimpl.[Ch]: here as private methods.
11238
11239 2001-05-28  Juergen Vigna  <jug@sad.it>
11240
11241         * text.C (SetHeightOfRow): added the update() call again as it is
11242         needed to initialize inset dimensions!
11243
11244 2001-05-16  Juergen Vigna  <jug@sad.it>
11245
11246         * text2.C (SetCharFont): Add new function with BufferView * and
11247         bool toggleall parameters for setting insets internal fonts.
11248         (SetFont): Freeze the undo as we may change fonts in Insets and
11249         all this change should be inside only one Undo!
11250
11251         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11252         setting font's in insets as for them we have the SetFont function!
11253
11254 2001-05-15  Juergen Vigna  <jug@sad.it>
11255
11256         * text2.C (ClearSelection): to be sure we REALLY don't have any
11257         selection anymore!
11258
11259         * tabular.C (TeXCellPreamble): fixed the left border problem for
11260         multicolumn cells.
11261
11262 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11263
11264         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11265         dependancy file
11266
11267 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11268
11269         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11270         LFUN_BREAKPARAGRAPH.
11271
11272         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11273         help test to "internal only", similar for LFUN_INSERT_URL
11274
11275         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11276         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11277         auto_region_delete and deadkeys.
11278
11279 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11280
11281         * LColor.h:
11282         * LColor.C: remove some dead entries, tidy a little
11283
11284 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11285
11286         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11287         commented code.
11288         (Dispatch): implement LFUN_ESCAPE
11289
11290         * commandtags.h: add LFUN_ESCAPE
11291
11292         * LyXAction.C (init): add entry for LFUN_ESCAPE
11293
11294         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11295         Remove commented code.
11296         (insertNote): moved here
11297         (open_new_inset): moved here
11298
11299         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11300         BufferView_pimpl
11301
11302 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11303
11304         * kbmap.C (findbinding): clean it up and make it work correctly.
11305
11306         * lyx_main.C (init): do not pass argc and argv as parameters
11307
11308 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11309
11310         * buffer.C: fix path for OS/2 & Win32
11311
11312         * lyx_gui.C:
11313         * lyx_main:
11314         * lyx_main.C: Added os:: class.
11315
11316         * os2_defines.h: update
11317
11318 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11319
11320         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11321         better by trying again with reduced state.
11322
11323 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11324
11325         * lyxrc.C (read): print error about invalid key sequence only when
11326         debugging (because not all latinX keysyms are known to some X
11327         servers)
11328
11329         * kbsequence.C (getiso): add a few std:: qualifiers
11330         (getiso): comment out extra return statement.
11331
11332 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11333
11334         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11335         handling.
11336         (Dispatch): enhance the accent inset a bit. (not perfect)
11337
11338 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11339
11340         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11341
11342 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11343
11344         * bufferlist.C (emergencyWrite): fix assert() call
11345
11346 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
11347
11348         * text.C (InsertChar): Added trivial patch to only send the "you
11349         can not do multiple spaces this way" message once during a
11350         session.
11351
11352 2001-05-08  Baruch Even  <baruch@lyx.org>
11353
11354         * Makefile.am: Changed order of libraries to get LyX to link properly
11355         with the gnome frontend.
11356
11357 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11358
11359         * LaTeXFeatures.h: add a std:: qualifier
11360
11361 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11362
11363         * paragraph.C (String): use stringstream
11364
11365 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11366
11367         * paragraph.C (writeFile): remove footflag arg
11368
11369         * buffer.C (makeLaTeXFile): use stringstream
11370         (latexParagraphs): remove footnot gurba
11371
11372         * LaTeXFeatures.C (getPackages): use stringstream
11373         (getMacros): likewise
11374         (getTClassPreamble): likewise
11375         (getFloatDefinitions): new method
11376
11377         * paragraph.C (writeFile): reindent
11378         (Erase): reindent
11379
11380         * WorkArea.h: revert the xpos + etc changes.
11381
11382         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11383
11384         * lyxparagraph.[Ch]: add copy constructor, remove Clone
11385
11386         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11387         (pasteSelection): likewise
11388         * text2.C (CreateUndo): likewise
11389
11390 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11391
11392         * minibuffer.C (peek_event): temporarily reduce the functionality
11393         of the minibuffer (to allow args on lfuns)
11394
11395         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11396         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11397
11398         * buffer.C (readInset): add compability reading of old float
11399         lists, add reading of new style float list.
11400         (readInset): avoid reevaluation of inscmd.getCmdName()
11401         (getLists): reindent
11402
11403         * MenuBackend.C (MenuItem): implement parsing of
11404         md_floatlistinsert and md_floatinsert.
11405         (expand::LastFiles): move initalizaton of iterators out of loop,
11406         avoid reevaluation.
11407         (expand::Documents): introduce typdedef vector<string> Strings,
11408         and use it.
11409         (expand::ExportFormats): introduce typedef vector<Format const *>
11410         Formats, and use it.
11411         (expand): implement FloatListInsert and FloatInsert.
11412
11413         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11414         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11415         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11416
11417         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11418         handling.
11419         (Dispatch::LFUN_FLOAT_LIST): implement
11420
11421 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11422
11423         * LaTeX.C (run): Fix problem with --export code.
11424
11425 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11426
11427         * BufferView.[Ch] (workarea): removed.
11428         (getClipboard) new method; wrapper for workarea()->getClipboard()
11429
11430         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11431         bug.
11432
11433         * WorkArea.h (width, height, xpos, ypos): These methods all
11434         returned the dimensions of the work_area sub-area of WorkArea,
11435         resulting in a position error if the WorkArea were resized. Now
11436         return the dimensions of the entire WorkArea.
11437
11438         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11439
11440 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11441
11442         * LaTeX.C (deplog): correct the syntax of regex reg1
11443
11444 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11445
11446         * undo.C: remove !NEW_INSETS cruft
11447
11448 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11449
11450         * text2.C: remove !NEW_INSETS cruft
11451
11452         * text.C: remove !NEW_INSETS cruft
11453
11454         * tabular.C: remove !NEW_INSETS cruft
11455
11456         * spellchecker.C: remove !NEW_INSETS cruft
11457
11458         * lyxtext.h: remove !NEW_INSETS cruft
11459
11460         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11461
11462         * lyxfunc.C: remove !NEW_INSETS cruft
11463
11464         * lyxfind.C: remove !NEW_INSETS cruft
11465
11466         * lyx_cb.C: remove !NEW_INSETS cruft
11467
11468         * figureForm.C: remove  !NEW_INSETS cruft
11469
11470         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11471
11472         * buffer.[Ch]: remove !NEW_INSETS cruft
11473
11474         * ToolbarDefaults.C: remove !NEW_INSETS cruft
11475
11476         * CutAndPaste.C: remove !NEW_INSETS cruft
11477
11478         * BufferView_pimpl.C: remove !NEW_INSETS cruft
11479
11480         * BufferView2.C: remove !NEW_INSETS cruft
11481
11482         * BufferView.h: remove !NEW_INSETS cruft
11483
11484 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11485
11486         * Lsstream.h: include LString.h before the sstream headers to
11487         fix problem with gcc 2.95.3 and lyxstring
11488
11489 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11490
11491         * lyx_main.C: add using directives when needed for C functions
11492         declared in std:: namespace.
11493
11494 2001-04-27  Juergen Vigna  <jug@sad.it>
11495
11496         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11497         (SetHeightOfRow): comment out the update call should not be needed!
11498
11499 2001-04-13  Juergen Vigna  <jug@sad.it>
11500
11501         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11502         (LyXTabular): tried to minimize operator= operations (and realized
11503         hopfully Lars wish).
11504
11505 2001-04-27  Juergen Vigna  <jug@sad.it>
11506
11507         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11508
11509 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11510
11511         * lyxfunc.C (Dispatch): hack to make listof algorithm work
11512
11513         * buffer.C (readInset): hack to make listof algorithm work
11514
11515         * BufferView_pimpl.C: hack to make listof algorithm work
11516
11517 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11518
11519         * LyXAction.C: removed all !NEW_INSETS cruft
11520         (init): moved lfun_item in method
11521
11522         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11523
11524 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11525
11526         * BufferView2.C (theLockingInset): white space.
11527
11528 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11529
11530         * minibuffer.C: include <iostream>
11531
11532         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11533
11534         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11535
11536         * commandtags.h: add LFUN_TRANSPOSE_CHARS
11537
11538         * text.[Ch] (TransposeChars): new method
11539
11540 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11541
11542         * call message directly through LyXView instead of through LyXFunc
11543         * BufferView2.C: adjust
11544         * BufferView_pimpl.C: adjust
11545         * FontLoader.C: adjust
11546         * buffer.C: adjust
11547         * bufferview_funcs.C: adjust
11548         * converter.C: adjust
11549         * figureForm.C: adjust
11550         * importer.C: adjust
11551         * lyx_cb.C: adjust
11552         * lyx_gui_misc.C: adjust
11553         * lyxfunc.C: adjust
11554         * lyxvc.C: adjust
11555         * text2.C: adjust
11556         + more files in subdirs
11557
11558         * lyxparagraph.h (size): move up int file
11559         (GetLayout): ditto
11560
11561         * adjust all uses of Assert to lyx::Assert.
11562
11563         * BufferView2.C (ChangeCitationsIfUnique): adjust for
11564         lyxfunctional in namespace lyx
11565         * layout.C (hasLayout): ditto
11566         (GetLayout): ditto
11567         (GetLayout): ditto
11568         (delete_layout): ditto
11569         (NumberOfClass): ditto
11570         * converter.C (GetFormat): ditto
11571         (GetNumber): ditto
11572         (Add): ditto
11573         (Delete): ditto
11574         (SetViewer): ditto
11575         * bufferlist.C (getFileNames): ditto
11576         (emergencyWriteAll): ditto
11577         (exists): ditto
11578         (getBuffer): ditto
11579         * MenuBackend.C (hasSubmenu): ditto
11580         (hasMenu): ditto
11581         (getMenu): ditto
11582         * BufferView_pimpl.C (getInsetByCode): ditto
11583
11584 2001-04-18  Juergen Vigna  <jug@sad.it>
11585
11586         * vspace.C (asLatexString): fixed the 100% problem.
11587
11588 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11589
11590         * lyxfunc.C (Dispatch):
11591         * minibuffer.C:
11592         * minibuffer.h: add a few std:: qualifiers
11593
11594 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11595
11596         * minibuffer.[Ch]: reimplement so that commands is initiated and
11597         run from lyxfunc, simplified som handling, and made the completion
11598         and history code for complete. wip.
11599
11600         * lyxfunc.C (processKeySym): call message
11601         (miniDispatch): new temporary method
11602         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11603         (LFUN_MESSAGE): implement
11604         (LFUN_MESSAGE_PUSH): implement
11605         (LFUN_MESSAGE_POP): implement
11606         (initMiniBuffer): the initial/defualt minibuffer message.
11607
11608         * lyxfont.[Ch]: inline some more getters
11609
11610         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11611
11612         * lyx_gui_misc.[Ch] (WriteStatus): remove method
11613
11614         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11615         (AutoSave): use LFUN_MESSAGE
11616         (Reconfigure): ditto
11617
11618         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11619
11620         * figureForm.C: use LFUN_MESSAGE
11621
11622         * converter.C (runLaTeX): use LFUN_MESSAGE
11623
11624         * bufferview_funcs.C: use LFUN_MESSAGE
11625         (Melt): ditto
11626         (changeDepth): ditto
11627
11628         * bufferparams.h: use boost::
11629
11630         * bufferlist.h: inherit privately from noncopyable
11631
11632         * bufferlist.C (loadLyXFile): remove some commented code.
11633
11634         * buffer.C (runChktex): use LFUN_MESSAGE
11635
11636         * ShareContainer.h: inherit privately from noncopyable
11637
11638         * ParagraphParameters.[hC] (depth): inline it.
11639
11640         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11641         methods.
11642         (message): new method
11643         (messagePush): ditto
11644         (messagePop): ditto
11645         (show): init minibuffer
11646         (showState): direct call
11647
11648         * LaTeX.[Ch]: inherit privately from noncopyable
11649         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11650         instead of WriteStatus.
11651
11652         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11653
11654         * BufferView_pimpl.C (buffer): don't init minibuffer
11655         (workAreaButtonPress): use LFUN_MESSAGE
11656         (workAreaButtonRelease): ditto
11657         (savePosition): ditto
11658         (restorePosition): ditto
11659         (MenuInsertLyXFile): ditto
11660         (workAreaExpose): don't init minibuffer
11661         (update): remove commented code, simplify
11662
11663         * BufferView2.C (openStuff): use LFUN_MESSAGE
11664         (toggleFloat): ditto
11665         (menuUndo): ditto
11666         (menuRedo): ditto
11667         (copyEnvironment): ditto
11668         (pasteEnvironment): ditto
11669         (copy): ditto
11670         (cut): ditto
11671         (paste): ditto
11672         (gotoInset): ditto
11673         (updateInset): remove some commented code
11674
11675         * lastfiles.h: inherit privately from noncopyable
11676         * layout.h: ditto
11677         * lyx_gui.h: ditto
11678         * lyx_main.h: ditto
11679         * lyxlex.h: ditto
11680         * lyxlex_pimpl.h: ditto
11681
11682         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11683         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11684         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11685
11686         * LyXAction.h: inherit privately from noncopyable, add methods
11687         func_begin, func_end, returning iterators to the func map.
11688
11689         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11690         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11691         (func_begin): new method
11692         (func_end): new method
11693
11694         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11695         and not)
11696         (copySelection): ditto
11697         (pasteSelection): ditto
11698
11699         * BufferView.C: whitespace change
11700         * BufferView.h: inherit privately from noncopyable
11701
11702 2001-04-16  Allan Rae  <rae@lyx.org>
11703
11704         * tabular-old.C (l_getline):
11705         * spellchecker.C (sc_check_word):
11706         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11707         an unrecognised preprocessor directive.  So ensure they're wrapped.
11708
11709 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
11710
11711         * src/exporter.C (Export): Give an error message when path to file
11712         contains spaces.
11713
11714 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
11715
11716         * LaTeX.C (deplog): Always check that foundfile exists.
11717
11718 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11719
11720         * lyx_main.h:
11721         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11722
11723 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11724
11725         * tabular.[Ch] (getLabelList): implement new method
11726
11727         * minibuffer.h: comment ouf setTiimer
11728
11729         * minibuffer.C (ExecutingCB): constify res
11730         (peek_event): constify s
11731         (Set): constify ntext
11732         (Init): constify nicename
11733
11734         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11735
11736         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11737         (savePosition): use two params to Minibuffer::Set
11738         (restorePosition): ditto
11739
11740 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11741
11742         * lyx_main.C: include language.h
11743
11744         * Makefile.am (lyx_main.o): add language.h
11745
11746 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11747
11748         * exporter.C:
11749         * paragraph.C:
11750         * screen.C:
11751         * tabular.C:
11752         * CutAndPaste.C: include gettext.h
11753
11754         * lyxfont.h: remove old hack with ON and OFF.
11755
11756         * lyxparagraph.h:
11757         * lyxfont.h: do not include language.h...
11758
11759         * BufferView2.C:
11760         * LaTeXFeatures.C:
11761         * Painter.C:
11762         * bufferview_funcs.C:
11763         * font.C:
11764         * lyxfont.C:
11765         * text.C:
11766         * text2.C:
11767         * trans_mgr.C:
11768         * paragraph.C: ... but do it here instead
11769
11770 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11771
11772         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11773
11774         * tabular.C: small reformat
11775
11776         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11777         NEW_INSETS version
11778         (GetChar): ditto
11779         (BreakParagraph): ditto
11780         (SetOnlyLayout): ditto
11781         (SetLayout): ditto
11782
11783         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11784         with one arg less.
11785
11786         * lastfiles.C: removed most using decl, add std:: where needed
11787
11788         * buffer.C: ws changes
11789
11790         * MenuBackend.C (class compare_format): put into anon namespace
11791         (expand): constify label, names, action, action2
11792         (expand):
11793
11794         * text.C (SingleWidth): constify font
11795         (IsBoundary): constify rtl2
11796         (GetVisibleRow): constify ww
11797
11798         * LaTeX.C (deplog): constify logfile
11799
11800         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11801         start_x, end_x
11802         (workAreaExpose): constify widthChange, heightChange
11803
11804         * lyxrow.C (par): moved
11805         (height): moved
11806         (next): moved
11807         * lyxrow.h: as inlines here
11808
11809         * lyxfont.h (shape): moved from lyxfont.C
11810         (emph): moved from lyxfont.C
11811
11812         * lyxfont.C (LyXFont): use initialization list for all
11813         constructors
11814         (shape): move to lyxfont.h as inline
11815         (emph): move to lyxfont.h as inline
11816
11817
11818 2001-04-04  Juergen Vigna  <jug@sad.it>
11819
11820         * vspace.C: had to include stdio.h for use of sscanf
11821
11822 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
11823
11824         * BufferView.h:
11825         * BufferView_pimpl.h: remove xforms cruft. Both classes are
11826         independent of xforms.
11827
11828 2001-04-02  Juergen Vigna  <jug@sad.it>
11829
11830         * spellchecker.C: fixed namespace placing!
11831
11832 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
11833
11834         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11835         the LyXParagraph * is 0.
11836
11837 2001-03-29  Juergen Vigna  <jug@sad.it>
11838
11839         * vspace.C: added support for %, c%, p%, l%.
11840         (stringFromUnit): added helper function.
11841         (asLatexString): changed to give right results for the %-values.
11842
11843         * buffer.C: convert the widthp in a width%.
11844
11845 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
11846
11847         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11848         figureForm.[Ch].
11849
11850         * figureForm.[Ch]: stripped the FD_from_figure manipulation
11851         code out of lux_cb.[Ch], ready for its (imminent?) removal.
11852
11853         * lyx_cb.[Ch]: see above.
11854
11855         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11856         form1.[Ch].
11857
11858         * form1.[Ch]:
11859         * lyx.[Ch]: replaced by figure_form.[Ch].
11860
11861         * lyx_gui.C:
11862         * lyx_gui_misc.C:
11863         * lyxfunc.C: changed headers associated with above changes.
11864
11865 2001-03-27  Juergen Vigna  <jug@sad.it>
11866
11867         * BufferView_pimpl.C: set the temporary cursor right!
11868
11869 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
11870
11871         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11872
11873 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
11874
11875         * LString.h: removed "using std::getline"!
11876
11877         * BufferView_pimpl.C (Dispatch): changes due to changes in
11878         InsetInclude::Params.
11879
11880         * buffer.C (tag_name): removed redundant break statements as they were
11881         producing lots of warnings with my compiler.
11882
11883 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11884
11885         * LString.h: add "using std::getline" when using the real <string>.
11886
11887 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
11888
11889         * buffer.C: removed bitset usage.
11890         PAR_TAG moved to an anonymous name space.
11891         (tag_name): new funtion, also in the anonymous namespace.
11892         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11893         (makeDocBookFile): clean code. Completed transition from string arrays
11894         to string vectors.
11895         (SimpleDocBookOnePar): code clean.
11896
11897 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11898
11899         * tabular.C: add some comments.
11900
11901 2001-03-22  Juergen Vigna  <jug@sad.it>
11902
11903         * buffer.C (parseSingleLyXformat2Token): redone the minipage
11904         compatibility read a bit and fixed bug with minipage in different
11905         depth.
11906
11907 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
11908
11909         * buffer.C (pop_tag): removed.
11910         (push_tag): removed.
11911         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11912         array replaced with vector. Added support for CDATA sections.
11913         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11914         at any nest level.
11915         (makeDocBookFile): XML conformant declaration of CDATA section,
11916         fixed bug related to <emphasis> in the first paragraph char.
11917         (sgmlOpenTag): exclude empty tags.
11918         (sgmlCloseTag): ditto.
11919
11920         * buffer.h (pop_tag): removed.
11921         (push_tag): removed.
11922
11923 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
11924
11925         * language.h (Languages): added size_type and size().
11926
11927 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11928
11929         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11930         response on compability reading of minipages. One probliem is that
11931         the old usage of minipages was «flertydig»
11932
11933         * several files here and in subdirs: don't use static at file
11934         scope use anon namespaces instead.
11935
11936 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
11937
11938         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11939         LaTeX output. This is necessary for Literate document
11940         processing.
11941
11942 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11943
11944         * buffer.C: insert hfill when needed.
11945
11946         * tabular.C (l_getline): use string::erase, small whitespace change.
11947
11948         * BufferView_pimpl.C: try the anon namespace.
11949         * WorkArea.C: ditto
11950
11951 2001-03-16  Juergen Vigna  <jug@sad.it>
11952
11953         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11954         otherwise it won't open options-dialogs.
11955
11956         * buffer.C: honor pextraWidth(p) on converting minipages.
11957
11958         * tabular.C (l_getline): changed the functions to strip trailing \r.
11959
11960 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
11961
11962         * BufferView_pimpl.C:
11963         * minibuffer..C: added "using SigC::slot" declaration.
11964
11965 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11966
11967         * lyxlex_pimpl.h: noncopyable is in namespace boost.
11968
11969         * text2.C: ditto
11970
11971         * text.C: ditto
11972
11973         * paragraph.C: ditto
11974
11975         * lyxtext.h: NO_PEXTRA
11976
11977         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11978
11979         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11980         * ParameterStruct.h: ditto
11981         * ParagraphParameters.h: ditto
11982         * lyxparagraph.h: ditto
11983
11984 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11985
11986         * buffer.C: add compability for minipage alignment.
11987         (latexParagraphs): remove unwanted pextra check.
11988
11989         * several files: remove CXX_WORKING_NAMESPACES
11990
11991         * buffer.C (pop_tag): tie is in namespace boost
11992
11993         * BufferView.h: noncopyable is in namespace boost
11994         * lyxlex.h: ditto
11995         * lyx_main.h: ditto
11996         * lyx_gui.h: ditto
11997         * layout.h: ditto
11998         * lastfiles.h: ditto
11999         * bufferlist.h: ditto
12000         * ShareContainer.h: ditto
12001         * LyXView.h: ditto
12002         * LyXAction.h: ditto
12003         * LaTeX.h: ditto
12004
12005 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12006
12007         * Merging changes from BRANCH_MVC back into HEAD.
12008
12009         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12010
12011 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12012
12013         * BufferView_pimpl.C: change from intl.C
12014
12015         * combox.h:
12016         * combox.C:
12017         * Makefile.am: move combox.*
12018
12019         * form1.h:
12020         * form1.C:
12021         * lyx_gui.C:
12022         * intl.h:
12023         * intl.C: remove dialog (covered by prefs)
12024
12025 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12026
12027         * lyxfunc.C (Dispatch): removed redundant break statement.
12028
12029 2001-03-14  Juergen Vigna  <jug@sad.it>
12030
12031         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12032
12033 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12034
12035         * buffer.C: add hack to fix compability reading of minipages.
12036
12037 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12038
12039         * buffer.C (getLists): Cleanup.
12040
12041 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12042
12043         * lyxfont.C (update): don't honor toggleall on font size.
12044
12045 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12046
12047         * bmtable.c:
12048         * bmtable.h:
12049         * Makefile.am: moved to frontends/xforms/
12050
12051         * lyx_gui_misc.C:
12052         * lyxfunc.C:
12053         * BufferView_pimpl.C: changes for moved mathpanel
12054
12055 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12056
12057         * gettext.h: fix gettext_init() in --disable-nls
12058
12059 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12060
12061         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12062
12063 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12064
12065         * lyx.C:
12066         * lyx.h: strip external form
12067
12068 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12069
12070         * BufferView_pimpl.C: add comment, destroySplash()
12071
12072 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12073
12074         * BufferView_pimpl.C:
12075         * LyXAction.C:
12076         * buffer.C:
12077         * commandtags.h:
12078         * lyxfunc.C: use re-worked insetinclude
12079
12080 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12081
12082         * buffer.C: add using std::stringstream.
12083
12084         * lyx_cb.C: readd using std::ios.
12085
12086         * buffer.C: add using std::map.
12087
12088         * BufferView_pimpl.C: add using std::vector.
12089
12090         * ShareContainer.h: add std:: to swap.
12091
12092         * buffer.h: add some typedefs
12093         * buffer.C (getLists): use them
12094         (getLists): renamed from getTocList.
12095         add a counter for the different float types and use it in the
12096         generated string.
12097         (getLists): use the same counter for the NEW_INSETS and the "non"
12098         NEW_INSETS
12099
12100         * lyx_cb.h: remove unused items, includes, using etc.
12101
12102         * ShareContainer.h: remove some commented code, add more comments
12103         and "documentation".
12104
12105 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12106
12107         * buffer.C (getTocList): make the list also when NEW_INSETS is
12108         defined.
12109
12110         * buffer.h: remove TocType
12111
12112         * buffer.C (getTocList): change to return a map<string,
12113         vector<TocItem> >, implement for dynamic number of list.
12114
12115         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12116         * text2.C (PasteSelection): adjust
12117         * CutAndPaste.C (pasteSelection): adjust
12118
12119         * FloatList.C (FloatList): update from the new_insets branch.
12120         * Floating.[Ch]: ditto
12121         * LaTeXFeatures.C: ditto
12122         * buffer.C: ditto
12123         * lyxlex_pimpl.C: ditto
12124
12125         * paragraph.C (Last): remove when NEW_INSETS is defined.
12126
12127         * other file: changes because of the above.
12128
12129 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12130
12131         * lyxparagraph.h: rename next to next_, previous to previous_,
12132         make them private for NEW_INSETS. Rename Next() to next(),
12133         Previous() to previous().
12134
12135         * other files: changes because of the above.
12136
12137 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12138
12139         * BufferView.h:
12140         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12141         problem.
12142
12143 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12144
12145         * main.C (main): pass lyx_localedir to gettext_init().
12146
12147         * gettext.h: remove locale_init and gettext_init macros
12148
12149         * gettext.C (locale_init): new function
12150         (gettext_init): new function
12151
12152         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12153         setlocale().
12154
12155 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12156
12157         * Moved credits to frontends:
12158         * credits.[Ch]: removed
12159         * credits_form.[Ch]: removed
12160         * lyx_gui_misc.C: remove credits stuff
12161         * Makefile.am:
12162
12163 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12164
12165         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12166
12167         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12168         unneeded destructor.
12169
12170         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12171         a standalone pointer again.
12172
12173         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12174
12175 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12176
12177         * Makefile.am:
12178         * filedlg.h:
12179         * filedlg.C:
12180         * LyXAction.C:
12181         * ToolbarDefaults.C:
12182         * bufferlist.C:
12183         * commandtags.h:
12184         * form1.C:
12185         * form1.h:
12186         * lyx_cb.C:
12187         * lyx_cb.h:
12188         * lyxfunc.h:
12189         * lyxfunc.C:
12190         * BufferView_pimpl.C: use new file dialog in GUII
12191
12192         * lyx_cb.h:
12193         * lyx_cb.C: remove LayoutsCB to Toolbar
12194
12195 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12196
12197         * ShareContainer.h (get): add std:: qualifier
12198
12199 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12200
12201         * ShareContainer.h: define a proper ShareContainer::value_type
12202         type (and use typename to please compaq cxx)
12203
12204 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12205
12206         * lyxparagraph.h: move serveral local vars to
12207         ParameterStruct/ParagraphParameters., use ShareContainer in
12208         FontTable., make vars in FontTable private and add getter and
12209         setter.
12210
12211         * paragraph.C: changes because of the above.
12212
12213         * lyxfont.h: remove copy constructor and copy assignment. (the
12214         default ones is ok), move number inside FontBits. move inlines to
12215         lyxfont.C
12216
12217         * lyxfont.C: add number to initializaton of statics, move several
12218         inlines here. constify several local vars. some whitespace
12219         cleanup. Dont hide outerscope variables.
12220
12221         * Spacing.h: add two new constructors to match the set methods.
12222
12223         * ShareContainer.h: new file, will perhaps be moved to support
12224
12225         * ParameterStruct.h: new file
12226
12227         * ParagraphParameters.h: new file
12228
12229         * ParagraphParameters.C: new file
12230
12231         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12232         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12233
12234         * BufferView_pimpl.C: ParagraphParameter changes.
12235         * buffer.C: Likewise.
12236         * bufferview_funcs.C: Likewise.
12237         * text.C: Likewise.
12238         * text2.C: Likewise.
12239
12240 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12241
12242         * lyxfind.C (LyXReplace): do not redefine default argument in
12243         implementation.
12244         (IsStringInText): ditto
12245         (SearchForward): ditto
12246         (SearchBackward): ditto
12247
12248 2001-03-06  Juergen Vigna  <jug@sad.it>
12249
12250         * lyxfind.C (IsStringInText): put parentes around expressions.
12251
12252 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12253
12254         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12255
12256 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12257
12258         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12259
12260         * stl_string_fwd.h: add comment
12261
12262         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12263
12264         * tabular.h:
12265         * tabular.C: remove unused DocBook methods
12266
12267         * intl.C:
12268         * language.C:
12269         * paragraph.C:
12270         * buffer.C:
12271         killed DO_USE_DEFAULT_LANGUAGE
12272
12273 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12274
12275         * lyx_gui.C: do not include language.h.
12276
12277         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12278         arguments in function implementation.
12279
12280 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12281
12282         * BufferView_pimpl.C: add <ctime>
12283
12284 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12285
12286         * BufferView_pimpl.C: add using std::find_if
12287
12288 2001-02-27  José Matos  <jamatos@fep.up.pt>
12289
12290         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12291         by OnlyPath.
12292
12293 2001-02-11  José Matos  <jamatos@fep.up.pt>
12294
12295         * buffer.C (makeDocBookFile): command styles now have a parameter as
12296         "title" by default.
12297
12298 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12299
12300         * layout_forms.[Ch]: removed
12301         * lyx_cb.[Ch]: out character
12302         * lyx_gui.C: out character
12303         * lyx_gui_misc.C: out character
12304         * bufferview_funcs.C: : out character,
12305         added toggleall as parameter in ToggleAndShow
12306
12307 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12308
12309         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12310
12311         * text2.C (SetCurrentFont): Disable number property at boundary.
12312
12313 2001-02-26  Juergen Vigna  <jug@sad.it>
12314
12315         * lyxfunc.C (getStatus): added a string argument override function so
12316         that this is correctly called from LyXFunc::Dispatch if it contains a
12317         do_not_use_argument which is used!
12318         (Dispatch): added check for "custom" export and call appropriate func.
12319
12320 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12321
12322         * lyxrc.C: Add language_command_local, language_use_babel and
12323         language_global_options.
12324
12325         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12326
12327         * buffer.C (makeLaTeXFile): Use language_use_babel and
12328         language_global_options.
12329
12330 2001-02-23  Juergen Vigna  <jug@sad.it>
12331
12332         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12333         which works with LyXText and putted it inside BufferView. Here now we
12334         only call for that part the BufferView::Dispatch() function.
12335
12336         * BufferView.C (Dispatch): added.
12337
12338         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12339         functions which needs to use a LyXText over from LyXFunc.
12340         (MenuInsertLyXFile): added
12341         (getInsetByCode): added
12342         (moveCursorUpdate): added
12343         (static TEXT): added
12344
12345 2001-02-22  Juergen Vigna  <jug@sad.it>
12346
12347         * BufferView_pimpl.C (update): call a status update to see if LyXText
12348         needs it.
12349
12350 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12351
12352         * vc-backend.C (revert): implement for CVS
12353         (getLog): implement for CVS
12354
12355 2001-02-20  Juergen Vigna  <jug@sad.it>
12356
12357         * text2.C (ClearSelection): added BufferView param for inset_owner call
12358
12359         * lyxfunc.C (TEXT): added this function and use it instead of
12360         directly owner->view()-text of getLyXText().
12361
12362 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
12363
12364         * src/layout_forms.C: out preamble
12365         * src/layout_forms.h: out preamble
12366         * src/lyx_cb.C: out preamble
12367         * src/lyx_cb.h: out preamble
12368         * src/lyx_gui.C: out preamble
12369         * src/lyx_gui_misc.C: out preamble
12370         * src/lyxfunc.C: connect with guii preamble
12371
12372 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
12373
12374         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12375
12376 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
12377
12378         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12379         whether to run bibtex.
12380
12381 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
12382
12383         * Makefile.am (lyx_SOURCES): Remove BackStack.h
12384
12385 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12386
12387         * Makefile.am (lyx_SOURCES): removed bibforms.h
12388
12389         * vspace.h: doxygen
12390
12391         * text.C (GetVisibleRow): make several local vars const
12392
12393         * tabular.C: small cleanup.
12394
12395         * lyxserver.C (callback): use compare instead of strncmp
12396
12397         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12398         inlines to after class or to paragraph.C
12399
12400         * lyxfont.h: remove friend operator!=
12401
12402         * converter.h: move friend bool operator< to non friend and after
12403         class def.
12404
12405         * combox.h: small cleanup
12406
12407         * buffer.h: doxygen, remove unused constructor, move inclas inlies
12408         to inlines after class def.
12409
12410         * buffer.C (pop_tag): use string operations instead of strcmp
12411
12412         * bmtable.c: doxygen, small cleanup
12413
12414         * LaTeX.h: remove friend operator==
12415
12416 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
12417
12418         * screen.C:
12419         * lyxrc.[Ch]:
12420         * lyxfunc.C:
12421         * lyxfont.[Ch]:
12422         * lyx_cb.C:
12423         * intl.[Ch]:
12424         * commandtags.h:
12425         * buffer.C:
12426         * WorkArea.[Ch]:
12427         * LyXAction.C:
12428         * BufferView_pimpl.C:
12429         * BufferView.[Ch]: remove cruft
12430
12431 2001-02-14  Juergen Vigna  <jug@sad.it>
12432
12433         * lyxfunc.C: removed #if 0 unused code
12434
12435         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12436
12437         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12438
12439         * text2.C (SetSelection): added a BufferView * parameter
12440
12441 2001-02-13  Juergen Vigna  <jug@sad.it>
12442
12443         * lyxfunc.C (Dispatch): fixed protected blank problem.
12444         * BufferView2.C (protectedBlank): added LyxText * parameter.
12445
12446         * tabular.C (AppendRow): forgot to set row_info of newly added row.
12447         (AppendColumn): same as above for column_info.
12448
12449         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12450         (moveCursorUpdate): use a LyXText param for support of InsetText.
12451
12452         * BufferView_pimpl.C (doubleClick): added support for InsetText.
12453         (tripleClick): ditto
12454
12455         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12456
12457         * BufferView_pimpl.C (update): added LyXText param to honor insets.
12458
12459         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12460
12461         * text2.C (SetSelection): set correct update status if inset_owner
12462         (ToggleFree): ditto
12463
12464 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
12465
12466         * tabular.C: remove some commented code.
12467
12468 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
12469
12470         * BufferView_pimpl.C: call hideSplash()
12471
12472         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12473
12474         * include_form.h:
12475         * bibforms.h: remove
12476
12477         * lyxfunc.C:
12478         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12479           add LFUN_CHILD_CREATE
12480
12481         * counters.h: fix tiny typo
12482
12483         * lyx_cb.C:
12484         * lyx.h:
12485         * lyx_gui.C:
12486         * lyx.C: move splash to frontends/xforms/
12487
12488         * lyx_gui_misc.C: move Include and Bibform to frontends
12489
12490         * lyxvc.h: clarify comment
12491
12492         * vspace.C: tiny housekeeping
12493
12494 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
12495
12496         * text.C (PrepareToPrint): RTL Fix.
12497
12498         * paragraph.C (GetUChar): New method.
12499         (String):  Use GetUChar.
12500
12501         * buffer.C (asciiParagraph): Use GetUChar.
12502
12503 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
12504
12505         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12506
12507 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
12508
12509         * buffer.h:
12510         * buffer.C: rename to getLogName(), handle
12511           build log / latex log nicely
12512
12513 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12514
12515         * MenuBackend.C:
12516         * MenuBackend.h: remove support for reference menuitem type.
12517
12518 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
12519
12520         * BufferView_pimpl.C: housekeeping
12521         * BufferView_pimpl.h:
12522         * LyXView.h:
12523         * Makefile.am:
12524         * Timeout.C:
12525         * Timeout.h:
12526         * minibuffer.h: move Timeout GUI-I
12527
12528 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
12529
12530         * lyxrc.C (read): Update converters data-structures.
12531
12532 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
12533
12534         * LaTeX.h (operator!=): add operator != for Aux_Info
12535
12536 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
12537
12538         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12539
12540         * LaTeXLog.C: deleted, useful code moved to Buffer
12541
12542         * buffer.h:
12543         * buffer.C: new function getLatexLogName()
12544
12545         * lyx_gui_misc.C:
12546         * lyx_gui.C:
12547         * lyxvc.C:
12548         * lyxvc.h:
12549         * lyxfunc.C: use frontends for LaTeX and VC logs
12550
12551 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12552
12553         * LaTeX.h: yet another std:: that Allan forgot.
12554
12555         * Variables.C (set): renamed from isset(), because this clashes
12556         with some HP-UX macros (grr).
12557
12558 2001-02-06  Allan Rae  <rae@lyx.org>
12559
12560         * LaTeX.h: Another bug fix.  Missing std:: this time.
12561
12562 2001-02-04  Allan Rae  <rae@lyx.org>
12563
12564         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12565         floats problem. I've left it commented out because it's not quite
12566         correct.  It should also test that the current object is a table or
12567         figure inset.  But I haven't gotten around to figuring out how to do
12568         that.  I *think* it'll be something like: "table" == inset.type()
12569
12570         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12571         bool.
12572
12573 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
12574
12575         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12576         all the citation/databases/styles in the auxilary file.
12577         (run): Rerun latex if there was a babel language error.
12578
12579 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
12580
12581         * text.C (Backspace): Preserve the font when changing newline char
12582         with a space.
12583         (BreakParagraph): If the cursor is before a space, delete the space.
12584
12585         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12586
12587 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
12588
12589         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12590         new argument (code).
12591         (ChangeCitationsIfUnique): New method.
12592
12593         * paragraph.C (GetPositionOfInset): Handle bibkey.
12594
12595 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12596
12597         * BufferView_pimpl.h: change type of Position::par_pos to
12598         LyXParagraph::size_type.
12599
12600 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
12601
12602         * BufferView_pimpl.C (savePosition, restorePosition): Write
12603         messages to minibuffer.
12604
12605 2001-01-28  José Matos  <jamatos@fep.up.pt>
12606
12607         * buffer.C (makeDocBookFile): adds support for document language.
12608         A silly restriction on the name of LatexCommand types where removed.
12609         Added support for CDATA sections, allows to chars unescaped, used
12610         among others in code, to avoid escape < and >.
12611
12612 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12613
12614         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12615         saved positions instrad of a stack. Furthermore, a position is
12616         stored using paragraph id/paragraph position.
12617
12618         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12619         Remove LFUN_REF_BACK.
12620
12621 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12622
12623         * converter.C (dvipdfm_options): New method.
12624
12625 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12626
12627         * vspace.C (isValidLength): Fix for empty input string.
12628
12629 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12630
12631         * LyXAction.C (init): change description of LFUN_FIGURE to
12632         "Insert Graphics"
12633
12634 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12635
12636         * LaTeX.C: add using directive
12637
12638 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12639
12640         * MenuBackend.C (expand): Fix the sorting of the formats.
12641
12642 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
12643
12644         * lyx_main.C: tiny error message fix
12645
12646 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12647
12648         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12649         calling fl_initialize(). This fixes the problem with ',' as
12650         decimal separator in text files.
12651
12652 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12653
12654         * trans.C (process): Fix the keymap bug.
12655
12656 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
12657
12658         * LaTeX.C (scanAuxFiles): New method. Provides support for
12659         multiple bibliographies (when using the bibtopic/bibunits pacakges).
12660         (scanLogFile) Scan for "run BibTeX" messages.
12661
12662         * buffer.C (makeLaTeXFile): Do not load the ae package when using
12663         OT1 font encoding. Also, load the aecompl package if the ae
12664         package is loaded.
12665
12666         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12667
12668 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12669
12670         * texrow.C (increasePos): turn two error messages into debug
12671         messages.
12672
12673 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
12674
12675         * LaTeX.C (scanAux): Handle the \@input macro.
12676         (runBibTeX): Use scanAux().
12677
12678         * language.C (latex_options_): New field.
12679
12680         * LaTeXFeatures.C (getMacros): Add language macros.
12681
12682         * buffer.C (makeLaTeXFile): Small fix.
12683
12684 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12685
12686         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12687
12688         * text2.C: add a using directive.
12689
12690 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
12691
12692         * BufferView2.C:
12693         * lyx_gui_misc.h:
12694         * lyxfr1.C:
12695         * lyxfunc.C: kill LyXBell.
12696
12697 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
12698
12699         * text.C (IsBoundary): Remove the error message
12700
12701         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12702
12703         * lyxrc.C (setDefaults): Correct initialization value for
12704         font_norm_type.
12705
12706 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
12707
12708         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12709         gotoError().
12710
12711         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12712         and GotoNextNote().
12713
12714         * src/LyXAction.C: Added reference-next.
12715
12716         * text.C (InsertChar): Use contains instead of strchr.
12717
12718         * lyx_cb.C (MenuInsertLabel): Enable default value code.
12719
12720 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
12721
12722         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12723         alignment commands (when needed).
12724
12725         * text.C (InsertChar): Add ':' to number separator chars.