]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
* BufferView.[Ch] (insertInset):
[lyx.git] / src / ChangeLog
1
2 2004-02-04  André Pönitz  <poenitz@gmx.net>
3
4         * BufferView.[Ch] (insertInset):
5         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value 
6
7         * text2.C:
8         * text3.C: adjust
9
10 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
11
12         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch 
13         on the default clause of the switch
14         * lyxfunc.C (dispatch): call BufferView::dispatch if the event 
15         wasn't catched by LCursor::dispatch
16
17 2004-02-03  André Pönitz  <poenitz@gmx.net>
18
19         * BufferView.C:
20         * cursor.[Ch]: some additional asserts
21
22         * undo.[Ch]: remove LyXText dependency in interface
23
24         * lyxfunc.C: adjust
25
26         * lyxtext.h (firstPar, lastPar): remove dead functions 
27
28         * text.C:
29         * text2.C:
30         * text3.C:
31         * paragraph.[Ch]: adjust
32
33 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
34
35         * lyxfind.C (find): fix argument order in call to ::find
36
37 2004-02-02  André Pönitz  <poenitz@gmx.net>
38
39         * cursor.[Ch]: remove direct access to anchor
40
41         * text.C: remove findText() hack
42
43 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
44
45         * iterators.[Ch] (lockPath): remove in favour of...
46         * BufferView.[Ch] (setCursor): this addition
47         * BufferView.C (putSelectionAt): adjust
48         * undo.C (performUndoOrRedo): adjust
49         * lyxfunc.C (dispatch): adjust
50
51 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
52
53         * iterators.C (lockPath): add a missing slice
54         * undo.C (performUndoOrRedo): remove redundant positioning code
55
56 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
57
58         * vc-backend.C (scanMaster): ";" -> ';'
59
60 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
61
62         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
63         std::binary_function
64
65         * lyxtextclass.C (compare_name): rename to...
66         (LayoutNamesEqual): ...this
67
68         * lyxlex_pimpl.C (compare_tags): inherit from
69         std::binary_function, put back into anon namespace
70
71         * lyxfind.C (MatchString): inherig from std::binary_function
72         (findChange): use empty() istead of !size()
73
74         * format.C (FormatNamesEqual): new functor
75         (getFormat): use it
76         (getNumber): use it
77         (add): use it
78         (erase): use it
79         (setViewer): use it
80
81         * converter.C (compare_Converter): rename to...
82         (ConverterEqual): ...this, and fixup a bit.
83         (getConverter): use it, and make function const
84         (getNumber): use it, and make function const
85         (add): use it
86         (erase): use it:
87
88         * bufferlist.C: add using boost::bind
89
90         * MenuBackend.C (MenuNamesEqual): new functor
91         (hasMenu): use it, and make function const
92         (hasSubmenu): use nested bind to get rid of compare_memfun.
93
94 2004-01-30  André Pönitz  <poenitz@gmx.net>
95
96         * BufferView_pimpl.C:
97         * cursor.C:
98         * cursor.h:
99         * cursor_slice.[Ch]:
100         * lyxfunc.C:
101         * lyxtext.h:
102         * paragraph_funcs.C:
103         * paragraph_funcs.h:
104         * rowpainter.C:
105         * text.C:
106         * text2.C:
107         * text3.C: move some of the edit(x,y) handling to the insets
108         some coordinate changes.
109
110 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
111
112         * text.C: add using statements for std::advance and std::distance
113
114         * paragraph.C: add using statement for std::distance
115
116         * lyxfind.C: add using statement for std::advance
117
118         * cursor.C (region): remove std:: from swap
119         (openable): use nucleus in stead of operator->
120
121         * BufferView.C: add using statements for std::distance and std::swap
122
123 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
124
125         * iterators.C: Remove the pimple, move the needed structures to
126         the header file. Create accessor for the positions stack.
127         (asPosIterator): remove function
128
129         * PosIterator.C (PosIterator): move constructors to top of file
130         (PosIterator): reimplement the constructor taking a ParIterator in
131         terms of setFrom.
132         (setFrom): new function
133         (operator!=): inline it
134
135 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
136
137         * lyxfind.C (replaceAll): use std::advance
138
139         * iterators.h: inherit from std::iterator.
140
141         * PosIterator.C (advance, distance): remove
142         * PosIterator.h: interit from std::iterator.
143
144 2004-01-26  André Pönitz  <poenitz@gmx.net>
145
146         * BufferView.[Ch]:
147         * BufferView_pimpl.[Ch]:
148         * InsetList.[Ch]:
149         * PosIterator.[Ch]:
150         * buffer.h:
151         * bufferview_funcs.C:
152         * cursor.[Ch]:
153         * cursor_slice.h:
154         * factory.[Ch]:
155         * iterators.[Ch]:
156         * lyxfind.C:
157         * lyxfunc.C:
158         * lyxtext.h:
159         * output_docbook.C:
160         * output_latex.C:
161         * output_linuxdoc.C:
162         * output_plaintext.C:
163         * paragraph.[Ch]:
164         * paragraph_funcs.[Ch]:
165         * paragraph_pimpl.[Ch]:
166         * rowpainter.C:
167         * tabular.C:
168         * tabular.h:
169         * text.C:
170         * text2.C:
171         * text3.C: more IU:  dumps most of the rest of the mathcursor
172     implementation into cursor.[Ch]; "globalize" a bit of it.
173
174 2004-01-25  Angus Leeming  <leeming@lyx.org>
175
176         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
177
178 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
179
180         * LaTeXFeatures.h: add nice_ and nice() const
181         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
182
183 2004-01-20  André Pönitz  <poenitz@gmx.net>
184
185         * BufferView.[Ch]:
186         * BufferView_pimpl.C:
187         * PosIterator.C:
188         * bufferview_funcs.C:
189         * cursor.[Ch]:
190         * cursor_slice.[Ch]:
191         * factory.C:
192         * iterators.C:
193         * lyx_cb.C:
194         * lyxfind.C:
195         * lyxfunc.C:
196         * lyxtext.h:
197         * rowpainter.C:
198         * text.C:
199         * text2.C:
200         * text3.C:
201         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
202           LCursor and mathcursor parts to LCursor and InsetBase.
203
204 2004-01-15  André Pönitz  <poenitz@gmx.net>
205
206         * cursor_slice.[Ch]: add a few covienience functions
207
208         * funcrequest.[Ch]: remove BufferView * member
209
210         * BufferView_pimpl.C:
211         * cursor.C:
212         * factory.[Ch]:
213         * lyxfind.[Ch]:
214         * lyxfunc.C:
215         * lyxtext.h:
216         * text3.C:
217         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
218
219 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
220
221         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
222         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
223
224 2004-01-13  André Pönitz  <poenitz@gmx.net>
225
226         * textcursor.[Ch]:
227         * lyxtext.h: hide cursor and selection anchor behind accessor function
228
229         * BufferView.C:
230         * BufferView_pimpl.[Ch]:
231         * PosIterator.C:
232         * bufferview_funcs.C:
233         * cursor.h:
234         * lyxfind.C:
235         * lyxfunc.C:
236         * text.C:
237         * text2.C:
238         * text3.C:
239         * undo.C: adjust
240
241         * cursor.h:
242         * cursor_slice.[Ch]: some integer type changes for inset unification
243
244         * lyxcursor.[hC]: remove, it's CursorSlice now.
245
246         * Makefile.am:
247         * BufferView_pimpl.[Ch]:
248         * bufferview_funcs.C:
249         * cursor_slice.C:
250         * lyxtext.h:
251         * text.C:
252         * text2.C:
253         * text3.C:
254         * textcursor.[Ch]: adjust
255
256 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
257
258         * text2.C (undoSpan): add and use
259         * text.C (breakParagraph): use undoSpan (fix bug 578)
260         * lyxtext.h: adjust
261
262 2004-01-08  Angus Leeming  <leeming@lyx.org>
263
264         * BufferView_pimpl.C (MenuInsertLyXFile):
265         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
266         * lyxfunc.C (menuNew, open, doImport):
267         FileFilterList change to the FileDialog open and save functions.
268
269 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
270
271         * ShareContainer.h: make isEqual and isUnique adaptable
272
273         * CutAndPaste.C: make resetOwnerAndChanges adaptable
274
275 2004-01-07  Angus Leeming  <leeming@lyx.org>
276
277         * LyXAction.C:
278         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
279
280         * BufferView_pimpl.C (dispatch): act on these LFUNs.
281
282         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
283         functions replacing find, replace and replaceAll.
284
285         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
286         LFUN_WORDFIND(FORWARD|BACKWARD).
287
288 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
289
290         * text.C (breakParagraph): remove an outdated #warning
291
292 2004-01-07  André Pönitz  <poenitz@gmx.net>
293
294         * lyxfind.C: somewhat clearer logic
295
296         * text.C: prevent crash in cursorX on unitialized row cache
297
298 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
299
300         * lyxcursor.[Ch] (operator>): add
301         * textcursor.C (selStart, selEnd): use std::min and std::max
302
303 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
304
305         * Chktex.C: include boost/format.hpp
306
307 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
308
309         * InsetList.C: replace functor MathcIt with adaptable functor
310         InsetTablePosLess
311         (insetIterator): modify accordingly
312
313         * BranchList.h: move the BranchNamesEqual functor here from...
314         * BranchList.C: ... to here
315
316         * BranchList.C: new BranchListEqual fuctor, use it. Remove
317         SameName and match.
318         (add): replace a finding loop with std::find_if.
319
320 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
321
322         * output_docbook.C: moving LatexParam functionality into
323         .layout files
324
325 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
326
327         * buffer.C: increment format to 229.
328
329 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
330
331         * LaTeXFeatures.C:
332         * lyx_sty.[Ch]: remove minipageindent_def
333
334         * LyXAction.C:
335         * factory.C:
336         * lfuns.h:
337         * lyxfunc.C:
338         * text3.C: remove LFUN_INSET_MINIPAGE
339
340 2003-12-28  Angus Leeming  <leeming@lyx.org>
341
342         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
343
344 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
345
346         * text2.C (setParagraph): fix off-by-one crash
347
348 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
349
350         * output_docbook.C: header stuff for AGU
351
352 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
353
354         * text2.C (redoCursor): remove
355         * text.C:
356         * text3.C:
357         * BufferView_pimpl.C: remove calls to redoCursor and
358         setCursor(cursor.par(), cursor.pos()) all around
359
360 2003-12-15  Angus Leeming  <leeming@lyx.org>
361
362         * buffer.C: up the format to 228.
363
364 2003-12-15  André Pönitz  <poenitz@gmx.net>
365
366         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
367         slices
368
369         * Makefile.am:
370
371         * BufferView_pimpl.C:
372         * cursor.[Ch]:
373         * lyxcursor.[Ch]:
374         * rowpainter.[Ch]:
375         * lyxtext.h:
376         * text.C:
377         * text2.C:
378         * text3.C: adjust
379
380 2003-12-15  Angus Leeming  <leeming@lyx.org>
381
382         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
383         than getFromGUIName to manipulate the color.
384
385 2003-12-14  Angus Leeming  <leeming@lyx.org>
386
387         * BranchList.[Ch]: minimize the API.
388         (Branch::getBranch, getColor): now return a 'const &'.
389         (Branch::setSelected) now returns a bool set to true if the
390         selection status changes.
391         (BranchList::clear, size, getColor, setColor, setSelected,
392         allBranches, allSelected, separator): removed.
393         (BranchList::find): new functions, returning the Branch with
394         the given name.
395         (BranchList::add, remove): return a bool indicating that
396         the operation was successful.
397
398         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
399         new InsetBranch::isBranchSlected member function.
400
401         * LColor.[Ch]: mimimize the API.
402         (fill): renamed as addColor and made private.
403         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
404         versions of these functions taking a string arg have been removed.
405
406         * bufferparams.C (readToken):
407         * lyxfunc.C (dispatch):
408         * lyxrc.C (read): changes due to the altered BranchList and
409         LColor APIs.
410
411         * factory.C (createInset, readInset): changes due to altered
412         InsetBranch c-tor.
413
414 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
415
416         * factory.C:
417         * lyxfunc.C: remove insetminipage. "minipage-insert"
418         now produces a frameless minipage box inset.
419
420 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
421
422         * textcursor.[Ch] (selStart,selEnd): add new methods
423         remove selection::start, end, use LyXCursor::operator<
424         * lyxcursor.[Ch] (operator<): add
425         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
426         * BufferView.[Ch] (unsetXSel): add
427         * text2.C (clearSelection): use unsetXSel,adjust
428         * text.C: adjust
429         * text3.C: adjust
430         * rowpainter.C: adjust
431         * bufferview_funcs.C (put_selection_at): adjust
432
433 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
434
435         * BufferView_pimpl.C: small coord. correction
436
437 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
438
439         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
440         dragging over the splash screen.
441
442 2003-12-11  Angus Leeming  <leeming@lyx.org>
443
444         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
445         as it is now handled in LyXText::dispatch.
446
447         * text3.C (doInsertInset): remove a level of nesting.
448
449 2003-12-11  Angus Leeming  <leeming@lyx.org>
450
451         * factory.C (createInset): changes due to the changed interface to
452         InsetCommandMailer::string2params.
453
454 2003-12-10  Angus Leeming  <leeming@lyx.org>
455
456         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
457         'dialog-show-new-inset <inset name>'
458
459 2003-12-10  Angus Leeming  <leeming@lyx.org>
460
461         * buffer.C: up the format to 227.
462
463         * factory.C: the box inset is now identified simply by 'Box'.
464
465 2003-12-10  Angus Leeming  <leeming@lyx.org>
466
467         * buffer.C: up the format to 226.
468
469         * factory.C: the note inset is now identified simply by 'Note'.
470
471 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
472
473         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
474         when a pit is enough. Standarize a couple of loops.
475
476 2003-12-05  Angus Leeming  <leeming@lyx.org>
477
478         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
479         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
480         data to the re-worked "log" dialog.
481
482 2003-12-03  André Pönitz  <poenitz@gmx.net>
483
484         * PosIterator.C:
485         * iterators.C:
486         * lyxtext.h:
487         * output_latex.C:
488         * paragraph_funcs.C:
489         * text.C:
490         * text2.C: use Inset::getText instead of Inset::getParagraph
491
492 2003-12-03  André Pönitz  <poenitz@gmx.net>
493
494         * buffer.[Ch]:
495         * lyxtext.h:
496         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
497         InsetText::read() as LyXText::read()
498
499 2003-12-02  Angus Leeming  <leeming@lyx.org>
500
501         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
502         type. Add a comment in the implementation that the function uses
503         the stream's bad() function rather than fail() as the std::streams
504         would do.
505
506 2003-12-02  André Pönitz  <poenitz@gmx.net>
507
508         * lyxlex.[Ch]: make interface more similar to std::stream
509
510         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
511
512 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
513
514         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
515
516 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
517
518         * vspace.[Ch]: remove VSpace::NONE
519
520 2003-12-01  André Pönitz  <poenitz@gmx.net>
521
522         * buffer.[Ch]:
523         * lyxtext.h: move ParagraphList member to LyXText
524         rename LyXText::ownerParagraphs to LyXText::paragraph
525
526         * CutAndPaste.C:
527         * bufferview_funcs.C:
528         * iterators.[Ch]:
529         * lyx_cb.C:
530         * paragraph.C:
531         * rowpainter.C:
532         * tabular.C:
533         * text.C:
534         * text2.C:
535         * text3.C: adjust
536
537         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
538
539         * undo.C: fix cursor positioning
540
541 2003-12-01  John Levon  <levon@movementarian.org>
542
543         * BufferView_pimpl.C: fix a crash on exit with
544         a buffer open
545
546 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
547
548         * BranchList.C: fix setSelected() method.
549
550 2003-11-28  André Pönitz  <poenitz@gmx.net>
551
552         * ParagraphParameters.[Ch]:
553         * ParameterStruct.h: remove space above/below from Paragraph to
554          InsetVSpace
555
556         * BufferView_pimpl.C:
557         * factory.C:
558         * lyxfunc.C:
559         * lyxtext.h:
560         * output_latex.C:
561         * paragraph.C:
562         * paragraph_funcs.C:
563         * rowpainter.[Ch]:
564         * text.C:
565         * text2.C:
566         * text3.C: adjust
567
568 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
569
570         * factory.C: Syntax change for CharStyles
571
572 2003-11-28  André Pönitz  <poenitz@gmx.net>
573
574         * BufferView.[Ch]:
575         * BufferView.[Ch]:
576         * buffer.[Ch]:
577         * buffer.[Ch]: move LyXText member
578
579 2003-11-28  André Pönitz  <poenitz@gmx.net>
580
581         * BufferView.[Ch]: make LyXText * text a private member
582
583         * BufferView_pimpl.C:
584         * cursor.C:
585         * iterators.C:
586         * lyx_cb.C:
587         * lyxfind.C:
588         * lyxtext.h:
589         * rowpainter.[Ch]:
590         * text.C:
591         * text2.C:
592         * undo.C: adjust
593
594         * output_plaintext.C: cleanup
595
596 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
597
598         * buffer.C:
599         * lyxtextclass.[Ch]: parametrize SGML document header
600
601 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
602
603         * converter.[Ch]:
604         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
605         getFlavor().
606
607 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
608
609         * text2.C (setFont): rework using PosIterator (no more recursive)
610         (setCharFont): no more needed
611         (setLayout): no more selection cursors fiddling (done by redoCursor)
612         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
613         destroy remaining ones)
614
615 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
616
617         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
618         * lyxtext.h: ditto
619         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
620         selection cursors
621         * lyxfunc.C: adjust
622         * text3.C: adjust + re-allow multi par depth changes
623         * textcursor.C: simplify a bit
624
625 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
626
627         * src/buffer.C:
628         * src/lyxlayout.C:
629         * src/lyxlayout.h:
630         * src/lyxtext.h:
631         * src/output_docbook.C:
632         * src/output_latex.C:
633         * src/paragraph.C:
634         * src/paragraph.h:
635         * src/sgml.C:
636         * src/sgml.h:
637         * src/text2.C: Introducing a number of tags parametrizing various
638         XML formats that we may want to support
639
640 2003-11-25  André Pönitz  <poenitz@gmx.net>
641
642         * InsetList.[Ch] (begein, end): inline as suggested by profiler
643
644         * lyxtext.h (leftMargin/rightMargin): simplify interface
645
646         * rowpainter.C:
647         * text.C:
648         * text2.C:
649         * text3.C: adjust
650
651 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
652
653         * lyxfunc.C (dispatch): propogate the bibtex databases from the
654         master file to any child files. Fixes bug 546.
655
656 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
657
658         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
659
660 2003-11-24  André Pönitz  <poenitz@gmx.net>
661
662         * rowpainter.C: simplification
663
664         * text2.C (updateCounters): remove call to redoParagraph on
665         changed labels as this is far too expensive.
666
667 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
668
669         * converter.C (convert): fix a crash: this function gets
670         called with buffer == 0 from importer code.
671
672 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
673
674         * text3.C (cursorPrevious): make sure that we do not compare
675         iterators form different containers.
676         (cursorNext): ditto
677
678         * rowpainter.C (paintSelection): make sure that we do not compare
679         iterators from different containers.
680
681         * text3.C (dispatch): [PRIOR] make sure that we do not compare
682         iterators from different ParagraphList containers.
683         [NEXT] ditto
684
685         * text2.C (LyXText): change order of initialization slightly
686         (operator=): new function. copy all variables except cache_par_
687         (moveUp): make sure that we do not compare iterators from
688         different ParagraphList constainers.
689         (moveDown): ditto
690
691         * text.C (firstPar): new function
692         (lastPar): new function
693         (endPar): new function
694
695         * lyxtext.h: move things around and group public functions, public
696         variables, private functions, private variables
697
698 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
699
700         * factory.C: change call to InsetERT constructor to avoid
701         additional invocation of method status
702         * text2.C (toggleInset): remove redundant update() call
703         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
704         instead of a Bufferview pointer
705
706 2003-11-21  André Pönitz  <poenitz@gmx.net>
707
708         * rowpainter.C: simplification
709
710 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
711
712         * text3.C (dispatch): make possible to extend a word/row selection
713         with the mouse
714
715 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
716
717         * lyxtext.h: x0_,y0_ -> xo_,yo_
718         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
719         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
720         * rowpainter.C (paintRows): paint full paragraphs
721
722 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
723
724         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
725         screen coordinates)
726
727 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
728
729         * lyxtext.h: add x0_, y0_
730         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
731         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
732
733 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
734
735         * text2.C (setCursorIntern): move the x_target update here *
736         * text3.C: change some bv() to true/false in calls to
737         cursorUp/Down/Right/Left
738         * cursor.C: use helper function.
739
740 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
741
742         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
743         * paragraph_funcs.[Ch]: correct comment
744         * rowpainter.C: do not paint selections away from bv->cursor()
745         Fix a long standing selection painting bug.
746         * text3.C: generalize mouse-selection code to LyXTexts other that
747         top one
748         * textcursor.C: do not use y coords if we can use par offsets
749
750 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
751
752         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
753         cursor position after e.g. inset insert)
754
755 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
756
757         * lyxfind.C (replace): adjust to locking removal + some
758         code simplification
759
760 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
761
762         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
763         of the path
764
765 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
766
767         * lyxlayout.[Ch]:
768         * output_docbook.C: XML sanitation: new layout
769         parameters InnerTag and CommandDepth
770
771 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
772
773         * BufferView_pimpl.C:
774         * factory.C:
775         * text3.C: Fix the insertion and modification of button-style
776         insets
777
778 2003-11-13  André Pönitz  <poenitz@gmx.net>
779
780         * InsetList.[Ch]: remove deleteLyXText
781
782         * paragraph.[Ch]: cache beginOfBody position
783
784         * Bidi.C:
785         * text.C:
786         * text2.C:
787         * text3.C: remove superfluous update() calls
788
789         * vspace.C: cleanup
790
791 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
792
793         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
794         * BufferView.C (fitLockedInsetCursor): remove
795         * cursor.[Ch] (getDim): add
796         * text.C (getRowNearY): add faster version
797         * text3.C: remove some update calls
798
799 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
800
801         * LaTeXFeatures.C:
802         * LyXAction.C:
803         * MenuBackend.C:
804         * MenuBackend.h:
805         * dispatchresult.h:
806         * factory.C:
807         * lfuns.h:
808         * lyxfunc.C:
809         * lyxtextclass.C:
810         * lyxtextclass.h:
811         * text3.C: The Character Style /XML short element patch.
812
813 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
814
815         * text3.C:
816         * factory.C: Small step to solving 'unable to insert some insets'
817         problem
818
819 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
820
821         * cursor.[Ch] (updatePos): new function for updating the y
822         position of the tip inset
823         * bufferview_funcs.C (put_selection_at):
824         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
825
826 2003-11-11  André Pönitz  <poenitz@gmx.net>
827
828         * text.C: remove big comment on invalid Paragraph pointers as it is
829         not valid anymore
830
831 2003-11-11  André Pönitz  <poenitz@gmx.net>
832
833         * text_funcs.[Ch]: merge with ...
834
835         * text.C: ... this
836
837         * lyxtext.h:
838         * text2.C:
839         * text3.C: adjust
840
841         * Makefile.am: remove text_funcs.[Ch]
842
843 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
844
845         * cursor.C (getPos): return absolute cached y coord
846
847         * BufferView_pimpl.C (fitCursor): new simplistic code
848         (workAreaDispatch): add a fitCursor call
849
850 2003-11-10  André Pönitz  <poenitz@gmx.net>
851
852         * BufferView.[Ch]:
853         * BufferView_pimpl.[Ch]: merge update() and updateInset()
854
855 2003-11-10  André Pönitz  <poenitz@gmx.net>
856
857         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
858         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
859         indicate that the cursor needs to leave an inset
860
861         * lyxtext.h: remove inset locking
862
863         * cursor.[Ch]: re-implement functionality provided by inset locking
864
865         * BufferView.[Ch]:
866         * BufferView_pimpl.[Ch]:
867         * LyXAction.C:
868         * bufferview_funcs.[Ch]:
869         * factory.C:
870         * funcrequest.[Ch]:
871         * iterators.C:
872         * lyx_cb.C:
873         * lyxfind.C:
874         * lyxfunc.C:
875         * text.C:
876         * text2.C:
877         * text3.C:
878         * undo.C: adjust
879
880 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
881
882         * PosIterator.[Ch]: replace the stack with a vector, add inset
883         accesor
884         * iterators.[C]: adjust
885
886 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
887
888         * lyxfind.C (replaceAll): mark the buffer dirty if something was
889         replaced
890         * paragraph_funcs.C (readParToken): put the correct id in the
891         error item, not the id of the top paragraph
892
893 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
894
895         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
896         * bufferview_funcs.C (put_selection_at): use the above
897
898 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
899
900         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
901
902 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
903
904         * output_linuxdoc.h:
905         * output_plaintext.h:
906         * output.h:
907         * output_docbook.h: add #include statements
908
909 2003-11-05  José Matos  <jamatos@lyx.org>
910
911         * output_docbook.[Ch]:
912         * output_latex.[Ch]:
913         * output_linuxdoc.[Ch]:
914         * output_plaintext.[Ch]: New files for output formats.
915         * output.[Ch]: New file for helper functions.
916
917         * buffer.[Ch]:
918         * paragraph_funcs.[Ch]: output functions moved to new files.
919
920         * outputparams.h: rename of latexrunparams.h
921
922         * LaTeX.[Ch]:
923         * buffer.[Ch]:
924         * bufferlist.[Ch]:
925         * converter.[Ch]:
926         * exporter.C:
927         * paragraph.[Ch]:
928         * paragraph_funcs.[Ch]:
929         * paragraph_pimpl.[Ch]:
930         * tabular.[Ch]: rename ascii to plaintext
931         and LatexRunParams to OutputParams.
932
933 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
934
935         * iterators.[Ch] (text): require bv argument
936         * undo.C (recordUndo):
937         * lyxfunc.C (dispatch):
938         * bufferview_funcs.C (put_selection_at): adjust
939
940 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
941
942         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
943
944 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
945
946         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
947         nestings
948
949 2003-11-04  André Pönitz  <poenitz@gmx.net>
950
951         * cursor.[Ch]: restructure
952
953         * BufferView.[Ch]:
954         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
955
956         * iterators.[Ch] (asCursor): remove
957
958         * lfuns.h: remove LFUN_INSET_EDIT
959
960         * lyxfunc.C:
961         * tabular.C:
962         * text.C:
963         * text2.C:
964         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
965
966 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
967
968         * lyxfind.[Ch]: complete overhaul
969         * BufferView_pimpl.C:
970         * lyxfunc.C: adjust
971         * paragraph.[Ch] (insert): add
972
973 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
974
975         * BufferView.[Ch]:
976         * lyxtext.h:
977         * text.C: remove dead spellcheck code
978
979 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
980
981         * dispatchresult.h: add a val setter
982
983         * cursor.C (dispatch): use a tempvar for data_[i]
984
985 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
986
987         * PosIterator.[Ch]: compile fix
988
989 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
990
991         * text.C (cursorPar): deactivate the cursor cache
992
993 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
994
995         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
996
997 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
998
999         * text3.C (dispatch): adjust for new DisptchResult semantics.
1000
1001         * lyxfunc.C (dispatch): handle update when return from
1002         Cursor::dispatch, adjust for new DispatchResult semantics.
1003
1004         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1005         DispatchResult(true) mean to not update. Add class functions for
1006         setting dispatched and update, as well as reading.
1007
1008         * cursor.C (dispatch): don't handle update here
1009
1010 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1011
1012         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1013         * trans_mgr.C: adjust
1014
1015         * paragraph_funcs.C (readParToken): exception safety
1016
1017         * lyxvc.h: store the vcs pointer in a scoped_ptr
1018         * lyxvc.C: adjust
1019
1020         * lyxsocket.C (serverCallback): exception safety
1021
1022         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1023
1024         * ispell.C (clone): make it return a auto_ptr
1025
1026         * factory.C (createInset): exception safety
1027         (readInset): exception safety
1028
1029         * bufferlist.C (newBuffer): exception safety
1030
1031         * Thesaurus.C (Thesaurus): use initialization for aik_
1032
1033         * MenuBackend.C (expandToc): exception safety.
1034
1035 2003-11-03  André Pönitz  <poenitz@gmx.net>
1036
1037         * buffer.C:
1038         * buffer.h:
1039         * bufferview_funcs.C: remove getInsetFromId()
1040
1041         * lyxcursor.[Ch]:
1042         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1043
1044         * lyxfunc.C:
1045         * text2.C:
1046         * text3.C: adjust
1047
1048 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1049
1050         * PosIterator.C (distance, advance): new
1051         * bufferview_funcs.[Ch] (put_selection_at): new
1052         * iterators.[Ch] (lockPath): new
1053
1054 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1055
1056         * iterators.[Ch] (asPosIterator): added
1057         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1058         * PosIterator.[Ch]: added
1059
1060 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1061
1062         * text3.C:
1063         * lyxfunc.C:
1064         * cursor.C (dispatch):
1065         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1066
1067         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1068         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1069         contructor, add a class function dispatched. Remove operator>=
1070
1071 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1072
1073         * debug.C: only use the default constructor for debugstream
1074         (lyxerr) here.
1075
1076         * main.C (main): include debug.h and setup the lyxerr streambuf
1077         here.
1078
1079 2003-10-31  José Matos  <jamatos@lyx.org>
1080
1081         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1082
1083         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1084         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1085         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1086         * paragraph_pimpl.C (simpleTeXSpecialC):
1087         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1088         add LatexRunParams argument.
1089
1090         * exporter.C (Export): change call accordingly.
1091
1092         * latexrunparams.h: add new member to take care of the other backends.
1093 2003-10-30  José Matos  <jamatos@lyx.org>
1094
1095         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1096         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1097         factorise code for paragraph output.
1098         * buffer.[Ch]:
1099         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1100         move functions.
1101
1102 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1103
1104         * text3.C (dispatch):
1105         * lyxfunc.C (dispatch):
1106         * cursor.C (dispatch):
1107         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1108
1109         * dispatchresult.h: make the dispatch_result_t ctor explicit
1110
1111 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1112
1113         * sgml.[Ch]:
1114         * buffer.C: small refactoring of docbook stuff
1115
1116 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1117
1118         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1119         meaning.
1120
1121 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1122
1123         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1124         operator dispatch_result_t, and operators for == != and >=
1125
1126         * cursor.C (dispatch): adjust for operator dispatch_result_t
1127         removal. comment out call to update
1128
1129         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1130
1131 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1132
1133         * text3.C:
1134         * text2.C:
1135         * text.C:
1136         * lyxtext.h:
1137         * lyxfunc.C:
1138         * cursor.C:
1139         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1140         (dispatch):
1141
1142         * dispatchresult.h: new file, DispatchResult broken out of
1143         insets/insetbase.h
1144
1145         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1146
1147 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1148
1149         * text.C (rowBreakPoint): put a hack inside #if 0
1150
1151 2003-10-28  André Pönitz  <poenitz@gmx.net>
1152
1153         * lyxtext.h:
1154         * metricsinfo.C:
1155         * paragraph_funcs.C:
1156         * rowpainter.C:
1157         * text.C:
1158         * text2.C: general cleanup (lots of small stuff)
1159
1160 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1161
1162         * text2.C (cursorEnd): simple fix to the "end key goes to one
1163         before the end on last row" bug
1164
1165 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1166
1167         * text.C (backspace): fix the "zombie characters"
1168
1169 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1170
1171         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1172
1173 2003-10-27  André Pönitz  <poenitz@gmx.net>
1174
1175         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1176
1177         * factory.C: handle new InsetPagebreak, InsetLine
1178
1179         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1180         and move handling into new InsetPagebreak, InsetLine
1181
1182         * BufferView_pimpl.C:
1183         * LyXAction.C:
1184         * ParagraphParameters.C:
1185         * ParameterStruct.h:
1186         * lyxfunc.C:
1187         * lyxtext.h:
1188         * paragraph.C:
1189         * paragraph.h:
1190         * paragraph_funcs.C:
1191         * paragraph_pimpl.C:
1192         * rowpainter.C:
1193         * text.C:
1194         * text2.C:
1195         * text3.C: adjust
1196
1197 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1198
1199         * text.C:
1200         * lyxrow_funcs.[Ch]:
1201         * Bidi.C:
1202         * paragraph.C:
1203         * lyxtext.h:
1204         * rowpainter.C:
1205         * text2.C:
1206         * text3.C: remove lastPos uses in favour of Row::endpos
1207
1208 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1209
1210         * undo.C (performUndoOrRedo): fix two crashes by setting a
1211         cursor by hand and reordering some calls. Use bv->lockInset instead
1212         of inset->edit because the latter loses cursor information
1213
1214 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1215
1216         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1217         by Martin
1218         (rowBreakPoint): fix width. change point to point + 1.
1219         Add a missing check.
1220
1221 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1222
1223         * MenuBackend.C:
1224         * lyxfunc.C: fix (at least partly) the problems
1225         with the Nav menu and headers inside branch insets
1226         reported by Kayvan
1227
1228 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1229
1230         * paragraph.C (getChar): add strong asserts
1231
1232         * lyxrow_funcs.C (lastPos): remove hideous hack
1233
1234         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1235         (fill): adjust to that (avoid an infinite loop)
1236
1237 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1238
1239         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1240
1241 2003-10-23  André Pönitz  <poenitz@gmx.net>
1242
1243         * RowList_fwd.h: change list<> to vector<> to gain speed
1244         after suggestion from Alfredo
1245
1246 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1247
1248         * lyxtext.h: move the bidi stuff from here...
1249         * text.C: and here
1250         * text2.C: and here
1251         * Bidi.[Ch]: ... to here
1252
1253 2003-10-23  André Pönitz  <poenitz@gmx.net>
1254
1255         * lyxtext.h:
1256         * text.C (isLastRow, isFirstRow): new functions
1257
1258         * paragraph.h: new width cache member
1259
1260         * rowpainter.C: replace RowList::iterator with Row & where possible
1261
1262         * lyxfunc.C: replace several view()->text with a single call
1263
1264         * toc.C: fix 'unused' warning
1265
1266 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1267
1268         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1269         when woring with stream::pos_type
1270         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1271
1272 2003-10-22  André Pönitz  <poenitz@gmx.net>
1273
1274         * lyxtext.h:
1275         * text.C: use Row & instead of RowList::iterator
1276
1277         * lyxrow.h: rename end() to endpos()
1278
1279         * rowpainter.C:
1280         * text.C:
1281         * text2.C: adjust
1282
1283 2003-10-22  Angus Leeming  <leeming@lyx.org>
1284
1285         * buffer.[Ch] (fully_loaded): new member function, returning true
1286         only when the file has been loaded fully.
1287         Used to prevent the premature generation of previews and by the
1288         citation inset to prevent computation of the natbib-style label.
1289
1290         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1291         templates are all set up.
1292
1293         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1294
1295 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1296
1297         * text.C: fixed an "oops" in the "is a bit silly"
1298         bug fix
1299
1300 2003-10-21  André Pönitz  <poenitz@gmx.net>
1301
1302         * FuncStatus.[Ch]: small stuff, whitespace
1303
1304         * lyxfont.[Ch]: operator<<() for debug reasons
1305
1306         * lyxfunc.C:
1307         * lyxrow_funcs.C:
1308         * lyxtext.h: whitespace, spelling
1309
1310         * paragraph.C: naming of variables
1311
1312         * text.C:
1313         * text2.C: small stuff
1314
1315
1316 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1317
1318         * text.C: (1) finish off the inset display() work;
1319         (2) fix the "is a bit silly" bug (accessing char
1320         past end of par).
1321
1322 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1323
1324         * text.C: re-introduce display() for insets, fixing the
1325         various bugs (stretch of line above, math inset
1326         positioning, ...)
1327
1328 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1329
1330         * text.C (rightMargin): remove spurious semicolon
1331
1332         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1333         1415)
1334
1335 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1336
1337         * text3.C: fix one crash due to wrong cursor def
1338
1339 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1340
1341         * vc-backend.C (scanMaster): make the regex static
1342
1343         * LaTeX.C (scanAuxFile): make the regexs static
1344
1345         * text3.C (doInsertInset, dispatch, dispatch):
1346         * text2.C (cursorUp, cursorDown):
1347         * text.C (selectNextWordToSpellcheck):
1348         * BufferView_pimpl.C (dispatch):
1349         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1350
1351 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1352
1353         * lyxsocket.C: include <cerrno>
1354
1355 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1356
1357         * lyxfunc.C (dispatch): remove textcache stuff
1358
1359         * bufferlist.C (release): remove textcache stuff
1360         (closeAll): ditto
1361
1362         * TextCache.C: delete file
1363         * TextCache.h: delete file
1364
1365         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1366
1367         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1368         delete of the bv_->text.
1369         (resizeCurrentBuffer): remove texcache stuff
1370         (workAreaResize): ditto
1371
1372 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1373
1374         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1375         action.
1376
1377 2003-10-16  André Pönitz  <poenitz@gmx.net>
1378
1379         * lyxrow.[Ch]:
1380         * paragraph.h:
1381         * rowpainter.C:
1382         * text.C:
1383         * text2.C:
1384         * text3.C: speed up by storing y positions per paragraph plus per-row
1385         offset instead of having a 'full' y position in the row.
1386
1387 2003-10-15  André Pönitz  <poenitz@gmx.net>
1388
1389         * iterators.[Ch]:
1390         * iterators.[Ch]:
1391         * undo.[Ch]: make undo aware of inner insets
1392
1393 2003-10-14  Angus Leeming  <leeming@lyx.org>
1394
1395         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1396         static member functions LyX::ref() and LyX::cref.
1397         (lastfiles): new accessor functions for the new lastfiles_ member var.
1398         (addLyXView, views_): add a new LyXView to the list of views_.
1399         (updateInset): loop over all LyXViews to call their own updateInset
1400         member function, returning a pointer to the Buffer owning the inset.
1401
1402         * BufferView_pimpl.C (loadLyXFile):
1403         * MenuBackend.C (expandLastfiles):
1404         * bufferlist.C (MenuWrite, QuitLyX):
1405         lastfiles is no longer a global variable.
1406         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1407
1408         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1409         static function. Access through LyX::cref().emergencyCleanup().
1410
1411 2003-10-14  André Pönitz  <poenitz@gmx.net>
1412
1413         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1414
1415         * undo.[Ch]: restoring part of 'undo in insets'
1416
1417         * Makefile.am:
1418         * undo_funcs.[Ch]: merge with undo.[Ch]
1419
1420         * tabular.C: small cleansing stuff
1421
1422 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1423
1424         * paragraph_funcs.C (readParToken): report unknown insets as error
1425         boxes. Use the outer paragraph as location (also for unknown
1426         tokens).
1427
1428         * factory.C (readInset): do not abort on reading an unknown inset.
1429         Eat it and return 0.
1430
1431 2003-10-13  Angus Leeming  <leeming@lyx.org>
1432
1433         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1434
1435         * lyxrc.C: displayTranslator is now a function,
1436         declared in GraphicsTypes.h.
1437
1438 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1439
1440         * format.C: new placeholder $$a to pass the socket address.
1441
1442         * bufferlist.[Ch]: new function getBufferFromTmp.
1443
1444         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1445           files in the temporary dir.
1446
1447 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1448
1449         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1450
1451         * Makefile.am: add lyxsocket.[Ch].
1452
1453         * lyx_main.C (error_handler): handle SIGPIPE.
1454
1455 2003-10-13  André Pönitz  <poenitz@gmx.net>
1456
1457         * BufferView_pimpl.C:
1458         * lyxtext.h:
1459         * text.C:
1460         * text2.C:
1461         * text3.C:
1462         * undo_funcs.[Ch]: use paroffset_type instead of
1463           ParagraphList::iterators to prevent multiple conversion
1464           (and get a more robust interface)
1465
1466 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1467
1468         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1469         * lyxtext.h: ditto
1470         * text3.C (dispatch): ditto
1471
1472 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1473
1474         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1475         move the onlyfile, use onlyfile instead of foundfile in a couple
1476         of places.
1477
1478         * DepTable.C (update): flush the error stream a bit more
1479
1480 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1481
1482         * lyxserver.C (callback): adjust
1483
1484         * lyxfunc.C (getStatus): add a missing brace in commented code
1485         (ensureBufferClean): reindent
1486         (dispatch): delete version taking a string
1487
1488 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1489
1490         * LaTeX.C (deplog): move found file handlig from here...
1491         (handleFoundFile): .. to new function here.
1492         (deplog): make sure to discover several files mentioned on the
1493         same log line.
1494
1495 2003-10-10  André Pönitz  <poenitz@gmx.net>
1496
1497         * lyxfunc.C:
1498         * lyxtext.h:
1499         * tabular.C:
1500         * text.C:
1501         * text2.C:
1502         * text3.C: fix some of the tabular crashes
1503
1504 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1505
1506         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1507
1508         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1509
1510 2003-10-09  André Pönitz  <poenitz@gmx.net>
1511
1512         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1513
1514         * BufferView.C:
1515         * BufferView_pimpl.C:
1516         * bufferview_funcs.C:
1517         * lyx_cb.C:
1518         * lyxcursor.C:
1519         * lyxfind.C:
1520         * lyxfunc.C:
1521         * lyxtext.h:
1522         * text.C:
1523         * text2.C:
1524         * text3.C:
1525         * text_funcs.[Ch]:
1526         * textcursor.[Ch]:
1527         * undo_funcs.C: adjust
1528
1529 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1530
1531         * text2.C (incrementItemDepth): new function, use a backtracking
1532         algorithm to discover the correct item depth.
1533         (resetEnumCounterIfNeeded): new function, use a backtracking
1534         algorithm to discover if counter reset is needed.
1535         (setCounter): use them. Simplify a bit. Add different labels for
1536         different item depths for itemize.
1537
1538         * paragraph.C (Paragraph): remove initialization of enumdepth
1539         (operator=): ditto
1540
1541         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1542         enumerate and itemize. Change the type of itemdepth to signed char.
1543
1544 2003-10-08  André Pönitz  <poenitz@gmx.net>
1545
1546         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1547           thing assignable.
1548         * text.C:
1549         * text2.C: adjust
1550
1551         * tabular.[Ch]: fix crash after 'row-insert'
1552
1553 2003-10-08  Angus Leeming  <leeming@lyx.org>
1554
1555         Fix doxygen warnings.
1556
1557         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1558         Remove CutAndPaste:: prefix from header file declaration.
1559
1560         * LColor.h (fill): remove LColor:: prefix from declaration.
1561
1562         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1563         use lyx::depth_type rather than Paragraph::depth_type so that
1564         header file and .C file match.
1565
1566         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1567
1568         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1569         * aspell.C: \file aspell_local.C -> \file aspell.C
1570         * gettext.C: \file gettext.C -> \file src/gettext.C
1571         * gettext.h: \file gettext.h -> \file src/gettext.h
1572         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1573         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1574         * text.C: \file text.C -> \file src/text.C
1575
1576         * toc.C: move comment so that doxygen is not confused.
1577
1578 2003-10-07  Angus Leeming  <leeming@lyx.org>
1579
1580         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1581
1582 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1583
1584         * aspell.C:
1585         * aspell_local.h: add forgotten std::string's.
1586
1587 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1588
1589         * LaTeXFeatures.C:
1590         * LyXAction.C:
1591         * factory.C:
1592         * lfuns.h:
1593         * lyxfunc.C:
1594         * text3.C: The Box patch. Fancybox support, minipage, parbox
1595
1596 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1597
1598         * CutAndPaste.h:
1599         * DepTable.h:
1600         * FloatList.h:
1601         * LaTeXFeatures.h:
1602         * ParagraphParameters.h:
1603         * TextCache.h:
1604         * Thesaurus.h:
1605         * bufferlist.h:
1606         * exporter.h:
1607         * importer.h:
1608         * lastfiles.h:
1609         * lyxfind.h:
1610         * lyxfont.h:
1611         * lyxlex.h:
1612         * lyxtextclasslist.h:
1613         * messages.h:
1614         * paragraph.h:
1615         * paragraph_pimpl.C:
1616         * textcursor.h: add <string> and other small fixes to make Lars'
1617         std::string patch compile with STLport.
1618
1619 2003-10-06  Angus Leeming  <leeming@lyx.org>
1620
1621         * LColor.h: Add missing #include <string>.
1622
1623 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1624
1625         * All most all file in all subdirs: Make <string> be the prefered
1626         way of getting to std::string, add using declarations.
1627
1628 2003-10-06  André Pönitz  <poenitz@gmx.net>
1629
1630         * metricsinfo.C: initialize LyXFont before changing attribute.
1631         (fixes the 'math in \emph is upright' bug)
1632
1633 2003-10-06  André Pönitz  <poenitz@gmx.net>
1634
1635         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1636
1637 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1638
1639         * graph.C:
1640         * paragraph_pimpl.C: Small fixes to build using STLport
1641
1642 2003-10-02  André Pönitz  <poenitz@gmx.net>
1643
1644         * lyxfunc.C:
1645         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1646
1647 2003-10-01  André Pönitz  <poenitz@gmx.net>
1648
1649         * factory.C: assert early
1650
1651 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1652
1653         * lyx_main.C: remove the global debug object
1654
1655         * debug.h: adjust for new debugstream
1656
1657         * debug.C: adjust for new debugstream and keep the global debug
1658         object here.
1659
1660 2003-09-22  Angus Leeming  <leeming@lyx.org>
1661
1662         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1663         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1664         an incomplete class LyXFont.
1665
1666 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1667
1668         * factory.C: bug fix in branches
1669
1670 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1671
1672         * lyxfunc.C (processKeySym): adjust
1673         (dispatch): adjust
1674         (dispatch): change arg name from ev to func, adjust
1675         (sendDispatchMessage): ditto
1676
1677         * lyx_main.C (defaultKeyBindings): adjust keybindings
1678         (deadKeyBindings): ditto
1679
1680         * kbsequence.C (addkey): return a FuncRequest
1681
1682         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1683
1684         * kbmap.C (bind): take a FuncRequest as arg, adjust
1685         (read): adjust
1686         (lookup): adjust
1687         (defkey): change to take a FuncRequest as arg, adjust
1688         (findbinding): take a FuncRequest as arg, adjust.
1689
1690         * funcrequest.h (operator=): added
1691
1692         * funcrequest.C (FuncRequest): default kb_action changed from
1693         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1694
1695         * buffer.C (dispatch): simplify
1696         (dispatch): adjust to take a FuncRequest as arg, adjust
1697
1698         * boost.C (assertion_failed): change assertion message slightly
1699
1700         * ToolbarBackend.C (read): simplify
1701
1702         * MenuBackend.C (binding): adjust call to findbinding, add a
1703         message if no binding is found.
1704         (read): simplify
1705         (expandToc): correct by adding a empty FuncRequest
1706
1707         * LyXAction.C: include <boost/assert.hpp>
1708         (isPseudoAction): delete function
1709         (LookupFunc): change name to...
1710         (lookupFunc): this. change return type to FuncRequest.
1711         (getActionName): take kb_action as arg, simplify
1712         (funcHasFlag): add an assert, simplify.
1713
1714 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1715
1716         * toc.C (action): return a FuncRequest, simplify
1717
1718         * lyxfunc.C (processKeySym): adjust
1719         (getStatus): delete version that takes an int.
1720         (getStatus): adjust
1721         (dispatch): delete version that takes action as int
1722         (dispatch): adjust
1723         (sendDispatchMessage): simplify and adjust
1724
1725         * funcrequest.C (getArg): take unsigned int as arg
1726
1727         * ToolbarBackend.C (read): adjust
1728         (add): delete version that takes func as a string.
1729         (getIton): take a FuncRequest as arg
1730
1731         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1732         action.
1733
1734         * MenuBackend.C (MenuItem): add a new construct that only takes a
1735         Kind, simplify the constructor use for submenus.
1736         (add): adjust
1737         (expandLastfiles): adjust
1738         (expandDocuments): adjust
1739         (expandFormats): adjust
1740         (expandFloatListInsert): adjust
1741         (expandFloatInsert): adjust
1742         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1743
1744         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1745         Remove class variables lyx_pseudo_map and lyx_arg_map
1746
1747         * LyXAction.C (searchActionArg): delete function
1748         (getPseudoAction): delete function
1749         (retrieveActionArg): delete function
1750         (LookupFunc): make it return kb_action, simplify.
1751         (getActionName): simplify
1752
1753         * factory.C (createInset): fix new bug
1754
1755 2003-09-19  Angus Leeming  <leeming@lyx.org>
1756
1757         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1758         masterFilename_ parameter in the include inset.
1759
1760         * factory.C (createInset): changes due to the changes to InsetInclude.
1761
1762 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1763
1764         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1765
1766 2003-09-18  Angus Leeming  <leeming@lyx.org>
1767
1768         * buffer.C:
1769         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1770         Inset::fillWithBibKeys.
1771         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1772
1773 2003-09-18  Angus Leeming  <leeming@lyx.org>
1774
1775         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1776         variables.
1777         (ctor): pass and store a 'Buffer const &'
1778         (buffer): new member function.
1779
1780         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1781         '*this' to the LaTeXFeatures ctor.
1782
1783 2003-09-18  Angus Leeming  <leeming@lyx.org>
1784
1785         * LColor.h:
1786         * lyxfont.C:
1787         * lyxfont.h:
1788         * lyxtext.h:
1789         * text.C: rename EnumLColor as LColor_color.
1790
1791 2003-09-18  Angus Leeming  <leeming@lyx.org>
1792
1793         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1794         remove #include "insets/insetbase.h" from cursor.h.
1795
1796 2003-09-18  Angus Leeming  <leeming@lyx.org>
1797
1798         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1799         InsetOld_code to remove #include "inset.h".
1800
1801         * iterators.C: add #include "insets/inset.h"
1802
1803 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1804
1805         * BufferView.C: remove more locking stuff that apparently doesn't
1806         do anything sensible.
1807
1808 2003-09-16  André Pönitz  <poenitz@gmx.net>
1809
1810         * paragraph.[Ch]:
1811         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1812           performance boost.
1813
1814 2003-09-16  Angus Leeming  <leeming@lyx.org>
1815
1816         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1817
1818         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1819         arg/return type.
1820
1821         * paragraph.h: remove #include "lyxfont.h". Forward declare
1822         LyXFont_size.
1823
1824 2003-09-16  Angus Leeming  <leeming@lyx.org>
1825
1826         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1827         of support/textutils.h.
1828         (isWord): move the contents of support/textutils.h's IsWordChar here.
1829
1830         * buffer.C:
1831         * lyxfind.C:
1832         * rowpainter.C:
1833         * text.C:
1834         * text2.C: add #include "paragraph.h".
1835
1836         * rowpainter.C:
1837         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1838
1839 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1840
1841         * main.C:
1842         * lyx_main.C:
1843         * lyx_cb.C:
1844         * buffer.C:
1845         * LaTeX.C: use namespace alias for lyx::support::os
1846
1847 2003-09-16  Angus Leeming  <leeming@lyx.org>
1848
1849         * bufferparams.C:
1850         * bufferview_funcs.C:
1851         * factory.C:
1852         * lyxfunc.C:
1853         * paragraph_pimpl.C:
1854         * rowpainter.C:
1855         * text.C: add #include "LColor.h".
1856
1857 2003-09-16  Angus Leeming  <leeming@lyx.org>
1858
1859         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1860         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1861         return LyXFont &.
1862         Store the FontBits::color variable as an int rather than as an
1863         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1864         file.
1865
1866         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1867         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1868         string calls together.
1869
1870         * lyxrc.C: add #include "LColor.h".
1871
1872 2003-09-15  Angus Leeming  <leeming@lyx.org>
1873
1874         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1875         a cow_ptr.
1876
1877 2003-09-15  Angus Leeming  <leeming@lyx.org>
1878
1879         * LColor.h: add an EnumLColor wrapper for LColor::color.
1880
1881         * lyxfont.[Ch] (color, setColor, realColor):
1882         * lyxtext.h, text.C (backgroundColor):
1883         pass EnumLColor args to/from the functions, rather than LColor::color
1884         ones.
1885
1886         * lyxfont.h:
1887         * lyxtext.h: forward declare EnumLColor.
1888
1889         * lyx_main.C: add #include "LColor.h".
1890
1891 2003-09-15  Angus Leeming  <leeming@lyx.org>
1892
1893         * .cvsignore: add lyx-gtk.
1894
1895 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1896
1897         * Chktex.C
1898         * LaTeX.C
1899         * LaTeXFeatures.C
1900         * ParagraphParameters.C
1901         * Spacing.C
1902         * buffer.C
1903         * bufferparams.C
1904         * bufferview_funcs.C
1905         * chset.C
1906         * counters.C
1907         * funcrequest.C
1908         * lyxfont.C
1909         * lyxgluelength.C
1910         * lyxlength.C
1911         * paragraph.C
1912         * paragraph_funcs.C
1913         * text3.C
1914         * vc-backend.C: remove usage of STRCONV
1915
1916 2003-09-15  Angus Leeming  <leeming@lyx.org>
1917
1918         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1919         explicitly define the color passed to the painter.
1920
1921 2003-09-15  Angus Leeming  <leeming@lyx.org>
1922
1923         * bufferparams.C (BufferParams): reorder member initializers to avoid
1924         compiler warning.
1925
1926 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1927
1928         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1929         * text.C (updateRowPositions): remove an unusual nop
1930
1931 2003-09-12  André Pönitz  <poenitz@gmx.net>
1932
1933         * BufferView_pimpl.C:
1934         * Bullet.C:
1935         * layout.h:
1936         * lyxfunc.C:
1937         * lyxlayout.[Ch]:
1938         * lyxtextclass.C:
1939         * rowpainter.C:
1940         * text.C:
1941         * text2.C:
1942         * Counters.[Ch]: finish the 'automatic counters' job
1943
1944 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1945
1946         * aspell.C: include <boost/assert.cpp> (compile fix)
1947
1948 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1949
1950         * boost.C (assertion_failed): use lyx::support::abort instead of
1951         assert.
1952
1953 2003-09-10  Angus Leeming  <leeming@lyx.org>
1954
1955         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1956         with their _fwd progeny.
1957
1958 2003-09-09  Angus Leeming  <leeming@lyx.org>
1959
1960         134 files throughtout the source tree: replace 'using namespace abc;'
1961         directives with the appropriate 'using abc::xyz;' declarations.
1962
1963 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1964
1965         * boost.C (emergencyCleanup): moved here from LAssert.c
1966         (assertion_failed): new function, called by BOOST_ASSERT
1967
1968         * several files: change Assert to BOOST_ASSERT
1969
1970 2003-09-09  Angus Leeming  <leeming@lyx.org>
1971
1972         * buffer.[Ch]: Add an Impl class and move Buffer's member
1973         variables into it. As a result move several header files out of
1974         buffer.h.
1975
1976         Add header files to lots of .C files all over the tree as a result.
1977
1978 2003-09-09  Angus Leeming  <leeming@lyx.org>
1979
1980         * buffer.[Ch]: make Buffer's member variables private. Add
1981         accessor functions.
1982
1983         Lots of changes all over the tree as a result.
1984
1985 2003-09-08  Angus Leeming  <leeming@lyx.org>
1986
1987         * graph.C: #include <config.h>.
1988
1989 2003-09-08  Angus Leeming  <leeming@lyx.org>
1990
1991         * BranchList.C:
1992         * BufferView.C:
1993         * BufferView_pimpl.C:
1994         * CutAndPaste.C:
1995         * DepTable.C:
1996         * LaTeX.C:
1997         * LaTeXFeatures.C:
1998         * LyXAction.C:
1999         * MenuBackend.C:
2000         * TextCache.C:
2001         * aspell.C:
2002         * buffer.C:
2003         * bufferlist.C:
2004         * changes.C:
2005         * chset.C:
2006         * converter.C:
2007         * counters.C:
2008         * debug.C:
2009         * graph.C:
2010         * ispell.C:
2011         * lyx_cb.C:
2012         * lyxfind.C:
2013         * lyxfunc.C:
2014         * lyxlex_pimpl.C:
2015         * lyxrc.C:
2016         * lyxrow.C:
2017         * paragraph.C:
2018         * rowpainter.C:
2019         * texrow.C:
2020         * text.C:
2021         * text2.C:
2022         * toc.C: remove redundant using directives.
2023
2024 2003-09-07  Angus Leeming  <leeming@lyx.org>
2025
2026         * LaTeXFeatures.h: remove #include "support/types.h".
2027         * ToolbarBackend.h: remove #include <algorithm>.
2028         * changes.h: remove #include <ctime>.
2029         * debug.h: remove #include <iosfwd>.
2030         * graph.h: remove #include "support/std_string.h".
2031         * lyx_main.h: remove #include <csignal>.
2032         * lyxlex_pimpl.h: remove #include <fstream>.
2033         * sgml.h: remove #include <algorithm>, <utility>.
2034         * toc.h: remove #include "support/std_ostream.h".
2035         Add #include <iosfwd>.
2036
2037 2003-09-07  Angus Leeming  <leeming@lyx.org>
2038
2039         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2040
2041         * converter.h: forward declare LatexRunParams.
2042         * encoding.h: remove #include "lyxrc.h".
2043         * lyxtext.h: remove #include "LColor.h".
2044         * lyxtextclass.h: remove #include "support/types.h".
2045         * trans.h: remove #include "tex-accent.h".
2046         * trans_mgr.h: remove #include "tex-accent.h".
2047         * insets/inset.h: remove #include "support/types.h", <vector>.
2048         * insets/insetcollapsable.h: remove #include "LColor.h".
2049         * insets/insetinclude.h: remove #include "dimension.h".
2050         * insets/insetlatexaccent.h: remove #include "dimension.h".
2051         * insets/insetoptarg.h:: remove #include "insettext.h".
2052         * insets/insettext.h: remove #include "dimension.h",
2053         <boost/shared_ptr.hpp>
2054
2055         * insets/renderers.h: add #include "dimension.h".
2056         * insets/updatableinset.h: add #include "support/types.h".
2057
2058         * many .C files: Associated changes.
2059
2060 2003-09-06  Angus Leeming  <leeming@lyx.org>
2061
2062         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2063         one, inside testInvariant.
2064
2065         * PrinterParams.C: new file.
2066         * PrinterParams.[Ch]: move the function bodies out of line.
2067
2068 2003-09-06  Angus Leeming  <leeming@lyx.org>
2069
2070         * ParagraphParameters.h: forward declare ParameterStruct rather than
2071         including its header file.
2072         (depth): moved out-of-line.
2073
2074 2003-09-06  Angus Leeming  <leeming@lyx.org>
2075
2076         * BufferView_pimpl.h:
2077         * kbmap.h:
2078         * kbsequence.h:
2079         * lyxfunc.h: forward declare LyXKeySym rather than
2080         #include "frontends/LyXKeySym.h".
2081
2082         * BufferView_pimpl.C:
2083         * kbmap.C:
2084         * kbsequence.C:
2085         * lyxfunc.C: associated changes.
2086
2087 2003-09-06  Angus Leeming  <leeming@lyx.org>
2088
2089         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2090         As a result, can remove the #include "insets/inset.h" from BufferView.h
2091
2092 2003-09-06  Angus Leeming  <leeming@lyx.org>
2093
2094         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2095         As a result, can remove the #include "insets/inset.h" from BufferView.h
2096
2097 2003-09-06  Angus Leeming  <leeming@lyx.org>
2098
2099         * buffer_funcs.C:
2100         * buffer.h:
2101         * bufferlist.C:
2102         * BufferView.C:
2103         * bufferview_funcs.C:
2104         * BufferView_pimpl.C:
2105         * CutAndPaste.C:
2106         * lyx_cb.C:
2107         * lyxfunc.C:
2108         * paragraph.h:
2109         * ParagraphParameters.C:
2110         * tabular.C:
2111         * text3.C:
2112         * toc.C:
2113         * undo_funcs.C:
2114         * frontends/controllers/ControlDocument.C:
2115         * insets/insetcaption.C: rearrange the #includes into some sort of
2116         coherent order.
2117
2118         * buffer.h: remove #includes ErrorList.h, undo.h
2119
2120 2003-09-06  Angus Leeming  <leeming@lyx.org>
2121
2122         * support/types.h: add a 'depth_type' typedef, used to store the
2123         nesting depth of a paragraph.
2124
2125         * paragraph.h:
2126         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2127         defining explicitly.
2128
2129         * buffer.h:
2130         * paragraph_funcs.h:
2131         * ParagraphParameters.h:
2132         * sgml.h: use lyx::depth_type rather than Paragraph or
2133         ParameterStruct's depth_type.
2134
2135         * buffer.h
2136         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2137
2138         * BufferView.C:
2139         * BufferView_pimpl.C:
2140         * CutAndPaste.C:
2141         * ParagraphParameters.C:
2142         * buffer_funcs.C:
2143         * bufferlist.C:
2144         * bufferview_funcs.C:
2145         * lyx_cb.C:
2146         * lyxfunc.C:
2147         * tabular.C:
2148         * text3.C:
2149         * toc.C:
2150         * undo_funcs.C:
2151         * frontends/LyXView.C:
2152         * frontends/controllers/ControlDocument.C:
2153         * frontends/controllers/ControlErrorList.C:
2154         * insets/insetbibitem.C:
2155         * insets/insetbranch.C:
2156         * insets/insetcaption.C:
2157         * insets/insetcollapsable.C:
2158         * insets/insetenv.C:
2159         * insets/insetert.C:
2160         * insets/insetfloat.C:
2161         * insets/insetfoot.C:
2162         * insets/insetfootlike.C:
2163         * insets/insetnewline.C:
2164         * insets/insetquotes.C:
2165         * insets/insettabular.C:
2166         * insets/insettext.C:
2167         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2168
2169         * frontends/controllers/ControlChanges.C: #include "changes.h".
2170
2171 2003-09-06  Angus Leeming  <leeming@lyx.org>
2172
2173         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2174         than #including paragraph.h.
2175
2176         * ParagraphList.h:
2177         * RowList.h: deleted. Superfluous.
2178
2179         * CutAndPaste.h:
2180         * iterators.h:
2181         * lyxcursor.h:
2182         * lyxtext.h:
2183         * text_funcs.h:
2184         * undo.h:
2185         * undo_funcs.h:
2186         * insets/inset.h:
2187         * insets/insettext.h: use ParagraphList_fwd.h rather than
2188         ParagraphList.h.
2189
2190         * paragraph.h: don't forward declare ParagraphList.
2191
2192         * buffer.h:
2193         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2194         rather than ParagraphList.h. paragraph.h is still needed for the
2195         Paragraph::depth_type parameters.
2196
2197         * textcursor.h: enable it to compile stand-alone in light of the
2198         above changes.
2199
2200         * bufferview_funcs.C:
2201         * iterators.C:
2202         * lyxfunc.C:
2203         * lyxrow_funcs.C:
2204         * paragraph.C:
2205         * rowpainter.C:
2206         * text.C:
2207         * text2.C:
2208         * text3.C:
2209         * text_funcs.C:
2210         * textcursor.C:
2211         * undo.C:
2212         * frontends/controllers/ControlParagraph.C:
2213         * frontends/controllers/ControlTabular.C:
2214         * insets/insetmarginal.C:
2215         * insets/insetminipage.C:
2216         * insets/insetnote.C:
2217         * insets/insetoptarg.C: add header files needed to compile again.
2218
2219 2003-09-06  Angus Leeming  <leeming@lyx.org>
2220
2221         * RowList_fwd.h: new file, forward-declaring Row rather than
2222         #including lyxrow.h.
2223
2224         * lyxrow_funcs.h:
2225         * lyxtext.h:
2226         * paragraph.h:
2227         * insets/insettext.h: use it instead of RowList.h
2228
2229         * bufferview_funcs.C:
2230         * lyxfunc.C:
2231         * lyxrow_funcs.C:
2232         * paragraph.C:
2233         * rowpainter.C:
2234         * text.C:
2235         * text2.C:
2236         * text3.C: #include "RowList.h".
2237
2238 2003-09-05  Angus Leeming  <leeming@lyx.org>
2239
2240         * factory.C (createInset):
2241         * vspace.C (c-tor): replace sscanf call with an istringstream.
2242         * ispell.C: re-add missing HP/UX headers.
2243         * lyxserver.C: re-add missing  os2 headers.
2244
2245 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2246
2247         * BranchList.C:
2248         * graph.C:
2249         * ispell.C:
2250         * lastfiles.C:
2251         * lyx_cb.C:
2252         * lyxserver.C:
2253         * texrow.C:
2254         * text3.C: re-add missing system headers, needed for 2.95.2.
2255
2256 2003-09-05  Angus Leeming  <leeming@lyx.org>
2257
2258         Changes most place everywhere due to the removal of using directives
2259         from support/std_sstream.h.
2260
2261 2003-09-05  Angus Leeming  <leeming@lyx.org>
2262
2263         Replace LString.h with support/std_string.h,
2264         Lsstream.h with support/std_sstream.h,
2265         support/LIstream.h with support/std_istream.h,
2266         support/LOstream.h with support/std_ostream.h.
2267
2268         Changes resulting throughout the tree.
2269
2270 2003-09-05  Angus Leeming  <leeming@lyx.org>
2271
2272         * sgml.h: ensure that the header file can be compiled stand-alone.
2273         * *.C: strip out redundant #includes. (320 in total.)
2274
2275 2003-09-04  Angus Leeming  <leeming@lyx.org>
2276
2277         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2278         here (from getPackages).
2279
2280         * debug.[Ch]: add a new EXTERNAL tag.
2281
2282 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2283
2284         * text2.C (cursorEnd): simplify
2285         (setCursor): adjust
2286         (getColumnNearX): adjust
2287
2288         * text.C (computeBidiTables): adjust
2289         (fill): adjust
2290
2291         * rowpainter.C (paintChars): adjust
2292         (paintSelection): adjust
2293         (paintChangeBar): adjust
2294         (paintText): adjust
2295
2296         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2297         lastPos instead.
2298         (numberOfSeparators): adjust
2299
2300 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2301
2302         * LyXAction.C:
2303         * box.[Ch]:
2304         * lfuns.h:
2305         * lyxfunc.C:
2306         * text3.C: Restricts the mouse click functionality
2307         of insets like bibtex, include, toc and floatlist to the visible
2308         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2309         up the dialogs. Cursor has to be in front of the inset (i.e.
2310         start of row) for this to function.
2311
2312 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2313
2314         * bufferview_funcs.C (currentState): output row information
2315
2316 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2317
2318         * bufferview_funcs.C (currentState): output paragraph position
2319
2320 2003-09-04  Angus Leeming  <leeming@lyx.org>
2321
2322         * FloatList.h: move out #include "Floating.h".
2323         * LaTeX.h: move out #include "DepTable.h".
2324         * LyXAction.h: move out #include "funcrequest.h".
2325         * buffer.h: move out #include "author.h", "iterators.h".
2326         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2327         * lyx_main.h: move out #include "errorlist.h".
2328         * lyxfunc.h: move out #include "FuncStatus.h".
2329         * lyxtext: move out #include "lyxcursor.h".
2330         * paragraph_pimpl.h: move out #include "counters.h".
2331
2332 2003-09-03  Angus Leeming  <leeming@lyx.org>
2333
2334         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2335         preamble_snippets list, enabling us to add snippets to the preamble
2336         only if the snippet was not there already.
2337
2338 2003-09-04  Angus Leeming  <leeming@lyx.org>
2339
2340         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2341
2342 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2343
2344         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2345         update
2346
2347 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2348
2349         * BranchList.C: point fix, earlier forgotten
2350
2351 2003-09-02  Angus Leeming  <leeming@lyx.org>
2352
2353         * box.C (contains): renamed from 'contained' after a fantastic
2354         amount of hot air.
2355
2356 2003-09-02  John Levon  <levon@movementarian.org>
2357
2358         * BufferView.C:
2359         * lyxcursor.h:
2360         * lyxcursor.C:
2361         * lyxfunc.C:
2362         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2363
2364 2003-09-02  John Levon  <levon@movementarian.org>
2365
2366         * text2.C: simplification of cursorEnd(), including partial
2367         fix for bug 1376
2368
2369 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2370
2371         * buffer.C (readFile): add a space
2372
2373 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2374
2375         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2376
2377 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2378
2379         * buffer.C (readFile): new function, take a filename and a
2380         ParagraphList::iterator
2381         (readFile): adjust
2382         (readFile): adjust, make it private. don't use setStream, make
2383         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2384         always contain the filename.
2385
2386         * BufferView.C (insertLyXFile): simplify and make it work for
2387         gzipped files.
2388
2389 2003-08-30  John Levon  <levon@movementarian.org>
2390
2391         * Makefile.am: fix dist (from Kayvan)
2392
2393 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2394
2395         * most files: change to use const Buffer refs
2396
2397 2003-08-27  André Pönitz  <poenitz@gmx.net>
2398
2399         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2400         on top of ownerPar().
2401
2402 2003-08-27  John Levon  <levon@movementarian.org>
2403
2404         * funcrequest.C: properly initialise POD members
2405
2406 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2407
2408         * lyxtext.h (top_y): move top_y from here
2409         * text.C:
2410         * text2.C:
2411         * text3.C:
2412         * BufferView.[Ch]:
2413         * BufferView_pimpl.[Ch]: to here
2414         * frontends/screen.C:
2415         * insets/insettabular.C:
2416         * insets/insettext.C: adjust
2417         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2418
2419 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2420
2421         * BufferView.[Ch]:
2422         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2423
2424 2003-08-26  André Pönitz  <poenitz@gmx.net>
2425
2426         * paragraph_func.[Ch] (outerPar): new function
2427
2428         * paragraph.C:
2429         * paragraph_funcs.C:
2430         * paragraph_funcs.h:
2431         * paragraph_pimpl.C:
2432         * text2.C: remove Inset::par_owner
2433
2434 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2435
2436         * lyxrow_funcs.C:
2437         * lyxtext.h:
2438         * text.C:
2439         * text2.C: eliminates the needFullRow/display() stuff
2440         altogether, putting the logic in metrics/draw in the insets.
2441
2442 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2443
2444         * text2.C (redoParagraphInternal, redoParagraphs):
2445         * text.C (redoParagraph): add a call to updateRowPositions at the
2446         end of each 'metrics-like' call. Remove all others.
2447         (getRow): remove the 'y-computing' version.
2448         (getRowNearY): do not compute nor return the real y. Solve the
2449         'y < 0' problem and simplify.
2450
2451 2003-08-22  Angus Leeming  <leeming@lyx.org>
2452
2453         * *.[Ch]: clean-up of licence and author blurbs.
2454         Also move config.h out of a few .h files and into a few .C files.
2455
2456 2003-08-22  André Pönitz  <poenitz@gmx.net>
2457
2458         * lyxrow.[Ch]: add x_ and *fill_ members
2459
2460         * lyxtext.h:
2461         * text.C:
2462         * rowpainter.C:
2463         * text2.C: adjust/remove prepareToPrint() calls
2464
2465 2003-08-22  André Pönitz  <poenitz@gmx.net>
2466
2467         * lyxrow.[Ch]: add  end_ member
2468
2469         * lyxrow_funcs.C: use LyXRow::end_
2470
2471         * lyxtext.h (singleWidth): add LyXFont parameter
2472
2473         * rowpainter.C:
2474         * text2.C: adjust LyXText::singleWidth() calls
2475
2476         * text.C (redoParagraph): simplify row breaking logic
2477
2478
2479 2003-08-19  André Pönitz  <poenitz@gmx.net>
2480
2481         * funcrequest.C: initialize button_ member
2482
2483         * text3.C:
2484         * rowpainter.[Ch]: interface consolidation
2485
2486 2003-08-18  André Pönitz  <poenitz@gmx.net>
2487
2488         * BufferView.C:
2489         * BufferView_pimpl.C:
2490         * lyxfind.C:
2491         * paragraph_funcs.C:
2492         * rowpainter.C:
2493         * text3.C: remove LyXScreen::draw() and fitCursor calls
2494
2495         * BranchList.h: remove spurious semicolons
2496
2497         * MenuBackend.C: fix branchlist related crash
2498
2499 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2500
2501         * BranchList.[Ch]:
2502         * InsetList.[Ch]:
2503         * LColor.[Ch]:
2504         * LyXAction.C:
2505         * Makefile.am:
2506         * MenuBackend.[Ch]:
2507         * bufferparams.[Ch]:
2508         * factory.C:
2509         * lfuns.h:
2510         * lyxfunc.C:
2511         * text3.C: implements the 'branch inset'
2512         idea. This allows the output of various versions of a document
2513         from a single source version, selectively outputing or suppressing
2514         output of parts of the text.
2515         This implementation contains a 'branch list editor' in a separate
2516         tab of the document settings dialog. Branches are user definable
2517         and have a "display colour" to distinguish them on-screen.
2518
2519         ColorHandler was somewhat cleaned up.
2520         (1) make possible a dynamically growing LColor list by allowing
2521         the graphic context cache to grow along (vector);
2522         (2) eliminate an IMHO unnecessary step in colour allocation.
2523
2524 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2525
2526         * BufferView_pimpl.C: compile fix
2527
2528 2003-08-15  André Pönitz  <poenitz@gmx.net>
2529
2530         * rowpainter.C: remove extra metrics calls
2531
2532         * lyxtext.h: merge the two constructors into a single one,
2533           pass reference to owner's par list
2534
2535         * BufferView_pimpl.C:
2536         * text.C:
2537         * text2.C: adjust
2538
2539 2003-08-15  André Pönitz  <poenitz@gmx.net>
2540
2541         * lyxrow_funcs.[Ch]:
2542         * lyxtext.h:
2543         * paragraph.h:
2544         * paragraph_funcs.C:
2545         * rowpainter.C:
2546         * text.C:
2547         * text2.C:
2548         * text3.C:
2549         * text_funcs.C: split LyXText::rowlist_ into individual
2550         Paragraph::rows_ chunks
2551
2552         * BufferView.[Ch]:
2553         * BufferView_pimpl.[Ch]:
2554         * lyxfind.C:
2555         * lyxtext.h:
2556         * text3.C: remove toggleSelection()
2557
2558 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2559
2560         * bufferlist.C: beautify two alerts (shorter text of buttons)
2561         * buffer.C: Remove redundant ' ' from message
2562         * tabular.h:
2563         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2564         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2565         rename VALIGN_CENTER to VALIGN_MIDDLE
2566
2567 2003-08-11  André Pönitz  <poenitz@gmx.net>
2568
2569         * lyxtext.h (getPar):
2570         * text.C: new function
2571
2572 2003-08-11  André Pönitz  <poenitz@gmx.net>
2573
2574         * Makefile.am:
2575         * tracer.[Ch]: remove unneeded files
2576
2577         * InsetList.[Ch]: remove resizeInsetsLyXText()
2578
2579         * lyxtext.h:
2580         * text.C:
2581         * text2.C:
2582         * text3.C: merge insertParagraphs() and appendParagraph()
2583         remove breakAgain(), update()
2584
2585         * BufferView_pimpl.[Ch]:
2586         * bufferview_funcs.[Ch]:
2587         * lyxfunc.C:
2588         * paragraph.[Ch]:
2589         * rowpainter.C:
2590         * tabular.C: adjust after text & InsetList changes.
2591
2592 2003-08-08  André Pönitz  <poenitz@gmx.net>
2593
2594         * text.C (insertChar, backspace): replace rowlist fiddling
2595         with rebreak of full par
2596
2597         * lyxtext.h:
2598         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2599         checkParagraph, updateInset): removed
2600
2601 2003-08-07  André Pönitz  <poenitz@gmx.net>
2602
2603         * paragraph.C:
2604         * text3.C: merge some LFUN handlers, remove dead code
2605
2606 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2607
2608         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2609
2610 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2611
2612         * text2.C (DEPM): fix part of bug 1255 and 1256
2613
2614 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2615
2616         * BufferView_pimpl.C (workAreaDispatch): change to use
2617         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2618         that are no mouse related.
2619
2620 2003-08-05  André Pönitz  <poenitz@gmx.net>
2621
2622         * BufferView.[Ch]:
2623         * BufferView_pimpl.[Ch]:
2624         * bufferview_funcs.C:
2625         * text2.C:
2626         * text3.C: rip out "deep update"
2627
2628         * textcursor.[Ch] (last_sel_cursor): remove unused member
2629
2630 2003-08-04  André Pönitz  <poenitz@gmx.net>
2631
2632         * BufferView.[Ch]:
2633         * BufferView_pimpl.[Ch]:
2634         * ParagraphParameters.C:
2635         * bufferview_funcs.C:
2636         * lyx_cb.C:
2637         * lyxfind.C:
2638         * lyxfunc.C:
2639         * text.C:
2640         * text2.C:
2641         * text3.C: replace "complicated" BufferView::update(...) calls with
2642         simpler ones.
2643
2644         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2645
2646 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2647
2648         * Makefile.am (lyx_SOURCES): add paper.h
2649
2650 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2651
2652         * Makefile.am: move things around so that both lyx-qt and
2653         lyx-xforms can be built (according to --with-frontend). Then lyx
2654         is a symbolic link to lyx-[firstfrontend]
2655
2656 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2657
2658         * Always use std::endl with lyxerr
2659
2660 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2661
2662         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2663
2664 2003-08-01  André Pönitz  <poenitz@gmx.net>
2665
2666         * BufferView.[Ch]:
2667         * BufferView_pimpl.[Ch]:
2668         * lyxfunc.C:
2669         * text3.C: merge BufferView::repaint() and BufferView::update()
2670
2671 2003-08-01  José Matos  <jamatos@lyx.org>
2672
2673         * buffer.[Ch]: file_format is no longer a buffer data element.
2674
2675 2003-08-01  André Pönitz  <poenitz@gmx.net>
2676
2677         * BufferView.C:
2678         * lyxtext.h:
2679         * text.C:
2680         * text2.C: make redoParagraph more independent of current cursor
2681
2682         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2683         * text.C:
2684         * text2.C: remove unneeded members
2685
2686 2003-07-30  André Pönitz  <poenitz@gmx.net>
2687
2688         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2689
2690         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2691           create a single function...
2692
2693         * paragraph_funcs.C (moveItem): ... here.
2694
2695         * text.C:
2696           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2697
2698 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2699
2700         * LColor.[Ch]: Add comment and greyedout logical colors.
2701
2702 2003-07-30  André Pönitz  <poenitz@gmx.net>
2703
2704         * tabular.C: don't use Assert too heavily. This crashes where it
2705           shouldn't
2706
2707 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2708
2709         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2710         is disabled (bug 1232)
2711
2712 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2713
2714         * factory.C: limited 'arg' scope
2715
2716 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2717
2718         * factory.C: fixed Note submenu issues
2719
2720 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2721
2722         * factory.C: submenu for Note/Comment/Greyedout
2723
2724 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2725
2726         * lyx_main.C (LyX):
2727         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2728
2729 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2730
2731         * LaTeXFeatures.C:
2732         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2733         greyedout. Patch provided by Jürgen Spitzmüller.
2734
2735 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2736
2737         * kbmap.C (read): fix error message when reading bind files
2738
2739 2003-07-29  Angus Leeming  <leeming@lyx.org>
2740
2741         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2742         certainly does not do what it purports to do. I am doing it, and
2743         us, a favour by killing it.
2744
2745 2003-07-28  José Matos  <jamatos@lyx.org>
2746
2747         * buffer.C (readBody, do_writeFile):
2748         * paragraph.C(readParagraph): \end_document replaces \the_end.
2749
2750 2003-07-29  André Pönitz  <poenitz@gmx.net>
2751
2752         * BufferView.[Ch]:
2753         * BufferView_pimpl.[Ch]:
2754         * lyxfunc.C:
2755         * text2.C:
2756         * text3.C:
2757         * textcursor.[Ch]: remove toggleToggle & Co
2758
2759 2003-07-28  José Matos  <jamatos@fep.up.pt>
2760
2761         * buffer.C (readParagraph):
2762         * params_func (readParToken, readParagraph):
2763         * paragraph.C (write): \layout -> \begin_layout.
2764
2765 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2766
2767         * lyxlex_pimpl.C (setFile): clean up slightly.
2768
2769         * bufferparams.h: add compressed var
2770
2771         * buffer_funcs.C (readFile): adjust for LyXLex change
2772         (newFile): ditto + simplify
2773
2774         * buffer.C (writeFile): handle writing of compressed files
2775
2776         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2777         Check if the file is compressed and set a bufferparm if so.
2778
2779         * Makefile.am (lyx_LDADD): remove explicit -lz
2780
2781 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2782
2783         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2784         makeDocBookFile): put the real LyX version in the first line of
2785         the file
2786
2787         * version.h:
2788         * version.C.in: remove lyx_docversion
2789
2790         * tabular.C (write_attribute): add a template-based version to
2791         write enums properly
2792
2793 2003-07-28  André Pönitz  <poenitz@gmx.net>
2794
2795         * lyxtext.h:
2796         * text.C:
2797         * text2.C:
2798         * text3.C: use doubles again for x-coordinates. They are needed.
2799
2800 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2801
2802         * messages.C (getLocaleDir): use lyx_localedir()
2803
2804         * lyxlex_pimpl.C (setFile): compress stuff
2805
2806         * buffer.C (writeFile): add some compression stuff
2807         (do_writeFile): new func, dont call expliti close... will this
2808         breake anything?
2809
2810         * Makefile.am (lyx_LDADD): add -lz
2811
2812 2003-07-28  José Matos  <jamatos@fep.up.pt>
2813
2814         * buffer.C: increment file format.
2815         * paragraph_funcs (readParagraph, readParToken):
2816         * paragraph.C (readParagraph): add \end_layout.
2817
2818 2003-07-27  Angus Leeming  <leeming@lyx.org>
2819
2820         * Makefile.am: remove special casing for configure-time setting of
2821         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2822
2823         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2824         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2825
2826 2003-07-26  André Pönitz  <poenitz@gmx.net>
2827
2828         * paragraph_func.[Ch]:
2829         * paragraph.C (realizeFont): inline it whereever it is used
2830
2831         * rowpainter.C:
2832         * text.C:
2833         * text2.C:
2834         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2835
2836
2837 2003-07-26  André Pönitz  <poenitz@gmx.net>
2838
2839         *       lyxtext.h:
2840         * text.C:
2841         * text2.C: get rid of LyXText::need_break_row
2842
2843 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2844
2845         * toc.[Ch]: put namespace toc inside namespace lyx
2846
2847         * MenuBackend.C (expandToc2): adjust for lyx::toc
2848         (expandToc): ditto
2849
2850         * lyxfunc.C (dispatch): adjust for lyx::find
2851
2852         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2853         lyx::find instead. Reorganize a bit.
2854         (LyXReplace): rename to replace
2855         (LyXFind): rename to find
2856
2857         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2858         (dispatch): ditto
2859
2860 2003-07-26  André Pönitz  <poenitz@gmx.net>
2861
2862         * text.C (setHeightOfRow): restrict scope of temporary variable
2863
2864         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2865           code (never has been used?)
2866
2867 2003-07-27  Asger Alstrup  <alstrup@local>
2868
2869         * text.C (fill): Optimise algorithm to exploit that we can reuse
2870         the LyXFont for many characters.
2871         (setHeightOfRow): Same thing.
2872         (rowBreakPoint): Same thing.
2873
2874 2003-07-26  Asger Alstrup  <alstrup@local>
2875
2876         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2877
2878         * text.C (singleWidth): Spurious font copying in hot-spot
2879         singleWidth avoided. Reorder tests for arabic for efficiency.
2880
2881         * text.C (fill): handle empty paragraphs better.
2882
2883 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2884
2885         * ispell.C:
2886         * encoding.h: add includes
2887
2888         * lyxrc.C: remove reading of bind files
2889
2890         * lyx_main.C (init): setup bindings and menus only if we have a
2891         gui.
2892
2893         * kbmap.C (read): new method. Do the actual reading of bind
2894         files.
2895
2896         * converter.C (dvipdfm_options):
2897         * bufferparams.C:
2898         * lyxrc.C (read):
2899         (output): adapt PAPER_* enums.
2900
2901         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2902
2903         * bufferparams.h: remove paper-related enums from there
2904
2905         * paper.h: New file. A trivial header file to hold paper-related
2906         enums. It should later expand to contain many paper-related
2907         horrors access.
2908
2909         * lyxrc.C: declare extern displayTranslator
2910
2911 2003-07-27  José Matos  <jamatos@fep.up.pt>
2912
2913         * tabular.[Ch] (linuxdoc): add support for tables and figures
2914         (linuxdoc).
2915
2916 2003-07-27  José Matos  <jamatos@fep.up.pt>
2917
2918         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2919         consistency in both functions.
2920         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2921
2922 2003-07-26  Asger Alstrup  <alstrup@local>
2923
2924         * rowpainter.C (paintRows): Change algorithm to work directly on
2925         the insets rather than asking every character in the document
2926         whether its an inset.
2927
2928 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2929
2930         * buffer.C (openFileWrite): factorize some code
2931
2932 2003-07-26  Angus Leeming  <leeming@lyx.org>
2933
2934         * lyx_cb.C:
2935         * lyx_main.[Ch]: replace occurances of system_tempdir with
2936         os::getTmpDir().
2937
2938 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2939
2940         * rename Inset to InsetOld
2941
2942 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2943
2944         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2945         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2946         which I think is a bit clearer. EDIT is gone, since it was
2947         premature optimisation, and broken for mathed anyway.
2948         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2949         with cursor positioning in insets as well (math insets still do not
2950         work, but that's a different story anyway.) It mysteriously
2951         crashes sometimes with undo in the first paragraph, but I'm fairly
2952         confident that this is a compiler bug.
2953
2954 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2955
2956         * paragraph.C (Paragraph): adjust for new clone return type
2957         (operator==): ditto
2958         (copyIntoMinibuffer): ditto
2959
2960 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2961
2962         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2963         by not having a special case, and always doing a full rebreak of
2964         the document after undo.
2965
2966 2003-07-23  Angus Leeming  <leeming@lyx.org>
2967
2968         * factory.C (createInset): InsetExternal::setParams now takes a
2969         Buffer const * arg.
2970
2971 2003-07-23  Angus Leeming  <leeming@lyx.org>
2972
2973         * factory.C (createInset): changed interface to the external and
2974         graphics mailers' string2params functions.
2975
2976 2003-07-23  Angus Leeming  <leeming@lyx.org>
2977
2978         * factory.C (createInset): pass a
2979         Buffer const * parameter to InsetExternalMailer's string2params.
2980
2981 2003-07-22  John Levon  <levon@movementarian.org>
2982
2983         * Thesaurus.h: include the right aiksaurus header
2984
2985 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2986
2987         * MenuBackend.C (expand): check menu shortcuts unconditionally
2988
2989 2003-07-21  Angus Leeming  <leeming@lyx.org>
2990
2991         * factory.C (createInset): pass a
2992         buffer_path parameter to InsetGraphicsMailer's string2params.
2993
2994 2003-07-21  Angus Leeming  <leeming@lyx.org>
2995
2996         * BufferView_pimpl.C (buffer):
2997         * buffer.C (d-tor):
2998         * lyx_main.C (LyX):
2999         * lyxfunc.C (dispatch):
3000         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3001         rather than the grfx shortcut.
3002
3003 2003-07-21  André Pönitz  <poenitz@gmx.net>
3004
3005         * rowpainter.C: remove unused variables
3006
3007         * tabular_funcs.C:
3008         * tabular_funcs.h: move to tabular.C
3009         * Makefile.am: adjust
3010
3011         * tabular.[Ch]: basic optical cleaning
3012
3013         * author.h: pass references, not values
3014
3015 2003-07-18  André Pönitz  <poenitz@gmx.net>
3016
3017         * lyxtext.h:
3018         * metricsinfo.C:
3019         * metricsinfo.h:
3020         * rowpainter.C:
3021         * text.C:
3022         * text2.C:
3023         * text3.C: two-phase drawing for InsetText and InsetTabular
3024         some float -> int changes.
3025
3026 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3027
3028         * lyx_main.C: fix the fix
3029
3030 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3031
3032         * lyx_main.C: fix a crash in batch mode if no files specified
3033         * converter.C: ws
3034
3035 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3036
3037         * format.[Ch] (papersize): moved to BufferParams
3038         * converter.[Ch] (dvips_options): moved to BufferParams
3039         (dvipdfm_options): moved to anon namespace
3040         * bufferparams.[Ch]: added above functions.
3041
3042 2003-07-17  André Pönitz  <poenitz@gmx.net>
3043
3044         * lyxtext.h:
3045         * rowpainter.C:
3046         * text2.C: don't call inset->update() anymore
3047
3048         * metricsinfo.[Ch]: add convenience constructor
3049
3050 2003-07-16  André Pönitz  <poenitz@gmx.net>
3051
3052         * lyxcursor.[Ch]:
3053         * lyxfunc.[Ch]:
3054         * text.C:
3055         * text2.C: replace the LyXCursor::irow_ member with
3056          on-demand computation of the value
3057
3058 2003-07-16  John Levon  <levon@movementarian.org>
3059
3060         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3061
3062 2003-07-15  André Pönitz  <poenitz@gmx.net>
3063
3064         * text.C:
3065         * text2.C: remove no more needed refresh_row
3066
3067 2003-07-15  André Pönitz  <poenitz@gmx.net>
3068
3069         * lyxtext.h:
3070         * rowpainter.C:
3071         * text2.C:
3072         * text3.C: refresh_status tristate -> need_update bool
3073
3074 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3075
3076         * lyxtext.h (init): remove reinit argument (act as if always true)
3077         * text2.C: adjust to that
3078
3079 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3080
3081         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3082         * text3.C: use it to delete selections in some cases
3083         (bugs 441, 673, 702, 954).
3084
3085 2003-07-14  André Pönitz  <poenitz@gmx.net>
3086
3087         * rowpainter.[Ch]: reduce interface
3088
3089 2003-07-14  André Pönitz  <poenitz@gmx.net>
3090
3091         * BufferView_pimpl.C:
3092         * text2.C: adjust after removing unused BufferView * argument
3093
3094 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3095
3096         * text2.C (init): fix a crash fired on resize
3097
3098 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3099
3100         * buffer.[Ch]: added new closing signal
3101         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3102         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3103         BufferView::Pimpl via the closing the signal
3104
3105 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3106
3107         * buffer.[Ch]: take out all bv-related from buffer
3108         * BufferView.C:
3109         * BufferView_pimpl.[Ch]: connect to new signals
3110         * CutAndPaste.C: removed useless asserts
3111         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3112         * lyxvc.[Ch]:
3113         * vc-backend.[Ch]:
3114         * lyxfunc.C: moved view-related funciontality from vc here
3115         * paragraph.C: removed outdated comments
3116         * text.C: ws
3117
3118 2003-07-10  André Pönitz  <poenitz@gmx.net>
3119
3120         * BufferView_pimpl.C:
3121         * tabular.h:
3122         * tabular_funcs.C:
3123         * text.C:
3124         * text2.C: remove InsetText::InnerCache, clean up consequences
3125
3126 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3127
3128         * ispell.C: fix two typos in error messages
3129
3130 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3131
3132         * Extend Note inset to other forms of annotation like Comment
3133         and Greyedout. Right button click gives dialog.
3134
3135         Files modified or added (+):
3136
3137         * insetnote.[Ch]
3138         * FormNote.[Ch]      +
3139         * ControlNote.[Ch]   +
3140         * form_note.fd       +
3141         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3142         frontends/controllers
3143         * xforms/Dialogs.C
3144         * factory.C
3145
3146 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3147
3148         * aspell.C: add missing namespace lyx::support
3149
3150 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3151
3152         * BufferView.[Ch] (newFile): Add
3153         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3154         * LaTeX.[Ch] (message): added this signal and use it
3155         * buffer.[Ch] (busy, message): added these signals and use them
3156         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3157         * converter.C:
3158         * exporter.C:
3159         * format.C:
3160         * importer.C: use buffer signals instead of direct bv calling
3161         * lyx_cb.[Ch] (ShowMessage): removed
3162         * lyx_main.C:
3163         * lyxfunc.C:
3164         * paragraph_funcs.C:
3165         * text2.C: use buffer signals
3166
3167 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3168
3169         * introduce namespace lyx::graphics
3170
3171 2003-07-02  André Pönitz  <poenitz@gmx.net>
3172
3173         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3174
3175 2003-07-01  André Pönitz  <poenitz@gmx.net>
3176
3177         * text.C:
3178         * text2.C:
3179         * text3.C:
3180         * text_funcs.[Ch]:
3181         * textcursor.h:
3182         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3183           text*.C to text_func.C
3184
3185 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3186
3187         * introduce namespace lyx::support
3188
3189 2003-06-30  André Pönitz  <poenitz@gmx.net>
3190
3191         * Chktex.C:
3192         * funcrequest.C:
3193         * lyxtext.h:
3194         * text.C: re-enable --with-included-string
3195
3196 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3197
3198         * textcursor.C: add <config.h>
3199
3200         * text.C (getWord): remove const from word_location arg
3201
3202         * lyxvc.C (getLogFile): fix const type order
3203
3204         * lyxtext.h: remove const from word_location arg, add arg name
3205
3206         * lyxlayout.h: currect type on labeltype.
3207
3208         * importer.C: correct \file
3209
3210         * converter.C (intToFormat): use std:: on ret val, ws changes
3211
3212         * bufferlist.h: correct \file
3213
3214         * buffer.C (makeLinuxDocFile): fix const type order
3215         (makeDocBookFile): ditto
3216         (fillWithBibKeys): use std:: on stdlib args.
3217
3218         * CutAndPaste.C: fix authors.
3219         (availableSelections): use std:: on return vector
3220
3221 2003-06-27  André Pönitz  <poenitz@gmx.net>
3222
3223         * BufferView_pimpl.C:
3224         * bufferview_funcs.C:
3225         * lyxcursor.C:
3226         * lyxcursor.h:
3227         * lyxfunc.C:
3228         * lyxtext.h:
3229         * rowpainter.C:
3230         * text.C:
3231         * text2.C:
3232         * text3.C: remove LyXCursor::row_ member
3233
3234         * lyxtext.h:
3235         * text.C: rename fullRebreak() to partialRebreak() and implement
3236           a fullRebreak() that really bereks fully
3237
3238         * textcursor.h: new struct for cursor-related data
3239
3240 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3241
3242         * lyx_main.C (LyX): get full path of document loaded on the
3243         command line
3244
3245 2003-06-26  André Pönitz  <poenitz@gmx.net>
3246
3247         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3248           remove unused/broken operator>,<,>=.
3249
3250         *       text.C: remove only use of broken operator<= in an Assert().
3251
3252 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3253
3254         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3255         moved errorlist_.clear to showErrorList
3256
3257 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3258
3259         * converter.C (scanLog, runLaTeX):
3260         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3261         move the bv->showErrorList call to the callers
3262         * lyxfunc.C: i.e. here...
3263         * text2.C: and here
3264         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3265         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3266         namespace, the second to...
3267         * buffer_funcs (BufferFormat, parseErrors): added
3268         * errorlist.C (ErrorList(TeXErrors const &)): removed
3269
3270 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3271
3272         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3273
3274 2003-06-24  "Garst R. Reese" <reese@isn.net>
3275
3276         * debug.C: fix typo
3277
3278 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3279
3280         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3281
3282         * version.C.in: change docversion to 1.4
3283
3284 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3285
3286         * buffer.C: fix a bug just introduced
3287
3288 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3289
3290         * buffer.[Ch]: added the parseError signal and use it, removed
3291         sgmlError
3292         * BufferView.[Ch] (addError): moved to ...
3293         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3294         to the Buffer::parseError signal to catch (guess what) parse errors
3295         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3296
3297 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3298
3299         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3300         ability to create a buffer and to return an existing one from
3301         the list. Moved these functions to...
3302         * buffer_funcs.[Ch]: added
3303         * BufferView.[Ch] (loadLyXFile): added
3304         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3305         job removed from bufferlist::loadLyXFile.
3306         * buffer.C (setReadOnly): make it work without view
3307         (i.e added an if (users))
3308
3309 2003-06-19  Angus Leeming  <leeming@lyx.org>
3310
3311         * lfuns.h:
3312         * LyXAction.C (init):
3313         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3314         with LFUN_DIALOG_SHOW <name> <data>.
3315
3316 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3317
3318         * CutAndPaste.C (availableSelections): small compilation fix for
3319         ancient (gcc 2.9x) compilers
3320
3321 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3322
3323         * text3.C (cursorNext): add tmp var
3324
3325         * text2.C (updateCounters): for function calling out of for clause
3326         (replaceSelectionWithString): ditto
3327         (insertStringAsParagraphs): ditto
3328         (getColumnNearX): add tmp var
3329         (setCursorFromCoordinates): add tmp var
3330         (cursorDownParagraph): add tmp var
3331         (deleteEmptyParagraphMechanism): add tmp var
3332
3333         * text.C (insertChar): add tmp var
3334
3335         * rowpainter.C (paintDepthBar): add tmp var
3336
3337         * CutAndPaste.C (availableSelections): potentially check all
3338         paragraphs in a cut to fill the shown strings.
3339
3340 2003-06-18  André Pönitz  <poenitz@gmx.net>
3341
3342         * kbmap.[Ch]: use vector<> instead of list<>
3343
3344 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3345
3346         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3347         pasteSelection with index
3348
3349         * text2.C (pasteSelection): modify, call pasteSelection with index
3350
3351         * paragraph.C (asString): reimplement version with no interval to
3352         call the one with interval.
3353
3354         * lyxtext.h: add index arg to pasteSelection
3355
3356         * MenuBackend.C (MenuItem): handle PasteRecent
3357         (Menu::read::Menutags): add md_pasterecent
3358         (read): handle it
3359         (expandPasteRecent): new function
3360         (expand): use it
3361
3362         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3363
3364         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3365         the limited stack
3366         (availableSelections): new function
3367
3368 2003-06-17  Angus Leeming  <leeming@lyx.org>
3369
3370         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3371
3372 2003-06-17  Angus Leeming  <leeming@lyx.org>
3373
3374         * lfuns.h:
3375         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3376
3377         * lyxfunc.C (dispatch): invoke it.
3378
3379 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3380
3381         * iterators.C (operator++, ParPosition): reintroduce some
3382         const_cast for the benefit of older compilers.
3383
3384 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3385
3386         * text3.C (dispatch): do not modify clipboard when doing
3387         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3388         LFUN_DELETE_SKIP on a selection selection
3389
3390 2003-06-16  André Pönitz  <poenitz@gmx.net>
3391
3392         * BufferView.C:
3393         * buffer.C:
3394         * buffer.h:
3395         * paragraph.C:
3396         * tabular.[Ch]: IU of clone() and getLabelList();
3397
3398 2003-06-13  André Pönitz  <poenitz@gmx.net>
3399
3400         * tabular.h: compactification
3401
3402 2003-06-12  André Pönitz  <poenitz@gmx.net>
3403
3404         * tabular.C:
3405         * tabular.h:
3406         * tabular_funcs.h: some renaming plus whitespace
3407
3408 2003-06-12  André Pönitz  <poenitz@gmx.net>
3409
3410         * BufferView.C:
3411         * BufferView_pimpl.C:
3412         * CutAndPaste.C:
3413         * buffer.C:
3414         * iterators.[Ch]:
3415         * lyxfunc.C:
3416         * text.C:
3417         * toc.C: Return a Paragraph & for ParIterator::operator*()
3418
3419 2003-06-11  John Levon  <levon@movementarian.org>
3420
3421         * lyx_main.C:
3422         * ToolbarBackend.h:
3423         * ToolbarBackend.C: add "Toolbars" section and
3424         put the flags there
3425
3426 2003-06-10  Angus Leeming  <leeming@lyx.org>
3427
3428         * lfuns.h:
3429         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3430
3431         * lyxfunc.C (dispatch): invoke it.
3432
3433 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3434
3435         * main.C: protect <ios> with HAVE_IOS
3436         (main): protect sync_with_stdio with HAVE_IOS
3437
3438 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3439
3440         * text2.C (cutSelection): adjust
3441         (pasteSelection): adjust
3442
3443         * messages.C: handle get of empty string
3444
3445         * main.C (main): use sync_with_stdio(false)
3446
3447         * lyxfunc.C (dispatch): adjust
3448
3449         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3450         (WriteAs): remove unneeded BufferView arg.
3451
3452         * bufferparams.h: use correct types on papersize, papersize2 and
3453         paperpackage.
3454
3455         * bufferparams.C (readToken): adjust for type
3456         (writeLaTeX): add missing cases to switch.
3457
3458         * bufferlist.C (quitWriteBuffer): adjust
3459         (close): adjust
3460
3461         * buffer.C (asciiParagraph): remove some commented code.
3462
3463         * CutAndPaste.C: remove current_view extern variable.
3464         (cutSelection): add BufferParams arg.
3465         (eraseSelection): add BufferParams arg.
3466         (pasteSelection): add Buffer const & arg
3467
3468 2003-06-07  John Levon  <levon@movementarian.org>
3469
3470         * buffer.C:
3471         * paragraph_funcs.C:
3472         * paragraph_pimpl.C:
3473         * text.C:
3474         * text2.C:
3475         * paragraph.h:
3476         * paragraph.C: allow InsetERT to freely space lines,
3477         and some consolidation of code
3478
3479 2003-06-06  José Matos  <jamatos@fep.up.pt>
3480
3481         * buffer.C (makeDocBookFile): fix bug #821
3482
3483 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3484
3485         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3486
3487 2003-06-04  Angus Leeming  <leeming@lyx.org>
3488
3489         * buffer.C: bump format to 224.
3490
3491 2003-06-05  André Pönitz  <poenitz@gmx.net>
3492
3493         * text2.C (redoParagraphs): remove two const_cast<>
3494
3495 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3496
3497         * ParagraphList.h: remove last remnants of NO_STD_LIST
3498
3499 2003-06-03  Angus Leeming  <leeming@lyx.org>
3500
3501         * factory.C (createInset): small change to the way InsetExternal's params
3502         are set.
3503
3504 2003-06-04  André Pönitz  <poenitz@gmx.net>
3505
3506         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3507
3508         * paragraph_pimpl.h:
3509         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3510
3511         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3512
3513         * undo_funcs.C: make some simple cases of undo work again
3514
3515 2003-06-03  John Levon  <levon@movementarian.org>
3516
3517         * ispell.C: HPUX doesn't have sys/select.h
3518         (from Albert Chin)
3519
3520 2003-06-03  John Levon  <levon@movementarian.org>
3521
3522         * CutAndPaste.C: update tabular and include inset
3523         buffer references
3524
3525         * buffer.h:
3526         * paragraph.h:
3527         * paragraph.C: remove owningBuffer(), don't pass Buffer
3528         to clone()
3529
3530         * factory.C: insetGraphicsParams changed
3531
3532 2003-06-02  John Levon  <levon@movementarian.org>
3533
3534         * LyXAction.C:
3535         * factory.C:
3536         * lfuns.h:
3537         * lyxfunc.C:
3538         * text3.C: remove insetparent
3539
3540 2003-06-02  John Levon  <levon@movementarian.org>
3541
3542         * buffer.h:
3543         * buffer.C: fix inset_iterator.end(), move out of line
3544         (bug 1149)
3545
3546 2003-06-01  John Levon  <levon@movementarian.org>
3547
3548         * text3.C: use a proper cut/paste when doing inset
3549         insert (from Jürgen Spitzmüller)
3550
3551 2003-06-01  John Levon  <levon@movementarian.org>
3552
3553         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3554
3555 2003-05-30  André Pönitz  <poenitz@gmx.net>
3556
3557         * rowpainter.C: unify second drawing phase
3558
3559 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3560
3561         * trans_mgr.C: remove one case of current_view
3562
3563         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3564
3565         * paragraph_funcs.h: remove paragraph.h include
3566
3567         * paragraph.h: delete NO_STD_LIST stuff
3568
3569         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3570
3571         * buffer.h: remove paragraph.h include
3572
3573         * ParagraphList.C: delete file
3574
3575         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3576
3577         * toc.C (getTocList): adjust
3578
3579         * paragraph_pimpl.C (validate): adjust
3580
3581         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3582
3583         * paragraph.C (Paragraph): adjust
3584         (getPositionOfInset): use const_iterator, adjust
3585         (bibitem): use const_iterator, adjust
3586         (setInsetOwner): adjust
3587
3588         * iterators.C (operator++): adjust
3589
3590         * InsetList.[Ch]: Replace selfmade iterator with standard
3591         vector::iterator also introduce const_iterator. Remove getPos,
3592         getInset and setInset from InsetTable. Adjust accordingly.
3593
3594         * BufferView.C (lockInset): adjust
3595         (ChangeInsets): adjust
3596
3597         * tabular.[Ch]: delete commented same_id functions
3598
3599 2003-05-28  John Levon  <levon@movementarian.org>
3600
3601         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3602
3603 2003-05-28  André Pönitz  <poenitz@gmx.net>
3604
3605         * metricsinfo.[Ch]: remove 'fullredraw' member
3606
3607 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3608
3609         * lyxtextclass.C (operator): remove caching.
3610
3611 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3612
3613         * text3.C: adjust
3614
3615         * text2.C (cursorBottom): adjust
3616         (setCounter): use ParagraphList::find, adjust
3617
3618         * text.C (workWidth): use ParagraphList::find, adjust
3619
3620         * lyxcursor.C (LyXCursor): adjust
3621
3622         * buffer.C (inset_iterator): adjust
3623
3624         * ParagraphList.h: make iterator(value_type) private, make
3625         ParagraphList a friend of iterator.
3626
3627         * ParagraphList.C (find): new function
3628
3629         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3630
3631 2003-05-27  André Pönitz  <poenitz@gmx.net>
3632
3633         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3634
3635 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3636
3637         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3638
3639 2003-05-26  John Levon  <levon@movementarian.org>
3640
3641         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3642
3643 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3644
3645         * remove same_id from function signatures, adjust.
3646
3647 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3648
3649         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3650
3651         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3652
3653         * paragraph.C (Paragraph): get rid of same_ids parameter
3654
3655         * ParagraphList.C (insert): adjust
3656         (push_back): adjust
3657
3658 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3659
3660         * paragraph_funcs.C (breakParagraph): adjust
3661         (breakParagraphConservative): adjust
3662
3663         * buffer.C (readParagraph): adjust
3664
3665         * ParagraphList.C (insert): take a reference instead of a pointer
3666         (insert): adjust
3667
3668         * paragraph.[Ch] (id): new function
3669
3670         * bufferlist.C (newFile): adjust
3671
3672         * ParagraphList.C (ParagraphList): adjust
3673         (assign): adjust
3674         (push_back): take a reference instead of a pointer.
3675
3676         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3677
3678         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3679         instead.
3680
3681         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3682         set else use old code.
3683
3684         * ParagraphList.C: remove all NO_NEXT code and only compile this
3685         code of NO_STD_LIST is set.
3686
3687 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3688
3689         * BufferView_pimpl.C:
3690         * TextCache.C:
3691         * TextCache.h:
3692         * bufferlist.C:
3693         * errorlist.h:
3694         * format.C:
3695         * format.h:
3696         * graph.C:
3697         * lyxfunc.C:
3698         * lyxrc.C:
3699         * graphics/GraphicsConverter.C:
3700         * graphics/PreviewLoader.C: header adjustment
3701
3702 2003-05-23  Angus Leeming  <leeming@lyx.org>
3703
3704         * LaTeXFeatures.[Ch] (useBabel): new method.
3705         * bufferparams.C (writeLaTeX): use it.
3706
3707 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3708
3709         * ParagraphList.h (set): remove unused function.
3710
3711 2003-05-23  André Pönitz  <poenitz@gmx.net>
3712
3713         * BufferView.C:
3714         * BufferView_pimpl.C:
3715         * buffer.C:
3716         * buffer.h:
3717         * lyxfunc.C:
3718         * undo_funcs.C: setUndo reworked
3719
3720         * iterators.[Ch]: add access to topmost ParagraphList
3721
3722         * lyxtext.[Ch] (workWidth): add a const
3723
3724 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3725
3726         * texrow.[Ch] (increasePos): remove function
3727         * exporter.C (export): removed unused var and outdated comment
3728
3729 2003-05-23  Angus Leeming  <leeming@lyx.org>
3730
3731         * latexrunparams.h: rename fragile as moving_arg.
3732         * paragraph.C (simpleTeXOnePar): ditto.
3733         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3734
3735 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3736
3737         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3738         (createUndo): ditto
3739         (textUndoOrRedo): comment out a currently unused var.
3740
3741         * paragraph.h (NO_NEXT): enable NO_NEXT
3742
3743         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3744
3745         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3746
3747         * exporter.C (Export): adjust for removeAutoInsets removal.
3748
3749         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3750
3751         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3752
3753         * BufferView.[Ch] (removeAutoInsets): delete function
3754
3755 2003-05-22  Angus Leeming  <leeming@lyx.org>
3756
3757         * latexrunparams.h: add a free_spacing variable.
3758
3759         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3760         to pass moving_arg, as the data is stored in runparams.fragile.
3761
3762         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3763         to Inset::latexOptional or to simpleTeXOnePar.
3764
3765         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3766         free_spacing arg to Inset::latexOptional.
3767
3768         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3769         free_spacing arg.
3770
3771 2003-05-22  Angus Leeming  <leeming@lyx.org>
3772
3773         * latexrunparams.h: add fragile and use_babel variables.
3774
3775         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3776         * buffer.C (makeLaTeXFile): store this returned value in
3777         runparams.use_babel, thus passing it to the inset::latex methods.
3778
3779         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3780         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3781
3782         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3783         longer has a fragile arg, as it is stored in runparams.fragile.
3784
3785         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3786         moving_arg parameter as the data is stored in runparams.fragile.
3787
3788         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3789         a fragile parameter as the data is stored in runparams.fragile.
3790
3791 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3792
3793         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3794
3795 2003-05-22  Angus Leeming  <leeming@lyx.org>
3796
3797         * latexrunparams.h: add a 'bool nice' which defaults to false.
3798
3799         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3800         now encapsulated within runparams.
3801
3802         * bufferlist.C (updateIncludedTeXfiles):
3803         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3804
3805 2003-05-22  Angus Leeming  <leeming@lyx.org>
3806
3807         * latexrunparams.h: new file containing struct LatexRunParams.
3808         * Makefile.am: add new file.
3809
3810         * LaTeX.[Ch] (c-tor, run):
3811         * buffer.[Ch] (makeLaTeXFile):
3812         * bufferlist.[Ch] (updateIncludedTeXfiles):
3813         * converter.C (convert, scanLog):
3814         * converter.[Ch] (runLaTeX):
3815         * exporter.C (Export):
3816         * paragraph.[Ch] (simpleTeXOnePar):
3817         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3818         * paragraph_funcs.[Ch] (latexParagraphs):
3819         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3820         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3821         pass around a LatexRunParams parameter.
3822
3823 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3824
3825         * paragraph.[Ch]: remove unused constructor
3826
3827         * ParagraphList.C (erase): new function, taking two iterators
3828
3829 2003-05-22  André Pönitz  <poenitz@gmx.net>
3830
3831         * undo_funcs.C: remove duplicated code
3832
3833         * iterator.[Ch]: operator=
3834
3835 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3836
3837         * tabular.C (SetMultiColumn): ws changes
3838
3839         * rowpainter.C (paintFirst): get rid of a ->previous
3840
3841         * lyx_cb.C (getPossibleLabel): parlist simplification
3842
3843         * BufferView.C (ChangeInsets): simplify slightly.
3844
3845 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3846
3847         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3848         * lfuns.h: new LFUN_SPACE
3849         * lyxfunc.C: protected space has a new lfun
3850         * paragraph_funcs.C: read new space insets
3851         * text3.C:
3852         * factory.C: handle new space insets
3853
3854 2003-05-22  André Pönitz  <poenitz@gmx.net>
3855
3856         * BufferView.C:
3857         * BufferView_pimpl.C:
3858         * buffer.[Ch]:
3859         * lyxfunc.C:
3860         * undo_funcs.C: return a ParIterator from getParFromID.
3861
3862         * iterators.[Ch]: add two const's
3863
3864 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3865
3866         * toc.C (getTocList): adjust
3867
3868         * iterators.[Ch]: rework for parlist
3869
3870         * buffer.C (par_iterator_begin): adjust
3871         (par_iterator_end): adjust
3872
3873         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3874
3875         * BufferView.C (removeAutoInsets): adjust
3876         (ChangeInsets): adjust
3877
3878 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3879
3880         * text.C (top_y): fix bug 1110
3881
3882 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3883
3884         * errorlist.[Ch]: added
3885         * buffer.C:
3886         * BufferView.[Ch]:
3887         * BufferView_pimpl.C:
3888         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3889         instead
3890
3891 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3892
3893         * Makefile.am: ensure that lyx is relinked upon changes to the
3894         various "convenience" libs.
3895
3896 2003-05-20  Angus Leeming  <leeming@lyx.org>
3897
3898         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3899         files are compiled in alphabetical order again.
3900
3901         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3902
3903 2003-05-19  Angus Leeming  <leeming@lyx.org>
3904
3905         * gettext.[Ch]: remove "char const * _(char const *)".
3906
3907 2003-05-19  André Pönitz  <poenitz@gmx.net>
3908
3909         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3910
3911         * Makefile.am:
3912         * BufferView.C:
3913         * DepTable.h:
3914         * LaTeXFeatures.C:
3915         * buffer.C:
3916         * lyxfont.C:
3917         * lyxlex.h:
3918         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3919
3920 2003-05-19  André Pönitz  <poenitz@gmx.net>
3921
3922         * buffer.C:
3923         * lyxlayout.[Ch]:
3924         * lyxtextclass.[Ch]:
3925         * paragraph.C:
3926         * paragraph_funcs.[Ch]:
3927         * text2.C:
3928         * text3.C: more insetenv work
3929
3930 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3931
3932         * ParagraphParameters.C (params2string): small bug fixed
3933
3934 2003-05-16  André Pönitz  <poenitz@gmx.net>
3935
3936         * debug.C:
3937         * bufferview_funcs.C: patch from Kornel Benko to prevent
3938           crash when _(...) is called twice in a statement
3939
3940 2003-05-16  André Pönitz  <poenitz@gmx.net>
3941
3942         * BufferView.C:
3943         * lyxfunc.C:
3944         * text.C:
3945         * text2.C:
3946         * text3.C:
3947         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3948
3949 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3950
3951         * lyx_main.C (init): remove spurious static_cast
3952
3953 2003-05-14  André Pönitz  <poenitz@gmx.net>
3954
3955         * BufferView.C: fix format string
3956
3957 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3958
3959         * BufferView.[Ch] (insertErrors): removed
3960         * BufferView.[Ch] (showErrorList): added
3961         * buffer.C (runChkTeX):
3962         * converter.C (scanLog): call showErrorList instead of inserterrors
3963
3964 2003-05-13  André Pönitz  <poenitz@gmx.net>
3965
3966         * BufferView_pimpl.C:
3967         * buffer.C:
3968         * bufferview_func.C:
3969         * MenuBackend.C:
3970         * lyxfunc.C:
3971         * lyxrc.C:
3972         * tex-accent.C:
3973         * text3.C:
3974         * toc.C:
3975         * tabular_funcs.h: tostr() from its own header
3976
3977         * ParagraphParameters.C:
3978         * ToolbarBackend.C:
3979         * bufferparams.C:
3980         * format.C:
3981         * lyxlex_pimpl.C:
3982         * text3.C: STRCONV()
3983
3984 2003-05-12  André Pönitz  <poenitz@gmx.net>
3985
3986         * BufferView.C:
3987         * BufferView_pimpl.C:
3988         * CutAndPaste.C:
3989         * LaTeX.C:
3990         * LaTeXFeatures.C:
3991         * ParagraphParameters.C:
3992         * buffer.C:
3993         * bufferlist.C:
3994         * bufferparams.C:
3995         * bufferview_funcs.C:
3996         * converter.C:
3997         * counters.C:
3998         * debug.C:
3999         * exporter.C:
4000         * format.C:
4001         * importer.C:
4002         * lyx_cb.C:
4003         * lyx_main.C:
4004         * lyxfont.C:
4005         * lyxfunc.C:
4006         * lyxvc.C:
4007         * paragraph.C:
4008         * paragraph_funcs.C:
4009         * tabular.C:
4010         * tabular_funcs.C:
4011         * text2.C:
4012         * text3.C:  boost::format -> bformat  all over the place
4013
4014
4015 2003-05-09  André Pönitz  <poenitz@gmx.net>
4016
4017         * LColor.[Ch]: Pimpl the #include <map> away
4018
4019 2003-05-09  John Levon  <levon@movementarian.org>
4020
4021         * bufferlist.C: never remove emergency saves
4022
4023 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4024
4025         * Makefile.am: better lib building
4026
4027 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4028
4029         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4030         instead.
4031         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4032         (simpleTeXSpecialChars): adjust
4033         (simpleTeXSpecialChars): adjust
4034         * paragraph.C (simpleTeXOnePar): adjust
4035         * buffer.C (makeLaTeXFile): adjust
4036
4037         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4038
4039         * text2.C (changeDepth): parlist cleanup
4040         (getColumnNearX): ditto
4041
4042         * rowpainter.C (getLabelFont): parlist cleanup
4043
4044         * bufferlist.C (newFile): parlist cleanup
4045
4046         * CutAndPaste.C (eraseSelection): parlist cleanup
4047
4048         * BufferView_pimpl.C (trackChanges): parlist cleanup
4049         (dispatch): ditto
4050
4051         * BufferView.C (lockInset): parlist cleanup.
4052         (ChangeInsets): ditto
4053
4054 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4055
4056         * CutAndPaste.h: Update file header.
4057
4058         * CutAndPaste.C: Update file header.
4059         Store the parts cut out of the Document in a limited_stack.
4060         (copySelection): adjust
4061         (pasteSelection): new function, takes the index in the limited stack.
4062         (nrOfParagraphs): adjust
4063         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4064         simplify error inset insertion.
4065         (checkPastePossible): adjust
4066
4067 2003-05-06  John Levon  <levon@movementarian.org>
4068
4069         * text2.C: don't cast wrap inset to float
4070
4071 2003-05-05  André Pönitz  <poenitz@gmx.net>
4072
4073         * iterator.C:
4074         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4075
4076         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4077           few naked Paragraph *.
4078
4079 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4080
4081         * bufferparams.C: Output warning if a document with missing
4082         TeX document class is loaded
4083         * exporter.C: Disable TeX exports if the document class is missing
4084         * lyxtextclass.C:
4085         * lyxtextclass.h:
4086         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4087         isTeXClassAvailable()
4088
4089 2003-05-03  John Levon  <levon@movementarian.org>
4090
4091         * BufferView.h:
4092         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4093         explicit cursor show/hide
4094
4095         * BufferView_pimpl.h:
4096         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4097         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4098
4099         * lyxfunc.C: hide cursor before dispatching.
4100
4101         * lyx_cb.C:
4102         * lyxfind.C:
4103         * text.C:
4104         * text3.C: remove explicit cursor hides
4105
4106 2003-05-02  André Pönitz  <poenitz@gmx.net>
4107
4108         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4109
4110         * undo_funcs.C:
4111         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4112           linked lists
4113
4114         * text2.C: tiny whitespace
4115
4116 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4117
4118         * undo_funcs.C: almost only ws changes.
4119
4120         * ParagraphList.C (splice): just return if pl is empty.
4121
4122 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4123
4124         * ParagraphList.C (splice): new function.
4125
4126         * CutAndPaste.C (pasteSelection): use it
4127
4128 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4129
4130         * CutAndPaste.C (pasteSelection): remove the last next and
4131         previous from this file.
4132
4133 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4134
4135         * CutAndPaste.C (pasteSelection): more clean up, user proper
4136         ParagraphList functions for pasteing.
4137
4138         * ParagraphList.C (insert): new function, three arg insert
4139
4140 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4141
4142         * ParagraphList.C (insert): new function, three arg insert
4143
4144         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4145         not on paragraphs.
4146
4147 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4148
4149         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4150
4151 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4152
4153         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4154
4155 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4156
4157         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4158         (copySelection): clean up a bit.
4159         (pasteSelection): use make_pair
4160
4161         * ParagraphList.C (ParagraphList): implement copy constructor
4162         (operator=): implement, base on copy constructor.
4163         (assign): new func
4164
4165         * paragraph.C (erase): return a bool
4166
4167         * paragraph_pimpl.C (erasePos): remove function, move contents...
4168         (erase): ... here. Return a bool.
4169         (erase): call erase instead of erasePos.
4170
4171 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4172
4173         * ParagraphList.h: define PitPosPair
4174         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4175         ParagraphList, fix a bug on pasting multiple pars
4176         * text2.C: change interface to C&P
4177
4178 2003-04-30  André Pönitz  <poenitz@gmx.net>
4179
4180         * undo_func.C: revert part of yesterday's patch 2
4181
4182 2003-04-30  John Levon  <levon@movementarian.org>
4183
4184         * LColor.C: s/tabular/table/
4185
4186 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4187
4188         * text3.C (dispatch): do not convert iterator -> pointer
4189         * undo_funcs.C (setCursorParUndo): ditto
4190         * text_funcs.C (transposeChars): ditto
4191
4192         * text2.C (setLayout): ws changes only
4193
4194         * text.C (breakParagraph): do not convert iterator -> pointer
4195         (insertChar): ditto
4196         (acceptChange): ditto
4197         (rejectChange): ditto
4198         (changeCase): ditto
4199         (Delete): ditto
4200         (backspace): ditto
4201
4202         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4203         pointer
4204
4205 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4206
4207         * text3.C (gotoInset): YABG (yet another bad getChar)
4208
4209 2003-04-29  André Pönitz  <poenitz@gmx.net>
4210
4211         * paragraph.h: make operator= private unimplemented as long as
4212           it is unusable
4213
4214         * ParagraphList.C: whitespace
4215
4216         * paragraph.[Ch]:
4217         * paragraph_pimpl.[Ch]:
4218         * paragraph_funcs.C:
4219         * CutAndPaste.C:
4220         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4221
4222         * text2.C:
4223           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4224
4225 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4226
4227         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4228         * paragraph.[Ch] (erase):
4229         * paragraph_pimpl.[Ch] (erase): change return type and value
4230         * text2.C (cutSelection): some rework
4231
4232 2003-04-28  John Levon  <levon@movementarian.org>
4233
4234         * bufferlist.C: changes for unsaved changes dialog
4235
4236 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4237
4238         * bufferlist.C (newFile): set language (messages_) for new
4239         documents also.
4240
4241         * buffer.C (readFile): ws changes only.
4242
4243 2003-04-28  André Pönitz  <poenitz@gmx.net>
4244
4245         * undo_funcs.C:
4246         * lyxfunc.C:
4247         * buffer.[Ch]:
4248         * BufferView_pimpl.C:
4249         * BufferView.C: getParFromID related ParagraphList::iterator changes
4250
4251 2003-04-28  André Pönitz  <poenitz@gmx.net>
4252
4253         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4254           Changes
4255
4256 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4257
4258         * messages.C: remove one more localedir class variable.
4259
4260 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4261
4262         * messages.C (getLocaleDir): singleton generation function
4263         (Pimpl): use it.
4264         (Messages): add a default constructor.
4265
4266         * main.C (main): do not setup localedir here, do not call
4267         gettext_init.
4268
4269         * gettext.C (_): use it.
4270         (gettext_init): delete funciton
4271
4272 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4273
4274         * gettext.C (getLyXMessages): new singleton generating function.
4275
4276         * buffer.C (updateDocLang): adjust
4277
4278         * Makefile.am (messages.o): add target
4279         (main.o): remove target
4280
4281 2003-04-27  John Levon  <levon@movementarian.org>
4282
4283         * bufferlist.C:
4284         * lyx_cb.C:
4285         * lyxfunc.C:
4286         * lyxvc.C: specify cancel button in Alert::prompt
4287
4288 2003-04-26  John Levon  <levon@movementarian.org>
4289
4290         * text3.C:
4291         * lyxfunc.C:
4292         * lfuns.h:
4293         * LyXAction.C: add LFUN_INSET_SETTINGS
4294
4295         * lyxfunc.C: don't enable tabular-feature when there's
4296         just any locking inset
4297
4298 2003-04-26  John Levon  <levon@movementarian.org>
4299
4300         * bufferlist.C: re-add Cancel to buffer close question
4301
4302         * lyxfunc.C: fix import UI a bit
4303
4304 2003-04-25  John Levon  <levon@movementarian.org>
4305
4306         * gettext.C: remove the broken asserts for now
4307
4308 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4309
4310         * messages.C: make case where setlocale cannot comply work better.
4311
4312         * buffer.C (updateDocLang): new function
4313         (changeLanguage): use it
4314         (readFile): use it
4315
4316         * text2.C (setCounter): use B_ a bit.
4317
4318         * lyxlayout.C (Read): be sure to trim the label strings.
4319
4320         * messages.C (Messages): fix typo in comment
4321
4322         * buffer.C (readFile): set message_ after file is loaded.
4323         (makeDocBookFile): remove double return
4324         (changeLanguage): reset message_ upon language change.
4325         (B_): new func, use this to get translated buffer strings.
4326
4327         * main.C: add myself and Jean Marc as authors.
4328
4329 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4330
4331         * messages.[hC]: pimplify Messages, and three different pimpls to be
4332         used in different circumstances.
4333
4334         * gettext.[Ch]: change for use with new message code.
4335
4336 2003-04-24 André Pönitz <poenitz@gmx.net>
4337
4338         * factory.C: support for eqref
4339
4340 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4341
4342         * messages.[Ch]: add missing char
4343
4344         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4345
4346         * messages.[Ch]: New files
4347
4348 2003-04-18  John Levon  <levon@movementarian.org>
4349
4350         * BufferView.h:
4351         * BufferView.C:
4352         * BufferView_pimpl.C:
4353         * lfuns.h:
4354         * LyXAction.C:
4355         * lyxtext.h:
4356         * text2.C: remove layout-copy/paste (bug 778)
4357
4358 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4359
4360         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4361
4362 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4363
4364         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4365         if they succeed. Act accordingly.
4366
4367 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4368
4369         * text2.C (setCharFont): adjust
4370         (setCounter): adjust
4371         (insertStringAsLines): adjust
4372
4373         * text.C (leftMargin): adjust
4374         (setHeightOfRow): adjust
4375
4376         * rowpainter.C (paintFirst): adjust
4377         (paintLast): adjust
4378
4379         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4380         (outerHook): ditto
4381         (isFirstInSequence): ditto
4382         (getEndLabel): ditto
4383         (outerFont): adjust
4384
4385         * paragraph.C (getParLanguage): comment out some hard stuff.
4386
4387         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4388         (sgmlError): ditto
4389         (simpleDocBookOnePar): ditto
4390         (makeDocBookFile): use ParagraphList::iterator
4391
4392         * CutAndPaste.C (pasteSelection): adjust
4393
4394 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4395
4396         * text2.C (getFont): adjust
4397         (getLayoutFont): adjust
4398         (getLabelFont): adjust
4399
4400         * paragraph_funcs.C (TeXOnePar): adjust
4401
4402         * buffer.C (simpleLinuxDocOnePar): adjust
4403         (simpleDocBookOnePar): adjust
4404
4405         * CutAndPaste.C (pasteSelection): adjust
4406
4407         * BufferView.C (getEncoding): adjust
4408
4409         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4410
4411 2003-04-16  John Levon  <levon@movementarian.org>
4412
4413         * lyxfind.C: use parlist stuff for search/changes
4414
4415 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4416
4417         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4418
4419         * text2.C (deleteEmptyParagraphMechanism): adjust
4420
4421         * text2.[Ch] (ownerParagraph): delete func (both of them
4422
4423 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4424
4425         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4426
4427 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4428
4429         * ParagraphList.C: prepare for NO_NEXT
4430
4431 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4432
4433         * text2.C (getFont): adjust
4434         (getLayoutFont): adjust
4435         (getLabelFont): adjust
4436
4437         * paragraph.C (getFont): adjust
4438         (getLabelFont): adjust
4439         (getLayoutFont): adjust
4440
4441         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4442
4443 2003-04-15  John Levon  <levon@movementarian.org>
4444
4445         From Angus Leeming
4446
4447         * lyx_main.C: handle Include in .ui files
4448
4449 2003-04-15  John Levon  <levon@movementarian.org>
4450
4451         * MenuBackend.C: make the doc files length shorter
4452
4453         * ToolbarBackend.h:
4454         * ToolbarBackend.C: handle toolbar placement flags,
4455         Minibuffer
4456
4457 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4458
4459         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4460         adjust
4461
4462         * paragraph_funcs.C (TeXOnePar): adjust
4463
4464         * paragraph.C (getLabelFont): add outerfont arg, adjust
4465         (getLayoutFont): ditto
4466         (simpleTeXOnePar): adjust
4467
4468         * paragraph_pimpl.C (realizeFont): delete func
4469
4470 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4471
4472         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4473         row argument, constify cur argument.
4474
4475 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4476
4477         * text2.C (getFont): adjust
4478         (getLayoutFont): adjust
4479         (getLabelFont): adjust
4480
4481         * paragraph_funcs.C (TeXOnePar): adjust
4482         (outerFont): new func...
4483         (realizeFont): ...moved out from here, changed this to facilitate
4484         transition
4485
4486         * paragraph.C (getFont): take outerfont as arg, adjust
4487         (simpleTeXOnePar): add outerfont arg, adjust
4488
4489         * buffer.C (simpleLinuxDocOnePar): adjust
4490         (simpleDocBookOnePar): adjust
4491
4492         * CutAndPaste.C (pasteSelection): adjust
4493
4494         * BufferView.C (getEncoding): adjust
4495
4496 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4497
4498         * text2.C (setCharFont): adjust
4499         (setCounter): adjust
4500
4501         * text.C (leftMargin): adjust
4502         (setHeightOfRow): adjust
4503
4504         * rowpainter.C (paintFirst): adjust
4505         (paintLast): adjust
4506
4507         * paragraph_pimpl.C (realizeFont): adjust
4508
4509         * paragraph.C (isFirstInSequence): move from here...
4510         * paragraph_funcs.C (isFirstInSequence): ...to here
4511
4512         * paragraph.C (outerHook): move from here...
4513         * paragraph_funcs.C (outerHook): ...to here
4514
4515         * paragraph.C (depthHook): move from here...
4516         * paragraph_funcs.C (depthHook): ...to here
4517
4518         * paragraph.C (getEndLabel): move from here...
4519         * paragraph_funcs.C (getEndLabel): ...to here
4520
4521         * text2.C (realizeFont): move from here...
4522         * paragraph_funcs.C (realizeFont): ...to here
4523
4524 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4525
4526         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4527
4528 2003-04-14  Angus Leeming  <leeming@lyx.org>
4529
4530         * LColor.[Ch]: scrap LColor mathcursor.
4531
4532 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4533
4534         * lyxlex.[Ch] (text): delete function
4535         * trans.C (Load): adjust
4536         * paragraph_funcs.C (readParToken): adjust
4537
4538 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4539
4540         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4541         vector<char> instead of a char[].
4542
4543         * lyxlex_pimpl.C (getString): adjust
4544         (next): adjust
4545         (lex): use getString
4546         (eatLine): adjust
4547         (nextToken): adjust
4548
4549         * lyxlex.C (text): use pimpl_->getString()
4550         (getBool): ditto
4551         (findToken): ditto
4552
4553 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4554
4555         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4556         (makeFontEntriesLayoutSpecific): temp var for par.size()
4557         (setLayout): temp var for ownerParagraphs().end()
4558         (fullRebreak): temp var for rows().end()
4559         (selectionAsString): temp var for boost::next(startpit), realize
4560         that the while really is a regular for loop.
4561         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4562         setCursor in one place.
4563         (setParagraph): temp vr for ownerParagraphs().end()
4564         (updateCounters): make the while loop a for loop
4565         (cutSelection): temp var for ownerParagraphs().end()
4566         (updateInset): make the do {} while() a regular for loop
4567         (getCursorX): use temp vars
4568         (setCurrentFont): use temp vars
4569         (getColumnNearX): use temp vars
4570
4571 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4572
4573         * text.C (transformChar): use temp var for getChar
4574         (computeBidiTables): use temp var for row->par()
4575         (fill): move temp vars for row->par() and pit->layout() earlier in
4576         the function.
4577         (labelFill): use temp var for row->par()
4578         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4579         asc and desc, realize that pit never changes and that firstpit is
4580         just a duplicate and not needed. Exchange rit->par() with pit in a
4581         lot of places.
4582         (breakAgain): use a temp var for boost::next(rit)
4583         (breakAgainOneRow): ditto
4584         (breakParagraph): use a temp var for rows().begin()
4585         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4586         (cursorRightOneWord): use temp var for cursor.par() and
4587         cursor.pos(), remove usage of tmpcursor.
4588         (cursorLeftOneWord): use temp var for cursor.par() and
4589         cursor.pos() only set cur at end of function.
4590
4591 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4592
4593         * text.C, text2.C: exchange all usage of Paragraph::next with
4594         boost::next(ParagraphList::iterator)
4595
4596         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4597
4598         * text2.C (cursorTop): simplify implementation
4599         (cursorBottom): ditto
4600         (setParagraph): use ParagraphList::iterator
4601         (setCurrentFont): adjust
4602         (getColumnNearX): adjust
4603         (cursorRight): adjust
4604         (cursorLeft): remove usage of Paragraph::previous
4605         (cursorUpParagraph): ditto
4606         (deleteEmptyParagraphMechanism): slight cleanup
4607
4608         * text.C (isBoundary): take a Paragraph const & instead of a
4609         pointer as arg.
4610         (addressBreakPoint): ditto
4611         (leftMargin): remove usage of Paragraph::previous.
4612         (setHeightOfRow): ditto
4613         (cursorLeftOneWord): ditto
4614         (selectNextWordToSpellcheck): ditto
4615         (Delete): ditto
4616         (backspace): ditto
4617         (breakParagraph): remove one usage of Paragraph::next
4618         (redoParagraph): ditto
4619         (acceptChange): ditto
4620         (insertChar): adjust
4621         (rowBreakPoint): adjust
4622
4623         * bufferview_funcs.C (toggleAndShow): adjust
4624
4625 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4626
4627         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4628         methods to access it.
4629         * lyxtext.h:
4630         * text.C: Added updateRowPositions to compute all row positions.
4631         Make top_y and getRowNearY() to use the cached y position
4632
4633 2003-04-11  John Levon  <levon@movementarian.org>
4634
4635         * text.C (rowBreakPoint): reintroduce the labelEnd
4636         checks, code copied from the row fill stuff. Deep voodoo.
4637
4638         * text.C (fill): add a comment and debugging for the
4639         next poor soul.
4640
4641 2003-04-11  John Levon  <levon@movementarian.org>
4642
4643         * text.C: make sure fullrow insets get wrapped to the next line,
4644         even when they're in a manual label
4645
4646 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4647
4648         * text2.C (insertParagraph): make it take ParagraphList::iterator
4649         as arg.
4650         (setLayout): make it return ParagraphList::iterator
4651         (redoParagraphs): ditto
4652         (setCounter): ditto
4653         (checkParagraph): ditto
4654
4655         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4656
4657         * text2.C: adjust several funcs.
4658         (realizeFont): take a ParagraphList::iterator as arg.
4659         (getLayoutFont): ditto
4660         (getLabelFont): ditto
4661         (setCharFont): ditto
4662
4663         * text.C: adjust several funcs.
4664
4665 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4666
4667         * text.C (selectNextWordToSpellcheck): don't accidentally
4668         skip insets
4669
4670 2003-04-10  John Levon  <levon@movementarian.org>
4671
4672         * ToolbarBackend.C (getIcon): special handling for
4673         LFUN_MATH_DELIM
4674
4675 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4676
4677         * text2.C (cursorRight): a getChar assert fixed
4678
4679 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4680
4681         * text2.C (getFont): change to take a ParagraphList::iterator
4682         instead of Paragraph*
4683         Adjust several functions.
4684
4685         * text.C (transformChar): change to take a ParagraphList::iterator
4686         instead of Paragraph*
4687         (singleWidth): ditto
4688         Adjust several functions.
4689
4690         * rowpainter.C: adjust several functions
4691         * rowpainter.h:store a ParagraphList::iterator and not a
4692         Paragraph&.
4693
4694
4695 2003-04-09  John Levon  <levon@movementarian.org>
4696
4697         * lyxfunc.C:
4698         * lfuns.h:
4699         * LyXAction.h:
4700         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4701         and the "help" bits as well
4702
4703 2003-04-09  John Levon  <levon@movementarian.org>
4704
4705         * ToolbarBackend.h:
4706         * ToolbarBackend.C: allow multiple toolbars
4707
4708 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4709
4710         * undo_funcs.C (setCursorParUndo): adjust
4711
4712         * text_funcs.C (transposeChars): adjust
4713
4714         * text3.C (gotoNextInset): adjust
4715         (dispatch): adjust
4716
4717         * text2.C (setLayout): adjust
4718         (changeDepth): adjust
4719         (setFont): adjust
4720         (redoParagraphs): adjust
4721         (selectionAsString): adjust
4722         (setParagraph): adjust
4723         (insertInset): adjust
4724         (cutSelection): adjust
4725         (copySelection): adjust
4726         (pasteSelection): adjust
4727         (insertStringAsLines): adjust
4728         (updateInset): adjust
4729         (setCursor): change to take a ParagraphList::iterator parameter
4730         (setCursorIntern): change to take a ParagraphList::iterator parameter
4731         (setCurrentFont): adjust
4732         (cursorLeft): adjust
4733         (cursorRight): adjust
4734         (deleteEmptyParagraphMechanism): adjust
4735
4736         * text.C (breakParagraph): adjust
4737         (insertChar): adjust
4738         (acceptChange): adjust
4739         (rejectChange): adjust
4740         (selectNextWordToSpellcheck): adjust
4741         (changeCase): adjust
4742         (Delete): adjust
4743         (backspace): adjust
4744
4745         * lyxfind.C (SearchForward): adjust
4746         (SearchBackward): adjust
4747         (nextChange): adjust
4748
4749         * lyxcursor.C (par): adjust
4750
4751         * lyxcursor.h: store a ParagraphList::iterator instead of a
4752         Paragraph*
4753
4754         * lyx_cb.C (getPossibleLabel): adjust
4755
4756         * bufferview_funcs.C (toggleAndShow): adjust
4757
4758         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4759         (dispatch): adjust
4760
4761         * BufferView.C (removeAutoInsets): adjust
4762         (lockedInsetStoreUndo): adjust
4763
4764 2003-04-09  John Levon  <levon@movementarian.org>
4765
4766         * ToolbarBackend.C: try icon without argument
4767         if with argument fails
4768
4769 2003-04-08  John Levon  <levon@movementarian.org>
4770
4771         * ToolbarBackend.h:
4772         * ToolbarBackend.C: add getIcon(), handle tooltip,
4773         and change from "Icon" to "Item".
4774
4775 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4776
4777         * BufferView.C (lockInset): another bad getchar crunched
4778
4779 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4780
4781         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4782         again)
4783
4784 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4785
4786         * lyxfind.C (searchForward, searchBackwards): bug 782
4787
4788 2003-04-07  John Levon  <levon@movementarian.org>
4789
4790         * paragraph.C: remove dead comment
4791
4792         * text.C: remove troublesome depth-fiddling code
4793         in leftMargin() and rightMargin() (bug 1017)
4794
4795         * text.C: fix breaking of rows in nested lists
4796         (bug 1004)
4797
4798         * text2.C (updateCounters): fix up depth values
4799         (bug 1013)
4800
4801 2003-04-07  John Levon  <levon@movementarian.org>
4802
4803         * BufferView_pimpl.C: clear message when doc finishes resizing,
4804         and after a mouse event
4805
4806         * lyxfunc.C: clear message after exiting inset
4807
4808 2003-04-07  John Levon  <levon@movementarian.org>
4809
4810         * bufferview_funcs.C: show math status not outside
4811         status in the statusbar
4812
4813 2003-04-07  John Levon  <levon@movementarian.org>
4814
4815         * lyxfunc.C: note status changed after a depth change
4816
4817 2003-04-04  Angus Leeming  <leeming@lyx.org>
4818
4819         * LaTeX.h: move AuxInfo operator==, != out of line.
4820         Remove LaTeX virtual destructor; nothing derives from it.
4821         Move operator()() out of public area and rename it startscript().
4822         Change protected for private.
4823
4824 2003-04-04  Angus Leeming  <leeming@lyx.org>
4825
4826         * lyxfunc.C:
4827         * text2.C: remove unneeded #includes.
4828
4829 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4830
4831         * text2.C (dEPM): fix the heigth of the next row
4832
4833 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4834
4835         * text.C: squashed an invalid getChar requester + some ws changes
4836
4837 2003-04-03  John Levon  <levon@movementarian.org>
4838
4839         * bufferview_funcs.h:
4840         * bufferview_funcs.C:
4841         * lyxfunc.C:
4842         * lyxtext.h:
4843         * text2.C: make getStatus work for the env depth lfuns
4844
4845 2003-04-03  John Levon  <levon@movementarian.org>
4846
4847         * bufferview_funcs.h:
4848         * bufferview_funcs.C:
4849         * lyxfunc.C:
4850         * lyxtext.h:
4851         * text2.C: parlistize decDepth(), by merging it with incDepth()
4852
4853 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4854
4855         * lyxrow.h: store a ParagraphList::iterator instead of a
4856         Paragraph* and adjust other class functions to suit.
4857
4858         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4859         above.
4860
4861 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4862
4863         * text2.C (setCursor): do not anchor to cursor row for the time being
4864
4865 2003-04-02  John Levon  <levon@movementarian.org>
4866
4867         * LyXAction.C:
4868         * lfuns.h:
4869         * lyx_main.C:
4870         * lyxtext.h:
4871         * text.C:
4872         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4873
4874 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4875
4876         * paragraph.h: make ParagraphList and ParagraphList::iterator
4877         friends of Paragraph.
4878
4879         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4880
4881         * ParagraphList.C: Use the private next_ and previous_ from
4882         Paragraph.
4883
4884 2003-04-01  John Levon  <levon@movementarian.org>
4885
4886         * ToolbarBackend.h:
4887         * ToolbarBackend.C:
4888         * Makefile.am: rename, remove defaults gunk
4889
4890         * MenuBackend.h:
4891         * MenuBackend.C: remove defaults gunk
4892
4893         * Languages.h:
4894         * Languages.C: remove defaults gunk
4895
4896         * lyx_main.h:
4897         * lyx_main.C: error out if files couldn't be found.
4898
4899 2003-04-02  John Levon  <levon@movementarian.org>
4900
4901         * text2.C: make incDepth() use parlist
4902
4903 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4904
4905         * undo_funcs.C (firstUndoParagraph): adjust
4906
4907         * text3.C (gotoInset): adjust
4908         (dispatch): adjust, and rewrite loop.
4909
4910         * text2.C (init): adjust, and rewrite loop.
4911         (redoParagraphs): adjust
4912         (updateInset): adjust, and rewrite loop.
4913         (deleteEmptyParagraphMechanism): adjust
4914
4915         * tabular.C (LyXTabular): adjust
4916         (SetMultiColumn): adjust
4917         (TeXRow): adjust
4918
4919         * lyxtext.[Ch] (ownerParagraph): delete function
4920         (ownerParagraphs): new function returns a ParagraphList.
4921
4922         * BufferView.C (removeAutoInsets): adjust
4923         (insertErrors): adjust
4924         (setCursorFromRow): adjust
4925
4926 2003-04-01  Angus Leeming  <leeming@lyx.org>
4927
4928         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4929         in the frontends.
4930
4931 2003-04-02  John Levon  <levon@movementarian.org>
4932
4933         * lyxtext.h:
4934         * text.C:
4935         * Makefile.am:
4936         * text_funcs.h:
4937         * text_funcs.C: make transposeChars a free function
4938
4939         * lyxrow_funcs.C: remove wrong comment
4940
4941 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4942
4943         * lyxtext.h: adjust
4944         * rowpainter.C: adjust
4945         * text.C: adjust
4946         * text2.C: adjust
4947         * text3.C: adjust
4948
4949         * lyxrow_funcs. [Ch]: new files
4950
4951         * lyxrow.[Ch]: remove next and previous pointers
4952         (next,previous): remove accessor functions
4953         (isParEnd): move to lyxrow_funcs
4954         (lastPos): move to lyxrow_funcs
4955         (nextRowIsAllInset): move to lyxrow_funcs
4956         (lastPrintablePos): move to lyxrow_funcs
4957         (numberOfSeparators): move to lyxrow_funcs
4958         (numberOfHfills): move to lyxrow_funcs
4959         (numberOfLabelHfills): move to lyxrow_funcs
4960         (hfillExpansion): move to lyxrow_funcs
4961
4962         * lyxfunc.C: adjust
4963
4964         * bufferview_funcs.C (toggleAndShow): adjust
4965
4966         * RowList.h: Remove class RowList from file leave just a
4967         std::list<Row>.
4968
4969         * RowList.C: delete file
4970
4971         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4972         and lyxrow_funcs.h
4973
4974 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4975
4976         * text3.C (cursorPrevious): adjust
4977         (cursorNext): adjust
4978         (dispatch): adjust
4979
4980         * text2.C (redoHeightOfParagraph): adjust
4981         (redoDrawingOfParagraph): adjust
4982         (setCursor): adjust
4983
4984         * text.C (breakParagraph): adjust
4985         (insertChar): adjust
4986         (backspace): adjust
4987
4988         * rowpainter.C (RowPainter): adjust
4989         (leftMargin): simplify and adjust
4990         (most rowpainter functions): adjust.
4991
4992         * rowpainter.h: store the row as RowList::iterator not as Row*
4993
4994         * lyxcursor.C (row): taka RowList::iterator as arg
4995         (irow): ditto
4996
4997         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4998         of Row*.
4999
5000 2003-04-01  Angus Leeming  <leeming@lyx.org>
5001
5002         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5003         stuff like bool Bool.
5004
5005 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5006
5007         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5008         rewrite a loop
5009
5010 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5011
5012         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5013         RowList::iterator.
5014
5015         * lyxtext.h (rows): drop one version and leve a const variant that
5016         returns a RowList::iterator.
5017
5018 2003-03-31  Angus Leeming  <leeming@lyx.org>
5019
5020         * text.C (fill): ensure that the signature is the same as that in the
5021         header file.
5022
5023 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5024
5025         * text2.C (redoParagraphs): adjust
5026         (updateCounters): adjust
5027         (checkParagraph): adjust
5028         (getColumnNearX): adjust and reformat a bit.
5029
5030         * text.C (top_y): adjust
5031         (workWidth): adjust
5032         (leftMargin): adjust
5033         (prepareToPrint): adjust
5034         (getRow): adjust
5035         (getRowNearY): adjust
5036
5037         * lyxtext.h: make rowlist_ mutable.
5038
5039         * RowList.h: add const_iterator
5040         * RowList.C: adjust for RowList::const_iterator.
5041
5042         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5043         adjust.
5044
5045 2003-03-31  John Levon  <levon@movementarian.org>
5046
5047         * lyxrc.h:
5048         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5049
5050         * lyx_main.C: set default fonts from using lyx_gui funcs
5051
5052         * exporter.C: pdf_mode moved from lyxrc
5053
5054         * lyx_cb.C:
5055         * lyxfunc.C: changes from above
5056
5057 2003-03-31  John Levon  <levon@movementarian.org>
5058
5059         * lyx_main.C: fix to the last fix
5060
5061 2003-03-31  John Levon  <levon@movementarian.org>
5062
5063         * bufferlist.C: "Load original" -> "Load Original"
5064
5065         * converter.C:
5066         * exporter.C:
5067         * importer.C:
5068         * lyx_main.C:
5069         * format.C: more Alert cleanups
5070
5071 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5072
5073         * text2.C (removeParagraph): make it take a RowList::iterator as
5074         arg, adjust.
5075         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5076         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5077
5078         * text.C (anchor_row): make it take a RowList::iterator as arg,
5079         adjust.
5080         (computeBidiTables): make it take a const reference to Row instead
5081         of Row pointer, adjust.
5082         (leftMargin): make it take a RowList::iterator as arg, adjust.
5083         (rowBreakPoint): adjust
5084         (breakAgainOneRow): make it take a RowList::iterator as arg,
5085         adjust.
5086         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5087
5088         * bufferview_funcs.C (toggleAndShow): adjust
5089
5090 2003-03-30  John Levon  <levon@movementarian.org>
5091
5092         * Makefile.am:
5093         * BoostFormat.h:
5094         * boost-inst.C: moved to support
5095
5096         * several files: changes as a result
5097
5098 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5099
5100         * text2.C (LyXText): adjust.
5101         (init): adjust
5102         (removeRow): make it take a RowList::iterator as arg, adjust.
5103         (fullRebreak): adjust
5104         (deleteEmptyParagraphMechanism): adjust
5105         (clearPaint): adjust
5106         (postPaint): adjust
5107
5108         * text.C (top_y): adjust
5109         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5110         (breakAgain): make it take a RowList::iterator as arg, adjust.
5111         (breakParagraph): adjust
5112         (insertChar): adjust
5113         (backspace): adjust
5114
5115         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5116         need_break_row, and refresh_row.
5117
5118         * text3.C (dispatch): adjust
5119
5120         * text2.C (checkParagraph): adjust
5121         (setCursor): adjust
5122         (setCursorFromCoordinates): adjust
5123
5124         * text.C (top_y): adjust
5125         (workWidth): adjust
5126         (getRow): make it return a RowList::iterator, adjust
5127         (getRowNearY): make it return a RowList::iterator, adjust
5128
5129         * text2.C (init): adjust
5130         (insertRow): remove function
5131         (insertParagraph): adjust
5132         (redoParagraphs): adjust
5133         (fullRebreak): adjust
5134         (updateCounters): adjust
5135
5136         * text.C (top_y): rewrite to use RowList iterators.
5137         (top_y): adjust
5138         (setHeightOfRow): rewrite to sue RowList iterators.
5139         (appendParagraph): adjust
5140         (breakAgain): adjust
5141         (breakAgainOneRow): adjust
5142         (breakParagraph): adjust
5143         (getRow): adjust
5144         (getRowNearY): adjust, and remove commented code.
5145
5146         * lyxtext.h (firstRow): delete function
5147         (lastRow): delete function
5148         (rows): new function (const and non-const versions.)
5149         (insertRow): delete function
5150
5151         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5152
5153 2003-03-29  John Levon  <levon@movementarian.org>
5154
5155         * BufferView_pimpl.C: always update scrollbar top
5156         because pasting text when we're anchored could mean we
5157         miss an update altogether
5158
5159 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5160
5161         * text2.C (init): use rowlist_.end() and not 0.
5162         (insertRow): change to take a RowList::iterator as arg, adjust
5163         for this.
5164         (insertParagraph): change to take a RowList::iterator as arg,
5165         adjust for this.
5166         (redoParagraphs): remove some debug msgs.
5167
5168         * text.C (appendParagraph): change to take a RowList::iterator
5169         arg, adjust for this.
5170         (breakAgain): add an assert
5171         (breakAgainOneRow): ditto
5172
5173 2003-03-29  John Levon  <levon@movementarian.org>
5174
5175         * text2.C: do not clear selection after inc/decDepth
5176         (bug 550)
5177
5178 2003-03-29  John Levon  <levon@movementarian.org>
5179
5180         * BufferView.C:
5181         * buffer.C: fix broken strerrors according to Lars
5182
5183 2003-03-29  John Levon  <levon@movementarian.org>
5184
5185         * converters.C: more Alert cleanups
5186
5187 2003-03-29  John Levon  <levon@movementarian.org>
5188
5189         * bufferview_funcs.C: remove pointless Alert
5190
5191         * buffer.C: fix confusing error message when
5192         a template is chmoded 000
5193
5194 2003-03-29  John Levon  <levon@movementarian.org>
5195
5196         * BufferView.C:
5197         * BufferView.h:
5198         * BufferView_pimpl.C: Alert fixes
5199
5200         * Makefile.am:
5201         * tabular.C:
5202         * tabular-old.C: remove unused table compat reading
5203
5204 2003-03-29  John Levon  <levon@movementarian.org>
5205
5206         * BufferView.C:
5207         * buffer.C:
5208         * lyx_cb.h:
5209         * lyx_cb.C: more Alert cleanups
5210
5211         * lyxfunc.C: don't allow chktex if not latex document
5212
5213 2003-03-29  John Levon  <levon@movementarian.org>
5214
5215         * lyx_cb.C:
5216         * BufferView.C:
5217         * buffer.C: warnings pushed down from support/,
5218         kill err_alert
5219
5220 2003-03-29  John Levon  <levon@movementarian.org>
5221
5222         * lyxfunc.C: safety check for C-r (revert)
5223
5224 2003-03-29  John Levon  <levon@movementarian.org>
5225
5226         * bufferlist.h:
5227         * bufferlist.C: several UI fixes using Alert::prompt.
5228         Fix the pointless looping quit code. Fix stupid revert
5229         behaviour (bug 938)
5230
5231         * lyxvc.h:
5232         * lyxvc.C:
5233         * lyx_cb.C: use Alert::prompt
5234
5235         * lyx_main.C: remove a silly question
5236
5237         * lyxfunc.C: remove a couple of silly questions,
5238         use Alert::prompt
5239
5240 2003-03-28  John Levon  <levon@movementarian.org>
5241
5242         * text2.C: fix bug 974 (End on empty par)
5243
5244 2003-03-28  John Levon  <levon@movementarian.org>
5245
5246         * BufferView_pimpl.C:
5247         * LyXAction.C:
5248         * lfuns.h: remove do-nothing math greek lfuns
5249
5250 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5251
5252         * lyxgluelength.h (isValidGlueLength): add default arg on
5253         parameter 2. Remove default arg from friend in class.
5254
5255         * lyxlength.h (isValidLength): add default arg on parameter 2.
5256         Remove default arg from friend in class.
5257
5258         * text2.C (LyXText): adjust, initialize refresh_row.
5259         (init): adjust
5260         (removeRow): adjust
5261         (insertRow): adjust
5262         (insertParagraph): adjst
5263         (redoParagraphs): adjust
5264         (fullRebreak): adjust
5265         (updateCounters): adjust
5266         (deleteEmptyParagraphMechanism): first attempt at fixing a
5267         crashing bug.
5268
5269         * text.C (top_y): adjust
5270         (setHeightOfRow): adjust
5271         (getRow): adjust
5272         (getRowNearY): adjust
5273
5274         * lyxtext.h: include RowList.h
5275         (~LyXText): not needed anymore, deleted.
5276         (firstRow): modify for RowList
5277         (lastRow): new function
5278         Delete firstrow and lastrow class variables, add a Rowlist
5279         rowlist_ class variable.
5280
5281         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5282         paragraph is empty.
5283
5284         * RowList.C (insert): fix case where it == begin().
5285
5286 2003-03-26  Angus Leeming  <leeming@lyx.org>
5287
5288         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5289         the thesaurus dialog.
5290
5291 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5292
5293         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5294
5295         * RowList.[Ch]: new files
5296
5297         * ParagraphList.C (erase): handle the case where it == begin
5298         correctly.
5299
5300 2003-03-25  John Levon  <levon@movementarian.org>
5301
5302         * Makefile.am:
5303         * aspell_local.h:
5304         * aspell.C: add new aspell support
5305
5306         * lyxrc.h:
5307         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5308         have it accessible.
5309
5310 2003-03-25  Angus Leeming  <leeming@lyx.org>
5311
5312         * lfuns.h:
5313         * LyXAction.C (init): new LFUN_INSET_INSERT.
5314
5315         * BufferView_pimpl.C (dispatch): split out part of the
5316         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5317
5318         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5319         LFUN_INSET_APPLY.
5320
5321 2003-03-25  Angus Leeming  <leeming@lyx.org>
5322
5323         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5324
5325 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5326
5327         * text2.C:
5328         * text3.C: remove useless row->height(0)
5329
5330 2003-03-25  John Levon  <levon@movementarian.org>
5331
5332         * lyxtext.h:
5333         * text2.C:
5334         * text3.C: rename the refreshing stuff to better names
5335
5336 2003-03-24  John Levon  <levon@movementarian.org>
5337
5338         * BufferView_pimpl.h:
5339         * BufferView_pimpl.C: update layout choice on a mouse
5340         press/release
5341
5342 2003-03-23  John Levon  <levon@movementarian.org>
5343
5344         * Makefile.am: fix commandtags.h reference
5345
5346 2003-03-22  John Levon  <levon@movementarian.org>
5347
5348         * BufferView_pimpl.C:
5349         * lyxtext.h:
5350         * rowpainter.C:
5351         * rowpainter.h:
5352         * text.C:
5353         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5354
5355 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5356
5357         * lyxtext.h:
5358         * text.C: take the rtl methods out of line
5359
5360 2003-03-21 André Pönitz <poenitz@gmx.net>
5361
5362         * metricsinfo.[Ch]: new files containing structures to be passed around
5363         during the two-phase-drawing...
5364
5365 2003-03-21 André Pönitz <poenitz@gmx.net>
5366
5367         * lyxtextclass.C: read 'environment' tag.
5368
5369 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5370
5371         * text2.C (removeRow): fix bug 964
5372
5373 2003-03-20  John Levon  <levon@movementarian.org>
5374
5375         * rowpainter.C:
5376         * text.C:
5377         * text2.C: paint cleanups. Inset::update() dropped font
5378         parameter
5379
5380 2003-03-19  John Levon  <levon@movementarian.org>
5381
5382         * lyxfunc.C: only fitcursor/markDirty if available()
5383
5384 2003-03-19  John Levon  <levon@movementarian.org>
5385
5386         * commandtags.h: rename to ...
5387
5388         * lfuns.h: ... this, and renumber / cleanup
5389
5390 2003-03-19  John Levon  <levon@movementarian.org>
5391
5392         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5393         fit the cursor after an lfun
5394
5395         * BufferView.h:
5396         * BufferView.C:
5397         * BufferView_pimpl.h:
5398         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5399
5400         * LyXAction.C: layout-character should have ReadOnly
5401
5402         * ParagraphParameters.C:
5403         * buffer.C:
5404         * bufferview_funcs.C:
5405         * lyx_cb.C:
5406         * lyxfind.C:
5407         * lyxtext.h:
5408         * text.C:
5409         * text2.C:
5410         * text3.C:
5411         * undo_funcs.C: changes from above
5412
5413 2003-03-18  John Levon  <levon@movementarian.org>
5414
5415         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5416         remove it from update()
5417
5418         * lyxfunc.C: update layout choice after an lfun
5419
5420         * text3.C: remove extra updateLayoutChoice()s
5421
5422 2003-03-18  John Levon  <levon@movementarian.org>
5423
5424         * text.C: top_y change means full repaint, fix
5425         a drawing bug with cursor movement
5426
5427 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5428
5429         * lyxtext.h:
5430         * text.C:
5431         * text2.C: anchor row on setCursor
5432
5433 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5434
5435         * lyxtext.h: remove almost all mutable keywords
5436         * text.C:
5437         * text2.C:
5438         * text3.C: remove const keywords accordingly
5439
5440 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5441
5442         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5443         anon namespace
5444         (TeXEnvironment): ditto
5445         (TeXOnePar): ditto
5446
5447 2003-03-17  John Levon  <levon@movementarian.org>
5448
5449         * text.C (rowBreakPoint): remove attempt to fix displayed
5450         math insets inside a manual label
5451
5452 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5453
5454         * lyxtext.h: remove BufferView* as first arg from almost all class
5455         functions.
5456         * other files: adjust.
5457
5458 2003-03-17  John Levon  <levon@movementarian.org>
5459
5460         * lyxtext.h:
5461         * undo_funcs.C:
5462         * text2.C: more paint cleanups
5463
5464         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5465
5466         * rowpainter.h:
5467         * rowpainter.C: remove "smart" background painting code
5468
5469 2003-03-16  John Levon  <levon@movementarian.org>
5470
5471         * lyxtext.h:
5472         * text.C:
5473         * text2.C:
5474         * text3.C: add helper functions for setting refresh_row/y
5475
5476 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5477
5478         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5479         newline inset which *can* get inserted in the pass_thru layouts.
5480         This is primarily for literate documents.
5481
5482 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5483
5484         * buffer.C: increment LYX_FORMAT to 223
5485
5486 2003-03-14 André Pönitz <poenitz@gmx.net>
5487
5488         * textclass.h: prepare for environment handling, ws changes
5489         * lyxlayout.C: read latexheader and latexfooter tags
5490
5491 2003-03-14  John Levon  <levon@movementarian.org>
5492
5493         * text2.C: rewrite ::status() a bit
5494
5495 2003-03-13  John Levon  <levon@movementarian.org>
5496
5497         * lyxtext.h: add some docs
5498
5499 2003-03-13  John Levon  <levon@movementarian.org>
5500
5501         * lyxtext.h:
5502         * text.C:
5503         * text2.C:
5504         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5505
5506 2003-03-13  John Levon  <levon@movementarian.org>
5507
5508         * text3.C: fix appendix redrawing
5509
5510 2003-03-13  John Levon  <levon@movementarian.org>
5511
5512         * text.C (setHeightOfRow):
5513         * rowpainter.h:
5514         * rowpainter.C: make appendix mark have the text
5515           "Appendix" so the user knows what it is
5516
5517         * LColor.h:
5518         * LColor.C: s/appendixline/appendix/ from above
5519
5520 2003-03-13  John Levon  <levon@movementarian.org>
5521
5522         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5523
5524         * text.C: fix a getChar(pos) bug properly
5525
5526 2003-03-13  Angus Leeming  <leeming@lyx.org>
5527
5528         * commandtags.h:
5529         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5530         Probably only temporary. Let's see how things pan out.
5531
5532         * BufferView.C (unlockInset):
5533         * BufferView_pimpl.C (fitCursor):
5534         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5535
5536         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5537         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5538
5539         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5540         new functions that convert ParagraphParameters to and from a string.
5541
5542         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5543         BufferView::Pimpl's dispatch.
5544         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5545
5546 2003-03-13 André Pönitz <poenitz@gmx.net>
5547
5548         * lyxfunc.C:
5549         * text3.C:
5550         * factory.C: make it aware of InsetEnv
5551
5552 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5553
5554         * text2.C (setCursor): never ask for one past last
5555         (setCursor): add some debugging messages.
5556
5557         * text.C (singleWidth): never ask for one past last
5558         (singleWidth): ditto
5559         (leftMargin): ditto
5560         (rightMargin): ditto
5561         (rowBreakPoint): ditto
5562         (setHeightOfRow): ditto
5563         (prepareToPrint): ditto
5564
5565         * rowpainter.C (paintBackground): never ask for one past last
5566         (paintText): never ask for one past last
5567
5568         * paragraph_pimpl.C (getChar): make the assert stricter, never
5569         allow the one past last pos to be taken
5570
5571         * paragraph.C (getChar): ws changes only
5572
5573         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5574         (numberOfSeparators): ditto
5575         (numberOfHfills): ditto
5576
5577 2003-03-12  John Levon  <levon@movementarian.org>
5578
5579         * author.h:
5580         * author.C:
5581         * bufferparams.h:
5582         * bufferparams.C:
5583         * paragraph_funcs.C: fix per-buffer authorlists
5584
5585 2003-03-12  John Levon  <levon@movementarian.org>
5586
5587         * text.C: fix newline in right address
5588
5589 2003-03-12  Angus Leeming  <leeming@lyx.org>
5590
5591         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5592         duplicate those in LyXFunc::dispatch.
5593
5594         * commandtags.h:
5595         * LyXAction.C:
5596         * ToolbarDefaults.C:
5597         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5598         Add LFUN_FONTFREE_UPDATE.
5599
5600         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5601         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5602
5603         * bufferview_func.[Ch]: several new functions to facilliate
5604         transfer of data to and from the character dialog.
5605
5606 2003-03-12  John Levon  <levon@movementarian.org>
5607
5608         * buffer.C:
5609         * paragraph.h:
5610         * paragraph.C:
5611         * paragraph_funcs.C:
5612         * paragraph_pimpl.C:
5613         * sgml.C:
5614         * tabular.C:
5615         * text.C:
5616         * text3.C: remove META_NEWLINE in favour of an inset
5617
5618         * rowpainter.h:
5619         * rowpainter.C: remove paintNewline (done by inset)
5620
5621 2003-03-12  John Levon  <levon@movementarian.org>
5622
5623         * paragraph_pimpl.C: complain about bad getChar()s
5624         for a while at least
5625
5626 2003-03-12  John Levon  <levon@movementarian.org>
5627
5628         * buffer.h:
5629         * buffer.C: move paragraph read into a separate function,
5630         a little renaming to reflect that.
5631
5632         * bufferparams.h:
5633         * bufferparams.C: remove the author_ids map, not necessary now
5634
5635         * factory.h:
5636         * factory.C: moved Buffer::readInset to here
5637
5638         * paragraph_funcs.h:
5639         * paragraph_funcs.C: readParagraph free function moved from
5640         buffer.C
5641
5642         * tabular.C: name change
5643
5644 2003-03-12  John Levon  <levon@movementarian.org>
5645
5646         * buffer.C:
5647         * ParagraphParameters.C: move par params input to
5648         a read() method
5649
5650         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5651         behave like a normal read from the stream wrt reading
5652         a line vs. a \\token
5653
5654 2003-03-12  John Levon  <levon@movementarian.org>
5655
5656         * paragraph.C:
5657         * ParagraphParameters.h:
5658         * ParagraphParameters.C: move output code to a
5659         ::write() method
5660
5661 2003-03-12  John Levon  <levon@movementarian.org>
5662
5663         * BufferView.C (insertLyXFile):
5664         * buffer.h:
5665         * buffer.C:
5666         * tabular.C: use a parlist iterator for creating the
5667           document.
5668
5669 2003-03-12  John Levon  <levon@movementarian.org>
5670
5671         * buffer.C: make current_change static local not
5672           static file-scope
5673
5674 2003-03-12  John Levon  <levon@movementarian.org>
5675
5676         * buffer.C: fix insertStringAsLines for change tracking
5677
5678 2003-03-12  John Levon  <levon@movementarian.org>
5679
5680         * BufferView.C:
5681         * tabular.C:
5682         * buffer.h:
5683         * buffer.C:
5684         * bufferparams.h:
5685         * bufferparams.C: move author list into params. Rename some
5686           functions. Move the header reading into a separate token
5687           loop. Move the header token reading into BufferParams.
5688
5689 2003-03-12  John Levon  <levon@movementarian.org>
5690
5691         * changes.C: put debug inside lyxerr.debugging() checks
5692
5693 2003-03-11 André Pönitz <poenitz@gmx.net>
5694
5695         * factory.C: make it aware of InsetHFill
5696
5697 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5698
5699         * buffer.C (latexParagraphs): move function from here...
5700         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5701         args.
5702
5703 2003-03-10  Angus Leeming  <leeming@lyx.org>
5704
5705         * LyXAction.C (init): fix bug in poplating array with multiple entries
5706         with the same LFUN (spotted by JMarc).
5707
5708 2003-03-10  John Levon  <levon@movementarian.org>
5709
5710         * text.C:
5711         * text2.C: move getColumnNearX() near its
5712         only call site
5713
5714 2003-03-10  John Levon  <levon@movementarian.org>
5715
5716         * text.C: fix break before a minipage
5717
5718 2003-03-10  John Levon  <levon@movementarian.org>
5719
5720         * text.C: fix the last commit
5721
5722 2003-03-09  John Levon  <levon@movementarian.org>
5723
5724         * lyxtext.h:
5725         * text.C:
5726         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5727         bug 365 (don't break before insets unless needed). Don't
5728         return a value > last under any circumstances.
5729
5730 2003-03-09  Angus Leeming  <leeming@lyx.org>
5731
5732         * BufferView_pimpl.C (trackChanges, dispatch): call
5733         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5734
5735 2003-03-09  Angus Leeming  <leeming@lyx.org>
5736
5737         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5738         than Dialogs::showAboutlyx().
5739
5740 2003-03-09  Angus Leeming  <leeming@lyx.org>
5741
5742         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5743         than Dialogs::showTabularCreate().
5744
5745 2003-03-09  John Levon  <levon@movementarian.org>
5746
5747         * lyxtext.h:
5748         * text.C:
5749         * text2.C: 3rd arg to nextBreakPoint was always the same.
5750           Use references.
5751
5752 2003-03-08  John Levon  <levon@movementarian.org>
5753
5754         * lyxrow.C:
5755         * paragraph.C:
5756         * paragraph.h:
5757         * rowpainter.C:
5758         * text.C:
5759         * text2.C: Remove the "main" bit from the "main body"
5760           notion.
5761
5762 2003-03-08  John Levon  <levon@movementarian.org>
5763
5764         * text.C (leftMargin): The left margin of an empty
5765         manual label paragraph should not include the label width
5766         string length.
5767
5768         * text.C (prepareToPrint): don't attempt to measure hfills
5769         for empty manual label paragraphs - the answer should be 0
5770
5771 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5772
5773         * CutAndPaste.C: remove commented code and reindent.
5774
5775 2003-03-08  John Levon  <levon@movementarian.org>
5776
5777         * lyxfunc.h:
5778         * lyxfunc.C: move reloadBuffer()
5779
5780         * BufferView.h:
5781         * BufferView.C: to here
5782
5783         * lyxvc.C: add comment
5784
5785         * vc-backend.h:
5786         * vc-backend.C: call bv->reload() to avoid
5787           getStatus() check on MENURELOAD
5788
5789 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5790
5791         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5792         to an old format .dep file.
5793
5794 2003-03-07  Angus Leeming  <leeming@lyx.org>
5795
5796         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5797         when the LFUN_MOUSE_RELEASE should have been handled by
5798         inset->localDispatch.
5799
5800 2003-03-07  Angus Leeming  <leeming@lyx.org>
5801
5802         * BufferView_pimpl.C (dispatch):
5803         * LyXAction.C (init):
5804         * ToolbarDefaults.C (init):
5805         * commandtags.h:
5806         * lyxfunc.C (getStatus):
5807         remove LFUN_INSET_GRAPHICS.
5808
5809         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5810
5811 2003-03-07  Angus Leeming  <leeming@lyx.org>
5812
5813         * commandtags.h:
5814         * LyXAction.C (init):
5815         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5816
5817         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5818
5819         * commandtags.h:
5820         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5821
5822         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5823         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5824
5825 2003-03-07  Angus Leeming  <leeming@lyx.org>
5826
5827         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5828         remove "ert".
5829
5830 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5831
5832         * ParagraphList.C (front): new function
5833         (back): implement
5834
5835 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5836
5837         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5838         and top_row_offset_. removed var first_y.
5839         * text.C (top_y):
5840         * text2.C (LyXText, removeRow):
5841         * text3.C:
5842         * BufferView_pimpl.C:
5843         use these methods instead of using first_y
5844
5845 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5846
5847         * text2.C (pasteSelection): adjust for checkPastePossible
5848
5849         * CutAndPaste.C: remove Paragraph * buf and replace with
5850         ParagraphList paragraphs.
5851         (DeleteBuffer): delete
5852         (cutSelection): change the tc type to textclass_type
5853         (copySelection): change the tc type to textclass_type
5854         (copySelection): adjust for ParagraphList
5855         (pasteSelection): change the tc type to textclass_type
5856         (pasteSelection): adjust for Paragraphlist
5857         (nrOfParagraphs): simplify for ParagraphList
5858         (checkPastePossible): simplify for ParagraphList
5859         (checkPastePossible): remove unused arg
5860
5861         * ParagraphList.C (insert): handle the case where there are no
5862         paragraphs yet.
5863
5864         * CutAndPaste.h: make CutAndPaste a namespace.
5865
5866         * text3.C (dispatch): adjust
5867
5868         * text.C (breakParagraph): add a ParagraphList as arg
5869
5870         * paragraph_funcs.C (breakParagraph): change to take a
5871         BufferParams and a ParagraphList as args.
5872         (breakParagraphConservative): ditto
5873         (mergeParagraph): ditto
5874         (TeXDeeper): add a ParagraphList arg
5875         (TeXEnvironment): ditto
5876         (TeXOnePar): ditto
5877
5878         * buffer.C (readLyXformat2): adjust
5879         (insertStringAsLines): adjust
5880         (latexParagraphs): adjust
5881
5882         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5883         (cutSelection): adjust
5884         (pasteSelection): adjust
5885
5886         * BufferView_pimpl.C (insertInset): adjust
5887
5888 2003-03-05  Angus Leeming  <leeming@lyx.org>
5889
5890         * commandtags.h:
5891         * LyXAction.C (init):
5892         * BufferView_pimpl.C (dispatch):
5893         * lyxfunc.C (getStatus):
5894         remove LFUN_CHILD_INSERT.
5895
5896         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5897
5898 2003-03-05  Angus Leeming  <leeming@lyx.org>
5899
5900         * commandtags.h:
5901         * LyXAction.C (init):
5902         * src/factory.C (createInset):
5903         * lyxfunc.C (getStatus):
5904         * text3.C (dispatch):
5905         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5906
5907         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5908
5909 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5910
5911         * ParagraphList.C (insert): handle insert right before end()
5912         (erase): fix cases where it can be first or last paragraph.
5913
5914 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5915
5916         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5917         Paragraph::next and Paragraph::previous
5918         (TeXOnePar): ditto
5919
5920         * text.C (breakParagraph): adjust
5921
5922         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5923         BufferParams& as arg.
5924         (breakParagraph): use ParagraphList::insert
5925         (breakParagraphConservative): take a Buffer* instead of a
5926         BufferParams& as arg.
5927         (breakParagraphConservative): use ParagraphList::insert.
5928
5929         * buffer.C (insertStringAsLines): un-const it
5930         (insertStringAsLines): adjust
5931
5932         * ParagraphList.C (insert): new function
5933
5934         * CutAndPaste.C (pasteSelection): adjust
5935
5936         * text.C (backspace): adjust
5937
5938         * tabular.C (SetMultiColumn): adjust
5939
5940         * CutAndPaste.C (cutSelection): adjust
5941         (pasteSelection): adjust
5942
5943         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5944         Buffer const * as arg
5945
5946         * ParagraphList.C (erase): new function
5947         * paragraph_funcs.C (mergeParagraph): use it
5948         (mergeParagraph): make it take a Buffer* instead of a
5949         BufferParams* as arg
5950
5951         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5952         as arg
5953         (breakParagraphConservative): ditto
5954
5955         * paragraph.h: remove the breakParagraph friend
5956
5957         * paragraph.C (eraseIntern): new function
5958         (setChange): new function
5959
5960         * paragraph_funcs.C (mergeParagraph): make it take a
5961         ParagraphList::iterator instead of a Paragraph *, adjust
5962         accordingly.
5963
5964         * paragraph.h: move an #endif so that the change tracking stuff
5965         also works in the NO_NEXT case.
5966
5967 2003-03-04  Angus Leeming  <leeming@lyx.org>
5968
5969         * commandtags.h:
5970         * LyXAction.C: new LFUN_INSET_MODIFY.
5971
5972         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5973         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5974
5975 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5976
5977         * several files: ws changes only
5978
5979         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5980         (TeXEnvironment): ditto
5981         (TeXDeeper): ditto
5982
5983         * buffer.C (makeLaTeXFile): adjust
5984         (latexParagraphs): make it take ParagraphList::iterator as args
5985
5986 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5987
5988         * buffer.C (latexParagraphs): adjust
5989
5990         * paragraph.C (TeXOnePar): move function...
5991         (optArgInset): move function...
5992         (TeXEnvironment): move function...
5993         * paragraph_pimpl.C (TeXDeeper): move function...
5994         * paragraph_funcs.C: ...here
5995
5996         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5997
5998 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5999
6000         * buffer.C (readInset): remove compability code for old Figure and
6001         InsetInfo insets
6002
6003 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6004
6005         * buffer.C: ws changes
6006         (readInset):
6007
6008         * BufferView_pimpl.C: ditto
6009         * author.C: ditto
6010         * buffer.h: ditto
6011         * bufferlist.h: ditto
6012         * changes.h: ditto
6013         * lyxfunc.C: ditto
6014
6015 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6016
6017         * converter.[Ch]: split into itself +
6018         * graph.[Ch]
6019         * format.[Ch]
6020         * Makefile.am: += graph.[Ch] + format.[Ch]
6021         * MenuBackend.C
6022         * buffer.C
6023         * exporter.C
6024         * importer.C
6025         * lyx_main.C
6026         * lyxfunc.C
6027         * lyxrc.C: added #include "format.h"
6028
6029 2003-02-27  Angus Leeming  <leeming@lyx.org>
6030
6031         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6032           a label.
6033
6034         * factory.C (createInset): add "label" to the factory.
6035
6036         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6037           string and do no more.
6038
6039 2003-02-27  Angus Leeming  <leeming@lyx.org>
6040
6041         * commandtags.h:
6042         * LyXAction.C (init):
6043         * factory.C (createInset):
6044         * BufferView_pimpl.C (dispatch):
6045           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6046
6047         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6048
6049         * lyxfunc.C (dispatch):
6050         * text3.C (dispatch): pass name to params2string.
6051
6052 2003-02-26  Angus Leeming  <leeming@lyx.org>
6053
6054         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6055           blocks together.
6056           Rearrange the ~includes. Strip out the unnecessary ones.
6057
6058         * factory.C (createInset): reformat.
6059           create new insets for the various LFUN_XYZ_APPLY lfuns.
6060
6061 2003-02-26  John Levon  <levon@movementarian.org>
6062
6063         * lyxrow.h:
6064         * lyxrow.C: add isParStart,isParEnd helpers
6065
6066         * paragraph.h: make isInserted/DeletedText take refs
6067
6068         * paragraph_funcs.h:
6069         * paragraph_funcs.C: remove #if 0'd code
6070
6071         * lyxtext.h:
6072         * text3.C:
6073         * text2.C:
6074         * text.C: use lyxrow helpers above.
6075           Move draw and paint routines to RowPainter.
6076           Make several methods use refs not pointers.
6077           Make backgroundColor() const.
6078           Add markChangeInDraw(), isInInset().
6079           Merge changeRegionCase into changeCase.
6080           Make workWidth() shouldn't-happen code into an Assert.
6081
6082         * rowpainter.h:
6083         * rowpainter.C: new class for painting a row.
6084
6085         * vspace.h:
6086         * vspace.C: make inPixels take a ref
6087
6088 2003-02-26  Angus Leeming  <leeming@lyx.org>
6089
6090         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6091         LFUN_REF_APPLY.
6092
6093 2003-02-25  John Levon  <levon@movementarian.org>
6094
6095         * ispell.C: give the forked command a more accurate name
6096
6097 2003-02-22  John Levon  <levon@movementarian.org>
6098
6099         * toc.h:
6100         * toc.C: make TocItem store an id not a Paragraph *
6101           (bug #913)
6102
6103 2003-02-21  Angus Leeming  <leeming@lyx.org>
6104
6105         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6106           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6107           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6108           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6109           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6110           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6111
6112         * BufferView_pimpl.C (dispatch):
6113         * LyXAction.C (init):
6114         * factory.C (createInset):
6115         * lyxfunc.C (getStatus, dispatch):
6116         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6117
6118 2003-02-21  Angus Leeming  <leeming@lyx.org>
6119
6120         * BufferView_pimpl.C (MenuInsertLyXFile):
6121         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6122         * lyxfunc.C (menuNew, open, doImport):
6123           no longer pass a LyXView & to fileDlg.
6124
6125 2003-02-21  Angus Leeming  <leeming@lyx.org>
6126
6127         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6128         * LyXAction.C: change, BIBKEY to BIBITEM.
6129         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6130         Change InsetBibKey to InsetBibitem.
6131         Change BIBKEY_CODE to BIBITEM_CODE.
6132         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6133         * factory.C: replace insetbib.h with insetbibitem.h.
6134         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6135         * paragraph.C: replace insetbib.h with insetbibitem.h.
6136         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6137         Change bibkey() to bibitem().
6138         * text.C: remove insetbib.h.
6139         * text2.C: replace insetbib.h with insetbibitem.h.
6140         change bibkey() to bibitem().
6141         * text3.C: remove insetbib.h.
6142         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6143
6144 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6145
6146         * lyxrc.C (output): enclose user email in quotes (in case there are
6147         several words)
6148
6149 2003-02-18  John Levon  <levon@movementarian.org>
6150
6151         * buffer.h: add std::
6152
6153 2003-02-17  John Levon  <levon@movementarian.org>
6154
6155         * SpellBase.h:
6156         * ispell.h:
6157         * ispell.C:
6158         * pspell.h:
6159         * pspell.C: reworking. Especially in ispell, a large
6160           number of clean ups and bug fixes.
6161
6162         * lyxfunc.C: fix revert to behave sensibly
6163
6164 2003-02-17 André Pönitz <poenitz@gmx.net>
6165
6166         * LyXAction.C:
6167         * commandtags.h: new LFUN_INSERT_BIBKEY
6168
6169         * layout.h:
6170         * lyxlayout.C:
6171         * buffer.C:
6172         * factory.C:
6173         * text.C:
6174         * text2.C:
6175         * text3.C:
6176         * paragraph.[Ch]:
6177         * paragraph_func.C: remove special bibkey handling
6178
6179 2003-02-17  John Levon  <levon@movementarian.org>
6180
6181         * text.C (Delete): fix case where delete at the end of
6182           the very first paragraph would not merge the pars
6183
6184 2003-02-17  John Levon  <levon@movementarian.org>
6185
6186         * lyxrow.C: fix lastPrintablePos()
6187
6188 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6189
6190         * bufferparams.C (writeLaTeX): add a std:here
6191
6192         * buffer.C: and remove a using directive there
6193
6194 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6195
6196         * buffer.C (makeLaTeXFile): move the code that generates the
6197           preamble...
6198
6199         * bufferparams.C (writeLaTeX): ... in this new method
6200
6201         * LaTeXFeatures.C (getEncodingSet): make const
6202           (getLanguages): make const
6203
6204         * MenuBackend.C (binding): returns the binding associated to this
6205           action
6206           (add): sets the status of each item by calling getStatus. Adds
6207           some intelligence.
6208           (read): add support for OptSubMenu
6209           (expand): remove extra separator at the end of expanded menu
6210
6211 2003-02-15  John Levon  <levon@movementarian.org>
6212
6213         * BufferView.C:
6214         * BufferView_pimpl.C:
6215         * bufferlist.h:
6216         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6217           inset code that had no actual effect. Remove unneeded status
6218           code.
6219
6220 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6221
6222         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6223           in preamble
6224
6225 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6226
6227         * text.C (drawLengthMarker): also draw an arrow marker for
6228           symbolic lengths (medskip...)
6229
6230 2003-02-14  John Levon  <levon@movementarian.org>
6231
6232         * tabular.h:
6233         * tabular.C: better method names
6234
6235 2003-02-14  John Levon  <levon@movementarian.org>
6236
6237         * BufferView_pimpl.C:
6238         * bufferlist.C:
6239         * buffer.C:
6240         * converter.C:
6241         * lyx_cb.C:
6242         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6243           it's a more accurate name. Remove some pointless uses.
6244
6245 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6246
6247         * text2.C (LyXText): change order of initilizers to shut off
6248           warnings
6249
6250 2003-02-14  John Levon  <levon@movementarian.org>
6251
6252         * buffer.C: use ParIterator for getParFromID()
6253
6254         * paragraph.h:
6255         * paragraph.C:
6256         * paragraph_pimpl.h:
6257         * paragraph_pimpl.C: remove unused getParFromID()
6258
6259 2003-02-14  John Levon  <levon@movementarian.org>
6260
6261         * buffer.C: remove some very old #if 0'd parse code
6262
6263 2003-02-13  John Levon  <levon@movementarian.org>
6264
6265         * text.h:
6266         * text.C:
6267         * text2.C: move hfillExpansion(), numberOfSeparators(),
6268           rowLast(), rowLastPrintable(), numberofHfills(),
6269           numberOfLabelHfills() ...
6270
6271         * lyxrow.h:
6272         * lyxrow.C: ... to member functions here.
6273
6274         * paragraph.h:
6275         * paragraph.C:
6276         * lyxtext.h:
6277         * text.C: remove LyXText::beginningOfMainBody(), and call
6278           p->beginningOfMainBody() directly. Move the check for
6279           LABEL_MANUAL into the latter.
6280
6281         * text.h:
6282         * text.C:
6283         * text2.C:
6284         * vspace.C:
6285         * BufferView.h:
6286         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6287
6288         * text.h:
6289         * text.C:
6290         * text2.C:
6291         * text3.C:
6292         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6293           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6294
6295 2003-02-13  John Levon  <levon@movementarian.org>
6296
6297         * CutAndPaste.C: remove debug
6298
6299 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6300
6301         * paragraph.C (asString): remove two unused variables
6302
6303         * lyxtextclass.C (readTitleType):
6304           (Read):
6305           (LyXTextClass): handle new members titletype_ and titlename_
6306
6307         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6308
6309 2003-02-09  John Levon  <levon@movementarian.org>
6310
6311         * buffer.h:
6312         * buffer.C: replace hand-coded list with a map for the dep clean
6313
6314 2003-02-08  John Levon  <levon@movementarian.org>
6315
6316         * LaTeX.C: consolidate code into showRunMessage() helper
6317
6318 2003-02-08  John Levon  <levon@movementarian.org>
6319
6320         * lyxfind.C:
6321         * lyxtext.h:
6322         * text2.C:
6323         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6324           and pass the size in explicitly
6325
6326         * BufferView_pimpl.h:
6327         * BufferView_pimpl.C:
6328         * BufferView.h:
6329         * BufferView.C: add getCurrentChange()
6330
6331         * BufferView_pimpl.h:
6332         * BufferView_pimpl.C: handle change lfuns
6333
6334         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6335           for changes. Mark pasted paragraphs as new.
6336
6337         * support/lyxtime.h:
6338         * support/lyxtime.C:
6339         * DepTable.C: abstract time_t as lyx::time_type
6340
6341         * LColor.h:
6342         * LColor.C: add colours for new text, deleted text, changebars
6343
6344         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6345           package use "usenames" option.
6346
6347         * commandtags.h:
6348         * lyxfunc.C:
6349         * LyXAction.C: add change lfuns
6350
6351         * Makefile.am:
6352         * author.h:
6353         * author.C: author handling
6354
6355         * buffer.h:
6356         * buffer.C: add a per-buffer author list, with first entry as
6357           current author. Handle new .lyx tokens for change tracking. Output
6358           author list to .lyx file. Output dvipost stuff to .tex preamble.
6359           Bump lyx format to 222.
6360
6361         * bufferlist.h:
6362         * bufferlist.C: add setCurrentAuthor() to reset current author details
6363           in all buffers.
6364
6365         * bufferparams.h:
6366         * bufferparams.C: add param for tracking
6367
6368         * bufferview_funcs.C: output change info in minibuffer
6369
6370         * Makefile.am:
6371         * changes.h:
6372         * changes.C: add change-tracking structure
6373
6374         * debug.h:
6375         * debug.C: add CHANGES debug flag
6376
6377         * lyxfind.h:
6378         * lyxfind.C: add code for finding the next change piece
6379
6380         * lyxrc.h:
6381         * lyxrc.C: add user_name and user_email
6382
6383         * lyxrow.h:
6384         * lyxrow.C: add a metric for the top of the text line
6385
6386         * lyxtext.h:
6387         * text.C: implement accept/rejectChange()
6388
6389         * lyxtext.h:
6390         * text.C: paint changebars. Paint new/deleted text in the chosen
6391         colours. Strike through deleted text.
6392
6393         * paragraph.h:
6394         * paragraph.C:
6395         * paragraph_pimpl.h:
6396         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6397           in the current change to the insert functions. Rework erase to
6398           mark text as deleted, adding an eraseIntern() and a range-based
6399           erase(). Implement per-paragraph change lookup and
6400           accept/reject.
6401
6402         * paragraph_funcs.C: Fixup paste for change tracking.
6403
6404         * tabular.C: mark added row/columns as new.
6405
6406         * text.C: fix rowLast() to never return -1. Don't allow
6407           spellchecking of deleted text. Track transpose changes. Don't
6408           allow paragraph break or merge where appropriate.
6409
6410         * text2.C: leave cursor at end of selection after a cut.
6411
6412 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6413
6414         * text.C (getLengthMarkerHeight):
6415         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6416         visible on screen too.
6417
6418 2003-02-07  John Levon  <levon@movementarian.org>
6419
6420         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6421
6422 2003-02-05  Angus Leeming  <leeming@lyx.org>
6423
6424         * lyxserver.C (read_ready): revert my patch of 11 September last year
6425         as it sends PC cpu through the roof. Presumably this means that
6426         the lyxserver will no longer run on an Alpha...
6427
6428 2003-01-30  Angus Leeming  <leeming@lyx.org>
6429
6430         * factory.C (createInset): create an InsetCommandParam of type "index"
6431         and use it to 'do the right thing'.
6432
6433         * text2.C (getStringToIndex): ensure that cursor position is always
6434         reset to the reset_cursor position.
6435
6436 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6437
6438         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6439         disabled.
6440
6441 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6442
6443         * bufferview.C:
6444         * lyxcb.C:
6445         * lyxfunc.C: Output messages with identical spelling, punctuation,
6446         and spaces
6447
6448 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6449
6450         * MenuBackend.C (expandFormats): List only viewable export formats
6451         in "View" menu
6452
6453         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6454         message
6455
6456         * lyxfunc.C (getStatus): Make sure that formats other than
6457         "fax" can also be disabled
6458
6459 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6460
6461         * text3.C (dispatch): put the lfuns that insert insets in 3
6462         groups, and call doInsertInset with appropriate arguments.
6463         (doInsertInset): new function, that creates an inset and inserts
6464         it according to some boolean parameters.
6465
6466 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6467
6468         * buffer.C (readFile): remember to pass on 'par' when calling
6469         readFile recursively.
6470
6471 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6472
6473         * MenuBackend.C (expandFormats): add "..." to import formats.
6474
6475 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6476
6477         * paragraph.C (asString): Remove XForms RTL hacks.
6478
6479 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6480         * buffer.C: fix typo
6481
6482 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6483
6484         * Makefile.am (LIBS): delete var
6485         (lyx_LDADD): add @LIBS@ here instead.
6486
6487 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6488
6489         * Clarify the meaning of "wheel mouse jump"
6490
6491 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6492
6493         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6494         tabular in a float
6495
6496 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6497
6498         * importer.C (Loaders): do not preallocate 3 elements in the
6499         vector, since one ends up with 6 elements otherwise
6500
6501 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6502
6503         * DepTable.C (write): write the file name as last element of the
6504         .dep file (because it may contain spaces)
6505         (read): read info in the right order
6506
6507 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6508
6509         * paragraph_pimpl.C (simpleTeXBlanks):
6510         (simpleTeXSpecialChars):
6511         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6512
6513         * tabular.C (latex): add some missing case statements. Reindent.
6514
6515         * MenuBackend.C (expandToc): remove unused variable.
6516
6517 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6518
6519         * LColor.C:
6520         * LaTeX.C:
6521         * LyXAction.C:
6522         * MenuBackend.C:
6523         * buffer.C:
6524         * exporter.C:
6525         * lyxfunc.C:
6526         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6527         and the like.
6528
6529 2003-01-05  John Levon  <levon@movementarian.org>
6530
6531         * BufferView.h:
6532         * BufferView.C: add getEncoding()
6533
6534         * kbsequence.h:
6535         * kbsequence.C: do not store last keypress
6536
6537         * lyxfunc.h:
6538         * lyxfunc.C: store last keypress here instead. Pass encoding
6539           to getISOEncoded()
6540
6541 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6542
6543         * lyx_main.C (init): remove annoying error message when following
6544         symbolic links (bug #780)
6545
6546 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6547
6548         * text.C (insertChar):
6549         * lyxrc.C (getDescription): remove extra spaces
6550
6551 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6552
6553         * lyxrc.C (getDescription): remove extra spaces
6554
6555 2002-12-20  John Levon  <levon@movementarian.org>
6556
6557         * text3.C: hack fix for page up/down across tall rows
6558
6559 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6560
6561         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6562         not been invoked
6563
6564 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6565
6566         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6567         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6568         thesaurus is not compiled in
6569
6570 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6571
6572         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6573
6574 2002-12-16  Angus Leeming  <leeming@lyx.org>
6575
6576         * lyxrc.[Ch]:
6577         * lyx_main.C (init): remove override_x_deadkeys stuff.
6578
6579 2002-12-12  John Levon  <levon@movementarian.org>
6580
6581         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6582           insert. Only remove shift modifier under strict
6583           circumstances.
6584
6585 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6586
6587         * MenuBackend.C (expandToc): fix crash.
6588
6589 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6590
6591         * MenuBackend.C (expandToc): gettext on float names.
6592
6593 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6594
6595         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6596         implement bool empty() [bug 490]
6597
6598 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6599
6600         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6601
6602 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6603
6604         * several files: ws changes
6605
6606 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6607
6608         * text2.C (setCounter): clean up a bit, use boost.format.
6609         (updateCounters): initialize par upon declaration.
6610
6611         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6612         if the layout exists. We do not just store the layout any more.
6613         (SwitchLayoutsBetweenClasses): use boost.format
6614
6615 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6616
6617         * converter.C (convert): if from and to files are the same, use a
6618         temporary files as intermediary
6619
6620 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6621
6622         * commandtags.h:
6623         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6624
6625 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6626
6627         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6628
6629 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6630
6631         * tabular.C (asciiPrintCell): use string(size, char) instead of
6632         explicit loop.
6633
6634         * sgml.C (openTag): fix order of arguments to string constructor
6635         (closeTag): ditto
6636
6637         * lyxfunc.C (dispatch): use boost.format
6638
6639         * lots of files: change "c" -> 'c'
6640
6641 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6642
6643         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6644
6645 2002-11-25  Angus Leeming  <leeming@lyx.org>
6646
6647         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6648
6649         * lyx_main.C (init): compile fix.
6650
6651 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6652
6653         * lyx_cb.C (start): boost.formatify
6654         do not include <iostream>
6655
6656         * lengthcommon.C: ws only
6657
6658         * boost-inst.C,BoostFormat.h: add more explict instantations
6659
6660 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6661
6662         * lots of files: handle USE_BOOST_FORMAT
6663
6664 2002-11-21  John Levon  <levon@movementarian.org>
6665
6666         * pspell.C: fix compile
6667
6668 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6669
6670         * lyxfunc.C (dispatch): use boost::format
6671         (open): ditto
6672         (doImport): ditto
6673
6674         * lyxfont.C (stateText): use boost::format
6675
6676         * lyx_main.C (LyX): use boost::format
6677         (init): ditto
6678         (queryUserLyXDir): ditto
6679         (readRcFile): ditto
6680         (parse_dbg): ditto
6681         (typedef boost::function): use the recommened syntax.
6682
6683         * importer.C (Import): use boost::format
6684
6685         * debug.C (showLevel): use boost::format
6686
6687         * converter.C (view): use boost::format
6688         (convert): ditto
6689         (move): ditto
6690         (scanLog): ditto
6691
6692         * bufferview_funcs.C (currentState): use boost::format
6693
6694         * bufferlist.C (emergencyWrite): use boost::format
6695
6696         * buffer.C (readLyXformat2): use boost::format
6697         (parseSingleLyXformat2Token): ditto
6698
6699         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6700
6701         * LaTeX.C (run): use boost::format
6702
6703         * Chktex.C (scanLogFile): use boost::format
6704
6705         * BufferView_pimpl.C (savePosition): use boost::format
6706         (restorePosition): ditto
6707         (MenuInsertLyXFile): ditto
6708
6709         * BoostFormat.h: help file for explicit instation.
6710
6711 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6712
6713         * tabular.C (latex): Support for block alignment in fixed width
6714         columns.
6715
6716 2002-11-17  John Levon  <levon@movementarian.org>
6717
6718         * BufferView_pimpl.C:
6719         * lyx_cb.C:
6720         * lyxfunc.C: split filedialog into open/save
6721
6722 2002-11-08  Juergen Vigna  <jug@sad.it>
6723
6724         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6725         by my last patch (hopefully).
6726
6727 2002-11-08  John Levon  <levon@movementarian.org>
6728
6729         * iterators.h:
6730         * iterators.C:
6731         * buffer.h:
6732         * buffer.C:
6733         * paragraph.h:
6734         * paragraph.C:
6735         * toc.h:
6736         * toc.C: ParConstIterator, and use it (from Lars)
6737
6738 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6739
6740         * lyxtextclass.[Ch]: revise and add doxygen comments
6741
6742 2002-11-07  John Levon  <levon@movementarian.org>
6743
6744         * text.C: fix progress value for spellchecker
6745
6746         * toc.C: fix navigate menu for insetwrap inside minipage
6747
6748         * paragraph_funcs.C: added FIXME for suspect code
6749
6750 2002-11-07  John Levon  <levon@movementarian.org>
6751
6752         * BufferView_pimpl.C: fix redrawing of insets
6753           on buffer switch
6754
6755 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6756
6757         * text2.C (updateCounters): fix bug 668
6758
6759 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6760
6761         * text3.C (dispatch): Do not make the buffer dirty when moving the
6762         cursor.
6763
6764 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6765
6766         * vc-backend.C: STRCONV
6767         (scanMaster): ditto
6768
6769         * text2.C (setCounter): STRCONV
6770
6771         * paragraph.C (asString): STRCONV
6772
6773         * lyxlength.C (asString): STRCONV
6774         (asLatexString): ditto
6775
6776         * lyxgluelength.C (asString): STRCONV
6777         (asLatexString): ditto
6778
6779         * lyxfunc.C (dispatch): STRCONV
6780         (open): ditto
6781
6782         * lyxfont.C (stateText): STRCONV
6783
6784         * importer.C (Import): STRCONV
6785
6786         * counters.C (labelItem): STRCONV
6787         (numberLabel): ditto
6788         (numberLabel): remove unused ostringstream o
6789
6790         * chset.C: STRCONV
6791         (loadFile): ditto
6792
6793         * bufferview_funcs.C (currentState): STRCONV
6794
6795         * buffer.C (readFile): STRCONV
6796         (asciiParagraph): ditto
6797         (makeLaTeXFile): ditto
6798
6799         * Spacing.C (writeEnvirBegin): STRCONV
6800
6801         * LaTeXFeatures.C (getLanguages): STRCONV
6802         (getPackages): ditto
6803         (getMacros): ditto
6804         (getBabelOptions): ditto
6805         (getTClassPreamble): ditto
6806         (getLyXSGMLEntities): ditto
6807         (getIncludedFiles): ditto
6808
6809         * LaTeX.C: STRCONV
6810         (run): ditto
6811         (scanAuxFile): ditto
6812         (deplog): ditto
6813
6814         * LString.h: add the STRCONV macros
6815
6816         * BufferView_pimpl.C (savePosition): STRCONV
6817         (restorePosition): ditto
6818         (MenuInsertLyXFile): ditto
6819
6820         * vc-backend.C (scanMaster): change from submatch[...] to
6821         submatch.str(...)
6822
6823         * funcrequest.C: include config.h
6824
6825         * factory.C: include config.h
6826
6827         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6828
6829         * box.C: include config.h
6830
6831         * LaTeX.C (scanAuxFile): change from submatch[...] to
6832         submatch.str(...)
6833         (deplog): ditto
6834
6835 2002-10-25  Angus Leeming  <leeming@lyx.org>
6836
6837         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6838
6839         * ispell.[Ch] (setError): new method.
6840         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6841         Use setError() insetead of goto END.
6842
6843         * lyx_cb.C (AutoSave): move out child process into new class
6844         AutoSaveBuffer.
6845
6846 2002-10-30  John Levon  <levon@movementarian.org>
6847
6848         * text3.C: make start appendix undoable
6849
6850 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6851
6852         * lyxlength.C (inPixels): Fix returned value.
6853
6854         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6855         environment.
6856
6857 2002-10-24  Angus Leeming  <leeming@lyx.org>
6858
6859         * lyxgluelength.h: no need to forward declare BufferParams
6860         or BufferView, so don't.
6861
6862 2002-10-21  John Levon  <levon@movementarian.org>
6863
6864         * BufferView.C: menuUndo ->undo, redo
6865
6866         * BufferView.h: document, remove dead, make some methods private
6867
6868         * paragraph_funcs.h:
6869         * paragraph_funcs.C:
6870         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6871
6872         * buffer.h:
6873         * buffer.C:
6874         * sgml.h:
6875         * sgml.C: move sgml open/close tag into sgml.C
6876
6877         * bufferview_funcs.h: unused prototype
6878
6879         * lyxfunc.h:
6880         * lyxfunc.C: remove unused
6881
6882         * lyxtext.h:
6883         * text.C: remove unused
6884
6885 2002-10-21  John Levon  <levon@movementarian.org>
6886
6887         * BufferView.h:
6888         * BufferView.C:
6889         * BufferView_pimpl.h:
6890         * BufferView_pimpl.C: fix mouse wheel handling based on
6891           patch from Darren Freeman
6892
6893 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6894
6895         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6896
6897 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6898
6899         * lyxlength.C (inPixels): Fix hanfling of negative length.
6900         Fix LyXLength::MU case.
6901
6902 2002-10-16  John Levon  <levon@movementarian.org>
6903
6904         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6905
6906 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6907
6908         * converter.C (view): add support for $$i (file name) and $$p
6909         (file path) for the viewer command. If $$i is not specified, then
6910         it is appended to the command (for compatibility with old syntax)
6911
6912 2002-10-14  Juergen Vigna  <jug@sad.it>
6913
6914         * undo_funcs.C (textHandleUndo): alter the order in which the
6915         new undopar is added to the LyXText, as we have to set first
6916         the right prev/next and then add it as otherwise the rebuild of
6917         LyXText is not correct. Also reset the cursor to the right paragraph,
6918         with this IMO we could remove the hack in "redoParagraphs()".
6919
6920 2002-10-09  Angus Leeming  <leeming@lyx.org>
6921
6922         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6923         to turn off an optimisation if a new inset is to be inserted.
6924
6925 2002-10-11 André Pönitz <poenitz@gmx.net>
6926
6927         * lyxtext.h: make some functions public to allow access
6928         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6929
6930 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6931
6932         * text3.C (dispatch): when changing layout, avoid an infinite loop
6933         [bug #652]
6934
6935 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6936
6937         * lyxrc.C (read): treat a viewer or converter command of "none" as
6938         if it were empty.
6939
6940         * MenuBackend.C (expandFormats): for an update, also allow the
6941         formats that are not viewable
6942
6943         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6944         script if it is newer than the lyxrc.defaults in user directory
6945
6946 2002-10-07 André Pönitz <poenitz@gmx.net>
6947
6948         * text.C: Vitaly Lipatov's small i18n fix
6949
6950 2002-09-25  Angus Leeming  <leeming@lyx.org>
6951
6952         * ispell.h: doxygen fix.
6953
6954 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6955
6956         * buffer.h (readFile): Add a new argument to the method, to allow
6957         reading of old-format templates.
6958
6959 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6960
6961         * toc.C (getTocList): Get TOC from InsetWrap.
6962
6963 2002-09-16  John Levon  <levon@movementarian.org>
6964
6965         * lyxfunc.C: check tabular for cut/copy too
6966
6967 2002-09-12  John Levon  <levon@movementarian.org>
6968
6969         * LyXAction.C: tidy
6970
6971         * factory.h:
6972         * factory.C: add header
6973
6974         * paragraph_funcs.h:
6975         * paragraph_funcs.C: cleanup
6976
6977 2002-09-11  John Levon  <levon@movementarian.org>
6978
6979         * PrinterParams.h: odd/even default to true
6980
6981 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6982
6983         * PrinterParams.h: update printer parameters for new xforms dialog
6984
6985 2002-09-11  Angus Leeming  <leeming@lyx.org>
6986
6987         * lyxserver.C (read_ready): re-write to make it more transparent
6988         and to make it work in coherent fashion under Tru64 Unix.
6989
6990 2002-09-11  André Pönitz <poenitz@gmx.net>
6991
6992         * commandtags.h:
6993         * LyXAction.C:
6994         * text3.C: implement LFUN_WORDSEL
6995
6996 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6997
6998         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6999         make floatlist_ a boost::shared_ptr<FloatList>
7000
7001         * lyxtextclass.C: include FloatList.h
7002         (LyXTextClass): initialize floatlist_
7003         (TextClassTags): add TC_NOFLOAT
7004         (Read): match "nofloat" to TC_NOFLOAT and use it.
7005         (readFloat): modify call to floatlist_
7006         (floats): ditto
7007         (floats): ditto
7008
7009         * FloatList.[Ch] (FloatList): remove commented out float
7010         initialization.
7011         (erase): new function
7012
7013 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7014
7015         * MenuBackend.C (expandToc): fix crash when there is no document
7016         open
7017
7018 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7019
7020         * many files: Add insetwrap.
7021
7022 2002-09-09  John Levon  <levon@movementarian.org>
7023
7024         * text2.C: remove confusing and awkward depth wraparound
7025
7026 2002-09-09  John Levon  <levon@movementarian.org>
7027
7028         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7029
7030         * buffer.h:
7031         * buffer.C: remove getIncludeonlyList()
7032
7033         * paragraph.C:
7034         * lyxfunc.C: remove headers
7035
7036 2002-09-09  Juergen Vigna  <jug@sad.it>
7037
7038         * text.C (getColumnNearX): fix form Michael this is most
7039         probably a cut&paste bug.
7040
7041 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7042
7043         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7044
7045         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7046         references, ws changes.
7047
7048         * text2.C (init): update counters after init
7049         (insertParagraph): no need to set counter on idividual paragraphs.
7050         (setCounter): access the counters object in the textclass object
7051         on in the buffer object.
7052         (updateCounters): ditto
7053
7054         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7055         shared_ptr<Counters> to avoid loading counters.h in all
7056         compilation units.
7057         (LyXTextClass): initialize ctrs_
7058         (TextClassTags): add TC_COUNTER, and ...
7059         (Read): use it here.
7060         (CounterTags): new tags
7061         (readCounter): new function
7062         (counters): new funtion
7063         (defaultLayoutName): return a const reference
7064
7065         * counters.C (Counters): remove contructor
7066         (newCounter): remove a couple of unneeded statements.
7067         (newCounter): simplify a bit.
7068         (numberLabel): some small formatting changes.
7069
7070         * buffer.[Ch]: remove all traces of counters, move the Counters
7071         object to the LyXTextClass.
7072
7073 2002-09-06  Alain Castera  <castera@in2p3.fr>
7074
7075         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7076         package to set the horizontal alignment on fixed width columns.
7077
7078         * lyx_sty.C:
7079         * lyx_sty.h: added tabularnewline macro def.
7080
7081         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7082
7083 2002-09-06  John Levon  <levon@movementarian.org>
7084
7085         * LyXAction.C: tooltips for sub/superscript
7086
7087         * MenuBackend.C: a bit more verbose
7088
7089         * lyxfunc.C: tiny clean
7090
7091         * undo_funcs.C: document undo_frozen
7092
7093 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7094
7095         * counters.C (Counters): add missing algorithm counter.
7096
7097         * text2.C (setCounter): lookup the counter with layouts latexname
7098         instead of by section number.
7099         (setCounter): use a hackish way to lookup the correct enum
7100         counter.
7101         a float name->type change
7102         reset enum couners with counter name directly instead of depth value.
7103
7104         * counters.C (Counters): remove the push_backs, change to use the
7105         float type not the float name.
7106         (labelItem): remove unused string, float name->type change
7107
7108         * counters.h: don't include vector, loose the enums and sects vectors
7109
7110 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7111
7112         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7113         (Read): add float->TC_FLOAT to textclassTags
7114         (Read): and handle it in the switch
7115         (readFloat): new function
7116
7117         * FloatList.C (FloatList): comment out the hardcoded float
7118         definitions.
7119
7120         * lyxlayout.h: ws change.
7121
7122 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7123
7124         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7125
7126 2002-09-03  Angus Leeming  <leeming@lyx.org>
7127
7128         * BufferView_pimpl.h: qualified name is not allowed in member
7129         declaration: WorkArea & Pimpl::workarea() const;
7130
7131         * factory.C: added using std::endl directive.
7132
7133         * text3.C: added using std::find and std::vector directives.
7134
7135 2002-08-29  André Pönitz <poenitz@gmx.net>
7136
7137         * lyxtext.h:
7138         * text2.C: remove unused member number_of_rows
7139
7140         * Makefile.am:
7141         * BufferView2.C: remove file, move contents to...
7142         * BufferView.C: ... here
7143
7144         * BufferView_pimpl.C:
7145         * factory.C: move more inset creation to factory
7146
7147         * vspace.C: avoid direct usage of LyXText, ws changes
7148
7149         * BufferView.[Ch]:
7150                 don't provide direct access to WorkArea, use two simple
7151                 acessors haveSelction() and workHeight() instead
7152
7153
7154 2002-08-29  John Levon  <levon@movementarian.org>
7155
7156         * BufferView_pimpl.C (dispatch): do not continue when
7157           no buffer
7158
7159 2002-08-28  André Pönitz <poenitz@gmx.net>
7160
7161         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7162
7163         * BufferView.h:
7164         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7165
7166 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7167
7168         * buffer.C: increment LYX_FORMAT to 221
7169
7170         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7171         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7172
7173         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7174
7175         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7176
7177 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7178
7179         * factory.C (createInset): use LyXTextClass::floats
7180
7181         * MenuBackend.C (expandFloatListInsert):
7182         (expandFloatInsert):
7183         (expandToc):
7184
7185         * text2.C (setCounter):
7186
7187         * LaTeXFeatures.C (useFloat):
7188         (getFloatDefinitions):
7189
7190         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7191
7192         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7193         floatlist_, with accessor floats().
7194
7195         * FloatList.h: remove global FloatList
7196
7197 2002-08-26  André Pönitz <poenitz@gmx.net>
7198
7199         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7200
7201         * BufferView.h:
7202         * BufferView2.C:
7203         * BufferView_pimpl.C:
7204         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7205
7206 2002-08-25  John Levon  <levon@movementarian.org>
7207
7208         * LyXAction.C: fix margin note description
7209
7210 2002-08-24  John Levon  <levon@movementarian.org>
7211
7212         * buffer.C:
7213         * bufferlist.C:
7214         * bufferview_funcs.C:
7215         * lyxfont.C:
7216         * undo_funcs.C: cleanups
7217
7218         * lyxfunc.C: disable CUT/COPY when no selection
7219
7220 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7221
7222         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7223         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7224
7225         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7226         Add backward compatibility to "mono", "gray" and "no".
7227
7228 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7229
7230         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7231         (and file_format >= 200).
7232
7233 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7234
7235         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7236
7237 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7238
7239         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7240
7241 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7242
7243         * BufferView_pimpl.C:
7244         * LyXAction.C:
7245         * buffer.C:
7246         * commandtags.h:
7247         * lyxfunc.C:
7248         * paragraph.[Ch]:
7249         * text2.C:
7250         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7251         inset and code to make it  work with the paragraph code. The inset
7252         can be anywhere in the paragraph, but will only do the expected
7253         thing in LaTeX if the layout file contains the parameter line
7254                         OptionalArgs    1
7255         (or more generally, a nonzero value) for that layout.
7256
7257 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7258
7259         * paragraph.h: remove the declaration of undefined counters class
7260         function.
7261
7262 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7263
7264         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7265         Dr. Richard Hawkins.
7266
7267 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7268
7269         * paragraph_funcs.h: remove some unneeded includes
7270
7271         * text.C (backspace): pasteParagraph now in global scipe
7272
7273         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7274         (pasteSelection): ditto
7275
7276         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7277         * paragraph_funcs.C (pasteParagraph): ... here
7278
7279 2002-08-20  André Pönitz <poenitz@gmx.net>
7280
7281         * commandtags.h: new LFUNs for swapping/copying table row/colums
7282
7283         * LyXAction.C:
7284         * lyxfunc.C: support for new lfuns
7285
7286 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7287
7288         * tabular.C:
7289         * buffer.[Ch]: remove NO_COMPABILITY stuff
7290
7291 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7292
7293         * boost.C (throw_exception): new file, with helper function for
7294         boost compiled without exceptions.
7295
7296         * paragraph.h:
7297         * lyxlength.C:
7298         * buffer.C:
7299         * ParameterStruct.h:
7300         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7301
7302         * bufferlist.C (emergencyWriteAll): use boost bind
7303
7304         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7305
7306         * text.C: include paragraph_funcs.h
7307         (breakParagraph): breakParagraph is now in global scope
7308
7309         * paragraph_funcs.[Ch]: new files
7310
7311         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7312         global scope
7313
7314         * buffer.C: include paragraph_funcs.h
7315         (insertStringAsLines): breakParagraph is now in global scope
7316
7317         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7318         paragraph_funcs.C
7319
7320         * CutAndPaste.C: include paragraph_funcs.h
7321         (cutSelection): breakParagraphConservative is now in global scope
7322         (pasteSelection): ditto
7323
7324         * buffer.h: declare oprator== and operator!= for
7325         Buffer::inset_iterator
7326
7327         * bufferlist.C (emergencyWrite): don't use fmt(...)
7328
7329         * text3.C: add using std::endl
7330
7331         * BufferView.C (moveCursorUpdate): remove default arg
7332
7333 2002-08-20  André Pönitz <poenitz@gmx.net>
7334
7335         * buffer.[Ch]: move inline functions to .C
7336
7337         * BufferView2.C:
7338         * BufferView_pimpl.C:
7339         * text.C:
7340         * buffer.[Ch]: use improved inset_iterator
7341
7342         * buffer.C:
7343         * paragraph.[Ch]: write one paragraph at a time
7344
7345 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7346
7347         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7348         style if style is not specified.
7349
7350 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7351
7352         * text2.C (setCounter): when searching for right label for a
7353         caption, make sure to recurse to parent insets (so that a caption
7354         in a minipage in a figure float works) (bug #568)
7355
7356 2002-08-20  André Pönitz <poenitz@gmx.net>
7357
7358         * text3.C: new file for LyXText::dispatch() and helpers
7359
7360         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7361
7362         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7363
7364 2002-08-19  André Pönitz <poenitz@gmx.net>
7365
7366         * lyxtext.h:
7367         * text.C: new LyXText::dispatch()
7368
7369         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7370
7371 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7372
7373         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7374
7375         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7376         Hebrew text.
7377
7378 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7379
7380         * Makefile.am: use $(variables) instead of @substitutions@
7381
7382 2002-08-15  André Pönitz <poenitz@gmx.net>
7383
7384         * lyxfunc.C:
7385         * BufferView_pimpl.C: streamlining mathed <-> outer world
7386         interaction
7387
7388         * commandtags.h:
7389         * LyXAction.C: remove unused LFUN_MATH
7390
7391 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7392
7393         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7394
7395 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7396
7397         * paragraph.C (Paragraph): reformat a bit
7398         (cutIntoMinibuffer): use builtin InsetList function instad of
7399         doing it manually.
7400         (getInset): ditto
7401
7402         * buffer.C: include boost/bind.hpp, add using std::for_each
7403         (writeFileAscii): use ParagraphList iterators
7404         (validate): use for_each for validate traversal of paragraphs
7405         (getBibkeyList): use ParagraphList iterators
7406         (resizeInsets): use for_each to resizeInsetsLyXText for all
7407         paragraphs.
7408         (getParFromID): use ParagraphList iterators
7409
7410         * BufferView2.C (lockInset): use paragraph list and iterators
7411
7412 2002-08-14  John Levon  <levon@movementarian.org>
7413
7414         * lyxserver.C: remove spurious xforms include
7415
7416 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7417
7418         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7419
7420 2002-08-13  André Pönitz <poenitz@gmx.net>
7421
7422         * LyXAction.[Ch]:
7423         * lyxfunc.C: further cleaning
7424
7425 2002-08-13  André Pönitz <poenitz@gmx.net>
7426
7427         * funcrequest.h: new constructor
7428
7429         * funcrequest.C: move stuff here from .h
7430
7431         * Makefile.am:
7432         * BufferView_pimpl.C:
7433         * LyXAction.C:
7434         * toc.C:
7435         * lyxfunc.C: subsequent changes
7436
7437         * lyxfunc.h: new view() member function
7438
7439         * lyxfunc.C: subsequent changes
7440
7441 2002-08-13  Angus Leeming  <leeming@lyx.org>
7442
7443         * BufferView2.C:
7444         * BufferView_pimpl.C:
7445         * buffer.C:
7446         * converter.C:
7447         * importer.C:
7448         * lyxfunc.C:
7449         * lyxvc.C:
7450         * toc.C:
7451         * vc-backend.C:
7452         changes due to the changed LyXView interface that now returns references
7453         to member variables not pointers.
7454
7455 2002-08-13  Angus Leeming  <leeming@lyx.org>
7456
7457         * WordLangTuple (word, lang_code): return references to strings,
7458         not strings.
7459
7460         * BufferView.h:
7461         * SpellBase.h:
7462         * lyxtext.h: forward-declare WordLangTuple.
7463
7464         * BufferView2.C:
7465         * ispell.C:
7466         * pspell.C:
7467         * text.C: #include "WordLangTuple.h".
7468
7469         * lyxtext.h:
7470         * text.C: (selectNextWordToSpellcheck): constify return type.
7471
7472 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7473
7474         * buffer.C:
7475         * buffer.h:
7476         * lyxtext.h:
7477         * paragraph.C:
7478         * paragraph_pimpl.h:
7479         * text.C:
7480         * text2.C:
7481         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7482         suggested by Angus.
7483         Made updateCounter always count from start of buffer, and removed
7484         second argument (par).
7485         Reverted floats number display to '#'. Perhaps I'll try again when the
7486         code base is sanitized a bit.
7487
7488 2002-08-12  Angus Leeming  <leeming@lyx.org>
7489
7490         * buffer.[Ch] (getLabelList): constify.
7491
7492 2002-08-07  André Pönitz <poenitz@gmx.net>
7493
7494         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7495
7496         * funcrequest.h: extension to keep mouse (x,y) position
7497
7498 2002-08-12  Juergen Vigna  <jug@sad.it>
7499
7500         * BufferView2.C (insertErrors): forbid undo when inserting error
7501         insets.
7502
7503         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7504
7505 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7506
7507         * ParagraphList.[Ch]: new files
7508
7509         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7510
7511         * BufferView2.C (lockInset): ParagraphList changes
7512         * toc.C: ditto
7513         * text2.C: ditto
7514         * bufferlist.C: ditto
7515         * buffer.h: ditto
7516         * buffer.C: ditto
7517
7518 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7519
7520         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7521         unused class variable counter_,
7522
7523         * paragraph.[Ch] (getFirstCounter): delete unused function
7524
7525         * counters.C: include LAssert.h
7526         (reset): add a new function with no arg, change other version to
7527         not have def. arg and to not allow empty arg.
7528
7529         * text2.C (setCounter): remove empty arg from call to Counters::reset
7530
7531 2002-08-11  John Levon  <levon@movementarian.org>
7532
7533         * Makefile.am: add WordLangTuple.h
7534
7535 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7536
7537         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7538         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7539
7540         * insets/insettext.C: InsetList changes
7541
7542         * graphics/GraphicsSupport.C (operator()): InsetList changes
7543
7544         * toc.C (getTocList): InsetList changes
7545
7546         * paragraph_pimpl.[Ch]: InsetList changes
7547
7548         * paragraph.[Ch]: InsetList changes
7549
7550         * buffer.C (inset_iterator): InsetList changes
7551         (setParagraph): ditto
7552         * buffer.h (inset_iterator): ditto
7553         * iterators.C (operator++): ditto
7554         * iterators.h: ditto
7555
7556         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7557
7558         * InsetList.[Ch]: new files, most InsetList handling moved out of
7559         paragraph.C.
7560
7561         * BufferView2.C (removeAutoInsets): InsetList changes
7562         (lockInset): ditto
7563         (ChangeInsets): ditto
7564
7565 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7566
7567         * paragraph_pimpl.h (empty): new function
7568
7569         * paragraph.[Ch] (empty): new function
7570
7571         * other files: use the new Paragraph::empty function
7572
7573 2002-08-09  John Levon  <levon@movementarian.org>
7574
7575         * lyxtext.h: remove unused refresh_height
7576
7577 2002-08-09  John Levon  <levon@movementarian.org>
7578
7579         * Makefile.am:
7580         * sgml.h:
7581         * sgml.C:
7582         * buffer.C:
7583         * paragraph.h:
7584         * paragraph.C: move sgml char escaping out of paragraph
7585
7586         * paragraph.h:
7587         * paragraph.C: remove id setter
7588
7589         * buffer.C:
7590         * paragraph.C:
7591         * paragraph_pimpl.C: remove dead tex_code_break_column
7592
7593         * bufferview_funcs.C: small cleanup
7594
7595         * lyxfunc.C: remove dead proto
7596
7597         * lyxtext.h: make some stuff private. Remove some dead stuff.
7598
7599         * lyxgluelength.C: make as[LyX]String() readable
7600
7601 2002-08-08  John Levon  <levon@movementarian.org>
7602
7603         * LyXAction.h:
7604         * LyXAction.C:
7605         * MenuBackend.C:
7606         * ToolbarDefaults.C:
7607         * lyxfunc.C:
7608         * lyxrc.C:
7609         * toc.C: lyxaction cleanup
7610
7611 2002-08-08  John Levon  <levon@movementarian.org>
7612
7613         * BufferView2.C: small cleanup
7614
7615         * lyxfind.h:
7616         * lyxfind.C: move unnecessary header into the .C
7617
7618 2002-08-08  John Levon  <levon@movementarian.org>
7619
7620         * funcrequest.h: just tedious nonsense
7621
7622         * lyx_main.h:
7623         * lyx_main.C: cleanups
7624
7625         * buffer.C:
7626         * vspace.C: remove dead header lyx_main.h
7627
7628 2002-08-07  Angus Leeming  <leeming@lyx.org>
7629
7630         * Paragraph.[Ch]:
7631         * paragraph_pimpl.h:
7632         Forward declare class Counters in paragraph.h by moving the ctrs member
7633         variable into Paragraph::Pimpl.
7634         (counters): new method, returning a reference to pimpl_->ctrs.
7635
7636         * text2.C: ensuing changes.
7637
7638 2002-08-07  John Levon  <levon@movementarian.org>
7639
7640         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7641
7642         * BufferView_pimpl.C: announce X selection on double/triple
7643           click
7644
7645         * lyx_main.C: use correct bool in batch dispatch
7646
7647         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7648
7649 2002-08-07  André Pönitz <poenitz@gmx.net>
7650
7651         * funcrequest.h: new class to wrap a kb_action and its argument
7652
7653         * BufferView.[Ch]:
7654         * BufferView_pimpl[Ch]:
7655         * LaTeX.C:
7656         * LyXAction.[Ch]:
7657         * lyxfunc.[Ch]:
7658         * lyxrc.C: subsequent changes
7659
7660
7661 2002-08-07  John Levon  <levon@movementarian.org>
7662
7663         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7664           document options change.
7665
7666 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7667
7668         * counters.[Ch]
7669         * text2.C
7670         * paragraph.[Ch]
7671         * makefile.am: move counters functionality over from
7672         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7673
7674 2002-08-06  John Levon  <levon@movementarian.org>
7675
7676         * WordLangTuple.h: new file for word + language code tuple
7677
7678         * SpellBase.h:
7679         * pspell.h:
7680         * pspell.C:
7681         * ispell.h:
7682         * ispell.C:
7683         * lyxtext.h:
7684         * text.C:
7685         * text2.C:
7686         * BufferView.h:
7687         * BufferView2.C: use WordLangTuple
7688
7689         * layout.h:
7690         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7691
7692 2002-08-06  John Levon  <levon@movementarian.org>
7693
7694         * lyx_main.C: fix cmdline batch handling
7695
7696 2002-08-06  André Pönitz <poenitz@gmx.net>
7697
7698         * lyxrc.C: set default for show_banner to true
7699
7700 2002-08-06  John Levon  <levon@movementarian.org>
7701
7702         * pspell.C: fix a crash, and allow new aspell to work
7703
7704 2002-08-06  John Levon  <levon@movementarian.org>
7705
7706         * lyxfunc.C:
7707         * kbmap.C: small cleanup
7708
7709         * vspace.h:
7710         * vspace.C: add const
7711
7712 2002-08-05  John Levon  <levon@movementarian.org>
7713
7714         * LyXAction.C: back to tabular-insert
7715
7716 2002-08-04  John Levon  <levon@movementarian.org>
7717
7718         * BufferView.h:
7719         * BufferView.C: cosmetic change
7720
7721         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7722
7723         * bufferlist.C:
7724         * buffer.h:
7725         * buffer.C:
7726         * lyxcb.h:
7727         * lyxcb.C:
7728         * lyxserver.C:
7729         * lyxvc.C:
7730         * vc-backend.C:
7731         * BufferView2.C: purge all "Lyx" not "LyX" strings
7732
7733         * lyxcursor.h:
7734         * lyxcursor.C: attempt to add some documentation
7735
7736         * lyxfunc.C:
7737         * commandtags.h:
7738         * LyXAction.C:
7739         * ToolbarDefaults.C:
7740         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7741           merge with LFUN_TABULAR_INSERT
7742
7743         * Makefile.am:
7744         * SpellBase.h:
7745         * ispell.h:
7746         * ispell.C:
7747         * pspell.h:
7748         * pspell.C: split up i/pspell implementations into separate
7749           files, many cleanups
7750
7751         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7752
7753         * text2.C: some cleanup
7754
7755         * lyxfunc.C: don't check for isp_command == "none" any more, it
7756           didn't make any sense
7757
7758 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7759
7760         * counters.[Ch]
7761         * text2.C
7762         * paragraph.[Ch]
7763         * makefile.am: move counters functionality over
7764         from text2.C/paragraph.[Ch] to counters.[Ch], and
7765         make proper C++.
7766 2002-08-02  John Levon  <levon@movementarian.org>
7767
7768         * buffer.C: s/lyxconvert/lyx2lyx/
7769
7770 2002-08-02  Angus Leeming  <leeming@lyx.org>
7771
7772         * lyxlex.C: revert John's change as it breaks reading of the user
7773         preamble.
7774
7775 2002-08-02  Angus Leeming  <leeming@lyx.org>
7776
7777         * importer.C (Import):
7778         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7779         changes due to LyXView::view() now returning a boost::shared_ptr.
7780
7781 2002-08-02  John Levon  <levon@movementarian.org>
7782
7783         * lyxlex.C: small cleanup
7784
7785 2002-08-02  John Levon  <levon@movementarian.org>
7786
7787         * text2.C (status): small cleanup, no logic change
7788
7789 2002-08-01  John Levon  <levon@movementarian.org>
7790
7791         * buffer.h:
7792         * buffer.C (writeFile): don't output alerts, caller
7793           handles this
7794
7795         * bufferlist.C:
7796         * lyx_cb.C: from above
7797
7798         * lyxfunc.C: allow to open non-existent files
7799
7800 2002-07-31  John Levon  <levon@movementarian.org>
7801
7802         * lyxserver.C: don't let incidental errors get
7803           in the way (errno)
7804
7805 2002-07-30  John Levon  <levon@movementarian.org>
7806
7807         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7808
7809 2002-07-30  John Levon  <levon@movementarian.org>
7810
7811         * lyxserver.h:
7812         * lyxserver.C: remove I/O callback too
7813
7814 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7815
7816         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7817         log.
7818
7819 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7820
7821         * many files: strip,frontStrip -> trim,ltrim,rtrim
7822
7823 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7824
7825         * PrinterParams.h: remove extern containsOnly, and include
7826         support/lstrings.h instead.
7827
7828         * LaTeX.C (scanAuxFile): modify because of strip changes
7829         (deplog): ditto
7830         * buffer.C (makeLaTeXFile): ditto
7831         * bufferparams.C (writeFile): ditt
7832         * lyxfont.C (stateText): ditto
7833         * lyxserver.C (read_ready): ditto
7834         * vc-backend.C (scanMaster): ditto
7835
7836         * BufferView_pimpl.h: ws changes
7837
7838         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7839
7840 2002-07-26  André Pönitz <poenitz@gmx.net>
7841
7842         * kb_sequence.C: remove unnedred usings
7843
7844 2002-07-26  Juergen Vigna  <jug@sad.it>
7845
7846         * lyxfind.C (LyXReplace): we have to check better if the returned
7847         text is not of theLockingInset()->getLockingInset().
7848
7849 2002-07-25  Juergen Vigna  <jug@sad.it>
7850
7851         * lyxfind.C (LyXReplace): don't replace if we don't get the
7852         right LyXText.
7853
7854         * undo_funcs.C (createUndo): remove debugging code.
7855
7856 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7857
7858         * buffer.C (parseSingleLyXformat2Token): Use default placement
7859         when reading old floats.
7860
7861         * FloatList.C (FloatList): Change the default placement of figure
7862         and tables to "tbp".
7863
7864 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7865
7866         * MenuBackend.C: using std::max
7867
7868 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7869
7870         * MenuBackend.C (expandToc):
7871         (expandToc2): code moved from xforms menu frontend. It is now
7872         generic and TOCs are transparent to menu frontends.
7873
7874 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7875
7876         * toc.C (getTocList): protect against buf=0
7877
7878         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7879         Menu as first parameter. Now, this calls itself recursively to
7880         expand a whole tree (this will be useful for TOC handling)
7881         (expandFloatInsert): remove 'wide' version of floats
7882
7883         * MenuBackend.h (submenuname): returns the name of the submenu.
7884         (submenu): returns the submenu itself, provided it has been
7885         created by MenuBackend::expand
7886
7887 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7888
7889         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7890         insets which have noFontChange == true. (bug #172)
7891
7892 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7893
7894         * BufferView_pimpl.C: add connection objects and use them...
7895         (Pimpl): here.
7896
7897 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7898
7899         * MenuBackend.C (expandLastfiles):
7900         (expandDocuments):
7901         (expandFormats):
7902         (expandFloatListInsert):
7903         (expandFloatInsert):
7904         (expand): split expand in parts
7905
7906 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7907
7908         * lyx_gui.C: use lyx_gui::exit()
7909
7910 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7911
7912         * LyXAction.C: show the failing pseudo action
7913
7914 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7915
7916         * buffer.C (readFile): Run the lyxconvert script in order to read
7917         old files.
7918
7919 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7920
7921         * LyXAction.C:
7922         * commandtags.h:
7923         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7924
7925 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7926
7927         * LyXAction.C:
7928         * commandtags.h:
7929         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7930
7931 2002-07-22  Herbert Voss  <voss@lyx.org>
7932
7933         * lengthcommon.C:
7934         * lyxlength.[Ch]: add support for the vertical lengths
7935
7936 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7937
7938         * toc.[Ch]: std:: fixes
7939
7940 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7941
7942         * lyxrc.C: do not include lyx_main.h
7943
7944         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7945         for layouts
7946
7947         * lyxrc.C:
7948         * encoding.C:
7949         * bufferlist.C:
7950         * BufferView2.C: include "lyxlex.h"
7951
7952         * tabular.h:
7953         * bufferparams.h: do not #include "lyxlex.h"
7954
7955         * lyxtextclasslist.C (Add): remove method
7956         (classlist): renamed to classlist_
7957
7958         * paragraph_pimpl.C:
7959         * paragraph.C:
7960         * text2.C:
7961         * CutAndPaste.C:
7962         * bufferview_funcs.C:
7963         * bufferlist.C:
7964         * text.C:
7965         * LaTeXFeatures.C:
7966         * buffer.C:
7967         * toc.C (getTocList): use BufferParams::getLyXTextClass
7968
7969         * toc.C (getTocList): use InsetFloat::addToToc
7970
7971         * toc.[Ch]: new files, containing helper functions to handle table
7972         of contents
7973
7974         * lyxfunc.C (dispatch): no need to remove spaces around command
7975         given as a string
7976         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7977         first command of the sequence; it is not very clever, but I do not
7978         have a better idea, actually
7979
7980         * LyXAction.C (LookupFunc): make sure to remove space at the
7981         beginning and end of the command
7982
7983 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7984
7985         * MenuBackend.C (getMenubar): new method: return the menubar of
7986         this menu set
7987         (read): treat differently reading of menu and menubar (in
7988         particular, the menubar has no name now)
7989         (Menu::menubar): remove
7990
7991         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7992         saving is finished
7993
7994 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7995
7996         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7997         a bibitem inset in a RTL paragraph.
7998
7999 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8000
8001         * paragraph_pimpl.C: constify
8002
8003         * BufferView_pimpl.C:
8004         * LaTeX.C:
8005         * lyxfunc.C: fix dispatch in a nicer way
8006
8007 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8008
8009         * lyxfunc.C (dispatch):
8010         * BufferView_pimpl.C:
8011         * BufferView_pimpl.h:
8012         * BufferView.C:
8013         * BufferView.h: rename Dispatch() to dispatch()
8014
8015         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8016
8017         * lyxlayout.C (Read): honor DependsOn tag
8018
8019         * lyxlayout.[Ch] (depends_on): new method
8020
8021         * version.C.in: update lyx_docversion
8022
8023         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8024
8025         * paragraph.C (validate): remove from here...
8026         * paragraph_pimpl.C (validate): ... and move here
8027         (isTextAt): make it const
8028
8029         * buffer.C (getLists): ws cleanup
8030
8031 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8032
8033         * language.C (read): Use iso8859-1 encoding in latex_lang
8034         (this prevents LyX from crashing when using iso10646-1 encoding).
8035
8036 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8037
8038         * text2.C (toggleInset): if cursor is inside an inset, close the
8039         inset and leave cursor _after_ it
8040
8041 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8042
8043         * lyxfunc.C: move minibuffer completion handling out of here
8044
8045 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8046
8047         * BufferView_pimpl.C:
8048         * LaTeX.C: fix dispatch calls
8049
8050 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8051
8052         * text.C (drawChars): Fix Arabic text rendering.
8053
8054 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8055
8056         * LyXAction.C:
8057         * commandtags.h:
8058         * lyxfunc.C: remove message-push/pop
8059
8060         * lyxserver.C:
8061         * lyxfunc.h:
8062         * lyxfunc.C: rationalise some code by removing verboseDispatch
8063           in favour of a bool argument to dispatch()
8064
8065 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8066
8067         * lyx_main.C (init): make sure to read symlinks as absolute paths
8068
8069 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8070
8071         * lyxfunc.h:
8072         * lyxfunc.C: no need for commandshortcut to be a member
8073
8074 2002-07-15  André Pönitz <poenitz@gmx.net>
8075
8076         * converter.C: add support for $$s (scripts from lib/scripts dir)
8077         * lyx_main.C: white space
8078
8079 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8080
8081         * bufferlist.C:
8082         * lyxrc.h:
8083         * lyxrc.C: remove second exit confirmation
8084
8085 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8086
8087         * BufferView.h:
8088         * BufferView.C:
8089         * BufferView2.C:
8090         * BufferView_pimpl.h:
8091         * BufferView_pimpl.C:
8092         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8093
8094 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8095
8096         * MenuBackend.C (expand): add numeric shortcuts to document menu
8097
8098         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8099
8100 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8101
8102         * lyxfont.C (setLyXFamily):
8103         (setLyXSeries):
8104         (setLyXShape):
8105         (setLyXSize):
8106         (setLyXMisc):
8107         (lyxRead):
8108         * debug.C (value):
8109         * buffer.C (asciiParagraph): use ascii_lowercase
8110
8111 2002-07-15  Mike Fabian  <mfabian@suse.de>
8112
8113         * lyxlex_pimpl.C (search_kw):
8114         * lyxlex.C (getLongString):
8115         * converter.h (operator<):
8116         * converter.C (operator<):
8117         * buffer.C (parseSingleLyXformat2Token):
8118         (asciiParagraph):
8119         * ToolbarDefaults.C (read):
8120         * MenuBackend.C (checkShortcuts):
8121         (read):
8122         * LColor.C (getFromGUIName):
8123         (getFromLyXName): use the compare_ascii_no_case instead of
8124         compare_no_case, because in turkish, 'i' is not the lowercase
8125         version of 'I', and thus turkish locale breaks parsing of tags.
8126
8127 2002-07-16  Angus Leeming  <leeming@lyx.org>
8128
8129         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8130         now takes a Buffer const & argument.
8131
8132 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8133
8134         * BufferView.C (resize): check there's a buffer to resize
8135
8136 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8137
8138         * lyxfunc.C: remove dead code
8139
8140         * lyxserver.h:
8141         * lyxserver.C: use lyx_guii::set_read_callback
8142
8143 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8144
8145         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8146         an inset in a RTL paragraph.
8147
8148 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8149
8150         * lyxfunc.C: repaint after a font size update
8151
8152 2002-07-15  André Pönitz <poenitz@gmx.net>
8153
8154         * lyxlength.C: inBP should be able to return negative values
8155
8156 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8157
8158         * lyxfunc.C: use lyx_gui::update_fonts()
8159
8160 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8161
8162         * lyxfunc.C: use lyx_gui::update_color()
8163
8164 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8165
8166         * bufferlist.C:
8167         * lyxfunc.h:
8168         * lyxfunc.C:
8169         * lyxrc.h:
8170         * lyxrc.C: remove file->new asks for name option, and let
8171           buffer-new take an argument
8172
8173 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8174
8175         * BufferView_pimpl.C: remove unneeded extra repaint()
8176
8177 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8178
8179         * LyXAction.C: allow command-sequence with NoBuffer
8180
8181         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8182
8183 2002-07-10  Angus Leeming  <leeming@lyx.org>
8184
8185         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8186
8187 2002-07-09  Angus Leeming  <leeming@lyx.org>
8188
8189         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8190
8191 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8192
8193         * lengthcommon.h: whitespace
8194
8195         * lyxfunc.C: update scrollbar after goto paragraph
8196
8197         * lyxtext.h: factor out page break drawing, and fix it so
8198           page break/added space paints as selected nicely
8199
8200 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8201
8202         * BufferView_pimpl.C: add FIXMEs, clean up a little
8203
8204 2002-07-09  André Pönitz <poenitz@gmx.net>
8205
8206         * lyxfont.[Ch]: support for wasy symbols
8207
8208 2002-07-08  André Pönitz <poenitz@gmx.net>
8209
8210         * BufferView_pimpl.C: apply John's patch for #93.
8211
8212 2002-07-05  Angus Leeming  <leeming@lyx.org>
8213
8214         * BufferView_pimpl.C (buffer): generate previews if desired.
8215
8216         * LColor.h: add "preview" to the color enum.
8217
8218         * LColor.C (LColor): add a corresponding entry to the items array.
8219
8220         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8221         with this buffer.
8222
8223 2002-07-05  Angus Leeming  <leeming@lyx.org>
8224
8225         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8226         The body of the code is now in the method that is passed an ostream &
8227         rather than a file name.
8228         Pass an additional only_preamble parameter, useful for the forthcoming
8229         preview stuff.
8230
8231 2002-07-03  André Pönitz <poenitz@gmx.net>
8232
8233         * lyxfunc.C: simplify getStatus() a bit for math stuff
8234
8235 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8236
8237         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8238
8239 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8240
8241         * text.C (changeRegionCase): do not change case of all the
8242         document when region ends at paragraph end (bug #461)
8243
8244 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8245
8246         * paragraph.C (startTeXParParams):
8247         (endTeXParParams): add \protect when necessary
8248
8249 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8250
8251         * BufferView_pimpl.C (workAreaExpose): remove warning
8252
8253 2002-06-27  Angus Leeming  <leeming@lyx.org>
8254
8255         * Makefile.am: add lyxlayout_ptr_fwd.h.
8256
8257 2002-06-26  André Pönitz <poenitz@gmx.net>
8258
8259         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8260
8261 2002-06-25  Angus Leeming  <leeming@lyx.org>
8262
8263         * lyxfunc.C (dispatch): Comment out the call to
8264         grfx::GCache::changeDisplay. The method no longer exists now that the
8265         pixmap generation part of the graphics loader has been moved into
8266         InsetGraphics.
8267
8268 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8269
8270         * text2.C: layout as layout
8271
8272         * text.C: layout as layout
8273
8274         * tabular.C (OldFormatRead): layout as layout
8275
8276         * paragraph_pimpl.C (TeXDeeper): layout as layout
8277         (realizeFont): layout as layout
8278
8279         * paragraph.C (writeFile): layout as layout
8280         (validate): layout as layout
8281         (getFont): layout as layout
8282         (getLabelFont): layout as layout
8283         (getLayoutFont): layout as layout
8284         (breakParagraph): layout as layout
8285         (stripLeadingSpaces): layout as layout
8286         (getEndLabel): layout as layout
8287         (getMaxDepthAfter): layout as layout
8288         (applyLayout): layout as layout
8289         (TeXOnePar): layout as layout
8290         (simpleTeXOnePar): layout as layout
8291         (TeXEnvironment): layout as layout
8292         (layout): layout as layout
8293         (layout): layout as layout
8294
8295         * lyxtextclass.C (compare_name): new functor to work with
8296         shared_ptr, layout as layout
8297         (Read): layout as layout
8298         (hasLayout): layout as layout
8299         (operator): layout as layout
8300         (delete_layout): layout as layout
8301         (defaultLayout): layout as layout
8302
8303         * lyxlayout_ptr_fwd.h: new file
8304
8305         * lyxlayout.C (Read): layout as layout
8306
8307         * lyx_cb.C (MenuInsertLabel): layout as layout
8308
8309         * bufferlist.C (newFile): layout as layout
8310
8311         * buffer.C (readLyXformat2): layout as layout
8312         (parseSingleLyXformat2Token): layout as layout
8313         (insertStringAsLines): layout as layout
8314         (asciiParagraph): layout as layout
8315         (latexParagraphs): layout as layout
8316         (makeLinuxDocFile): layout as layout
8317         (simpleLinuxDocOnePar): layout as layout
8318         (makeDocBookFile): layout as layout
8319         (simpleDocBookOnePar): layout as layout
8320         (getLists): layout as layout
8321
8322         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8323
8324         * CutAndPaste.C (cutSelection): layout as layout
8325         (pasteSelection): layout as layout
8326         (SwitchLayoutsBetweenClasses): layout as layout
8327
8328         * BufferView_pimpl.C (Dispatch): layout as layout
8329         (smartQuote): layout as layout
8330
8331         * BufferView2.C (unlockInset): layout as layout
8332
8333 2002-06-24  André Pönitz <poenitz@gmx.net>
8334
8335         * lyxfunc.C: fix #487
8336
8337 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8338
8339         * lyxrc.h:
8340         * lyxrc.C:
8341         * lyxfunc.C: remove display_shortcuts, show_banner
8342
8343 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8344
8345         * Buffer_pimpl.C: oops, update on resize
8346
8347 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8348
8349         * buffer.C:
8350         * converter.C:
8351         * exporter.C:
8352         * lyxfunc.C:
8353         * BufferView.h:
8354         * BufferView.C: use repaint()
8355
8356         * BufferView_pimpl.h:
8357         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8358           as it's a clearer description. Remove superfluous
8359           redraws.
8360
8361 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8362
8363         * text.C: fix bug 488. Not ideal, but getting
8364           getWord() to work properly for the insets that
8365           matter is more difficult ...
8366
8367 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8368
8369         * BufferView_pimpl.C:
8370         * LyXAction.C:
8371         * commandtags.h:
8372         * lyxfunc.C: remove the six million index lyxfuncs to just
8373           one, and DTRT (bug 458)
8374
8375 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8376
8377         * BufferView.h:
8378         * BufferView.C:
8379         * BufferView_pimpl.h:
8380         * BufferView_pimpl.C: clean up resize() stuff,
8381           and unnecessary updateScreen()s
8382
8383 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8384
8385         * BufferView.h:
8386         * BufferView.C:
8387         * BufferView_pimpl.h:
8388         * BufferView_pimpl.C:
8389         * lyxfind.h:
8390         * lyxfind.C:
8391         * minibuffer.C: remove focus management of workarea,
8392           not needed. Use screen's greyOut()
8393
8394 2002-06-17  Herbert Voss  <voss@lyx.org>
8395
8396         * converter.C: (convert) do not post a message, when converting
8397         fails, let the calling function decide what to do in this case
8398
8399 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8400
8401         * lyxfunc.C: tidy up a little
8402
8403 2002-06-16    <alstrup@diku.dk>
8404
8405         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8406         Got rid of FORMS_H_LOCATION include. Now we are
8407         GUII.
8408
8409 2002-06-15  LyX Development team  <lyx@rilke>
8410
8411         * buffer.[Ch] (sgmlOpenTag):
8412         (sgmlCloseTag): Added support for avoiding pernicious mixed
8413         content. Return number of lines written.
8414
8415         (makeLinuxDocFile):
8416         (makeDocBookFile): Fixed calls to sgml*Tag.
8417         Simple white space clean.
8418
8419         (simpleDocBookOnePar): Simple white space clean.
8420
8421         * tabular.[Ch] (docBook): Renamed to docbook and got another
8422         argument to related with the pernicious mixed content.
8423
8424         (docbookRow): Fixed calls for docbook inset method.
8425
8426 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8427
8428         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8429         so it's X11 independent.
8430
8431         * kb*.[Ch]: ditto.
8432
8433         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8434
8435 2002-06-15  Lyx Development team  <lyx@electronia>
8436
8437         * intl.h: Renamed getTrans to getTransManager.
8438
8439 2002-06-14  Angus Leeming  <leeming@lyx.org>
8440
8441         * Makefile.am: nuke forgotten stl_string_fwd.h.
8442
8443 2002-06-12  Angus Leeming  <leeming@lyx.org>
8444
8445         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8446
8447 2002-06-13  Angus Leeming  <leeming@lyx.org>
8448
8449         * LaTeX.C:
8450         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8451
8452 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8453
8454         * kbmap.C (getiso): add support for cyrillic and greek
8455
8456 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8457
8458         * BufferView.h:
8459         * BufferView.C:
8460         * BufferView_pimpl.h:
8461         * BufferView_pimpl.C: move bogus scrolling logic
8462           to xforms
8463
8464 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8465
8466         * lyxfunc.C:
8467         * BufferView_pimpl.C: view->resize() change
8468
8469 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8470
8471         * BufferView_pimpl.C: topCursorVisible
8472           prototype change
8473
8474 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8475
8476         * Makefile.am:
8477         * lyx_gui.h:
8478         * lyx_gui.C: move to frontends/
8479
8480         * main.C:
8481         * lyx_main.h:
8482         * lyx_main.C: changes from above
8483
8484 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8485
8486         * intl.C:
8487         * intl.h:
8488         * kbmap.C:
8489         * kbsequence.C:
8490         * lyx_cb.C:
8491         * lyx_main.C: minor tidy
8492
8493 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8494
8495         * BufferView_pimpl.h:
8496         * BufferView_pimpl.C:
8497         * BufferView.h:
8498         * BufferView.C: make painter() const,
8499           remove dead code
8500
8501         * BufferView2.C: use screen() accessor
8502
8503         * lyx_main.h:
8504         * lyx_main.C: some minor cleanup
8505
8506 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8507
8508         * BufferView_pimpl.h:
8509         * BufferView_pimpl.C: remove enter/leaveView,
8510           use workHeight()
8511
8512 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8513
8514         * BufferView.h:
8515         * BufferView.C:
8516         * BufferView2.C:
8517         * BufferView_pimpl.h:
8518         * BufferView_pimpl.C: only construct screen once,
8519           rename
8520
8521         * lyxrc.C: remove pointless comment
8522
8523 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8524
8525         * BufferView.h:
8526         * BufferView.C: remove active() and belowMouse()
8527
8528         * BufferView_pimpl.h:
8529         * BufferView_pimpl.C: use workarea() not workarea_,
8530           and make it use a scoped_ptr instead
8531
8532 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8533
8534         * lyx_gui.C: add debug message on BadWindow
8535
8536 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8537
8538         * sp_spell.C: fdopen is not part of the C++ standard.
8539
8540         * paragraph.C (InsetIterator): use >= instead of ==
8541
8542 2002-06-07  Angus Leeming  <leeming@lyx.org>
8543
8544         Fixes needed to compile with Compaq cxx 6.5.
8545         * BufferView_pimpl.C:
8546         * DepTable.C:
8547         * buffer.C:
8548         * converter.C:
8549         * encoding.C:
8550         * lyx_gui.C:
8551         * lyx_main.C:
8552         * lyxtextclasslist.C:
8553         * minibuffer.C:
8554         * sp_spell.C:
8555         * tabular_funcs.C:
8556         * vc-backend.C:
8557         all c-library variables have been moved into namespace std. Wrap
8558         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8559
8560         * lyxlength.C:
8561         * tabular-old.C:
8562         * tabular.C:
8563         Add a using std::abs declaration.
8564
8565         * kbmap.h (modifier_pair):
8566         * paragraph.h (InsetTable, InsetList):
8567         * lyxfont.h (FontBits):
8568         type definition made public.
8569
8570         * bufferlist.C (emergencyWriteAll): the compiler complains that
8571         there is more than one possible lyx::class_fun template to choose from.
8572         I re-named the void specialisation as lyx::void_class_fun.
8573
8574         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8575
8576         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8577         the compiler is is unable to find tostr in write_attribute.
8578
8579 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8580
8581         * buffer.C (sgmlError): hide #warning
8582
8583 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8584
8585         * xtl/*: get rid of xtl, which is not in use anyway
8586
8587         * LyXAction.C (init):
8588         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8589         were unimplemented xtl experimentation
8590
8591 2002-06-04  André Pönitz <poenitz@gmx.net>
8592
8593         * lyxfunc.C: disable array operation on simple formulae
8594
8595 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8596
8597         * converter.C: constify a bit
8598
8599 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8600
8601         * lyx_gui.C: check xforms version correctly
8602
8603 2002-04-30  Herbert Voss  <voss@lyx.org>
8604
8605         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8606         "keep" option
8607
8608 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8609
8610         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8611           attempt to register it with a VCS)
8612
8613 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8614
8615         * lyx_main.C (init): honor variables LYX_DIR_13x and
8616         LYX_USERDIR_13x
8617
8618 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8619
8620         * buffer.h:
8621         * buffer.C:
8622         * lyx_main.C: fix a crash on bad command line,
8623           and give a useful exit status on error
8624
8625         * lyxfunc.C (doImport): allow -i lyx to work
8626
8627 2002-03-30  André Pönitz <poenitz@gmx.net>
8628
8629         * lyxfunc.C: mathed font changes
8630
8631 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8632
8633         * LaTeX.C:
8634         * importer.h:
8635         * importer.C:
8636         * lyx_sty.h:
8637         * lyx_sty.C:
8638         * lyxlex.C:
8639         * lyxrow.h:
8640         * lyxtext.h:
8641         * paragraph.h:
8642         * paragraph.C:
8643         * texrow.h:
8644         * texrow.C:
8645         * text.C:
8646         * trans_mgr.h: srcdocs, and some minor cleanups
8647
8648 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8649
8650         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8651         call getFont all the time)
8652
8653 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8654
8655         * switch from SigC signals to boost::signals
8656
8657 2002-05-29  André Pönitz <poenitz@gmx.net>
8658
8659         * paragraph_pimpl.C (getChar): don't call size() too often...
8660
8661 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8662
8663         * paragraph_pimpl.C (insertChar): do not try to update tables when
8664         appending (pos == size())
8665
8666         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8667         in order to reduce drastically the number of comparisons needed to
8668         parse a large document
8669
8670 2002-05-29  André Pönitz <poenitz@gmx.net>
8671
8672         * text.C:
8673         * text2.C:
8674         * lyxtextclass.C:
8675         * sp_pspell.h:
8676         * textclasslist.[Ch]:
8677         * sp_ispell.h: whitespace change
8678
8679 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8680
8681         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8682         lyxaction directly now.
8683
8684 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8685
8686         * trans.C:
8687         * lyxfont.C:
8688         * lyxvc.C: remove unused headers
8689
8690 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8691
8692         * Makefile.am:
8693         * buffer.h:
8694         * undostack.h:
8695         * undostack.C:
8696         * undo_funcs.h:
8697         * undo_funcs.C: some cleanups. Use shared_ptr
8698           and a template for the undo stacks.
8699
8700 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8701
8702         * BufferView_pimpl.h:
8703         * BufferView_pimpl.C:
8704         * kbmap.h:
8705         * kbmap.C:
8706         * kbsequence.h:
8707         * kbsequence.C:
8708         * lyxfunc.h:
8709         * lyxfunc.C:
8710         * text2.C: use key_state/mouse_state
8711
8712 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8713
8714         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8715         and LSubstring
8716
8717         * chset.C: change include order
8718         (loadFile): use boost regex and get rid of LRegex and LSubstring
8719
8720         * Makefile.am (BOOST_LIBS): new variable
8721         (lyx_LDADD): use it
8722
8723         * LaTeX.C: change include order.
8724         (scanAuxFile): use boost regex and get rid of LRegex and
8725         LSubstring
8726         (deplog): ditto
8727
8728 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8729
8730         * ColorHandler.h:
8731         * ColorHandler.C:
8732         * FontInfo.h:
8733         * FontInfo.C: moved to frontends/xforms/
8734
8735         * FontLoader.h:
8736         * FontLoader.C: moved into frontends for GUIIzation
8737
8738         * Makefile.am:
8739         * lyx_gui.C:
8740         * lyxfont.C:
8741         * lyxfunc.C: changes from above
8742
8743 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8744
8745         * LColor.C: remove spurious X include
8746
8747         * BufferView_pimpl.C:
8748         * Makefile.am:
8749         * font.h:
8750         * font.C:
8751         * text.C:
8752         * text2.C: move font metrics to frontends/
8753
8754 2002-05-24  Juergen Vigna  <jug@sad.it>
8755
8756         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8757         setting the undo_cursor.
8758
8759         * ParagraphParameters.h: include local includes first.
8760
8761 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8762
8763         * BufferView_pimpl.C:
8764         * BufferView_pimpl.h:
8765         * Makefile.am:
8766         * WorkArea.h:
8767         * WorkArea.C:
8768         * screen.C: move WorkArea into frontends/
8769
8770         * lyxscreen.h:
8771         * screen.C:
8772         * text.C:
8773         * BufferView.C:
8774         * BufferView2.C: move LyXScreen into frontends/
8775
8776         * lyxlookup.h:
8777         * lyxlookup.C:
8778         * lyx_gui.C: move lyxlookup into frontends/xforms/
8779
8780 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8781
8782         * BufferView2.C:
8783         * BufferView_pimpl.C:
8784         * FontLoader.C:
8785         * LyXView.h:
8786         * LyXView.C:
8787         * Makefile.am:
8788         * WorkArea.C:
8789         * XFormsView.h:
8790         * XFormsView.C:
8791         * buffer.C:
8792         * bufferlist.C:
8793         * bufferview_funcs.C:
8794         * converter.C:
8795         * importer.C:
8796         * lyx_cb.C:
8797         * lyx_gui.C:
8798         * lyx_main.C:
8799         * lyx_find.C:
8800         * lyxfunc.C:
8801         * lyxvc.C:
8802         * minibuffer.C:
8803         * text.C:
8804         * text2.C:
8805         * trans.C:
8806         * vc-backend.C: move LyX/XFormsView into frontends/
8807
8808 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8809
8810         * Makefile.am:
8811         * PainterBase.C:
8812         * PainterBase.h:
8813         * Painter.C:
8814         * Painter.h:
8815         * WorkArea.C:
8816         * WorkArea.h:
8817         * screen.C:
8818         * tabular.C:
8819         * text.C:
8820         * text2.C: move Painter to frontends/
8821
8822 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8823
8824         * buffer.C: comment out some some code that depend upon lyx_format
8825         < 220
8826
8827         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8828         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8829
8830         * buffer.h (NO_COMPABILITY): turn off compability
8831
8832         * ColorHandler.C: include scoped_array.hpp
8833
8834         * font.C: Use more specific smart_ptr header.
8835         * Painter.C: ditto
8836         * gettext.C: ditto
8837         * ShareContainer.h: ditto
8838         * lyx_main.h: ditto
8839         * kbmap.h: ditto
8840         * FontInfo.h: ditto
8841         * BufferView_pimpl.h: ditto
8842         * ColorHandler.h: ditto
8843
8844         * kbmap.C (defkey): change call to shared_ptr::reset
8845
8846 2002-05-21  Juergen Vigna  <jug@sad.it>
8847
8848         * buffer.C (insertErtContents): fix to insert ert asis if it is
8849         non empty. Skip it completely if it contains only whitespaces.
8850
8851 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8852
8853         * BufferView_pimpl.C:
8854         * BufferView2.C: clear selection on paste (bug 393)
8855
8856 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8857
8858         * DepTable.C: include ctime
8859
8860 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8861
8862         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8863
8864 2002-05-14  Juergen Vigna  <jug@sad.it>
8865
8866         * text.C (breakParagraph): fixed function to honor the keepempty
8867         layout in the right maner and also to permit the right breaking
8868         algorithm on empty or non empyt keepempty paragraphs.
8869
8870         * paragraph.C (breakParagraph): we have to check also if the par
8871         is really empty (!size()) for isempty otherwise we do the wrong
8872         paragraph break.
8873
8874 2002-05-10  Juergen Vigna  <jug@sad.it>
8875
8876         * buffer.[Ch] : The following are only changes to the ert
8877         compatibility read reading old LaTeX layout and font stuff and
8878         convert it to ERTInsets.
8879
8880         * buffer.h: added isErtInset().
8881
8882         * buffer.C (struct ErtComp): add a fromlayout bool to check
8883         if we're inside a LaTeX layout.
8884         (isErtInset): new helper function.
8885         (insertErtContents): look for other ert insets before this one
8886         and insert the contents there, so that we don't have subsequent
8887         ERT insets with nothing between them. This way we create only one
8888         inset with multiple paragraphs. Also check if we don't insert only
8889         spaces ' ' as they are ignored anyway afterwards in the .tex file
8890         so if we have only spaces we will ignore this latex part in the
8891         new file.
8892         (parseSingleLyXformat2Token \\layout): better compatibility when
8893         reading layout-latex stuff.
8894         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8895         language tag.
8896         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8897         stuff after reading the inset only get the information back from
8898         the stack.
8899
8900 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8901
8902         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8903
8904         * LaTeXFeatures.C (getBabelOptions): New method.
8905
8906 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8907
8908         * BufferView_pimpl.C (Dispatch): work around missing argument for
8909         'layout'
8910
8911 2002-05-08  Juergen Vigna  <jug@sad.it>
8912
8913         * text.C (leftMargin): handle paragraph leftindent.
8914
8915         * paragraph.C (writeFile): write the new \\leftindent tag.
8916         (validate): handle leftindent code.
8917         (TeXEnvironment): handle paragraphleftindent code again.
8918
8919         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8920
8921         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8922         for paragrap_extra indent code and new token \\leftindent.
8923         (latexParagraphs): handle the leftindent as environment.
8924
8925         * ParameterStruct.h: added leftindent support.
8926
8927         * ParagraphParameters.C (leftIndent): added support functions for
8928         the paragraph left indent.
8929
8930         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8931         more appropriate.
8932
8933 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8934
8935         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8936         inside insetERT.
8937
8938         * text.C (computeBidiTables): No bidi in insetERT.
8939
8940         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8941         in RTL documents.
8942
8943 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8944
8945         * version.C.in: pre 5
8946
8947 2002-05-02  José Matos  <jamatos@fep.up.pt>
8948         * buffer.C (makeDocBookFile): white space changes, add newline to
8949         command styles.
8950         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8951
8952         * tabular.C (docBook): fix typo.
8953
8954 2002-05-03  Juergen Vigna  <jug@sad.it>
8955
8956         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8957         change in LyXText as we can not be sure it was not freed.
8958         (drawOneRow): remove unused code.
8959
8960         * text.C (drawInset): redo the calculation of the need_break_row as
8961         it could have a row which was already freed.
8962         (draw): look at the return value of drawInset and return false if
8963         it also returned false.
8964         (paintRowText): look at the return value of draw and return false if
8965         it also returned false.
8966
8967         * lyxtext.h: added bool return type to drawInset() and draw() so that
8968         if we have a change in the row so that the rowbreak has to be redone
8969         we abort drawing as it will be called again.
8970
8971 2002-05-02  Juergen Vigna  <jug@sad.it>
8972
8973         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8974         a change in the maintext also if we're inside an inset.
8975         (Dispatch): set the cursor again after a break line and after the
8976         screen has been updated as it could be we're in a different row.
8977
8978         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8979         to set the cursor behind the pargraph with > size().
8980         (setCursor): check also for the same paragraph when checking where
8981         to put the cursor if we have a NFR inset.
8982
8983         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8984         parts of layout read further up as it still was in the wrong
8985         position.
8986
8987 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8988
8989         * screen.C (drawFromTo): change sine fullRebreak always return
8990         true.
8991
8992         * buffer.C (parseSingleLyXformat2Token): reindent some
8993
8994         * BufferView_pimpl.C (update): change since fullRebreak always
8995         return true.
8996         (Dispatch): git rid of the last hardcoded "Standard"s.
8997
8998 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8999
9000         * text2.[Ch] (fullRebreak): make it return void now that we always
9001         returned true.
9002
9003 2002-04-30  Juergen Vigna  <jug@sad.it>
9004
9005         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9006         ert compatibility check for "latex" layout.
9007
9008 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9009
9010         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9011         minipages: use col% instead of p%, and also use the current font.
9012         (makeLaTeXFile): Fix use babel condition.
9013         (parseSingleLyXformat2Token): Correct font when reading old floats.
9014
9015 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9016
9017         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9018         inserting list of floats.
9019
9020 2002-04-25  Herbert Voss  <voss@lyx.org>
9021
9022         * MenuBackend.C (expand): don't add the graphics extensions to the
9023         export menu
9024
9025 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9026
9027         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9028         non-existing layout, do not complain if it was the default layout
9029         of the original class (bug #342)
9030
9031 2002-04-24  Juergen Vigna  <jug@sad.it>
9032
9033         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9034         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9035
9036 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9037
9038         * buffer.C (getBibkeyList): If using \bibliography, return the
9039         option field with the reference itself. Enables us to provide natbib
9040         support when using \bibliography.
9041
9042 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9043
9044         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9045
9046         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9047         natbib is provided by the LaTeX class.
9048
9049 2002-04-23  Juergen Vigna  <jug@sad.it>
9050
9051         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9052         Wakeup functions.
9053
9054         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9055
9056 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9057
9058         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9059
9060         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9061         ensuremath around textordmasculine, textordfeminine and
9062         textdegree.
9063
9064 2002-04-19  Juergen Vigna  <jug@sad.it>
9065
9066         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9067         reinitializing the buffer otherwise row-dimensions may be wrong.
9068         (update): reset also the selection cursors if they do exits otherwise
9069         their x/y positions may be wrong.
9070
9071         * text2.C (cursorDown): don't enter the inset if we came from a row
9072         above and are one row over the inset.
9073
9074         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9075         really leaving an inset.
9076
9077 2002-04-18  Juergen Vigna  <jug@sad.it>
9078
9079         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9080         of the selected paragraph does not have the selected layout also if
9081         the last one had!
9082
9083         * text2.C (setLayout): fixed bug which did not change last selected
9084         paragraph.
9085
9086         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9087         changed the read and substituted \\end_float with \\end_inset!
9088
9089         * BufferView_pimpl.C (cursorPrevious):
9090         (cursorNext): fixed to make it work with rows heigher than the work
9091         area without moving the cursor only the draw of the row.
9092         (workAreaMotionNotify): fix jumping over high rows.
9093
9094 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9095
9096         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9097         Ressler.
9098
9099 2002-04-16  Juergen Vigna  <jug@sad.it>
9100
9101         * text2.C (setCursor): set also the irow().
9102         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9103         (cursorUp):
9104         (cursorDown): support for locking an inset if the x_fix value goes
9105         inside it. That way I can transverse insets too with cursor up/down.
9106
9107         * lyxrow.h: added irow helper function same as other (i) functions.
9108
9109         * BufferView_pimpl.C (cursorPrevious):
9110         (cursorNext): fixed for insets!
9111
9112 2002-04-15  Juergen Vigna  <jug@sad.it>
9113
9114         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9115         position otherwise it is wrong in some cases.
9116
9117         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9118         inside the inset before the call.
9119
9120 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9121
9122         * buffer.[Ch] (getBibkeyList): make it const.
9123
9124 2002-04-12  Juergen Vigna  <jug@sad.it>
9125
9126         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9127
9128         * text2.C (getCursorX): new helper function
9129         (setCursor): compute also ix_
9130         (setCursorFromCoordinates): set also ix.
9131
9132         * lyxcursor.h: added ix_ and helper functions.
9133
9134         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9135
9136         * buffer.C (insertStringAsLines): dont break paragraph if the this
9137         paragraph is inside an inset which does not permit it!
9138
9139         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9140         also with no chars on this paragraph.
9141         (paintRowText): only paint stuff if it's inside the workarea!
9142
9143         * paragraph.C (breakParagraph): honor keepempty flag and break the
9144         paragraph always below not above.
9145
9146         * BufferView2.C (unlockInset): update the paragraph layout on inset
9147         unlock as we changed paragraph in such a case.
9148
9149         * lyxfind.C (LyXFind): clear the former selection if not found!
9150
9151         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9152         again called in insertChar().
9153
9154         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9155         an inset which uses the whole row!
9156         (rightMargin): ditto.
9157         (insertChar): force a rebreak if we inserted an inset!
9158
9159 2002-03-28  Herbert Voss  <voss@lyx.org>
9160
9161         * lyxlength.[Ch]: add inBP() to get the right PS-point
9162         units (BigPoint). With inPixels we have rounding errors
9163
9164 2002-04-11  Juergen Vigna  <jug@sad.it>
9165
9166         * text2.C (setCursorFromCoordinates): set iy to the right value.
9167         (setCursor): add check if row->previous exists!
9168
9169         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9170         an old float_type as this was the case in the old code!
9171
9172         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9173
9174         * BufferView2.C (showLockedInsetCursor): use iy
9175         (fitLockedInsetCursor): ditto
9176
9177         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9178         locked insets as there we have the right value now.
9179
9180         * lyxcursor.C: added iy_ variable and iy functions to set to the
9181         baseline of cursor-y of the locked inset.
9182
9183         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9184         (setCursor): fixed for insets which need a full row.
9185
9186         * text.C (rowLastPrintable): don't ignore the last space when before
9187         an inset which needs a full row.
9188         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9189         as last character of a row when before a inset which needs a full row.
9190
9191 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9192
9193         * version.C.in: update date
9194
9195         * text2.C (fullRebreak): try to always return true and see what
9196         happens...
9197
9198 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9199
9200         * MenuBackend.C (expand): use Floating::listName
9201
9202         * FloatList.C (FloatList): add listName argument to the built-in
9203         floats
9204
9205         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9206         text associated with the float.
9207
9208 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9209
9210         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9211
9212 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9213
9214         * ShareContainer.h: add a couple of missing typenames.
9215
9216 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9217
9218         * lyxrc.C (getDescription): use _() correctly rather than N_().
9219
9220 2002-03-28  Herbert Voss  <voss@lyx.org>
9221
9222         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9223         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9224
9225 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9226
9227         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9228         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9229
9230 2002-03-29  Juergen Vigna  <jug@sad.it>
9231
9232         * lyxfunc.C (dispatch): add a missing fitCursor call.
9233
9234         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9235         it was scrolled by a cursor move, so return the bool status.
9236
9237         * BufferView.C (fitCursor): return the bool flag also to the outside
9238         world as this is needed.
9239
9240         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9241
9242         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9243         call the edit() as it is not needed (and wrong) IMO.
9244         (workAreaButtonPress): set the screen_first variable before evt.
9245         unlock the inset as this may change screen_first and then we have
9246         a wrong y position for the click!
9247
9248 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9249
9250         * MenuBackend.C (expand): another translation that I missed
9251
9252 2002-03-28  Juergen Vigna  <jug@sad.it>
9253
9254         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9255
9256         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9257
9258 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9259
9260         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9261
9262         * MenuBackend.C (expand): fix export/view/update when there is no
9263         document open.
9264
9265 2002-03-27  Herbert Voss  <voss@lyx.org>
9266
9267         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9268         and text%
9269
9270 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9271
9272         * bufferview_funcs.C (currentState): only show paragraph number
9273         for is DEVEL_VERSION is set.
9274
9275         * lyxfunc.C (dispatch): put warning in INFO channel
9276
9277         * MenuBackend.C (expand): translate the name of floats
9278
9279         * FloatList.C (FloatList): mark the float names for translation
9280
9281         * converter.C (convert): use LibScriptSearch
9282
9283 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9284
9285         * MenuBackend.C (defaults): fix default menu (we might as well get
9286         rid of it...)
9287
9288 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9289
9290         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9291         directory.
9292
9293 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9294
9295         * lyxvc.C: reorder includes.
9296
9297 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9298
9299         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9300           properly
9301
9302 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9303
9304         * CutAndPaste.C: change layouts earlier on paste
9305           to avoid crashing when calling getFont()
9306
9307 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9308
9309         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9310         irritating #error.
9311
9312 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9313
9314         * WorkArea.C: remove 'Pending' debug message.
9315
9316         * most files: ws cleanup
9317
9318         * buffer.[Ch]: ws changes
9319
9320         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9321
9322 2002-03-21  Juergen Vigna  <jug@sad.it>
9323
9324         * tabular.C (SetMultiColumn): collapse also the contents of the
9325         cells and set the last border right. Added a Buffer const * param.
9326
9327 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9328
9329         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9330         linking or not.
9331
9332 2002-03-19  Juergen Vigna  <jug@sad.it>
9333
9334         * text2.C (clearSelection): reset also xsel_cache.
9335
9336         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9337         where it needs to be called (John tells us to do so too :)
9338         (selectionLost): reset sel_cache.
9339
9340         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9341
9342 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9343
9344         * text2.C (setCursorIntern): put debuging code in INSETS channel
9345
9346 2002-03-19  André Pönitz <poenitz@gmx.net>
9347
9348         * lyxfunc.C: tiny whitespace change
9349
9350 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9351
9352         * ToolbarDefaults.C (init):
9353         * LyXAction.C (init):
9354         * commandtags.h:
9355         * BufferView_pimpl.C (Dispatch):
9356         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9357
9358 2002-03-19  Allan Rae  <rae@lyx.org>
9359
9360         * exporter.C (Export): removeAutoInsets before doing anything else.
9361         While I've just introduced a dependency on BufferView this really is
9362         the best place to clean the buffer otherwise you need to cleanup in
9363         a dozen places before calling export or cleanup in a dozen functions
9364         that export calls.
9365
9366         * converter.C (runLaTeX):
9367         (scanLog): Better handling of removeAutoInsets and screen updates.
9368
9369         * lyxfunc.C (dispatch): small whitespace changes
9370
9371 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9372
9373         * WorkArea.C (C_WorkAreaEvent): return a value.
9374         (event_cb): return 1 if we handled the event, 0 otherwise.
9375
9376         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9377
9378 2002-03-18  Juergen Vigna  <jug@sad.it>
9379
9380         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9381         (GetAdditionalWidth): ditto.
9382         (RightLine): ditto.
9383         (LeftLine): ditto.
9384
9385         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9386         inset if we're there actually (probably not used right now but this
9387         is the direction to go for unifying code).
9388         (paste): disable code to clear the selection.
9389
9390         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9391         inside an InsetText and move the check further up as it is in the
9392         wrong place.
9393
9394         * text2.C (pasteSelection): set a selection over the pasted text.
9395
9396 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9397
9398         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9399         and libgraphics to build on Cygwin.
9400
9401 2002-03-15  Juergen Vigna  <jug@sad.it>
9402
9403         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9404         inserting an Inset into the paragraph. I know this is not the best
9405         fix but we already use current_view in CutAndPaste so we will remove
9406         all of it's using at the same time.
9407
9408         * buffer.C (sgmlError): deactivated function till it is rewritten in
9409         the right mode, now it can create problems.
9410
9411         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9412         before accessing it.
9413
9414 2002-03-14  Juergen Vigna  <jug@sad.it>
9415
9416         * undo_funcs.C (textHandleUndo): do the right thing when updating
9417         the inset after the undo/redo.
9418
9419         * text2.C (setCursor): just some testcode for #44 not ready yet.
9420
9421         * undo_funcs.C (textHandleUndo): set the next() and previous()
9422         pointers of the paragraph to 0 before deleting otherwise we have
9423         problems with the Paragraph::[destructor].
9424
9425         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9426         on a paragraph insertion.
9427
9428 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9429
9430         * buffer.C (asciiParagraph): use += operator for char append to
9431         string.
9432
9433         * paragraph.C (getFontSettings): compare >= not just >
9434         (highestFontInRange): ditto
9435         (setFont): ditto
9436
9437 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9438
9439         * paragraph.C: change several algorithm to be more appripriate for
9440         the problem domain. This is lookip in FontList and in the InsetList.
9441
9442 2002-03-13  André Pönitz <poenitz@gmx.net>
9443
9444         * commandtags.h:
9445         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9446
9447 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9448
9449         * commandtags.h:
9450         * LyXAction.C:
9451         * lyxfunc.C:
9452         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9453
9454 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9455
9456         * Painter.C (display): anon helper function, adjust code for this
9457         change.
9458         (pixmap): remove function.
9459
9460         * Painter.h: remove private display variable.
9461
9462         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9463
9464 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9465
9466         * WorkArea.[Ch]: remove figinset_canvas cruft.
9467
9468 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9469
9470         * lyxtextclass.C (operator): add one item cache optimization.
9471
9472         * bufferlist.h: doxy changes
9473
9474         * bufferlist.C: ws changes
9475
9476         * DepTable.[Ch] (ext_exist): place const in the right spot.
9477
9478         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9479         call resizeInsets.
9480         (workAreaExpose): call resizeInsets when the with BufferView changes.
9481         (Dispatch): adjust for protectedBlank removal
9482         (specialChar): call updateInset if the insert went ok.
9483
9484         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9485         specialChar instead.
9486
9487         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9488
9489         * BufferView.h: doxy change
9490
9491         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9492
9493         * lyxtextclass.C (operator[]): remove non-const version
9494         (defaultLayout): remove non-const version
9495
9496 2002-03-12  Juergen Vigna  <jug@sad.it>
9497
9498         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9499         did resize the LyXText too.
9500
9501         * buffer.C (readLyXformat2): set layout information on newly allocated
9502         paragraphs.
9503
9504         * tabular.C (OldFormatRead): set layout information on the paragraph.
9505
9506 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9507
9508         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9509
9510 2002-03-11  Juergen Vigna  <jug@sad.it>
9511
9512         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9513         plainly wrong.
9514         (resizeCurrentBuffer): force also the insets to resize themselfes.
9515         (moveCursorUpdate): fixed up for InsetText.
9516
9517 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9518
9519         * commandtags.h:
9520         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9521         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9522         value of Dialogs::tooltipsEnabled().
9523         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9524
9525 2002-03-08  Juergen Vigna  <jug@sad.it>
9526
9527         * BufferView_pimpl.C (updateInset): update inset inside inset also
9528         if it isn't inside theLockingInset().
9529
9530 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9531
9532         * buffer.C (asciiParagraph): redo some of the word and line length
9533         handling.
9534         (getLists): look for Caption instead of caption.
9535
9536 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9537
9538         * buffer.C (Buffer): initialize niceFile to true
9539         (makeLaTeXFile):
9540         (makeLinuxDocFile):
9541         (makeDocBookFile): make sure niceFile is true on exit
9542
9543 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9544
9545         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9546
9547 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9548
9549         * LyXSendto.C: remove.
9550         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9551         * lyx_gui.C: remove now-redundant comment.
9552         * ColorHandler.h: remove forward declaration of class WorkArea.
9553         * lyxfunc.C: remove #include "WorkArea.h".
9554
9555 2002-03-07  Juergen Vigna  <jug@sad.it>
9556
9557         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9558         got moved away with the DEPM and also set the inset_owner always
9559         right which before could have been omitted.
9560
9561 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9562
9563         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9564         wanted layout is not found.
9565
9566 2002-03-07  Juergen Vigna  <jug@sad.it>
9567
9568         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9569
9570 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9571
9572         * paragraph.C (breakParagraph): use default layout not layout of
9573         prev paragraph.
9574         (Paragraph): clear ParagraphParameters.
9575
9576 2002-03-06  Juergen Vigna  <jug@sad.it>
9577
9578         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9579         otherwise it would not be a valid lenght. Fixed a special case in
9580         the minipage compatibility read where we end the document with a
9581         minipage.
9582
9583         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9584         was set as it could be 0 for InsetTexts first entry.
9585
9586 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9587
9588         * paragraph.C (writeFile): if layout is empty write out
9589         defaultLayoutName().
9590
9591         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9592         file without named layout we set layout to defaultLayoutName().
9593
9594 2002-03-06  Juergen Vigna  <jug@sad.it>
9595
9596         * CutAndPaste.C (copySelection): set layout for new paragraph.
9597
9598         * text.C (prepareToPrint): leave ERT inset left aligned
9599         (leftMargin): don't indent paragraphs inside ERT insets
9600
9601 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9602
9603         * paragraph.C (breakParagraph): dont call clear do the work manually
9604
9605         * paragraph.[Ch] (clear): remove function
9606
9607 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9608
9609         * paragraph.C (Paragraph): dont call clear, the work has already
9610         been done.
9611
9612         * lyxtextclass.C (operator): assert if n is empty
9613
9614         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9615         work manually instead.
9616
9617 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9618
9619         * BufferView_pimpl.C: protect selectionLost against text == 0
9620
9621 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9622
9623         * text.C (breakParagraph): fix a setting layout to '0' problem.
9624
9625 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9626
9627         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9628         final location of file, for the included files, and graphics.
9629
9630 2002-03-05  Juergen Vigna  <jug@sad.it>
9631
9632         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9633
9634 2002-03-04  Juergen Vigna  <jug@sad.it>
9635
9636         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9637
9638         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9639         last column of multicolumn cells.
9640         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9641
9642 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9643
9644         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9645         file if it doesn't go to a temporary file.
9646
9647         * buffer.C (sgmlOpenTag):
9648         (sgmlCloseTag):  remove extra newline insertion.
9649
9650 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9651
9652         * text.C (getRowNearY): comment out debug msg
9653
9654 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9655
9656         * text2.C: first -> first_y
9657
9658         * text.C (getRowNearY): add some attemts at a possible
9659         optimization, not working.
9660
9661         * tabular.[Ch]: add BufferParams to several function so that newly
9662         created paragraph can be initialized to he default layotu for the
9663         buffers textclass.
9664
9665         * tabular-old.C (ReadOld): add buf->params to call of Init
9666
9667         * screen.C: rename text->first to text->first_y
9668
9669         * paragraph.C (breakParagraph): always set layout in the broken
9670         paragraph
9671
9672         * lyxtextclass.C (Read): remove lowercase
9673         (hasLayout): ditto
9674         (operator): ditto
9675         (delete_layout): ditto
9676
9677         * lyxtext.h: rename first -> first_y
9678
9679         * lyxlayout.C (Read): remove lowercase
9680         (name): ditto
9681         (setName): ditto
9682         (obsoleted_by): ditto
9683
9684         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9685
9686         * buffer.C (insertErtContents): add params are to InsetERT
9687         (parseSingleLyXformat2Token): add code to check if a paragraphs
9688         layout really exist.
9689         (parseSingleLyXformat2Token): add params to several inset
9690         constructors
9691         (asciiParagraph): remove lowercase, do the layout comparisons with
9692         no_case
9693
9694         * BufferView_pimpl.C (cursorNext): first -> first_y
9695         (resizeCurrentBuffer): first -> first_y
9696         (updateScrollbar): first -> first_y
9697         (scrollCB): first -> first_y
9698         (workAreaMotionNotify): first -> first_y
9699         (workAreaButtonPress): first -> first_y
9700         (checkInsetHit): first -> first_y
9701         (cursorPrevious): first -> first_y
9702         (cursorNext): first -> first_y
9703         (Dispatch): add buffer_->params to severl inset contructors
9704
9705 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9706
9707         * lyxlayout.C (Read): remove some debug info that I forgot.
9708
9709         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9710         clean up the code slightly.
9711         (makeLinuxDocFile): ditto
9712         (makeDocBookFile): ditto
9713
9714         * text2.C: layout as string
9715
9716         * text.C: layout as string
9717
9718         * paragraph_pimpl.C: layout as string
9719
9720         * paragraph.[Ch]: layout as string
9721
9722         * lyxtextclasslist.[Ch]: layout as string
9723
9724         * lyxtextclass.[Ch]: layout as string
9725
9726         * lyxtext.h: layout as string
9727
9728         * lyxlayout.[Ch]: layout as string
9729
9730         * lyx_cb.C: layout as string
9731
9732         * bufferview_funcs.C: layout as string
9733
9734         * bufferparams.C: layout as string
9735
9736         * buffer.C: layout as string
9737
9738         * LyXView.[Ch]: layout as string
9739
9740         * LaTeXFeatures.[Ch]: layout as string
9741
9742         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9743
9744         * BufferView_pimpl.C: change current_layout to string, remove
9745         lyx::layout_type.
9746         (Dispatch):
9747         (smartQuote):
9748         (insertInset):
9749         (workAreaButtonRelease): layout as string
9750
9751         * BufferView2.C (unlockInset): adjust
9752
9753         * vspace.C (asLatexCommand): use an explict temp variable.
9754
9755 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9756
9757         * Makefile.am: use FRONTEND_*
9758
9759 2002-03-01  Juergen Vigna  <jug@sad.it>
9760
9761         * tabular.C (SetWidthOfMulticolCell): changed to something better
9762         I hope but still work in progress.
9763         (recalculateMulticolumnsOfColumn): renamed function from
9764         recalculateMulticolCells as it is more appropriate now.
9765         (SetWidthOfCell): calculate multicols better.
9766
9767 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9768
9769         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9770
9771         * lyxfunc.C (processKeySym): print sequence also if it is
9772         `deleted' (complete)
9773
9774         * kbsequence.C (print): print sequence even if it is deleted
9775         (complete would be a better word, actually).
9776
9777         * lyxfunc.C (dispatch): print complete options after a prefix key
9778
9779         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9780
9781 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9782
9783         * text2.C (setCharFont): eliminate setCharFont code duplication.
9784
9785 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9786
9787         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9788         LFUN_TABULAR_FEATURE (bug #177)
9789
9790 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9791
9792         * Makefile.am: remove figure.h
9793
9794 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9795
9796         * Bufferview_pimpl.C:
9797         * CutAndPasteC:
9798         * LaTeX.C:
9799         * LyXSendto.C:
9800         * buffer.C:
9801         * bufferlist.C:
9802         * converter.C:
9803         * language.C:
9804         * lyxfunc.C:
9805         * lyxvc.C:
9806         * paragraph.C:
9807         * text.C:
9808         * text2.C: remove #include "lyx_gui_misc.h".
9809
9810         * LaTeX.C: added #include <cstdio>
9811
9812 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9813
9814         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9815         that the paragraph following this one can have.
9816
9817         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9818
9819         * vspace.C (asLatexCommand): fix bogus gcc warning
9820
9821         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9822
9823 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9824
9825         * text2.C (setLayout): get rid of redundant code
9826
9827 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9828
9829         * text2.C (incDepth): make sure depth cannot be increased beyond
9830         reasonable values.
9831
9832 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9833
9834         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9835         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9836
9837         * PainterBase.h (image):
9838         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9839         a LyXImage const *.
9840
9841 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9842
9843         * BufferView.C:
9844         * BufferView.h:
9845         * BufferView_pimpl.C:
9846         * BufferView_pimpl.h:
9847         * LaTeXFeatures.C:
9848         * LyXAction.C:
9849         * LyXView.C:
9850         * Makefile.am:
9851         * UpdateList.h:
9852         * UpdateList.C:
9853         * buffer.C:
9854         * figure.h:
9855         * figureForm.C:
9856         * figureForm.h:
9857         * figure_form.C:
9858         * figure_form.h:
9859         * lyx_cb.C:
9860         * lyx_gui.C:
9861         * lyx_gui_misc.C:
9862         * lyxfunc.C:
9863         * sp_base.h:
9864         * sp_ispell.h:
9865         * sp_pspell.h:
9866         * sp_spell.C: remove fig inset, and the crap house of
9867           cards that follows it
9868
9869 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9870
9871         * Makefile.am:
9872         * lyxserver.C:
9873         * os2_defines.h:
9874         * os2_errortable.h:
9875         * nt_defines.h: move .h into support/
9876
9877         * vms_defines.h: remove
9878
9879         * WorkArea.C: add space in debug output
9880
9881         * text2.C:
9882         * paragraph.C:
9883         * buffer.C: add WITH_WARNINGS
9884
9885         * vc-backend.h:
9886         * vc-backend.C:
9887         * bufferlist.C: s/retrive/retrieve/, add docs
9888
9889         * vspace.h:
9890         * vspace.C:
9891         * kbmap.h:
9892         * lyxlength.h:
9893         * lyxgluelength.h:
9894         * length_common.h:
9895         * chset.h:
9896         * chset.C: add docs
9897
9898         * lyxgui.C: add ID to X error handler
9899
9900         * lyxtestclass.c: fix typo
9901
9902 2002-02-26  Juergen Vigna  <jug@sad.it>
9903
9904         * tabular_funcs.C (write_attribute): changed so that some default
9905         attributes are not written at all.
9906         (getTokenValue): set default values before trying to read the
9907         value so we have the return value always set as default if we don't
9908         find the token we search for.
9909
9910         * tabular.C (Write): write bools as bools not as strings!
9911
9912 2002-02-22  Juergen Vigna  <jug@sad.it>
9913
9914         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9915         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9916
9917         * text.C (leftMargin): don't add an indent for paragraphs inside
9918         tabular cells (fix #208).
9919
9920 2002-02-21  José Matos  <jamatos@fep.up.pt>
9921
9922         * tabular.C (docBook): fixed support for long tables.
9923
9924 2002-02-20  Juergen Vigna  <jug@sad.it>
9925
9926         * text2.C (getFont): get the drawing font of the Inset if this
9927         paragraph is inside an inset (only important for InsetERT for now).
9928
9929         * buffer.C (insertErtContents): use new lanugage params in ERT
9930         constructor.
9931
9932         * CutAndPaste.C: commenting out seemingly uneeded code.
9933
9934 2002-02-19  Allan Rae  <rae@lyx.org>
9935
9936         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9937         Iterators might be simple to use but they also get invalidated.
9938         (removeAutoInsets): renamed saved cursor tracking variables and added
9939         some comments to clarify what everything does.
9940
9941 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9942
9943         * Chktex.C:
9944         * LaTeX.C:
9945         * LyXSendto.C:
9946         * converter.C:
9947         * lyx_cb.C:
9948         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9949         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9950
9951         * lyxfunc.C:
9952         * vc-backend.h: remove #include "support/syscall.h"
9953
9954         * LaTeX.C:
9955         * LyXSendto.C:
9956         * converter.C: rearrange #includes in Lars' approved fashion.
9957
9958         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9959         forward declare class Timeout in the header file.
9960
9961         * XFormsView.C: changes due to the above.
9962
9963         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9964         similar to LyXView.
9965
9966         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9967         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9968
9969 2002-02-18  José Matos  <jamatos@fep.up.pt>
9970
9971         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9972         insets contents.
9973
9974 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9975
9976         * a lot of small ws changes
9977         * add a lot of using std::XXX
9978         * use std construcs some places where approp.
9979         * use some exisint stuff from lyxfunctional where approp.
9980         * Make file changes to use partial linking (lets test this now...)
9981
9982 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9983
9984         * Chktex.C:
9985         * buffer.C:
9986         remove #include "support/syscontr.h" as it's redundant. Always has been.
9987
9988         * Chktex.C:
9989         * LaTeX.C:
9990         * LyXSendto.C:
9991         * converter.C:
9992         * lyx_cb.C:
9993         * vc-backend.C:
9994         change Systemcalls::System to Systemcalls::Wait and
9995         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9996         No change of functionality, just reflects the stripped down Systemcalls
9997         class.
9998
9999 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10000
10001         * debug.[Ch]: add a GRAPHICS type to the enum.
10002
10003 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10004
10005         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10006
10007         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10008         there is an inset.
10009
10010 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10011
10012         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10013         match the changes below.
10014
10015         * text2.C (toggleInset): if there is not editable inset at cursor
10016         position, try to see if cursor is _inside_ a collapsable inset
10017         and close it.
10018
10019 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10020
10021         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10022         document menu has a nice checkbox
10023
10024 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10025
10026         * lyxlength.C (asLatexString): change PW to output as percent of
10027         \textwidth.
10028
10029         * lengthcommon.C: change '%' to 't%'
10030
10031         * lyxfunc.C (dispatch): a few comments from Martin
10032
10033 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10034
10035         * WorkArea.h:
10036         * WorkArea.C:
10037         * BufferView_pimpl.h:
10038         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10039           the X selection.
10040
10041 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10042
10043         * vspace.C (inPixels): fix compiler warning
10044
10045 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10046
10047         * lyxfunc.C (getStatus): fix status message for disabled commands.
10048
10049 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10050
10051         * BufferView_pimpl.C: fix crash on close buffer
10052         during selection (#227)
10053
10054 2002-01-27  Herbert Voss  <voss@lyx.org>
10055
10056         * buffer.C: link old Figure to new graphic inset
10057
10058 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10059
10060         * FontLoader.C (getFontinfo): Change the latex font names in order
10061         to match the names of type1inst.
10062
10063 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10064
10065         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10066
10067         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10068         (extchanged): ditto
10069         (ext_exist): ditto
10070         (remove_files_with_extension): ditto
10071         (remove_file): ditto
10072         (write): ditto
10073
10074         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10075         document is smaller than the work area height. Do not initialize
10076         static variables to 0.
10077
10078 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10079
10080         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10081
10082         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10083         LFUN_LAYOUT_PARAGRAPHS.
10084
10085         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10086         tabular. It is possible to provide a possible cell, which will
10087         typically be the actcell from the corresponding insettabular
10088
10089         * lyxfunc.C (getStatus): small cleanup; disable
10090         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10091         true
10092
10093 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10094
10095         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10096
10097         * paragraph.C (startTeXParParams):
10098         (endTeXParParams): new methods. The LaTeX code to
10099         start/end paragraph formatting
10100         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10101         empty (fixes bug #200)
10102
10103         * vspace.C (inPixels): adapt to the change below
10104         (inPixels): [later] more cleanups (remove unused variables)
10105
10106         * lyxlength.C (inPixels): change to use a width and a height as
10107         parameter.
10108
10109 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10110
10111         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10112         Replaced with \paperwidth
10113
10114         * DepTable.C (insert): add std:: qualifier
10115
10116 2002-01-18  Allan Rae  <rae@lyx.org>
10117
10118         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10119         updated also?
10120
10121         * text.C (drawInset): Turned out I didn't know enough about how
10122         rebreaking worked.  This fixes most of the redraw problems.  I see
10123         an occasional cursor trail when a line is broken now and the cursor
10124         placement can seem out by a few pixels also after a rebreak.
10125
10126 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10127
10128         * buffer.C (parseSingleLyXformat2Token): update because minipage
10129         width is now a LyXLength
10130
10131         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10132
10133         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10134         math insets
10135
10136 2002-01-17  Juergen Vigna  <jug@sad.it>
10137
10138         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10139
10140         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10141         is set correctly and the inset is updated correctly.
10142
10143 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10144
10145         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10146         the beginning of the loop.
10147
10148 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10149
10150         * lyxrc.C: improve help for use_scalable_fonts
10151
10152 2002-01-17  Allan Rae  <rae@lyx.org>
10153
10154         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10155
10156 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10157
10158         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10159         make sure to set their inset_owner to the right value (bug #171)
10160
10161 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10162
10163         * DepTable.h
10164         * DepTable.C: Implement mtime checking to reduce time spent doing
10165         CRCs.
10166
10167 2002-01-16  Juergen Vigna  <jug@sad.it>
10168
10169         * tabular.C (GetAdditionalHeight): one of error fixed.
10170
10171         * lyxrc.C (output): small fix in writing use_pspell.
10172
10173 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10174
10175         * sp_base.h: #include LString.h
10176
10177 2002-01-16  Allan Rae  <rae@lyx.org>
10178
10179         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10180         Can someone check this please?
10181
10182         * text.C (drawInset): It was possible that p.row would be removed by
10183         breakAgainOneRow upsetting a few other settings.  There may be another
10184         small tweak possible by setting need_break_row = 0 when p.row has been
10185         removed but I don't know enough about the logic here.
10186
10187 2002-01-15  Allan Rae  <rae@lyx.org>
10188
10189         * text.C (insertChar): removed conditional truism.
10190
10191         * BufferView2.C (removeAutoInsets): More tweaks.
10192         cur_par_prev could be a stray pointer.  Check for trailing empty line
10193         in case last line was cur_par and only had an error inset on it.
10194
10195 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10196
10197         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10198         absolute
10199
10200         * vc-backend.C (most methods):
10201         * exporter.C (Export):
10202         * converter.C (convert):
10203         (runLaTeX):
10204         * LyXSendto.C (SendtoApplyCB):
10205         * lyxfunc.C (dispatch):
10206         (menuNew):
10207         (open):
10208         (doImport):
10209         * lyx_cb.C (AutoSave):
10210         (InsertAsciiFile):
10211         * BufferView_pimpl.C (MenuInsertLyXFile):
10212         * buffer.C (runChktex): use Buffer::filePath().
10213
10214         * buffer.h: rename filename to filename_; rename filepath to
10215         filepath_ and make it private
10216         (filePath): new method
10217
10218         * buffer.C (writeFile): use fileName()
10219         (getLatexName):
10220
10221         * lyx_main.C (init): fix starting  of LyX when the binary is a
10222         link from so,ewhere else.
10223
10224         * minibuffer.C: include <cctype> for isprint
10225
10226 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10227
10228         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10229         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10230         name clash with InsetCollapsable's width function.
10231
10232 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10233
10234         * lastfiles.C: include <iterator>
10235
10236 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10237
10238         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10239         std::count.
10240
10241         * buffer.C (makeLaTeXFile): ditto.
10242         Also make loop operation more transparent.
10243
10244 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10245
10246         * ToolbarDefaults.C: remove trailing comma closing namespace.
10247
10248         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10249
10250         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10251         as in WorkArea.
10252
10253         * trans.C (Load): comment out unused variable, allowed.
10254
10255 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10256
10257         * minibuffer.[Ch] (append_char): new method to recieve input from the
10258         drop-down completion browser. If a key was pressed, then recieve this
10259         char and append it to the existing string.
10260         (peek_event): modify the positioning data passed to the completion
10261         browser so that it can be placed above the minibuffer rather than below.
10262 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10263
10264         * LyXAction.C (init): alloe error-next for readonly documents.
10265
10266         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10267         count.
10268
10269 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10270
10271         * bufferlist.C (readFile): create the buffer _after_ checking that
10272         the file exists.
10273
10274         * lyxfunc.C (verboseDispatch): fix handling of arguments
10275
10276         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10277
10278         * lyxrc.C: use string::erase() instead of initializing to "".
10279
10280
10281 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10282
10283         * BufferView_pimpl.h:
10284         * BufferView_pimpl.C:
10285         * WorkArea.h:
10286         * WorkArea.C:
10287         * text2.C: tell X when we have made a selection for copying
10288
10289 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10290
10291         * BufferView_pimpl.C (MenuInsertLyXFile):
10292         * lyxfunc.C (menuNew):
10293         (open):
10294         (doImport): add shortcuts to directory buttons
10295
10296         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10297         open a float)
10298
10299         * lyxfunc.C (setStatusMessage):
10300         (getStatusMessage): new methods
10301         (getStatus):use setStatusMessage instead of setErrorMessage
10302         (dispatch): when function is disabled, set error message here
10303         [instead of in getStatus previously]
10304
10305         * BufferView_pimpl.C (workAreaButtonRelease): update
10306         toolbar/menubar here too.
10307
10308 2002-01-13  Allan Rae  <rae@lyx.org>
10309
10310         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10311         Now seems indestructible.  Remaining task is to audit all other
10312         code affected by deleteEmptyParagraphMechanism.  One small quirk
10313         left is that an empty document with an error in the preamble can
10314         be made to report an error but no error box appears.  I don't know
10315         where it goes.
10316         (removeAutoInsets): Improved comments.
10317
10318 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10319
10320         * Thesaurus.h:
10321         * Thesaurus.C: update for Aiksaurus 0.14
10322
10323 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10324
10325         * text2.C (firstParagraph): removed member function, all uses
10326         replaces with ownerParagraph
10327         (redoParagraphs): here
10328         (updateInset): here
10329         (toggleAppendix): here
10330         * BufferView2.C (insertErrors): here
10331         (setCursorFromRow): here
10332
10333 2002-01-13  Allan Rae  <rae@lyx.org>
10334
10335         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10336         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10337         There is still a way to segfault this although you may have to do this
10338         multiple times: Have an InsetERT with an unknown command in it.
10339         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10340         <down-arrow>, <Enter> again, View->DVI, BANG!
10341
10342         * text2.C (setCursor):
10343         (deleteEmptyParagraphMechanism):
10344         * lyxtext.h (setCursor):
10345         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10346         Making use of the return value may help fix other bugs.
10347
10348 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10349
10350         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10351
10352         * LyXView.C (updateMenubar): call MenuBar::update here
10353         (updateToolbar): but not here
10354         (showState): do not update toolbar/menubar
10355
10356         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10357         should need to care about that.
10358
10359         * lyxfunc.C (verboseDispatch): simplify a bit
10360         (getStatus): have a version which takes a pseudoaction, and
10361         another which requires a (kb_action,string).
10362
10363         * LyXAction.C (retrieveActionArg): make it work also when action
10364         is not a pseudo-action.
10365         (getActionName): simplify a bit
10366         (helpText):
10367
10368 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10369
10370         * lyxfunc.C (verboseDispatch): new families of methods with
10371         several ways to specify a command and a bool to indicate whether
10372         the command name and shortcut should be displayed in minibuffer
10373         (eventually, we could extend that to a finer bitmask like
10374         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10375         (dispatch): the pristine dispatch command which just, well,
10376         dispatchs! Note it still sets its result to minibuffer; I'm not
10377         sure we want that.
10378
10379         * lyxfunc.h: remove setHintMessage
10380
10381         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10382
10383 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10384
10385         * BufferView_pimpl.C (specialChar): delete new inset if we have
10386         not been able to insert it.
10387
10388         * kbmap.C: revert to using int instead of kb_action, since all we
10389         are dealing with is pseudo-actions.
10390
10391         * LyXAction.C (searchActionArg): change to return int instead of
10392         kb_action, since the result is a pseudoaction.
10393
10394 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10395
10396         * buffer.C (insertErtContents): Fix (partially) the font bug.
10397
10398 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10399
10400         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10401         as the other one is broken on my machine!
10402
10403 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10404
10405         * commandtags.h:
10406         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10407
10408 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10409
10410         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10411         reflect their actual use. Provide compatibility code for older lyxrc
10412         files.
10413
10414         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10415         FL_NORMAL_STYLE.
10416         change names of popup font variables in line with the changes to lyxrc.C
10417
10418 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10419
10420         * buffer.C (asciiParagraph): avoid outputing a word twice after
10421         an inset.
10422
10423         * lyxrc.C (getDescription): document that document_path and
10424         template_path can be empty.
10425
10426 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10427
10428         * LaTeXFeatures.C (getMacros):
10429         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10430
10431         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10432
10433         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10434         getPackages.
10435         (getPackages): rename feature "floats" to "float". Use an array to
10436         iterate over 'simple' features (i.e. just a \usepackage). Add
10437         handling of "amsmath" (renamed from "amsstyle").
10438
10439 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10440
10441         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10442         features list.
10443
10444 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10445
10446         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10447         FuncStaus::FuncStatus & FuncStaus::some_method().
10448
10449 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10450
10451         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10452         of the func_satus stuff. Edited and massaged in various ways by
10453         JMarc.
10454
10455         * lyxfunc.C (getStatus): use FuncStatus
10456
10457 2002-01-08  Juergen Vigna  <jug@sad.it>
10458
10459         * text.C (nextBreakPoint): use function Inset::isChar().
10460
10461         * paragraph.C (TeXOnePar): use function
10462         Inset::forceDefaultParagraphs.
10463
10464         * buffer.C (latexParagraphs): use function
10465         Inset::forceDefaultParagraphs.
10466
10467 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10468
10469         * lyx_gui.C (init): set the style of the menu popups to
10470         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10471
10472 2002-01-07  Juergen Vigna  <jug@sad.it>
10473
10474         * text.C (setHeightOfRow): small fix
10475         (prepareToPrint): don't look at alignment if we don't have the place
10476         for doing it.
10477
10478 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10479
10480         * box.C: New file. Move the Box methods and functions out of box.h,
10481         following Lars' suggestion.
10482
10483 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10484
10485         * box.h: #include "support/LOstream.h", needed for inlined function.
10486
10487         * lyxtextclass.C:
10488         * lyxtextclasslist.C: added some using std declarations.
10489
10490 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10491
10492         * box.h: make signed dimensions to allow insets wider than
10493           the screen (bug #162)
10494
10495         * BufferView_pimpl.C: add some insetHit debug
10496
10497 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10498
10499         * vc-backend.C: add FIXME
10500
10501 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10502
10503         * lyxfunc.C (getStatus): enable code for showing math font status
10504         in toolbar/menu.
10505
10506 2002-01-07  Juergen Vigna  <jug@sad.it>
10507
10508         * text.C (nextBreakPoint): removed debug output not needed anymore.
10509
10510 2002-01-06  Juergen Vigna  <jug@sad.it>
10511
10512         * text.C (nextBreakPoint): fixed up this function we had this bug
10513         since ever but now hopefully we break row better.
10514         (insertChar): we have to check if an inset is the next char as it
10515         could now happen that a large inset is causing a break.
10516
10517 2002-01-05  Juergen Vigna  <jug@sad.it>
10518
10519         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10520         if it doesn't like to be drawed.
10521
10522 2002-01-04  Juergen Vigna  <jug@sad.it>
10523
10524         * BufferView2.C (lockInset): forgot to set a cursor.
10525
10526         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10527
10528 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10529
10530         * FormMathsPanel.C:
10531         * FormMathsPanel.h
10532         * MathsSymbols.C:
10533         * form_maths_panel.C:
10534         * form_maths_panel.h:
10535         * form_maths_panel.fd: implemented sub- and super- buttons in math
10536         panel.
10537
10538         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10539         (or ^ space) to be used as in TeX (req'd by André).
10540
10541         * lyxfunc.C: Allow ^ and _ again to be used both as
10542         super/subscript (mathed) and as themselves (in text).
10543
10544 2002-01-03  Allan Rae  <rae@lyx.org>
10545
10546         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10547         "LyX" or the filename of the current buffer if it has one.  This is a
10548         modified form of John Levon's patch.
10549
10550         * XFormsView.C (setWindowTitle): also set icon title.
10551
10552         * LyXView.h (setWindowTitle): signature changed.
10553         * XFormsView.h (setWindowTitle): ditto.
10554
10555 2002-01-02  Juergen Vigna  <jug@sad.it>
10556
10557         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10558
10559 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10560
10561         * screen.C (topCursorVisible): introduce a temp var for
10562         text->cursor.row(), handle the case where this row is null. (kindo
10563         hachish)
10564
10565         * text2.C (setCursor): add a couple of asserts.
10566
10567         * paragraph.h (inset_iterator): add -> operator
10568
10569         * paragraph.[Ch] (autoDeleteInsets): remove member function
10570
10571         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10572         cursor pos correctly and handle inset deletion by itself.
10573         (insertErrors): move iterator declaration out of for expression
10574
10575         * lyxtextclass.C: add <algorithm>
10576
10577         * Makefile.am: added the new files to sources, removed layout.C
10578
10579         * layout.C: removed file
10580
10581         * layout.h: remove LYX_DUMMY_LAYOUT
10582
10583         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10584         layout.
10585
10586         * lyxlayout.[Ch]:
10587         * lyxtextclass.[Ch]:
10588         * lyxtextclasslist.[Ch]: new files
10589
10590         * include order changes to a lot of files, also changes because of
10591         the six new files.
10592
10593 2001-12-27  Juergen Vigna  <jug@sad.it>
10594
10595         * buffer.C (asciiParagraph): more fixes.
10596
10597         * tabular.C (ascii): make ascii export support export of only the
10598         data separated by a column-delimiter.
10599         (ascii): better support for ascii export.
10600
10601         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10602
10603 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10604
10605         * tabular_funcs.C: use a "using std::getline" instead of the
10606         previous fix from Angus (necessary for cxx + lyxstring)
10607
10608 2001-12-24  Juergen Vigna  <jug@sad.it>
10609
10610         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10611
10612         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10613         problems. First check a minipage also if we have some ert-contents
10614         (not only on par->size(), second set the right depth of the paragraph
10615         on the relink to the root-paragraph-list!
10616
10617         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10618         which then did not anymore update the main paragraphs on undo/redo!
10619
10620 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10621
10622         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10623         code. Support all font-changing funcs (even those which are not in
10624         menu currently). Support for reporting font settings in
10625         mathed (disabled until Andre provides a function on mathed's side).
10626
10627         * func_status.h (toggle): small helper function to set toggle
10628         state on a flag.
10629
10630 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10631
10632         * tabular_funcs.C: getline -> std::getline
10633
10634 2001-12-21  Juergen Vigna  <jug@sad.it>
10635
10636         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10637         accessed and could be 0 (I couldn't generate this but it seems
10638         Michael could!).
10639
10640 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10641
10642         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10643         * tabular_funcs.h: here and include iosfwd
10644
10645 2001-12-20  Juergen Vigna  <jug@sad.it>
10646
10647         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10648         inside inset but undo_par was.
10649
10650 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10651
10652         * Thesaurus.C: always include <config.h> in sources.
10653
10654         * Painter.h:
10655         * lyxlookup.h:
10656         * box.h: do not include <config.h> in header files
10657
10658         * text.C (paintLastRow): remove unused variable
10659
10660         * text.C (transformChar):
10661         (insertChar):
10662         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10663
10664         * Painter.C (text):
10665         * font.C (width): rewrite to use uppercase() instead of
10666         islower/toupper.
10667
10668         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10669
10670 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10671
10672         * lyxfind.C: clean up of find failure position change
10673
10674 2001-12-20  Juergen Vigna  <jug@sad.it>
10675
10676         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10677
10678         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10679         (TeXRow): added to LaTeX a single tabular row.
10680         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10681         (Latex): simplified and finally good LT-h/f support.
10682         (various_functions): just small adaptions for LT-h/f support.
10683
10684         * tabular_funcs.[hC]: added and moved here all not classfunctions
10685         of LyXTabular.
10686
10687 2001-12-19  Juergen Vigna  <jug@sad.it>
10688
10689         * tabular.[Ch]: better support for longtabular options (not finished
10690         yet!)
10691
10692 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10693
10694         * text.C (paintLastRow): use the label font instead of the font of
10695         the last character to compute the size of *_BOX. This makes more
10696         sense and avoids a crash with empty paragraphs.
10697         Use Painter::rectangle to draw EMPTY_BOX.
10698
10699 2001-12-19  Juergen Vigna  <jug@sad.it>
10700
10701         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10702         the paragraphs if the replaced paragraph is not the first one!
10703         Tried to delete not used paragraphs but does not work yet so for
10704         now it's inside #ifdef's and by default off!
10705
10706 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10707
10708         * MenuBackend.C: include "lyx_main.h" instead of declaring
10709         lastfiles (actually was declared as LastFiles* instead of a
10710         scoped_ptr).
10711
10712 2001-12-17  Juergen Vigna  <jug@sad.it>
10713
10714         * tabular.C (AppendColumn): applied John's fix
10715
10716 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10717
10718         * BufferView.h:
10719         * BufferView.C:
10720         * BufferView_pimpl.h:
10721         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10722
10723         * Makefile.am:
10724         * box.h: new start of class for above
10725
10726         * lyxfunc.C: ignore space-only minibuffer dispatches.
10727           Show the command name when it doesn't exist
10728
10729         * minibuffer.C: don't add empty lines to the history
10730
10731         * minibuffer.C: add a space on dropdown completion
10732
10733 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10734
10735         * text.C: fix line above/below drawing in insets
10736
10737 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10738
10739         * lyxlength.C (LyXLength): Initialize private variables.
10740
10741 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10742
10743         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10744         when inserting error insets.
10745
10746 2001-12-13  Juergen Vigna  <jug@sad.it>
10747
10748         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10749         actually sometimes the before-paragraph.
10750         (setUndo): don't clear the redostack if we're not actually undoing!
10751
10752 2001-12-06  Juergen Vigna  <jug@sad.it>
10753
10754         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10755         and fixed redoing of main paragraph, so we can use it now ;)
10756
10757         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10758
10759 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10760
10761         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10762         Juergen's request
10763
10764 2001-12-13  André Pönitz <poenitz@gmx.net>
10765
10766         * undostack.[Ch]:
10767         * undo_func.C: minor cleanup
10768
10769 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10770
10771         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10772         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10773         font in urw-fonts package which is marked as -urw-fontspecific and
10774         does not work (incidentally, changing the encoding in the
10775         fonts.dir of this package to -adobe-fontspecific fixes the
10776         problem).
10777
10778         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10779         is a crash when undoing first paragraph (Juergen, please take a
10780         look). THis does not mean the undo fix is wrong, just that it
10781         uncovers problems.
10782
10783         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10784         the (Paragraph*) version when needed instead of duplicating the
10785         code.
10786
10787         * text.C (workWidth): use Inset::parOwner to find out where the
10788         inset has been inserted. This is a huge performance gain for large
10789         documents with lots of insets. If Inset::parOwner is not set, fall
10790         back on the brute force method
10791
10792         * paragraph_pimpl.C (insertInset):
10793         * paragraph.C (Paragraph):
10794         (cutIntoMinibuffer): set parOwner of insets when
10795         inserting/removing them
10796
10797         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10798
10799 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10800
10801         * commandtags.h:
10802         * LyXAction.C:
10803         * lyx_main.C:
10804         * lyxfunc.C:
10805         * mathed/formulabase.C:
10806         * mathed/math_cursor.[Ch]:
10807         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10808
10809
10810 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10811
10812         * lyxlength.[Ch] (operator!=): new function
10813
10814 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10815
10816         * text.C (workWidth): use Inset::parOwner to find out where the
10817         inset has been inserted. This is a huge performance gain for large
10818         documents with lots of insets. If Inset::parOwner is not set, fall
10819         back on the brute force method
10820
10821         * paragraph_pimpl.C (insertInset):
10822         * paragraph.C (Paragraph):
10823         (cutIntoMinibuffer): set parOwner of insets when
10824         inserting/removing them
10825
10826         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10827
10828 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10829
10830         * tabular-old.C (getTokenValue):
10831         * tabular.C (getTokenValue):
10832         (write_attribute): new versions for LyXLength
10833         (everywhere): adjust the use of widths
10834
10835         * tabular.h: change the type of widths from string to LyXLength
10836
10837 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10838
10839         * paragraph.C: fixed missing line number count when exporting
10840         Environments to LaTeX file
10841
10842         * buffer.C: added informational message for checking line numbers.
10843
10844 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10845
10846         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10847         paragraph, do the 'double space' part, but not the 'empty
10848         paragraph' one.
10849
10850         * text.C (workWidth): small optimization
10851         (getLengthMarkerHeight): use minimal size for negative lengths.
10852
10853 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10854
10855         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10856
10857         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10858
10859 2001-12-11  André Pönitz <poenitz@gmx.net>
10860
10861         * FontLoader.C:
10862         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10863
10864 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10865
10866         * text2.C: keep selection on a setFont()
10867
10868 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10869
10870         * lyx_cb.C: another bv->text misuse, from insert label
10871
10872 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10873
10874         * kbsequence.h:
10875         * kbsequence.C: re-instate nmodifier mask
10876
10877 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10878
10879         * lyx_main.h: make lyxGUI private.
10880
10881 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10882
10883         * lyxfind.C: place the cursor correctly on failed search
10884
10885 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10886
10887         * text.C (getLengthMarkerHeight): for small heights, the arrows
10888         are not always on top/bottom of the text
10889         (drawLengthMarker): smaller arrows; take the left margin in
10890         account; draw also vfills.
10891         (paintFirstRow):
10892         (paintLastRow): remove special code for vfill and standard spaces,
10893         since everything is handled in drawLengthMarker now.
10894
10895 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10896
10897         * buffer.C (insertErtContents): try to handle font and language
10898         interaction a bit better.g
10899
10900         * ColorHandler.C (updateColor): change the hash to cover the whole
10901         LColor enum, ws cleanup
10902         (getGCLinepars): ditto
10903         (getGCLinepars): only lookup in the linecache once.
10904
10905 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10906
10907         * iterators.C (operator++): Make the iterator more robust
10908
10909         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10910         (John's patch)
10911         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10912
10913 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10914
10915         * lyxtext.h:
10916         * text.C: better added space drawing
10917
10918 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10919
10920         * LyXView.C:
10921         * BufferView2.C: fix layout combo update on inset unlock
10922
10923 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10924
10925         * Makefile.am: don't compile unused files
10926
10927 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10928
10929         * lyxfunc.C:
10930         * commandtags.h:
10931         * LyXAction.C: remove old LFUN_LAYOUTNO
10932
10933 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10934
10935         * paragraph_pimpl.h:
10936         * paragraph_pimpl.C: isTextAt() doesn't need font param
10937
10938 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10939
10940         * lyxlex.h:
10941         * lyxlex.C: little cleanup
10942
10943 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10944
10945         * BufferView_pimpl.C: fix insertAscii for insets
10946
10947 2001-12-05  Juergen Vigna  <jug@sad.it>
10948
10949         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10950         set the right font on the "multi" paragraph paste!
10951
10952 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10953
10954         * trans_decl.h:
10955         * trans_mgr.[Ch]:
10956         * trans.[Ch]:
10957         * lyxgluelength.C:
10958         * lyxlength.C: remove out-commented code.
10959
10960         * BufferView_pimpl:
10961         * CutAndPaste.C:
10962         * DepTable.C:
10963         * buffer.C:
10964         * chset.C:
10965         * lastfiles.C:
10966         * lyxlex.C:
10967         * lyxlex_pimpl.C:
10968         * lyxserver.C:
10969         * screen.C:
10970         * tabular-old.C:
10971         * tabular.C:
10972         * text.C:
10973         * trans_mgr.C:
10974         * vc-backend.C: change "while(" to "while ("
10975
10976         * lyxlength.[Ch]: add zero function to check if length is zero or
10977         not
10978         * lyxgluelength.C: use it
10979
10980 2001-12-05  Allan Rae  <rae@lyx.org>
10981
10982         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10983         Works for 2.95.3, from what I understand of Garst's reports this should
10984         work for other g++ versions.  We're screwed if the abs(int) definition
10985         changed between bugfix releases of gcc.
10986
10987 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10988
10989         * text.C: fix chapter label offset !
10990
10991 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10992
10993         * lyxtext.h:
10994         * text.C: fix hfill at end of line, clean up
10995
10996 2001-12-04  Juergen Vigna  <jug@sad.it>
10997
10998         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10999         that we force an update of the inset and it's owners if neccessary.
11000
11001 2001-12-03  Juergen Vigna  <jug@sad.it>
11002
11003         * text.C (rowLast): simplified code
11004
11005 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11006
11007         * lyxfunc.C: fix show options on timeout
11008
11009 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11010
11011         * screen.C (topCursorVisible): scroll half a page when the cursor
11012         reached top of bottom of screen
11013
11014 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11015
11016         * minibuffer.C: deactivate on loss of focus
11017
11018 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11019
11020         * vspace.[Ch] (operator!=): add operator.
11021
11022 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11023
11024         * BufferView_pimpl.C: refuse to open an inset when
11025         there's a selection.
11026
11027 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11028
11029         * BufferView_pimpl.C: allow to click on RHS of full row insets
11030
11031 2001-11-30  Juergen Vigna  <jug@sad.it>
11032
11033         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11034         insets for undo reasons.
11035
11036 2001-11-28  André Pönitz <poenitz@gmx.net>
11037
11038         * vspace.[Ch]: cosmetical changes
11039
11040 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11041
11042         * LyXAction.h:
11043         * LyXAction.C:
11044         * lyxfunc.h:
11045         * lyxfunc.C:
11046         * kbmap.h:
11047         * kbmap.C:
11048         * lyxrc.C:
11049         * kbsequence.h:
11050         * kbsequence.C: part re-write of old kb code
11051
11052         * Painter.C:
11053         * WorkArea.C: remove Lgb_bug_find_hack
11054
11055 2001-11-30  José Matos <jamatos@fep.up.pt>
11056
11057         * buffer.C (makeDocBookFile): add a comment to point a hack.
11058         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11059         Fixed a double write of labels.
11060
11061 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11062
11063         * LaTeX.C:
11064         * LaTeX.h Fixed bug in LaTeX class where it would not
11065         re-run latex if no depfiles were changed, but the .dvi was removed.
11066
11067 2001-11-28  André Pönitz <poenitz@gmx.net>
11068
11069         * all the files from the change on 2001/11/26:
11070         use lyx::layout_type instead of LyXTextClass::size_type
11071         use lyx::textclass_type instead of LyXTextClassList::size_type
11072
11073 2001-11-29  Juergen Vigna  <jug@sad.it>
11074
11075         * text.C: added support for paragraph::isFreeSpacing()
11076
11077         * buffer.C: same as above
11078
11079         * paragraph.h: inserted isFreeSpacing() function to enable
11080         FreeSpacing inside InsetERT.
11081
11082         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11083         of the paragraph's in the cut/copy buffer to 0!
11084
11085         * text2.C (removeRow): remove the assert as it can!
11086
11087         * lyxtext.h: added helper function firstRow returning firstrow and
11088         made firstrow private again.
11089
11090         * BufferView2.C (lockInset): don't relock if we're already locked!
11091
11092         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11093         the only paragraph.
11094         (removeRow): added Assert::(firstrow)
11095
11096         * debug.C: forgot to add INSETTEXT here.
11097
11098 2001-11-28  Juergen Vigna  <jug@sad.it>
11099
11100         * sp_spell.C (initialize): changed error text to more general
11101         spellchecker command use (not only ispell!)
11102
11103         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11104
11105         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11106
11107 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11108
11109         * vspace.C: initialise lyxgluelength on failure
11110
11111 2001-11-28  Allan Rae  <rae@lyx.org>
11112
11113         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11114         declaration & definition that looks like a function declaration.
11115
11116 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11117
11118         * BufferView2.C (copy):
11119         (copyEnvironment): do not clear the selection when doing a copy.
11120
11121         * text.C (paintFirstRow): compilation fix
11122
11123 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11124
11125         * tabular.C (Latex): correct line count when writing latex.
11126
11127 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11128
11129         * paragraph_pimpl.h:
11130         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11131           bug a bit
11132
11133 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11134
11135         * text.C:
11136         * LColor.h:
11137         * LColor.C: change vfillline->added_space
11138
11139         * text.C: add markers and text for added space
11140
11141         * vspace.C: fix comment
11142
11143 2001-11-28  André Pönitz <poenitz@gmx.net>
11144
11145         * paragraph.C: whitespace changes
11146         * all the other files from the change on 2001/11/26:
11147         change *::pos_type into lyx::pos_type
11148
11149 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11150
11151         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11152         language of the document when inserting error insets.
11153
11154 2001-11-26  André Pönitz <poenitz@gmx.net>
11155
11156         * BufferView_pimpl.[Ch]:
11157         *       CutAndPaste.C:
11158         * buffer.[Ch]:
11159         * lyxcursor.[Ch]:
11160         * lyxfind.C:
11161         * lyxfunc.C:
11162         * lyxrow.[Ch]:
11163         * paragraph.[Ch]:
11164         * paragraph_pimpl.[Ch]:
11165         * sp_spell.C:
11166         * text.C:
11167         * text2.C: reduce header dependencies, introduce type for positions
11168
11169 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11170
11171         * <various>: change to use Alert.h
11172
11173 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11174
11175         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11176         when encountering an unknown token.
11177         (readLyXformat2): Show an error message if there were unknown tokens.
11178
11179 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11180
11181         * BufferView2.C:
11182         * BufferView_pimpl.C:
11183         * buffer.C:
11184         * paragraph.h:
11185         * text.C:
11186         * text2.C: use par->isInset()
11187
11188 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11189
11190         * paragraph_pimpl.h:
11191         * paragraph_pimpl.C: cleanup
11192
11193 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11194
11195         * text2.C (removeRow):
11196         * text.C (setHeightOfRow): remove useless (and costly) call to
11197         getRow.
11198
11199 2001-11-20  Allan Rae  <rae@lyx.org>
11200
11201         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11202         Now need Inset*::checkInsertChar() to return true for appropriate
11203         cases so that the characters in the minibuffer will actually be
11204         inserted.
11205
11206 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11207
11208         * text.C: change the order of the includes.
11209         (workWidth): initialize it at once.
11210         (workWidth): make maxw unsigned
11211         (setHeightOfRow): remove unused variable (inset)
11212         (selectSelectedWord): remove unused variable (inset)
11213         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11214
11215 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11216
11217         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11218         server is not running.
11219         (openConnection):
11220         (closeConnection): add debug info when server is disabled.
11221
11222         * ColorHandler.C (getGCForeground): send debug message to GUI
11223         channel.
11224
11225         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11226
11227         * kbmap.C (bind): modify because return conventions of
11228         kb_sequence::parse have changed.
11229
11230         * kbsequence.C (parse): only ignore spaces and not any stupid
11231         control character. This avoids tests like s[i] <= ' ', which are
11232         guaranteed to fail with 8bit characters and signed chars.
11233         Change return code to string::npos when there have been no error
11234         (0 was a bad idea when error is at first character)
11235
11236 2001-11-14  José Matos  <jamatos@fep.up.pt>
11237
11238         * buffer.h:
11239         * buffer.C (simpleDocBookOnePar): removed unused argument.
11240
11241 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11242
11243         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11244         insets which are part of a word. Paragraph::isLetter takes care of
11245         that now. Use Paragraph::isInset to identify insets.
11246         (selectSelectedWord): do not test for hyphenation break.
11247
11248         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11249         that protected spaces are considered as spaces.
11250
11251         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11252         Inset::isLetter.
11253
11254 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11255
11256         * lyxserver.h:
11257         * lyxserver.C: fix it. and small cleanup.
11258
11259 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11260
11261         * BufferView_pimpl.C: use inline helpers
11262
11263         * LaTeXFeatures.h:
11264         * LaTeXFeatures.C: fix typos
11265
11266         * Spacing.h:
11267         * Spacing.C: move spacing_string into class
11268
11269         * ToolbarDefaults.C: move stuff into namespace anon
11270
11271         * layout.h: update enum
11272
11273         * lyxfunc.C: use better debug
11274
11275         * minibuffer.h: fix typo
11276
11277         * debug.h:
11278         * debug.C:
11279         * WorkArea.C: add and use Debug::WORKAREA
11280
11281         * lyxtext.h:
11282         * text.C:
11283         * text2.C: code re-organisation, inline helpers
11284
11285 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11286
11287         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11288         std::vector.empty().
11289
11290 2001-11-09  Allan Rae  <rae@lyx.org>
11291
11292         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11293         '\n's after tables.  Tabular and ERT inset work now makes this no
11294         longer necessary.
11295
11296 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11297
11298         * minibuffer.h:
11299         * minibuffer.C: fix crash, improve drop-down completion
11300
11301 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11302
11303         * lyxserver.h:
11304         * lyxserver.C: invalidate fd's when doing endPipe()
11305
11306 2001-11-08  José Matos  <jamatos@fep.up.pt>
11307
11308         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11309         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11310
11311         * paragraph.h:
11312         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11313
11314 2001-11-07  José Matos  <jamatos@fep.up.pt>
11315
11316         * buffer.h:
11317         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11318         const qualifier.
11319
11320         * buffer.C (sgmlOpenTag):
11321         * buffer.C (sgmlCloseTag): removed debug info.
11322
11323         * buffer.h (sgmlOpenTag):
11324         * buffer.h (sgmlCloseTag): made public.
11325
11326 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11327
11328         * buffer.C (saveParamsAsDefaults):
11329         * lyx_cb.C (MenuLayoutSave): remove
11330
11331         * LyXAction.C (init):
11332         * commandtags.h:
11333         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11334
11335 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11336
11337         * buffer.C (setPaperStuff): removed from here...
11338
11339         * bufferparams.C (setPaperStuff): ... and moved there.
11340
11341 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11342
11343         * minibuffer.h:
11344         * minibuffer.C:
11345         * XFormsView.C: add support for drop-down completion
11346
11347 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11348
11349         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11350         commands.
11351
11352 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11353
11354         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11355         disabled.
11356
11357 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11358
11359         * lyx_main.C: change ref to known bugs
11360
11361 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11362
11363         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11364         to work around older babel problems.
11365
11366 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11367
11368         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11369
11370 2001-10-24  Juergen Vigna  <jug@sad.it>
11371
11372         * tabular-old.C (ReadOld): below variable changes reflected.
11373
11374         * tabular.[Ch]: added ltType struct for longtable header/footer
11375         defines and changed all instances where they are used. Added
11376         future support for double top/bottom rows.
11377
11378 2001-10-24  José Matos  <jamatos@fep.up.pt>
11379
11380         * buffer.h (docbookHandleCaption):
11381         * buffer.C (docbookHandleCaption): removed unused function.
11382         (makeDocBookFile): moved docbook supported version to v4.1.
11383
11384 2001-10-24  José Matos  <jamatos@fep.up.pt>
11385
11386         * tabular.h:
11387         * tabular.C (docbookRow): new function to export docbook code of a row.
11388         (DocBook): now honors the longtable flags.
11389
11390 2001-10-23  José Matos  <jamatos@fep.up.pt>
11391
11392         * LaTeXFeatures.h:
11393         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11394         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11395
11396         * buffer.C (makeLinuxDocFile):
11397         (makeDocBookFile): reworked the preamble, more clean, and with
11398         support for lyx defined entities. Changed the document declaration
11399         to be more XML friendly.
11400
11401         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11402         if we need to output XML that should be done with a filter.
11403
11404 2001-10-22  Juergen Vigna  <jug@sad.it>
11405
11406         * sp_pspell.h (class PSpell): add alive function needed in the
11407         controller to see if the spellchecker could be started.
11408
11409 2001-10-22  Juergen Vigna  <jug@sad.it>
11410
11411         * buffer.C (insertStringAsLines): modify the font for inserting
11412         chars in certain conditions by calling checkInsertChar(font).
11413
11414 2001-10-19  Juergen Vigna  <jug@sad.it>
11415
11416         * text.C (workWidth): use getRow instead of wrong algorithm.
11417         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11418
11419 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11420
11421         * lyxserver.h:
11422         * lyxserver.C:
11423         * lyx_main.h:
11424         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11425
11426 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11427
11428         * text.C (workWidth): do not search for the exact row when
11429         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11430         optimization for big documents.
11431
11432 2001-10-18  Juergen Vigna  <jug@sad.it>
11433
11434         * text.C (workWidth): new function with added Inset * parameter.
11435
11436 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11437
11438         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11439
11440         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11441         change return type of getColumnNearX.
11442
11443
11444         * text.C (changeRegionCase): use uppercase/lowercase instead of
11445         toupper/tolower.
11446         (leftMargin):
11447         (rightMargin): simplify code by factoring out the uses of
11448         textclasslist.
11449         (labelFill):
11450         (numberOfHfills):
11451         (setHeightOfRow):
11452         (appendParagraph): use Paragraph::size_type
11453
11454 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11455
11456         * vspace.C (asLatexString): add a missing break
11457
11458 2001-10-15  Herbert Voss  <voss@perce.de>
11459
11460         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11461
11462 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11463
11464         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11465         is not available.
11466
11467 2001-10-10  André Pönitz <poenitz@gmx.net>
11468
11469         * lyxfunc.C: removed greek_kb_flag.
11470
11471 2001-10-10  Herbert Voss  <voss@perce.de>
11472
11473         * lyx_main.C: delete global string help_lyxdir.
11474
11475 2001-10-09  Herbert Voss  <voss@perce.de>
11476
11477         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11478
11479         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11480
11481         * lyx_main.C: added global string help_lyxdir.
11482
11483         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11484
11485 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11486
11487         * lyxrc.C (set_font_norm_type): support iso8859-4
11488
11489 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11490
11491         * LaTeX.C (deplog): add another regex for MikTeX
11492
11493 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11494
11495         * lyxrc.C (set_font_norm_type): support iso8859-3
11496
11497 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11498
11499         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11500
11501         * LaTeXFeatures.C: remove special case of french and index
11502
11503         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11504         before \begin{document}). This solves several incompatibilities.
11505
11506 2001-10-03  Garst Reese  <reese@isn.net>
11507
11508         * lyx_cb.C: change CheckTex error msg.
11509
11510 2001-10-03  José Matos  <jamatos@fep.up.pt>
11511
11512         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11513
11514 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11515
11516         * .cvsignore: update
11517
11518         * lyx_main.C (commandLineVersionInfo): use new style version info.
11519
11520         * buffer.C (writeFile):
11521         (makeLaTeXFile):
11522         (makeLinuxDocFile):
11523         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11524
11525         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11526
11527         * version.h: update to use stuff in version.C
11528
11529         * version.C.in: new file. Contains version information determined
11530         at compile time. This is a merging of version.h and
11531         version_info.h.in.
11532
11533 2001-10-03  Juergen Vigna  <jug@sad.it>
11534
11535         * BufferView_pimpl.C (update): don't change "dirty" status in
11536         updateInset call.
11537
11538 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11539
11540         * WorkArea.C (c-tor): re-position version string slightly.
11541
11542 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11543
11544         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11545         revert to previous code.
11546
11547         WorkArea.[Ch]: (show, destroySplash): methods removed.
11548
11549         WorkArea.C: rework code so that it's an amalgam of the codes before and
11550         after the splash screen was moved to WorkArea.
11551
11552 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11553
11554         * lyxrc.C (read):
11555         * vspace.C (inPixels):
11556         (lyx_advance):
11557         * kbmap.C (bind):
11558         * buffer.C (insertStringAsLines):
11559         (asciiParagraph): fix types to be large enough
11560
11561         * lyxlex_pimpl.h: change member status from short to int
11562
11563         * layout.h: fix type of endlabeltype
11564
11565         * kbmap.C (bind):
11566         * kbsequence.C (parse): change return type to string::size_type
11567
11568         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11569         variable
11570
11571         * Bullet.C (bulletSize):
11572         (bulletEntry): do not use short ints as parameters
11573
11574         * BufferView2.C (insertLyXFile): change a char to an int.
11575
11576         * WorkArea.C (WorkArea): remove unneeded floats in computation
11577
11578 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11579
11580         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11581
11582         * paragraph.C (asString): Do not ignore newline/hfill chars when
11583         copying to the clipboard.
11584
11585 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11586
11587         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11588         after a multi-line inset.
11589
11590 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11591
11592         * paragraph.C (validate): Set NeedLyXFootnoteCode
11593
11594 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11595
11596         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11597         and decrease-error to decrease.
11598
11599 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11600
11601         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11602         it more readable (should be equivalent)
11603
11604 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11605
11606         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11607
11608 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11609
11610         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11611         of a cursor (row, etc.) after a character has been deleted
11612         (deleteEmptyParagraphMechanism): call the method above on _all_
11613         cursors held by the LyXText when a double space has been
11614         detected/deleted.
11615
11616 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11617
11618         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11619         pixmap.
11620         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11621
11622         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11623         background. Use greyOut() and the new show() methods to toggle between
11624         the foreground and background. Add code to remove the splash after
11625         its initial showing.
11626
11627         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11628         (create_forms): no longer call Dialogs::showSplash.
11629
11630 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11631
11632         * .cvsignore: add version_info.h
11633
11634 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11635
11636         * version_info.h.in: new file
11637
11638         * Makefile.am: add version_info.h.in
11639
11640         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11641         version_info.h instead of VERSION_INFO
11642
11643 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11644
11645         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11646         The ERT inset now returns string().
11647
11648 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11649
11650         * lyxtext.h, text.C (selectNextWord): renamed as
11651         selectNextWordToSpellcheck.
11652
11653         * text.C (selectNextWordToSpellcheck): Modified to not select
11654         words inside an ERT inset.
11655
11656 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11657
11658         * lyx_cb.C (MenuLayoutSave): change a bit the question
11659
11660         * sp_base.h: include <sys/types.h>
11661
11662 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11663
11664         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11665
11666 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11667
11668         * several files: fix typos in user-visible strings
11669
11670 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11671
11672         * text2.C (pasteSelection): do not set the selection, since it
11673         will be cleared later. Actually, the intent was to fix the way the
11674         selection was set, but I figured rmoving the code was just as good.
11675
11676 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11677
11678         * FontLoader.C (available): Check if font is available without
11679         loading the font.
11680
11681 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11682
11683         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11684
11685 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11686
11687         * lyxrc.[Ch]: added display_graphics variable and associated code.
11688
11689 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11690
11691         * bufferparams.C (hasClassDefaults): new method. Returns true if
11692         the buffer parameters correspond to known class defaults
11693
11694 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11695
11696         * XFormsView.C (show): set minimum size to the main window.
11697
11698 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11699
11700         * text2.C (copySelection):
11701         (cutSelection):
11702         * lyxfind.C (LyXReplace):
11703         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11704         LyXText::selectionAsString.
11705
11706         * paragraph.C (asString): add "label" argument to the second form
11707
11708         * text2.C (selectionAsString): add "label" argument and pass it to
11709         Paragraph::asString.
11710
11711 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11712
11713         * lyx_main.C (commandLineHelp): remove version information
11714
11715 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11716
11717         * lyx_main.C: add -version commandline option
11718
11719 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11720
11721         * paragraph.h: make the optional constructor arg required instead.
11722         some modifications to other files because of this.
11723
11724         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11725
11726         * lyxserver.C (C_LyXComm_callback): make it static
11727
11728         * lyx_main.C (error_handler): make it static
11729
11730         * lyx_gui.C (LyX_XErrHandler): make it static
11731
11732         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11733
11734         * WorkArea.C: make the extern "C" methods static.
11735
11736         * Makefile.am (lyx_LDADD): simplify
11737
11738 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11739
11740         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11741         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11742
11743         * LyXAction.C (init):
11744         * lyxfunc.C (dispatch): associated code removal.
11745
11746 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11747
11748         * lyxfont.h (isSymbolFont): shut off warning
11749
11750         * text.C (setHeightOfRow):
11751         (getVisibleRow): fix crash with empty paragraphs which have a
11752         bottom line
11753
11754 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11755
11756         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11757         code.
11758
11759 2001-09-04  José Matos  <jamatos@fep.up.pt>
11760         * buffer.C
11761         * buffer.h
11762         * tabular.C (docbook): rename docBook method to docbook.
11763
11764 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11765
11766         * Makefile.am: add dependencies to main.o.
11767
11768 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11769
11770         * FontLoader.C (available): Return false if !lyxrc.use_gui
11771
11772 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11773
11774         * FontInfo.C (query):
11775         * converter.C (view):
11776         * importer.C (Import):
11777         * exporter.C (Export): Can not -> cannot.
11778
11779 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11780
11781         * BufferView_pimpl.C: allow to create index inset even if
11782           string is empty
11783
11784 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11785
11786         * buffer.C (getLists): replace boost::tie code with an explicit pair
11787         as boost::tie can break some compilers.
11788
11789         * iterators.h: Added a std:: declaration to the return type of
11790         ParIterator::size.
11791
11792 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11793
11794         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11795           case.
11796
11797 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11798
11799         * iterators.[Ch]: New files. Provide paragraph iterators.
11800
11801         * buffer.C (changeLanguage): Use paragraph iterators.
11802         (isMultiLingual): ditto
11803
11804         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11805
11806 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11807
11808         * FontLoader.C: Support for cmr font.
11809
11810 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11811
11812         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11813         (available): New method.
11814
11815         * FontInfo.C (getFontname): Use scalable fonts even when
11816         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11817         found.
11818
11819 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11820
11821         * converter.C (Formats::view): reverted! Incorrect fix.
11822
11823 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11824
11825         * converter.C (Formats::view): only output the -paper option
11826         if the dvi viewer is xdvi, thereby fixing bug #233429.
11827
11828 2001-08-23  Herbert Voss  <voss@perce>
11829
11830         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11831
11832 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11833
11834         * Spacing.h (Spacing): Set space to Default on in the default
11835         constructor.
11836
11837 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11838
11839         * vc-backend.h (RCS::versionString): add RCS to version
11840         (CVS::versionString): add CVS to version
11841
11842         * vc-backend.C (scanMaster): do not add CVS to version.
11843         (scanMaster): do not add RCS to version
11844
11845         * lyxvc.C (versionString): new method
11846
11847         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11848
11849 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11850
11851         * Spacing.C (set): initialize fval
11852
11853 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11854
11855         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11856         " or \.
11857
11858 2001-08-16  Juergen Vigna  <jug@sad.it>
11859
11860         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11861
11862 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11863
11864         * BufferView_pimpl.C:
11865         * figureForm.C:
11866         * lyxtext.h:
11867         * text2.C: setParagraph takes linespacing now
11868
11869 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11870
11871         * LyxAction.C: add internal LFUN_CITATION_INSERT
11872
11873         * LyXView.C: actually apply fix
11874
11875         * bufferlist.C: fix open non-existent file
11876
11877         * lyxfind.C: fix indentation
11878
11879         * lyxfunc.C: remove unneeded assert, fix typo
11880
11881 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11882
11883         * MenuBackend.C: use "Floatname List"
11884
11885 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11886
11887         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11888         when converting LaTeX layout to insetERT.
11889         Generate a non-collapsed float when reading old float
11890
11891 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11892
11893         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11894         ERT insets.
11895
11896 2001-08-13  Juergen Vigna  <jug@sad.it>
11897
11898         * text.C (fill): return 0 instead of 20 as this seems to be the more
11899         correct value.
11900
11901 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11902
11903         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11904         lyxrc.font_norm.
11905
11906 2001-08-13  Juergen Vigna  <jug@sad.it>
11907
11908         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11909         casesensitive off.
11910         (SearchBackward): comment out the unlocking of the inset_owner this
11911         should not be needed!
11912
11913 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11914
11915         * Many files: Remove inherit_language, and add latex_language
11916
11917         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11918         collapsible insets.
11919
11920 2001-08-10  Juergen Vigna  <jug@sad.it>
11921
11922         * text.C (prepareToPrint): fixed hfill-width in draw!
11923
11924         * BufferView2.C (selectLastWord): save the selection cursor as this
11925         now is cleared in the function LyXText::clearSelection!
11926
11927 2001-08-08  Juergen Vigna  <jug@sad.it>
11928
11929         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11930         BACKSPACE type functions.
11931
11932         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11933         is only cutted from the document but not put in the cut-buffer, where
11934         still the old stuff should be.
11935
11936         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11937
11938         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11939
11940         * tabular.C (SetWidthOfCell): fixed special case where the width
11941         was not updated!
11942         (LeftLine): handle '|' in align_special.
11943         (RightLine): ditto
11944         (LeftAlreadyDrawed): ditto
11945         (SetWidthOfCell): ditto
11946
11947 2001-08-07  Juergen Vigna  <jug@sad.it>
11948
11949         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11950
11951 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11952
11953         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11954         * lyxlex.[hC]: ditto
11955
11956 2001-08-06  Juergen Vigna  <jug@sad.it>
11957
11958         * text.C (getVisibleRow): fix up row clearing a bit.
11959
11960 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11961
11962         * minibuffer.C: make sure the X server sees the changes in the input.
11963
11964 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11965
11966         * paragraph.C (getFont): split into...
11967         (getLabelFont): this
11968         (getLayoutFont): and this
11969         * paragraph_pimpl.C (realizeFont): calling this
11970
11971         * text2.C (getFont): split into...
11972         (getLayoutFont): this
11973         (getLabelFont): and this
11974         (realizeFont): all three calling this
11975
11976         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11977         files where used.
11978
11979 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11980
11981         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11982
11983 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11984
11985         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11986         layouts from the Quote inset insertion.
11987
11988 2001-08-03  Juergen Vigna  <jug@sad.it>
11989
11990         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11991
11992         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11993         only if status not is already CHANGED_IN_DRAW (second level).
11994
11995         * text.C (draw): don't set the need_break_row when inside an
11996         InsetText LyXText.
11997
11998 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11999
12000         * buffer.C (parseSingleLyXformat2Token): handle more latex
12001         conversion cases.
12002
12003         * bufferview_funcs.[hC]: change function names to
12004         begin with small char, adjust other files.
12005
12006 2001-08-02  André Pönitz <poenitz@gmx.net>
12007
12008         * lyxfunc.C:
12009         BufferView_pimpl.C: remove broken special code for math-greek
12010
12011 2001-08-02  Juergen Vigna  <jug@sad.it>
12012
12013         * BufferView_pimpl.C (update): redone this function so that we
12014         update the text again if there was a CHANGE_IN_DRAW.
12015
12016         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12017         (drawFromTo): added a new internal bool which is used by draw() and
12018         redraw() function.
12019         (general): some cursor drawing problems fixed.
12020
12021 2001-08-01  Juergen Vigna  <jug@sad.it>
12022
12023         * lyxfind.C (LyXFind): fixed
12024         (SearchForward): ditto
12025         (SearchBackward): ditto
12026
12027         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12028         spurius drawing of the cursor in the main area.
12029
12030         * text2.C (status): small fix which could lead to a segfault!
12031         (clearSelection): remove unneeded BufferView param.
12032
12033 2001-08-01  André Pönitz <poenitz@gmx.net>
12034
12035         * lyxfunc.C: small change due to changed mathed interface
12036
12037 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12038
12039         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12040
12041 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12042
12043         * lyxfunc.c: fail gracefully if file doesn't exist
12044
12045         * LyXSendto.C:
12046         * buffer.C:
12047         * lyxfunc.C:
12048         * BufferView_pimpl.C: IsDirWriteable() proto changed
12049
12050         * LyXView.C: fix updateWindowTitle() to store the last title
12051
12052 2001-07-31  Juergen Vigna  <jug@sad.it>
12053
12054         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12055         the font (wrong since using of Paragraph::highestFontInRange).
12056
12057         * paragraph.C (highestFontInRange): added a default_size parameter.
12058
12059         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12060         (setHeightOfRow): reformat
12061
12062 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12063
12064         * converter.[hC] + affected files: move to (inital-char)lowercase
12065         function names.
12066
12067         * ParagraphParameters.C (ParagraphParameters): remove commented code
12068
12069         * PainterBase.[Ch]: remove commented code
12070
12071         * LaTeXFeatures.h: add "bool floats" for float.sty
12072
12073         * LaTeXFeatures.C (LaTeXFeatures): init floats
12074         (require): handle float
12075         (getPackages): do it with floats
12076
12077 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12078
12079         * BufferView_pimpl.C (Dispatch): improve handling of
12080         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12081
12082         * commandtags.h: #include lyxfont.h here temporarily to avoid
12083         keybinding bug.
12084
12085         * bufferlist.h: include LString.h here.
12086
12087 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12088
12089         * text2.C (getStringToIndex): new method.
12090
12091 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12092
12093         * *: Reduced header file dependencies all over.
12094
12095 2001-07-30  Baruch Even  <baruch@lyx.org>
12096
12097         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12098
12099 2001-07-29  Baruch Even  <baruch@lyx.org>
12100
12101         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12102
12103 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12104
12105         * ParameterStruct.h (endif): add a default constructor to make
12106         sure that all variables is initialized.
12107
12108         * ParagraphParameters.C (ParagraphParameters): adjust
12109
12110 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12111
12112         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12113         index; also, check that there is something to index, and that it
12114         does not span over several paragraphs.
12115         (doubleClick): use WHOLE_WORD_STRICT for double click.
12116
12117         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12118
12119         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12120         scheme.
12121
12122 2001-07-26  Baruch Even  <baruch@lyx.org>
12123
12124         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12125         an InsetFig figure, backwards compatible reading of old figure code.
12126
12127 2001-07-27  Juergen Vigna  <jug@sad.it>
12128
12129         * text2.C: font.realize function adaption.
12130
12131         * text.C (draw): add a warnings lyxerr text if needed.
12132
12133         * layout.C: font.realize function adaption.
12134
12135         * language.C: add inherit_language and implement it's handlings
12136
12137         * bufferview_funcs.C (StyleReset): remove language parameter from
12138         font creation (should be language_inherit now).
12139
12140         * bufferparams.C (writeFile): handle ignore_language.
12141
12142         * paragraph.C (getFontSettings): the language has to be resolved
12143         otherwise we have problems in LyXFont!
12144
12145         * lyxfont.C (lyxWriteChanges): added document_language parameter
12146         (update): removed unneeded language parameter
12147
12148         * paragraph.C (validate): fixed wrong output of color-package when
12149         using interface colors for certain fonts in certain environments,
12150         which should not seen as that on the final output.
12151
12152 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12153
12154         * BufferView_pimpl.C:
12155         * Thesaurus.h:
12156         * Thesaurus.C:
12157         * Makefile.am:
12158         * commandtags.h:
12159         * LyXAction.C: add thesaurus support
12160
12161         * lyxfind.h:
12162         * lyxfind.C: add "once" parameter, for thesaurus, to not
12163           move to the next match
12164
12165 2001-07-26  Juergen Vigna  <jug@sad.it>
12166
12167         * lyxfont.C (realize): honor ignore_language too!
12168         (resolved): ditto.
12169
12170         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12171
12172         * text.C (draw): one place more for ignore_language to not draw
12173         itself!
12174
12175 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12176
12177         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12178
12179 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12180
12181         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12182         the minipage conversion problem.
12183
12184 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12185
12186         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12187         insert an inset.
12188
12189 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12190
12191         * BufferView.h: don't forward declare WorkArea
12192
12193         * BufferView.C: don't include WorkArea.h
12194
12195 2001-07-25  André Pönitz <poenitz@gmx.net>
12196
12197         * commandtags.h:
12198         * LyXAction.C:
12199         * lyxfunc.C:  new LFUN 'math-space'
12200
12201         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12202
12203 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12204
12205         * text2.C (toggleInset): call open/close
12206
12207 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12208
12209         * lyxfunc.C (dispatch): add debug for the disabled case
12210
12211         * font.C (buttonText): make similar to rectText
12212
12213         * buffer.C (readInset): comment out parsing of insetlist and
12214         insttheorem
12215
12216         * PainterBase.C (rectText): small correction
12217
12218         * BufferView_pimpl.C: comment out insettheorem and insetlist
12219         * LyXAction.C: ditto
12220         * commandtags.h: ditto
12221
12222 2001-07-24  Juergen Vigna  <jug@sad.it>
12223
12224         * text.C (draw): honor the ignore_language.
12225
12226         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12227
12228 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12229
12230         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12231         char inset.
12232
12233 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12234
12235         * lyxtext.h: remove unused (and unimplemented) methods
12236
12237 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12238
12239         * text.C (getVisibleRow): honor background color
12240
12241         * PainterBase.h:
12242         * Painter.h: remove default color argument for fillRectangle
12243
12244         * text.C (backgroundColor): new method
12245
12246 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12247
12248         * text.C (getVisibleRow): adjust
12249
12250         * font.[Ch] (rectText): new method, metrics
12251         (buttonText): new method, metrics
12252
12253         * PainterBase.[hC]: make rectText and buttonText always draw and take
12254         fewer paramteres.
12255
12256 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12257
12258         * ToolbarDefaults.C (read):
12259         * MenuBackend.C (read): allow escaping in all strings
12260
12261         * BufferView_pimpl.C (insertAndEditInset): new method.
12262         (Dispatch): use insertAndEditInset whenever appropriate.
12263
12264         * BufferView_pimpl.C (insertNote): removed
12265
12266         * BufferView_pimpl.C (smartQuote): new method, moved from
12267         BufferView; if an insetquote cannot be inserted, insert a '"'
12268         character instead.
12269
12270         * BufferView2.C: remove insertCorrectQuote();
12271
12272         * lyxfunc.C (getStatus): Add support for all remaingin
12273         inset-insert lfuns.
12274
12275         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12276
12277         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12278         command (necessary to pass " as parameter of self-insert.
12279
12280         * text.C (selectWordWhenUnderCursor):
12281         (selectWord): add word_location parameter
12282         (selectWordWhenUnderCursor): same + remove special code for word
12283         boundary.
12284         (selectNextWord): use kind() to guess type of insetspecialchar,
12285         not latex().
12286
12287         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12288         (insertErtContents): create ert insets as collapsed.
12289         (readInset): better compatibility code for Info inset.
12290
12291 2001-07-20  Juergen Vigna  <jug@sad.it>
12292
12293         * lyxfunc.C (dispatch): use always LyXFind now!
12294
12295         * text2.C (init): add a reinit flag so that the LyXText can be
12296         reinited instead of deleted and reallocated (used in InsetText).
12297
12298         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12299
12300         * text.C: ditto
12301
12302         * text2.C: ditto
12303
12304 2001-07-18  Juergen Vigna  <jug@sad.it>
12305
12306         * text.C (selectNextWord): handle insets inside inset by calling
12307         always the bv->text functions so that we can go up the_locking_inset!
12308
12309         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12310         in strange locations when inside an inset!
12311
12312         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12313         handling to include insets.
12314
12315         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12316
12317 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12318
12319         * LyXAction.C (init):
12320         * commandtags.h:
12321         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12322         LIGATURE_BREAK, since the name is so stupid.
12323
12324 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12325
12326         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12327         InsetInfos.
12328
12329         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12330
12331         * sp_form.[Ch]: remove.
12332
12333         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12334
12335         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12336         InsetInfo.
12337
12338         * src/buffer.C (readInset): ditto.
12339
12340 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12341
12342         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12343         menuSeparator(), endOfSentenceDot(), ldots() and
12344         hyphenationPoint(), which are therefore removed.
12345         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12346
12347         * LyXAction.C (init):
12348         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12349
12350         * paragraph.C (getWord): removed.
12351
12352         * BufferView_pimpl.C (Dispatch): use last word or selection for
12353         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12354
12355         * lyx_main.C (queryUserLyXDir): do not ask before creating
12356         user_dir, except if it has been named explicitely.
12357
12358 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12359
12360         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12361         a document of zero size.
12362
12363 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12364
12365         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12366         approriately in the c-tor and in require().
12367         (getPackages): output the appropriate LaTeX for natbib support.
12368
12369         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12370         variables "use_natbib" and "use_numerical_citations" when reading the
12371         LyX file.
12372         (readInset): read the various natbib cite commands.
12373         (validate): white-space change.
12374
12375         * bufferparams.[Ch]: new variables "bool use_natbib" and
12376         "bool use_numerical_citations".
12377         (writeFile): output them in the LyX file.
12378
12379 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12380
12381         * lyxfunc.C (getStatus): add support for all the inset insertion
12382         commands.
12383
12384         * text2.C (insertInset):
12385         * paragraph.C (insetAllowed):
12386         * BufferView_pimpl.C (insertInset): update to take in account the
12387         renaming of insertInsetAllowed
12388
12389         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12390
12391         * text2.C (getInset): new method. returns inset at cursor position.
12392
12393         * BufferView_pimpl.C (Dispatch): changes because of this.
12394
12395         * LyXAction.C (init): rename open-stuff to inset-toggle.
12396
12397         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12398
12399         * text2.C (toggleInset): renamed from openStuff; use
12400         Inset::open().
12401
12402 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12403
12404         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12405
12406         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12407
12408 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12409
12410         * buffer.C (readLyXformat2): Add filename to the error dialog
12411
12412 2001-07-18  Juergen Vigna  <jug@sad.it>
12413
12414         * tabular.C (GetCellNumber): put an assert here instead of the check!
12415
12416 2001-07-17  Juergen Vigna  <jug@sad.it>
12417
12418         * BufferView_pimpl.C (toggleSelection): adapted too.
12419
12420         * text.C (selectNextWord): adapted for use with insets.
12421         (selectSelectedWord): ditto
12422
12423 2001-07-17  Juergen Vigna  <jug@sad.it>
12424
12425         * sp_spell.C (PSpell): fix initialitation order.
12426
12427 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12428
12429         * paragraph.C: spacing
12430
12431 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12432
12433         * sp_spell.C: repair language selection for pspell
12434
12435 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12436
12437         * lyxfunc.h: change more methods to begin with lower char.
12438
12439 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12440
12441         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12442         for unknown layouts.
12443
12444 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12445
12446         * buffer.C (readLyXformat2): Generate an error dialog if there are
12447         unknown layouts.
12448
12449 2001-07-16  Juergen Vigna  <jug@sad.it>
12450
12451         * sp_spell.C: always compile ISpell part.
12452
12453         * lyxrc.C: added use_pspell entry and it's handling.
12454
12455 2001-07-13  Juergen Vigna  <jug@sad.it>
12456
12457         * sp_spell.C: removed double includes.
12458
12459 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12460
12461         Consistent use of Lsstream.h:
12462         * Lsstream.h: added using std::stringstream for consistencies sake.
12463
12464         * buffer.C: removed using std::stringstream
12465
12466         * lyxfont.C (stateText):
12467         * paragraph.C (asString):
12468         * text.C (selectNextWord, selectSelectedWord):
12469         * text2.C (setCounter):
12470         * vspace.C (asString, asLatexString):
12471         std::ostringstream -> ostringstream.
12472
12473 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12474
12475         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12476         * commandtags.h: add LFUN_HELP_ABOUTLYX
12477         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12478
12479 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12480
12481         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12482         cursorToggle()
12483         * lyx_gui_misc.C: remove spellchecker
12484         * lyxfunc.C: showSpellchecker
12485         * sp_base.h: added
12486         * sp_ispell.h: added
12487         * sp_pspell.h: added
12488         * sp_spell.C: added
12489         * sp_form.[Ch]: removed
12490         * spellchecker.[Ch]: removed
12491
12492 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12493
12494         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12495         is set.
12496         (simpleTeXSpecialChars): Simply print the input character without
12497         any special translation if pass_thru is set.
12498
12499         * layout.h: Added bool pass_thru to layout class for being able to
12500         implement pass through of a paragraph for Literate Programming.
12501
12502         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12503         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12504         * layout.C (Read): add "passthru" to list of layout tags and add
12505         code to set the pass_thru boolean when it is read.
12506
12507 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12508
12509         * trans_decl.h: remove allowed from KmodInfo
12510
12511         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12512         remove allowed code
12513         (Load): adjust
12514
12515         * paragraph_pimpl.C (erase): use boost::prior
12516
12517         * Painter.C (text): use data() instead of c_str() when length is
12518         also provided.
12519         * WorkArea.C (putClipboard): ditto
12520         * font.h (width): ditto
12521
12522         * BufferView2.C: use it-> instead of (*it). for iterators
12523         * texrow.C: ditto
12524         * paragraph_pimpl.C: ditto
12525         * paragraph.C: ditto
12526         * minibuffer.C: ditto
12527         * language.C: ditto
12528         * kbmap.C: ditto
12529         * encoding.C: ditto
12530         * counters.C: ditto
12531         * converter.C: ditto
12532         * chset.C: ditto
12533         * Variables.C: ditto
12534         * TextCache.C: ditto
12535         * MenuBackend.C: ditto
12536         * LyXAction.C: ditto
12537         * LColor.C: ditto
12538         * FloatList.C: ditto
12539         * DepTable.C: ditto
12540         * ColorHandler.C (LyXColorHandler): ditto
12541
12542 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12543
12544         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12545
12546         * text2.C (openStuff): reintroduce this method (which had been
12547         nuked in NEW_INSETS frenzy).
12548
12549         * lyxfunc.C (Dispatch): when an action has not been handled, use
12550         its name in the error message, not its number.
12551
12552         * paragraph.C (inInset): change method name to begin with lowercase.
12553
12554         * undo_funcs.C:
12555         * text2.C: updates because of this.
12556
12557 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12558
12559         * ToolbarDefaults.C (add): add spaces in error message
12560
12561 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12562
12563         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12564         (readLyXformat2): rename return_par to first_par, use lyxlex's
12565         pushToken and remove the manual push handling.
12566         (parseSingleLyXformat2Token): add another ert comp. variable:
12567         in_tabular, rename return_par to first_par. handle newlines better
12568
12569 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12570
12571         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12572
12573 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12574
12575         * text2.C (getParFromID): removed
12576
12577         * buffer.C (getParFromID): new method moved form lyxtext.
12578         * BufferView2.C (insertErrors): adjust
12579         (setCursorFromRow): adjust
12580         * BufferView_pimpl.C (restorePosition): adjust
12581         * lyxfunc.C (Dispatch): adjust
12582         * undo_funcs.C (textUndo): adjust
12583         (textRedo): adjust
12584         (textHandleUndo): adjust
12585         (textHandleUndo): adjust
12586
12587 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12588
12589         * buffer.C: up' the LYX_FORMAT
12590
12591         * lyxfont.h: turn NO_LATEX on as default
12592
12593         * buffer.C (insertErtContents): new methods of tex style compability.
12594         (parseSingleLyXformat2Token): use it several places.
12595         * tabular.C (OldFormatRead): and here
12596
12597 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12598
12599         * text2.C: remove some commented code.
12600         reindent file.
12601
12602         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12603         * trans.C: changes because of the above.
12604
12605 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12606
12607         * text2.C (setCounter): Fix counters bug with bibliography layout.
12608
12609 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12610
12611         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12612         own member functions
12613         (simpleTeXSpecialChars): ditto
12614
12615 2001-07-06  Juergen Vigna  <jug@sad.it>
12616
12617         * a lot of files: changed the access to LyXText::status and the
12618         call of undo-functions.
12619
12620         * undo.[Ch]: added a inset_id to the undo informations.
12621
12622         * undo_funcs.[Ch]: added and moved here all undo functions.
12623
12624         * lyxtext.h: give the status enum a weight, made status_ a private
12625         variable and made accessor functions for it, removed the whole bunch
12626         of undo-functions as they are now in their own file, make some
12627         functions publically available. Added function ownerParagraph with
12628         int parameter.
12629
12630         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12631         made InInset() a const function, added getParFromID() function.
12632
12633         * buffer.[Ch]: added const version for inset_iterator functions,
12634         added getInsetFromID() function.
12635
12636         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12637         changed undo functions for new version.
12638
12639 2001-07-05  Juergen Vigna  <jug@sad.it>
12640
12641         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12642         unknow mechanism does not call the proper constructor but only this
12643         one also if I request the other!?
12644
12645 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12646
12647         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12648
12649         * text2.C (LyXText): use initialization lists.
12650
12651         * lyxtext.h (Selection): initialize set_ and mark_
12652         (init): remove method
12653
12654 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12655
12656         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12657
12658 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12659
12660         * screen.[Ch]: change method names to begin with lowercase
12661
12662         * BufferView_pimpl.C (updateScrollbar): simplify further and
12663         hopefully make it a bit faster.
12664
12665 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12666
12667         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12668         calling directly xforms functions.
12669
12670         * Painter.C (Painter):
12671         * lyx_cb.C (MenuWrite):
12672         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12673         fl_display.
12674
12675         * lyx_gui.C: remove bogus guiruntime extern declaration.
12676
12677 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12678
12679         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12680         in NEW_INSETS
12681         (redoDrawingOfParagraph): ditto
12682         (redoParagraphs): ditto
12683         (cutSelection): don't create a object for CutAndPaste use the
12684         static method directly
12685         (pasteSelection): ditto
12686
12687         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12688         LyXview (+ rename)
12689
12690 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12691
12692         * modifications to some other files because of this.
12693
12694         * Makefile.am (lyx_SOURCES): add XFormsView
12695
12696         * XFormsView.[Ch]: new files
12697
12698         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12699         the main window. Move the gui dependent stuff to XFormsView
12700
12701 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12702
12703         * tabular.C (GetCellInset): update cur_cell also in the row/col
12704         version of this function.
12705
12706         * lyxfunc.C: no need to include figure_form.h here.
12707
12708         * FontLoader.h:
12709         * lyxfunc.h:
12710         * lyxscreen.h:
12711         * text2.C:
12712         * lyxvc.C: no need to include forms.h here.
12713
12714 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12715
12716         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12717
12718         * lyxfunc.C (Dispatch):
12719         * Spacing.C (set):
12720         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12721         constructor argument.
12722
12723 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12724
12725         * paragraph.C (Paragraph): dont't clear, and just set layout.
12726         (makeSameLayout): use params's copy contructor.
12727
12728         * ParagraphParameters.[Ch] (makeSame): delete method
12729
12730 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12731
12732         * Variables.[Ch]: fix indentation, rename set to isSet
12733
12734 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12735
12736         * lyxfunc.C (Dispatch): fix typo
12737
12738 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12739
12740         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12741         upper_bound.
12742
12743         * bufferlist.C: include assert.h for emergencyWrite().
12744
12745 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12746
12747         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12748           give up at last (bug #425202) !
12749
12750 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12751
12752         * lyx_gui_misc.C:
12753         * sp_form.h:
12754         * sp_form.C:
12755         * spellchecker.h:
12756         * spellchecker.C: strip spellchecker options and bring up
12757           preferences tab instead
12758
12759 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12760
12761         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12762         the istringstream constructor
12763
12764 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12765
12766         * paragraph.C (getLayout): fix return value
12767
12768         * paragraph.h: do not declare getLayout as inline.
12769
12770         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12771
12772 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12773
12774         * lyxcursor.h (operator<): new func
12775         (operator>): new func
12776         (operator>=): new func
12777         (operator<=): new func
12778
12779         * text.C (changeCase): use selection.start and selection.end
12780         (changeRegionCase): require from to be <= to. Require par to be a
12781         valid paragraph.
12782
12783         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12784
12785 2001-06-27  Juergen Vigna  <jug@sad.it>
12786
12787         * text.C (cursorLeftOneWord): changed to return the cursor and added
12788         overlay with BufferView * parameter which calls this one.
12789         (getWord): added
12790         (selectWord): use new getWord function.
12791         (changeCase): renamed from changeWordCase as and extended to work
12792         also on selections.
12793
12794         * lyxtext.h: added enum word_location
12795
12796         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12797         changeCase as this operates now also on selections.
12798
12799 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12800
12801         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12802
12803         * many files: send debug output to Debug::INFO instead of
12804         Debug::ANY.
12805
12806         * converter.C (View):
12807         (Convert):
12808         (Move): send debug output to Debug::FILES instead of console.
12809
12810 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12811
12812         * lyxfunc.C (getStatus): use func_status
12813
12814         * func_status.h: new header, describing the results of
12815         LyXFunc::getStatus;
12816
12817         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12818         LFUN_MATH_HALIGN.
12819
12820 2001-06-25  The LyX Project  <jug@sad.it>
12821
12822         * buffer.C (sgmlOpenTag):
12823         (sgmlCloseTag):
12824         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12825
12826 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12827
12828         * text2.C: remove some dead code
12829
12830         * tabular.C (GetCellInset): store the last cell checked (gotten)
12831
12832         * tabular.h: add the helper for the speedup
12833
12834         * lyxtext.h: remove some dead code
12835
12836 2001-06-26  The LyX Project  <Asger>
12837
12838         * paragraph.C: Change export to LaTeX of alignment to
12839         \begin{center} and family for better roundtrip work with reLyX.
12840
12841         * Tune the math drawing a bit.
12842
12843 2001-06-25  The LyX Project  <Asger>
12844
12845         * LColor.C (LColor): New color for math background. New color
12846         for buttons.
12847
12848 2001-06-25  The LyX Project  <jug@sad.it>
12849
12850         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12851
12852         * lyxfunc.C (Open):
12853         * bufferlist.C (newFile): do not restrict to files ending with
12854         .lyx
12855
12856         * BufferView_pimpl.C (MenuInsertLyXFile):
12857
12858 2001-06-24  The LyX Project  <jug@sad.it>
12859
12860         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12861         of compare_no_case
12862
12863 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12864
12865         * lyxtext.h: rename most methods to begin with a small char.
12866         Lots of changes because of this.
12867
12868         * paragraph.C (Paragraph): do not call fitToSize
12869         (erase): call Pimpl::erase
12870         (insertChar): call Pimpl::insertChar
12871         (insertInset): call Pipl::insertInset
12872         (breakParagraph): do not call fitToSize
12873         (breakParagraphConservative): do not call fitToSize
12874         (fitToSize): remove method
12875
12876         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12877
12878 2001-06-24  The LyX Project  <Asger>
12879
12880         * Fix Qt compilation^2
12881
12882 2001-06-24  The LyX Project  <jug@sad.it>
12883
12884         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12885         depthHook(getDepth()-1).
12886
12887         * paragraph.h:
12888         * ParagraphParameters.h:
12889         * ParameterStruct.h: change type of depth to unsigned int ==
12890         depth_type. Many adaptations to other files before of that.
12891
12892 2001-06-24  The LyX Project  <Asger>
12893
12894         * Fix Qt compilation.
12895
12896 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12897
12898         * paragraph.h: renamed several methods to begin with small letter.
12899         several changes to many parts of the code because of this.
12900
12901 2001-06-23  The LyX Project  <jug@sad.it>
12902
12903         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12904         rewritten to discard all double spaces when KeepEmpty is off
12905         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12906         to only handle newlines but not fiddle with spaces and friends.
12907
12908         * lyxfunc.C (MenuNew): when doing 'new from template', use
12909         template_path as default directory
12910
12911 2001-06-23  The LyX Project  <Asger>
12912
12913         * Clean-up of header file includes all over
12914         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12915
12916 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12917
12918         * paragraph.h: renamed from lyxparagraph.h
12919
12920 2001-06-23  Asger  <lyx@violet.home.sad.it>
12921
12922         * Buffer.h: Removed Buffer::resize
12923         * BufferList.h: Removed BufferList::resize
12924         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12925         the document lazily when we change the width, or the font settings.
12926
12927 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12928
12929         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12930
12931 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12932
12933         * buffer.h: remove out of date comment
12934
12935 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12936
12937         * lyxscreen.h:
12938         * screen.C: fix "theoretical" GC leak
12939
12940 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12941
12942         * LaTeX.C (scanAuxFile):
12943         (deplog): remove trailing \r when reading stream (useful under
12944         win32)
12945
12946 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12947
12948         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12949         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12950         and BufferView::theLockingInset(Inset*), so should use them and not
12951         access bv_->text->the_locking_inset directly.
12952
12953         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12954
12955 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12956
12957         * Makefile.am:
12958         * tex-defs.h: remove old unused file
12959
12960 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12961
12962         * BufferView_pimpl.C: fix typo, remove minibuffer message
12963           when buffer has loaded
12964
12965 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12966
12967         * lyxfunc.C (Dispatch): use stringstream
12968         (MenuNew): use stringstream
12969         (Open): use stringstream
12970
12971         * importer.C (Import): use stringstream
12972
12973         * bufferview_funcs.C (CurrentState): use stringstream
12974
12975         * LaTeX.C (run): use stringstream
12976
12977         * BufferView_pimpl.C (savePosition): use stringstream
12978         (restorePosition): use stringstream
12979         (MenuInsertLyXFile): use stringstream
12980
12981 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12982
12983         * BufferView.C:
12984         * Bullet.C:
12985         * ColorHandler.C:
12986         * FontInfo.C:
12987         * FontLoader.C:
12988         * LColor.C:
12989         * LaTeXFeatures.C:
12990         * Painter.C:
12991         * gettext.C:
12992         * lyx_gui_misc.C:
12993         * lyxserver.C:
12994         * vspace.C: removed // -*- C++ -*- as first line.
12995
12996         * lyxfind.h:
12997         * version.h: added // -*- C++ -*- as first line.
12998
12999 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13000
13001         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13002
13003         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13004         of string
13005
13006 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13007
13008         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13009         of floats.
13010
13011 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13012
13013         * gettext.C: include LString.h even when --disable-nls is on.
13014
13015 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13016
13017         * converter.h (Get): changed argument type from int to
13018         FormatList::size_type to avoid unnecessary conversion.
13019
13020         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13021         before using it.
13022
13023 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13024
13025         * gettext.h: include LString.h even when --disable-nls is on.
13026
13027 2001-06-07  Juergen Vigna  <jug@sad.it>
13028
13029         * text.C (BreakAgain): subst spaces with tabs.
13030
13031         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13032         (resizeInsetsLyXText): set force on resizeLyXText.
13033
13034 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13035
13036         * gettext.h (gettext_init):
13037         (locale_init): use a real definition instead of a macro
13038
13039 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13040
13041         * Bufferview_pimpl.C:
13042         * LColor.h:
13043         * LColor.C: further lcolor tidies
13044
13045 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13046
13047         * BufferView_pimpl.C (updateScrollbar): simplify.
13048
13049         * BufferView2.C: don't include insets/insetinfo.h, change
13050         prototype for insertInset and call the Pimpl version. let
13051         updateInset call Pimpl version.
13052
13053         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13054         gotoInset to BufferView::Pimpl
13055
13056 2001-06-01  Juergen Vigna  <jug@sad.it>
13057
13058         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13059         inside a LockingInset (is the update needed at all?).
13060
13061 2001-05-31  Juergen Vigna  <jug@sad.it>
13062
13063         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13064         here not the old one otherwise how should we compare it afterwards
13065         if it's the same!
13066
13067 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13068
13069         * lyxfont.C:
13070         * tabular.C:
13071         * tabular-old.C:
13072         * FontInfo.C: bring C functions into global namespace when
13073         necessary
13074
13075 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13076
13077         * LString.h: make sure config.h has been loaded before LString.h.
13078
13079         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13080         (one for each char read by EatLine!).
13081
13082         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13083         variables.
13084
13085 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13086
13087         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13088         to the same as the par we break from
13089
13090 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13091
13092         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13093
13094         * MenuBackend.C (expand): also create menu entries for wide
13095         versions of the floats.
13096
13097         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13098
13099         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13100
13101         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13102         frontends/Makefile.am
13103
13104         * text2.C: adjust
13105         * text.C: adjust
13106
13107
13108         * tabular.C (getTokenValue): add std::
13109
13110         * tabular-old.C (getTokenValue): add std::
13111         (getTokenValue): ditto
13112         (getTokenValue): ditto
13113
13114         * screen.C (ToggleSelection): adjust
13115
13116         * lyxtext.h: put selection cursors inside a Selection struct.
13117
13118         * lyxfunc.C (moveCursorUpdate): adjust
13119
13120         * lyxfont.C (latexWriteStartChanges): add std::
13121
13122         * lyxfind.C: adjust
13123
13124         * font.h: delete with(char const *, LyXFont const &)
13125
13126         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13127
13128         * FontInfo.C (getFontname): add std::
13129
13130         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13131         (workAreaButtonPress): adjust
13132         (tripleClick): adjust
13133         (update): adjust
13134         (moveCursorUpdate): adjust
13135         (Dispatch): adjust
13136
13137         * BufferView2.C (gotoInset): adjust
13138
13139 2001-05-30  Juergen Vigna  <jug@sad.it>
13140
13141         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13142         to check pspell I add this as default as I now have new pspell
13143         libraries and they seem to use this.
13144
13145 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13146
13147         * text2.C (CutSelection): make the cursor valid before the call to
13148         ClearSelection.
13149
13150 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13151
13152         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13153         relied on 0 terminated strings and other horrors. Bug found due to
13154         the new assert in lyxstring!
13155
13156         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13157         KP_ keys.
13158
13159 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13160
13161         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13162         to latinkeys.bind.
13163
13164         * lyxfunc.C (processKeySym): change method of getting to the
13165         self-insert char.
13166
13167         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13168         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13169         * BufferView_pimpl.[Ch]: here as private methods.
13170
13171 2001-05-28  Juergen Vigna  <jug@sad.it>
13172
13173         * text.C (SetHeightOfRow): added the update() call again as it is
13174         needed to initialize inset dimensions!
13175
13176 2001-05-16  Juergen Vigna  <jug@sad.it>
13177
13178         * text2.C (SetCharFont): Add new function with BufferView * and
13179         bool toggleall parameters for setting insets internal fonts.
13180         (SetFont): Freeze the undo as we may change fonts in Insets and
13181         all this change should be inside only one Undo!
13182
13183         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13184         setting font's in insets as for them we have the SetFont function!
13185
13186 2001-05-15  Juergen Vigna  <jug@sad.it>
13187
13188         * text2.C (ClearSelection): to be sure we REALLY don't have any
13189         selection anymore!
13190
13191         * tabular.C (TeXCellPreamble): fixed the left border problem for
13192         multicolumn cells.
13193
13194 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13195
13196         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13197         dependancy file
13198
13199 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13200
13201         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13202         LFUN_BREAKPARAGRAPH.
13203
13204         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13205         help test to "internal only", similar for LFUN_INSERT_URL
13206
13207         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13208         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13209         auto_region_delete and deadkeys.
13210
13211 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13212
13213         * LColor.h:
13214         * LColor.C: remove some dead entries, tidy a little
13215
13216 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13217
13218         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13219         commented code.
13220         (Dispatch): implement LFUN_ESCAPE
13221
13222         * commandtags.h: add LFUN_ESCAPE
13223
13224         * LyXAction.C (init): add entry for LFUN_ESCAPE
13225
13226         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13227         Remove commented code.
13228         (insertNote): moved here
13229         (open_new_inset): moved here
13230
13231         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13232         BufferView_pimpl
13233
13234 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13235
13236         * kbmap.C (findbinding): clean it up and make it work correctly.
13237
13238         * lyx_main.C (init): do not pass argc and argv as parameters
13239
13240 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13241
13242         * buffer.C: fix path for OS/2 & Win32
13243
13244         * lyx_gui.C:
13245         * lyx_main:
13246         * lyx_main.C: Added os:: class.
13247
13248         * os2_defines.h: update
13249
13250 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13251
13252         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13253         better by trying again with reduced state.
13254
13255 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13256
13257         * lyxrc.C (read): print error about invalid key sequence only when
13258         debugging (because not all latinX keysyms are known to some X
13259         servers)
13260
13261         * kbsequence.C (getiso): add a few std:: qualifiers
13262         (getiso): comment out extra return statement.
13263
13264 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13265
13266         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13267         handling.
13268         (Dispatch): enhance the accent inset a bit. (not perfect)
13269
13270 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13271
13272         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13273
13274 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13275
13276         * bufferlist.C (emergencyWrite): fix assert() call
13277
13278 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13279
13280         * text.C (InsertChar): Added trivial patch to only send the "you
13281         can not do multiple spaces this way" message once during a
13282         session.
13283
13284 2001-05-08  Baruch Even  <baruch@lyx.org>
13285
13286         * Makefile.am: Changed order of libraries to get LyX to link properly
13287         with the gnome frontend.
13288
13289 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13290
13291         * LaTeXFeatures.h: add a std:: qualifier
13292
13293 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13294
13295         * paragraph.C (String): use stringstream
13296
13297 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13298
13299         * paragraph.C (writeFile): remove footflag arg
13300
13301         * buffer.C (makeLaTeXFile): use stringstream
13302         (latexParagraphs): remove footnot gurba
13303
13304         * LaTeXFeatures.C (getPackages): use stringstream
13305         (getMacros): likewise
13306         (getTClassPreamble): likewise
13307         (getFloatDefinitions): new method
13308
13309         * paragraph.C (writeFile): reindent
13310         (Erase): reindent
13311
13312         * WorkArea.h: revert the xpos + etc changes.
13313
13314         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13315
13316         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13317
13318         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13319         (pasteSelection): likewise
13320         * text2.C (CreateUndo): likewise
13321
13322 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13323
13324         * minibuffer.C (peek_event): temporarily reduce the functionality
13325         of the minibuffer (to allow args on lfuns)
13326
13327         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13328         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13329
13330         * buffer.C (readInset): add compability reading of old float
13331         lists, add reading of new style float list.
13332         (readInset): avoid reevaluation of inscmd.getCmdName()
13333         (getLists): reindent
13334
13335         * MenuBackend.C (MenuItem): implement parsing of
13336         md_floatlistinsert and md_floatinsert.
13337         (expand::LastFiles): move initalizaton of iterators out of loop,
13338         avoid reevaluation.
13339         (expand::Documents): introduce typdedef vector<string> Strings,
13340         and use it.
13341         (expand::ExportFormats): introduce typedef vector<Format const *>
13342         Formats, and use it.
13343         (expand): implement FloatListInsert and FloatInsert.
13344
13345         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13346         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13347         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13348
13349         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13350         handling.
13351         (Dispatch::LFUN_FLOAT_LIST): implement
13352
13353 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13354
13355         * LaTeX.C (run): Fix problem with --export code.
13356
13357 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13358
13359         * BufferView.[Ch] (workarea): removed.
13360         (getClipboard) new method; wrapper for workarea()->getClipboard()
13361
13362         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13363         bug.
13364
13365         * WorkArea.h (width, height, xpos, ypos): These methods all
13366         returned the dimensions of the work_area sub-area of WorkArea,
13367         resulting in a position error if the WorkArea were resized. Now
13368         return the dimensions of the entire WorkArea.
13369
13370         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13371
13372 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13373
13374         * LaTeX.C (deplog): correct the syntax of regex reg1
13375
13376 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13377
13378         * undo.C: remove !NEW_INSETS cruft
13379
13380 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13381
13382         * text2.C: remove !NEW_INSETS cruft
13383
13384         * text.C: remove !NEW_INSETS cruft
13385
13386         * tabular.C: remove !NEW_INSETS cruft
13387
13388         * spellchecker.C: remove !NEW_INSETS cruft
13389
13390         * lyxtext.h: remove !NEW_INSETS cruft
13391
13392         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13393
13394         * lyxfunc.C: remove !NEW_INSETS cruft
13395
13396         * lyxfind.C: remove !NEW_INSETS cruft
13397
13398         * lyx_cb.C: remove !NEW_INSETS cruft
13399
13400         * figureForm.C: remove  !NEW_INSETS cruft
13401
13402         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13403
13404         * buffer.[Ch]: remove !NEW_INSETS cruft
13405
13406         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13407
13408         * CutAndPaste.C: remove !NEW_INSETS cruft
13409
13410         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13411
13412         * BufferView2.C: remove !NEW_INSETS cruft
13413
13414         * BufferView.h: remove !NEW_INSETS cruft
13415
13416 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13417
13418         * Lsstream.h: include LString.h before the sstream headers to
13419         fix problem with gcc 2.95.3 and lyxstring
13420
13421 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13422
13423         * lyx_main.C: add using directives when needed for C functions
13424         declared in std:: namespace.
13425
13426 2001-04-27  Juergen Vigna  <jug@sad.it>
13427
13428         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13429         (SetHeightOfRow): comment out the update call should not be needed!
13430
13431 2001-04-13  Juergen Vigna  <jug@sad.it>
13432
13433         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13434         (LyXTabular): tried to minimize operator= operations (and realized
13435         hopfully Lars wish).
13436
13437 2001-04-27  Juergen Vigna  <jug@sad.it>
13438
13439         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13440
13441 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13442
13443         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13444
13445         * buffer.C (readInset): hack to make listof algorithm work
13446
13447         * BufferView_pimpl.C: hack to make listof algorithm work
13448
13449 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13450
13451         * LyXAction.C: removed all !NEW_INSETS cruft
13452         (init): moved lfun_item in method
13453
13454         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13455
13456 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13457
13458         * BufferView2.C (theLockingInset): white space.
13459
13460 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13461
13462         * minibuffer.C: include <iostream>
13463
13464         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13465
13466         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13467
13468         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13469
13470         * text.[Ch] (TransposeChars): new method
13471
13472 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13473
13474         * call message directly through LyXView instead of through LyXFunc
13475         * BufferView2.C: adjust
13476         * BufferView_pimpl.C: adjust
13477         * FontLoader.C: adjust
13478         * buffer.C: adjust
13479         * bufferview_funcs.C: adjust
13480         * converter.C: adjust
13481         * figureForm.C: adjust
13482         * importer.C: adjust
13483         * lyx_cb.C: adjust
13484         * lyx_gui_misc.C: adjust
13485         * lyxfunc.C: adjust
13486         * lyxvc.C: adjust
13487         * text2.C: adjust
13488         + more files in subdirs
13489
13490         * lyxparagraph.h (size): move up int file
13491         (GetLayout): ditto
13492
13493         * adjust all uses of Assert to lyx::Assert.
13494
13495         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13496         lyxfunctional in namespace lyx
13497         * layout.C (hasLayout): ditto
13498         (GetLayout): ditto
13499         (GetLayout): ditto
13500         (delete_layout): ditto
13501         (NumberOfClass): ditto
13502         * converter.C (GetFormat): ditto
13503         (GetNumber): ditto
13504         (Add): ditto
13505         (Delete): ditto
13506         (SetViewer): ditto
13507         * bufferlist.C (getFileNames): ditto
13508         (emergencyWriteAll): ditto
13509         (exists): ditto
13510         (getBuffer): ditto
13511         * MenuBackend.C (hasSubmenu): ditto
13512         (hasMenu): ditto
13513         (getMenu): ditto
13514         * BufferView_pimpl.C (getInsetByCode): ditto
13515
13516 2001-04-18  Juergen Vigna  <jug@sad.it>
13517
13518         * vspace.C (asLatexString): fixed the 100% problem.
13519
13520 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13521
13522         * lyxfunc.C (Dispatch):
13523         * minibuffer.C:
13524         * minibuffer.h: add a few std:: qualifiers
13525
13526 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13527
13528         * minibuffer.[Ch]: reimplement so that commands is initiated and
13529         run from lyxfunc, simplified som handling, and made the completion
13530         and history code for complete. wip.
13531
13532         * lyxfunc.C (processKeySym): call message
13533         (miniDispatch): new temporary method
13534         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13535         (LFUN_MESSAGE): implement
13536         (LFUN_MESSAGE_PUSH): implement
13537         (LFUN_MESSAGE_POP): implement
13538         (initMiniBuffer): the initial/defualt minibuffer message.
13539
13540         * lyxfont.[Ch]: inline some more getters
13541
13542         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13543
13544         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13545
13546         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13547         (AutoSave): use LFUN_MESSAGE
13548         (Reconfigure): ditto
13549
13550         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13551
13552         * figureForm.C: use LFUN_MESSAGE
13553
13554         * converter.C (runLaTeX): use LFUN_MESSAGE
13555
13556         * bufferview_funcs.C: use LFUN_MESSAGE
13557         (Melt): ditto
13558         (changeDepth): ditto
13559
13560         * bufferparams.h: use boost::
13561
13562         * bufferlist.h: inherit privately from noncopyable
13563
13564         * bufferlist.C (loadLyXFile): remove some commented code.
13565
13566         * buffer.C (runChktex): use LFUN_MESSAGE
13567
13568         * ShareContainer.h: inherit privately from noncopyable
13569
13570         * ParagraphParameters.[hC] (depth): inline it.
13571
13572         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13573         methods.
13574         (message): new method
13575         (messagePush): ditto
13576         (messagePop): ditto
13577         (show): init minibuffer
13578         (showState): direct call
13579
13580         * LaTeX.[Ch]: inherit privately from noncopyable
13581         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13582         instead of WriteStatus.
13583
13584         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13585
13586         * BufferView_pimpl.C (buffer): don't init minibuffer
13587         (workAreaButtonPress): use LFUN_MESSAGE
13588         (workAreaButtonRelease): ditto
13589         (savePosition): ditto
13590         (restorePosition): ditto
13591         (MenuInsertLyXFile): ditto
13592         (workAreaExpose): don't init minibuffer
13593         (update): remove commented code, simplify
13594
13595         * BufferView2.C (openStuff): use LFUN_MESSAGE
13596         (toggleFloat): ditto
13597         (menuUndo): ditto
13598         (menuRedo): ditto
13599         (copyEnvironment): ditto
13600         (pasteEnvironment): ditto
13601         (copy): ditto
13602         (cut): ditto
13603         (paste): ditto
13604         (gotoInset): ditto
13605         (updateInset): remove some commented code
13606
13607         * lastfiles.h: inherit privately from noncopyable
13608         * layout.h: ditto
13609         * lyx_gui.h: ditto
13610         * lyx_main.h: ditto
13611         * lyxlex.h: ditto
13612         * lyxlex_pimpl.h: ditto
13613
13614         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13615         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13616         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13617
13618         * LyXAction.h: inherit privately from noncopyable, add methods
13619         func_begin, func_end, returning iterators to the func map.
13620
13621         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13622         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13623         (func_begin): new method
13624         (func_end): new method
13625
13626         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13627         and not)
13628         (copySelection): ditto
13629         (pasteSelection): ditto
13630
13631         * BufferView.C: whitespace change
13632         * BufferView.h: inherit privately from noncopyable
13633
13634 2001-04-16  Allan Rae  <rae@lyx.org>
13635
13636         * tabular-old.C (l_getline):
13637         * spellchecker.C (sc_check_word):
13638         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13639         an unrecognised preprocessor directive.  So ensure they're wrapped.
13640
13641 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13642
13643         * src/exporter.C (Export): Give an error message when path to file
13644         contains spaces.
13645
13646 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13647
13648         * LaTeX.C (deplog): Always check that foundfile exists.
13649
13650 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13651
13652         * lyx_main.h:
13653         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13654
13655 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13656
13657         * tabular.[Ch] (getLabelList): implement new method
13658
13659         * minibuffer.h: comment ouf setTiimer
13660
13661         * minibuffer.C (ExecutingCB): constify res
13662         (peek_event): constify s
13663         (Set): constify ntext
13664         (Init): constify nicename
13665
13666         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13667
13668         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13669         (savePosition): use two params to Minibuffer::Set
13670         (restorePosition): ditto
13671
13672 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13673
13674         * lyx_main.C: include language.h
13675
13676         * Makefile.am (lyx_main.o): add language.h
13677
13678 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13679
13680         * exporter.C:
13681         * paragraph.C:
13682         * screen.C:
13683         * tabular.C:
13684         * CutAndPaste.C: include gettext.h
13685
13686         * lyxfont.h: remove old hack with ON and OFF.
13687
13688         * lyxparagraph.h:
13689         * lyxfont.h: do not include language.h...
13690
13691         * BufferView2.C:
13692         * LaTeXFeatures.C:
13693         * Painter.C:
13694         * bufferview_funcs.C:
13695         * font.C:
13696         * lyxfont.C:
13697         * text.C:
13698         * text2.C:
13699         * trans_mgr.C:
13700         * paragraph.C: ... but do it here instead
13701
13702 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13703
13704         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13705
13706         * tabular.C: small reformat
13707
13708         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13709         NEW_INSETS version
13710         (GetChar): ditto
13711         (BreakParagraph): ditto
13712         (SetOnlyLayout): ditto
13713         (SetLayout): ditto
13714
13715         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13716         with one arg less.
13717
13718         * lastfiles.C: removed most using decl, add std:: where needed
13719
13720         * buffer.C: ws changes
13721
13722         * MenuBackend.C (class compare_format): put into anon namespace
13723         (expand): constify label, names, action, action2
13724         (expand):
13725
13726         * text.C (SingleWidth): constify font
13727         (IsBoundary): constify rtl2
13728         (GetVisibleRow): constify ww
13729
13730         * LaTeX.C (deplog): constify logfile
13731
13732         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13733         start_x, end_x
13734         (workAreaExpose): constify widthChange, heightChange
13735
13736         * lyxrow.C (par): moved
13737         (height): moved
13738         (next): moved
13739         * lyxrow.h: as inlines here
13740
13741         * lyxfont.h (shape): moved from lyxfont.C
13742         (emph): moved from lyxfont.C
13743
13744         * lyxfont.C (LyXFont): use initialization list for all
13745         constructors
13746         (shape): move to lyxfont.h as inline
13747         (emph): move to lyxfont.h as inline
13748
13749
13750 2001-04-04  Juergen Vigna  <jug@sad.it>
13751
13752         * vspace.C: had to include stdio.h for use of sscanf
13753
13754 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13755
13756         * BufferView.h:
13757         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13758         independent of xforms.
13759
13760 2001-04-02  Juergen Vigna  <jug@sad.it>
13761
13762         * spellchecker.C: fixed namespace placing!
13763
13764 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13765
13766         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13767         the LyXParagraph * is 0.
13768
13769 2001-03-29  Juergen Vigna  <jug@sad.it>
13770
13771         * vspace.C: added support for %, c%, p%, l%.
13772         (stringFromUnit): added helper function.
13773         (asLatexString): changed to give right results for the %-values.
13774
13775         * buffer.C: convert the widthp in a width%.
13776
13777 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13778
13779         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13780         figureForm.[Ch].
13781
13782         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13783         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13784
13785         * lyx_cb.[Ch]: see above.
13786
13787         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13788         form1.[Ch].
13789
13790         * form1.[Ch]:
13791         * lyx.[Ch]: replaced by figure_form.[Ch].
13792
13793         * lyx_gui.C:
13794         * lyx_gui_misc.C:
13795         * lyxfunc.C: changed headers associated with above changes.
13796
13797 2001-03-27  Juergen Vigna  <jug@sad.it>
13798
13799         * BufferView_pimpl.C: set the temporary cursor right!
13800
13801 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13802
13803         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13804
13805 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13806
13807         * LString.h: removed "using std::getline"!
13808
13809         * BufferView_pimpl.C (Dispatch): changes due to changes in
13810         InsetInclude::Params.
13811
13812         * buffer.C (tag_name): removed redundant break statements as they were
13813         producing lots of warnings with my compiler.
13814
13815 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13816
13817         * LString.h: add "using std::getline" when using the real <string>.
13818
13819 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13820
13821         * buffer.C: removed bitset usage.
13822         PAR_TAG moved to an anonymous name space.
13823         (tag_name): new funtion, also in the anonymous namespace.
13824         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13825         (makeDocBookFile): clean code. Completed transition from string arrays
13826         to string vectors.
13827         (SimpleDocBookOnePar): code clean.
13828
13829 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13830
13831         * tabular.C: add some comments.
13832
13833 2001-03-22  Juergen Vigna  <jug@sad.it>
13834
13835         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13836         compatibility read a bit and fixed bug with minipage in different
13837         depth.
13838
13839 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13840
13841         * buffer.C (pop_tag): removed.
13842         (push_tag): removed.
13843         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13844         array replaced with vector. Added support for CDATA sections.
13845         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13846         at any nest level.
13847         (makeDocBookFile): XML conformant declaration of CDATA section,
13848         fixed bug related to <emphasis> in the first paragraph char.
13849         (sgmlOpenTag): exclude empty tags.
13850         (sgmlCloseTag): ditto.
13851
13852         * buffer.h (pop_tag): removed.
13853         (push_tag): removed.
13854
13855 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13856
13857         * language.h (Languages): added size_type and size().
13858
13859 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13860
13861         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13862         response on compability reading of minipages. One probliem is that
13863         the old usage of minipages was «flertydig»
13864
13865         * several files here and in subdirs: don't use static at file
13866         scope use anon namespaces instead.
13867
13868 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13869
13870         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13871         LaTeX output. This is necessary for Literate document
13872         processing.
13873
13874 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13875
13876         * buffer.C: insert hfill when needed.
13877
13878         * tabular.C (l_getline): use string::erase, small whitespace change.
13879
13880         * BufferView_pimpl.C: try the anon namespace.
13881         * WorkArea.C: ditto
13882
13883 2001-03-16  Juergen Vigna  <jug@sad.it>
13884
13885         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13886         otherwise it won't open options-dialogs.
13887
13888         * buffer.C: honor pextraWidth(p) on converting minipages.
13889
13890         * tabular.C (l_getline): changed the functions to strip trailing \r.
13891
13892 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13893
13894         * BufferView_pimpl.C:
13895         * minibuffer..C: added "using SigC::slot" declaration.
13896
13897 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13898
13899         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13900
13901         * text2.C: ditto
13902
13903         * text.C: ditto
13904
13905         * paragraph.C: ditto
13906
13907         * lyxtext.h: NO_PEXTRA
13908
13909         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13910
13911         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13912         * ParameterStruct.h: ditto
13913         * ParagraphParameters.h: ditto
13914         * lyxparagraph.h: ditto
13915
13916 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13917
13918         * buffer.C: add compability for minipage alignment.
13919         (latexParagraphs): remove unwanted pextra check.
13920
13921         * several files: remove CXX_WORKING_NAMESPACES
13922
13923         * buffer.C (pop_tag): tie is in namespace boost
13924
13925         * BufferView.h: noncopyable is in namespace boost
13926         * lyxlex.h: ditto
13927         * lyx_main.h: ditto
13928         * lyx_gui.h: ditto
13929         * layout.h: ditto
13930         * lastfiles.h: ditto
13931         * bufferlist.h: ditto
13932         * ShareContainer.h: ditto
13933         * LyXView.h: ditto
13934         * LyXAction.h: ditto
13935         * LaTeX.h: ditto
13936
13937 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13938
13939         * Merging changes from BRANCH_MVC back into HEAD.
13940
13941         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13942
13943 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13944
13945         * BufferView_pimpl.C: change from intl.C
13946
13947         * combox.h:
13948         * combox.C:
13949         * Makefile.am: move combox.*
13950
13951         * form1.h:
13952         * form1.C:
13953         * lyx_gui.C:
13954         * intl.h:
13955         * intl.C: remove dialog (covered by prefs)
13956
13957 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13958
13959         * lyxfunc.C (Dispatch): removed redundant break statement.
13960
13961 2001-03-14  Juergen Vigna  <jug@sad.it>
13962
13963         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13964
13965 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13966
13967         * buffer.C: add hack to fix compability reading of minipages.
13968
13969 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13970
13971         * buffer.C (getLists): Cleanup.
13972
13973 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13974
13975         * lyxfont.C (update): don't honor toggleall on font size.
13976
13977 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13978
13979         * bmtable.c:
13980         * bmtable.h:
13981         * Makefile.am: moved to frontends/xforms/
13982
13983         * lyx_gui_misc.C:
13984         * lyxfunc.C:
13985         * BufferView_pimpl.C: changes for moved mathpanel
13986
13987 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13988
13989         * gettext.h: fix gettext_init() in --disable-nls
13990
13991 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13992
13993         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13994
13995 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13996
13997         * lyx.C:
13998         * lyx.h: strip external form
13999
14000 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14001
14002         * BufferView_pimpl.C: add comment, destroySplash()
14003
14004 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14005
14006         * BufferView_pimpl.C:
14007         * LyXAction.C:
14008         * buffer.C:
14009         * commandtags.h:
14010         * lyxfunc.C: use re-worked insetinclude
14011
14012 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14013
14014         * buffer.C: add using std::stringstream.
14015
14016         * lyx_cb.C: readd using std::ios.
14017
14018         * buffer.C: add using std::map.
14019
14020         * BufferView_pimpl.C: add using std::vector.
14021
14022         * ShareContainer.h: add std:: to swap.
14023
14024         * buffer.h: add some typedefs
14025         * buffer.C (getLists): use them
14026         (getLists): renamed from getTocList.
14027         add a counter for the different float types and use it in the
14028         generated string.
14029         (getLists): use the same counter for the NEW_INSETS and the "non"
14030         NEW_INSETS
14031
14032         * lyx_cb.h: remove unused items, includes, using etc.
14033
14034         * ShareContainer.h: remove some commented code, add more comments
14035         and "documentation".
14036
14037 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14038
14039         * buffer.C (getTocList): make the list also when NEW_INSETS is
14040         defined.
14041
14042         * buffer.h: remove TocType
14043
14044         * buffer.C (getTocList): change to return a map<string,
14045         vector<TocItem> >, implement for dynamic number of list.
14046
14047         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14048         * text2.C (PasteSelection): adjust
14049         * CutAndPaste.C (pasteSelection): adjust
14050
14051         * FloatList.C (FloatList): update from the new_insets branch.
14052         * Floating.[Ch]: ditto
14053         * LaTeXFeatures.C: ditto
14054         * buffer.C: ditto
14055         * lyxlex_pimpl.C: ditto
14056
14057         * paragraph.C (Last): remove when NEW_INSETS is defined.
14058
14059         * other file: changes because of the above.
14060
14061 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14062
14063         * lyxparagraph.h: rename next to next_, previous to previous_,
14064         make them private for NEW_INSETS. Rename Next() to next(),
14065         Previous() to previous().
14066
14067         * other files: changes because of the above.
14068
14069 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14070
14071         * BufferView.h:
14072         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14073         problem.
14074
14075 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14076
14077         * main.C (main): pass lyx_localedir to gettext_init().
14078
14079         * gettext.h: remove locale_init and gettext_init macros
14080
14081         * gettext.C (locale_init): new function
14082         (gettext_init): new function
14083
14084         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14085         setlocale().
14086
14087 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14088
14089         * Moved credits to frontends:
14090         * credits.[Ch]: removed
14091         * credits_form.[Ch]: removed
14092         * lyx_gui_misc.C: remove credits stuff
14093         * Makefile.am:
14094
14095 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14096
14097         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14098
14099         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14100         unneeded destructor.
14101
14102         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14103         a standalone pointer again.
14104
14105         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14106
14107 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14108
14109         * Makefile.am:
14110         * filedlg.h:
14111         * filedlg.C:
14112         * LyXAction.C:
14113         * ToolbarDefaults.C:
14114         * bufferlist.C:
14115         * commandtags.h:
14116         * form1.C:
14117         * form1.h:
14118         * lyx_cb.C:
14119         * lyx_cb.h:
14120         * lyxfunc.h:
14121         * lyxfunc.C:
14122         * BufferView_pimpl.C: use new file dialog in GUII
14123
14124         * lyx_cb.h:
14125         * lyx_cb.C: remove LayoutsCB to Toolbar
14126
14127 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14128
14129         * ShareContainer.h (get): add std:: qualifier
14130
14131 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14132
14133         * ShareContainer.h: define a proper ShareContainer::value_type
14134         type (and use typename to please compaq cxx)
14135
14136 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14137
14138         * lyxparagraph.h: move serveral local vars to
14139         ParameterStruct/ParagraphParameters., use ShareContainer in
14140         FontTable., make vars in FontTable private and add getter and
14141         setter.
14142
14143         * paragraph.C: changes because of the above.
14144
14145         * lyxfont.h: remove copy constructor and copy assignment. (the
14146         default ones is ok), move number inside FontBits. move inlines to
14147         lyxfont.C
14148
14149         * lyxfont.C: add number to initializaton of statics, move several
14150         inlines here. constify several local vars. some whitespace
14151         cleanup. Dont hide outerscope variables.
14152
14153         * Spacing.h: add two new constructors to match the set methods.
14154
14155         * ShareContainer.h: new file, will perhaps be moved to support
14156
14157         * ParameterStruct.h: new file
14158
14159         * ParagraphParameters.h: new file
14160
14161         * ParagraphParameters.C: new file
14162
14163         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14164         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14165
14166         * BufferView_pimpl.C: ParagraphParameter changes.
14167         * buffer.C: Likewise.
14168         * bufferview_funcs.C: Likewise.
14169         * text.C: Likewise.
14170         * text2.C: Likewise.
14171
14172 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14173
14174         * lyxfind.C (LyXReplace): do not redefine default argument in
14175         implementation.
14176         (IsStringInText): ditto
14177         (SearchForward): ditto
14178         (SearchBackward): ditto
14179
14180 2001-03-06  Juergen Vigna  <jug@sad.it>
14181
14182         * lyxfind.C (IsStringInText): put parentes around expressions.
14183
14184 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14185
14186         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14187
14188 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14189
14190         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14191
14192         * stl_string_fwd.h: add comment
14193
14194         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14195
14196         * tabular.h:
14197         * tabular.C: remove unused DocBook methods
14198
14199         * intl.C:
14200         * language.C:
14201         * paragraph.C:
14202         * buffer.C:
14203         killed DO_USE_DEFAULT_LANGUAGE
14204
14205 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14206
14207         * lyx_gui.C: do not include language.h.
14208
14209         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14210         arguments in function implementation.
14211
14212 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14213
14214         * BufferView_pimpl.C: add <ctime>
14215
14216 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14217
14218         * BufferView_pimpl.C: add using std::find_if
14219
14220 2001-02-27  José Matos  <jamatos@fep.up.pt>
14221
14222         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14223         by OnlyPath.
14224
14225 2001-02-11  José Matos  <jamatos@fep.up.pt>
14226
14227         * buffer.C (makeDocBookFile): command styles now have a parameter as
14228         "title" by default.
14229
14230 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14231
14232         * layout_forms.[Ch]: removed
14233         * lyx_cb.[Ch]: out character
14234         * lyx_gui.C: out character
14235         * lyx_gui_misc.C: out character
14236         * bufferview_funcs.C: : out character,
14237         added toggleall as parameter in ToggleAndShow
14238
14239 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14240
14241         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14242
14243         * text2.C (SetCurrentFont): Disable number property at boundary.
14244
14245 2001-02-26  Juergen Vigna  <jug@sad.it>
14246
14247         * lyxfunc.C (getStatus): added a string argument override function so
14248         that this is correctly called from LyXFunc::Dispatch if it contains a
14249         do_not_use_argument which is used!
14250         (Dispatch): added check for "custom" export and call appropriate func.
14251
14252 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14253
14254         * lyxrc.C: Add language_command_local, language_use_babel and
14255         language_global_options.
14256
14257         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14258
14259         * buffer.C (makeLaTeXFile): Use language_use_babel and
14260         language_global_options.
14261
14262 2001-02-23  Juergen Vigna  <jug@sad.it>
14263
14264         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14265         which works with LyXText and putted it inside BufferView. Here now we
14266         only call for that part the BufferView::Dispatch() function.
14267
14268         * BufferView.C (Dispatch): added.
14269
14270         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14271         functions which needs to use a LyXText over from LyXFunc.
14272         (MenuInsertLyXFile): added
14273         (getInsetByCode): added
14274         (moveCursorUpdate): added
14275         (static TEXT): added
14276
14277 2001-02-22  Juergen Vigna  <jug@sad.it>
14278
14279         * BufferView_pimpl.C (update): call a status update to see if LyXText
14280         needs it.
14281
14282 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14283
14284         * vc-backend.C (revert): implement for CVS
14285         (getLog): implement for CVS
14286
14287 2001-02-20  Juergen Vigna  <jug@sad.it>
14288
14289         * text2.C (ClearSelection): added BufferView param for inset_owner call
14290
14291         * lyxfunc.C (TEXT): added this function and use it instead of
14292         directly owner->view()-text of getLyXText().
14293
14294 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14295
14296         * src/layout_forms.C: out preamble
14297         * src/layout_forms.h: out preamble
14298         * src/lyx_cb.C: out preamble
14299         * src/lyx_cb.h: out preamble
14300         * src/lyx_gui.C: out preamble
14301         * src/lyx_gui_misc.C: out preamble
14302         * src/lyxfunc.C: connect with guii preamble
14303
14304 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14305
14306         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14307
14308 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14309
14310         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14311         whether to run bibtex.
14312
14313 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14314
14315         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14316
14317 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14318
14319         * Makefile.am (lyx_SOURCES): removed bibforms.h
14320
14321         * vspace.h: doxygen
14322
14323         * text.C (GetVisibleRow): make several local vars const
14324
14325         * tabular.C: small cleanup.
14326
14327         * lyxserver.C (callback): use compare instead of strncmp
14328
14329         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14330         inlines to after class or to paragraph.C
14331
14332         * lyxfont.h: remove friend operator!=
14333
14334         * converter.h: move friend bool operator< to non friend and after
14335         class def.
14336
14337         * combox.h: small cleanup
14338
14339         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14340         to inlines after class def.
14341
14342         * buffer.C (pop_tag): use string operations instead of strcmp
14343
14344         * bmtable.c: doxygen, small cleanup
14345
14346         * LaTeX.h: remove friend operator==
14347
14348 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14349
14350         * screen.C:
14351         * lyxrc.[Ch]:
14352         * lyxfunc.C:
14353         * lyxfont.[Ch]:
14354         * lyx_cb.C:
14355         * intl.[Ch]:
14356         * commandtags.h:
14357         * buffer.C:
14358         * WorkArea.[Ch]:
14359         * LyXAction.C:
14360         * BufferView_pimpl.C:
14361         * BufferView.[Ch]: remove cruft
14362
14363 2001-02-14  Juergen Vigna  <jug@sad.it>
14364
14365         * lyxfunc.C: removed #if 0 unused code
14366
14367         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14368
14369         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14370
14371         * text2.C (SetSelection): added a BufferView * parameter
14372
14373 2001-02-13  Juergen Vigna  <jug@sad.it>
14374
14375         * lyxfunc.C (Dispatch): fixed protected blank problem.
14376         * BufferView2.C (protectedBlank): added LyxText * parameter.
14377
14378         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14379         (AppendColumn): same as above for column_info.
14380
14381         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14382         (moveCursorUpdate): use a LyXText param for support of InsetText.
14383
14384         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14385         (tripleClick): ditto
14386
14387         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14388
14389         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14390
14391         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14392
14393         * text2.C (SetSelection): set correct update status if inset_owner
14394         (ToggleFree): ditto
14395
14396 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14397
14398         * tabular.C: remove some commented code.
14399
14400 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14401
14402         * BufferView_pimpl.C: call hideSplash()
14403
14404         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14405
14406         * include_form.h:
14407         * bibforms.h: remove
14408
14409         * lyxfunc.C:
14410         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14411           add LFUN_CHILD_CREATE
14412
14413         * counters.h: fix tiny typo
14414
14415         * lyx_cb.C:
14416         * lyx.h:
14417         * lyx_gui.C:
14418         * lyx.C: move splash to frontends/xforms/
14419
14420         * lyx_gui_misc.C: move Include and Bibform to frontends
14421
14422         * lyxvc.h: clarify comment
14423
14424         * vspace.C: tiny housekeeping
14425
14426 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14427
14428         * text.C (PrepareToPrint): RTL Fix.
14429
14430         * paragraph.C (GetUChar): New method.
14431         (String):  Use GetUChar.
14432
14433         * buffer.C (asciiParagraph): Use GetUChar.
14434
14435 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14436
14437         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14438
14439 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14440
14441         * buffer.h:
14442         * buffer.C: rename to getLogName(), handle
14443           build log / latex log nicely
14444
14445 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14446
14447         * MenuBackend.C:
14448         * MenuBackend.h: remove support for reference menuitem type.
14449
14450 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14451
14452         * BufferView_pimpl.C: housekeeping
14453         * BufferView_pimpl.h:
14454         * LyXView.h:
14455         * Makefile.am:
14456         * Timeout.C:
14457         * Timeout.h:
14458         * minibuffer.h: move Timeout GUI-I
14459
14460 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14461
14462         * lyxrc.C (read): Update converters data-structures.
14463
14464 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14465
14466         * LaTeX.h (operator!=): add operator != for Aux_Info
14467
14468 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14469
14470         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14471
14472         * LaTeXLog.C: deleted, useful code moved to Buffer
14473
14474         * buffer.h:
14475         * buffer.C: new function getLatexLogName()
14476
14477         * lyx_gui_misc.C:
14478         * lyx_gui.C:
14479         * lyxvc.C:
14480         * lyxvc.h:
14481         * lyxfunc.C: use frontends for LaTeX and VC logs
14482
14483 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14484
14485         * LaTeX.h: yet another std:: that Allan forgot.
14486
14487         * Variables.C (set): renamed from isset(), because this clashes
14488         with some HP-UX macros (grr).
14489
14490 2001-02-06  Allan Rae  <rae@lyx.org>
14491
14492         * LaTeX.h: Another bug fix.  Missing std:: this time.
14493
14494 2001-02-04  Allan Rae  <rae@lyx.org>
14495
14496         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14497         floats problem. I've left it commented out because it's not quite
14498         correct.  It should also test that the current object is a table or
14499         figure inset.  But I haven't gotten around to figuring out how to do
14500         that.  I *think* it'll be something like: "table" == inset.type()
14501
14502         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14503         bool.
14504
14505 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14506
14507         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14508         all the citation/databases/styles in the auxilary file.
14509         (run): Rerun latex if there was a babel language error.
14510
14511 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14512
14513         * text.C (Backspace): Preserve the font when changing newline char
14514         with a space.
14515         (BreakParagraph): If the cursor is before a space, delete the space.
14516
14517         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14518
14519 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14520
14521         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14522         new argument (code).
14523         (ChangeCitationsIfUnique): New method.
14524
14525         * paragraph.C (GetPositionOfInset): Handle bibkey.
14526
14527 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14528
14529         * BufferView_pimpl.h: change type of Position::par_pos to
14530         LyXParagraph::size_type.
14531
14532 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14533
14534         * BufferView_pimpl.C (savePosition, restorePosition): Write
14535         messages to minibuffer.
14536
14537 2001-01-28  José Matos  <jamatos@fep.up.pt>
14538
14539         * buffer.C (makeDocBookFile): adds support for document language.
14540         A silly restriction on the name of LatexCommand types where removed.
14541         Added support for CDATA sections, allows to chars unescaped, used
14542         among others in code, to avoid escape < and >.
14543
14544 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14545
14546         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14547         saved positions instrad of a stack. Furthermore, a position is
14548         stored using paragraph id/paragraph position.
14549
14550         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14551         Remove LFUN_REF_BACK.
14552
14553 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14554
14555         * converter.C (dvipdfm_options): New method.
14556
14557 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14558
14559         * vspace.C (isValidLength): Fix for empty input string.
14560
14561 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14562
14563         * LyXAction.C (init): change description of LFUN_FIGURE to
14564         "Insert Graphics"
14565
14566 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14567
14568         * LaTeX.C: add using directive
14569
14570 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14571
14572         * MenuBackend.C (expand): Fix the sorting of the formats.
14573
14574 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14575
14576         * lyx_main.C: tiny error message fix
14577
14578 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14579
14580         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14581         calling fl_initialize(). This fixes the problem with ',' as
14582         decimal separator in text files.
14583
14584 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14585
14586         * trans.C (process): Fix the keymap bug.
14587
14588 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14589
14590         * LaTeX.C (scanAuxFiles): New method. Provides support for
14591         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14592         (scanLogFile) Scan for "run BibTeX" messages.
14593
14594         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14595         OT1 font encoding. Also, load the aecompl package if the ae
14596         package is loaded.
14597
14598         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14599
14600 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14601
14602         * texrow.C (increasePos): turn two error messages into debug
14603         messages.
14604
14605 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14606
14607         * LaTeX.C (scanAux): Handle the \@input macro.
14608         (runBibTeX): Use scanAux().
14609
14610         * language.C (latex_options_): New field.
14611
14612         * LaTeXFeatures.C (getMacros): Add language macros.
14613
14614         * buffer.C (makeLaTeXFile): Small fix.
14615
14616 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14617
14618         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14619
14620         * text2.C: add a using directive.
14621
14622 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14623
14624         * BufferView2.C:
14625         * lyx_gui_misc.h:
14626         * lyxfr1.C:
14627         * lyxfunc.C: kill LyXBell.
14628
14629 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14630
14631         * text.C (IsBoundary): Remove the error message
14632
14633         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14634
14635         * lyxrc.C (setDefaults): Correct initialization value for
14636         font_norm_type.
14637
14638 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14639
14640         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14641         gotoError().
14642
14643         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14644         and GotoNextNote().
14645
14646         * src/LyXAction.C: Added reference-next.
14647
14648         * text.C (InsertChar): Use contains instead of strchr.
14649
14650         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14651
14652 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14653
14654         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14655         alignment commands (when needed).
14656
14657         * text.C (InsertChar): Add ':' to number separator chars.