]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
e4ec0f379247469cb6873d96f00ef9cd83dfd8b6
[lyx.git] / src / ChangeLog
1 2003-12-11  Angus Leeming  <leeming@lyx.org>
2
3         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4         as it is now handled in LyXText::dispatch.
5
6         * text3.C (doInsertInset): remove a level of nesting.
7
8 2003-12-11  Angus Leeming  <leeming@lyx.org>
9
10         * factory.C (createInset): changes due to the changed interface to
11         InsetCommandMailer::string2params.
12
13 2003-12-10  Angus Leeming  <leeming@lyx.org>
14
15         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
16         'dialog-show-new-inset <inset name>'
17
18 2003-12-10  Angus Leeming  <leeming@lyx.org>
19
20         * buffer.C: up the format to 227.
21
22         * factory.C: the box inset is now identified simply by 'Box'.
23
24 2003-12-10  Angus Leeming  <leeming@lyx.org>
25
26         * buffer.C: up the format to 226.
27
28         * factory.C: the note inset is now identified simply by 'Note'.
29
30 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
31
32         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
33         when a pit is enough. Standarize a couple of loops. 
34
35 2003-12-05  Angus Leeming  <leeming@lyx.org>
36
37         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
38         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
39         data to the re-worked "log" dialog.
40
41 2003-12-03  André Pönitz  <poenitz@gmx.net>
42
43         * PosIterator.C:
44         * iterators.C:
45         * lyxtext.h:
46         * output_latex.C:
47         * paragraph_funcs.C:
48         * text.C:
49         * text2.C: use Inset::getText instead of Inset::getParagraph
50
51 2003-12-03  André Pönitz  <poenitz@gmx.net>
52
53         * buffer.[Ch]:
54         * lyxtext.h:
55         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
56         InsetText::read() as LyXText::read()
57         
58 2003-12-02  Angus Leeming  <leeming@lyx.org>
59
60         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
61         type. Add a comment in the implementation that the function uses
62         the stream's bad() function rather than fail() as the std::streams
63         would do.
64
65 2003-12-02  André Pönitz  <poenitz@gmx.net>
66
67         * lyxlex.[Ch]: make interface more similar to std::stream
68
69         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
70
71 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
72
73         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
74
75 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
76
77         * vspace.[Ch]: remove VSpace::NONE
78
79 2003-12-01  André Pönitz  <poenitz@gmx.net>
80
81         * buffer.[Ch]:
82         * lyxtext.h: move ParagraphList member to LyXText
83         rename LyXText::ownerParagraphs to LyXText::paragraph
84
85         * CutAndPaste.C:
86         * bufferview_funcs.C:
87         * iterators.[Ch]:
88         * lyx_cb.C:
89         * paragraph.C:
90         * rowpainter.C:
91         * tabular.C:
92         * text.C:
93         * text2.C:
94         * text3.C: adjust
95
96         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
97
98         * undo.C: fix cursor positioning 
99
100 2003-12-01  John Levon  <levon@movementarian.org>
101
102         * BufferView_pimpl.C: fix a crash on exit with
103         a buffer open
104
105 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
106
107         * BranchList.C: fix setSelected() method.
108
109 2003-11-28  André Pönitz  <poenitz@gmx.net>
110
111         * ParagraphParameters.[Ch]:
112         * ParameterStruct.h: remove space above/below from Paragraph to
113          InsetVSpace
114
115         * BufferView_pimpl.C:
116         * factory.C:
117         * lyxfunc.C:
118         * lyxtext.h:
119         * output_latex.C:
120         * paragraph.C:
121         * paragraph_funcs.C:
122         * rowpainter.[Ch]:
123         * text.C:
124         * text2.C:
125         * text3.C: adjust
126
127 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
128
129         * factory.C: Syntax change for CharStyles
130
131 2003-11-28  André Pönitz  <poenitz@gmx.net>
132
133         * BufferView.[Ch]:
134         * BufferView.[Ch]:
135         * buffer.[Ch]:
136         * buffer.[Ch]: move LyXText member
137
138 2003-11-28  André Pönitz  <poenitz@gmx.net>
139
140         * BufferView.[Ch]: make LyXText * text a private member
141
142         * BufferView_pimpl.C:
143         * cursor.C:
144         * iterators.C:
145         * lyx_cb.C:
146         * lyxfind.C:
147         * lyxtext.h:
148         * rowpainter.[Ch]:
149         * text.C:
150         * text2.C:
151         * undo.C: adjust
152
153         * output_plaintext.C: cleanup
154
155 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
156
157         * buffer.C: 
158         * lyxtextclass.[Ch]: parametrize SGML document header
159
160 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
161
162         * converter.[Ch]:
163         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
164         getFlavor().
165
166 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
167
168         * text2.C (setFont): rework using PosIterator (no more recursive)
169         (setCharFont): no more needed 
170         (setLayout): no more selection cursors fiddling (done by redoCursor)
171         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
172         destroy remaining ones)
173
174 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
175
176         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
177         * lyxtext.h: ditto
178         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
179         selection cursors
180         * lyxfunc.C: adjust
181         * text3.C: adjust + re-allow multi par depth changes
182         * textcursor.C: simplify a bit
183
184 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
185
186         * src/buffer.C:
187         * src/lyxlayout.C:
188         * src/lyxlayout.h:
189         * src/lyxtext.h:
190         * src/output_docbook.C:
191         * src/output_latex.C:
192         * src/paragraph.C:
193         * src/paragraph.h:
194         * src/sgml.C:
195         * src/sgml.h:
196         * src/text2.C: Introducing a number of tags parametrizing various
197         XML formats that we may want to support
198
199 2003-11-25  André Pönitz  <poenitz@gmx.net>
200
201         * InsetList.[Ch] (begein, end): inline as suggested by profiler
202
203         * lyxtext.h (leftMargin/rightMargin): simplify interface
204
205         * rowpainter.C:
206         * text.C:
207         * text2.C:
208         * text3.C: adjust
209
210 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
211
212         * lyxfunc.C (dispatch): propogate the bibtex databases from the
213         master file to any child files. Fixes bug 546.
214
215 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
216
217         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
218
219 2003-11-24  André Pönitz  <poenitz@gmx.net>
220
221         * rowpainter.C: simplification
222
223         * text2.C (updateCounters): remove call to redoParagraph on 
224         changed labels as this is far too expensive.
225
226 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
227
228         * converter.C (convert): fix a crash: this function gets
229         called with buffer == 0 from importer code.
230
231 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
232
233         * text3.C (cursorPrevious): make sure that we do not compare
234         iterators form different containers.
235         (cursorNext): ditto
236
237         * rowpainter.C (paintSelection): make sure that we do not compare
238         iterators from different containers.
239
240         * text3.C (dispatch): [PRIOR] make sure that we do not compare
241         iterators from different ParagraphList containers.
242         [NEXT] ditto
243
244         * text2.C (LyXText): change order of initialization slightly
245         (operator=): new function. copy all variables except cache_par_
246         (moveUp): make sure that we do not compare iterators from
247         different ParagraphList constainers.
248         (moveDown): ditto
249
250         * text.C (firstPar): new function
251         (lastPar): new function
252         (endPar): new function
253
254         * lyxtext.h: move things around and group public functions, public
255         variables, private functions, private variables
256
257 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
258
259         * factory.C: change call to InsetERT constructor to avoid
260         additional invocation of method status
261         * text2.C (toggleInset): remove redundant update() call
262         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
263         instead of a Bufferview pointer
264
265 2003-11-21  André Pönitz  <poenitz@gmx.net>
266
267         * rowpainter.C: simplification
268
269 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
270
271         * text3.C (dispatch): make possible to extend a word/row selection
272         with the mouse
273
274 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
275
276         * lyxtext.h: x0_,y0_ -> xo_,yo_
277         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
278         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
279         * rowpainter.C (paintRows): paint full paragraphs
280
281 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
282
283         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
284         screen coordinates)
285
286 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
287
288         * lyxtext.h: add x0_, y0_
289         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
290         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
291
292 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
293
294         * text2.C (setCursorIntern): move the x_target update here *
295         * text3.C: change some bv() to true/false in calls to
296         cursorUp/Down/Right/Left
297         * cursor.C: use helper function.
298
299 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
300
301         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
302         * paragraph_funcs.[Ch]: correct comment
303         * rowpainter.C: do not paint selections away from bv->cursor()
304         Fix a long standing selection painting bug.
305         * text3.C: generalize mouse-selection code to LyXTexts other that
306         top one
307         * textcursor.C: do not use y coords if we can use par offsets
308
309 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
310
311         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
312         cursor position after e.g. inset insert)
313
314 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
315
316         * lyxfind.C (replace): adjust to locking removal + some
317         code simplification
318
319 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
320
321         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
322         of the path
323
324 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
325
326         * lyxlayout.[Ch]:
327         * output_docbook.C: XML sanitation: new layout
328         parameters InnerTag and CommandDepth
329
330 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
331
332         * BufferView_pimpl.C:
333         * factory.C:
334         * text3.C: Fix the insertion and modification of button-style
335         insets
336
337 2003-11-13  André Pönitz  <poenitz@gmx.net>
338
339         * InsetList.[Ch]: remove deleteLyXText
340
341         * paragraph.[Ch]: cache beginOfBody position
342
343         * Bidi.C:
344         * text.C:
345         * text2.C:
346         * text3.C: remove superfluous update() calls
347
348         * vspace.C: cleanup
349
350 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
351
352         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
353         * BufferView.C (fitLockedInsetCursor): remove
354         * cursor.[Ch] (getDim): add
355         * text.C (getRowNearY): add faster version
356         * text3.C: remove some update calls
357
358 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
359
360         * LaTeXFeatures.C:
361         * LyXAction.C:
362         * MenuBackend.C:
363         * MenuBackend.h:
364         * dispatchresult.h:
365         * factory.C:
366         * lfuns.h:
367         * lyxfunc.C:
368         * lyxtextclass.C:
369         * lyxtextclass.h:
370         * text3.C: The Character Style /XML short element patch.
371
372 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
373
374         * text3.C:
375         * factory.C: Small step to solving 'unable to insert some insets'
376         problem
377
378 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
379
380         * cursor.[Ch] (updatePos): new function for updating the y
381         position of the tip inset
382         * bufferview_funcs.C (put_selection_at):
383         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
384
385 2003-11-11  André Pönitz  <poenitz@gmx.net>
386
387         * text.C: remove big comment on invalid Paragraph pointers as it is
388         not valid anymore
389
390 2003-11-11  André Pönitz  <poenitz@gmx.net>
391
392         * text_funcs.[Ch]: merge with ...
393
394         * text.C: ... this
395
396         * lyxtext.h:
397         * text2.C:
398         * text3.C: adjust
399
400         * Makefile.am: remove text_funcs.[Ch]
401
402 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
403
404         * cursor.C (getPos): return absolute cached y coord
405
406         * BufferView_pimpl.C (fitCursor): new simplistic code
407         (workAreaDispatch): add a fitCursor call
408
409 2003-11-10  André Pönitz  <poenitz@gmx.net>
410
411         * BufferView.[Ch]:
412         * BufferView_pimpl.[Ch]: merge update() and updateInset()
413
414 2003-11-10  André Pönitz  <poenitz@gmx.net>
415
416         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
417         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
418         indicate that the cursor needs to leave an inset
419
420         * lyxtext.h: remove inset locking
421
422         * cursor.[Ch]: re-implement functionality provided by inset locking
423
424         * BufferView.[Ch]:
425         * BufferView_pimpl.[Ch]:
426         * LyXAction.C:
427         * bufferview_funcs.[Ch]:
428         * factory.C:
429         * funcrequest.[Ch]:
430         * iterators.C:
431         * lyx_cb.C:
432         * lyxfind.C:
433         * lyxfunc.C:
434         * text.C:
435         * text2.C:
436         * text3.C:
437         * undo.C: adjust
438
439 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
440
441         * PosIterator.[Ch]: replace the stack with a vector, add inset
442         accesor
443         * iterators.[C]: adjust
444
445 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
446
447         * lyxfind.C (replaceAll): mark the buffer dirty if something was
448         replaced
449         * paragraph_funcs.C (readParToken): put the correct id in the
450         error item, not the id of the top paragraph
451
452 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
453
454         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
455         * bufferview_funcs.C (put_selection_at): use the above
456
457 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
458
459         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
460
461 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
462
463         * output_linuxdoc.h:
464         * output_plaintext.h:
465         * output.h:
466         * output_docbook.h: add #include statements
467
468 2003-11-05  José Matos  <jamatos@lyx.org>
469
470         * output_docbook.[Ch]:
471         * output_latex.[Ch]:
472         * output_linuxdoc.[Ch]:
473         * output_plaintext.[Ch]: New files for output formats.
474         * output.[Ch]: New file for helper functions.
475
476         * buffer.[Ch]:
477         * paragraph_funcs.[Ch]: output functions moved to new files.
478
479         * outputparams.h: rename of latexrunparams.h
480
481         * LaTeX.[Ch]:
482         * buffer.[Ch]:
483         * bufferlist.[Ch]:
484         * converter.[Ch]:
485         * exporter.C:
486         * paragraph.[Ch]:
487         * paragraph_funcs.[Ch]:
488         * paragraph_pimpl.[Ch]:
489         * tabular.[Ch]: rename ascii to plaintext
490         and LatexRunParams to OutputParams.
491
492 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
493
494         * iterators.[Ch] (text): require bv argument
495         * undo.C (recordUndo):
496         * lyxfunc.C (dispatch):
497         * bufferview_funcs.C (put_selection_at): adjust
498
499 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
500
501         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
502
503 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
504
505         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
506         nestings
507
508 2003-11-04  André Pönitz  <poenitz@gmx.net>
509
510         * cursor.[Ch]: restructure
511
512         * BufferView.[Ch]:
513         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
514
515         * iterators.[Ch] (asCursor): remove
516
517         * lfuns.h: remove LFUN_INSET_EDIT
518
519         * lyxfunc.C:
520         * tabular.C:
521         * text.C:
522         * text2.C:
523         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
524
525 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
526
527         * lyxfind.[Ch]: complete overhaul
528         * BufferView_pimpl.C:
529         * lyxfunc.C: adjust
530         * paragraph.[Ch] (insert): add
531
532 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
533
534         * BufferView.[Ch]:
535         * lyxtext.h:
536         * text.C: remove dead spellcheck code
537
538 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
539
540         * dispatchresult.h: add a val setter
541
542         * cursor.C (dispatch): use a tempvar for data_[i]
543
544 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
545
546         * PosIterator.[Ch]: compile fix
547
548 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
549
550         * text.C (cursorPar): deactivate the cursor cache
551
552 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
553
554         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
555
556 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
557
558         * text3.C (dispatch): adjust for new DisptchResult semantics.
559
560         * lyxfunc.C (dispatch): handle update when return from
561         Cursor::dispatch, adjust for new DispatchResult semantics.
562
563         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
564         DispatchResult(true) mean to not update. Add class functions for
565         setting dispatched and update, as well as reading.
566
567         * cursor.C (dispatch): don't handle update here
568
569 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
570
571         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
572         * trans_mgr.C: adjust
573
574         * paragraph_funcs.C (readParToken): exception safety
575
576         * lyxvc.h: store the vcs pointer in a scoped_ptr
577         * lyxvc.C: adjust
578
579         * lyxsocket.C (serverCallback): exception safety
580
581         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
582
583         * ispell.C (clone): make it return a auto_ptr
584
585         * factory.C (createInset): exception safety
586         (readInset): exception safety
587
588         * bufferlist.C (newBuffer): exception safety
589
590         * Thesaurus.C (Thesaurus): use initialization for aik_
591
592         * MenuBackend.C (expandToc): exception safety.
593
594 2003-11-03  André Pönitz  <poenitz@gmx.net>
595
596         * buffer.C:
597         * buffer.h:
598         * bufferview_funcs.C: remove getInsetFromId()
599
600         * lyxcursor.[Ch]:
601         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
602
603         * lyxfunc.C:
604         * text2.C:
605         * text3.C: adjust
606
607 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
608
609         * PosIterator.C (distance, advance): new
610         * bufferview_funcs.[Ch] (put_selection_at): new
611         * iterators.[Ch] (lockPath): new
612
613 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
614
615         * iterators.[Ch] (asPosIterator): added
616         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
617         * PosIterator.[Ch]: added
618
619 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
620
621         * text3.C:
622         * lyxfunc.C:
623         * cursor.C (dispatch):
624         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
625
626         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
627         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
628         contructor, add a class function dispatched. Remove operator>=
629
630 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
631
632         * debug.C: only use the default constructor for debugstream
633         (lyxerr) here.
634
635         * main.C (main): include debug.h and setup the lyxerr streambuf
636         here.
637
638 2003-10-31  José Matos  <jamatos@lyx.org>
639
640         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
641
642         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
643         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
644         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
645         * paragraph_pimpl.C (simpleTeXSpecialC):
646         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
647         add LatexRunParams argument.
648
649         * exporter.C (Export): change call accordingly.
650
651         * latexrunparams.h: add new member to take care of the other backends.
652 2003-10-30  José Matos  <jamatos@lyx.org>
653
654         * buffer.C (makeLinuxDocFile, makeDocBookFile):
655         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
656         factorise code for paragraph output.
657         * buffer.[Ch]:
658         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
659         move functions.
660
661 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
662
663         * text3.C (dispatch):
664         * lyxfunc.C (dispatch):
665         * cursor.C (dispatch):
666         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
667
668         * dispatchresult.h: make the dispatch_result_t ctor explicit
669
670 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
671
672         * sgml.[Ch]:
673         * buffer.C: small refactoring of docbook stuff
674
675 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
676
677         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
678         meaning.
679
680 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
681
682         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
683         operator dispatch_result_t, and operators for == != and >=
684
685         * cursor.C (dispatch): adjust for operator dispatch_result_t
686         removal. comment out call to update
687
688         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
689
690 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
691
692         * text3.C:
693         * text2.C:
694         * text.C:
695         * lyxtext.h:
696         * lyxfunc.C:
697         * cursor.C:
698         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
699         (dispatch):
700
701         * dispatchresult.h: new file, DispatchResult broken out of
702         insets/insetbase.h
703
704         * Makefile.am (lyx_SOURCES): add dispatchresult.h
705
706 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
707
708         * text.C (rowBreakPoint): put a hack inside #if 0
709
710 2003-10-28  André Pönitz  <poenitz@gmx.net>
711
712         * lyxtext.h:
713         * metricsinfo.C:
714         * paragraph_funcs.C:
715         * rowpainter.C:
716         * text.C:
717         * text2.C: general cleanup (lots of small stuff)
718
719 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
720
721         * text2.C (cursorEnd): simple fix to the "end key goes to one
722         before the end on last row" bug
723
724 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
725
726         * text.C (backspace): fix the "zombie characters"
727
728 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
729
730         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
731
732 2003-10-27  André Pönitz  <poenitz@gmx.net>
733
734         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
735
736         * factory.C: handle new InsetPagebreak, InsetLine
737
738         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
739         and move handling into new InsetPagebreak, InsetLine
740
741         * BufferView_pimpl.C:
742         * LyXAction.C:
743         * ParagraphParameters.C:
744         * ParameterStruct.h:
745         * lyxfunc.C:
746         * lyxtext.h:
747         * paragraph.C:
748         * paragraph.h:
749         * paragraph_funcs.C:
750         * paragraph_pimpl.C:
751         * rowpainter.C:
752         * text.C:
753         * text2.C:
754         * text3.C: adjust
755
756 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
757
758         * text.C:
759         * lyxrow_funcs.[Ch]:
760         * Bidi.C:
761         * paragraph.C:
762         * lyxtext.h:
763         * rowpainter.C:
764         * text2.C:
765         * text3.C: remove lastPos uses in favour of Row::endpos
766
767 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
768
769         * undo.C (performUndoOrRedo): fix two crashes by setting a
770         cursor by hand and reordering some calls. Use bv->lockInset instead
771         of inset->edit because the latter loses cursor information
772
773 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
774
775         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
776         by Martin
777         (rowBreakPoint): fix width. change point to point + 1.
778         Add a missing check.
779
780 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
781
782         * MenuBackend.C:
783         * lyxfunc.C: fix (at least partly) the problems
784         with the Nav menu and headers inside branch insets
785         reported by Kayvan
786
787 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
788
789         * paragraph.C (getChar): add strong asserts
790
791         * lyxrow_funcs.C (lastPos): remove hideous hack
792
793         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
794         (fill): adjust to that (avoid an infinite loop)
795
796 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
797
798         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
799
800 2003-10-23  André Pönitz  <poenitz@gmx.net>
801
802         * RowList_fwd.h: change list<> to vector<> to gain speed
803         after suggestion from Alfredo
804
805 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
806
807         * lyxtext.h: move the bidi stuff from here...
808         * text.C: and here
809         * text2.C: and here
810         * Bidi.[Ch]: ... to here
811
812 2003-10-23  André Pönitz  <poenitz@gmx.net>
813
814         * lyxtext.h:
815         * text.C (isLastRow, isFirstRow): new functions
816
817         * paragraph.h: new width cache member
818
819         * rowpainter.C: replace RowList::iterator with Row & where possible
820
821         * lyxfunc.C: replace several view()->text with a single call
822
823         * toc.C: fix 'unused' warning
824
825 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
826
827         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
828         when woring with stream::pos_type
829         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
830
831 2003-10-22  André Pönitz  <poenitz@gmx.net>
832
833         * lyxtext.h:
834         * text.C: use Row & instead of RowList::iterator
835
836         * lyxrow.h: rename end() to endpos()
837
838         * rowpainter.C:
839         * text.C:
840         * text2.C: adjust
841
842 2003-10-22  Angus Leeming  <leeming@lyx.org>
843
844         * buffer.[Ch] (fully_loaded): new member function, returning true
845         only when the file has been loaded fully.
846         Used to prevent the premature generation of previews and by the
847         citation inset to prevent computation of the natbib-style label.
848
849         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
850         templates are all set up.
851
852         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
853
854 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
855
856         * text.C: fixed an "oops" in the "is a bit silly"
857         bug fix
858
859 2003-10-21  André Pönitz  <poenitz@gmx.net>
860
861         * FuncStatus.[Ch]: small stuff, whitespace
862
863         * lyxfont.[Ch]: operator<<() for debug reasons
864
865         * lyxfunc.C:
866         * lyxrow_funcs.C:
867         * lyxtext.h: whitespace, spelling
868
869         * paragraph.C: naming of variables
870
871         * text.C:
872         * text2.C: small stuff
873
874
875 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
876
877         * text.C: (1) finish off the inset display() work;
878         (2) fix the "is a bit silly" bug (accessing char
879         past end of par).
880
881 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
882
883         * text.C: re-introduce display() for insets, fixing the
884         various bugs (stretch of line above, math inset
885         positioning, ...)
886
887 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
888
889         * text.C (rightMargin): remove spurious semicolon
890
891         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
892         1415)
893
894 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
895
896         * text3.C: fix one crash due to wrong cursor def
897
898 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
899
900         * vc-backend.C (scanMaster): make the regex static
901
902         * LaTeX.C (scanAuxFile): make the regexs static
903
904         * text3.C (doInsertInset, dispatch, dispatch):
905         * text2.C (cursorUp, cursorDown):
906         * text.C (selectNextWordToSpellcheck):
907         * BufferView_pimpl.C (dispatch):
908         * lyxfunc.C (dispatch):  localDispatch -> dispatch
909
910 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
911
912         * lyxsocket.C: include <cerrno>
913
914 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
915
916         * lyxfunc.C (dispatch): remove textcache stuff
917
918         * bufferlist.C (release): remove textcache stuff
919         (closeAll): ditto
920
921         * TextCache.C: delete file
922         * TextCache.h: delete file
923
924         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
925
926         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
927         delete of the bv_->text.
928         (resizeCurrentBuffer): remove texcache stuff
929         (workAreaResize): ditto
930
931 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
932
933         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
934         action.
935
936 2003-10-16  André Pönitz  <poenitz@gmx.net>
937
938         * lyxrow.[Ch]:
939         * paragraph.h:
940         * rowpainter.C:
941         * text.C:
942         * text2.C:
943         * text3.C: speed up by storing y positions per paragraph plus per-row
944         offset instead of having a 'full' y position in the row.
945
946 2003-10-15  André Pönitz  <poenitz@gmx.net>
947
948         * iterators.[Ch]:
949         * iterators.[Ch]:
950         * undo.[Ch]: make undo aware of inner insets
951
952 2003-10-14  Angus Leeming  <leeming@lyx.org>
953
954         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
955         static member functions LyX::ref() and LyX::cref.
956         (lastfiles): new accessor functions for the new lastfiles_ member var.
957         (addLyXView, views_): add a new LyXView to the list of views_.
958         (updateInset): loop over all LyXViews to call their own updateInset
959         member function, returning a pointer to the Buffer owning the inset.
960
961         * BufferView_pimpl.C (loadLyXFile):
962         * MenuBackend.C (expandLastfiles):
963         * bufferlist.C (MenuWrite, QuitLyX):
964         lastfiles is no longer a global variable.
965         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
966
967         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
968         static function. Access through LyX::cref().emergencyCleanup().
969
970 2003-10-14  André Pönitz  <poenitz@gmx.net>
971
972         * iterators.[Ch]: new direct access to innermost LyXText and Inset
973
974         * undo.[Ch]: restoring part of 'undo in insets'
975
976         * Makefile.am:
977         * undo_funcs.[Ch]: merge with undo.[Ch]
978
979         * tabular.C: small cleansing stuff
980
981 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
982
983         * paragraph_funcs.C (readParToken): report unknown insets as error
984         boxes. Use the outer paragraph as location (also for unknown
985         tokens).
986
987         * factory.C (readInset): do not abort on reading an unknown inset.
988         Eat it and return 0.
989
990 2003-10-13  Angus Leeming  <leeming@lyx.org>
991
992         * lyx_main.C (LyX): remove call to setDisplayTranslator().
993
994         * lyxrc.C: displayTranslator is now a function,
995         declared in GraphicsTypes.h.
996
997 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
998
999         * format.C: new placeholder $$a to pass the socket address.
1000
1001         * bufferlist.[Ch]: new function getBufferFromTmp.
1002
1003         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1004           files in the temporary dir.
1005
1006 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1007
1008         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1009
1010         * Makefile.am: add lyxsocket.[Ch].
1011
1012         * lyx_main.C (error_handler): handle SIGPIPE.
1013
1014 2003-10-13  André Pönitz  <poenitz@gmx.net>
1015
1016         * BufferView_pimpl.C:
1017         * lyxtext.h:
1018         * text.C:
1019         * text2.C:
1020         * text3.C:
1021         * undo_funcs.[Ch]: use paroffset_type instead of
1022           ParagraphList::iterators to prevent multiple conversion
1023           (and get a more robust interface)
1024
1025 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1026
1027         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1028         * lyxtext.h: ditto
1029         * text3.C (dispatch): ditto
1030
1031 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1032
1033         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1034         move the onlyfile, use onlyfile instead of foundfile in a couple
1035         of places.
1036
1037         * DepTable.C (update): flush the error stream a bit more
1038
1039 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1040
1041         * lyxserver.C (callback): adjust
1042
1043         * lyxfunc.C (getStatus): add a missing brace in commented code
1044         (ensureBufferClean): reindent
1045         (dispatch): delete version taking a string
1046
1047 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1048
1049         * LaTeX.C (deplog): move found file handlig from here...
1050         (handleFoundFile): .. to new function here.
1051         (deplog): make sure to discover several files mentioned on the
1052         same log line.
1053
1054 2003-10-10  André Pönitz  <poenitz@gmx.net>
1055
1056         * lyxfunc.C:
1057         * lyxtext.h:
1058         * tabular.C:
1059         * text.C:
1060         * text2.C:
1061         * text3.C: fix some of the tabular crashes
1062
1063 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1064
1065         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1066
1067         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1068
1069 2003-10-09  André Pönitz  <poenitz@gmx.net>
1070
1071         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1072
1073         * BufferView.C:
1074         * BufferView_pimpl.C:
1075         * bufferview_funcs.C:
1076         * lyx_cb.C:
1077         * lyxcursor.C:
1078         * lyxfind.C:
1079         * lyxfunc.C:
1080         * lyxtext.h:
1081         * text.C:
1082         * text2.C:
1083         * text3.C:
1084         * text_funcs.[Ch]:
1085         * textcursor.[Ch]:
1086         * undo_funcs.C: adjust
1087
1088 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1089
1090         * text2.C (incrementItemDepth): new function, use a backtracking
1091         algorithm to discover the correct item depth.
1092         (resetEnumCounterIfNeeded): new function, use a backtracking
1093         algorithm to discover if counter reset is needed.
1094         (setCounter): use them. Simplify a bit. Add different labels for
1095         different item depths for itemize.
1096
1097         * paragraph.C (Paragraph): remove initialization of enumdepth
1098         (operator=): ditto
1099
1100         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1101         enumerate and itemize. Change the type of itemdepth to signed char.
1102
1103 2003-10-08  André Pönitz  <poenitz@gmx.net>
1104
1105         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1106           thing assignable.
1107         * text.C:
1108         * text2.C: adjust
1109
1110         * tabular.[Ch]: fix crash after 'row-insert'
1111
1112 2003-10-08  Angus Leeming  <leeming@lyx.org>
1113
1114         Fix doxygen warnings.
1115
1116         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1117         Remove CutAndPaste:: prefix from header file declaration.
1118
1119         * LColor.h (fill): remove LColor:: prefix from declaration.
1120
1121         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1122         use lyx::depth_type rather than Paragraph::depth_type so that
1123         header file and .C file match.
1124
1125         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1126
1127         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1128         * aspell.C: \file aspell_local.C -> \file aspell.C
1129         * gettext.C: \file gettext.C -> \file src/gettext.C
1130         * gettext.h: \file gettext.h -> \file src/gettext.h
1131         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1132         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1133         * text.C: \file text.C -> \file src/text.C
1134
1135         * toc.C: move comment so that doxygen is not confused.
1136
1137 2003-10-07  Angus Leeming  <leeming@lyx.org>
1138
1139         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1140
1141 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1142
1143         * aspell.C:
1144         * aspell_local.h: add forgotten std::string's.
1145
1146 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1147
1148         * LaTeXFeatures.C:
1149         * LyXAction.C:
1150         * factory.C:
1151         * lfuns.h:
1152         * lyxfunc.C:
1153         * text3.C: The Box patch. Fancybox support, minipage, parbox
1154
1155 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1156
1157         * CutAndPaste.h:
1158         * DepTable.h:
1159         * FloatList.h:
1160         * LaTeXFeatures.h:
1161         * ParagraphParameters.h:
1162         * TextCache.h:
1163         * Thesaurus.h:
1164         * bufferlist.h:
1165         * exporter.h:
1166         * importer.h:
1167         * lastfiles.h:
1168         * lyxfind.h:
1169         * lyxfont.h:
1170         * lyxlex.h:
1171         * lyxtextclasslist.h:
1172         * messages.h:
1173         * paragraph.h:
1174         * paragraph_pimpl.C:
1175         * textcursor.h: add <string> and other small fixes to make Lars'
1176         std::string patch compile with STLport.
1177
1178 2003-10-06  Angus Leeming  <leeming@lyx.org>
1179
1180         * LColor.h: Add missing #include <string>.
1181
1182 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1183
1184         * All most all file in all subdirs: Make <string> be the prefered
1185         way of getting to std::string, add using declarations.
1186
1187 2003-10-06  André Pönitz  <poenitz@gmx.net>
1188
1189         * metricsinfo.C: initialize LyXFont before changing attribute.
1190         (fixes the 'math in \emph is upright' bug)
1191
1192 2003-10-06  André Pönitz  <poenitz@gmx.net>
1193
1194         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1195
1196 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1197
1198         * graph.C:
1199         * paragraph_pimpl.C: Small fixes to build using STLport
1200
1201 2003-10-02  André Pönitz  <poenitz@gmx.net>
1202
1203         * lyxfunc.C:
1204         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1205
1206 2003-10-01  André Pönitz  <poenitz@gmx.net>
1207
1208         * factory.C: assert early
1209
1210 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1211
1212         * lyx_main.C: remove the global debug object
1213
1214         * debug.h: adjust for new debugstream
1215
1216         * debug.C: adjust for new debugstream and keep the global debug
1217         object here.
1218
1219 2003-09-22  Angus Leeming  <leeming@lyx.org>
1220
1221         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1222         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1223         an incomplete class LyXFont.
1224
1225 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1226
1227         * factory.C: bug fix in branches
1228
1229 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1230
1231         * lyxfunc.C (processKeySym): adjust
1232         (dispatch): adjust
1233         (dispatch): change arg name from ev to func, adjust
1234         (sendDispatchMessage): ditto
1235
1236         * lyx_main.C (defaultKeyBindings): adjust keybindings
1237         (deadKeyBindings): ditto
1238
1239         * kbsequence.C (addkey): return a FuncRequest
1240
1241         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1242
1243         * kbmap.C (bind): take a FuncRequest as arg, adjust
1244         (read): adjust
1245         (lookup): adjust
1246         (defkey): change to take a FuncRequest as arg, adjust
1247         (findbinding): take a FuncRequest as arg, adjust.
1248
1249         * funcrequest.h (operator=): added
1250
1251         * funcrequest.C (FuncRequest): default kb_action changed from
1252         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1253
1254         * buffer.C (dispatch): simplify
1255         (dispatch): adjust to take a FuncRequest as arg, adjust
1256
1257         * boost.C (assertion_failed): change assertion message slightly
1258
1259         * ToolbarBackend.C (read): simplify
1260
1261         * MenuBackend.C (binding): adjust call to findbinding, add a
1262         message if no binding is found.
1263         (read): simplify
1264         (expandToc): correct by adding a empty FuncRequest
1265
1266         * LyXAction.C: include <boost/assert.hpp>
1267         (isPseudoAction): delete function
1268         (LookupFunc): change name to...
1269         (lookupFunc): this. change return type to FuncRequest.
1270         (getActionName): take kb_action as arg, simplify
1271         (funcHasFlag): add an assert, simplify.
1272
1273 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1274
1275         * toc.C (action): return a FuncRequest, simplify
1276
1277         * lyxfunc.C (processKeySym): adjust
1278         (getStatus): delete version that takes an int.
1279         (getStatus): adjust
1280         (dispatch): delete version that takes action as int
1281         (dispatch): adjust
1282         (sendDispatchMessage): simplify and adjust
1283
1284         * funcrequest.C (getArg): take unsigned int as arg
1285
1286         * ToolbarBackend.C (read): adjust
1287         (add): delete version that takes func as a string.
1288         (getIton): take a FuncRequest as arg
1289
1290         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1291         action.
1292
1293         * MenuBackend.C (MenuItem): add a new construct that only takes a
1294         Kind, simplify the constructor use for submenus.
1295         (add): adjust
1296         (expandLastfiles): adjust
1297         (expandDocuments): adjust
1298         (expandFormats): adjust
1299         (expandFloatListInsert): adjust
1300         (expandFloatInsert): adjust
1301         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1302
1303         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1304         Remove class variables lyx_pseudo_map and lyx_arg_map
1305
1306         * LyXAction.C (searchActionArg): delete function
1307         (getPseudoAction): delete function
1308         (retrieveActionArg): delete function
1309         (LookupFunc): make it return kb_action, simplify.
1310         (getActionName): simplify
1311
1312         * factory.C (createInset): fix new bug
1313
1314 2003-09-19  Angus Leeming  <leeming@lyx.org>
1315
1316         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1317         masterFilename_ parameter in the include inset.
1318
1319         * factory.C (createInset): changes due to the changes to InsetInclude.
1320
1321 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1322
1323         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1324
1325 2003-09-18  Angus Leeming  <leeming@lyx.org>
1326
1327         * buffer.C:
1328         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1329         Inset::fillWithBibKeys.
1330         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1331
1332 2003-09-18  Angus Leeming  <leeming@lyx.org>
1333
1334         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1335         variables.
1336         (ctor): pass and store a 'Buffer const &'
1337         (buffer): new member function.
1338
1339         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1340         '*this' to the LaTeXFeatures ctor.
1341
1342 2003-09-18  Angus Leeming  <leeming@lyx.org>
1343
1344         * LColor.h:
1345         * lyxfont.C:
1346         * lyxfont.h:
1347         * lyxtext.h:
1348         * text.C: rename EnumLColor as LColor_color.
1349
1350 2003-09-18  Angus Leeming  <leeming@lyx.org>
1351
1352         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1353         remove #include "insets/insetbase.h" from cursor.h.
1354
1355 2003-09-18  Angus Leeming  <leeming@lyx.org>
1356
1357         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1358         InsetOld_code to remove #include "inset.h".
1359
1360         * iterators.C: add #include "insets/inset.h"
1361
1362 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1363
1364         * BufferView.C: remove more locking stuff that apparently doesn't
1365         do anything sensible.
1366
1367 2003-09-16  André Pönitz  <poenitz@gmx.net>
1368
1369         * paragraph.[Ch]:
1370         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1371           performance boost.
1372
1373 2003-09-16  Angus Leeming  <leeming@lyx.org>
1374
1375         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1376
1377         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1378         arg/return type.
1379
1380         * paragraph.h: remove #include "lyxfont.h". Forward declare
1381         LyXFont_size.
1382
1383 2003-09-16  Angus Leeming  <leeming@lyx.org>
1384
1385         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1386         of support/textutils.h.
1387         (isWord): move the contents of support/textutils.h's IsWordChar here.
1388
1389         * buffer.C:
1390         * lyxfind.C:
1391         * rowpainter.C:
1392         * text.C:
1393         * text2.C: add #include "paragraph.h".
1394
1395         * rowpainter.C:
1396         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1397
1398 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1399
1400         * main.C:
1401         * lyx_main.C:
1402         * lyx_cb.C:
1403         * buffer.C:
1404         * LaTeX.C: use namespace alias for lyx::support::os
1405
1406 2003-09-16  Angus Leeming  <leeming@lyx.org>
1407
1408         * bufferparams.C:
1409         * bufferview_funcs.C:
1410         * factory.C:
1411         * lyxfunc.C:
1412         * paragraph_pimpl.C:
1413         * rowpainter.C:
1414         * text.C: add #include "LColor.h".
1415
1416 2003-09-16  Angus Leeming  <leeming@lyx.org>
1417
1418         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1419         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1420         return LyXFont &.
1421         Store the FontBits::color variable as an int rather than as an
1422         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1423         file.
1424
1425         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1426         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1427         string calls together.
1428
1429         * lyxrc.C: add #include "LColor.h".
1430
1431 2003-09-15  Angus Leeming  <leeming@lyx.org>
1432
1433         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1434         a cow_ptr.
1435
1436 2003-09-15  Angus Leeming  <leeming@lyx.org>
1437
1438         * LColor.h: add an EnumLColor wrapper for LColor::color.
1439
1440         * lyxfont.[Ch] (color, setColor, realColor):
1441         * lyxtext.h, text.C (backgroundColor):
1442         pass EnumLColor args to/from the functions, rather than LColor::color
1443         ones.
1444
1445         * lyxfont.h:
1446         * lyxtext.h: forward declare EnumLColor.
1447
1448         * lyx_main.C: add #include "LColor.h".
1449
1450 2003-09-15  Angus Leeming  <leeming@lyx.org>
1451
1452         * .cvsignore: add lyx-gtk.
1453
1454 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1455
1456         * Chktex.C
1457         * LaTeX.C
1458         * LaTeXFeatures.C
1459         * ParagraphParameters.C
1460         * Spacing.C
1461         * buffer.C
1462         * bufferparams.C
1463         * bufferview_funcs.C
1464         * chset.C
1465         * counters.C
1466         * funcrequest.C
1467         * lyxfont.C
1468         * lyxgluelength.C
1469         * lyxlength.C
1470         * paragraph.C
1471         * paragraph_funcs.C
1472         * text3.C
1473         * vc-backend.C: remove usage of STRCONV
1474
1475 2003-09-15  Angus Leeming  <leeming@lyx.org>
1476
1477         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1478         explicitly define the color passed to the painter.
1479
1480 2003-09-15  Angus Leeming  <leeming@lyx.org>
1481
1482         * bufferparams.C (BufferParams): reorder member initializers to avoid
1483         compiler warning.
1484
1485 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1486
1487         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1488         * text.C (updateRowPositions): remove an unusual nop
1489
1490 2003-09-12  André Pönitz  <poenitz@gmx.net>
1491
1492         * BufferView_pimpl.C:
1493         * Bullet.C:
1494         * layout.h:
1495         * lyxfunc.C:
1496         * lyxlayout.[Ch]:
1497         * lyxtextclass.C:
1498         * rowpainter.C:
1499         * text.C:
1500         * text2.C:
1501         * Counters.[Ch]: finish the 'automatic counters' job
1502
1503 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1504
1505         * aspell.C: include <boost/assert.cpp> (compile fix)
1506
1507 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1508
1509         * boost.C (assertion_failed): use lyx::support::abort instead of
1510         assert.
1511
1512 2003-09-10  Angus Leeming  <leeming@lyx.org>
1513
1514         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1515         with their _fwd progeny.
1516
1517 2003-09-09  Angus Leeming  <leeming@lyx.org>
1518
1519         134 files throughtout the source tree: replace 'using namespace abc;'
1520         directives with the appropriate 'using abc::xyz;' declarations.
1521
1522 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1523
1524         * boost.C (emergencyCleanup): moved here from LAssert.c
1525         (assertion_failed): new function, called by BOOST_ASSERT
1526
1527         * several files: change Assert to BOOST_ASSERT
1528
1529 2003-09-09  Angus Leeming  <leeming@lyx.org>
1530
1531         * buffer.[Ch]: Add an Impl class and move Buffer's member
1532         variables into it. As a result move several header files out of
1533         buffer.h.
1534
1535         Add header files to lots of .C files all over the tree as a result.
1536
1537 2003-09-09  Angus Leeming  <leeming@lyx.org>
1538
1539         * buffer.[Ch]: make Buffer's member variables private. Add
1540         accessor functions.
1541
1542         Lots of changes all over the tree as a result.
1543
1544 2003-09-08  Angus Leeming  <leeming@lyx.org>
1545
1546         * graph.C: #include <config.h>.
1547
1548 2003-09-08  Angus Leeming  <leeming@lyx.org>
1549
1550         * BranchList.C:
1551         * BufferView.C:
1552         * BufferView_pimpl.C:
1553         * CutAndPaste.C:
1554         * DepTable.C:
1555         * LaTeX.C:
1556         * LaTeXFeatures.C:
1557         * LyXAction.C:
1558         * MenuBackend.C:
1559         * TextCache.C:
1560         * aspell.C:
1561         * buffer.C:
1562         * bufferlist.C:
1563         * changes.C:
1564         * chset.C:
1565         * converter.C:
1566         * counters.C:
1567         * debug.C:
1568         * graph.C:
1569         * ispell.C:
1570         * lyx_cb.C:
1571         * lyxfind.C:
1572         * lyxfunc.C:
1573         * lyxlex_pimpl.C:
1574         * lyxrc.C:
1575         * lyxrow.C:
1576         * paragraph.C:
1577         * rowpainter.C:
1578         * texrow.C:
1579         * text.C:
1580         * text2.C:
1581         * toc.C: remove redundant using directives.
1582
1583 2003-09-07  Angus Leeming  <leeming@lyx.org>
1584
1585         * LaTeXFeatures.h: remove #include "support/types.h".
1586         * ToolbarBackend.h: remove #include <algorithm>.
1587         * changes.h: remove #include <ctime>.
1588         * debug.h: remove #include <iosfwd>.
1589         * graph.h: remove #include "support/std_string.h".
1590         * lyx_main.h: remove #include <csignal>.
1591         * lyxlex_pimpl.h: remove #include <fstream>.
1592         * sgml.h: remove #include <algorithm>, <utility>.
1593         * toc.h: remove #include "support/std_ostream.h".
1594         Add #include <iosfwd>.
1595
1596 2003-09-07  Angus Leeming  <leeming@lyx.org>
1597
1598         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1599
1600         * converter.h: forward declare LatexRunParams.
1601         * encoding.h: remove #include "lyxrc.h".
1602         * lyxtext.h: remove #include "LColor.h".
1603         * lyxtextclass.h: remove #include "support/types.h".
1604         * trans.h: remove #include "tex-accent.h".
1605         * trans_mgr.h: remove #include "tex-accent.h".
1606         * insets/inset.h: remove #include "support/types.h", <vector>.
1607         * insets/insetcollapsable.h: remove #include "LColor.h".
1608         * insets/insetinclude.h: remove #include "dimension.h".
1609         * insets/insetlatexaccent.h: remove #include "dimension.h".
1610         * insets/insetoptarg.h:: remove #include "insettext.h".
1611         * insets/insettext.h: remove #include "dimension.h",
1612         <boost/shared_ptr.hpp>
1613
1614         * insets/renderers.h: add #include "dimension.h".
1615         * insets/updatableinset.h: add #include "support/types.h".
1616
1617         * many .C files: Associated changes.
1618
1619 2003-09-06  Angus Leeming  <leeming@lyx.org>
1620
1621         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1622         one, inside testInvariant.
1623
1624         * PrinterParams.C: new file.
1625         * PrinterParams.[Ch]: move the function bodies out of line.
1626
1627 2003-09-06  Angus Leeming  <leeming@lyx.org>
1628
1629         * ParagraphParameters.h: forward declare ParameterStruct rather than
1630         including its header file.
1631         (depth): moved out-of-line.
1632
1633 2003-09-06  Angus Leeming  <leeming@lyx.org>
1634
1635         * BufferView_pimpl.h:
1636         * kbmap.h:
1637         * kbsequence.h:
1638         * lyxfunc.h: forward declare LyXKeySym rather than
1639         #include "frontends/LyXKeySym.h".
1640
1641         * BufferView_pimpl.C:
1642         * kbmap.C:
1643         * kbsequence.C:
1644         * lyxfunc.C: associated changes.
1645
1646 2003-09-06  Angus Leeming  <leeming@lyx.org>
1647
1648         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1649         As a result, can remove the #include "insets/inset.h" from BufferView.h
1650
1651 2003-09-06  Angus Leeming  <leeming@lyx.org>
1652
1653         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1654         As a result, can remove the #include "insets/inset.h" from BufferView.h
1655
1656 2003-09-06  Angus Leeming  <leeming@lyx.org>
1657
1658         * buffer_funcs.C:
1659         * buffer.h:
1660         * bufferlist.C:
1661         * BufferView.C:
1662         * bufferview_funcs.C:
1663         * BufferView_pimpl.C:
1664         * CutAndPaste.C:
1665         * lyx_cb.C:
1666         * lyxfunc.C:
1667         * paragraph.h:
1668         * ParagraphParameters.C:
1669         * tabular.C:
1670         * text3.C:
1671         * toc.C:
1672         * undo_funcs.C:
1673         * frontends/controllers/ControlDocument.C:
1674         * insets/insetcaption.C: rearrange the #includes into some sort of
1675         coherent order.
1676
1677         * buffer.h: remove #includes ErrorList.h, undo.h
1678
1679 2003-09-06  Angus Leeming  <leeming@lyx.org>
1680
1681         * support/types.h: add a 'depth_type' typedef, used to store the
1682         nesting depth of a paragraph.
1683
1684         * paragraph.h:
1685         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1686         defining explicitly.
1687
1688         * buffer.h:
1689         * paragraph_funcs.h:
1690         * ParagraphParameters.h:
1691         * sgml.h: use lyx::depth_type rather than Paragraph or
1692         ParameterStruct's depth_type.
1693
1694         * buffer.h
1695         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1696
1697         * BufferView.C:
1698         * BufferView_pimpl.C:
1699         * CutAndPaste.C:
1700         * ParagraphParameters.C:
1701         * buffer_funcs.C:
1702         * bufferlist.C:
1703         * bufferview_funcs.C:
1704         * lyx_cb.C:
1705         * lyxfunc.C:
1706         * tabular.C:
1707         * text3.C:
1708         * toc.C:
1709         * undo_funcs.C:
1710         * frontends/LyXView.C:
1711         * frontends/controllers/ControlDocument.C:
1712         * frontends/controllers/ControlErrorList.C:
1713         * insets/insetbibitem.C:
1714         * insets/insetbranch.C:
1715         * insets/insetcaption.C:
1716         * insets/insetcollapsable.C:
1717         * insets/insetenv.C:
1718         * insets/insetert.C:
1719         * insets/insetfloat.C:
1720         * insets/insetfoot.C:
1721         * insets/insetfootlike.C:
1722         * insets/insetnewline.C:
1723         * insets/insetquotes.C:
1724         * insets/insettabular.C:
1725         * insets/insettext.C:
1726         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1727
1728         * frontends/controllers/ControlChanges.C: #include "changes.h".
1729
1730 2003-09-06  Angus Leeming  <leeming@lyx.org>
1731
1732         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1733         than #including paragraph.h.
1734
1735         * ParagraphList.h:
1736         * RowList.h: deleted. Superfluous.
1737
1738         * CutAndPaste.h:
1739         * iterators.h:
1740         * lyxcursor.h:
1741         * lyxtext.h:
1742         * text_funcs.h:
1743         * undo.h:
1744         * undo_funcs.h:
1745         * insets/inset.h:
1746         * insets/insettext.h: use ParagraphList_fwd.h rather than
1747         ParagraphList.h.
1748
1749         * paragraph.h: don't forward declare ParagraphList.
1750
1751         * buffer.h:
1752         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1753         rather than ParagraphList.h. paragraph.h is still needed for the
1754         Paragraph::depth_type parameters.
1755
1756         * textcursor.h: enable it to compile stand-alone in light of the
1757         above changes.
1758
1759         * bufferview_funcs.C:
1760         * iterators.C:
1761         * lyxfunc.C:
1762         * lyxrow_funcs.C:
1763         * paragraph.C:
1764         * rowpainter.C:
1765         * text.C:
1766         * text2.C:
1767         * text3.C:
1768         * text_funcs.C:
1769         * textcursor.C:
1770         * undo.C:
1771         * frontends/controllers/ControlParagraph.C:
1772         * frontends/controllers/ControlTabular.C:
1773         * insets/insetmarginal.C:
1774         * insets/insetminipage.C:
1775         * insets/insetnote.C:
1776         * insets/insetoptarg.C: add header files needed to compile again.
1777
1778 2003-09-06  Angus Leeming  <leeming@lyx.org>
1779
1780         * RowList_fwd.h: new file, forward-declaring Row rather than
1781         #including lyxrow.h.
1782
1783         * lyxrow_funcs.h:
1784         * lyxtext.h:
1785         * paragraph.h:
1786         * insets/insettext.h: use it instead of RowList.h
1787
1788         * bufferview_funcs.C:
1789         * lyxfunc.C:
1790         * lyxrow_funcs.C:
1791         * paragraph.C:
1792         * rowpainter.C:
1793         * text.C:
1794         * text2.C:
1795         * text3.C: #include "RowList.h".
1796
1797 2003-09-05  Angus Leeming  <leeming@lyx.org>
1798
1799         * factory.C (createInset):
1800         * vspace.C (c-tor): replace sscanf call with an istringstream.
1801         * ispell.C: re-add missing HP/UX headers.
1802         * lyxserver.C: re-add missing  os2 headers.
1803
1804 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1805
1806         * BranchList.C:
1807         * graph.C:
1808         * ispell.C:
1809         * lastfiles.C:
1810         * lyx_cb.C:
1811         * lyxserver.C:
1812         * texrow.C:
1813         * text3.C: re-add missing system headers, needed for 2.95.2.
1814
1815 2003-09-05  Angus Leeming  <leeming@lyx.org>
1816
1817         Changes most place everywhere due to the removal of using directives
1818         from support/std_sstream.h.
1819
1820 2003-09-05  Angus Leeming  <leeming@lyx.org>
1821
1822         Replace LString.h with support/std_string.h,
1823         Lsstream.h with support/std_sstream.h,
1824         support/LIstream.h with support/std_istream.h,
1825         support/LOstream.h with support/std_ostream.h.
1826
1827         Changes resulting throughout the tree.
1828
1829 2003-09-05  Angus Leeming  <leeming@lyx.org>
1830
1831         * sgml.h: ensure that the header file can be compiled stand-alone.
1832         * *.C: strip out redundant #includes. (320 in total.)
1833
1834 2003-09-04  Angus Leeming  <leeming@lyx.org>
1835
1836         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1837         here (from getPackages).
1838
1839         * debug.[Ch]: add a new EXTERNAL tag.
1840
1841 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1842
1843         * text2.C (cursorEnd): simplify
1844         (setCursor): adjust
1845         (getColumnNearX): adjust
1846
1847         * text.C (computeBidiTables): adjust
1848         (fill): adjust
1849
1850         * rowpainter.C (paintChars): adjust
1851         (paintSelection): adjust
1852         (paintChangeBar): adjust
1853         (paintText): adjust
1854
1855         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1856         lastPos instead.
1857         (numberOfSeparators): adjust
1858
1859 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1860
1861         * LyXAction.C:
1862         * box.[Ch]:
1863         * lfuns.h:
1864         * lyxfunc.C:
1865         * text3.C: Restricts the mouse click functionality
1866         of insets like bibtex, include, toc and floatlist to the visible
1867         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1868         up the dialogs. Cursor has to be in front of the inset (i.e.
1869         start of row) for this to function.
1870
1871 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1872
1873         * bufferview_funcs.C (currentState): output row information
1874
1875 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1876
1877         * bufferview_funcs.C (currentState): output paragraph position
1878
1879 2003-09-04  Angus Leeming  <leeming@lyx.org>
1880
1881         * FloatList.h: move out #include "Floating.h".
1882         * LaTeX.h: move out #include "DepTable.h".
1883         * LyXAction.h: move out #include "funcrequest.h".
1884         * buffer.h: move out #include "author.h", "iterators.h".
1885         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1886         * lyx_main.h: move out #include "errorlist.h".
1887         * lyxfunc.h: move out #include "FuncStatus.h".
1888         * lyxtext: move out #include "lyxcursor.h".
1889         * paragraph_pimpl.h: move out #include "counters.h".
1890
1891 2003-09-03  Angus Leeming  <leeming@lyx.org>
1892
1893         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1894         preamble_snippets list, enabling us to add snippets to the preamble
1895         only if the snippet was not there already.
1896
1897 2003-09-04  Angus Leeming  <leeming@lyx.org>
1898
1899         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1900
1901 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1902
1903         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1904         update
1905
1906 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1907
1908         * BranchList.C: point fix, earlier forgotten
1909
1910 2003-09-02  Angus Leeming  <leeming@lyx.org>
1911
1912         * box.C (contains): renamed from 'contained' after a fantastic
1913         amount of hot air.
1914
1915 2003-09-02  John Levon  <levon@movementarian.org>
1916
1917         * BufferView.C:
1918         * lyxcursor.h:
1919         * lyxcursor.C:
1920         * lyxfunc.C:
1921         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1922
1923 2003-09-02  John Levon  <levon@movementarian.org>
1924
1925         * text2.C: simplification of cursorEnd(), including partial
1926         fix for bug 1376
1927
1928 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1929
1930         * buffer.C (readFile): add a space
1931
1932 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1933
1934         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1935
1936 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1937
1938         * buffer.C (readFile): new function, take a filename and a
1939         ParagraphList::iterator
1940         (readFile): adjust
1941         (readFile): adjust, make it private. don't use setStream, make
1942         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1943         always contain the filename.
1944
1945         * BufferView.C (insertLyXFile): simplify and make it work for
1946         gzipped files.
1947
1948 2003-08-30  John Levon  <levon@movementarian.org>
1949
1950         * Makefile.am: fix dist (from Kayvan)
1951
1952 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1953
1954         * most files: change to use const Buffer refs
1955
1956 2003-08-27  André Pönitz  <poenitz@gmx.net>
1957
1958         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1959         on top of ownerPar().
1960
1961 2003-08-27  John Levon  <levon@movementarian.org>
1962
1963         * funcrequest.C: properly initialise POD members
1964
1965 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1966
1967         * lyxtext.h (top_y): move top_y from here
1968         * text.C:
1969         * text2.C:
1970         * text3.C:
1971         * BufferView.[Ch]:
1972         * BufferView_pimpl.[Ch]: to here
1973         * frontends/screen.C:
1974         * insets/insettabular.C:
1975         * insets/insettext.C: adjust
1976         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1977
1978 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1979
1980         * BufferView.[Ch]:
1981         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1982
1983 2003-08-26  André Pönitz  <poenitz@gmx.net>
1984
1985         * paragraph_func.[Ch] (outerPar): new function
1986
1987         * paragraph.C:
1988         * paragraph_funcs.C:
1989         * paragraph_funcs.h:
1990         * paragraph_pimpl.C:
1991         * text2.C: remove Inset::par_owner
1992
1993 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1994
1995         * lyxrow_funcs.C:
1996         * lyxtext.h:
1997         * text.C:
1998         * text2.C: eliminates the needFullRow/display() stuff
1999         altogether, putting the logic in metrics/draw in the insets.
2000
2001 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2002
2003         * text2.C (redoParagraphInternal, redoParagraphs):
2004         * text.C (redoParagraph): add a call to updateRowPositions at the
2005         end of each 'metrics-like' call. Remove all others.
2006         (getRow): remove the 'y-computing' version.
2007         (getRowNearY): do not compute nor return the real y. Solve the
2008         'y < 0' problem and simplify.
2009
2010 2003-08-22  Angus Leeming  <leeming@lyx.org>
2011
2012         * *.[Ch]: clean-up of licence and author blurbs.
2013         Also move config.h out of a few .h files and into a few .C files.
2014
2015 2003-08-22  André Pönitz  <poenitz@gmx.net>
2016
2017         * lyxrow.[Ch]: add x_ and *fill_ members
2018
2019         * lyxtext.h:
2020         * text.C:
2021         * rowpainter.C:
2022         * text2.C: adjust/remove prepareToPrint() calls
2023
2024 2003-08-22  André Pönitz  <poenitz@gmx.net>
2025
2026         * lyxrow.[Ch]: add  end_ member
2027
2028         * lyxrow_funcs.C: use LyXRow::end_
2029
2030         * lyxtext.h (singleWidth): add LyXFont parameter
2031
2032         * rowpainter.C:
2033         * text2.C: adjust LyXText::singleWidth() calls
2034
2035         * text.C (redoParagraph): simplify row breaking logic
2036
2037
2038 2003-08-19  André Pönitz  <poenitz@gmx.net>
2039
2040         * funcrequest.C: initialize button_ member
2041
2042         * text3.C:
2043         * rowpainter.[Ch]: interface consolidation
2044
2045 2003-08-18  André Pönitz  <poenitz@gmx.net>
2046
2047         * BufferView.C:
2048         * BufferView_pimpl.C:
2049         * lyxfind.C:
2050         * paragraph_funcs.C:
2051         * rowpainter.C:
2052         * text3.C: remove LyXScreen::draw() and fitCursor calls
2053
2054         * BranchList.h: remove spurious semicolons
2055
2056         * MenuBackend.C: fix branchlist related crash
2057
2058 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2059
2060         * BranchList.[Ch]:
2061         * InsetList.[Ch]:
2062         * LColor.[Ch]:
2063         * LyXAction.C:
2064         * Makefile.am:
2065         * MenuBackend.[Ch]:
2066         * bufferparams.[Ch]:
2067         * factory.C:
2068         * lfuns.h:
2069         * lyxfunc.C:
2070         * text3.C: implements the 'branch inset'
2071         idea. This allows the output of various versions of a document
2072         from a single source version, selectively outputing or suppressing
2073         output of parts of the text.
2074         This implementation contains a 'branch list editor' in a separate
2075         tab of the document settings dialog. Branches are user definable
2076         and have a "display colour" to distinguish them on-screen.
2077
2078         ColorHandler was somewhat cleaned up.
2079         (1) make possible a dynamically growing LColor list by allowing
2080         the graphic context cache to grow along (vector);
2081         (2) eliminate an IMHO unnecessary step in colour allocation.
2082
2083 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2084
2085         * BufferView_pimpl.C: compile fix
2086
2087 2003-08-15  André Pönitz  <poenitz@gmx.net>
2088
2089         * rowpainter.C: remove extra metrics calls
2090
2091         * lyxtext.h: merge the two constructors into a single one,
2092           pass reference to owner's par list
2093
2094         * BufferView_pimpl.C:
2095         * text.C:
2096         * text2.C: adjust
2097
2098 2003-08-15  André Pönitz  <poenitz@gmx.net>
2099
2100         * lyxrow_funcs.[Ch]:
2101         * lyxtext.h:
2102         * paragraph.h:
2103         * paragraph_funcs.C:
2104         * rowpainter.C:
2105         * text.C:
2106         * text2.C:
2107         * text3.C:
2108         * text_funcs.C: split LyXText::rowlist_ into individual
2109         Paragraph::rows_ chunks
2110
2111         * BufferView.[Ch]:
2112         * BufferView_pimpl.[Ch]:
2113         * lyxfind.C:
2114         * lyxtext.h:
2115         * text3.C: remove toggleSelection()
2116
2117 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2118
2119         * bufferlist.C: beautify two alerts (shorter text of buttons)
2120         * buffer.C: Remove redundant ' ' from message
2121         * tabular.h:
2122         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2123         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2124         rename VALIGN_CENTER to VALIGN_MIDDLE
2125
2126 2003-08-11  André Pönitz  <poenitz@gmx.net>
2127
2128         * lyxtext.h (getPar):
2129         * text.C: new function
2130
2131 2003-08-11  André Pönitz  <poenitz@gmx.net>
2132
2133         * Makefile.am:
2134         * tracer.[Ch]: remove unneeded files
2135
2136         * InsetList.[Ch]: remove resizeInsetsLyXText()
2137
2138         * lyxtext.h:
2139         * text.C:
2140         * text2.C:
2141         * text3.C: merge insertParagraphs() and appendParagraph()
2142         remove breakAgain(), update()
2143
2144         * BufferView_pimpl.[Ch]:
2145         * bufferview_funcs.[Ch]:
2146         * lyxfunc.C:
2147         * paragraph.[Ch]:
2148         * rowpainter.C:
2149         * tabular.C: adjust after text & InsetList changes.
2150
2151 2003-08-08  André Pönitz  <poenitz@gmx.net>
2152
2153         * text.C (insertChar, backspace): replace rowlist fiddling
2154         with rebreak of full par
2155
2156         * lyxtext.h:
2157         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2158         checkParagraph, updateInset): removed
2159
2160 2003-08-07  André Pönitz  <poenitz@gmx.net>
2161
2162         * paragraph.C:
2163         * text3.C: merge some LFUN handlers, remove dead code
2164
2165 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2166
2167         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2168
2169 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2170
2171         * text2.C (DEPM): fix part of bug 1255 and 1256
2172
2173 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2174
2175         * BufferView_pimpl.C (workAreaDispatch): change to use
2176         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2177         that are no mouse related.
2178
2179 2003-08-05  André Pönitz  <poenitz@gmx.net>
2180
2181         * BufferView.[Ch]:
2182         * BufferView_pimpl.[Ch]:
2183         * bufferview_funcs.C:
2184         * text2.C:
2185         * text3.C: rip out "deep update"
2186
2187         * textcursor.[Ch] (last_sel_cursor): remove unused member
2188
2189 2003-08-04  André Pönitz  <poenitz@gmx.net>
2190
2191         * BufferView.[Ch]:
2192         * BufferView_pimpl.[Ch]:
2193         * ParagraphParameters.C:
2194         * bufferview_funcs.C:
2195         * lyx_cb.C:
2196         * lyxfind.C:
2197         * lyxfunc.C:
2198         * text.C:
2199         * text2.C:
2200         * text3.C: replace "complicated" BufferView::update(...) calls with
2201         simpler ones.
2202
2203         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2204
2205 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2206
2207         * Makefile.am (lyx_SOURCES): add paper.h
2208
2209 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2210
2211         * Makefile.am: move things around so that both lyx-qt and
2212         lyx-xforms can be built (according to --with-frontend). Then lyx
2213         is a symbolic link to lyx-[firstfrontend]
2214
2215 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2216
2217         * Always use std::endl with lyxerr
2218
2219 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2220
2221         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2222
2223 2003-08-01  André Pönitz  <poenitz@gmx.net>
2224
2225         * BufferView.[Ch]:
2226         * BufferView_pimpl.[Ch]:
2227         * lyxfunc.C:
2228         * text3.C: merge BufferView::repaint() and BufferView::update()
2229
2230 2003-08-01  José Matos  <jamatos@lyx.org>
2231
2232         * buffer.[Ch]: file_format is no longer a buffer data element.
2233
2234 2003-08-01  André Pönitz  <poenitz@gmx.net>
2235
2236         * BufferView.C:
2237         * lyxtext.h:
2238         * text.C:
2239         * text2.C: make redoParagraph more independent of current cursor
2240
2241         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2242         * text.C:
2243         * text2.C: remove unneeded members
2244
2245 2003-07-30  André Pönitz  <poenitz@gmx.net>
2246
2247         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2248
2249         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2250           create a single function...
2251
2252         * paragraph_funcs.C (moveItem): ... here.
2253
2254         * text.C:
2255           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2256
2257 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2258
2259         * LColor.[Ch]: Add comment and greyedout logical colors.
2260
2261 2003-07-30  André Pönitz  <poenitz@gmx.net>
2262
2263         * tabular.C: don't use Assert too heavily. This crashes where it
2264           shouldn't
2265
2266 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2267
2268         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2269         is disabled (bug 1232)
2270
2271 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2272
2273         * factory.C: limited 'arg' scope
2274
2275 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2276
2277         * factory.C: fixed Note submenu issues
2278
2279 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2280
2281         * factory.C: submenu for Note/Comment/Greyedout
2282
2283 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2284
2285         * lyx_main.C (LyX):
2286         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2287
2288 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2289
2290         * LaTeXFeatures.C:
2291         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2292         greyedout. Patch provided by Jürgen Spitzmüller.
2293
2294 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2295
2296         * kbmap.C (read): fix error message when reading bind files
2297
2298 2003-07-29  Angus Leeming  <leeming@lyx.org>
2299
2300         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2301         certainly does not do what it purports to do. I am doing it, and
2302         us, a favour by killing it.
2303
2304 2003-07-28  José Matos  <jamatos@lyx.org>
2305
2306         * buffer.C (readBody, do_writeFile):
2307         * paragraph.C(readParagraph): \end_document replaces \the_end.
2308
2309 2003-07-29  André Pönitz  <poenitz@gmx.net>
2310
2311         * BufferView.[Ch]:
2312         * BufferView_pimpl.[Ch]:
2313         * lyxfunc.C:
2314         * text2.C:
2315         * text3.C:
2316         * textcursor.[Ch]: remove toggleToggle & Co
2317
2318 2003-07-28  José Matos  <jamatos@fep.up.pt>
2319
2320         * buffer.C (readParagraph):
2321         * params_func (readParToken, readParagraph):
2322         * paragraph.C (write): \layout -> \begin_layout.
2323
2324 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2325
2326         * lyxlex_pimpl.C (setFile): clean up slightly.
2327
2328         * bufferparams.h: add compressed var
2329
2330         * buffer_funcs.C (readFile): adjust for LyXLex change
2331         (newFile): ditto + simplify
2332
2333         * buffer.C (writeFile): handle writing of compressed files
2334
2335         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2336         Check if the file is compressed and set a bufferparm if so.
2337
2338         * Makefile.am (lyx_LDADD): remove explicit -lz
2339
2340 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2341
2342         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2343         makeDocBookFile): put the real LyX version in the first line of
2344         the file
2345
2346         * version.h:
2347         * version.C.in: remove lyx_docversion
2348
2349         * tabular.C (write_attribute): add a template-based version to
2350         write enums properly
2351
2352 2003-07-28  André Pönitz  <poenitz@gmx.net>
2353
2354         * lyxtext.h:
2355         * text.C:
2356         * text2.C:
2357         * text3.C: use doubles again for x-coordinates. They are needed.
2358
2359 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2360
2361         * messages.C (getLocaleDir): use lyx_localedir()
2362
2363         * lyxlex_pimpl.C (setFile): compress stuff
2364
2365         * buffer.C (writeFile): add some compression stuff
2366         (do_writeFile): new func, dont call expliti close... will this
2367         breake anything?
2368
2369         * Makefile.am (lyx_LDADD): add -lz
2370
2371 2003-07-28  José Matos  <jamatos@fep.up.pt>
2372
2373         * buffer.C: increment file format.
2374         * paragraph_funcs (readParagraph, readParToken):
2375         * paragraph.C (readParagraph): add \end_layout.
2376
2377 2003-07-27  Angus Leeming  <leeming@lyx.org>
2378
2379         * Makefile.am: remove special casing for configure-time setting of
2380         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2381
2382         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2383         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2384
2385 2003-07-26  André Pönitz  <poenitz@gmx.net>
2386
2387         * paragraph_func.[Ch]:
2388         * paragraph.C (realizeFont): inline it whereever it is used
2389
2390         * rowpainter.C:
2391         * text.C:
2392         * text2.C:
2393         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2394
2395
2396 2003-07-26  André Pönitz  <poenitz@gmx.net>
2397
2398         *       lyxtext.h:
2399         * text.C:
2400         * text2.C: get rid of LyXText::need_break_row
2401
2402 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2403
2404         * toc.[Ch]: put namespace toc inside namespace lyx
2405
2406         * MenuBackend.C (expandToc2): adjust for lyx::toc
2407         (expandToc): ditto
2408
2409         * lyxfunc.C (dispatch): adjust for lyx::find
2410
2411         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2412         lyx::find instead. Reorganize a bit.
2413         (LyXReplace): rename to replace
2414         (LyXFind): rename to find
2415
2416         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2417         (dispatch): ditto
2418
2419 2003-07-26  André Pönitz  <poenitz@gmx.net>
2420
2421         * text.C (setHeightOfRow): restrict scope of temporary variable
2422
2423         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2424           code (never has been used?)
2425
2426 2003-07-27  Asger Alstrup  <alstrup@local>
2427
2428         * text.C (fill): Optimise algorithm to exploit that we can reuse
2429         the LyXFont for many characters.
2430         (setHeightOfRow): Same thing.
2431         (rowBreakPoint): Same thing.
2432
2433 2003-07-26  Asger Alstrup  <alstrup@local>
2434
2435         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2436
2437         * text.C (singleWidth): Spurious font copying in hot-spot
2438         singleWidth avoided. Reorder tests for arabic for efficiency.
2439
2440         * text.C (fill): handle empty paragraphs better.
2441
2442 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2443
2444         * ispell.C:
2445         * encoding.h: add includes
2446
2447         * lyxrc.C: remove reading of bind files
2448
2449         * lyx_main.C (init): setup bindings and menus only if we have a
2450         gui.
2451
2452         * kbmap.C (read): new method. Do the actual reading of bind
2453         files.
2454
2455         * converter.C (dvipdfm_options):
2456         * bufferparams.C:
2457         * lyxrc.C (read):
2458         (output): adapt PAPER_* enums.
2459
2460         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2461
2462         * bufferparams.h: remove paper-related enums from there
2463
2464         * paper.h: New file. A trivial header file to hold paper-related
2465         enums. It should later expand to contain many paper-related
2466         horrors access.
2467
2468         * lyxrc.C: declare extern displayTranslator
2469
2470 2003-07-27  José Matos  <jamatos@fep.up.pt>
2471
2472         * tabular.[Ch] (linuxdoc): add support for tables and figures
2473         (linuxdoc).
2474
2475 2003-07-27  José Matos  <jamatos@fep.up.pt>
2476
2477         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2478         consistency in both functions.
2479         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2480
2481 2003-07-26  Asger Alstrup  <alstrup@local>
2482
2483         * rowpainter.C (paintRows): Change algorithm to work directly on
2484         the insets rather than asking every character in the document
2485         whether its an inset.
2486
2487 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2488
2489         * buffer.C (openFileWrite): factorize some code
2490
2491 2003-07-26  Angus Leeming  <leeming@lyx.org>
2492
2493         * lyx_cb.C:
2494         * lyx_main.[Ch]: replace occurances of system_tempdir with
2495         os::getTmpDir().
2496
2497 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2498
2499         * rename Inset to InsetOld
2500
2501 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2502
2503         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2504         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2505         which I think is a bit clearer. EDIT is gone, since it was
2506         premature optimisation, and broken for mathed anyway.
2507         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2508         with cursor positioning in insets as well (math insets still do not
2509         work, but that's a different story anyway.) It mysteriously
2510         crashes sometimes with undo in the first paragraph, but I'm fairly
2511         confident that this is a compiler bug.
2512
2513 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2514
2515         * paragraph.C (Paragraph): adjust for new clone return type
2516         (operator==): ditto
2517         (copyIntoMinibuffer): ditto
2518
2519 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2520
2521         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2522         by not having a special case, and always doing a full rebreak of
2523         the document after undo.
2524
2525 2003-07-23  Angus Leeming  <leeming@lyx.org>
2526
2527         * factory.C (createInset): InsetExternal::setParams now takes a
2528         Buffer const * arg.
2529
2530 2003-07-23  Angus Leeming  <leeming@lyx.org>
2531
2532         * factory.C (createInset): changed interface to the external and
2533         graphics mailers' string2params functions.
2534
2535 2003-07-23  Angus Leeming  <leeming@lyx.org>
2536
2537         * factory.C (createInset): pass a
2538         Buffer const * parameter to InsetExternalMailer's string2params.
2539
2540 2003-07-22  John Levon  <levon@movementarian.org>
2541
2542         * Thesaurus.h: include the right aiksaurus header
2543
2544 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2545
2546         * MenuBackend.C (expand): check menu shortcuts unconditionally
2547
2548 2003-07-21  Angus Leeming  <leeming@lyx.org>
2549
2550         * factory.C (createInset): pass a
2551         buffer_path parameter to InsetGraphicsMailer's string2params.
2552
2553 2003-07-21  Angus Leeming  <leeming@lyx.org>
2554
2555         * BufferView_pimpl.C (buffer):
2556         * buffer.C (d-tor):
2557         * lyx_main.C (LyX):
2558         * lyxfunc.C (dispatch):
2559         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2560         rather than the grfx shortcut.
2561
2562 2003-07-21  André Pönitz  <poenitz@gmx.net>
2563
2564         * rowpainter.C: remove unused variables
2565
2566         * tabular_funcs.C:
2567         * tabular_funcs.h: move to tabular.C
2568         * Makefile.am: adjust
2569
2570         * tabular.[Ch]: basic optical cleaning
2571
2572         * author.h: pass references, not values
2573
2574 2003-07-18  André Pönitz  <poenitz@gmx.net>
2575
2576         * lyxtext.h:
2577         * metricsinfo.C:
2578         * metricsinfo.h:
2579         * rowpainter.C:
2580         * text.C:
2581         * text2.C:
2582         * text3.C: two-phase drawing for InsetText and InsetTabular
2583         some float -> int changes.
2584
2585 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2586
2587         * lyx_main.C: fix the fix
2588
2589 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2590
2591         * lyx_main.C: fix a crash in batch mode if no files specified
2592         * converter.C: ws
2593
2594 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2595
2596         * format.[Ch] (papersize): moved to BufferParams
2597         * converter.[Ch] (dvips_options): moved to BufferParams
2598         (dvipdfm_options): moved to anon namespace
2599         * bufferparams.[Ch]: added above functions.
2600
2601 2003-07-17  André Pönitz  <poenitz@gmx.net>
2602
2603         * lyxtext.h:
2604         * rowpainter.C:
2605         * text2.C: don't call inset->update() anymore
2606
2607         * metricsinfo.[Ch]: add convenience constructor
2608
2609 2003-07-16  André Pönitz  <poenitz@gmx.net>
2610
2611         * lyxcursor.[Ch]:
2612         * lyxfunc.[Ch]:
2613         * text.C:
2614         * text2.C: replace the LyXCursor::irow_ member with
2615          on-demand computation of the value
2616
2617 2003-07-16  John Levon  <levon@movementarian.org>
2618
2619         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2620
2621 2003-07-15  André Pönitz  <poenitz@gmx.net>
2622
2623         * text.C:
2624         * text2.C: remove no more needed refresh_row
2625
2626 2003-07-15  André Pönitz  <poenitz@gmx.net>
2627
2628         * lyxtext.h:
2629         * rowpainter.C:
2630         * text2.C:
2631         * text3.C: refresh_status tristate -> need_update bool
2632
2633 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2634
2635         * lyxtext.h (init): remove reinit argument (act as if always true)
2636         * text2.C: adjust to that
2637
2638 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2639
2640         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2641         * text3.C: use it to delete selections in some cases
2642         (bugs 441, 673, 702, 954).
2643
2644 2003-07-14  André Pönitz  <poenitz@gmx.net>
2645
2646         * rowpainter.[Ch]: reduce interface
2647
2648 2003-07-14  André Pönitz  <poenitz@gmx.net>
2649
2650         * BufferView_pimpl.C:
2651         * text2.C: adjust after removing unused BufferView * argument
2652
2653 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2654
2655         * text2.C (init): fix a crash fired on resize
2656
2657 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2658
2659         * buffer.[Ch]: added new closing signal
2660         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2661         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2662         BufferView::Pimpl via the closing the signal
2663
2664 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2665
2666         * buffer.[Ch]: take out all bv-related from buffer
2667         * BufferView.C:
2668         * BufferView_pimpl.[Ch]: connect to new signals
2669         * CutAndPaste.C: removed useless asserts
2670         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2671         * lyxvc.[Ch]:
2672         * vc-backend.[Ch]:
2673         * lyxfunc.C: moved view-related funciontality from vc here
2674         * paragraph.C: removed outdated comments
2675         * text.C: ws
2676
2677 2003-07-10  André Pönitz  <poenitz@gmx.net>
2678
2679         * BufferView_pimpl.C:
2680         * tabular.h:
2681         * tabular_funcs.C:
2682         * text.C:
2683         * text2.C: remove InsetText::InnerCache, clean up consequences
2684
2685 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2686
2687         * ispell.C: fix two typos in error messages
2688
2689 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2690
2691         * Extend Note inset to other forms of annotation like Comment
2692         and Greyedout. Right button click gives dialog.
2693
2694         Files modified or added (+):
2695
2696         * insetnote.[Ch]
2697         * FormNote.[Ch]      +
2698         * ControlNote.[Ch]   +
2699         * form_note.fd       +
2700         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2701         frontends/controllers
2702         * xforms/Dialogs.C
2703         * factory.C
2704
2705 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2706
2707         * aspell.C: add missing namespace lyx::support
2708
2709 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2710
2711         * BufferView.[Ch] (newFile): Add
2712         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2713         * LaTeX.[Ch] (message): added this signal and use it
2714         * buffer.[Ch] (busy, message): added these signals and use them
2715         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2716         * converter.C:
2717         * exporter.C:
2718         * format.C:
2719         * importer.C: use buffer signals instead of direct bv calling
2720         * lyx_cb.[Ch] (ShowMessage): removed
2721         * lyx_main.C:
2722         * lyxfunc.C:
2723         * paragraph_funcs.C:
2724         * text2.C: use buffer signals
2725
2726 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2727
2728         * introduce namespace lyx::graphics
2729
2730 2003-07-02  André Pönitz  <poenitz@gmx.net>
2731
2732         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2733
2734 2003-07-01  André Pönitz  <poenitz@gmx.net>
2735
2736         * text.C:
2737         * text2.C:
2738         * text3.C:
2739         * text_funcs.[Ch]:
2740         * textcursor.h:
2741         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2742           text*.C to text_func.C
2743
2744 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2745
2746         * introduce namespace lyx::support
2747
2748 2003-06-30  André Pönitz  <poenitz@gmx.net>
2749
2750         * Chktex.C:
2751         * funcrequest.C:
2752         * lyxtext.h:
2753         * text.C: re-enable --with-included-string
2754
2755 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2756
2757         * textcursor.C: add <config.h>
2758
2759         * text.C (getWord): remove const from word_location arg
2760
2761         * lyxvc.C (getLogFile): fix const type order
2762
2763         * lyxtext.h: remove const from word_location arg, add arg name
2764
2765         * lyxlayout.h: currect type on labeltype.
2766
2767         * importer.C: correct \file
2768
2769         * converter.C (intToFormat): use std:: on ret val, ws changes
2770
2771         * bufferlist.h: correct \file
2772
2773         * buffer.C (makeLinuxDocFile): fix const type order
2774         (makeDocBookFile): ditto
2775         (fillWithBibKeys): use std:: on stdlib args.
2776
2777         * CutAndPaste.C: fix authors.
2778         (availableSelections): use std:: on return vector
2779
2780 2003-06-27  André Pönitz  <poenitz@gmx.net>
2781
2782         * BufferView_pimpl.C:
2783         * bufferview_funcs.C:
2784         * lyxcursor.C:
2785         * lyxcursor.h:
2786         * lyxfunc.C:
2787         * lyxtext.h:
2788         * rowpainter.C:
2789         * text.C:
2790         * text2.C:
2791         * text3.C: remove LyXCursor::row_ member
2792
2793         * lyxtext.h:
2794         * text.C: rename fullRebreak() to partialRebreak() and implement
2795           a fullRebreak() that really bereks fully
2796
2797         * textcursor.h: new struct for cursor-related data
2798
2799 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2800
2801         * lyx_main.C (LyX): get full path of document loaded on the
2802         command line
2803
2804 2003-06-26  André Pönitz  <poenitz@gmx.net>
2805
2806         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2807           remove unused/broken operator>,<,>=.
2808
2809         *       text.C: remove only use of broken operator<= in an Assert().
2810
2811 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2812
2813         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2814         moved errorlist_.clear to showErrorList
2815
2816 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2817
2818         * converter.C (scanLog, runLaTeX):
2819         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2820         move the bv->showErrorList call to the callers
2821         * lyxfunc.C: i.e. here...
2822         * text2.C: and here
2823         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2824         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2825         namespace, the second to...
2826         * buffer_funcs (BufferFormat, parseErrors): added
2827         * errorlist.C (ErrorList(TeXErrors const &)): removed
2828
2829 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2830
2831         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2832
2833 2003-06-24  "Garst R. Reese" <reese@isn.net>
2834
2835         * debug.C: fix typo
2836
2837 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2838
2839         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2840
2841         * version.C.in: change docversion to 1.4
2842
2843 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2844
2845         * buffer.C: fix a bug just introduced
2846
2847 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2848
2849         * buffer.[Ch]: added the parseError signal and use it, removed
2850         sgmlError
2851         * BufferView.[Ch] (addError): moved to ...
2852         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2853         to the Buffer::parseError signal to catch (guess what) parse errors
2854         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2855
2856 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2857
2858         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2859         ability to create a buffer and to return an existing one from
2860         the list. Moved these functions to...
2861         * buffer_funcs.[Ch]: added
2862         * BufferView.[Ch] (loadLyXFile): added
2863         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2864         job removed from bufferlist::loadLyXFile.
2865         * buffer.C (setReadOnly): make it work without view
2866         (i.e added an if (users))
2867
2868 2003-06-19  Angus Leeming  <leeming@lyx.org>
2869
2870         * lfuns.h:
2871         * LyXAction.C (init):
2872         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2873         with LFUN_DIALOG_SHOW <name> <data>.
2874
2875 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2876
2877         * CutAndPaste.C (availableSelections): small compilation fix for
2878         ancient (gcc 2.9x) compilers
2879
2880 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2881
2882         * text3.C (cursorNext): add tmp var
2883
2884         * text2.C (updateCounters): for function calling out of for clause
2885         (replaceSelectionWithString): ditto
2886         (insertStringAsParagraphs): ditto
2887         (getColumnNearX): add tmp var
2888         (setCursorFromCoordinates): add tmp var
2889         (cursorDownParagraph): add tmp var
2890         (deleteEmptyParagraphMechanism): add tmp var
2891
2892         * text.C (insertChar): add tmp var
2893
2894         * rowpainter.C (paintDepthBar): add tmp var
2895
2896         * CutAndPaste.C (availableSelections): potentially check all
2897         paragraphs in a cut to fill the shown strings.
2898
2899 2003-06-18  André Pönitz  <poenitz@gmx.net>
2900
2901         * kbmap.[Ch]: use vector<> instead of list<>
2902
2903 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2904
2905         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2906         pasteSelection with index
2907
2908         * text2.C (pasteSelection): modify, call pasteSelection with index
2909
2910         * paragraph.C (asString): reimplement version with no interval to
2911         call the one with interval.
2912
2913         * lyxtext.h: add index arg to pasteSelection
2914
2915         * MenuBackend.C (MenuItem): handle PasteRecent
2916         (Menu::read::Menutags): add md_pasterecent
2917         (read): handle it
2918         (expandPasteRecent): new function
2919         (expand): use it
2920
2921         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2922
2923         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2924         the limited stack
2925         (availableSelections): new function
2926
2927 2003-06-17  Angus Leeming  <leeming@lyx.org>
2928
2929         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2930
2931 2003-06-17  Angus Leeming  <leeming@lyx.org>
2932
2933         * lfuns.h:
2934         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2935
2936         * lyxfunc.C (dispatch): invoke it.
2937
2938 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2939
2940         * iterators.C (operator++, ParPosition): reintroduce some
2941         const_cast for the benefit of older compilers.
2942
2943 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2944
2945         * text3.C (dispatch): do not modify clipboard when doing
2946         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2947         LFUN_DELETE_SKIP on a selection selection
2948
2949 2003-06-16  André Pönitz  <poenitz@gmx.net>
2950
2951         * BufferView.C:
2952         * buffer.C:
2953         * buffer.h:
2954         * paragraph.C:
2955         * tabular.[Ch]: IU of clone() and getLabelList();
2956
2957 2003-06-13  André Pönitz  <poenitz@gmx.net>
2958
2959         * tabular.h: compactification
2960
2961 2003-06-12  André Pönitz  <poenitz@gmx.net>
2962
2963         * tabular.C:
2964         * tabular.h:
2965         * tabular_funcs.h: some renaming plus whitespace
2966
2967 2003-06-12  André Pönitz  <poenitz@gmx.net>
2968
2969         * BufferView.C:
2970         * BufferView_pimpl.C:
2971         * CutAndPaste.C:
2972         * buffer.C:
2973         * iterators.[Ch]:
2974         * lyxfunc.C:
2975         * text.C:
2976         * toc.C: Return a Paragraph & for ParIterator::operator*()
2977
2978 2003-06-11  John Levon  <levon@movementarian.org>
2979
2980         * lyx_main.C:
2981         * ToolbarBackend.h:
2982         * ToolbarBackend.C: add "Toolbars" section and
2983         put the flags there
2984
2985 2003-06-10  Angus Leeming  <leeming@lyx.org>
2986
2987         * lfuns.h:
2988         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2989
2990         * lyxfunc.C (dispatch): invoke it.
2991
2992 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2993
2994         * main.C: protect <ios> with HAVE_IOS
2995         (main): protect sync_with_stdio with HAVE_IOS
2996
2997 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2998
2999         * text2.C (cutSelection): adjust
3000         (pasteSelection): adjust
3001
3002         * messages.C: handle get of empty string
3003
3004         * main.C (main): use sync_with_stdio(false)
3005
3006         * lyxfunc.C (dispatch): adjust
3007
3008         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3009         (WriteAs): remove unneeded BufferView arg.
3010
3011         * bufferparams.h: use correct types on papersize, papersize2 and
3012         paperpackage.
3013
3014         * bufferparams.C (readToken): adjust for type
3015         (writeLaTeX): add missing cases to switch.
3016
3017         * bufferlist.C (quitWriteBuffer): adjust
3018         (close): adjust
3019
3020         * buffer.C (asciiParagraph): remove some commented code.
3021
3022         * CutAndPaste.C: remove current_view extern variable.
3023         (cutSelection): add BufferParams arg.
3024         (eraseSelection): add BufferParams arg.
3025         (pasteSelection): add Buffer const & arg
3026
3027 2003-06-07  John Levon  <levon@movementarian.org>
3028
3029         * buffer.C:
3030         * paragraph_funcs.C:
3031         * paragraph_pimpl.C:
3032         * text.C:
3033         * text2.C:
3034         * paragraph.h:
3035         * paragraph.C: allow InsetERT to freely space lines,
3036         and some consolidation of code
3037
3038 2003-06-06  José Matos  <jamatos@fep.up.pt>
3039
3040         * buffer.C (makeDocBookFile): fix bug #821
3041
3042 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3043
3044         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3045
3046 2003-06-04  Angus Leeming  <leeming@lyx.org>
3047
3048         * buffer.C: bump format to 224.
3049
3050 2003-06-05  André Pönitz  <poenitz@gmx.net>
3051
3052         * text2.C (redoParagraphs): remove two const_cast<>
3053
3054 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3055
3056         * ParagraphList.h: remove last remnants of NO_STD_LIST
3057
3058 2003-06-03  Angus Leeming  <leeming@lyx.org>
3059
3060         * factory.C (createInset): small change to the way InsetExternal's params
3061         are set.
3062
3063 2003-06-04  André Pönitz  <poenitz@gmx.net>
3064
3065         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3066
3067         * paragraph_pimpl.h:
3068         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3069
3070         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3071
3072         * undo_funcs.C: make some simple cases of undo work again
3073
3074 2003-06-03  John Levon  <levon@movementarian.org>
3075
3076         * ispell.C: HPUX doesn't have sys/select.h
3077         (from Albert Chin)
3078
3079 2003-06-03  John Levon  <levon@movementarian.org>
3080
3081         * CutAndPaste.C: update tabular and include inset
3082         buffer references
3083
3084         * buffer.h:
3085         * paragraph.h:
3086         * paragraph.C: remove owningBuffer(), don't pass Buffer
3087         to clone()
3088
3089         * factory.C: insetGraphicsParams changed
3090
3091 2003-06-02  John Levon  <levon@movementarian.org>
3092
3093         * LyXAction.C:
3094         * factory.C:
3095         * lfuns.h:
3096         * lyxfunc.C:
3097         * text3.C: remove insetparent
3098
3099 2003-06-02  John Levon  <levon@movementarian.org>
3100
3101         * buffer.h:
3102         * buffer.C: fix inset_iterator.end(), move out of line
3103         (bug 1149)
3104
3105 2003-06-01  John Levon  <levon@movementarian.org>
3106
3107         * text3.C: use a proper cut/paste when doing inset
3108         insert (from Jürgen Spitzmüller)
3109
3110 2003-06-01  John Levon  <levon@movementarian.org>
3111
3112         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3113
3114 2003-05-30  André Pönitz  <poenitz@gmx.net>
3115
3116         * rowpainter.C: unify second drawing phase
3117
3118 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3119
3120         * trans_mgr.C: remove one case of current_view
3121
3122         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3123
3124         * paragraph_funcs.h: remove paragraph.h include
3125
3126         * paragraph.h: delete NO_STD_LIST stuff
3127
3128         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3129
3130         * buffer.h: remove paragraph.h include
3131
3132         * ParagraphList.C: delete file
3133
3134         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3135
3136         * toc.C (getTocList): adjust
3137
3138         * paragraph_pimpl.C (validate): adjust
3139
3140         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3141
3142         * paragraph.C (Paragraph): adjust
3143         (getPositionOfInset): use const_iterator, adjust
3144         (bibitem): use const_iterator, adjust
3145         (setInsetOwner): adjust
3146
3147         * iterators.C (operator++): adjust
3148
3149         * InsetList.[Ch]: Replace selfmade iterator with standard
3150         vector::iterator also introduce const_iterator. Remove getPos,
3151         getInset and setInset from InsetTable. Adjust accordingly.
3152
3153         * BufferView.C (lockInset): adjust
3154         (ChangeInsets): adjust
3155
3156         * tabular.[Ch]: delete commented same_id functions
3157
3158 2003-05-28  John Levon  <levon@movementarian.org>
3159
3160         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3161
3162 2003-05-28  André Pönitz  <poenitz@gmx.net>
3163
3164         * metricsinfo.[Ch]: remove 'fullredraw' member
3165
3166 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3167
3168         * lyxtextclass.C (operator): remove caching.
3169
3170 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3171
3172         * text3.C: adjust
3173
3174         * text2.C (cursorBottom): adjust
3175         (setCounter): use ParagraphList::find, adjust
3176
3177         * text.C (workWidth): use ParagraphList::find, adjust
3178
3179         * lyxcursor.C (LyXCursor): adjust
3180
3181         * buffer.C (inset_iterator): adjust
3182
3183         * ParagraphList.h: make iterator(value_type) private, make
3184         ParagraphList a friend of iterator.
3185
3186         * ParagraphList.C (find): new function
3187
3188         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3189
3190 2003-05-27  André Pönitz  <poenitz@gmx.net>
3191
3192         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3193
3194 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3195
3196         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3197
3198 2003-05-26  John Levon  <levon@movementarian.org>
3199
3200         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3201
3202 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3203
3204         * remove same_id from function signatures, adjust.
3205
3206 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3207
3208         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3209
3210         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3211
3212         * paragraph.C (Paragraph): get rid of same_ids parameter
3213
3214         * ParagraphList.C (insert): adjust
3215         (push_back): adjust
3216
3217 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3218
3219         * paragraph_funcs.C (breakParagraph): adjust
3220         (breakParagraphConservative): adjust
3221
3222         * buffer.C (readParagraph): adjust
3223
3224         * ParagraphList.C (insert): take a reference instead of a pointer
3225         (insert): adjust
3226
3227         * paragraph.[Ch] (id): new function
3228
3229         * bufferlist.C (newFile): adjust
3230
3231         * ParagraphList.C (ParagraphList): adjust
3232         (assign): adjust
3233         (push_back): take a reference instead of a pointer.
3234
3235         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3236
3237         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3238         instead.
3239
3240         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3241         set else use old code.
3242
3243         * ParagraphList.C: remove all NO_NEXT code and only compile this
3244         code of NO_STD_LIST is set.
3245
3246 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3247
3248         * BufferView_pimpl.C:
3249         * TextCache.C:
3250         * TextCache.h:
3251         * bufferlist.C:
3252         * errorlist.h:
3253         * format.C:
3254         * format.h:
3255         * graph.C:
3256         * lyxfunc.C:
3257         * lyxrc.C:
3258         * graphics/GraphicsConverter.C:
3259         * graphics/PreviewLoader.C: header adjustment
3260
3261 2003-05-23  Angus Leeming  <leeming@lyx.org>
3262
3263         * LaTeXFeatures.[Ch] (useBabel): new method.
3264         * bufferparams.C (writeLaTeX): use it.
3265
3266 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3267
3268         * ParagraphList.h (set): remove unused function.
3269
3270 2003-05-23  André Pönitz  <poenitz@gmx.net>
3271
3272         * BufferView.C:
3273         * BufferView_pimpl.C:
3274         * buffer.C:
3275         * buffer.h:
3276         * lyxfunc.C:
3277         * undo_funcs.C: setUndo reworked
3278
3279         * iterators.[Ch]: add access to topmost ParagraphList
3280
3281         * lyxtext.[Ch] (workWidth): add a const
3282
3283 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3284
3285         * texrow.[Ch] (increasePos): remove function
3286         * exporter.C (export): removed unused var and outdated comment
3287
3288 2003-05-23  Angus Leeming  <leeming@lyx.org>
3289
3290         * latexrunparams.h: rename fragile as moving_arg.
3291         * paragraph.C (simpleTeXOnePar): ditto.
3292         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3293
3294 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3295
3296         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3297         (createUndo): ditto
3298         (textUndoOrRedo): comment out a currently unused var.
3299
3300         * paragraph.h (NO_NEXT): enable NO_NEXT
3301
3302         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3303
3304         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3305
3306         * exporter.C (Export): adjust for removeAutoInsets removal.
3307
3308         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3309
3310         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3311
3312         * BufferView.[Ch] (removeAutoInsets): delete function
3313
3314 2003-05-22  Angus Leeming  <leeming@lyx.org>
3315
3316         * latexrunparams.h: add a free_spacing variable.
3317
3318         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3319         to pass moving_arg, as the data is stored in runparams.fragile.
3320
3321         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3322         to Inset::latexOptional or to simpleTeXOnePar.
3323
3324         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3325         free_spacing arg to Inset::latexOptional.
3326
3327         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3328         free_spacing arg.
3329
3330 2003-05-22  Angus Leeming  <leeming@lyx.org>
3331
3332         * latexrunparams.h: add fragile and use_babel variables.
3333
3334         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3335         * buffer.C (makeLaTeXFile): store this returned value in
3336         runparams.use_babel, thus passing it to the inset::latex methods.
3337
3338         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3339         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3340
3341         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3342         longer has a fragile arg, as it is stored in runparams.fragile.
3343
3344         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3345         moving_arg parameter as the data is stored in runparams.fragile.
3346
3347         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3348         a fragile parameter as the data is stored in runparams.fragile.
3349
3350 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3351
3352         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3353
3354 2003-05-22  Angus Leeming  <leeming@lyx.org>
3355
3356         * latexrunparams.h: add a 'bool nice' which defaults to false.
3357
3358         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3359         now encapsulated within runparams.
3360
3361         * bufferlist.C (updateIncludedTeXfiles):
3362         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3363
3364 2003-05-22  Angus Leeming  <leeming@lyx.org>
3365
3366         * latexrunparams.h: new file containing struct LatexRunParams.
3367         * Makefile.am: add new file.
3368
3369         * LaTeX.[Ch] (c-tor, run):
3370         * buffer.[Ch] (makeLaTeXFile):
3371         * bufferlist.[Ch] (updateIncludedTeXfiles):
3372         * converter.C (convert, scanLog):
3373         * converter.[Ch] (runLaTeX):
3374         * exporter.C (Export):
3375         * paragraph.[Ch] (simpleTeXOnePar):
3376         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3377         * paragraph_funcs.[Ch] (latexParagraphs):
3378         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3379         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3380         pass around a LatexRunParams parameter.
3381
3382 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3383
3384         * paragraph.[Ch]: remove unused constructor
3385
3386         * ParagraphList.C (erase): new function, taking two iterators
3387
3388 2003-05-22  André Pönitz  <poenitz@gmx.net>
3389
3390         * undo_funcs.C: remove duplicated code
3391
3392         * iterator.[Ch]: operator=
3393
3394 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3395
3396         * tabular.C (SetMultiColumn): ws changes
3397
3398         * rowpainter.C (paintFirst): get rid of a ->previous
3399
3400         * lyx_cb.C (getPossibleLabel): parlist simplification
3401
3402         * BufferView.C (ChangeInsets): simplify slightly.
3403
3404 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3405
3406         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3407         * lfuns.h: new LFUN_SPACE
3408         * lyxfunc.C: protected space has a new lfun
3409         * paragraph_funcs.C: read new space insets
3410         * text3.C:
3411         * factory.C: handle new space insets
3412
3413 2003-05-22  André Pönitz  <poenitz@gmx.net>
3414
3415         * BufferView.C:
3416         * BufferView_pimpl.C:
3417         * buffer.[Ch]:
3418         * lyxfunc.C:
3419         * undo_funcs.C: return a ParIterator from getParFromID.
3420
3421         * iterators.[Ch]: add two const's
3422
3423 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3424
3425         * toc.C (getTocList): adjust
3426
3427         * iterators.[Ch]: rework for parlist
3428
3429         * buffer.C (par_iterator_begin): adjust
3430         (par_iterator_end): adjust
3431
3432         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3433
3434         * BufferView.C (removeAutoInsets): adjust
3435         (ChangeInsets): adjust
3436
3437 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3438
3439         * text.C (top_y): fix bug 1110
3440
3441 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3442
3443         * errorlist.[Ch]: added
3444         * buffer.C:
3445         * BufferView.[Ch]:
3446         * BufferView_pimpl.C:
3447         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3448         instead
3449
3450 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3451
3452         * Makefile.am: ensure that lyx is relinked upon changes to the
3453         various "convenience" libs.
3454
3455 2003-05-20  Angus Leeming  <leeming@lyx.org>
3456
3457         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3458         files are compiled in alphabetical order again.
3459
3460         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3461
3462 2003-05-19  Angus Leeming  <leeming@lyx.org>
3463
3464         * gettext.[Ch]: remove "char const * _(char const *)".
3465
3466 2003-05-19  André Pönitz  <poenitz@gmx.net>
3467
3468         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3469
3470         * Makefile.am:
3471         * BufferView.C:
3472         * DepTable.h:
3473         * LaTeXFeatures.C:
3474         * buffer.C:
3475         * lyxfont.C:
3476         * lyxlex.h:
3477         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3478
3479 2003-05-19  André Pönitz  <poenitz@gmx.net>
3480
3481         * buffer.C:
3482         * lyxlayout.[Ch]:
3483         * lyxtextclass.[Ch]:
3484         * paragraph.C:
3485         * paragraph_funcs.[Ch]:
3486         * text2.C:
3487         * text3.C: more insetenv work
3488
3489 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3490
3491         * ParagraphParameters.C (params2string): small bug fixed
3492
3493 2003-05-16  André Pönitz  <poenitz@gmx.net>
3494
3495         * debug.C:
3496         * bufferview_funcs.C: patch from Kornel Benko to prevent
3497           crash when _(...) is called twice in a statement
3498
3499 2003-05-16  André Pönitz  <poenitz@gmx.net>
3500
3501         * BufferView.C:
3502         * lyxfunc.C:
3503         * text.C:
3504         * text2.C:
3505         * text3.C:
3506         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3507
3508 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3509
3510         * lyx_main.C (init): remove spurious static_cast
3511
3512 2003-05-14  André Pönitz  <poenitz@gmx.net>
3513
3514         * BufferView.C: fix format string
3515
3516 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3517
3518         * BufferView.[Ch] (insertErrors): removed
3519         * BufferView.[Ch] (showErrorList): added
3520         * buffer.C (runChkTeX):
3521         * converter.C (scanLog): call showErrorList instead of inserterrors
3522
3523 2003-05-13  André Pönitz  <poenitz@gmx.net>
3524
3525         * BufferView_pimpl.C:
3526         * buffer.C:
3527         * bufferview_func.C:
3528         * MenuBackend.C:
3529         * lyxfunc.C:
3530         * lyxrc.C:
3531         * tex-accent.C:
3532         * text3.C:
3533         * toc.C:
3534         * tabular_funcs.h: tostr() from its own header
3535
3536         * ParagraphParameters.C:
3537         * ToolbarBackend.C:
3538         * bufferparams.C:
3539         * format.C:
3540         * lyxlex_pimpl.C:
3541         * text3.C: STRCONV()
3542
3543 2003-05-12  André Pönitz  <poenitz@gmx.net>
3544
3545         * BufferView.C:
3546         * BufferView_pimpl.C:
3547         * CutAndPaste.C:
3548         * LaTeX.C:
3549         * LaTeXFeatures.C:
3550         * ParagraphParameters.C:
3551         * buffer.C:
3552         * bufferlist.C:
3553         * bufferparams.C:
3554         * bufferview_funcs.C:
3555         * converter.C:
3556         * counters.C:
3557         * debug.C:
3558         * exporter.C:
3559         * format.C:
3560         * importer.C:
3561         * lyx_cb.C:
3562         * lyx_main.C:
3563         * lyxfont.C:
3564         * lyxfunc.C:
3565         * lyxvc.C:
3566         * paragraph.C:
3567         * paragraph_funcs.C:
3568         * tabular.C:
3569         * tabular_funcs.C:
3570         * text2.C:
3571         * text3.C:  boost::format -> bformat  all over the place
3572
3573
3574 2003-05-09  André Pönitz  <poenitz@gmx.net>
3575
3576         * LColor.[Ch]: Pimpl the #include <map> away
3577
3578 2003-05-09  John Levon  <levon@movementarian.org>
3579
3580         * bufferlist.C: never remove emergency saves
3581
3582 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3583
3584         * Makefile.am: better lib building
3585
3586 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3587
3588         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3589         instead.
3590         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3591         (simpleTeXSpecialChars): adjust
3592         (simpleTeXSpecialChars): adjust
3593         * paragraph.C (simpleTeXOnePar): adjust
3594         * buffer.C (makeLaTeXFile): adjust
3595
3596         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3597
3598         * text2.C (changeDepth): parlist cleanup
3599         (getColumnNearX): ditto
3600
3601         * rowpainter.C (getLabelFont): parlist cleanup
3602
3603         * bufferlist.C (newFile): parlist cleanup
3604
3605         * CutAndPaste.C (eraseSelection): parlist cleanup
3606
3607         * BufferView_pimpl.C (trackChanges): parlist cleanup
3608         (dispatch): ditto
3609
3610         * BufferView.C (lockInset): parlist cleanup.
3611         (ChangeInsets): ditto
3612
3613 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3614
3615         * CutAndPaste.h: Update file header.
3616
3617         * CutAndPaste.C: Update file header.
3618         Store the parts cut out of the Document in a limited_stack.
3619         (copySelection): adjust
3620         (pasteSelection): new function, takes the index in the limited stack.
3621         (nrOfParagraphs): adjust
3622         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3623         simplify error inset insertion.
3624         (checkPastePossible): adjust
3625
3626 2003-05-06  John Levon  <levon@movementarian.org>
3627
3628         * text2.C: don't cast wrap inset to float
3629
3630 2003-05-05  André Pönitz  <poenitz@gmx.net>
3631
3632         * iterator.C:
3633         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3634
3635         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3636           few naked Paragraph *.
3637
3638 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3639
3640         * bufferparams.C: Output warning if a document with missing
3641         TeX document class is loaded
3642         * exporter.C: Disable TeX exports if the document class is missing
3643         * lyxtextclass.C:
3644         * lyxtextclass.h:
3645         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3646         isTeXClassAvailable()
3647
3648 2003-05-03  John Levon  <levon@movementarian.org>
3649
3650         * BufferView.h:
3651         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3652         explicit cursor show/hide
3653
3654         * BufferView_pimpl.h:
3655         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3656         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3657
3658         * lyxfunc.C: hide cursor before dispatching.
3659
3660         * lyx_cb.C:
3661         * lyxfind.C:
3662         * text.C:
3663         * text3.C: remove explicit cursor hides
3664
3665 2003-05-02  André Pönitz  <poenitz@gmx.net>
3666
3667         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3668
3669         * undo_funcs.C:
3670         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3671           linked lists
3672
3673         * text2.C: tiny whitespace
3674
3675 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3676
3677         * undo_funcs.C: almost only ws changes.
3678
3679         * ParagraphList.C (splice): just return if pl is empty.
3680
3681 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3682
3683         * ParagraphList.C (splice): new function.
3684
3685         * CutAndPaste.C (pasteSelection): use it
3686
3687 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3688
3689         * CutAndPaste.C (pasteSelection): remove the last next and
3690         previous from this file.
3691
3692 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3693
3694         * CutAndPaste.C (pasteSelection): more clean up, user proper
3695         ParagraphList functions for pasteing.
3696
3697         * ParagraphList.C (insert): new function, three arg insert
3698
3699 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3700
3701         * ParagraphList.C (insert): new function, three arg insert
3702
3703         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3704         not on paragraphs.
3705
3706 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3707
3708         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3709
3710 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3711
3712         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3713
3714 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3715
3716         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3717         (copySelection): clean up a bit.
3718         (pasteSelection): use make_pair
3719
3720         * ParagraphList.C (ParagraphList): implement copy constructor
3721         (operator=): implement, base on copy constructor.
3722         (assign): new func
3723
3724         * paragraph.C (erase): return a bool
3725
3726         * paragraph_pimpl.C (erasePos): remove function, move contents...
3727         (erase): ... here. Return a bool.
3728         (erase): call erase instead of erasePos.
3729
3730 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3731
3732         * ParagraphList.h: define PitPosPair
3733         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3734         ParagraphList, fix a bug on pasting multiple pars
3735         * text2.C: change interface to C&P
3736
3737 2003-04-30  André Pönitz  <poenitz@gmx.net>
3738
3739         * undo_func.C: revert part of yesterday's patch 2
3740
3741 2003-04-30  John Levon  <levon@movementarian.org>
3742
3743         * LColor.C: s/tabular/table/
3744
3745 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3746
3747         * text3.C (dispatch): do not convert iterator -> pointer
3748         * undo_funcs.C (setCursorParUndo): ditto
3749         * text_funcs.C (transposeChars): ditto
3750
3751         * text2.C (setLayout): ws changes only
3752
3753         * text.C (breakParagraph): do not convert iterator -> pointer
3754         (insertChar): ditto
3755         (acceptChange): ditto
3756         (rejectChange): ditto
3757         (changeCase): ditto
3758         (Delete): ditto
3759         (backspace): ditto
3760
3761         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3762         pointer
3763
3764 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3765
3766         * text3.C (gotoInset): YABG (yet another bad getChar)
3767
3768 2003-04-29  André Pönitz  <poenitz@gmx.net>
3769
3770         * paragraph.h: make operator= private unimplemented as long as
3771           it is unusable
3772
3773         * ParagraphList.C: whitespace
3774
3775         * paragraph.[Ch]:
3776         * paragraph_pimpl.[Ch]:
3777         * paragraph_funcs.C:
3778         * CutAndPaste.C:
3779         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3780
3781         * text2.C:
3782           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3783
3784 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3785
3786         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3787         * paragraph.[Ch] (erase):
3788         * paragraph_pimpl.[Ch] (erase): change return type and value
3789         * text2.C (cutSelection): some rework
3790
3791 2003-04-28  John Levon  <levon@movementarian.org>
3792
3793         * bufferlist.C: changes for unsaved changes dialog
3794
3795 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3796
3797         * bufferlist.C (newFile): set language (messages_) for new
3798         documents also.
3799
3800         * buffer.C (readFile): ws changes only.
3801
3802 2003-04-28  André Pönitz  <poenitz@gmx.net>
3803
3804         * undo_funcs.C:
3805         * lyxfunc.C:
3806         * buffer.[Ch]:
3807         * BufferView_pimpl.C:
3808         * BufferView.C: getParFromID related ParagraphList::iterator changes
3809
3810 2003-04-28  André Pönitz  <poenitz@gmx.net>
3811
3812         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3813           Changes
3814
3815 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3816
3817         * messages.C: remove one more localedir class variable.
3818
3819 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3820
3821         * messages.C (getLocaleDir): singleton generation function
3822         (Pimpl): use it.
3823         (Messages): add a default constructor.
3824
3825         * main.C (main): do not setup localedir here, do not call
3826         gettext_init.
3827
3828         * gettext.C (_): use it.
3829         (gettext_init): delete funciton
3830
3831 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3832
3833         * gettext.C (getLyXMessages): new singleton generating function.
3834
3835         * buffer.C (updateDocLang): adjust
3836
3837         * Makefile.am (messages.o): add target
3838         (main.o): remove target
3839
3840 2003-04-27  John Levon  <levon@movementarian.org>
3841
3842         * bufferlist.C:
3843         * lyx_cb.C:
3844         * lyxfunc.C:
3845         * lyxvc.C: specify cancel button in Alert::prompt
3846
3847 2003-04-26  John Levon  <levon@movementarian.org>
3848
3849         * text3.C:
3850         * lyxfunc.C:
3851         * lfuns.h:
3852         * LyXAction.C: add LFUN_INSET_SETTINGS
3853
3854         * lyxfunc.C: don't enable tabular-feature when there's
3855         just any locking inset
3856
3857 2003-04-26  John Levon  <levon@movementarian.org>
3858
3859         * bufferlist.C: re-add Cancel to buffer close question
3860
3861         * lyxfunc.C: fix import UI a bit
3862
3863 2003-04-25  John Levon  <levon@movementarian.org>
3864
3865         * gettext.C: remove the broken asserts for now
3866
3867 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3868
3869         * messages.C: make case where setlocale cannot comply work better.
3870
3871         * buffer.C (updateDocLang): new function
3872         (changeLanguage): use it
3873         (readFile): use it
3874
3875         * text2.C (setCounter): use B_ a bit.
3876
3877         * lyxlayout.C (Read): be sure to trim the label strings.
3878
3879         * messages.C (Messages): fix typo in comment
3880
3881         * buffer.C (readFile): set message_ after file is loaded.
3882         (makeDocBookFile): remove double return
3883         (changeLanguage): reset message_ upon language change.
3884         (B_): new func, use this to get translated buffer strings.
3885
3886         * main.C: add myself and Jean Marc as authors.
3887
3888 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3889
3890         * messages.[hC]: pimplify Messages, and three different pimpls to be
3891         used in different circumstances.
3892
3893         * gettext.[Ch]: change for use with new message code.
3894
3895 2003-04-24 André Pönitz <poenitz@gmx.net>
3896
3897         * factory.C: support for eqref
3898
3899 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3900
3901         * messages.[Ch]: add missing char
3902
3903         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3904
3905         * messages.[Ch]: New files
3906
3907 2003-04-18  John Levon  <levon@movementarian.org>
3908
3909         * BufferView.h:
3910         * BufferView.C:
3911         * BufferView_pimpl.C:
3912         * lfuns.h:
3913         * LyXAction.C:
3914         * lyxtext.h:
3915         * text2.C: remove layout-copy/paste (bug 778)
3916
3917 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3918
3919         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3920
3921 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3922
3923         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3924         if they succeed. Act accordingly.
3925
3926 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3927
3928         * text2.C (setCharFont): adjust
3929         (setCounter): adjust
3930         (insertStringAsLines): adjust
3931
3932         * text.C (leftMargin): adjust
3933         (setHeightOfRow): adjust
3934
3935         * rowpainter.C (paintFirst): adjust
3936         (paintLast): adjust
3937
3938         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3939         (outerHook): ditto
3940         (isFirstInSequence): ditto
3941         (getEndLabel): ditto
3942         (outerFont): adjust
3943
3944         * paragraph.C (getParLanguage): comment out some hard stuff.
3945
3946         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3947         (sgmlError): ditto
3948         (simpleDocBookOnePar): ditto
3949         (makeDocBookFile): use ParagraphList::iterator
3950
3951         * CutAndPaste.C (pasteSelection): adjust
3952
3953 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3954
3955         * text2.C (getFont): adjust
3956         (getLayoutFont): adjust
3957         (getLabelFont): adjust
3958
3959         * paragraph_funcs.C (TeXOnePar): adjust
3960
3961         * buffer.C (simpleLinuxDocOnePar): adjust
3962         (simpleDocBookOnePar): adjust
3963
3964         * CutAndPaste.C (pasteSelection): adjust
3965
3966         * BufferView.C (getEncoding): adjust
3967
3968         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3969
3970 2003-04-16  John Levon  <levon@movementarian.org>
3971
3972         * lyxfind.C: use parlist stuff for search/changes
3973
3974 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3975
3976         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3977
3978         * text2.C (deleteEmptyParagraphMechanism): adjust
3979
3980         * text2.[Ch] (ownerParagraph): delete func (both of them
3981
3982 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3983
3984         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3985
3986 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3987
3988         * ParagraphList.C: prepare for NO_NEXT
3989
3990 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3991
3992         * text2.C (getFont): adjust
3993         (getLayoutFont): adjust
3994         (getLabelFont): adjust
3995
3996         * paragraph.C (getFont): adjust
3997         (getLabelFont): adjust
3998         (getLayoutFont): adjust
3999
4000         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4001
4002 2003-04-15  John Levon  <levon@movementarian.org>
4003
4004         From Angus Leeming
4005
4006         * lyx_main.C: handle Include in .ui files
4007
4008 2003-04-15  John Levon  <levon@movementarian.org>
4009
4010         * MenuBackend.C: make the doc files length shorter
4011
4012         * ToolbarBackend.h:
4013         * ToolbarBackend.C: handle toolbar placement flags,
4014         Minibuffer
4015
4016 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4017
4018         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4019         adjust
4020
4021         * paragraph_funcs.C (TeXOnePar): adjust
4022
4023         * paragraph.C (getLabelFont): add outerfont arg, adjust
4024         (getLayoutFont): ditto
4025         (simpleTeXOnePar): adjust
4026
4027         * paragraph_pimpl.C (realizeFont): delete func
4028
4029 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4030
4031         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4032         row argument, constify cur argument.
4033
4034 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4035
4036         * text2.C (getFont): adjust
4037         (getLayoutFont): adjust
4038         (getLabelFont): adjust
4039
4040         * paragraph_funcs.C (TeXOnePar): adjust
4041         (outerFont): new func...
4042         (realizeFont): ...moved out from here, changed this to facilitate
4043         transition
4044
4045         * paragraph.C (getFont): take outerfont as arg, adjust
4046         (simpleTeXOnePar): add outerfont arg, adjust
4047
4048         * buffer.C (simpleLinuxDocOnePar): adjust
4049         (simpleDocBookOnePar): adjust
4050
4051         * CutAndPaste.C (pasteSelection): adjust
4052
4053         * BufferView.C (getEncoding): adjust
4054
4055 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4056
4057         * text2.C (setCharFont): adjust
4058         (setCounter): adjust
4059
4060         * text.C (leftMargin): adjust
4061         (setHeightOfRow): adjust
4062
4063         * rowpainter.C (paintFirst): adjust
4064         (paintLast): adjust
4065
4066         * paragraph_pimpl.C (realizeFont): adjust
4067
4068         * paragraph.C (isFirstInSequence): move from here...
4069         * paragraph_funcs.C (isFirstInSequence): ...to here
4070
4071         * paragraph.C (outerHook): move from here...
4072         * paragraph_funcs.C (outerHook): ...to here
4073
4074         * paragraph.C (depthHook): move from here...
4075         * paragraph_funcs.C (depthHook): ...to here
4076
4077         * paragraph.C (getEndLabel): move from here...
4078         * paragraph_funcs.C (getEndLabel): ...to here
4079
4080         * text2.C (realizeFont): move from here...
4081         * paragraph_funcs.C (realizeFont): ...to here
4082
4083 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4084
4085         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4086
4087 2003-04-14  Angus Leeming  <leeming@lyx.org>
4088
4089         * LColor.[Ch]: scrap LColor mathcursor.
4090
4091 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4092
4093         * lyxlex.[Ch] (text): delete function
4094         * trans.C (Load): adjust
4095         * paragraph_funcs.C (readParToken): adjust
4096
4097 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4098
4099         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4100         vector<char> instead of a char[].
4101
4102         * lyxlex_pimpl.C (getString): adjust
4103         (next): adjust
4104         (lex): use getString
4105         (eatLine): adjust
4106         (nextToken): adjust
4107
4108         * lyxlex.C (text): use pimpl_->getString()
4109         (getBool): ditto
4110         (findToken): ditto
4111
4112 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4113
4114         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4115         (makeFontEntriesLayoutSpecific): temp var for par.size()
4116         (setLayout): temp var for ownerParagraphs().end()
4117         (fullRebreak): temp var for rows().end()
4118         (selectionAsString): temp var for boost::next(startpit), realize
4119         that the while really is a regular for loop.
4120         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4121         setCursor in one place.
4122         (setParagraph): temp vr for ownerParagraphs().end()
4123         (updateCounters): make the while loop a for loop
4124         (cutSelection): temp var for ownerParagraphs().end()
4125         (updateInset): make the do {} while() a regular for loop
4126         (getCursorX): use temp vars
4127         (setCurrentFont): use temp vars
4128         (getColumnNearX): use temp vars
4129
4130 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4131
4132         * text.C (transformChar): use temp var for getChar
4133         (computeBidiTables): use temp var for row->par()
4134         (fill): move temp vars for row->par() and pit->layout() earlier in
4135         the function.
4136         (labelFill): use temp var for row->par()
4137         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4138         asc and desc, realize that pit never changes and that firstpit is
4139         just a duplicate and not needed. Exchange rit->par() with pit in a
4140         lot of places.
4141         (breakAgain): use a temp var for boost::next(rit)
4142         (breakAgainOneRow): ditto
4143         (breakParagraph): use a temp var for rows().begin()
4144         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4145         (cursorRightOneWord): use temp var for cursor.par() and
4146         cursor.pos(), remove usage of tmpcursor.
4147         (cursorLeftOneWord): use temp var for cursor.par() and
4148         cursor.pos() only set cur at end of function.
4149
4150 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4151
4152         * text.C, text2.C: exchange all usage of Paragraph::next with
4153         boost::next(ParagraphList::iterator)
4154
4155         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4156
4157         * text2.C (cursorTop): simplify implementation
4158         (cursorBottom): ditto
4159         (setParagraph): use ParagraphList::iterator
4160         (setCurrentFont): adjust
4161         (getColumnNearX): adjust
4162         (cursorRight): adjust
4163         (cursorLeft): remove usage of Paragraph::previous
4164         (cursorUpParagraph): ditto
4165         (deleteEmptyParagraphMechanism): slight cleanup
4166
4167         * text.C (isBoundary): take a Paragraph const & instead of a
4168         pointer as arg.
4169         (addressBreakPoint): ditto
4170         (leftMargin): remove usage of Paragraph::previous.
4171         (setHeightOfRow): ditto
4172         (cursorLeftOneWord): ditto
4173         (selectNextWordToSpellcheck): ditto
4174         (Delete): ditto
4175         (backspace): ditto
4176         (breakParagraph): remove one usage of Paragraph::next
4177         (redoParagraph): ditto
4178         (acceptChange): ditto
4179         (insertChar): adjust
4180         (rowBreakPoint): adjust
4181
4182         * bufferview_funcs.C (toggleAndShow): adjust
4183
4184 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4185
4186         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4187         methods to access it.
4188         * lyxtext.h:
4189         * text.C: Added updateRowPositions to compute all row positions.
4190         Make top_y and getRowNearY() to use the cached y position
4191
4192 2003-04-11  John Levon  <levon@movementarian.org>
4193
4194         * text.C (rowBreakPoint): reintroduce the labelEnd
4195         checks, code copied from the row fill stuff. Deep voodoo.
4196
4197         * text.C (fill): add a comment and debugging for the
4198         next poor soul.
4199
4200 2003-04-11  John Levon  <levon@movementarian.org>
4201
4202         * text.C: make sure fullrow insets get wrapped to the next line,
4203         even when they're in a manual label
4204
4205 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4206
4207         * text2.C (insertParagraph): make it take ParagraphList::iterator
4208         as arg.
4209         (setLayout): make it return ParagraphList::iterator
4210         (redoParagraphs): ditto
4211         (setCounter): ditto
4212         (checkParagraph): ditto
4213
4214         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4215
4216         * text2.C: adjust several funcs.
4217         (realizeFont): take a ParagraphList::iterator as arg.
4218         (getLayoutFont): ditto
4219         (getLabelFont): ditto
4220         (setCharFont): ditto
4221
4222         * text.C: adjust several funcs.
4223
4224 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4225
4226         * text.C (selectNextWordToSpellcheck): don't accidentally
4227         skip insets
4228
4229 2003-04-10  John Levon  <levon@movementarian.org>
4230
4231         * ToolbarBackend.C (getIcon): special handling for
4232         LFUN_MATH_DELIM
4233
4234 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4235
4236         * text2.C (cursorRight): a getChar assert fixed
4237
4238 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4239
4240         * text2.C (getFont): change to take a ParagraphList::iterator
4241         instead of Paragraph*
4242         Adjust several functions.
4243
4244         * text.C (transformChar): change to take a ParagraphList::iterator
4245         instead of Paragraph*
4246         (singleWidth): ditto
4247         Adjust several functions.
4248
4249         * rowpainter.C: adjust several functions
4250         * rowpainter.h:store a ParagraphList::iterator and not a
4251         Paragraph&.
4252
4253
4254 2003-04-09  John Levon  <levon@movementarian.org>
4255
4256         * lyxfunc.C:
4257         * lfuns.h:
4258         * LyXAction.h:
4259         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4260         and the "help" bits as well
4261
4262 2003-04-09  John Levon  <levon@movementarian.org>
4263
4264         * ToolbarBackend.h:
4265         * ToolbarBackend.C: allow multiple toolbars
4266
4267 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4268
4269         * undo_funcs.C (setCursorParUndo): adjust
4270
4271         * text_funcs.C (transposeChars): adjust
4272
4273         * text3.C (gotoNextInset): adjust
4274         (dispatch): adjust
4275
4276         * text2.C (setLayout): adjust
4277         (changeDepth): adjust
4278         (setFont): adjust
4279         (redoParagraphs): adjust
4280         (selectionAsString): adjust
4281         (setParagraph): adjust
4282         (insertInset): adjust
4283         (cutSelection): adjust
4284         (copySelection): adjust
4285         (pasteSelection): adjust
4286         (insertStringAsLines): adjust
4287         (updateInset): adjust
4288         (setCursor): change to take a ParagraphList::iterator parameter
4289         (setCursorIntern): change to take a ParagraphList::iterator parameter
4290         (setCurrentFont): adjust
4291         (cursorLeft): adjust
4292         (cursorRight): adjust
4293         (deleteEmptyParagraphMechanism): adjust
4294
4295         * text.C (breakParagraph): adjust
4296         (insertChar): adjust
4297         (acceptChange): adjust
4298         (rejectChange): adjust
4299         (selectNextWordToSpellcheck): adjust
4300         (changeCase): adjust
4301         (Delete): adjust
4302         (backspace): adjust
4303
4304         * lyxfind.C (SearchForward): adjust
4305         (SearchBackward): adjust
4306         (nextChange): adjust
4307
4308         * lyxcursor.C (par): adjust
4309
4310         * lyxcursor.h: store a ParagraphList::iterator instead of a
4311         Paragraph*
4312
4313         * lyx_cb.C (getPossibleLabel): adjust
4314
4315         * bufferview_funcs.C (toggleAndShow): adjust
4316
4317         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4318         (dispatch): adjust
4319
4320         * BufferView.C (removeAutoInsets): adjust
4321         (lockedInsetStoreUndo): adjust
4322
4323 2003-04-09  John Levon  <levon@movementarian.org>
4324
4325         * ToolbarBackend.C: try icon without argument
4326         if with argument fails
4327
4328 2003-04-08  John Levon  <levon@movementarian.org>
4329
4330         * ToolbarBackend.h:
4331         * ToolbarBackend.C: add getIcon(), handle tooltip,
4332         and change from "Icon" to "Item".
4333
4334 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4335
4336         * BufferView.C (lockInset): another bad getchar crunched
4337
4338 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4339
4340         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4341         again)
4342
4343 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4344
4345         * lyxfind.C (searchForward, searchBackwards): bug 782
4346
4347 2003-04-07  John Levon  <levon@movementarian.org>
4348
4349         * paragraph.C: remove dead comment
4350
4351         * text.C: remove troublesome depth-fiddling code
4352         in leftMargin() and rightMargin() (bug 1017)
4353
4354         * text.C: fix breaking of rows in nested lists
4355         (bug 1004)
4356
4357         * text2.C (updateCounters): fix up depth values
4358         (bug 1013)
4359
4360 2003-04-07  John Levon  <levon@movementarian.org>
4361
4362         * BufferView_pimpl.C: clear message when doc finishes resizing,
4363         and after a mouse event
4364
4365         * lyxfunc.C: clear message after exiting inset
4366
4367 2003-04-07  John Levon  <levon@movementarian.org>
4368
4369         * bufferview_funcs.C: show math status not outside
4370         status in the statusbar
4371
4372 2003-04-07  John Levon  <levon@movementarian.org>
4373
4374         * lyxfunc.C: note status changed after a depth change
4375
4376 2003-04-04  Angus Leeming  <leeming@lyx.org>
4377
4378         * LaTeX.h: move AuxInfo operator==, != out of line.
4379         Remove LaTeX virtual destructor; nothing derives from it.
4380         Move operator()() out of public area and rename it startscript().
4381         Change protected for private.
4382
4383 2003-04-04  Angus Leeming  <leeming@lyx.org>
4384
4385         * lyxfunc.C:
4386         * text2.C: remove unneeded #includes.
4387
4388 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4389
4390         * text2.C (dEPM): fix the heigth of the next row
4391
4392 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4393
4394         * text.C: squashed an invalid getChar requester + some ws changes
4395
4396 2003-04-03  John Levon  <levon@movementarian.org>
4397
4398         * bufferview_funcs.h:
4399         * bufferview_funcs.C:
4400         * lyxfunc.C:
4401         * lyxtext.h:
4402         * text2.C: make getStatus work for the env depth lfuns
4403
4404 2003-04-03  John Levon  <levon@movementarian.org>
4405
4406         * bufferview_funcs.h:
4407         * bufferview_funcs.C:
4408         * lyxfunc.C:
4409         * lyxtext.h:
4410         * text2.C: parlistize decDepth(), by merging it with incDepth()
4411
4412 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4413
4414         * lyxrow.h: store a ParagraphList::iterator instead of a
4415         Paragraph* and adjust other class functions to suit.
4416
4417         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4418         above.
4419
4420 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4421
4422         * text2.C (setCursor): do not anchor to cursor row for the time being
4423
4424 2003-04-02  John Levon  <levon@movementarian.org>
4425
4426         * LyXAction.C:
4427         * lfuns.h:
4428         * lyx_main.C:
4429         * lyxtext.h:
4430         * text.C:
4431         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4432
4433 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4434
4435         * paragraph.h: make ParagraphList and ParagraphList::iterator
4436         friends of Paragraph.
4437
4438         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4439
4440         * ParagraphList.C: Use the private next_ and previous_ from
4441         Paragraph.
4442
4443 2003-04-01  John Levon  <levon@movementarian.org>
4444
4445         * ToolbarBackend.h:
4446         * ToolbarBackend.C:
4447         * Makefile.am: rename, remove defaults gunk
4448
4449         * MenuBackend.h:
4450         * MenuBackend.C: remove defaults gunk
4451
4452         * Languages.h:
4453         * Languages.C: remove defaults gunk
4454
4455         * lyx_main.h:
4456         * lyx_main.C: error out if files couldn't be found.
4457
4458 2003-04-02  John Levon  <levon@movementarian.org>
4459
4460         * text2.C: make incDepth() use parlist
4461
4462 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4463
4464         * undo_funcs.C (firstUndoParagraph): adjust
4465
4466         * text3.C (gotoInset): adjust
4467         (dispatch): adjust, and rewrite loop.
4468
4469         * text2.C (init): adjust, and rewrite loop.
4470         (redoParagraphs): adjust
4471         (updateInset): adjust, and rewrite loop.
4472         (deleteEmptyParagraphMechanism): adjust
4473
4474         * tabular.C (LyXTabular): adjust
4475         (SetMultiColumn): adjust
4476         (TeXRow): adjust
4477
4478         * lyxtext.[Ch] (ownerParagraph): delete function
4479         (ownerParagraphs): new function returns a ParagraphList.
4480
4481         * BufferView.C (removeAutoInsets): adjust
4482         (insertErrors): adjust
4483         (setCursorFromRow): adjust
4484
4485 2003-04-01  Angus Leeming  <leeming@lyx.org>
4486
4487         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4488         in the frontends.
4489
4490 2003-04-02  John Levon  <levon@movementarian.org>
4491
4492         * lyxtext.h:
4493         * text.C:
4494         * Makefile.am:
4495         * text_funcs.h:
4496         * text_funcs.C: make transposeChars a free function
4497
4498         * lyxrow_funcs.C: remove wrong comment
4499
4500 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4501
4502         * lyxtext.h: adjust
4503         * rowpainter.C: adjust
4504         * text.C: adjust
4505         * text2.C: adjust
4506         * text3.C: adjust
4507
4508         * lyxrow_funcs. [Ch]: new files
4509
4510         * lyxrow.[Ch]: remove next and previous pointers
4511         (next,previous): remove accessor functions
4512         (isParEnd): move to lyxrow_funcs
4513         (lastPos): move to lyxrow_funcs
4514         (nextRowIsAllInset): move to lyxrow_funcs
4515         (lastPrintablePos): move to lyxrow_funcs
4516         (numberOfSeparators): move to lyxrow_funcs
4517         (numberOfHfills): move to lyxrow_funcs
4518         (numberOfLabelHfills): move to lyxrow_funcs
4519         (hfillExpansion): move to lyxrow_funcs
4520
4521         * lyxfunc.C: adjust
4522
4523         * bufferview_funcs.C (toggleAndShow): adjust
4524
4525         * RowList.h: Remove class RowList from file leave just a
4526         std::list<Row>.
4527
4528         * RowList.C: delete file
4529
4530         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4531         and lyxrow_funcs.h
4532
4533 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4534
4535         * text3.C (cursorPrevious): adjust
4536         (cursorNext): adjust
4537         (dispatch): adjust
4538
4539         * text2.C (redoHeightOfParagraph): adjust
4540         (redoDrawingOfParagraph): adjust
4541         (setCursor): adjust
4542
4543         * text.C (breakParagraph): adjust
4544         (insertChar): adjust
4545         (backspace): adjust
4546
4547         * rowpainter.C (RowPainter): adjust
4548         (leftMargin): simplify and adjust
4549         (most rowpainter functions): adjust.
4550
4551         * rowpainter.h: store the row as RowList::iterator not as Row*
4552
4553         * lyxcursor.C (row): taka RowList::iterator as arg
4554         (irow): ditto
4555
4556         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4557         of Row*.
4558
4559 2003-04-01  Angus Leeming  <leeming@lyx.org>
4560
4561         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4562         stuff like bool Bool.
4563
4564 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4565
4566         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4567         rewrite a loop
4568
4569 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4570
4571         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4572         RowList::iterator.
4573
4574         * lyxtext.h (rows): drop one version and leve a const variant that
4575         returns a RowList::iterator.
4576
4577 2003-03-31  Angus Leeming  <leeming@lyx.org>
4578
4579         * text.C (fill): ensure that the signature is the same as that in the
4580         header file.
4581
4582 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4583
4584         * text2.C (redoParagraphs): adjust
4585         (updateCounters): adjust
4586         (checkParagraph): adjust
4587         (getColumnNearX): adjust and reformat a bit.
4588
4589         * text.C (top_y): adjust
4590         (workWidth): adjust
4591         (leftMargin): adjust
4592         (prepareToPrint): adjust
4593         (getRow): adjust
4594         (getRowNearY): adjust
4595
4596         * lyxtext.h: make rowlist_ mutable.
4597
4598         * RowList.h: add const_iterator
4599         * RowList.C: adjust for RowList::const_iterator.
4600
4601         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4602         adjust.
4603
4604 2003-03-31  John Levon  <levon@movementarian.org>
4605
4606         * lyxrc.h:
4607         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4608
4609         * lyx_main.C: set default fonts from using lyx_gui funcs
4610
4611         * exporter.C: pdf_mode moved from lyxrc
4612
4613         * lyx_cb.C:
4614         * lyxfunc.C: changes from above
4615
4616 2003-03-31  John Levon  <levon@movementarian.org>
4617
4618         * lyx_main.C: fix to the last fix
4619
4620 2003-03-31  John Levon  <levon@movementarian.org>
4621
4622         * bufferlist.C: "Load original" -> "Load Original"
4623
4624         * converter.C:
4625         * exporter.C:
4626         * importer.C:
4627         * lyx_main.C:
4628         * format.C: more Alert cleanups
4629
4630 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4631
4632         * text2.C (removeParagraph): make it take a RowList::iterator as
4633         arg, adjust.
4634         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4635         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4636
4637         * text.C (anchor_row): make it take a RowList::iterator as arg,
4638         adjust.
4639         (computeBidiTables): make it take a const reference to Row instead
4640         of Row pointer, adjust.
4641         (leftMargin): make it take a RowList::iterator as arg, adjust.
4642         (rowBreakPoint): adjust
4643         (breakAgainOneRow): make it take a RowList::iterator as arg,
4644         adjust.
4645         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4646
4647         * bufferview_funcs.C (toggleAndShow): adjust
4648
4649 2003-03-30  John Levon  <levon@movementarian.org>
4650
4651         * Makefile.am:
4652         * BoostFormat.h:
4653         * boost-inst.C: moved to support
4654
4655         * several files: changes as a result
4656
4657 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4658
4659         * text2.C (LyXText): adjust.
4660         (init): adjust
4661         (removeRow): make it take a RowList::iterator as arg, adjust.
4662         (fullRebreak): adjust
4663         (deleteEmptyParagraphMechanism): adjust
4664         (clearPaint): adjust
4665         (postPaint): adjust
4666
4667         * text.C (top_y): adjust
4668         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4669         (breakAgain): make it take a RowList::iterator as arg, adjust.
4670         (breakParagraph): adjust
4671         (insertChar): adjust
4672         (backspace): adjust
4673
4674         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4675         need_break_row, and refresh_row.
4676
4677         * text3.C (dispatch): adjust
4678
4679         * text2.C (checkParagraph): adjust
4680         (setCursor): adjust
4681         (setCursorFromCoordinates): adjust
4682
4683         * text.C (top_y): adjust
4684         (workWidth): adjust
4685         (getRow): make it return a RowList::iterator, adjust
4686         (getRowNearY): make it return a RowList::iterator, adjust
4687
4688         * text2.C (init): adjust
4689         (insertRow): remove function
4690         (insertParagraph): adjust
4691         (redoParagraphs): adjust
4692         (fullRebreak): adjust
4693         (updateCounters): adjust
4694
4695         * text.C (top_y): rewrite to use RowList iterators.
4696         (top_y): adjust
4697         (setHeightOfRow): rewrite to sue RowList iterators.
4698         (appendParagraph): adjust
4699         (breakAgain): adjust
4700         (breakAgainOneRow): adjust
4701         (breakParagraph): adjust
4702         (getRow): adjust
4703         (getRowNearY): adjust, and remove commented code.
4704
4705         * lyxtext.h (firstRow): delete function
4706         (lastRow): delete function
4707         (rows): new function (const and non-const versions.)
4708         (insertRow): delete function
4709
4710         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4711
4712 2003-03-29  John Levon  <levon@movementarian.org>
4713
4714         * BufferView_pimpl.C: always update scrollbar top
4715         because pasting text when we're anchored could mean we
4716         miss an update altogether
4717
4718 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4719
4720         * text2.C (init): use rowlist_.end() and not 0.
4721         (insertRow): change to take a RowList::iterator as arg, adjust
4722         for this.
4723         (insertParagraph): change to take a RowList::iterator as arg,
4724         adjust for this.
4725         (redoParagraphs): remove some debug msgs.
4726
4727         * text.C (appendParagraph): change to take a RowList::iterator
4728         arg, adjust for this.
4729         (breakAgain): add an assert
4730         (breakAgainOneRow): ditto
4731
4732 2003-03-29  John Levon  <levon@movementarian.org>
4733
4734         * text2.C: do not clear selection after inc/decDepth
4735         (bug 550)
4736
4737 2003-03-29  John Levon  <levon@movementarian.org>
4738
4739         * BufferView.C:
4740         * buffer.C: fix broken strerrors according to Lars
4741
4742 2003-03-29  John Levon  <levon@movementarian.org>
4743
4744         * converters.C: more Alert cleanups
4745
4746 2003-03-29  John Levon  <levon@movementarian.org>
4747
4748         * bufferview_funcs.C: remove pointless Alert
4749
4750         * buffer.C: fix confusing error message when
4751         a template is chmoded 000
4752
4753 2003-03-29  John Levon  <levon@movementarian.org>
4754
4755         * BufferView.C:
4756         * BufferView.h:
4757         * BufferView_pimpl.C: Alert fixes
4758
4759         * Makefile.am:
4760         * tabular.C:
4761         * tabular-old.C: remove unused table compat reading
4762
4763 2003-03-29  John Levon  <levon@movementarian.org>
4764
4765         * BufferView.C:
4766         * buffer.C:
4767         * lyx_cb.h:
4768         * lyx_cb.C: more Alert cleanups
4769
4770         * lyxfunc.C: don't allow chktex if not latex document
4771
4772 2003-03-29  John Levon  <levon@movementarian.org>
4773
4774         * lyx_cb.C:
4775         * BufferView.C:
4776         * buffer.C: warnings pushed down from support/,
4777         kill err_alert
4778
4779 2003-03-29  John Levon  <levon@movementarian.org>
4780
4781         * lyxfunc.C: safety check for C-r (revert)
4782
4783 2003-03-29  John Levon  <levon@movementarian.org>
4784
4785         * bufferlist.h:
4786         * bufferlist.C: several UI fixes using Alert::prompt.
4787         Fix the pointless looping quit code. Fix stupid revert
4788         behaviour (bug 938)
4789
4790         * lyxvc.h:
4791         * lyxvc.C:
4792         * lyx_cb.C: use Alert::prompt
4793
4794         * lyx_main.C: remove a silly question
4795
4796         * lyxfunc.C: remove a couple of silly questions,
4797         use Alert::prompt
4798
4799 2003-03-28  John Levon  <levon@movementarian.org>
4800
4801         * text2.C: fix bug 974 (End on empty par)
4802
4803 2003-03-28  John Levon  <levon@movementarian.org>
4804
4805         * BufferView_pimpl.C:
4806         * LyXAction.C:
4807         * lfuns.h: remove do-nothing math greek lfuns
4808
4809 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4810
4811         * lyxgluelength.h (isValidGlueLength): add default arg on
4812         parameter 2. Remove default arg from friend in class.
4813
4814         * lyxlength.h (isValidLength): add default arg on parameter 2.
4815         Remove default arg from friend in class.
4816
4817         * text2.C (LyXText): adjust, initialize refresh_row.
4818         (init): adjust
4819         (removeRow): adjust
4820         (insertRow): adjust
4821         (insertParagraph): adjst
4822         (redoParagraphs): adjust
4823         (fullRebreak): adjust
4824         (updateCounters): adjust
4825         (deleteEmptyParagraphMechanism): first attempt at fixing a
4826         crashing bug.
4827
4828         * text.C (top_y): adjust
4829         (setHeightOfRow): adjust
4830         (getRow): adjust
4831         (getRowNearY): adjust
4832
4833         * lyxtext.h: include RowList.h
4834         (~LyXText): not needed anymore, deleted.
4835         (firstRow): modify for RowList
4836         (lastRow): new function
4837         Delete firstrow and lastrow class variables, add a Rowlist
4838         rowlist_ class variable.
4839
4840         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4841         paragraph is empty.
4842
4843         * RowList.C (insert): fix case where it == begin().
4844
4845 2003-03-26  Angus Leeming  <leeming@lyx.org>
4846
4847         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4848         the thesaurus dialog.
4849
4850 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4851
4852         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4853
4854         * RowList.[Ch]: new files
4855
4856         * ParagraphList.C (erase): handle the case where it == begin
4857         correctly.
4858
4859 2003-03-25  John Levon  <levon@movementarian.org>
4860
4861         * Makefile.am:
4862         * aspell_local.h:
4863         * aspell.C: add new aspell support
4864
4865         * lyxrc.h:
4866         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4867         have it accessible.
4868
4869 2003-03-25  Angus Leeming  <leeming@lyx.org>
4870
4871         * lfuns.h:
4872         * LyXAction.C (init): new LFUN_INSET_INSERT.
4873
4874         * BufferView_pimpl.C (dispatch): split out part of the
4875         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4876
4877         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4878         LFUN_INSET_APPLY.
4879
4880 2003-03-25  Angus Leeming  <leeming@lyx.org>
4881
4882         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4883
4884 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4885
4886         * text2.C:
4887         * text3.C: remove useless row->height(0)
4888
4889 2003-03-25  John Levon  <levon@movementarian.org>
4890
4891         * lyxtext.h:
4892         * text2.C:
4893         * text3.C: rename the refreshing stuff to better names
4894
4895 2003-03-24  John Levon  <levon@movementarian.org>
4896
4897         * BufferView_pimpl.h:
4898         * BufferView_pimpl.C: update layout choice on a mouse
4899         press/release
4900
4901 2003-03-23  John Levon  <levon@movementarian.org>
4902
4903         * Makefile.am: fix commandtags.h reference
4904
4905 2003-03-22  John Levon  <levon@movementarian.org>
4906
4907         * BufferView_pimpl.C:
4908         * lyxtext.h:
4909         * rowpainter.C:
4910         * rowpainter.h:
4911         * text.C:
4912         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4913
4914 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4915
4916         * lyxtext.h:
4917         * text.C: take the rtl methods out of line
4918
4919 2003-03-21 André Pönitz <poenitz@gmx.net>
4920
4921         * metricsinfo.[Ch]: new files containing structures to be passed around
4922         during the two-phase-drawing...
4923
4924 2003-03-21 André Pönitz <poenitz@gmx.net>
4925
4926         * lyxtextclass.C: read 'environment' tag.
4927
4928 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4929
4930         * text2.C (removeRow): fix bug 964
4931
4932 2003-03-20  John Levon  <levon@movementarian.org>
4933
4934         * rowpainter.C:
4935         * text.C:
4936         * text2.C: paint cleanups. Inset::update() dropped font
4937         parameter
4938
4939 2003-03-19  John Levon  <levon@movementarian.org>
4940
4941         * lyxfunc.C: only fitcursor/markDirty if available()
4942
4943 2003-03-19  John Levon  <levon@movementarian.org>
4944
4945         * commandtags.h: rename to ...
4946
4947         * lfuns.h: ... this, and renumber / cleanup
4948
4949 2003-03-19  John Levon  <levon@movementarian.org>
4950
4951         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4952         fit the cursor after an lfun
4953
4954         * BufferView.h:
4955         * BufferView.C:
4956         * BufferView_pimpl.h:
4957         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4958
4959         * LyXAction.C: layout-character should have ReadOnly
4960
4961         * ParagraphParameters.C:
4962         * buffer.C:
4963         * bufferview_funcs.C:
4964         * lyx_cb.C:
4965         * lyxfind.C:
4966         * lyxtext.h:
4967         * text.C:
4968         * text2.C:
4969         * text3.C:
4970         * undo_funcs.C: changes from above
4971
4972 2003-03-18  John Levon  <levon@movementarian.org>
4973
4974         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4975         remove it from update()
4976
4977         * lyxfunc.C: update layout choice after an lfun
4978
4979         * text3.C: remove extra updateLayoutChoice()s
4980
4981 2003-03-18  John Levon  <levon@movementarian.org>
4982
4983         * text.C: top_y change means full repaint, fix
4984         a drawing bug with cursor movement
4985
4986 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4987
4988         * lyxtext.h:
4989         * text.C:
4990         * text2.C: anchor row on setCursor
4991
4992 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4993
4994         * lyxtext.h: remove almost all mutable keywords
4995         * text.C:
4996         * text2.C:
4997         * text3.C: remove const keywords accordingly
4998
4999 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5000
5001         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5002         anon namespace
5003         (TeXEnvironment): ditto
5004         (TeXOnePar): ditto
5005
5006 2003-03-17  John Levon  <levon@movementarian.org>
5007
5008         * text.C (rowBreakPoint): remove attempt to fix displayed
5009         math insets inside a manual label
5010
5011 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5012
5013         * lyxtext.h: remove BufferView* as first arg from almost all class
5014         functions.
5015         * other files: adjust.
5016
5017 2003-03-17  John Levon  <levon@movementarian.org>
5018
5019         * lyxtext.h:
5020         * undo_funcs.C:
5021         * text2.C: more paint cleanups
5022
5023         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5024
5025         * rowpainter.h:
5026         * rowpainter.C: remove "smart" background painting code
5027
5028 2003-03-16  John Levon  <levon@movementarian.org>
5029
5030         * lyxtext.h:
5031         * text.C:
5032         * text2.C:
5033         * text3.C: add helper functions for setting refresh_row/y
5034
5035 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5036
5037         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5038         newline inset which *can* get inserted in the pass_thru layouts.
5039         This is primarily for literate documents.
5040
5041 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5042
5043         * buffer.C: increment LYX_FORMAT to 223
5044
5045 2003-03-14 André Pönitz <poenitz@gmx.net>
5046
5047         * textclass.h: prepare for environment handling, ws changes
5048         * lyxlayout.C: read latexheader and latexfooter tags
5049
5050 2003-03-14  John Levon  <levon@movementarian.org>
5051
5052         * text2.C: rewrite ::status() a bit
5053
5054 2003-03-13  John Levon  <levon@movementarian.org>
5055
5056         * lyxtext.h: add some docs
5057
5058 2003-03-13  John Levon  <levon@movementarian.org>
5059
5060         * lyxtext.h:
5061         * text.C:
5062         * text2.C:
5063         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5064
5065 2003-03-13  John Levon  <levon@movementarian.org>
5066
5067         * text3.C: fix appendix redrawing
5068
5069 2003-03-13  John Levon  <levon@movementarian.org>
5070
5071         * text.C (setHeightOfRow):
5072         * rowpainter.h:
5073         * rowpainter.C: make appendix mark have the text
5074           "Appendix" so the user knows what it is
5075
5076         * LColor.h:
5077         * LColor.C: s/appendixline/appendix/ from above
5078
5079 2003-03-13  John Levon  <levon@movementarian.org>
5080
5081         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5082
5083         * text.C: fix a getChar(pos) bug properly
5084
5085 2003-03-13  Angus Leeming  <leeming@lyx.org>
5086
5087         * commandtags.h:
5088         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5089         Probably only temporary. Let's see how things pan out.
5090
5091         * BufferView.C (unlockInset):
5092         * BufferView_pimpl.C (fitCursor):
5093         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5094
5095         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5096         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5097
5098         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5099         new functions that convert ParagraphParameters to and from a string.
5100
5101         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5102         BufferView::Pimpl's dispatch.
5103         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5104
5105 2003-03-13 André Pönitz <poenitz@gmx.net>
5106
5107         * lyxfunc.C:
5108         * text3.C:
5109         * factory.C: make it aware of InsetEnv
5110
5111 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5112
5113         * text2.C (setCursor): never ask for one past last
5114         (setCursor): add some debugging messages.
5115
5116         * text.C (singleWidth): never ask for one past last
5117         (singleWidth): ditto
5118         (leftMargin): ditto
5119         (rightMargin): ditto
5120         (rowBreakPoint): ditto
5121         (setHeightOfRow): ditto
5122         (prepareToPrint): ditto
5123
5124         * rowpainter.C (paintBackground): never ask for one past last
5125         (paintText): never ask for one past last
5126
5127         * paragraph_pimpl.C (getChar): make the assert stricter, never
5128         allow the one past last pos to be taken
5129
5130         * paragraph.C (getChar): ws changes only
5131
5132         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5133         (numberOfSeparators): ditto
5134         (numberOfHfills): ditto
5135
5136 2003-03-12  John Levon  <levon@movementarian.org>
5137
5138         * author.h:
5139         * author.C:
5140         * bufferparams.h:
5141         * bufferparams.C:
5142         * paragraph_funcs.C: fix per-buffer authorlists
5143
5144 2003-03-12  John Levon  <levon@movementarian.org>
5145
5146         * text.C: fix newline in right address
5147
5148 2003-03-12  Angus Leeming  <leeming@lyx.org>
5149
5150         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5151         duplicate those in LyXFunc::dispatch.
5152
5153         * commandtags.h:
5154         * LyXAction.C:
5155         * ToolbarDefaults.C:
5156         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5157         Add LFUN_FONTFREE_UPDATE.
5158
5159         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5160         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5161
5162         * bufferview_func.[Ch]: several new functions to facilliate
5163         transfer of data to and from the character dialog.
5164
5165 2003-03-12  John Levon  <levon@movementarian.org>
5166
5167         * buffer.C:
5168         * paragraph.h:
5169         * paragraph.C:
5170         * paragraph_funcs.C:
5171         * paragraph_pimpl.C:
5172         * sgml.C:
5173         * tabular.C:
5174         * text.C:
5175         * text3.C: remove META_NEWLINE in favour of an inset
5176
5177         * rowpainter.h:
5178         * rowpainter.C: remove paintNewline (done by inset)
5179
5180 2003-03-12  John Levon  <levon@movementarian.org>
5181
5182         * paragraph_pimpl.C: complain about bad getChar()s
5183         for a while at least
5184
5185 2003-03-12  John Levon  <levon@movementarian.org>
5186
5187         * buffer.h:
5188         * buffer.C: move paragraph read into a separate function,
5189         a little renaming to reflect that.
5190
5191         * bufferparams.h:
5192         * bufferparams.C: remove the author_ids map, not necessary now
5193
5194         * factory.h:
5195         * factory.C: moved Buffer::readInset to here
5196
5197         * paragraph_funcs.h:
5198         * paragraph_funcs.C: readParagraph free function moved from
5199         buffer.C
5200
5201         * tabular.C: name change
5202
5203 2003-03-12  John Levon  <levon@movementarian.org>
5204
5205         * buffer.C:
5206         * ParagraphParameters.C: move par params input to
5207         a read() method
5208
5209         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5210         behave like a normal read from the stream wrt reading
5211         a line vs. a \\token
5212
5213 2003-03-12  John Levon  <levon@movementarian.org>
5214
5215         * paragraph.C:
5216         * ParagraphParameters.h:
5217         * ParagraphParameters.C: move output code to a
5218         ::write() method
5219
5220 2003-03-12  John Levon  <levon@movementarian.org>
5221
5222         * BufferView.C (insertLyXFile):
5223         * buffer.h:
5224         * buffer.C:
5225         * tabular.C: use a parlist iterator for creating the
5226           document.
5227
5228 2003-03-12  John Levon  <levon@movementarian.org>
5229
5230         * buffer.C: make current_change static local not
5231           static file-scope
5232
5233 2003-03-12  John Levon  <levon@movementarian.org>
5234
5235         * buffer.C: fix insertStringAsLines for change tracking
5236
5237 2003-03-12  John Levon  <levon@movementarian.org>
5238
5239         * BufferView.C:
5240         * tabular.C:
5241         * buffer.h:
5242         * buffer.C:
5243         * bufferparams.h:
5244         * bufferparams.C: move author list into params. Rename some
5245           functions. Move the header reading into a separate token
5246           loop. Move the header token reading into BufferParams.
5247
5248 2003-03-12  John Levon  <levon@movementarian.org>
5249
5250         * changes.C: put debug inside lyxerr.debugging() checks
5251
5252 2003-03-11 André Pönitz <poenitz@gmx.net>
5253
5254         * factory.C: make it aware of InsetHFill
5255
5256 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5257
5258         * buffer.C (latexParagraphs): move function from here...
5259         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5260         args.
5261
5262 2003-03-10  Angus Leeming  <leeming@lyx.org>
5263
5264         * LyXAction.C (init): fix bug in poplating array with multiple entries
5265         with the same LFUN (spotted by JMarc).
5266
5267 2003-03-10  John Levon  <levon@movementarian.org>
5268
5269         * text.C:
5270         * text2.C: move getColumnNearX() near its
5271         only call site
5272
5273 2003-03-10  John Levon  <levon@movementarian.org>
5274
5275         * text.C: fix break before a minipage
5276
5277 2003-03-10  John Levon  <levon@movementarian.org>
5278
5279         * text.C: fix the last commit
5280
5281 2003-03-09  John Levon  <levon@movementarian.org>
5282
5283         * lyxtext.h:
5284         * text.C:
5285         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5286         bug 365 (don't break before insets unless needed). Don't
5287         return a value > last under any circumstances.
5288
5289 2003-03-09  Angus Leeming  <leeming@lyx.org>
5290
5291         * BufferView_pimpl.C (trackChanges, dispatch): call
5292         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5293
5294 2003-03-09  Angus Leeming  <leeming@lyx.org>
5295
5296         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5297         than Dialogs::showAboutlyx().
5298
5299 2003-03-09  Angus Leeming  <leeming@lyx.org>
5300
5301         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5302         than Dialogs::showTabularCreate().
5303
5304 2003-03-09  John Levon  <levon@movementarian.org>
5305
5306         * lyxtext.h:
5307         * text.C:
5308         * text2.C: 3rd arg to nextBreakPoint was always the same.
5309           Use references.
5310
5311 2003-03-08  John Levon  <levon@movementarian.org>
5312
5313         * lyxrow.C:
5314         * paragraph.C:
5315         * paragraph.h:
5316         * rowpainter.C:
5317         * text.C:
5318         * text2.C: Remove the "main" bit from the "main body"
5319           notion.
5320
5321 2003-03-08  John Levon  <levon@movementarian.org>
5322
5323         * text.C (leftMargin): The left margin of an empty
5324         manual label paragraph should not include the label width
5325         string length.
5326
5327         * text.C (prepareToPrint): don't attempt to measure hfills
5328         for empty manual label paragraphs - the answer should be 0
5329
5330 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5331
5332         * CutAndPaste.C: remove commented code and reindent.
5333
5334 2003-03-08  John Levon  <levon@movementarian.org>
5335
5336         * lyxfunc.h:
5337         * lyxfunc.C: move reloadBuffer()
5338
5339         * BufferView.h:
5340         * BufferView.C: to here
5341
5342         * lyxvc.C: add comment
5343
5344         * vc-backend.h:
5345         * vc-backend.C: call bv->reload() to avoid
5346           getStatus() check on MENURELOAD
5347
5348 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5349
5350         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5351         to an old format .dep file.
5352
5353 2003-03-07  Angus Leeming  <leeming@lyx.org>
5354
5355         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5356         when the LFUN_MOUSE_RELEASE should have been handled by
5357         inset->localDispatch.
5358
5359 2003-03-07  Angus Leeming  <leeming@lyx.org>
5360
5361         * BufferView_pimpl.C (dispatch):
5362         * LyXAction.C (init):
5363         * ToolbarDefaults.C (init):
5364         * commandtags.h:
5365         * lyxfunc.C (getStatus):
5366         remove LFUN_INSET_GRAPHICS.
5367
5368         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5369
5370 2003-03-07  Angus Leeming  <leeming@lyx.org>
5371
5372         * commandtags.h:
5373         * LyXAction.C (init):
5374         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5375
5376         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5377
5378         * commandtags.h:
5379         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5380
5381         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5382         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5383
5384 2003-03-07  Angus Leeming  <leeming@lyx.org>
5385
5386         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5387         remove "ert".
5388
5389 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5390
5391         * ParagraphList.C (front): new function
5392         (back): implement
5393
5394 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5395
5396         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5397         and top_row_offset_. removed var first_y.
5398         * text.C (top_y):
5399         * text2.C (LyXText, removeRow):
5400         * text3.C:
5401         * BufferView_pimpl.C:
5402         use these methods instead of using first_y
5403
5404 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5405
5406         * text2.C (pasteSelection): adjust for checkPastePossible
5407
5408         * CutAndPaste.C: remove Paragraph * buf and replace with
5409         ParagraphList paragraphs.
5410         (DeleteBuffer): delete
5411         (cutSelection): change the tc type to textclass_type
5412         (copySelection): change the tc type to textclass_type
5413         (copySelection): adjust for ParagraphList
5414         (pasteSelection): change the tc type to textclass_type
5415         (pasteSelection): adjust for Paragraphlist
5416         (nrOfParagraphs): simplify for ParagraphList
5417         (checkPastePossible): simplify for ParagraphList
5418         (checkPastePossible): remove unused arg
5419
5420         * ParagraphList.C (insert): handle the case where there are no
5421         paragraphs yet.
5422
5423         * CutAndPaste.h: make CutAndPaste a namespace.
5424
5425         * text3.C (dispatch): adjust
5426
5427         * text.C (breakParagraph): add a ParagraphList as arg
5428
5429         * paragraph_funcs.C (breakParagraph): change to take a
5430         BufferParams and a ParagraphList as args.
5431         (breakParagraphConservative): ditto
5432         (mergeParagraph): ditto
5433         (TeXDeeper): add a ParagraphList arg
5434         (TeXEnvironment): ditto
5435         (TeXOnePar): ditto
5436
5437         * buffer.C (readLyXformat2): adjust
5438         (insertStringAsLines): adjust
5439         (latexParagraphs): adjust
5440
5441         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5442         (cutSelection): adjust
5443         (pasteSelection): adjust
5444
5445         * BufferView_pimpl.C (insertInset): adjust
5446
5447 2003-03-05  Angus Leeming  <leeming@lyx.org>
5448
5449         * commandtags.h:
5450         * LyXAction.C (init):
5451         * BufferView_pimpl.C (dispatch):
5452         * lyxfunc.C (getStatus):
5453         remove LFUN_CHILD_INSERT.
5454
5455         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5456
5457 2003-03-05  Angus Leeming  <leeming@lyx.org>
5458
5459         * commandtags.h:
5460         * LyXAction.C (init):
5461         * src/factory.C (createInset):
5462         * lyxfunc.C (getStatus):
5463         * text3.C (dispatch):
5464         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5465
5466         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5467
5468 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5469
5470         * ParagraphList.C (insert): handle insert right before end()
5471         (erase): fix cases where it can be first or last paragraph.
5472
5473 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5474
5475         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5476         Paragraph::next and Paragraph::previous
5477         (TeXOnePar): ditto
5478
5479         * text.C (breakParagraph): adjust
5480
5481         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5482         BufferParams& as arg.
5483         (breakParagraph): use ParagraphList::insert
5484         (breakParagraphConservative): take a Buffer* instead of a
5485         BufferParams& as arg.
5486         (breakParagraphConservative): use ParagraphList::insert.
5487
5488         * buffer.C (insertStringAsLines): un-const it
5489         (insertStringAsLines): adjust
5490
5491         * ParagraphList.C (insert): new function
5492
5493         * CutAndPaste.C (pasteSelection): adjust
5494
5495         * text.C (backspace): adjust
5496
5497         * tabular.C (SetMultiColumn): adjust
5498
5499         * CutAndPaste.C (cutSelection): adjust
5500         (pasteSelection): adjust
5501
5502         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5503         Buffer const * as arg
5504
5505         * ParagraphList.C (erase): new function
5506         * paragraph_funcs.C (mergeParagraph): use it
5507         (mergeParagraph): make it take a Buffer* instead of a
5508         BufferParams* as arg
5509
5510         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5511         as arg
5512         (breakParagraphConservative): ditto
5513
5514         * paragraph.h: remove the breakParagraph friend
5515
5516         * paragraph.C (eraseIntern): new function
5517         (setChange): new function
5518
5519         * paragraph_funcs.C (mergeParagraph): make it take a
5520         ParagraphList::iterator instead of a Paragraph *, adjust
5521         accordingly.
5522
5523         * paragraph.h: move an #endif so that the change tracking stuff
5524         also works in the NO_NEXT case.
5525
5526 2003-03-04  Angus Leeming  <leeming@lyx.org>
5527
5528         * commandtags.h:
5529         * LyXAction.C: new LFUN_INSET_MODIFY.
5530
5531         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5532         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5533
5534 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5535
5536         * several files: ws changes only
5537
5538         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5539         (TeXEnvironment): ditto
5540         (TeXDeeper): ditto
5541
5542         * buffer.C (makeLaTeXFile): adjust
5543         (latexParagraphs): make it take ParagraphList::iterator as args
5544
5545 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5546
5547         * buffer.C (latexParagraphs): adjust
5548
5549         * paragraph.C (TeXOnePar): move function...
5550         (optArgInset): move function...
5551         (TeXEnvironment): move function...
5552         * paragraph_pimpl.C (TeXDeeper): move function...
5553         * paragraph_funcs.C: ...here
5554
5555         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5556
5557 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5558
5559         * buffer.C (readInset): remove compability code for old Figure and
5560         InsetInfo insets
5561
5562 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5563
5564         * buffer.C: ws changes
5565         (readInset):
5566
5567         * BufferView_pimpl.C: ditto
5568         * author.C: ditto
5569         * buffer.h: ditto
5570         * bufferlist.h: ditto
5571         * changes.h: ditto
5572         * lyxfunc.C: ditto
5573
5574 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5575
5576         * converter.[Ch]: split into itself +
5577         * graph.[Ch]
5578         * format.[Ch]
5579         * Makefile.am: += graph.[Ch] + format.[Ch]
5580         * MenuBackend.C
5581         * buffer.C
5582         * exporter.C
5583         * importer.C
5584         * lyx_main.C
5585         * lyxfunc.C
5586         * lyxrc.C: added #include "format.h"
5587
5588 2003-02-27  Angus Leeming  <leeming@lyx.org>
5589
5590         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5591           a label.
5592
5593         * factory.C (createInset): add "label" to the factory.
5594
5595         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5596           string and do no more.
5597
5598 2003-02-27  Angus Leeming  <leeming@lyx.org>
5599
5600         * commandtags.h:
5601         * LyXAction.C (init):
5602         * factory.C (createInset):
5603         * BufferView_pimpl.C (dispatch):
5604           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5605
5606         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5607
5608         * lyxfunc.C (dispatch):
5609         * text3.C (dispatch): pass name to params2string.
5610
5611 2003-02-26  Angus Leeming  <leeming@lyx.org>
5612
5613         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5614           blocks together.
5615           Rearrange the ~includes. Strip out the unnecessary ones.
5616
5617         * factory.C (createInset): reformat.
5618           create new insets for the various LFUN_XYZ_APPLY lfuns.
5619
5620 2003-02-26  John Levon  <levon@movementarian.org>
5621
5622         * lyxrow.h:
5623         * lyxrow.C: add isParStart,isParEnd helpers
5624
5625         * paragraph.h: make isInserted/DeletedText take refs
5626
5627         * paragraph_funcs.h:
5628         * paragraph_funcs.C: remove #if 0'd code
5629
5630         * lyxtext.h:
5631         * text3.C:
5632         * text2.C:
5633         * text.C: use lyxrow helpers above.
5634           Move draw and paint routines to RowPainter.
5635           Make several methods use refs not pointers.
5636           Make backgroundColor() const.
5637           Add markChangeInDraw(), isInInset().
5638           Merge changeRegionCase into changeCase.
5639           Make workWidth() shouldn't-happen code into an Assert.
5640
5641         * rowpainter.h:
5642         * rowpainter.C: new class for painting a row.
5643
5644         * vspace.h:
5645         * vspace.C: make inPixels take a ref
5646
5647 2003-02-26  Angus Leeming  <leeming@lyx.org>
5648
5649         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5650         LFUN_REF_APPLY.
5651
5652 2003-02-25  John Levon  <levon@movementarian.org>
5653
5654         * ispell.C: give the forked command a more accurate name
5655
5656 2003-02-22  John Levon  <levon@movementarian.org>
5657
5658         * toc.h:
5659         * toc.C: make TocItem store an id not a Paragraph *
5660           (bug #913)
5661
5662 2003-02-21  Angus Leeming  <leeming@lyx.org>
5663
5664         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5665           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5666           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5667           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5668           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5669           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5670
5671         * BufferView_pimpl.C (dispatch):
5672         * LyXAction.C (init):
5673         * factory.C (createInset):
5674         * lyxfunc.C (getStatus, dispatch):
5675         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5676
5677 2003-02-21  Angus Leeming  <leeming@lyx.org>
5678
5679         * BufferView_pimpl.C (MenuInsertLyXFile):
5680         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5681         * lyxfunc.C (menuNew, open, doImport):
5682           no longer pass a LyXView & to fileDlg.
5683
5684 2003-02-21  Angus Leeming  <leeming@lyx.org>
5685
5686         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5687         * LyXAction.C: change, BIBKEY to BIBITEM.
5688         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5689         Change InsetBibKey to InsetBibitem.
5690         Change BIBKEY_CODE to BIBITEM_CODE.
5691         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5692         * factory.C: replace insetbib.h with insetbibitem.h.
5693         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5694         * paragraph.C: replace insetbib.h with insetbibitem.h.
5695         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5696         Change bibkey() to bibitem().
5697         * text.C: remove insetbib.h.
5698         * text2.C: replace insetbib.h with insetbibitem.h.
5699         change bibkey() to bibitem().
5700         * text3.C: remove insetbib.h.
5701         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5702
5703 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5704
5705         * lyxrc.C (output): enclose user email in quotes (in case there are
5706         several words)
5707
5708 2003-02-18  John Levon  <levon@movementarian.org>
5709
5710         * buffer.h: add std::
5711
5712 2003-02-17  John Levon  <levon@movementarian.org>
5713
5714         * SpellBase.h:
5715         * ispell.h:
5716         * ispell.C:
5717         * pspell.h:
5718         * pspell.C: reworking. Especially in ispell, a large
5719           number of clean ups and bug fixes.
5720
5721         * lyxfunc.C: fix revert to behave sensibly
5722
5723 2003-02-17 André Pönitz <poenitz@gmx.net>
5724
5725         * LyXAction.C:
5726         * commandtags.h: new LFUN_INSERT_BIBKEY
5727
5728         * layout.h:
5729         * lyxlayout.C:
5730         * buffer.C:
5731         * factory.C:
5732         * text.C:
5733         * text2.C:
5734         * text3.C:
5735         * paragraph.[Ch]:
5736         * paragraph_func.C: remove special bibkey handling
5737
5738 2003-02-17  John Levon  <levon@movementarian.org>
5739
5740         * text.C (Delete): fix case where delete at the end of
5741           the very first paragraph would not merge the pars
5742
5743 2003-02-17  John Levon  <levon@movementarian.org>
5744
5745         * lyxrow.C: fix lastPrintablePos()
5746
5747 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5748
5749         * bufferparams.C (writeLaTeX): add a std:here
5750
5751         * buffer.C: and remove a using directive there
5752
5753 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5754
5755         * buffer.C (makeLaTeXFile): move the code that generates the
5756           preamble...
5757
5758         * bufferparams.C (writeLaTeX): ... in this new method
5759
5760         * LaTeXFeatures.C (getEncodingSet): make const
5761           (getLanguages): make const
5762
5763         * MenuBackend.C (binding): returns the binding associated to this
5764           action
5765           (add): sets the status of each item by calling getStatus. Adds
5766           some intelligence.
5767           (read): add support for OptSubMenu
5768           (expand): remove extra separator at the end of expanded menu
5769
5770 2003-02-15  John Levon  <levon@movementarian.org>
5771
5772         * BufferView.C:
5773         * BufferView_pimpl.C:
5774         * bufferlist.h:
5775         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5776           inset code that had no actual effect. Remove unneeded status
5777           code.
5778
5779 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5780
5781         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5782           in preamble
5783
5784 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5785
5786         * text.C (drawLengthMarker): also draw an arrow marker for
5787           symbolic lengths (medskip...)
5788
5789 2003-02-14  John Levon  <levon@movementarian.org>
5790
5791         * tabular.h:
5792         * tabular.C: better method names
5793
5794 2003-02-14  John Levon  <levon@movementarian.org>
5795
5796         * BufferView_pimpl.C:
5797         * bufferlist.C:
5798         * buffer.C:
5799         * converter.C:
5800         * lyx_cb.C:
5801         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5802           it's a more accurate name. Remove some pointless uses.
5803
5804 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5805
5806         * text2.C (LyXText): change order of initilizers to shut off
5807           warnings
5808
5809 2003-02-14  John Levon  <levon@movementarian.org>
5810
5811         * buffer.C: use ParIterator for getParFromID()
5812
5813         * paragraph.h:
5814         * paragraph.C:
5815         * paragraph_pimpl.h:
5816         * paragraph_pimpl.C: remove unused getParFromID()
5817
5818 2003-02-14  John Levon  <levon@movementarian.org>
5819
5820         * buffer.C: remove some very old #if 0'd parse code
5821
5822 2003-02-13  John Levon  <levon@movementarian.org>
5823
5824         * text.h:
5825         * text.C:
5826         * text2.C: move hfillExpansion(), numberOfSeparators(),
5827           rowLast(), rowLastPrintable(), numberofHfills(),
5828           numberOfLabelHfills() ...
5829
5830         * lyxrow.h:
5831         * lyxrow.C: ... to member functions here.
5832
5833         * paragraph.h:
5834         * paragraph.C:
5835         * lyxtext.h:
5836         * text.C: remove LyXText::beginningOfMainBody(), and call
5837           p->beginningOfMainBody() directly. Move the check for
5838           LABEL_MANUAL into the latter.
5839
5840         * text.h:
5841         * text.C:
5842         * text2.C:
5843         * vspace.C:
5844         * BufferView.h:
5845         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5846
5847         * text.h:
5848         * text.C:
5849         * text2.C:
5850         * text3.C:
5851         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5852           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5853
5854 2003-02-13  John Levon  <levon@movementarian.org>
5855
5856         * CutAndPaste.C: remove debug
5857
5858 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5859
5860         * paragraph.C (asString): remove two unused variables
5861
5862         * lyxtextclass.C (readTitleType):
5863           (Read):
5864           (LyXTextClass): handle new members titletype_ and titlename_
5865
5866         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5867
5868 2003-02-09  John Levon  <levon@movementarian.org>
5869
5870         * buffer.h:
5871         * buffer.C: replace hand-coded list with a map for the dep clean
5872
5873 2003-02-08  John Levon  <levon@movementarian.org>
5874
5875         * LaTeX.C: consolidate code into showRunMessage() helper
5876
5877 2003-02-08  John Levon  <levon@movementarian.org>
5878
5879         * lyxfind.C:
5880         * lyxtext.h:
5881         * text2.C:
5882         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5883           and pass the size in explicitly
5884
5885         * BufferView_pimpl.h:
5886         * BufferView_pimpl.C:
5887         * BufferView.h:
5888         * BufferView.C: add getCurrentChange()
5889
5890         * BufferView_pimpl.h:
5891         * BufferView_pimpl.C: handle change lfuns
5892
5893         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5894           for changes. Mark pasted paragraphs as new.
5895
5896         * support/lyxtime.h:
5897         * support/lyxtime.C:
5898         * DepTable.C: abstract time_t as lyx::time_type
5899
5900         * LColor.h:
5901         * LColor.C: add colours for new text, deleted text, changebars
5902
5903         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5904           package use "usenames" option.
5905
5906         * commandtags.h:
5907         * lyxfunc.C:
5908         * LyXAction.C: add change lfuns
5909
5910         * Makefile.am:
5911         * author.h:
5912         * author.C: author handling
5913
5914         * buffer.h:
5915         * buffer.C: add a per-buffer author list, with first entry as
5916           current author. Handle new .lyx tokens for change tracking. Output
5917           author list to .lyx file. Output dvipost stuff to .tex preamble.
5918           Bump lyx format to 222.
5919
5920         * bufferlist.h:
5921         * bufferlist.C: add setCurrentAuthor() to reset current author details
5922           in all buffers.
5923
5924         * bufferparams.h:
5925         * bufferparams.C: add param for tracking
5926
5927         * bufferview_funcs.C: output change info in minibuffer
5928
5929         * Makefile.am:
5930         * changes.h:
5931         * changes.C: add change-tracking structure
5932
5933         * debug.h:
5934         * debug.C: add CHANGES debug flag
5935
5936         * lyxfind.h:
5937         * lyxfind.C: add code for finding the next change piece
5938
5939         * lyxrc.h:
5940         * lyxrc.C: add user_name and user_email
5941
5942         * lyxrow.h:
5943         * lyxrow.C: add a metric for the top of the text line
5944
5945         * lyxtext.h:
5946         * text.C: implement accept/rejectChange()
5947
5948         * lyxtext.h:
5949         * text.C: paint changebars. Paint new/deleted text in the chosen
5950         colours. Strike through deleted text.
5951
5952         * paragraph.h:
5953         * paragraph.C:
5954         * paragraph_pimpl.h:
5955         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5956           in the current change to the insert functions. Rework erase to
5957           mark text as deleted, adding an eraseIntern() and a range-based
5958           erase(). Implement per-paragraph change lookup and
5959           accept/reject.
5960
5961         * paragraph_funcs.C: Fixup paste for change tracking.
5962
5963         * tabular.C: mark added row/columns as new.
5964
5965         * text.C: fix rowLast() to never return -1. Don't allow
5966           spellchecking of deleted text. Track transpose changes. Don't
5967           allow paragraph break or merge where appropriate.
5968
5969         * text2.C: leave cursor at end of selection after a cut.
5970
5971 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5972
5973         * text.C (getLengthMarkerHeight):
5974         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5975         visible on screen too.
5976
5977 2003-02-07  John Levon  <levon@movementarian.org>
5978
5979         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5980
5981 2003-02-05  Angus Leeming  <leeming@lyx.org>
5982
5983         * lyxserver.C (read_ready): revert my patch of 11 September last year
5984         as it sends PC cpu through the roof. Presumably this means that
5985         the lyxserver will no longer run on an Alpha...
5986
5987 2003-01-30  Angus Leeming  <leeming@lyx.org>
5988
5989         * factory.C (createInset): create an InsetCommandParam of type "index"
5990         and use it to 'do the right thing'.
5991
5992         * text2.C (getStringToIndex): ensure that cursor position is always
5993         reset to the reset_cursor position.
5994
5995 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5996
5997         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5998         disabled.
5999
6000 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6001
6002         * bufferview.C:
6003         * lyxcb.C:
6004         * lyxfunc.C: Output messages with identical spelling, punctuation,
6005         and spaces
6006
6007 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6008
6009         * MenuBackend.C (expandFormats): List only viewable export formats
6010         in "View" menu
6011
6012         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6013         message
6014
6015         * lyxfunc.C (getStatus): Make sure that formats other than
6016         "fax" can also be disabled
6017
6018 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6019
6020         * text3.C (dispatch): put the lfuns that insert insets in 3
6021         groups, and call doInsertInset with appropriate arguments.
6022         (doInsertInset): new function, that creates an inset and inserts
6023         it according to some boolean parameters.
6024
6025 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6026
6027         * buffer.C (readFile): remember to pass on 'par' when calling
6028         readFile recursively.
6029
6030 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6031
6032         * MenuBackend.C (expandFormats): add "..." to import formats.
6033
6034 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6035
6036         * paragraph.C (asString): Remove XForms RTL hacks.
6037
6038 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6039         * buffer.C: fix typo
6040
6041 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6042
6043         * Makefile.am (LIBS): delete var
6044         (lyx_LDADD): add @LIBS@ here instead.
6045
6046 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6047
6048         * Clarify the meaning of "wheel mouse jump"
6049
6050 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6051
6052         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6053         tabular in a float
6054
6055 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6056
6057         * importer.C (Loaders): do not preallocate 3 elements in the
6058         vector, since one ends up with 6 elements otherwise
6059
6060 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6061
6062         * DepTable.C (write): write the file name as last element of the
6063         .dep file (because it may contain spaces)
6064         (read): read info in the right order
6065
6066 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6067
6068         * paragraph_pimpl.C (simpleTeXBlanks):
6069         (simpleTeXSpecialChars):
6070         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6071
6072         * tabular.C (latex): add some missing case statements. Reindent.
6073
6074         * MenuBackend.C (expandToc): remove unused variable.
6075
6076 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6077
6078         * LColor.C:
6079         * LaTeX.C:
6080         * LyXAction.C:
6081         * MenuBackend.C:
6082         * buffer.C:
6083         * exporter.C:
6084         * lyxfunc.C:
6085         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6086         and the like.
6087
6088 2003-01-05  John Levon  <levon@movementarian.org>
6089
6090         * BufferView.h:
6091         * BufferView.C: add getEncoding()
6092
6093         * kbsequence.h:
6094         * kbsequence.C: do not store last keypress
6095
6096         * lyxfunc.h:
6097         * lyxfunc.C: store last keypress here instead. Pass encoding
6098           to getISOEncoded()
6099
6100 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6101
6102         * lyx_main.C (init): remove annoying error message when following
6103         symbolic links (bug #780)
6104
6105 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6106
6107         * text.C (insertChar):
6108         * lyxrc.C (getDescription): remove extra spaces
6109
6110 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6111
6112         * lyxrc.C (getDescription): remove extra spaces
6113
6114 2002-12-20  John Levon  <levon@movementarian.org>
6115
6116         * text3.C: hack fix for page up/down across tall rows
6117
6118 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6119
6120         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6121         not been invoked
6122
6123 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6124
6125         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6126         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6127         thesaurus is not compiled in
6128
6129 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6130
6131         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6132
6133 2002-12-16  Angus Leeming  <leeming@lyx.org>
6134
6135         * lyxrc.[Ch]:
6136         * lyx_main.C (init): remove override_x_deadkeys stuff.
6137
6138 2002-12-12  John Levon  <levon@movementarian.org>
6139
6140         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6141           insert. Only remove shift modifier under strict
6142           circumstances.
6143
6144 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6145
6146         * MenuBackend.C (expandToc): fix crash.
6147
6148 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6149
6150         * MenuBackend.C (expandToc): gettext on float names.
6151
6152 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6153
6154         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6155         implement bool empty() [bug 490]
6156
6157 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6158
6159         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6160
6161 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6162
6163         * several files: ws changes
6164
6165 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6166
6167         * text2.C (setCounter): clean up a bit, use boost.format.
6168         (updateCounters): initialize par upon declaration.
6169
6170         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6171         if the layout exists. We do not just store the layout any more.
6172         (SwitchLayoutsBetweenClasses): use boost.format
6173
6174 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6175
6176         * converter.C (convert): if from and to files are the same, use a
6177         temporary files as intermediary
6178
6179 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6180
6181         * commandtags.h:
6182         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6183
6184 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6185
6186         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6187
6188 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6189
6190         * tabular.C (asciiPrintCell): use string(size, char) instead of
6191         explicit loop.
6192
6193         * sgml.C (openTag): fix order of arguments to string constructor
6194         (closeTag): ditto
6195
6196         * lyxfunc.C (dispatch): use boost.format
6197
6198         * lots of files: change "c" -> 'c'
6199
6200 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6201
6202         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6203
6204 2002-11-25  Angus Leeming  <leeming@lyx.org>
6205
6206         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6207
6208         * lyx_main.C (init): compile fix.
6209
6210 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6211
6212         * lyx_cb.C (start): boost.formatify
6213         do not include <iostream>
6214
6215         * lengthcommon.C: ws only
6216
6217         * boost-inst.C,BoostFormat.h: add more explict instantations
6218
6219 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6220
6221         * lots of files: handle USE_BOOST_FORMAT
6222
6223 2002-11-21  John Levon  <levon@movementarian.org>
6224
6225         * pspell.C: fix compile
6226
6227 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6228
6229         * lyxfunc.C (dispatch): use boost::format
6230         (open): ditto
6231         (doImport): ditto
6232
6233         * lyxfont.C (stateText): use boost::format
6234
6235         * lyx_main.C (LyX): use boost::format
6236         (init): ditto
6237         (queryUserLyXDir): ditto
6238         (readRcFile): ditto
6239         (parse_dbg): ditto
6240         (typedef boost::function): use the recommened syntax.
6241
6242         * importer.C (Import): use boost::format
6243
6244         * debug.C (showLevel): use boost::format
6245
6246         * converter.C (view): use boost::format
6247         (convert): ditto
6248         (move): ditto
6249         (scanLog): ditto
6250
6251         * bufferview_funcs.C (currentState): use boost::format
6252
6253         * bufferlist.C (emergencyWrite): use boost::format
6254
6255         * buffer.C (readLyXformat2): use boost::format
6256         (parseSingleLyXformat2Token): ditto
6257
6258         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6259
6260         * LaTeX.C (run): use boost::format
6261
6262         * Chktex.C (scanLogFile): use boost::format
6263
6264         * BufferView_pimpl.C (savePosition): use boost::format
6265         (restorePosition): ditto
6266         (MenuInsertLyXFile): ditto
6267
6268         * BoostFormat.h: help file for explicit instation.
6269
6270 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6271
6272         * tabular.C (latex): Support for block alignment in fixed width
6273         columns.
6274
6275 2002-11-17  John Levon  <levon@movementarian.org>
6276
6277         * BufferView_pimpl.C:
6278         * lyx_cb.C:
6279         * lyxfunc.C: split filedialog into open/save
6280
6281 2002-11-08  Juergen Vigna  <jug@sad.it>
6282
6283         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6284         by my last patch (hopefully).
6285
6286 2002-11-08  John Levon  <levon@movementarian.org>
6287
6288         * iterators.h:
6289         * iterators.C:
6290         * buffer.h:
6291         * buffer.C:
6292         * paragraph.h:
6293         * paragraph.C:
6294         * toc.h:
6295         * toc.C: ParConstIterator, and use it (from Lars)
6296
6297 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6298
6299         * lyxtextclass.[Ch]: revise and add doxygen comments
6300
6301 2002-11-07  John Levon  <levon@movementarian.org>
6302
6303         * text.C: fix progress value for spellchecker
6304
6305         * toc.C: fix navigate menu for insetwrap inside minipage
6306
6307         * paragraph_funcs.C: added FIXME for suspect code
6308
6309 2002-11-07  John Levon  <levon@movementarian.org>
6310
6311         * BufferView_pimpl.C: fix redrawing of insets
6312           on buffer switch
6313
6314 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6315
6316         * text2.C (updateCounters): fix bug 668
6317
6318 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6319
6320         * text3.C (dispatch): Do not make the buffer dirty when moving the
6321         cursor.
6322
6323 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6324
6325         * vc-backend.C: STRCONV
6326         (scanMaster): ditto
6327
6328         * text2.C (setCounter): STRCONV
6329
6330         * paragraph.C (asString): STRCONV
6331
6332         * lyxlength.C (asString): STRCONV
6333         (asLatexString): ditto
6334
6335         * lyxgluelength.C (asString): STRCONV
6336         (asLatexString): ditto
6337
6338         * lyxfunc.C (dispatch): STRCONV
6339         (open): ditto
6340
6341         * lyxfont.C (stateText): STRCONV
6342
6343         * importer.C (Import): STRCONV
6344
6345         * counters.C (labelItem): STRCONV
6346         (numberLabel): ditto
6347         (numberLabel): remove unused ostringstream o
6348
6349         * chset.C: STRCONV
6350         (loadFile): ditto
6351
6352         * bufferview_funcs.C (currentState): STRCONV
6353
6354         * buffer.C (readFile): STRCONV
6355         (asciiParagraph): ditto
6356         (makeLaTeXFile): ditto
6357
6358         * Spacing.C (writeEnvirBegin): STRCONV
6359
6360         * LaTeXFeatures.C (getLanguages): STRCONV
6361         (getPackages): ditto
6362         (getMacros): ditto
6363         (getBabelOptions): ditto
6364         (getTClassPreamble): ditto
6365         (getLyXSGMLEntities): ditto
6366         (getIncludedFiles): ditto
6367
6368         * LaTeX.C: STRCONV
6369         (run): ditto
6370         (scanAuxFile): ditto
6371         (deplog): ditto
6372
6373         * LString.h: add the STRCONV macros
6374
6375         * BufferView_pimpl.C (savePosition): STRCONV
6376         (restorePosition): ditto
6377         (MenuInsertLyXFile): ditto
6378
6379         * vc-backend.C (scanMaster): change from submatch[...] to
6380         submatch.str(...)
6381
6382         * funcrequest.C: include config.h
6383
6384         * factory.C: include config.h
6385
6386         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6387
6388         * box.C: include config.h
6389
6390         * LaTeX.C (scanAuxFile): change from submatch[...] to
6391         submatch.str(...)
6392         (deplog): ditto
6393
6394 2002-10-25  Angus Leeming  <leeming@lyx.org>
6395
6396         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6397
6398         * ispell.[Ch] (setError): new method.
6399         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6400         Use setError() insetead of goto END.
6401
6402         * lyx_cb.C (AutoSave): move out child process into new class
6403         AutoSaveBuffer.
6404
6405 2002-10-30  John Levon  <levon@movementarian.org>
6406
6407         * text3.C: make start appendix undoable
6408
6409 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6410
6411         * lyxlength.C (inPixels): Fix returned value.
6412
6413         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6414         environment.
6415
6416 2002-10-24  Angus Leeming  <leeming@lyx.org>
6417
6418         * lyxgluelength.h: no need to forward declare BufferParams
6419         or BufferView, so don't.
6420
6421 2002-10-21  John Levon  <levon@movementarian.org>
6422
6423         * BufferView.C: menuUndo ->undo, redo
6424
6425         * BufferView.h: document, remove dead, make some methods private
6426
6427         * paragraph_funcs.h:
6428         * paragraph_funcs.C:
6429         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6430
6431         * buffer.h:
6432         * buffer.C:
6433         * sgml.h:
6434         * sgml.C: move sgml open/close tag into sgml.C
6435
6436         * bufferview_funcs.h: unused prototype
6437
6438         * lyxfunc.h:
6439         * lyxfunc.C: remove unused
6440
6441         * lyxtext.h:
6442         * text.C: remove unused
6443
6444 2002-10-21  John Levon  <levon@movementarian.org>
6445
6446         * BufferView.h:
6447         * BufferView.C:
6448         * BufferView_pimpl.h:
6449         * BufferView_pimpl.C: fix mouse wheel handling based on
6450           patch from Darren Freeman
6451
6452 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6453
6454         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6455
6456 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6457
6458         * lyxlength.C (inPixels): Fix hanfling of negative length.
6459         Fix LyXLength::MU case.
6460
6461 2002-10-16  John Levon  <levon@movementarian.org>
6462
6463         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6464
6465 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6466
6467         * converter.C (view): add support for $$i (file name) and $$p
6468         (file path) for the viewer command. If $$i is not specified, then
6469         it is appended to the command (for compatibility with old syntax)
6470
6471 2002-10-14  Juergen Vigna  <jug@sad.it>
6472
6473         * undo_funcs.C (textHandleUndo): alter the order in which the
6474         new undopar is added to the LyXText, as we have to set first
6475         the right prev/next and then add it as otherwise the rebuild of
6476         LyXText is not correct. Also reset the cursor to the right paragraph,
6477         with this IMO we could remove the hack in "redoParagraphs()".
6478
6479 2002-10-09  Angus Leeming  <leeming@lyx.org>
6480
6481         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6482         to turn off an optimisation if a new inset is to be inserted.
6483
6484 2002-10-11 André Pönitz <poenitz@gmx.net>
6485
6486         * lyxtext.h: make some functions public to allow access
6487         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6488
6489 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6490
6491         * text3.C (dispatch): when changing layout, avoid an infinite loop
6492         [bug #652]
6493
6494 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6495
6496         * lyxrc.C (read): treat a viewer or converter command of "none" as
6497         if it were empty.
6498
6499         * MenuBackend.C (expandFormats): for an update, also allow the
6500         formats that are not viewable
6501
6502         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6503         script if it is newer than the lyxrc.defaults in user directory
6504
6505 2002-10-07 André Pönitz <poenitz@gmx.net>
6506
6507         * text.C: Vitaly Lipatov's small i18n fix
6508
6509 2002-09-25  Angus Leeming  <leeming@lyx.org>
6510
6511         * ispell.h: doxygen fix.
6512
6513 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6514
6515         * buffer.h (readFile): Add a new argument to the method, to allow
6516         reading of old-format templates.
6517
6518 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6519
6520         * toc.C (getTocList): Get TOC from InsetWrap.
6521
6522 2002-09-16  John Levon  <levon@movementarian.org>
6523
6524         * lyxfunc.C: check tabular for cut/copy too
6525
6526 2002-09-12  John Levon  <levon@movementarian.org>
6527
6528         * LyXAction.C: tidy
6529
6530         * factory.h:
6531         * factory.C: add header
6532
6533         * paragraph_funcs.h:
6534         * paragraph_funcs.C: cleanup
6535
6536 2002-09-11  John Levon  <levon@movementarian.org>
6537
6538         * PrinterParams.h: odd/even default to true
6539
6540 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6541
6542         * PrinterParams.h: update printer parameters for new xforms dialog
6543
6544 2002-09-11  Angus Leeming  <leeming@lyx.org>
6545
6546         * lyxserver.C (read_ready): re-write to make it more transparent
6547         and to make it work in coherent fashion under Tru64 Unix.
6548
6549 2002-09-11  André Pönitz <poenitz@gmx.net>
6550
6551         * commandtags.h:
6552         * LyXAction.C:
6553         * text3.C: implement LFUN_WORDSEL
6554
6555 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6556
6557         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6558         make floatlist_ a boost::shared_ptr<FloatList>
6559
6560         * lyxtextclass.C: include FloatList.h
6561         (LyXTextClass): initialize floatlist_
6562         (TextClassTags): add TC_NOFLOAT
6563         (Read): match "nofloat" to TC_NOFLOAT and use it.
6564         (readFloat): modify call to floatlist_
6565         (floats): ditto
6566         (floats): ditto
6567
6568         * FloatList.[Ch] (FloatList): remove commented out float
6569         initialization.
6570         (erase): new function
6571
6572 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6573
6574         * MenuBackend.C (expandToc): fix crash when there is no document
6575         open
6576
6577 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6578
6579         * many files: Add insetwrap.
6580
6581 2002-09-09  John Levon  <levon@movementarian.org>
6582
6583         * text2.C: remove confusing and awkward depth wraparound
6584
6585 2002-09-09  John Levon  <levon@movementarian.org>
6586
6587         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6588
6589         * buffer.h:
6590         * buffer.C: remove getIncludeonlyList()
6591
6592         * paragraph.C:
6593         * lyxfunc.C: remove headers
6594
6595 2002-09-09  Juergen Vigna  <jug@sad.it>
6596
6597         * text.C (getColumnNearX): fix form Michael this is most
6598         probably a cut&paste bug.
6599
6600 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6601
6602         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6603
6604         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6605         references, ws changes.
6606
6607         * text2.C (init): update counters after init
6608         (insertParagraph): no need to set counter on idividual paragraphs.
6609         (setCounter): access the counters object in the textclass object
6610         on in the buffer object.
6611         (updateCounters): ditto
6612
6613         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6614         shared_ptr<Counters> to avoid loading counters.h in all
6615         compilation units.
6616         (LyXTextClass): initialize ctrs_
6617         (TextClassTags): add TC_COUNTER, and ...
6618         (Read): use it here.
6619         (CounterTags): new tags
6620         (readCounter): new function
6621         (counters): new funtion
6622         (defaultLayoutName): return a const reference
6623
6624         * counters.C (Counters): remove contructor
6625         (newCounter): remove a couple of unneeded statements.
6626         (newCounter): simplify a bit.
6627         (numberLabel): some small formatting changes.
6628
6629         * buffer.[Ch]: remove all traces of counters, move the Counters
6630         object to the LyXTextClass.
6631
6632 2002-09-06  Alain Castera  <castera@in2p3.fr>
6633
6634         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6635         package to set the horizontal alignment on fixed width columns.
6636
6637         * lyx_sty.C:
6638         * lyx_sty.h: added tabularnewline macro def.
6639
6640         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6641
6642 2002-09-06  John Levon  <levon@movementarian.org>
6643
6644         * LyXAction.C: tooltips for sub/superscript
6645
6646         * MenuBackend.C: a bit more verbose
6647
6648         * lyxfunc.C: tiny clean
6649
6650         * undo_funcs.C: document undo_frozen
6651
6652 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6653
6654         * counters.C (Counters): add missing algorithm counter.
6655
6656         * text2.C (setCounter): lookup the counter with layouts latexname
6657         instead of by section number.
6658         (setCounter): use a hackish way to lookup the correct enum
6659         counter.
6660         a float name->type change
6661         reset enum couners with counter name directly instead of depth value.
6662
6663         * counters.C (Counters): remove the push_backs, change to use the
6664         float type not the float name.
6665         (labelItem): remove unused string, float name->type change
6666
6667         * counters.h: don't include vector, loose the enums and sects vectors
6668
6669 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6670
6671         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6672         (Read): add float->TC_FLOAT to textclassTags
6673         (Read): and handle it in the switch
6674         (readFloat): new function
6675
6676         * FloatList.C (FloatList): comment out the hardcoded float
6677         definitions.
6678
6679         * lyxlayout.h: ws change.
6680
6681 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6682
6683         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6684
6685 2002-09-03  Angus Leeming  <leeming@lyx.org>
6686
6687         * BufferView_pimpl.h: qualified name is not allowed in member
6688         declaration: WorkArea & Pimpl::workarea() const;
6689
6690         * factory.C: added using std::endl directive.
6691
6692         * text3.C: added using std::find and std::vector directives.
6693
6694 2002-08-29  André Pönitz <poenitz@gmx.net>
6695
6696         * lyxtext.h:
6697         * text2.C: remove unused member number_of_rows
6698
6699         * Makefile.am:
6700         * BufferView2.C: remove file, move contents to...
6701         * BufferView.C: ... here
6702
6703         * BufferView_pimpl.C:
6704         * factory.C: move more inset creation to factory
6705
6706         * vspace.C: avoid direct usage of LyXText, ws changes
6707
6708         * BufferView.[Ch]:
6709                 don't provide direct access to WorkArea, use two simple
6710                 acessors haveSelction() and workHeight() instead
6711
6712
6713 2002-08-29  John Levon  <levon@movementarian.org>
6714
6715         * BufferView_pimpl.C (dispatch): do not continue when
6716           no buffer
6717
6718 2002-08-28  André Pönitz <poenitz@gmx.net>
6719
6720         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6721
6722         * BufferView.h:
6723         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6724
6725 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6726
6727         * buffer.C: increment LYX_FORMAT to 221
6728
6729         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6730         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6731
6732         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6733
6734         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6735
6736 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6737
6738         * factory.C (createInset): use LyXTextClass::floats
6739
6740         * MenuBackend.C (expandFloatListInsert):
6741         (expandFloatInsert):
6742         (expandToc):
6743
6744         * text2.C (setCounter):
6745
6746         * LaTeXFeatures.C (useFloat):
6747         (getFloatDefinitions):
6748
6749         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6750
6751         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6752         floatlist_, with accessor floats().
6753
6754         * FloatList.h: remove global FloatList
6755
6756 2002-08-26  André Pönitz <poenitz@gmx.net>
6757
6758         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6759
6760         * BufferView.h:
6761         * BufferView2.C:
6762         * BufferView_pimpl.C:
6763         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6764
6765 2002-08-25  John Levon  <levon@movementarian.org>
6766
6767         * LyXAction.C: fix margin note description
6768
6769 2002-08-24  John Levon  <levon@movementarian.org>
6770
6771         * buffer.C:
6772         * bufferlist.C:
6773         * bufferview_funcs.C:
6774         * lyxfont.C:
6775         * undo_funcs.C: cleanups
6776
6777         * lyxfunc.C: disable CUT/COPY when no selection
6778
6779 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6780
6781         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6782         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6783
6784         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6785         Add backward compatibility to "mono", "gray" and "no".
6786
6787 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6788
6789         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6790         (and file_format >= 200).
6791
6792 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6793
6794         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6795
6796 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6797
6798         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6799
6800 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6801
6802         * BufferView_pimpl.C:
6803         * LyXAction.C:
6804         * buffer.C:
6805         * commandtags.h:
6806         * lyxfunc.C:
6807         * paragraph.[Ch]:
6808         * text2.C:
6809         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6810         inset and code to make it  work with the paragraph code. The inset
6811         can be anywhere in the paragraph, but will only do the expected
6812         thing in LaTeX if the layout file contains the parameter line
6813                         OptionalArgs    1
6814         (or more generally, a nonzero value) for that layout.
6815
6816 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6817
6818         * paragraph.h: remove the declaration of undefined counters class
6819         function.
6820
6821 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6822
6823         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6824         Dr. Richard Hawkins.
6825
6826 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6827
6828         * paragraph_funcs.h: remove some unneeded includes
6829
6830         * text.C (backspace): pasteParagraph now in global scipe
6831
6832         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6833         (pasteSelection): ditto
6834
6835         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6836         * paragraph_funcs.C (pasteParagraph): ... here
6837
6838 2002-08-20  André Pönitz <poenitz@gmx.net>
6839
6840         * commandtags.h: new LFUNs for swapping/copying table row/colums
6841
6842         * LyXAction.C:
6843         * lyxfunc.C: support for new lfuns
6844
6845 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6846
6847         * tabular.C:
6848         * buffer.[Ch]: remove NO_COMPABILITY stuff
6849
6850 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6851
6852         * boost.C (throw_exception): new file, with helper function for
6853         boost compiled without exceptions.
6854
6855         * paragraph.h:
6856         * lyxlength.C:
6857         * buffer.C:
6858         * ParameterStruct.h:
6859         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6860
6861         * bufferlist.C (emergencyWriteAll): use boost bind
6862
6863         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6864
6865         * text.C: include paragraph_funcs.h
6866         (breakParagraph): breakParagraph is now in global scope
6867
6868         * paragraph_funcs.[Ch]: new files
6869
6870         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6871         global scope
6872
6873         * buffer.C: include paragraph_funcs.h
6874         (insertStringAsLines): breakParagraph is now in global scope
6875
6876         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6877         paragraph_funcs.C
6878
6879         * CutAndPaste.C: include paragraph_funcs.h
6880         (cutSelection): breakParagraphConservative is now in global scope
6881         (pasteSelection): ditto
6882
6883         * buffer.h: declare oprator== and operator!= for
6884         Buffer::inset_iterator
6885
6886         * bufferlist.C (emergencyWrite): don't use fmt(...)
6887
6888         * text3.C: add using std::endl
6889
6890         * BufferView.C (moveCursorUpdate): remove default arg
6891
6892 2002-08-20  André Pönitz <poenitz@gmx.net>
6893
6894         * buffer.[Ch]: move inline functions to .C
6895
6896         * BufferView2.C:
6897         * BufferView_pimpl.C:
6898         * text.C:
6899         * buffer.[Ch]: use improved inset_iterator
6900
6901         * buffer.C:
6902         * paragraph.[Ch]: write one paragraph at a time
6903
6904 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6905
6906         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6907         style if style is not specified.
6908
6909 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6910
6911         * text2.C (setCounter): when searching for right label for a
6912         caption, make sure to recurse to parent insets (so that a caption
6913         in a minipage in a figure float works) (bug #568)
6914
6915 2002-08-20  André Pönitz <poenitz@gmx.net>
6916
6917         * text3.C: new file for LyXText::dispatch() and helpers
6918
6919         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6920
6921         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6922
6923 2002-08-19  André Pönitz <poenitz@gmx.net>
6924
6925         * lyxtext.h:
6926         * text.C: new LyXText::dispatch()
6927
6928         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6929
6930 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6931
6932         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6933
6934         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6935         Hebrew text.
6936
6937 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6938
6939         * Makefile.am: use $(variables) instead of @substitutions@
6940
6941 2002-08-15  André Pönitz <poenitz@gmx.net>
6942
6943         * lyxfunc.C:
6944         * BufferView_pimpl.C: streamlining mathed <-> outer world
6945         interaction
6946
6947         * commandtags.h:
6948         * LyXAction.C: remove unused LFUN_MATH
6949
6950 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6951
6952         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6953
6954 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6955
6956         * paragraph.C (Paragraph): reformat a bit
6957         (cutIntoMinibuffer): use builtin InsetList function instad of
6958         doing it manually.
6959         (getInset): ditto
6960
6961         * buffer.C: include boost/bind.hpp, add using std::for_each
6962         (writeFileAscii): use ParagraphList iterators
6963         (validate): use for_each for validate traversal of paragraphs
6964         (getBibkeyList): use ParagraphList iterators
6965         (resizeInsets): use for_each to resizeInsetsLyXText for all
6966         paragraphs.
6967         (getParFromID): use ParagraphList iterators
6968
6969         * BufferView2.C (lockInset): use paragraph list and iterators
6970
6971 2002-08-14  John Levon  <levon@movementarian.org>
6972
6973         * lyxserver.C: remove spurious xforms include
6974
6975 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6976
6977         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6978
6979 2002-08-13  André Pönitz <poenitz@gmx.net>
6980
6981         * LyXAction.[Ch]:
6982         * lyxfunc.C: further cleaning
6983
6984 2002-08-13  André Pönitz <poenitz@gmx.net>
6985
6986         * funcrequest.h: new constructor
6987
6988         * funcrequest.C: move stuff here from .h
6989
6990         * Makefile.am:
6991         * BufferView_pimpl.C:
6992         * LyXAction.C:
6993         * toc.C:
6994         * lyxfunc.C: subsequent changes
6995
6996         * lyxfunc.h: new view() member function
6997
6998         * lyxfunc.C: subsequent changes
6999
7000 2002-08-13  Angus Leeming  <leeming@lyx.org>
7001
7002         * BufferView2.C:
7003         * BufferView_pimpl.C:
7004         * buffer.C:
7005         * converter.C:
7006         * importer.C:
7007         * lyxfunc.C:
7008         * lyxvc.C:
7009         * toc.C:
7010         * vc-backend.C:
7011         changes due to the changed LyXView interface that now returns references
7012         to member variables not pointers.
7013
7014 2002-08-13  Angus Leeming  <leeming@lyx.org>
7015
7016         * WordLangTuple (word, lang_code): return references to strings,
7017         not strings.
7018
7019         * BufferView.h:
7020         * SpellBase.h:
7021         * lyxtext.h: forward-declare WordLangTuple.
7022
7023         * BufferView2.C:
7024         * ispell.C:
7025         * pspell.C:
7026         * text.C: #include "WordLangTuple.h".
7027
7028         * lyxtext.h:
7029         * text.C: (selectNextWordToSpellcheck): constify return type.
7030
7031 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7032
7033         * buffer.C:
7034         * buffer.h:
7035         * lyxtext.h:
7036         * paragraph.C:
7037         * paragraph_pimpl.h:
7038         * text.C:
7039         * text2.C:
7040         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7041         suggested by Angus.
7042         Made updateCounter always count from start of buffer, and removed
7043         second argument (par).
7044         Reverted floats number display to '#'. Perhaps I'll try again when the
7045         code base is sanitized a bit.
7046
7047 2002-08-12  Angus Leeming  <leeming@lyx.org>
7048
7049         * buffer.[Ch] (getLabelList): constify.
7050
7051 2002-08-07  André Pönitz <poenitz@gmx.net>
7052
7053         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7054
7055         * funcrequest.h: extension to keep mouse (x,y) position
7056
7057 2002-08-12  Juergen Vigna  <jug@sad.it>
7058
7059         * BufferView2.C (insertErrors): forbid undo when inserting error
7060         insets.
7061
7062         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7063
7064 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7065
7066         * ParagraphList.[Ch]: new files
7067
7068         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7069
7070         * BufferView2.C (lockInset): ParagraphList changes
7071         * toc.C: ditto
7072         * text2.C: ditto
7073         * bufferlist.C: ditto
7074         * buffer.h: ditto
7075         * buffer.C: ditto
7076
7077 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7078
7079         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7080         unused class variable counter_,
7081
7082         * paragraph.[Ch] (getFirstCounter): delete unused function
7083
7084         * counters.C: include LAssert.h
7085         (reset): add a new function with no arg, change other version to
7086         not have def. arg and to not allow empty arg.
7087
7088         * text2.C (setCounter): remove empty arg from call to Counters::reset
7089
7090 2002-08-11  John Levon  <levon@movementarian.org>
7091
7092         * Makefile.am: add WordLangTuple.h
7093
7094 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7095
7096         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7097         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7098
7099         * insets/insettext.C: InsetList changes
7100
7101         * graphics/GraphicsSupport.C (operator()): InsetList changes
7102
7103         * toc.C (getTocList): InsetList changes
7104
7105         * paragraph_pimpl.[Ch]: InsetList changes
7106
7107         * paragraph.[Ch]: InsetList changes
7108
7109         * buffer.C (inset_iterator): InsetList changes
7110         (setParagraph): ditto
7111         * buffer.h (inset_iterator): ditto
7112         * iterators.C (operator++): ditto
7113         * iterators.h: ditto
7114
7115         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7116
7117         * InsetList.[Ch]: new files, most InsetList handling moved out of
7118         paragraph.C.
7119
7120         * BufferView2.C (removeAutoInsets): InsetList changes
7121         (lockInset): ditto
7122         (ChangeInsets): ditto
7123
7124 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7125
7126         * paragraph_pimpl.h (empty): new function
7127
7128         * paragraph.[Ch] (empty): new function
7129
7130         * other files: use the new Paragraph::empty function
7131
7132 2002-08-09  John Levon  <levon@movementarian.org>
7133
7134         * lyxtext.h: remove unused refresh_height
7135
7136 2002-08-09  John Levon  <levon@movementarian.org>
7137
7138         * Makefile.am:
7139         * sgml.h:
7140         * sgml.C:
7141         * buffer.C:
7142         * paragraph.h:
7143         * paragraph.C: move sgml char escaping out of paragraph
7144
7145         * paragraph.h:
7146         * paragraph.C: remove id setter
7147
7148         * buffer.C:
7149         * paragraph.C:
7150         * paragraph_pimpl.C: remove dead tex_code_break_column
7151
7152         * bufferview_funcs.C: small cleanup
7153
7154         * lyxfunc.C: remove dead proto
7155
7156         * lyxtext.h: make some stuff private. Remove some dead stuff.
7157
7158         * lyxgluelength.C: make as[LyX]String() readable
7159
7160 2002-08-08  John Levon  <levon@movementarian.org>
7161
7162         * LyXAction.h:
7163         * LyXAction.C:
7164         * MenuBackend.C:
7165         * ToolbarDefaults.C:
7166         * lyxfunc.C:
7167         * lyxrc.C:
7168         * toc.C: lyxaction cleanup
7169
7170 2002-08-08  John Levon  <levon@movementarian.org>
7171
7172         * BufferView2.C: small cleanup
7173
7174         * lyxfind.h:
7175         * lyxfind.C: move unnecessary header into the .C
7176
7177 2002-08-08  John Levon  <levon@movementarian.org>
7178
7179         * funcrequest.h: just tedious nonsense
7180
7181         * lyx_main.h:
7182         * lyx_main.C: cleanups
7183
7184         * buffer.C:
7185         * vspace.C: remove dead header lyx_main.h
7186
7187 2002-08-07  Angus Leeming  <leeming@lyx.org>
7188
7189         * Paragraph.[Ch]:
7190         * paragraph_pimpl.h:
7191         Forward declare class Counters in paragraph.h by moving the ctrs member
7192         variable into Paragraph::Pimpl.
7193         (counters): new method, returning a reference to pimpl_->ctrs.
7194
7195         * text2.C: ensuing changes.
7196
7197 2002-08-07  John Levon  <levon@movementarian.org>
7198
7199         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7200
7201         * BufferView_pimpl.C: announce X selection on double/triple
7202           click
7203
7204         * lyx_main.C: use correct bool in batch dispatch
7205
7206         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7207
7208 2002-08-07  André Pönitz <poenitz@gmx.net>
7209
7210         * funcrequest.h: new class to wrap a kb_action and its argument
7211
7212         * BufferView.[Ch]:
7213         * BufferView_pimpl[Ch]:
7214         * LaTeX.C:
7215         * LyXAction.[Ch]:
7216         * lyxfunc.[Ch]:
7217         * lyxrc.C: subsequent changes
7218
7219
7220 2002-08-07  John Levon  <levon@movementarian.org>
7221
7222         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7223           document options change.
7224
7225 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7226
7227         * counters.[Ch]
7228         * text2.C
7229         * paragraph.[Ch]
7230         * makefile.am: move counters functionality over from
7231         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7232
7233 2002-08-06  John Levon  <levon@movementarian.org>
7234
7235         * WordLangTuple.h: new file for word + language code tuple
7236
7237         * SpellBase.h:
7238         * pspell.h:
7239         * pspell.C:
7240         * ispell.h:
7241         * ispell.C:
7242         * lyxtext.h:
7243         * text.C:
7244         * text2.C:
7245         * BufferView.h:
7246         * BufferView2.C: use WordLangTuple
7247
7248         * layout.h:
7249         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7250
7251 2002-08-06  John Levon  <levon@movementarian.org>
7252
7253         * lyx_main.C: fix cmdline batch handling
7254
7255 2002-08-06  André Pönitz <poenitz@gmx.net>
7256
7257         * lyxrc.C: set default for show_banner to true
7258
7259 2002-08-06  John Levon  <levon@movementarian.org>
7260
7261         * pspell.C: fix a crash, and allow new aspell to work
7262
7263 2002-08-06  John Levon  <levon@movementarian.org>
7264
7265         * lyxfunc.C:
7266         * kbmap.C: small cleanup
7267
7268         * vspace.h:
7269         * vspace.C: add const
7270
7271 2002-08-05  John Levon  <levon@movementarian.org>
7272
7273         * LyXAction.C: back to tabular-insert
7274
7275 2002-08-04  John Levon  <levon@movementarian.org>
7276
7277         * BufferView.h:
7278         * BufferView.C: cosmetic change
7279
7280         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7281
7282         * bufferlist.C:
7283         * buffer.h:
7284         * buffer.C:
7285         * lyxcb.h:
7286         * lyxcb.C:
7287         * lyxserver.C:
7288         * lyxvc.C:
7289         * vc-backend.C:
7290         * BufferView2.C: purge all "Lyx" not "LyX" strings
7291
7292         * lyxcursor.h:
7293         * lyxcursor.C: attempt to add some documentation
7294
7295         * lyxfunc.C:
7296         * commandtags.h:
7297         * LyXAction.C:
7298         * ToolbarDefaults.C:
7299         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7300           merge with LFUN_TABULAR_INSERT
7301
7302         * Makefile.am:
7303         * SpellBase.h:
7304         * ispell.h:
7305         * ispell.C:
7306         * pspell.h:
7307         * pspell.C: split up i/pspell implementations into separate
7308           files, many cleanups
7309
7310         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7311
7312         * text2.C: some cleanup
7313
7314         * lyxfunc.C: don't check for isp_command == "none" any more, it
7315           didn't make any sense
7316
7317 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7318
7319         * counters.[Ch]
7320         * text2.C
7321         * paragraph.[Ch]
7322         * makefile.am: move counters functionality over
7323         from text2.C/paragraph.[Ch] to counters.[Ch], and
7324         make proper C++.
7325 2002-08-02  John Levon  <levon@movementarian.org>
7326
7327         * buffer.C: s/lyxconvert/lyx2lyx/
7328
7329 2002-08-02  Angus Leeming  <leeming@lyx.org>
7330
7331         * lyxlex.C: revert John's change as it breaks reading of the user
7332         preamble.
7333
7334 2002-08-02  Angus Leeming  <leeming@lyx.org>
7335
7336         * importer.C (Import):
7337         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7338         changes due to LyXView::view() now returning a boost::shared_ptr.
7339
7340 2002-08-02  John Levon  <levon@movementarian.org>
7341
7342         * lyxlex.C: small cleanup
7343
7344 2002-08-02  John Levon  <levon@movementarian.org>
7345
7346         * text2.C (status): small cleanup, no logic change
7347
7348 2002-08-01  John Levon  <levon@movementarian.org>
7349
7350         * buffer.h:
7351         * buffer.C (writeFile): don't output alerts, caller
7352           handles this
7353
7354         * bufferlist.C:
7355         * lyx_cb.C: from above
7356
7357         * lyxfunc.C: allow to open non-existent files
7358
7359 2002-07-31  John Levon  <levon@movementarian.org>
7360
7361         * lyxserver.C: don't let incidental errors get
7362           in the way (errno)
7363
7364 2002-07-30  John Levon  <levon@movementarian.org>
7365
7366         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7367
7368 2002-07-30  John Levon  <levon@movementarian.org>
7369
7370         * lyxserver.h:
7371         * lyxserver.C: remove I/O callback too
7372
7373 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7374
7375         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7376         log.
7377
7378 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7379
7380         * many files: strip,frontStrip -> trim,ltrim,rtrim
7381
7382 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7383
7384         * PrinterParams.h: remove extern containsOnly, and include
7385         support/lstrings.h instead.
7386
7387         * LaTeX.C (scanAuxFile): modify because of strip changes
7388         (deplog): ditto
7389         * buffer.C (makeLaTeXFile): ditto
7390         * bufferparams.C (writeFile): ditt
7391         * lyxfont.C (stateText): ditto
7392         * lyxserver.C (read_ready): ditto
7393         * vc-backend.C (scanMaster): ditto
7394
7395         * BufferView_pimpl.h: ws changes
7396
7397         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7398
7399 2002-07-26  André Pönitz <poenitz@gmx.net>
7400
7401         * kb_sequence.C: remove unnedred usings
7402
7403 2002-07-26  Juergen Vigna  <jug@sad.it>
7404
7405         * lyxfind.C (LyXReplace): we have to check better if the returned
7406         text is not of theLockingInset()->getLockingInset().
7407
7408 2002-07-25  Juergen Vigna  <jug@sad.it>
7409
7410         * lyxfind.C (LyXReplace): don't replace if we don't get the
7411         right LyXText.
7412
7413         * undo_funcs.C (createUndo): remove debugging code.
7414
7415 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7416
7417         * buffer.C (parseSingleLyXformat2Token): Use default placement
7418         when reading old floats.
7419
7420         * FloatList.C (FloatList): Change the default placement of figure
7421         and tables to "tbp".
7422
7423 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7424
7425         * MenuBackend.C: using std::max
7426
7427 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7428
7429         * MenuBackend.C (expandToc):
7430         (expandToc2): code moved from xforms menu frontend. It is now
7431         generic and TOCs are transparent to menu frontends.
7432
7433 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7434
7435         * toc.C (getTocList): protect against buf=0
7436
7437         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7438         Menu as first parameter. Now, this calls itself recursively to
7439         expand a whole tree (this will be useful for TOC handling)
7440         (expandFloatInsert): remove 'wide' version of floats
7441
7442         * MenuBackend.h (submenuname): returns the name of the submenu.
7443         (submenu): returns the submenu itself, provided it has been
7444         created by MenuBackend::expand
7445
7446 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7447
7448         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7449         insets which have noFontChange == true. (bug #172)
7450
7451 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7452
7453         * BufferView_pimpl.C: add connection objects and use them...
7454         (Pimpl): here.
7455
7456 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7457
7458         * MenuBackend.C (expandLastfiles):
7459         (expandDocuments):
7460         (expandFormats):
7461         (expandFloatListInsert):
7462         (expandFloatInsert):
7463         (expand): split expand in parts
7464
7465 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7466
7467         * lyx_gui.C: use lyx_gui::exit()
7468
7469 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7470
7471         * LyXAction.C: show the failing pseudo action
7472
7473 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7474
7475         * buffer.C (readFile): Run the lyxconvert script in order to read
7476         old files.
7477
7478 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7479
7480         * LyXAction.C:
7481         * commandtags.h:
7482         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7483
7484 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7485
7486         * LyXAction.C:
7487         * commandtags.h:
7488         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7489
7490 2002-07-22  Herbert Voss  <voss@lyx.org>
7491
7492         * lengthcommon.C:
7493         * lyxlength.[Ch]: add support for the vertical lengths
7494
7495 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7496
7497         * toc.[Ch]: std:: fixes
7498
7499 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7500
7501         * lyxrc.C: do not include lyx_main.h
7502
7503         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7504         for layouts
7505
7506         * lyxrc.C:
7507         * encoding.C:
7508         * bufferlist.C:
7509         * BufferView2.C: include "lyxlex.h"
7510
7511         * tabular.h:
7512         * bufferparams.h: do not #include "lyxlex.h"
7513
7514         * lyxtextclasslist.C (Add): remove method
7515         (classlist): renamed to classlist_
7516
7517         * paragraph_pimpl.C:
7518         * paragraph.C:
7519         * text2.C:
7520         * CutAndPaste.C:
7521         * bufferview_funcs.C:
7522         * bufferlist.C:
7523         * text.C:
7524         * LaTeXFeatures.C:
7525         * buffer.C:
7526         * toc.C (getTocList): use BufferParams::getLyXTextClass
7527
7528         * toc.C (getTocList): use InsetFloat::addToToc
7529
7530         * toc.[Ch]: new files, containing helper functions to handle table
7531         of contents
7532
7533         * lyxfunc.C (dispatch): no need to remove spaces around command
7534         given as a string
7535         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7536         first command of the sequence; it is not very clever, but I do not
7537         have a better idea, actually
7538
7539         * LyXAction.C (LookupFunc): make sure to remove space at the
7540         beginning and end of the command
7541
7542 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7543
7544         * MenuBackend.C (getMenubar): new method: return the menubar of
7545         this menu set
7546         (read): treat differently reading of menu and menubar (in
7547         particular, the menubar has no name now)
7548         (Menu::menubar): remove
7549
7550         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7551         saving is finished
7552
7553 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7554
7555         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7556         a bibitem inset in a RTL paragraph.
7557
7558 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7559
7560         * paragraph_pimpl.C: constify
7561
7562         * BufferView_pimpl.C:
7563         * LaTeX.C:
7564         * lyxfunc.C: fix dispatch in a nicer way
7565
7566 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7567
7568         * lyxfunc.C (dispatch):
7569         * BufferView_pimpl.C:
7570         * BufferView_pimpl.h:
7571         * BufferView.C:
7572         * BufferView.h: rename Dispatch() to dispatch()
7573
7574         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7575
7576         * lyxlayout.C (Read): honor DependsOn tag
7577
7578         * lyxlayout.[Ch] (depends_on): new method
7579
7580         * version.C.in: update lyx_docversion
7581
7582         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7583
7584         * paragraph.C (validate): remove from here...
7585         * paragraph_pimpl.C (validate): ... and move here
7586         (isTextAt): make it const
7587
7588         * buffer.C (getLists): ws cleanup
7589
7590 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7591
7592         * language.C (read): Use iso8859-1 encoding in latex_lang
7593         (this prevents LyX from crashing when using iso10646-1 encoding).
7594
7595 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7596
7597         * text2.C (toggleInset): if cursor is inside an inset, close the
7598         inset and leave cursor _after_ it
7599
7600 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7601
7602         * lyxfunc.C: move minibuffer completion handling out of here
7603
7604 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7605
7606         * BufferView_pimpl.C:
7607         * LaTeX.C: fix dispatch calls
7608
7609 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7610
7611         * text.C (drawChars): Fix Arabic text rendering.
7612
7613 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7614
7615         * LyXAction.C:
7616         * commandtags.h:
7617         * lyxfunc.C: remove message-push/pop
7618
7619         * lyxserver.C:
7620         * lyxfunc.h:
7621         * lyxfunc.C: rationalise some code by removing verboseDispatch
7622           in favour of a bool argument to dispatch()
7623
7624 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7625
7626         * lyx_main.C (init): make sure to read symlinks as absolute paths
7627
7628 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7629
7630         * lyxfunc.h:
7631         * lyxfunc.C: no need for commandshortcut to be a member
7632
7633 2002-07-15  André Pönitz <poenitz@gmx.net>
7634
7635         * converter.C: add support for $$s (scripts from lib/scripts dir)
7636         * lyx_main.C: white space
7637
7638 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7639
7640         * bufferlist.C:
7641         * lyxrc.h:
7642         * lyxrc.C: remove second exit confirmation
7643
7644 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7645
7646         * BufferView.h:
7647         * BufferView.C:
7648         * BufferView2.C:
7649         * BufferView_pimpl.h:
7650         * BufferView_pimpl.C:
7651         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7652
7653 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7654
7655         * MenuBackend.C (expand): add numeric shortcuts to document menu
7656
7657         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7658
7659 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7660
7661         * lyxfont.C (setLyXFamily):
7662         (setLyXSeries):
7663         (setLyXShape):
7664         (setLyXSize):
7665         (setLyXMisc):
7666         (lyxRead):
7667         * debug.C (value):
7668         * buffer.C (asciiParagraph): use ascii_lowercase
7669
7670 2002-07-15  Mike Fabian  <mfabian@suse.de>
7671
7672         * lyxlex_pimpl.C (search_kw):
7673         * lyxlex.C (getLongString):
7674         * converter.h (operator<):
7675         * converter.C (operator<):
7676         * buffer.C (parseSingleLyXformat2Token):
7677         (asciiParagraph):
7678         * ToolbarDefaults.C (read):
7679         * MenuBackend.C (checkShortcuts):
7680         (read):
7681         * LColor.C (getFromGUIName):
7682         (getFromLyXName): use the compare_ascii_no_case instead of
7683         compare_no_case, because in turkish, 'i' is not the lowercase
7684         version of 'I', and thus turkish locale breaks parsing of tags.
7685
7686 2002-07-16  Angus Leeming  <leeming@lyx.org>
7687
7688         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7689         now takes a Buffer const & argument.
7690
7691 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7692
7693         * BufferView.C (resize): check there's a buffer to resize
7694
7695 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7696
7697         * lyxfunc.C: remove dead code
7698
7699         * lyxserver.h:
7700         * lyxserver.C: use lyx_guii::set_read_callback
7701
7702 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7703
7704         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7705         an inset in a RTL paragraph.
7706
7707 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7708
7709         * lyxfunc.C: repaint after a font size update
7710
7711 2002-07-15  André Pönitz <poenitz@gmx.net>
7712
7713         * lyxlength.C: inBP should be able to return negative values
7714
7715 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7716
7717         * lyxfunc.C: use lyx_gui::update_fonts()
7718
7719 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7720
7721         * lyxfunc.C: use lyx_gui::update_color()
7722
7723 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7724
7725         * bufferlist.C:
7726         * lyxfunc.h:
7727         * lyxfunc.C:
7728         * lyxrc.h:
7729         * lyxrc.C: remove file->new asks for name option, and let
7730           buffer-new take an argument
7731
7732 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7733
7734         * BufferView_pimpl.C: remove unneeded extra repaint()
7735
7736 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7737
7738         * LyXAction.C: allow command-sequence with NoBuffer
7739
7740         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7741
7742 2002-07-10  Angus Leeming  <leeming@lyx.org>
7743
7744         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7745
7746 2002-07-09  Angus Leeming  <leeming@lyx.org>
7747
7748         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7749
7750 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7751
7752         * lengthcommon.h: whitespace
7753
7754         * lyxfunc.C: update scrollbar after goto paragraph
7755
7756         * lyxtext.h: factor out page break drawing, and fix it so
7757           page break/added space paints as selected nicely
7758
7759 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7760
7761         * BufferView_pimpl.C: add FIXMEs, clean up a little
7762
7763 2002-07-09  André Pönitz <poenitz@gmx.net>
7764
7765         * lyxfont.[Ch]: support for wasy symbols
7766
7767 2002-07-08  André Pönitz <poenitz@gmx.net>
7768
7769         * BufferView_pimpl.C: apply John's patch for #93.
7770
7771 2002-07-05  Angus Leeming  <leeming@lyx.org>
7772
7773         * BufferView_pimpl.C (buffer): generate previews if desired.
7774
7775         * LColor.h: add "preview" to the color enum.
7776
7777         * LColor.C (LColor): add a corresponding entry to the items array.
7778
7779         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7780         with this buffer.
7781
7782 2002-07-05  Angus Leeming  <leeming@lyx.org>
7783
7784         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7785         The body of the code is now in the method that is passed an ostream &
7786         rather than a file name.
7787         Pass an additional only_preamble parameter, useful for the forthcoming
7788         preview stuff.
7789
7790 2002-07-03  André Pönitz <poenitz@gmx.net>
7791
7792         * lyxfunc.C: simplify getStatus() a bit for math stuff
7793
7794 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7795
7796         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7797
7798 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7799
7800         * text.C (changeRegionCase): do not change case of all the
7801         document when region ends at paragraph end (bug #461)
7802
7803 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7804
7805         * paragraph.C (startTeXParParams):
7806         (endTeXParParams): add \protect when necessary
7807
7808 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7809
7810         * BufferView_pimpl.C (workAreaExpose): remove warning
7811
7812 2002-06-27  Angus Leeming  <leeming@lyx.org>
7813
7814         * Makefile.am: add lyxlayout_ptr_fwd.h.
7815
7816 2002-06-26  André Pönitz <poenitz@gmx.net>
7817
7818         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7819
7820 2002-06-25  Angus Leeming  <leeming@lyx.org>
7821
7822         * lyxfunc.C (dispatch): Comment out the call to
7823         grfx::GCache::changeDisplay. The method no longer exists now that the
7824         pixmap generation part of the graphics loader has been moved into
7825         InsetGraphics.
7826
7827 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7828
7829         * text2.C: layout as layout
7830
7831         * text.C: layout as layout
7832
7833         * tabular.C (OldFormatRead): layout as layout
7834
7835         * paragraph_pimpl.C (TeXDeeper): layout as layout
7836         (realizeFont): layout as layout
7837
7838         * paragraph.C (writeFile): layout as layout
7839         (validate): layout as layout
7840         (getFont): layout as layout
7841         (getLabelFont): layout as layout
7842         (getLayoutFont): layout as layout
7843         (breakParagraph): layout as layout
7844         (stripLeadingSpaces): layout as layout
7845         (getEndLabel): layout as layout
7846         (getMaxDepthAfter): layout as layout
7847         (applyLayout): layout as layout
7848         (TeXOnePar): layout as layout
7849         (simpleTeXOnePar): layout as layout
7850         (TeXEnvironment): layout as layout
7851         (layout): layout as layout
7852         (layout): layout as layout
7853
7854         * lyxtextclass.C (compare_name): new functor to work with
7855         shared_ptr, layout as layout
7856         (Read): layout as layout
7857         (hasLayout): layout as layout
7858         (operator): layout as layout
7859         (delete_layout): layout as layout
7860         (defaultLayout): layout as layout
7861
7862         * lyxlayout_ptr_fwd.h: new file
7863
7864         * lyxlayout.C (Read): layout as layout
7865
7866         * lyx_cb.C (MenuInsertLabel): layout as layout
7867
7868         * bufferlist.C (newFile): layout as layout
7869
7870         * buffer.C (readLyXformat2): layout as layout
7871         (parseSingleLyXformat2Token): layout as layout
7872         (insertStringAsLines): layout as layout
7873         (asciiParagraph): layout as layout
7874         (latexParagraphs): layout as layout
7875         (makeLinuxDocFile): layout as layout
7876         (simpleLinuxDocOnePar): layout as layout
7877         (makeDocBookFile): layout as layout
7878         (simpleDocBookOnePar): layout as layout
7879         (getLists): layout as layout
7880
7881         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7882
7883         * CutAndPaste.C (cutSelection): layout as layout
7884         (pasteSelection): layout as layout
7885         (SwitchLayoutsBetweenClasses): layout as layout
7886
7887         * BufferView_pimpl.C (Dispatch): layout as layout
7888         (smartQuote): layout as layout
7889
7890         * BufferView2.C (unlockInset): layout as layout
7891
7892 2002-06-24  André Pönitz <poenitz@gmx.net>
7893
7894         * lyxfunc.C: fix #487
7895
7896 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7897
7898         * lyxrc.h:
7899         * lyxrc.C:
7900         * lyxfunc.C: remove display_shortcuts, show_banner
7901
7902 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7903
7904         * Buffer_pimpl.C: oops, update on resize
7905
7906 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7907
7908         * buffer.C:
7909         * converter.C:
7910         * exporter.C:
7911         * lyxfunc.C:
7912         * BufferView.h:
7913         * BufferView.C: use repaint()
7914
7915         * BufferView_pimpl.h:
7916         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7917           as it's a clearer description. Remove superfluous
7918           redraws.
7919
7920 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7921
7922         * text.C: fix bug 488. Not ideal, but getting
7923           getWord() to work properly for the insets that
7924           matter is more difficult ...
7925
7926 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7927
7928         * BufferView_pimpl.C:
7929         * LyXAction.C:
7930         * commandtags.h:
7931         * lyxfunc.C: remove the six million index lyxfuncs to just
7932           one, and DTRT (bug 458)
7933
7934 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7935
7936         * BufferView.h:
7937         * BufferView.C:
7938         * BufferView_pimpl.h:
7939         * BufferView_pimpl.C: clean up resize() stuff,
7940           and unnecessary updateScreen()s
7941
7942 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7943
7944         * BufferView.h:
7945         * BufferView.C:
7946         * BufferView_pimpl.h:
7947         * BufferView_pimpl.C:
7948         * lyxfind.h:
7949         * lyxfind.C:
7950         * minibuffer.C: remove focus management of workarea,
7951           not needed. Use screen's greyOut()
7952
7953 2002-06-17  Herbert Voss  <voss@lyx.org>
7954
7955         * converter.C: (convert) do not post a message, when converting
7956         fails, let the calling function decide what to do in this case
7957
7958 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7959
7960         * lyxfunc.C: tidy up a little
7961
7962 2002-06-16    <alstrup@diku.dk>
7963
7964         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7965         Got rid of FORMS_H_LOCATION include. Now we are
7966         GUII.
7967
7968 2002-06-15  LyX Development team  <lyx@rilke>
7969
7970         * buffer.[Ch] (sgmlOpenTag):
7971         (sgmlCloseTag): Added support for avoiding pernicious mixed
7972         content. Return number of lines written.
7973
7974         (makeLinuxDocFile):
7975         (makeDocBookFile): Fixed calls to sgml*Tag.
7976         Simple white space clean.
7977
7978         (simpleDocBookOnePar): Simple white space clean.
7979
7980         * tabular.[Ch] (docBook): Renamed to docbook and got another
7981         argument to related with the pernicious mixed content.
7982
7983         (docbookRow): Fixed calls for docbook inset method.
7984
7985 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7986
7987         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7988         so it's X11 independent.
7989
7990         * kb*.[Ch]: ditto.
7991
7992         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7993
7994 2002-06-15  Lyx Development team  <lyx@electronia>
7995
7996         * intl.h: Renamed getTrans to getTransManager.
7997
7998 2002-06-14  Angus Leeming  <leeming@lyx.org>
7999
8000         * Makefile.am: nuke forgotten stl_string_fwd.h.
8001
8002 2002-06-12  Angus Leeming  <leeming@lyx.org>
8003
8004         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8005
8006 2002-06-13  Angus Leeming  <leeming@lyx.org>
8007
8008         * LaTeX.C:
8009         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8010
8011 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8012
8013         * kbmap.C (getiso): add support for cyrillic and greek
8014
8015 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8016
8017         * BufferView.h:
8018         * BufferView.C:
8019         * BufferView_pimpl.h:
8020         * BufferView_pimpl.C: move bogus scrolling logic
8021           to xforms
8022
8023 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8024
8025         * lyxfunc.C:
8026         * BufferView_pimpl.C: view->resize() change
8027
8028 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8029
8030         * BufferView_pimpl.C: topCursorVisible
8031           prototype change
8032
8033 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8034
8035         * Makefile.am:
8036         * lyx_gui.h:
8037         * lyx_gui.C: move to frontends/
8038
8039         * main.C:
8040         * lyx_main.h:
8041         * lyx_main.C: changes from above
8042
8043 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8044
8045         * intl.C:
8046         * intl.h:
8047         * kbmap.C:
8048         * kbsequence.C:
8049         * lyx_cb.C:
8050         * lyx_main.C: minor tidy
8051
8052 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8053
8054         * BufferView_pimpl.h:
8055         * BufferView_pimpl.C:
8056         * BufferView.h:
8057         * BufferView.C: make painter() const,
8058           remove dead code
8059
8060         * BufferView2.C: use screen() accessor
8061
8062         * lyx_main.h:
8063         * lyx_main.C: some minor cleanup
8064
8065 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8066
8067         * BufferView_pimpl.h:
8068         * BufferView_pimpl.C: remove enter/leaveView,
8069           use workHeight()
8070
8071 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8072
8073         * BufferView.h:
8074         * BufferView.C:
8075         * BufferView2.C:
8076         * BufferView_pimpl.h:
8077         * BufferView_pimpl.C: only construct screen once,
8078           rename
8079
8080         * lyxrc.C: remove pointless comment
8081
8082 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8083
8084         * BufferView.h:
8085         * BufferView.C: remove active() and belowMouse()
8086
8087         * BufferView_pimpl.h:
8088         * BufferView_pimpl.C: use workarea() not workarea_,
8089           and make it use a scoped_ptr instead
8090
8091 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8092
8093         * lyx_gui.C: add debug message on BadWindow
8094
8095 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8096
8097         * sp_spell.C: fdopen is not part of the C++ standard.
8098
8099         * paragraph.C (InsetIterator): use >= instead of ==
8100
8101 2002-06-07  Angus Leeming  <leeming@lyx.org>
8102
8103         Fixes needed to compile with Compaq cxx 6.5.
8104         * BufferView_pimpl.C:
8105         * DepTable.C:
8106         * buffer.C:
8107         * converter.C:
8108         * encoding.C:
8109         * lyx_gui.C:
8110         * lyx_main.C:
8111         * lyxtextclasslist.C:
8112         * minibuffer.C:
8113         * sp_spell.C:
8114         * tabular_funcs.C:
8115         * vc-backend.C:
8116         all c-library variables have been moved into namespace std. Wrap
8117         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8118
8119         * lyxlength.C:
8120         * tabular-old.C:
8121         * tabular.C:
8122         Add a using std::abs declaration.
8123
8124         * kbmap.h (modifier_pair):
8125         * paragraph.h (InsetTable, InsetList):
8126         * lyxfont.h (FontBits):
8127         type definition made public.
8128
8129         * bufferlist.C (emergencyWriteAll): the compiler complains that
8130         there is more than one possible lyx::class_fun template to choose from.
8131         I re-named the void specialisation as lyx::void_class_fun.
8132
8133         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8134
8135         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8136         the compiler is is unable to find tostr in write_attribute.
8137
8138 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8139
8140         * buffer.C (sgmlError): hide #warning
8141
8142 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8143
8144         * xtl/*: get rid of xtl, which is not in use anyway
8145
8146         * LyXAction.C (init):
8147         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8148         were unimplemented xtl experimentation
8149
8150 2002-06-04  André Pönitz <poenitz@gmx.net>
8151
8152         * lyxfunc.C: disable array operation on simple formulae
8153
8154 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8155
8156         * converter.C: constify a bit
8157
8158 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8159
8160         * lyx_gui.C: check xforms version correctly
8161
8162 2002-04-30  Herbert Voss  <voss@lyx.org>
8163
8164         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8165         "keep" option
8166
8167 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8168
8169         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8170           attempt to register it with a VCS)
8171
8172 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8173
8174         * lyx_main.C (init): honor variables LYX_DIR_13x and
8175         LYX_USERDIR_13x
8176
8177 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8178
8179         * buffer.h:
8180         * buffer.C:
8181         * lyx_main.C: fix a crash on bad command line,
8182           and give a useful exit status on error
8183
8184         * lyxfunc.C (doImport): allow -i lyx to work
8185
8186 2002-03-30  André Pönitz <poenitz@gmx.net>
8187
8188         * lyxfunc.C: mathed font changes
8189
8190 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8191
8192         * LaTeX.C:
8193         * importer.h:
8194         * importer.C:
8195         * lyx_sty.h:
8196         * lyx_sty.C:
8197         * lyxlex.C:
8198         * lyxrow.h:
8199         * lyxtext.h:
8200         * paragraph.h:
8201         * paragraph.C:
8202         * texrow.h:
8203         * texrow.C:
8204         * text.C:
8205         * trans_mgr.h: srcdocs, and some minor cleanups
8206
8207 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8208
8209         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8210         call getFont all the time)
8211
8212 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8213
8214         * switch from SigC signals to boost::signals
8215
8216 2002-05-29  André Pönitz <poenitz@gmx.net>
8217
8218         * paragraph_pimpl.C (getChar): don't call size() too often...
8219
8220 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8221
8222         * paragraph_pimpl.C (insertChar): do not try to update tables when
8223         appending (pos == size())
8224
8225         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8226         in order to reduce drastically the number of comparisons needed to
8227         parse a large document
8228
8229 2002-05-29  André Pönitz <poenitz@gmx.net>
8230
8231         * text.C:
8232         * text2.C:
8233         * lyxtextclass.C:
8234         * sp_pspell.h:
8235         * textclasslist.[Ch]:
8236         * sp_ispell.h: whitespace change
8237
8238 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8239
8240         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8241         lyxaction directly now.
8242
8243 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8244
8245         * trans.C:
8246         * lyxfont.C:
8247         * lyxvc.C: remove unused headers
8248
8249 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8250
8251         * Makefile.am:
8252         * buffer.h:
8253         * undostack.h:
8254         * undostack.C:
8255         * undo_funcs.h:
8256         * undo_funcs.C: some cleanups. Use shared_ptr
8257           and a template for the undo stacks.
8258
8259 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8260
8261         * BufferView_pimpl.h:
8262         * BufferView_pimpl.C:
8263         * kbmap.h:
8264         * kbmap.C:
8265         * kbsequence.h:
8266         * kbsequence.C:
8267         * lyxfunc.h:
8268         * lyxfunc.C:
8269         * text2.C: use key_state/mouse_state
8270
8271 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8272
8273         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8274         and LSubstring
8275
8276         * chset.C: change include order
8277         (loadFile): use boost regex and get rid of LRegex and LSubstring
8278
8279         * Makefile.am (BOOST_LIBS): new variable
8280         (lyx_LDADD): use it
8281
8282         * LaTeX.C: change include order.
8283         (scanAuxFile): use boost regex and get rid of LRegex and
8284         LSubstring
8285         (deplog): ditto
8286
8287 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8288
8289         * ColorHandler.h:
8290         * ColorHandler.C:
8291         * FontInfo.h:
8292         * FontInfo.C: moved to frontends/xforms/
8293
8294         * FontLoader.h:
8295         * FontLoader.C: moved into frontends for GUIIzation
8296
8297         * Makefile.am:
8298         * lyx_gui.C:
8299         * lyxfont.C:
8300         * lyxfunc.C: changes from above
8301
8302 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8303
8304         * LColor.C: remove spurious X include
8305
8306         * BufferView_pimpl.C:
8307         * Makefile.am:
8308         * font.h:
8309         * font.C:
8310         * text.C:
8311         * text2.C: move font metrics to frontends/
8312
8313 2002-05-24  Juergen Vigna  <jug@sad.it>
8314
8315         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8316         setting the undo_cursor.
8317
8318         * ParagraphParameters.h: include local includes first.
8319
8320 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8321
8322         * BufferView_pimpl.C:
8323         * BufferView_pimpl.h:
8324         * Makefile.am:
8325         * WorkArea.h:
8326         * WorkArea.C:
8327         * screen.C: move WorkArea into frontends/
8328
8329         * lyxscreen.h:
8330         * screen.C:
8331         * text.C:
8332         * BufferView.C:
8333         * BufferView2.C: move LyXScreen into frontends/
8334
8335         * lyxlookup.h:
8336         * lyxlookup.C:
8337         * lyx_gui.C: move lyxlookup into frontends/xforms/
8338
8339 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8340
8341         * BufferView2.C:
8342         * BufferView_pimpl.C:
8343         * FontLoader.C:
8344         * LyXView.h:
8345         * LyXView.C:
8346         * Makefile.am:
8347         * WorkArea.C:
8348         * XFormsView.h:
8349         * XFormsView.C:
8350         * buffer.C:
8351         * bufferlist.C:
8352         * bufferview_funcs.C:
8353         * converter.C:
8354         * importer.C:
8355         * lyx_cb.C:
8356         * lyx_gui.C:
8357         * lyx_main.C:
8358         * lyx_find.C:
8359         * lyxfunc.C:
8360         * lyxvc.C:
8361         * minibuffer.C:
8362         * text.C:
8363         * text2.C:
8364         * trans.C:
8365         * vc-backend.C: move LyX/XFormsView into frontends/
8366
8367 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8368
8369         * Makefile.am:
8370         * PainterBase.C:
8371         * PainterBase.h:
8372         * Painter.C:
8373         * Painter.h:
8374         * WorkArea.C:
8375         * WorkArea.h:
8376         * screen.C:
8377         * tabular.C:
8378         * text.C:
8379         * text2.C: move Painter to frontends/
8380
8381 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8382
8383         * buffer.C: comment out some some code that depend upon lyx_format
8384         < 220
8385
8386         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8387         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8388
8389         * buffer.h (NO_COMPABILITY): turn off compability
8390
8391         * ColorHandler.C: include scoped_array.hpp
8392
8393         * font.C: Use more specific smart_ptr header.
8394         * Painter.C: ditto
8395         * gettext.C: ditto
8396         * ShareContainer.h: ditto
8397         * lyx_main.h: ditto
8398         * kbmap.h: ditto
8399         * FontInfo.h: ditto
8400         * BufferView_pimpl.h: ditto
8401         * ColorHandler.h: ditto
8402
8403         * kbmap.C (defkey): change call to shared_ptr::reset
8404
8405 2002-05-21  Juergen Vigna  <jug@sad.it>
8406
8407         * buffer.C (insertErtContents): fix to insert ert asis if it is
8408         non empty. Skip it completely if it contains only whitespaces.
8409
8410 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8411
8412         * BufferView_pimpl.C:
8413         * BufferView2.C: clear selection on paste (bug 393)
8414
8415 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8416
8417         * DepTable.C: include ctime
8418
8419 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8420
8421         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8422
8423 2002-05-14  Juergen Vigna  <jug@sad.it>
8424
8425         * text.C (breakParagraph): fixed function to honor the keepempty
8426         layout in the right maner and also to permit the right breaking
8427         algorithm on empty or non empyt keepempty paragraphs.
8428
8429         * paragraph.C (breakParagraph): we have to check also if the par
8430         is really empty (!size()) for isempty otherwise we do the wrong
8431         paragraph break.
8432
8433 2002-05-10  Juergen Vigna  <jug@sad.it>
8434
8435         * buffer.[Ch] : The following are only changes to the ert
8436         compatibility read reading old LaTeX layout and font stuff and
8437         convert it to ERTInsets.
8438
8439         * buffer.h: added isErtInset().
8440
8441         * buffer.C (struct ErtComp): add a fromlayout bool to check
8442         if we're inside a LaTeX layout.
8443         (isErtInset): new helper function.
8444         (insertErtContents): look for other ert insets before this one
8445         and insert the contents there, so that we don't have subsequent
8446         ERT insets with nothing between them. This way we create only one
8447         inset with multiple paragraphs. Also check if we don't insert only
8448         spaces ' ' as they are ignored anyway afterwards in the .tex file
8449         so if we have only spaces we will ignore this latex part in the
8450         new file.
8451         (parseSingleLyXformat2Token \\layout): better compatibility when
8452         reading layout-latex stuff.
8453         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8454         language tag.
8455         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8456         stuff after reading the inset only get the information back from
8457         the stack.
8458
8459 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8460
8461         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8462
8463         * LaTeXFeatures.C (getBabelOptions): New method.
8464
8465 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8466
8467         * BufferView_pimpl.C (Dispatch): work around missing argument for
8468         'layout'
8469
8470 2002-05-08  Juergen Vigna  <jug@sad.it>
8471
8472         * text.C (leftMargin): handle paragraph leftindent.
8473
8474         * paragraph.C (writeFile): write the new \\leftindent tag.
8475         (validate): handle leftindent code.
8476         (TeXEnvironment): handle paragraphleftindent code again.
8477
8478         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8479
8480         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8481         for paragrap_extra indent code and new token \\leftindent.
8482         (latexParagraphs): handle the leftindent as environment.
8483
8484         * ParameterStruct.h: added leftindent support.
8485
8486         * ParagraphParameters.C (leftIndent): added support functions for
8487         the paragraph left indent.
8488
8489         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8490         more appropriate.
8491
8492 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8493
8494         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8495         inside insetERT.
8496
8497         * text.C (computeBidiTables): No bidi in insetERT.
8498
8499         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8500         in RTL documents.
8501
8502 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8503
8504         * version.C.in: pre 5
8505
8506 2002-05-02  José Matos  <jamatos@fep.up.pt>
8507         * buffer.C (makeDocBookFile): white space changes, add newline to
8508         command styles.
8509         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8510
8511         * tabular.C (docBook): fix typo.
8512
8513 2002-05-03  Juergen Vigna  <jug@sad.it>
8514
8515         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8516         change in LyXText as we can not be sure it was not freed.
8517         (drawOneRow): remove unused code.
8518
8519         * text.C (drawInset): redo the calculation of the need_break_row as
8520         it could have a row which was already freed.
8521         (draw): look at the return value of drawInset and return false if
8522         it also returned false.
8523         (paintRowText): look at the return value of draw and return false if
8524         it also returned false.
8525
8526         * lyxtext.h: added bool return type to drawInset() and draw() so that
8527         if we have a change in the row so that the rowbreak has to be redone
8528         we abort drawing as it will be called again.
8529
8530 2002-05-02  Juergen Vigna  <jug@sad.it>
8531
8532         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8533         a change in the maintext also if we're inside an inset.
8534         (Dispatch): set the cursor again after a break line and after the
8535         screen has been updated as it could be we're in a different row.
8536
8537         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8538         to set the cursor behind the pargraph with > size().
8539         (setCursor): check also for the same paragraph when checking where
8540         to put the cursor if we have a NFR inset.
8541
8542         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8543         parts of layout read further up as it still was in the wrong
8544         position.
8545
8546 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8547
8548         * screen.C (drawFromTo): change sine fullRebreak always return
8549         true.
8550
8551         * buffer.C (parseSingleLyXformat2Token): reindent some
8552
8553         * BufferView_pimpl.C (update): change since fullRebreak always
8554         return true.
8555         (Dispatch): git rid of the last hardcoded "Standard"s.
8556
8557 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8558
8559         * text2.[Ch] (fullRebreak): make it return void now that we always
8560         returned true.
8561
8562 2002-04-30  Juergen Vigna  <jug@sad.it>
8563
8564         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8565         ert compatibility check for "latex" layout.
8566
8567 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8568
8569         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8570         minipages: use col% instead of p%, and also use the current font.
8571         (makeLaTeXFile): Fix use babel condition.
8572         (parseSingleLyXformat2Token): Correct font when reading old floats.
8573
8574 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8575
8576         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8577         inserting list of floats.
8578
8579 2002-04-25  Herbert Voss  <voss@lyx.org>
8580
8581         * MenuBackend.C (expand): don't add the graphics extensions to the
8582         export menu
8583
8584 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8585
8586         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8587         non-existing layout, do not complain if it was the default layout
8588         of the original class (bug #342)
8589
8590 2002-04-24  Juergen Vigna  <jug@sad.it>
8591
8592         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8593         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8594
8595 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8596
8597         * buffer.C (getBibkeyList): If using \bibliography, return the
8598         option field with the reference itself. Enables us to provide natbib
8599         support when using \bibliography.
8600
8601 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8602
8603         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8604
8605         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8606         natbib is provided by the LaTeX class.
8607
8608 2002-04-23  Juergen Vigna  <jug@sad.it>
8609
8610         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8611         Wakeup functions.
8612
8613         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8614
8615 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8616
8617         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8618
8619         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8620         ensuremath around textordmasculine, textordfeminine and
8621         textdegree.
8622
8623 2002-04-19  Juergen Vigna  <jug@sad.it>
8624
8625         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8626         reinitializing the buffer otherwise row-dimensions may be wrong.
8627         (update): reset also the selection cursors if they do exits otherwise
8628         their x/y positions may be wrong.
8629
8630         * text2.C (cursorDown): don't enter the inset if we came from a row
8631         above and are one row over the inset.
8632
8633         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8634         really leaving an inset.
8635
8636 2002-04-18  Juergen Vigna  <jug@sad.it>
8637
8638         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8639         of the selected paragraph does not have the selected layout also if
8640         the last one had!
8641
8642         * text2.C (setLayout): fixed bug which did not change last selected
8643         paragraph.
8644
8645         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8646         changed the read and substituted \\end_float with \\end_inset!
8647
8648         * BufferView_pimpl.C (cursorPrevious):
8649         (cursorNext): fixed to make it work with rows heigher than the work
8650         area without moving the cursor only the draw of the row.
8651         (workAreaMotionNotify): fix jumping over high rows.
8652
8653 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8654
8655         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8656         Ressler.
8657
8658 2002-04-16  Juergen Vigna  <jug@sad.it>
8659
8660         * text2.C (setCursor): set also the irow().
8661         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8662         (cursorUp):
8663         (cursorDown): support for locking an inset if the x_fix value goes
8664         inside it. That way I can transverse insets too with cursor up/down.
8665
8666         * lyxrow.h: added irow helper function same as other (i) functions.
8667
8668         * BufferView_pimpl.C (cursorPrevious):
8669         (cursorNext): fixed for insets!
8670
8671 2002-04-15  Juergen Vigna  <jug@sad.it>
8672
8673         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8674         position otherwise it is wrong in some cases.
8675
8676         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8677         inside the inset before the call.
8678
8679 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8680
8681         * buffer.[Ch] (getBibkeyList): make it const.
8682
8683 2002-04-12  Juergen Vigna  <jug@sad.it>
8684
8685         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8686
8687         * text2.C (getCursorX): new helper function
8688         (setCursor): compute also ix_
8689         (setCursorFromCoordinates): set also ix.
8690
8691         * lyxcursor.h: added ix_ and helper functions.
8692
8693         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8694
8695         * buffer.C (insertStringAsLines): dont break paragraph if the this
8696         paragraph is inside an inset which does not permit it!
8697
8698         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8699         also with no chars on this paragraph.
8700         (paintRowText): only paint stuff if it's inside the workarea!
8701
8702         * paragraph.C (breakParagraph): honor keepempty flag and break the
8703         paragraph always below not above.
8704
8705         * BufferView2.C (unlockInset): update the paragraph layout on inset
8706         unlock as we changed paragraph in such a case.
8707
8708         * lyxfind.C (LyXFind): clear the former selection if not found!
8709
8710         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8711         again called in insertChar().
8712
8713         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8714         an inset which uses the whole row!
8715         (rightMargin): ditto.
8716         (insertChar): force a rebreak if we inserted an inset!
8717
8718 2002-03-28  Herbert Voss  <voss@lyx.org>
8719
8720         * lyxlength.[Ch]: add inBP() to get the right PS-point
8721         units (BigPoint). With inPixels we have rounding errors
8722
8723 2002-04-11  Juergen Vigna  <jug@sad.it>
8724
8725         * text2.C (setCursorFromCoordinates): set iy to the right value.
8726         (setCursor): add check if row->previous exists!
8727
8728         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8729         an old float_type as this was the case in the old code!
8730
8731         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8732
8733         * BufferView2.C (showLockedInsetCursor): use iy
8734         (fitLockedInsetCursor): ditto
8735
8736         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8737         locked insets as there we have the right value now.
8738
8739         * lyxcursor.C: added iy_ variable and iy functions to set to the
8740         baseline of cursor-y of the locked inset.
8741
8742         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8743         (setCursor): fixed for insets which need a full row.
8744
8745         * text.C (rowLastPrintable): don't ignore the last space when before
8746         an inset which needs a full row.
8747         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8748         as last character of a row when before a inset which needs a full row.
8749
8750 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8751
8752         * version.C.in: update date
8753
8754         * text2.C (fullRebreak): try to always return true and see what
8755         happens...
8756
8757 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8758
8759         * MenuBackend.C (expand): use Floating::listName
8760
8761         * FloatList.C (FloatList): add listName argument to the built-in
8762         floats
8763
8764         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8765         text associated with the float.
8766
8767 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8768
8769         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8770
8771 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8772
8773         * ShareContainer.h: add a couple of missing typenames.
8774
8775 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8776
8777         * lyxrc.C (getDescription): use _() correctly rather than N_().
8778
8779 2002-03-28  Herbert Voss  <voss@lyx.org>
8780
8781         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8782         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8783
8784 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8785
8786         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8787         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8788
8789 2002-03-29  Juergen Vigna  <jug@sad.it>
8790
8791         * lyxfunc.C (dispatch): add a missing fitCursor call.
8792
8793         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8794         it was scrolled by a cursor move, so return the bool status.
8795
8796         * BufferView.C (fitCursor): return the bool flag also to the outside
8797         world as this is needed.
8798
8799         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8800
8801         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8802         call the edit() as it is not needed (and wrong) IMO.
8803         (workAreaButtonPress): set the screen_first variable before evt.
8804         unlock the inset as this may change screen_first and then we have
8805         a wrong y position for the click!
8806
8807 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8808
8809         * MenuBackend.C (expand): another translation that I missed
8810
8811 2002-03-28  Juergen Vigna  <jug@sad.it>
8812
8813         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8814
8815         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8816
8817 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8818
8819         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8820
8821         * MenuBackend.C (expand): fix export/view/update when there is no
8822         document open.
8823
8824 2002-03-27  Herbert Voss  <voss@lyx.org>
8825
8826         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8827         and text%
8828
8829 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8830
8831         * bufferview_funcs.C (currentState): only show paragraph number
8832         for is DEVEL_VERSION is set.
8833
8834         * lyxfunc.C (dispatch): put warning in INFO channel
8835
8836         * MenuBackend.C (expand): translate the name of floats
8837
8838         * FloatList.C (FloatList): mark the float names for translation
8839
8840         * converter.C (convert): use LibScriptSearch
8841
8842 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8843
8844         * MenuBackend.C (defaults): fix default menu (we might as well get
8845         rid of it...)
8846
8847 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8848
8849         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8850         directory.
8851
8852 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8853
8854         * lyxvc.C: reorder includes.
8855
8856 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8857
8858         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8859           properly
8860
8861 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8862
8863         * CutAndPaste.C: change layouts earlier on paste
8864           to avoid crashing when calling getFont()
8865
8866 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8867
8868         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8869         irritating #error.
8870
8871 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8872
8873         * WorkArea.C: remove 'Pending' debug message.
8874
8875         * most files: ws cleanup
8876
8877         * buffer.[Ch]: ws changes
8878
8879         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8880
8881 2002-03-21  Juergen Vigna  <jug@sad.it>
8882
8883         * tabular.C (SetMultiColumn): collapse also the contents of the
8884         cells and set the last border right. Added a Buffer const * param.
8885
8886 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8887
8888         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8889         linking or not.
8890
8891 2002-03-19  Juergen Vigna  <jug@sad.it>
8892
8893         * text2.C (clearSelection): reset also xsel_cache.
8894
8895         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8896         where it needs to be called (John tells us to do so too :)
8897         (selectionLost): reset sel_cache.
8898
8899         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8900
8901 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8902
8903         * text2.C (setCursorIntern): put debuging code in INSETS channel
8904
8905 2002-03-19  André Pönitz <poenitz@gmx.net>
8906
8907         * lyxfunc.C: tiny whitespace change
8908
8909 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8910
8911         * ToolbarDefaults.C (init):
8912         * LyXAction.C (init):
8913         * commandtags.h:
8914         * BufferView_pimpl.C (Dispatch):
8915         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8916
8917 2002-03-19  Allan Rae  <rae@lyx.org>
8918
8919         * exporter.C (Export): removeAutoInsets before doing anything else.
8920         While I've just introduced a dependency on BufferView this really is
8921         the best place to clean the buffer otherwise you need to cleanup in
8922         a dozen places before calling export or cleanup in a dozen functions
8923         that export calls.
8924
8925         * converter.C (runLaTeX):
8926         (scanLog): Better handling of removeAutoInsets and screen updates.
8927
8928         * lyxfunc.C (dispatch): small whitespace changes
8929
8930 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8931
8932         * WorkArea.C (C_WorkAreaEvent): return a value.
8933         (event_cb): return 1 if we handled the event, 0 otherwise.
8934
8935         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8936
8937 2002-03-18  Juergen Vigna  <jug@sad.it>
8938
8939         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8940         (GetAdditionalWidth): ditto.
8941         (RightLine): ditto.
8942         (LeftLine): ditto.
8943
8944         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8945         inset if we're there actually (probably not used right now but this
8946         is the direction to go for unifying code).
8947         (paste): disable code to clear the selection.
8948
8949         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8950         inside an InsetText and move the check further up as it is in the
8951         wrong place.
8952
8953         * text2.C (pasteSelection): set a selection over the pasted text.
8954
8955 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8956
8957         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8958         and libgraphics to build on Cygwin.
8959
8960 2002-03-15  Juergen Vigna  <jug@sad.it>
8961
8962         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8963         inserting an Inset into the paragraph. I know this is not the best
8964         fix but we already use current_view in CutAndPaste so we will remove
8965         all of it's using at the same time.
8966
8967         * buffer.C (sgmlError): deactivated function till it is rewritten in
8968         the right mode, now it can create problems.
8969
8970         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8971         before accessing it.
8972
8973 2002-03-14  Juergen Vigna  <jug@sad.it>
8974
8975         * undo_funcs.C (textHandleUndo): do the right thing when updating
8976         the inset after the undo/redo.
8977
8978         * text2.C (setCursor): just some testcode for #44 not ready yet.
8979
8980         * undo_funcs.C (textHandleUndo): set the next() and previous()
8981         pointers of the paragraph to 0 before deleting otherwise we have
8982         problems with the Paragraph::[destructor].
8983
8984         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8985         on a paragraph insertion.
8986
8987 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8988
8989         * buffer.C (asciiParagraph): use += operator for char append to
8990         string.
8991
8992         * paragraph.C (getFontSettings): compare >= not just >
8993         (highestFontInRange): ditto
8994         (setFont): ditto
8995
8996 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8997
8998         * paragraph.C: change several algorithm to be more appripriate for
8999         the problem domain. This is lookip in FontList and in the InsetList.
9000
9001 2002-03-13  André Pönitz <poenitz@gmx.net>
9002
9003         * commandtags.h:
9004         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9005
9006 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9007
9008         * commandtags.h:
9009         * LyXAction.C:
9010         * lyxfunc.C:
9011         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9012
9013 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9014
9015         * Painter.C (display): anon helper function, adjust code for this
9016         change.
9017         (pixmap): remove function.
9018
9019         * Painter.h: remove private display variable.
9020
9021         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9022
9023 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9024
9025         * WorkArea.[Ch]: remove figinset_canvas cruft.
9026
9027 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9028
9029         * lyxtextclass.C (operator): add one item cache optimization.
9030
9031         * bufferlist.h: doxy changes
9032
9033         * bufferlist.C: ws changes
9034
9035         * DepTable.[Ch] (ext_exist): place const in the right spot.
9036
9037         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9038         call resizeInsets.
9039         (workAreaExpose): call resizeInsets when the with BufferView changes.
9040         (Dispatch): adjust for protectedBlank removal
9041         (specialChar): call updateInset if the insert went ok.
9042
9043         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9044         specialChar instead.
9045
9046         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9047
9048         * BufferView.h: doxy change
9049
9050         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9051
9052         * lyxtextclass.C (operator[]): remove non-const version
9053         (defaultLayout): remove non-const version
9054
9055 2002-03-12  Juergen Vigna  <jug@sad.it>
9056
9057         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9058         did resize the LyXText too.
9059
9060         * buffer.C (readLyXformat2): set layout information on newly allocated
9061         paragraphs.
9062
9063         * tabular.C (OldFormatRead): set layout information on the paragraph.
9064
9065 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9066
9067         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9068
9069 2002-03-11  Juergen Vigna  <jug@sad.it>
9070
9071         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9072         plainly wrong.
9073         (resizeCurrentBuffer): force also the insets to resize themselfes.
9074         (moveCursorUpdate): fixed up for InsetText.
9075
9076 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9077
9078         * commandtags.h:
9079         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9080         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9081         value of Dialogs::tooltipsEnabled().
9082         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9083
9084 2002-03-08  Juergen Vigna  <jug@sad.it>
9085
9086         * BufferView_pimpl.C (updateInset): update inset inside inset also
9087         if it isn't inside theLockingInset().
9088
9089 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9090
9091         * buffer.C (asciiParagraph): redo some of the word and line length
9092         handling.
9093         (getLists): look for Caption instead of caption.
9094
9095 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9096
9097         * buffer.C (Buffer): initialize niceFile to true
9098         (makeLaTeXFile):
9099         (makeLinuxDocFile):
9100         (makeDocBookFile): make sure niceFile is true on exit
9101
9102 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9103
9104         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9105
9106 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9107
9108         * LyXSendto.C: remove.
9109         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9110         * lyx_gui.C: remove now-redundant comment.
9111         * ColorHandler.h: remove forward declaration of class WorkArea.
9112         * lyxfunc.C: remove #include "WorkArea.h".
9113
9114 2002-03-07  Juergen Vigna  <jug@sad.it>
9115
9116         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9117         got moved away with the DEPM and also set the inset_owner always
9118         right which before could have been omitted.
9119
9120 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9121
9122         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9123         wanted layout is not found.
9124
9125 2002-03-07  Juergen Vigna  <jug@sad.it>
9126
9127         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9128
9129 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9130
9131         * paragraph.C (breakParagraph): use default layout not layout of
9132         prev paragraph.
9133         (Paragraph): clear ParagraphParameters.
9134
9135 2002-03-06  Juergen Vigna  <jug@sad.it>
9136
9137         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9138         otherwise it would not be a valid lenght. Fixed a special case in
9139         the minipage compatibility read where we end the document with a
9140         minipage.
9141
9142         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9143         was set as it could be 0 for InsetTexts first entry.
9144
9145 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9146
9147         * paragraph.C (writeFile): if layout is empty write out
9148         defaultLayoutName().
9149
9150         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9151         file without named layout we set layout to defaultLayoutName().
9152
9153 2002-03-06  Juergen Vigna  <jug@sad.it>
9154
9155         * CutAndPaste.C (copySelection): set layout for new paragraph.
9156
9157         * text.C (prepareToPrint): leave ERT inset left aligned
9158         (leftMargin): don't indent paragraphs inside ERT insets
9159
9160 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9161
9162         * paragraph.C (breakParagraph): dont call clear do the work manually
9163
9164         * paragraph.[Ch] (clear): remove function
9165
9166 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9167
9168         * paragraph.C (Paragraph): dont call clear, the work has already
9169         been done.
9170
9171         * lyxtextclass.C (operator): assert if n is empty
9172
9173         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9174         work manually instead.
9175
9176 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9177
9178         * BufferView_pimpl.C: protect selectionLost against text == 0
9179
9180 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9181
9182         * text.C (breakParagraph): fix a setting layout to '0' problem.
9183
9184 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9185
9186         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9187         final location of file, for the included files, and graphics.
9188
9189 2002-03-05  Juergen Vigna  <jug@sad.it>
9190
9191         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9192
9193 2002-03-04  Juergen Vigna  <jug@sad.it>
9194
9195         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9196
9197         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9198         last column of multicolumn cells.
9199         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9200
9201 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9202
9203         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9204         file if it doesn't go to a temporary file.
9205
9206         * buffer.C (sgmlOpenTag):
9207         (sgmlCloseTag):  remove extra newline insertion.
9208
9209 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9210
9211         * text.C (getRowNearY): comment out debug msg
9212
9213 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9214
9215         * text2.C: first -> first_y
9216
9217         * text.C (getRowNearY): add some attemts at a possible
9218         optimization, not working.
9219
9220         * tabular.[Ch]: add BufferParams to several function so that newly
9221         created paragraph can be initialized to he default layotu for the
9222         buffers textclass.
9223
9224         * tabular-old.C (ReadOld): add buf->params to call of Init
9225
9226         * screen.C: rename text->first to text->first_y
9227
9228         * paragraph.C (breakParagraph): always set layout in the broken
9229         paragraph
9230
9231         * lyxtextclass.C (Read): remove lowercase
9232         (hasLayout): ditto
9233         (operator): ditto
9234         (delete_layout): ditto
9235
9236         * lyxtext.h: rename first -> first_y
9237
9238         * lyxlayout.C (Read): remove lowercase
9239         (name): ditto
9240         (setName): ditto
9241         (obsoleted_by): ditto
9242
9243         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9244
9245         * buffer.C (insertErtContents): add params are to InsetERT
9246         (parseSingleLyXformat2Token): add code to check if a paragraphs
9247         layout really exist.
9248         (parseSingleLyXformat2Token): add params to several inset
9249         constructors
9250         (asciiParagraph): remove lowercase, do the layout comparisons with
9251         no_case
9252
9253         * BufferView_pimpl.C (cursorNext): first -> first_y
9254         (resizeCurrentBuffer): first -> first_y
9255         (updateScrollbar): first -> first_y
9256         (scrollCB): first -> first_y
9257         (workAreaMotionNotify): first -> first_y
9258         (workAreaButtonPress): first -> first_y
9259         (checkInsetHit): first -> first_y
9260         (cursorPrevious): first -> first_y
9261         (cursorNext): first -> first_y
9262         (Dispatch): add buffer_->params to severl inset contructors
9263
9264 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9265
9266         * lyxlayout.C (Read): remove some debug info that I forgot.
9267
9268         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9269         clean up the code slightly.
9270         (makeLinuxDocFile): ditto
9271         (makeDocBookFile): ditto
9272
9273         * text2.C: layout as string
9274
9275         * text.C: layout as string
9276
9277         * paragraph_pimpl.C: layout as string
9278
9279         * paragraph.[Ch]: layout as string
9280
9281         * lyxtextclasslist.[Ch]: layout as string
9282
9283         * lyxtextclass.[Ch]: layout as string
9284
9285         * lyxtext.h: layout as string
9286
9287         * lyxlayout.[Ch]: layout as string
9288
9289         * lyx_cb.C: layout as string
9290
9291         * bufferview_funcs.C: layout as string
9292
9293         * bufferparams.C: layout as string
9294
9295         * buffer.C: layout as string
9296
9297         * LyXView.[Ch]: layout as string
9298
9299         * LaTeXFeatures.[Ch]: layout as string
9300
9301         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9302
9303         * BufferView_pimpl.C: change current_layout to string, remove
9304         lyx::layout_type.
9305         (Dispatch):
9306         (smartQuote):
9307         (insertInset):
9308         (workAreaButtonRelease): layout as string
9309
9310         * BufferView2.C (unlockInset): adjust
9311
9312         * vspace.C (asLatexCommand): use an explict temp variable.
9313
9314 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9315
9316         * Makefile.am: use FRONTEND_*
9317
9318 2002-03-01  Juergen Vigna  <jug@sad.it>
9319
9320         * tabular.C (SetWidthOfMulticolCell): changed to something better
9321         I hope but still work in progress.
9322         (recalculateMulticolumnsOfColumn): renamed function from
9323         recalculateMulticolCells as it is more appropriate now.
9324         (SetWidthOfCell): calculate multicols better.
9325
9326 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9327
9328         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9329
9330         * lyxfunc.C (processKeySym): print sequence also if it is
9331         `deleted' (complete)
9332
9333         * kbsequence.C (print): print sequence even if it is deleted
9334         (complete would be a better word, actually).
9335
9336         * lyxfunc.C (dispatch): print complete options after a prefix key
9337
9338         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9339
9340 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9341
9342         * text2.C (setCharFont): eliminate setCharFont code duplication.
9343
9344 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9345
9346         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9347         LFUN_TABULAR_FEATURE (bug #177)
9348
9349 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9350
9351         * Makefile.am: remove figure.h
9352
9353 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9354
9355         * Bufferview_pimpl.C:
9356         * CutAndPasteC:
9357         * LaTeX.C:
9358         * LyXSendto.C:
9359         * buffer.C:
9360         * bufferlist.C:
9361         * converter.C:
9362         * language.C:
9363         * lyxfunc.C:
9364         * lyxvc.C:
9365         * paragraph.C:
9366         * text.C:
9367         * text2.C: remove #include "lyx_gui_misc.h".
9368
9369         * LaTeX.C: added #include <cstdio>
9370
9371 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9372
9373         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9374         that the paragraph following this one can have.
9375
9376         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9377
9378         * vspace.C (asLatexCommand): fix bogus gcc warning
9379
9380         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9381
9382 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9383
9384         * text2.C (setLayout): get rid of redundant code
9385
9386 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9387
9388         * text2.C (incDepth): make sure depth cannot be increased beyond
9389         reasonable values.
9390
9391 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9392
9393         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9394         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9395
9396         * PainterBase.h (image):
9397         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9398         a LyXImage const *.
9399
9400 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9401
9402         * BufferView.C:
9403         * BufferView.h:
9404         * BufferView_pimpl.C:
9405         * BufferView_pimpl.h:
9406         * LaTeXFeatures.C:
9407         * LyXAction.C:
9408         * LyXView.C:
9409         * Makefile.am:
9410         * UpdateList.h:
9411         * UpdateList.C:
9412         * buffer.C:
9413         * figure.h:
9414         * figureForm.C:
9415         * figureForm.h:
9416         * figure_form.C:
9417         * figure_form.h:
9418         * lyx_cb.C:
9419         * lyx_gui.C:
9420         * lyx_gui_misc.C:
9421         * lyxfunc.C:
9422         * sp_base.h:
9423         * sp_ispell.h:
9424         * sp_pspell.h:
9425         * sp_spell.C: remove fig inset, and the crap house of
9426           cards that follows it
9427
9428 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9429
9430         * Makefile.am:
9431         * lyxserver.C:
9432         * os2_defines.h:
9433         * os2_errortable.h:
9434         * nt_defines.h: move .h into support/
9435
9436         * vms_defines.h: remove
9437
9438         * WorkArea.C: add space in debug output
9439
9440         * text2.C:
9441         * paragraph.C:
9442         * buffer.C: add WITH_WARNINGS
9443
9444         * vc-backend.h:
9445         * vc-backend.C:
9446         * bufferlist.C: s/retrive/retrieve/, add docs
9447
9448         * vspace.h:
9449         * vspace.C:
9450         * kbmap.h:
9451         * lyxlength.h:
9452         * lyxgluelength.h:
9453         * length_common.h:
9454         * chset.h:
9455         * chset.C: add docs
9456
9457         * lyxgui.C: add ID to X error handler
9458
9459         * lyxtestclass.c: fix typo
9460
9461 2002-02-26  Juergen Vigna  <jug@sad.it>
9462
9463         * tabular_funcs.C (write_attribute): changed so that some default
9464         attributes are not written at all.
9465         (getTokenValue): set default values before trying to read the
9466         value so we have the return value always set as default if we don't
9467         find the token we search for.
9468
9469         * tabular.C (Write): write bools as bools not as strings!
9470
9471 2002-02-22  Juergen Vigna  <jug@sad.it>
9472
9473         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9474         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9475
9476         * text.C (leftMargin): don't add an indent for paragraphs inside
9477         tabular cells (fix #208).
9478
9479 2002-02-21  José Matos  <jamatos@fep.up.pt>
9480
9481         * tabular.C (docBook): fixed support for long tables.
9482
9483 2002-02-20  Juergen Vigna  <jug@sad.it>
9484
9485         * text2.C (getFont): get the drawing font of the Inset if this
9486         paragraph is inside an inset (only important for InsetERT for now).
9487
9488         * buffer.C (insertErtContents): use new lanugage params in ERT
9489         constructor.
9490
9491         * CutAndPaste.C: commenting out seemingly uneeded code.
9492
9493 2002-02-19  Allan Rae  <rae@lyx.org>
9494
9495         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9496         Iterators might be simple to use but they also get invalidated.
9497         (removeAutoInsets): renamed saved cursor tracking variables and added
9498         some comments to clarify what everything does.
9499
9500 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9501
9502         * Chktex.C:
9503         * LaTeX.C:
9504         * LyXSendto.C:
9505         * converter.C:
9506         * lyx_cb.C:
9507         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9508         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9509
9510         * lyxfunc.C:
9511         * vc-backend.h: remove #include "support/syscall.h"
9512
9513         * LaTeX.C:
9514         * LyXSendto.C:
9515         * converter.C: rearrange #includes in Lars' approved fashion.
9516
9517         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9518         forward declare class Timeout in the header file.
9519
9520         * XFormsView.C: changes due to the above.
9521
9522         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9523         similar to LyXView.
9524
9525         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9526         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9527
9528 2002-02-18  José Matos  <jamatos@fep.up.pt>
9529
9530         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9531         insets contents.
9532
9533 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9534
9535         * a lot of small ws changes
9536         * add a lot of using std::XXX
9537         * use std construcs some places where approp.
9538         * use some exisint stuff from lyxfunctional where approp.
9539         * Make file changes to use partial linking (lets test this now...)
9540
9541 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9542
9543         * Chktex.C:
9544         * buffer.C:
9545         remove #include "support/syscontr.h" as it's redundant. Always has been.
9546
9547         * Chktex.C:
9548         * LaTeX.C:
9549         * LyXSendto.C:
9550         * converter.C:
9551         * lyx_cb.C:
9552         * vc-backend.C:
9553         change Systemcalls::System to Systemcalls::Wait and
9554         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9555         No change of functionality, just reflects the stripped down Systemcalls
9556         class.
9557
9558 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9559
9560         * debug.[Ch]: add a GRAPHICS type to the enum.
9561
9562 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9563
9564         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9565
9566         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9567         there is an inset.
9568
9569 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9570
9571         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9572         match the changes below.
9573
9574         * text2.C (toggleInset): if there is not editable inset at cursor
9575         position, try to see if cursor is _inside_ a collapsable inset
9576         and close it.
9577
9578 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9579
9580         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9581         document menu has a nice checkbox
9582
9583 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9584
9585         * lyxlength.C (asLatexString): change PW to output as percent of
9586         \textwidth.
9587
9588         * lengthcommon.C: change '%' to 't%'
9589
9590         * lyxfunc.C (dispatch): a few comments from Martin
9591
9592 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9593
9594         * WorkArea.h:
9595         * WorkArea.C:
9596         * BufferView_pimpl.h:
9597         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9598           the X selection.
9599
9600 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9601
9602         * vspace.C (inPixels): fix compiler warning
9603
9604 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9605
9606         * lyxfunc.C (getStatus): fix status message for disabled commands.
9607
9608 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9609
9610         * BufferView_pimpl.C: fix crash on close buffer
9611         during selection (#227)
9612
9613 2002-01-27  Herbert Voss  <voss@lyx.org>
9614
9615         * buffer.C: link old Figure to new graphic inset
9616
9617 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9618
9619         * FontLoader.C (getFontinfo): Change the latex font names in order
9620         to match the names of type1inst.
9621
9622 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9623
9624         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9625
9626         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9627         (extchanged): ditto
9628         (ext_exist): ditto
9629         (remove_files_with_extension): ditto
9630         (remove_file): ditto
9631         (write): ditto
9632
9633         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9634         document is smaller than the work area height. Do not initialize
9635         static variables to 0.
9636
9637 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9638
9639         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9640
9641         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9642         LFUN_LAYOUT_PARAGRAPHS.
9643
9644         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9645         tabular. It is possible to provide a possible cell, which will
9646         typically be the actcell from the corresponding insettabular
9647
9648         * lyxfunc.C (getStatus): small cleanup; disable
9649         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9650         true
9651
9652 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9653
9654         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9655
9656         * paragraph.C (startTeXParParams):
9657         (endTeXParParams): new methods. The LaTeX code to
9658         start/end paragraph formatting
9659         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9660         empty (fixes bug #200)
9661
9662         * vspace.C (inPixels): adapt to the change below
9663         (inPixels): [later] more cleanups (remove unused variables)
9664
9665         * lyxlength.C (inPixels): change to use a width and a height as
9666         parameter.
9667
9668 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9669
9670         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9671         Replaced with \paperwidth
9672
9673         * DepTable.C (insert): add std:: qualifier
9674
9675 2002-01-18  Allan Rae  <rae@lyx.org>
9676
9677         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9678         updated also?
9679
9680         * text.C (drawInset): Turned out I didn't know enough about how
9681         rebreaking worked.  This fixes most of the redraw problems.  I see
9682         an occasional cursor trail when a line is broken now and the cursor
9683         placement can seem out by a few pixels also after a rebreak.
9684
9685 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9686
9687         * buffer.C (parseSingleLyXformat2Token): update because minipage
9688         width is now a LyXLength
9689
9690         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9691
9692         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9693         math insets
9694
9695 2002-01-17  Juergen Vigna  <jug@sad.it>
9696
9697         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9698
9699         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9700         is set correctly and the inset is updated correctly.
9701
9702 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9703
9704         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9705         the beginning of the loop.
9706
9707 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9708
9709         * lyxrc.C: improve help for use_scalable_fonts
9710
9711 2002-01-17  Allan Rae  <rae@lyx.org>
9712
9713         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9714
9715 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9716
9717         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9718         make sure to set their inset_owner to the right value (bug #171)
9719
9720 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9721
9722         * DepTable.h
9723         * DepTable.C: Implement mtime checking to reduce time spent doing
9724         CRCs.
9725
9726 2002-01-16  Juergen Vigna  <jug@sad.it>
9727
9728         * tabular.C (GetAdditionalHeight): one of error fixed.
9729
9730         * lyxrc.C (output): small fix in writing use_pspell.
9731
9732 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9733
9734         * sp_base.h: #include LString.h
9735
9736 2002-01-16  Allan Rae  <rae@lyx.org>
9737
9738         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9739         Can someone check this please?
9740
9741         * text.C (drawInset): It was possible that p.row would be removed by
9742         breakAgainOneRow upsetting a few other settings.  There may be another
9743         small tweak possible by setting need_break_row = 0 when p.row has been
9744         removed but I don't know enough about the logic here.
9745
9746 2002-01-15  Allan Rae  <rae@lyx.org>
9747
9748         * text.C (insertChar): removed conditional truism.
9749
9750         * BufferView2.C (removeAutoInsets): More tweaks.
9751         cur_par_prev could be a stray pointer.  Check for trailing empty line
9752         in case last line was cur_par and only had an error inset on it.
9753
9754 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9755
9756         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9757         absolute
9758
9759         * vc-backend.C (most methods):
9760         * exporter.C (Export):
9761         * converter.C (convert):
9762         (runLaTeX):
9763         * LyXSendto.C (SendtoApplyCB):
9764         * lyxfunc.C (dispatch):
9765         (menuNew):
9766         (open):
9767         (doImport):
9768         * lyx_cb.C (AutoSave):
9769         (InsertAsciiFile):
9770         * BufferView_pimpl.C (MenuInsertLyXFile):
9771         * buffer.C (runChktex): use Buffer::filePath().
9772
9773         * buffer.h: rename filename to filename_; rename filepath to
9774         filepath_ and make it private
9775         (filePath): new method
9776
9777         * buffer.C (writeFile): use fileName()
9778         (getLatexName):
9779
9780         * lyx_main.C (init): fix starting  of LyX when the binary is a
9781         link from so,ewhere else.
9782
9783         * minibuffer.C: include <cctype> for isprint
9784
9785 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9786
9787         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9788         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9789         name clash with InsetCollapsable's width function.
9790
9791 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9792
9793         * lastfiles.C: include <iterator>
9794
9795 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9796
9797         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9798         std::count.
9799
9800         * buffer.C (makeLaTeXFile): ditto.
9801         Also make loop operation more transparent.
9802
9803 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9804
9805         * ToolbarDefaults.C: remove trailing comma closing namespace.
9806
9807         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9808
9809         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9810         as in WorkArea.
9811
9812         * trans.C (Load): comment out unused variable, allowed.
9813
9814 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9815
9816         * minibuffer.[Ch] (append_char): new method to recieve input from the
9817         drop-down completion browser. If a key was pressed, then recieve this
9818         char and append it to the existing string.
9819         (peek_event): modify the positioning data passed to the completion
9820         browser so that it can be placed above the minibuffer rather than below.
9821 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9822
9823         * LyXAction.C (init): alloe error-next for readonly documents.
9824
9825         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9826         count.
9827
9828 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9829
9830         * bufferlist.C (readFile): create the buffer _after_ checking that
9831         the file exists.
9832
9833         * lyxfunc.C (verboseDispatch): fix handling of arguments
9834
9835         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9836
9837         * lyxrc.C: use string::erase() instead of initializing to "".
9838
9839
9840 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9841
9842         * BufferView_pimpl.h:
9843         * BufferView_pimpl.C:
9844         * WorkArea.h:
9845         * WorkArea.C:
9846         * text2.C: tell X when we have made a selection for copying
9847
9848 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9849
9850         * BufferView_pimpl.C (MenuInsertLyXFile):
9851         * lyxfunc.C (menuNew):
9852         (open):
9853         (doImport): add shortcuts to directory buttons
9854
9855         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9856         open a float)
9857
9858         * lyxfunc.C (setStatusMessage):
9859         (getStatusMessage): new methods
9860         (getStatus):use setStatusMessage instead of setErrorMessage
9861         (dispatch): when function is disabled, set error message here
9862         [instead of in getStatus previously]
9863
9864         * BufferView_pimpl.C (workAreaButtonRelease): update
9865         toolbar/menubar here too.
9866
9867 2002-01-13  Allan Rae  <rae@lyx.org>
9868
9869         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9870         Now seems indestructible.  Remaining task is to audit all other
9871         code affected by deleteEmptyParagraphMechanism.  One small quirk
9872         left is that an empty document with an error in the preamble can
9873         be made to report an error but no error box appears.  I don't know
9874         where it goes.
9875         (removeAutoInsets): Improved comments.
9876
9877 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9878
9879         * Thesaurus.h:
9880         * Thesaurus.C: update for Aiksaurus 0.14
9881
9882 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9883
9884         * text2.C (firstParagraph): removed member function, all uses
9885         replaces with ownerParagraph
9886         (redoParagraphs): here
9887         (updateInset): here
9888         (toggleAppendix): here
9889         * BufferView2.C (insertErrors): here
9890         (setCursorFromRow): here
9891
9892 2002-01-13  Allan Rae  <rae@lyx.org>
9893
9894         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9895         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9896         There is still a way to segfault this although you may have to do this
9897         multiple times: Have an InsetERT with an unknown command in it.
9898         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9899         <down-arrow>, <Enter> again, View->DVI, BANG!
9900
9901         * text2.C (setCursor):
9902         (deleteEmptyParagraphMechanism):
9903         * lyxtext.h (setCursor):
9904         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9905         Making use of the return value may help fix other bugs.
9906
9907 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9908
9909         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9910
9911         * LyXView.C (updateMenubar): call MenuBar::update here
9912         (updateToolbar): but not here
9913         (showState): do not update toolbar/menubar
9914
9915         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9916         should need to care about that.
9917
9918         * lyxfunc.C (verboseDispatch): simplify a bit
9919         (getStatus): have a version which takes a pseudoaction, and
9920         another which requires a (kb_action,string).
9921
9922         * LyXAction.C (retrieveActionArg): make it work also when action
9923         is not a pseudo-action.
9924         (getActionName): simplify a bit
9925         (helpText):
9926
9927 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9928
9929         * lyxfunc.C (verboseDispatch): new families of methods with
9930         several ways to specify a command and a bool to indicate whether
9931         the command name and shortcut should be displayed in minibuffer
9932         (eventually, we could extend that to a finer bitmask like
9933         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9934         (dispatch): the pristine dispatch command which just, well,
9935         dispatchs! Note it still sets its result to minibuffer; I'm not
9936         sure we want that.
9937
9938         * lyxfunc.h: remove setHintMessage
9939
9940         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9941
9942 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9943
9944         * BufferView_pimpl.C (specialChar): delete new inset if we have
9945         not been able to insert it.
9946
9947         * kbmap.C: revert to using int instead of kb_action, since all we
9948         are dealing with is pseudo-actions.
9949
9950         * LyXAction.C (searchActionArg): change to return int instead of
9951         kb_action, since the result is a pseudoaction.
9952
9953 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9954
9955         * buffer.C (insertErtContents): Fix (partially) the font bug.
9956
9957 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9958
9959         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9960         as the other one is broken on my machine!
9961
9962 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9963
9964         * commandtags.h:
9965         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9966
9967 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9968
9969         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9970         reflect their actual use. Provide compatibility code for older lyxrc
9971         files.
9972
9973         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9974         FL_NORMAL_STYLE.
9975         change names of popup font variables in line with the changes to lyxrc.C
9976
9977 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9978
9979         * buffer.C (asciiParagraph): avoid outputing a word twice after
9980         an inset.
9981
9982         * lyxrc.C (getDescription): document that document_path and
9983         template_path can be empty.
9984
9985 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9986
9987         * LaTeXFeatures.C (getMacros):
9988         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9989
9990         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9991
9992         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9993         getPackages.
9994         (getPackages): rename feature "floats" to "float". Use an array to
9995         iterate over 'simple' features (i.e. just a \usepackage). Add
9996         handling of "amsmath" (renamed from "amsstyle").
9997
9998 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9999
10000         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10001         features list.
10002
10003 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10004
10005         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10006         FuncStaus::FuncStatus & FuncStaus::some_method().
10007
10008 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10009
10010         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10011         of the func_satus stuff. Edited and massaged in various ways by
10012         JMarc.
10013
10014         * lyxfunc.C (getStatus): use FuncStatus
10015
10016 2002-01-08  Juergen Vigna  <jug@sad.it>
10017
10018         * text.C (nextBreakPoint): use function Inset::isChar().
10019
10020         * paragraph.C (TeXOnePar): use function
10021         Inset::forceDefaultParagraphs.
10022
10023         * buffer.C (latexParagraphs): use function
10024         Inset::forceDefaultParagraphs.
10025
10026 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10027
10028         * lyx_gui.C (init): set the style of the menu popups to
10029         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10030
10031 2002-01-07  Juergen Vigna  <jug@sad.it>
10032
10033         * text.C (setHeightOfRow): small fix
10034         (prepareToPrint): don't look at alignment if we don't have the place
10035         for doing it.
10036
10037 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10038
10039         * box.C: New file. Move the Box methods and functions out of box.h,
10040         following Lars' suggestion.
10041
10042 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10043
10044         * box.h: #include "support/LOstream.h", needed for inlined function.
10045
10046         * lyxtextclass.C:
10047         * lyxtextclasslist.C: added some using std declarations.
10048
10049 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10050
10051         * box.h: make signed dimensions to allow insets wider than
10052           the screen (bug #162)
10053
10054         * BufferView_pimpl.C: add some insetHit debug
10055
10056 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10057
10058         * vc-backend.C: add FIXME
10059
10060 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10061
10062         * lyxfunc.C (getStatus): enable code for showing math font status
10063         in toolbar/menu.
10064
10065 2002-01-07  Juergen Vigna  <jug@sad.it>
10066
10067         * text.C (nextBreakPoint): removed debug output not needed anymore.
10068
10069 2002-01-06  Juergen Vigna  <jug@sad.it>
10070
10071         * text.C (nextBreakPoint): fixed up this function we had this bug
10072         since ever but now hopefully we break row better.
10073         (insertChar): we have to check if an inset is the next char as it
10074         could now happen that a large inset is causing a break.
10075
10076 2002-01-05  Juergen Vigna  <jug@sad.it>
10077
10078         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10079         if it doesn't like to be drawed.
10080
10081 2002-01-04  Juergen Vigna  <jug@sad.it>
10082
10083         * BufferView2.C (lockInset): forgot to set a cursor.
10084
10085         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10086
10087 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10088
10089         * FormMathsPanel.C:
10090         * FormMathsPanel.h
10091         * MathsSymbols.C:
10092         * form_maths_panel.C:
10093         * form_maths_panel.h:
10094         * form_maths_panel.fd: implemented sub- and super- buttons in math
10095         panel.
10096
10097         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10098         (or ^ space) to be used as in TeX (req'd by André).
10099
10100         * lyxfunc.C: Allow ^ and _ again to be used both as
10101         super/subscript (mathed) and as themselves (in text).
10102
10103 2002-01-03  Allan Rae  <rae@lyx.org>
10104
10105         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10106         "LyX" or the filename of the current buffer if it has one.  This is a
10107         modified form of John Levon's patch.
10108
10109         * XFormsView.C (setWindowTitle): also set icon title.
10110
10111         * LyXView.h (setWindowTitle): signature changed.
10112         * XFormsView.h (setWindowTitle): ditto.
10113
10114 2002-01-02  Juergen Vigna  <jug@sad.it>
10115
10116         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10117
10118 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10119
10120         * screen.C (topCursorVisible): introduce a temp var for
10121         text->cursor.row(), handle the case where this row is null. (kindo
10122         hachish)
10123
10124         * text2.C (setCursor): add a couple of asserts.
10125
10126         * paragraph.h (inset_iterator): add -> operator
10127
10128         * paragraph.[Ch] (autoDeleteInsets): remove member function
10129
10130         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10131         cursor pos correctly and handle inset deletion by itself.
10132         (insertErrors): move iterator declaration out of for expression
10133
10134         * lyxtextclass.C: add <algorithm>
10135
10136         * Makefile.am: added the new files to sources, removed layout.C
10137
10138         * layout.C: removed file
10139
10140         * layout.h: remove LYX_DUMMY_LAYOUT
10141
10142         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10143         layout.
10144
10145         * lyxlayout.[Ch]:
10146         * lyxtextclass.[Ch]:
10147         * lyxtextclasslist.[Ch]: new files
10148
10149         * include order changes to a lot of files, also changes because of
10150         the six new files.
10151
10152 2001-12-27  Juergen Vigna  <jug@sad.it>
10153
10154         * buffer.C (asciiParagraph): more fixes.
10155
10156         * tabular.C (ascii): make ascii export support export of only the
10157         data separated by a column-delimiter.
10158         (ascii): better support for ascii export.
10159
10160         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10161
10162 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10163
10164         * tabular_funcs.C: use a "using std::getline" instead of the
10165         previous fix from Angus (necessary for cxx + lyxstring)
10166
10167 2001-12-24  Juergen Vigna  <jug@sad.it>
10168
10169         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10170
10171         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10172         problems. First check a minipage also if we have some ert-contents
10173         (not only on par->size(), second set the right depth of the paragraph
10174         on the relink to the root-paragraph-list!
10175
10176         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10177         which then did not anymore update the main paragraphs on undo/redo!
10178
10179 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10180
10181         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10182         code. Support all font-changing funcs (even those which are not in
10183         menu currently). Support for reporting font settings in
10184         mathed (disabled until Andre provides a function on mathed's side).
10185
10186         * func_status.h (toggle): small helper function to set toggle
10187         state on a flag.
10188
10189 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10190
10191         * tabular_funcs.C: getline -> std::getline
10192
10193 2001-12-21  Juergen Vigna  <jug@sad.it>
10194
10195         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10196         accessed and could be 0 (I couldn't generate this but it seems
10197         Michael could!).
10198
10199 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10200
10201         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10202         * tabular_funcs.h: here and include iosfwd
10203
10204 2001-12-20  Juergen Vigna  <jug@sad.it>
10205
10206         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10207         inside inset but undo_par was.
10208
10209 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10210
10211         * Thesaurus.C: always include <config.h> in sources.
10212
10213         * Painter.h:
10214         * lyxlookup.h:
10215         * box.h: do not include <config.h> in header files
10216
10217         * text.C (paintLastRow): remove unused variable
10218
10219         * text.C (transformChar):
10220         (insertChar):
10221         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10222
10223         * Painter.C (text):
10224         * font.C (width): rewrite to use uppercase() instead of
10225         islower/toupper.
10226
10227         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10228
10229 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10230
10231         * lyxfind.C: clean up of find failure position change
10232
10233 2001-12-20  Juergen Vigna  <jug@sad.it>
10234
10235         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10236
10237         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10238         (TeXRow): added to LaTeX a single tabular row.
10239         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10240         (Latex): simplified and finally good LT-h/f support.
10241         (various_functions): just small adaptions for LT-h/f support.
10242
10243         * tabular_funcs.[hC]: added and moved here all not classfunctions
10244         of LyXTabular.
10245
10246 2001-12-19  Juergen Vigna  <jug@sad.it>
10247
10248         * tabular.[Ch]: better support for longtabular options (not finished
10249         yet!)
10250
10251 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10252
10253         * text.C (paintLastRow): use the label font instead of the font of
10254         the last character to compute the size of *_BOX. This makes more
10255         sense and avoids a crash with empty paragraphs.
10256         Use Painter::rectangle to draw EMPTY_BOX.
10257
10258 2001-12-19  Juergen Vigna  <jug@sad.it>
10259
10260         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10261         the paragraphs if the replaced paragraph is not the first one!
10262         Tried to delete not used paragraphs but does not work yet so for
10263         now it's inside #ifdef's and by default off!
10264
10265 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10266
10267         * MenuBackend.C: include "lyx_main.h" instead of declaring
10268         lastfiles (actually was declared as LastFiles* instead of a
10269         scoped_ptr).
10270
10271 2001-12-17  Juergen Vigna  <jug@sad.it>
10272
10273         * tabular.C (AppendColumn): applied John's fix
10274
10275 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10276
10277         * BufferView.h:
10278         * BufferView.C:
10279         * BufferView_pimpl.h:
10280         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10281
10282         * Makefile.am:
10283         * box.h: new start of class for above
10284
10285         * lyxfunc.C: ignore space-only minibuffer dispatches.
10286           Show the command name when it doesn't exist
10287
10288         * minibuffer.C: don't add empty lines to the history
10289
10290         * minibuffer.C: add a space on dropdown completion
10291
10292 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10293
10294         * text.C: fix line above/below drawing in insets
10295
10296 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10297
10298         * lyxlength.C (LyXLength): Initialize private variables.
10299
10300 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10301
10302         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10303         when inserting error insets.
10304
10305 2001-12-13  Juergen Vigna  <jug@sad.it>
10306
10307         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10308         actually sometimes the before-paragraph.
10309         (setUndo): don't clear the redostack if we're not actually undoing!
10310
10311 2001-12-06  Juergen Vigna  <jug@sad.it>
10312
10313         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10314         and fixed redoing of main paragraph, so we can use it now ;)
10315
10316         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10317
10318 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10319
10320         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10321         Juergen's request
10322
10323 2001-12-13  André Pönitz <poenitz@gmx.net>
10324
10325         * undostack.[Ch]:
10326         * undo_func.C: minor cleanup
10327
10328 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10329
10330         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10331         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10332         font in urw-fonts package which is marked as -urw-fontspecific and
10333         does not work (incidentally, changing the encoding in the
10334         fonts.dir of this package to -adobe-fontspecific fixes the
10335         problem).
10336
10337         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10338         is a crash when undoing first paragraph (Juergen, please take a
10339         look). THis does not mean the undo fix is wrong, just that it
10340         uncovers problems.
10341
10342         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10343         the (Paragraph*) version when needed instead of duplicating the
10344         code.
10345
10346         * text.C (workWidth): use Inset::parOwner to find out where the
10347         inset has been inserted. This is a huge performance gain for large
10348         documents with lots of insets. If Inset::parOwner is not set, fall
10349         back on the brute force method
10350
10351         * paragraph_pimpl.C (insertInset):
10352         * paragraph.C (Paragraph):
10353         (cutIntoMinibuffer): set parOwner of insets when
10354         inserting/removing them
10355
10356         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10357
10358 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10359
10360         * commandtags.h:
10361         * LyXAction.C:
10362         * lyx_main.C:
10363         * lyxfunc.C:
10364         * mathed/formulabase.C:
10365         * mathed/math_cursor.[Ch]:
10366         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10367
10368
10369 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10370
10371         * lyxlength.[Ch] (operator!=): new function
10372
10373 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10374
10375         * text.C (workWidth): use Inset::parOwner to find out where the
10376         inset has been inserted. This is a huge performance gain for large
10377         documents with lots of insets. If Inset::parOwner is not set, fall
10378         back on the brute force method
10379
10380         * paragraph_pimpl.C (insertInset):
10381         * paragraph.C (Paragraph):
10382         (cutIntoMinibuffer): set parOwner of insets when
10383         inserting/removing them
10384
10385         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10386
10387 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10388
10389         * tabular-old.C (getTokenValue):
10390         * tabular.C (getTokenValue):
10391         (write_attribute): new versions for LyXLength
10392         (everywhere): adjust the use of widths
10393
10394         * tabular.h: change the type of widths from string to LyXLength
10395
10396 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10397
10398         * paragraph.C: fixed missing line number count when exporting
10399         Environments to LaTeX file
10400
10401         * buffer.C: added informational message for checking line numbers.
10402
10403 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10404
10405         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10406         paragraph, do the 'double space' part, but not the 'empty
10407         paragraph' one.
10408
10409         * text.C (workWidth): small optimization
10410         (getLengthMarkerHeight): use minimal size for negative lengths.
10411
10412 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10413
10414         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10415
10416         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10417
10418 2001-12-11  André Pönitz <poenitz@gmx.net>
10419
10420         * FontLoader.C:
10421         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10422
10423 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10424
10425         * text2.C: keep selection on a setFont()
10426
10427 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10428
10429         * lyx_cb.C: another bv->text misuse, from insert label
10430
10431 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10432
10433         * kbsequence.h:
10434         * kbsequence.C: re-instate nmodifier mask
10435
10436 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10437
10438         * lyx_main.h: make lyxGUI private.
10439
10440 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10441
10442         * lyxfind.C: place the cursor correctly on failed search
10443
10444 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10445
10446         * text.C (getLengthMarkerHeight): for small heights, the arrows
10447         are not always on top/bottom of the text
10448         (drawLengthMarker): smaller arrows; take the left margin in
10449         account; draw also vfills.
10450         (paintFirstRow):
10451         (paintLastRow): remove special code for vfill and standard spaces,
10452         since everything is handled in drawLengthMarker now.
10453
10454 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10455
10456         * buffer.C (insertErtContents): try to handle font and language
10457         interaction a bit better.g
10458
10459         * ColorHandler.C (updateColor): change the hash to cover the whole
10460         LColor enum, ws cleanup
10461         (getGCLinepars): ditto
10462         (getGCLinepars): only lookup in the linecache once.
10463
10464 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10465
10466         * iterators.C (operator++): Make the iterator more robust
10467
10468         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10469         (John's patch)
10470         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10471
10472 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10473
10474         * lyxtext.h:
10475         * text.C: better added space drawing
10476
10477 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10478
10479         * LyXView.C:
10480         * BufferView2.C: fix layout combo update on inset unlock
10481
10482 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10483
10484         * Makefile.am: don't compile unused files
10485
10486 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10487
10488         * lyxfunc.C:
10489         * commandtags.h:
10490         * LyXAction.C: remove old LFUN_LAYOUTNO
10491
10492 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10493
10494         * paragraph_pimpl.h:
10495         * paragraph_pimpl.C: isTextAt() doesn't need font param
10496
10497 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10498
10499         * lyxlex.h:
10500         * lyxlex.C: little cleanup
10501
10502 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10503
10504         * BufferView_pimpl.C: fix insertAscii for insets
10505
10506 2001-12-05  Juergen Vigna  <jug@sad.it>
10507
10508         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10509         set the right font on the "multi" paragraph paste!
10510
10511 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10512
10513         * trans_decl.h:
10514         * trans_mgr.[Ch]:
10515         * trans.[Ch]:
10516         * lyxgluelength.C:
10517         * lyxlength.C: remove out-commented code.
10518
10519         * BufferView_pimpl:
10520         * CutAndPaste.C:
10521         * DepTable.C:
10522         * buffer.C:
10523         * chset.C:
10524         * lastfiles.C:
10525         * lyxlex.C:
10526         * lyxlex_pimpl.C:
10527         * lyxserver.C:
10528         * screen.C:
10529         * tabular-old.C:
10530         * tabular.C:
10531         * text.C:
10532         * trans_mgr.C:
10533         * vc-backend.C: change "while(" to "while ("
10534
10535         * lyxlength.[Ch]: add zero function to check if length is zero or
10536         not
10537         * lyxgluelength.C: use it
10538
10539 2001-12-05  Allan Rae  <rae@lyx.org>
10540
10541         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10542         Works for 2.95.3, from what I understand of Garst's reports this should
10543         work for other g++ versions.  We're screwed if the abs(int) definition
10544         changed between bugfix releases of gcc.
10545
10546 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10547
10548         * text.C: fix chapter label offset !
10549
10550 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10551
10552         * lyxtext.h:
10553         * text.C: fix hfill at end of line, clean up
10554
10555 2001-12-04  Juergen Vigna  <jug@sad.it>
10556
10557         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10558         that we force an update of the inset and it's owners if neccessary.
10559
10560 2001-12-03  Juergen Vigna  <jug@sad.it>
10561
10562         * text.C (rowLast): simplified code
10563
10564 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10565
10566         * lyxfunc.C: fix show options on timeout
10567
10568 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10569
10570         * screen.C (topCursorVisible): scroll half a page when the cursor
10571         reached top of bottom of screen
10572
10573 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10574
10575         * minibuffer.C: deactivate on loss of focus
10576
10577 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10578
10579         * vspace.[Ch] (operator!=): add operator.
10580
10581 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10582
10583         * BufferView_pimpl.C: refuse to open an inset when
10584         there's a selection.
10585
10586 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10587
10588         * BufferView_pimpl.C: allow to click on RHS of full row insets
10589
10590 2001-11-30  Juergen Vigna  <jug@sad.it>
10591
10592         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10593         insets for undo reasons.
10594
10595 2001-11-28  André Pönitz <poenitz@gmx.net>
10596
10597         * vspace.[Ch]: cosmetical changes
10598
10599 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10600
10601         * LyXAction.h:
10602         * LyXAction.C:
10603         * lyxfunc.h:
10604         * lyxfunc.C:
10605         * kbmap.h:
10606         * kbmap.C:
10607         * lyxrc.C:
10608         * kbsequence.h:
10609         * kbsequence.C: part re-write of old kb code
10610
10611         * Painter.C:
10612         * WorkArea.C: remove Lgb_bug_find_hack
10613
10614 2001-11-30  José Matos <jamatos@fep.up.pt>
10615
10616         * buffer.C (makeDocBookFile): add a comment to point a hack.
10617         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10618         Fixed a double write of labels.
10619
10620 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10621
10622         * LaTeX.C:
10623         * LaTeX.h Fixed bug in LaTeX class where it would not
10624         re-run latex if no depfiles were changed, but the .dvi was removed.
10625
10626 2001-11-28  André Pönitz <poenitz@gmx.net>
10627
10628         * all the files from the change on 2001/11/26:
10629         use lyx::layout_type instead of LyXTextClass::size_type
10630         use lyx::textclass_type instead of LyXTextClassList::size_type
10631
10632 2001-11-29  Juergen Vigna  <jug@sad.it>
10633
10634         * text.C: added support for paragraph::isFreeSpacing()
10635
10636         * buffer.C: same as above
10637
10638         * paragraph.h: inserted isFreeSpacing() function to enable
10639         FreeSpacing inside InsetERT.
10640
10641         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10642         of the paragraph's in the cut/copy buffer to 0!
10643
10644         * text2.C (removeRow): remove the assert as it can!
10645
10646         * lyxtext.h: added helper function firstRow returning firstrow and
10647         made firstrow private again.
10648
10649         * BufferView2.C (lockInset): don't relock if we're already locked!
10650
10651         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10652         the only paragraph.
10653         (removeRow): added Assert::(firstrow)
10654
10655         * debug.C: forgot to add INSETTEXT here.
10656
10657 2001-11-28  Juergen Vigna  <jug@sad.it>
10658
10659         * sp_spell.C (initialize): changed error text to more general
10660         spellchecker command use (not only ispell!)
10661
10662         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10663
10664         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10665
10666 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10667
10668         * vspace.C: initialise lyxgluelength on failure
10669
10670 2001-11-28  Allan Rae  <rae@lyx.org>
10671
10672         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10673         declaration & definition that looks like a function declaration.
10674
10675 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10676
10677         * BufferView2.C (copy):
10678         (copyEnvironment): do not clear the selection when doing a copy.
10679
10680         * text.C (paintFirstRow): compilation fix
10681
10682 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10683
10684         * tabular.C (Latex): correct line count when writing latex.
10685
10686 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10687
10688         * paragraph_pimpl.h:
10689         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10690           bug a bit
10691
10692 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10693
10694         * text.C:
10695         * LColor.h:
10696         * LColor.C: change vfillline->added_space
10697
10698         * text.C: add markers and text for added space
10699
10700         * vspace.C: fix comment
10701
10702 2001-11-28  André Pönitz <poenitz@gmx.net>
10703
10704         * paragraph.C: whitespace changes
10705         * all the other files from the change on 2001/11/26:
10706         change *::pos_type into lyx::pos_type
10707
10708 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10709
10710         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10711         language of the document when inserting error insets.
10712
10713 2001-11-26  André Pönitz <poenitz@gmx.net>
10714
10715         * BufferView_pimpl.[Ch]:
10716         *       CutAndPaste.C:
10717         * buffer.[Ch]:
10718         * lyxcursor.[Ch]:
10719         * lyxfind.C:
10720         * lyxfunc.C:
10721         * lyxrow.[Ch]:
10722         * paragraph.[Ch]:
10723         * paragraph_pimpl.[Ch]:
10724         * sp_spell.C:
10725         * text.C:
10726         * text2.C: reduce header dependencies, introduce type for positions
10727
10728 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10729
10730         * <various>: change to use Alert.h
10731
10732 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10733
10734         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10735         when encountering an unknown token.
10736         (readLyXformat2): Show an error message if there were unknown tokens.
10737
10738 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10739
10740         * BufferView2.C:
10741         * BufferView_pimpl.C:
10742         * buffer.C:
10743         * paragraph.h:
10744         * text.C:
10745         * text2.C: use par->isInset()
10746
10747 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10748
10749         * paragraph_pimpl.h:
10750         * paragraph_pimpl.C: cleanup
10751
10752 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10753
10754         * text2.C (removeRow):
10755         * text.C (setHeightOfRow): remove useless (and costly) call to
10756         getRow.
10757
10758 2001-11-20  Allan Rae  <rae@lyx.org>
10759
10760         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10761         Now need Inset*::checkInsertChar() to return true for appropriate
10762         cases so that the characters in the minibuffer will actually be
10763         inserted.
10764
10765 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10766
10767         * text.C: change the order of the includes.
10768         (workWidth): initialize it at once.
10769         (workWidth): make maxw unsigned
10770         (setHeightOfRow): remove unused variable (inset)
10771         (selectSelectedWord): remove unused variable (inset)
10772         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10773
10774 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10775
10776         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10777         server is not running.
10778         (openConnection):
10779         (closeConnection): add debug info when server is disabled.
10780
10781         * ColorHandler.C (getGCForeground): send debug message to GUI
10782         channel.
10783
10784         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10785
10786         * kbmap.C (bind): modify because return conventions of
10787         kb_sequence::parse have changed.
10788
10789         * kbsequence.C (parse): only ignore spaces and not any stupid
10790         control character. This avoids tests like s[i] <= ' ', which are
10791         guaranteed to fail with 8bit characters and signed chars.
10792         Change return code to string::npos when there have been no error
10793         (0 was a bad idea when error is at first character)
10794
10795 2001-11-14  José Matos  <jamatos@fep.up.pt>
10796
10797         * buffer.h:
10798         * buffer.C (simpleDocBookOnePar): removed unused argument.
10799
10800 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10801
10802         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10803         insets which are part of a word. Paragraph::isLetter takes care of
10804         that now. Use Paragraph::isInset to identify insets.
10805         (selectSelectedWord): do not test for hyphenation break.
10806
10807         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10808         that protected spaces are considered as spaces.
10809
10810         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10811         Inset::isLetter.
10812
10813 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10814
10815         * lyxserver.h:
10816         * lyxserver.C: fix it. and small cleanup.
10817
10818 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10819
10820         * BufferView_pimpl.C: use inline helpers
10821
10822         * LaTeXFeatures.h:
10823         * LaTeXFeatures.C: fix typos
10824
10825         * Spacing.h:
10826         * Spacing.C: move spacing_string into class
10827
10828         * ToolbarDefaults.C: move stuff into namespace anon
10829
10830         * layout.h: update enum
10831
10832         * lyxfunc.C: use better debug
10833
10834         * minibuffer.h: fix typo
10835
10836         * debug.h:
10837         * debug.C:
10838         * WorkArea.C: add and use Debug::WORKAREA
10839
10840         * lyxtext.h:
10841         * text.C:
10842         * text2.C: code re-organisation, inline helpers
10843
10844 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10845
10846         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10847         std::vector.empty().
10848
10849 2001-11-09  Allan Rae  <rae@lyx.org>
10850
10851         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10852         '\n's after tables.  Tabular and ERT inset work now makes this no
10853         longer necessary.
10854
10855 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10856
10857         * minibuffer.h:
10858         * minibuffer.C: fix crash, improve drop-down completion
10859
10860 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10861
10862         * lyxserver.h:
10863         * lyxserver.C: invalidate fd's when doing endPipe()
10864
10865 2001-11-08  José Matos  <jamatos@fep.up.pt>
10866
10867         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10868         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10869
10870         * paragraph.h:
10871         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10872
10873 2001-11-07  José Matos  <jamatos@fep.up.pt>
10874
10875         * buffer.h:
10876         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10877         const qualifier.
10878
10879         * buffer.C (sgmlOpenTag):
10880         * buffer.C (sgmlCloseTag): removed debug info.
10881
10882         * buffer.h (sgmlOpenTag):
10883         * buffer.h (sgmlCloseTag): made public.
10884
10885 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10886
10887         * buffer.C (saveParamsAsDefaults):
10888         * lyx_cb.C (MenuLayoutSave): remove
10889
10890         * LyXAction.C (init):
10891         * commandtags.h:
10892         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10893
10894 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10895
10896         * buffer.C (setPaperStuff): removed from here...
10897
10898         * bufferparams.C (setPaperStuff): ... and moved there.
10899
10900 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10901
10902         * minibuffer.h:
10903         * minibuffer.C:
10904         * XFormsView.C: add support for drop-down completion
10905
10906 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10907
10908         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10909         commands.
10910
10911 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10912
10913         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10914         disabled.
10915
10916 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10917
10918         * lyx_main.C: change ref to known bugs
10919
10920 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10921
10922         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10923         to work around older babel problems.
10924
10925 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10926
10927         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10928
10929 2001-10-24  Juergen Vigna  <jug@sad.it>
10930
10931         * tabular-old.C (ReadOld): below variable changes reflected.
10932
10933         * tabular.[Ch]: added ltType struct for longtable header/footer
10934         defines and changed all instances where they are used. Added
10935         future support for double top/bottom rows.
10936
10937 2001-10-24  José Matos  <jamatos@fep.up.pt>
10938
10939         * buffer.h (docbookHandleCaption):
10940         * buffer.C (docbookHandleCaption): removed unused function.
10941         (makeDocBookFile): moved docbook supported version to v4.1.
10942
10943 2001-10-24  José Matos  <jamatos@fep.up.pt>
10944
10945         * tabular.h:
10946         * tabular.C (docbookRow): new function to export docbook code of a row.
10947         (DocBook): now honors the longtable flags.
10948
10949 2001-10-23  José Matos  <jamatos@fep.up.pt>
10950
10951         * LaTeXFeatures.h:
10952         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10953         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10954
10955         * buffer.C (makeLinuxDocFile):
10956         (makeDocBookFile): reworked the preamble, more clean, and with
10957         support for lyx defined entities. Changed the document declaration
10958         to be more XML friendly.
10959
10960         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10961         if we need to output XML that should be done with a filter.
10962
10963 2001-10-22  Juergen Vigna  <jug@sad.it>
10964
10965         * sp_pspell.h (class PSpell): add alive function needed in the
10966         controller to see if the spellchecker could be started.
10967
10968 2001-10-22  Juergen Vigna  <jug@sad.it>
10969
10970         * buffer.C (insertStringAsLines): modify the font for inserting
10971         chars in certain conditions by calling checkInsertChar(font).
10972
10973 2001-10-19  Juergen Vigna  <jug@sad.it>
10974
10975         * text.C (workWidth): use getRow instead of wrong algorithm.
10976         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10977
10978 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10979
10980         * lyxserver.h:
10981         * lyxserver.C:
10982         * lyx_main.h:
10983         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10984
10985 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10986
10987         * text.C (workWidth): do not search for the exact row when
10988         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10989         optimization for big documents.
10990
10991 2001-10-18  Juergen Vigna  <jug@sad.it>
10992
10993         * text.C (workWidth): new function with added Inset * parameter.
10994
10995 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10996
10997         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10998
10999         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11000         change return type of getColumnNearX.
11001
11002
11003         * text.C (changeRegionCase): use uppercase/lowercase instead of
11004         toupper/tolower.
11005         (leftMargin):
11006         (rightMargin): simplify code by factoring out the uses of
11007         textclasslist.
11008         (labelFill):
11009         (numberOfHfills):
11010         (setHeightOfRow):
11011         (appendParagraph): use Paragraph::size_type
11012
11013 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11014
11015         * vspace.C (asLatexString): add a missing break
11016
11017 2001-10-15  Herbert Voss  <voss@perce.de>
11018
11019         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11020
11021 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11022
11023         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11024         is not available.
11025
11026 2001-10-10  André Pönitz <poenitz@gmx.net>
11027
11028         * lyxfunc.C: removed greek_kb_flag.
11029
11030 2001-10-10  Herbert Voss  <voss@perce.de>
11031
11032         * lyx_main.C: delete global string help_lyxdir.
11033
11034 2001-10-09  Herbert Voss  <voss@perce.de>
11035
11036         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11037
11038         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11039
11040         * lyx_main.C: added global string help_lyxdir.
11041
11042         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11043
11044 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11045
11046         * lyxrc.C (set_font_norm_type): support iso8859-4
11047
11048 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11049
11050         * LaTeX.C (deplog): add another regex for MikTeX
11051
11052 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11053
11054         * lyxrc.C (set_font_norm_type): support iso8859-3
11055
11056 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11057
11058         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11059
11060         * LaTeXFeatures.C: remove special case of french and index
11061
11062         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11063         before \begin{document}). This solves several incompatibilities.
11064
11065 2001-10-03  Garst Reese  <reese@isn.net>
11066
11067         * lyx_cb.C: change CheckTex error msg.
11068
11069 2001-10-03  José Matos  <jamatos@fep.up.pt>
11070
11071         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11072
11073 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11074
11075         * .cvsignore: update
11076
11077         * lyx_main.C (commandLineVersionInfo): use new style version info.
11078
11079         * buffer.C (writeFile):
11080         (makeLaTeXFile):
11081         (makeLinuxDocFile):
11082         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11083
11084         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11085
11086         * version.h: update to use stuff in version.C
11087
11088         * version.C.in: new file. Contains version information determined
11089         at compile time. This is a merging of version.h and
11090         version_info.h.in.
11091
11092 2001-10-03  Juergen Vigna  <jug@sad.it>
11093
11094         * BufferView_pimpl.C (update): don't change "dirty" status in
11095         updateInset call.
11096
11097 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11098
11099         * WorkArea.C (c-tor): re-position version string slightly.
11100
11101 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11102
11103         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11104         revert to previous code.
11105
11106         WorkArea.[Ch]: (show, destroySplash): methods removed.
11107
11108         WorkArea.C: rework code so that it's an amalgam of the codes before and
11109         after the splash screen was moved to WorkArea.
11110
11111 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11112
11113         * lyxrc.C (read):
11114         * vspace.C (inPixels):
11115         (lyx_advance):
11116         * kbmap.C (bind):
11117         * buffer.C (insertStringAsLines):
11118         (asciiParagraph): fix types to be large enough
11119
11120         * lyxlex_pimpl.h: change member status from short to int
11121
11122         * layout.h: fix type of endlabeltype
11123
11124         * kbmap.C (bind):
11125         * kbsequence.C (parse): change return type to string::size_type
11126
11127         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11128         variable
11129
11130         * Bullet.C (bulletSize):
11131         (bulletEntry): do not use short ints as parameters
11132
11133         * BufferView2.C (insertLyXFile): change a char to an int.
11134
11135         * WorkArea.C (WorkArea): remove unneeded floats in computation
11136
11137 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11138
11139         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11140
11141         * paragraph.C (asString): Do not ignore newline/hfill chars when
11142         copying to the clipboard.
11143
11144 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11145
11146         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11147         after a multi-line inset.
11148
11149 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11150
11151         * paragraph.C (validate): Set NeedLyXFootnoteCode
11152
11153 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11154
11155         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11156         and decrease-error to decrease.
11157
11158 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11159
11160         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11161         it more readable (should be equivalent)
11162
11163 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11164
11165         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11166
11167 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11168
11169         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11170         of a cursor (row, etc.) after a character has been deleted
11171         (deleteEmptyParagraphMechanism): call the method above on _all_
11172         cursors held by the LyXText when a double space has been
11173         detected/deleted.
11174
11175 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11176
11177         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11178         pixmap.
11179         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11180
11181         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11182         background. Use greyOut() and the new show() methods to toggle between
11183         the foreground and background. Add code to remove the splash after
11184         its initial showing.
11185
11186         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11187         (create_forms): no longer call Dialogs::showSplash.
11188
11189 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11190
11191         * .cvsignore: add version_info.h
11192
11193 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11194
11195         * version_info.h.in: new file
11196
11197         * Makefile.am: add version_info.h.in
11198
11199         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11200         version_info.h instead of VERSION_INFO
11201
11202 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11203
11204         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11205         The ERT inset now returns string().
11206
11207 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11208
11209         * lyxtext.h, text.C (selectNextWord): renamed as
11210         selectNextWordToSpellcheck.
11211
11212         * text.C (selectNextWordToSpellcheck): Modified to not select
11213         words inside an ERT inset.
11214
11215 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11216
11217         * lyx_cb.C (MenuLayoutSave): change a bit the question
11218
11219         * sp_base.h: include <sys/types.h>
11220
11221 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11222
11223         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11224
11225 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11226
11227         * several files: fix typos in user-visible strings
11228
11229 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11230
11231         * text2.C (pasteSelection): do not set the selection, since it
11232         will be cleared later. Actually, the intent was to fix the way the
11233         selection was set, but I figured rmoving the code was just as good.
11234
11235 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11236
11237         * FontLoader.C (available): Check if font is available without
11238         loading the font.
11239
11240 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11241
11242         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11243
11244 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11245
11246         * lyxrc.[Ch]: added display_graphics variable and associated code.
11247
11248 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11249
11250         * bufferparams.C (hasClassDefaults): new method. Returns true if
11251         the buffer parameters correspond to known class defaults
11252
11253 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11254
11255         * XFormsView.C (show): set minimum size to the main window.
11256
11257 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11258
11259         * text2.C (copySelection):
11260         (cutSelection):
11261         * lyxfind.C (LyXReplace):
11262         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11263         LyXText::selectionAsString.
11264
11265         * paragraph.C (asString): add "label" argument to the second form
11266
11267         * text2.C (selectionAsString): add "label" argument and pass it to
11268         Paragraph::asString.
11269
11270 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11271
11272         * lyx_main.C (commandLineHelp): remove version information
11273
11274 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11275
11276         * lyx_main.C: add -version commandline option
11277
11278 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11279
11280         * paragraph.h: make the optional constructor arg required instead.
11281         some modifications to other files because of this.
11282
11283         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11284
11285         * lyxserver.C (C_LyXComm_callback): make it static
11286
11287         * lyx_main.C (error_handler): make it static
11288
11289         * lyx_gui.C (LyX_XErrHandler): make it static
11290
11291         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11292
11293         * WorkArea.C: make the extern "C" methods static.
11294
11295         * Makefile.am (lyx_LDADD): simplify
11296
11297 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11298
11299         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11300         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11301
11302         * LyXAction.C (init):
11303         * lyxfunc.C (dispatch): associated code removal.
11304
11305 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11306
11307         * lyxfont.h (isSymbolFont): shut off warning
11308
11309         * text.C (setHeightOfRow):
11310         (getVisibleRow): fix crash with empty paragraphs which have a
11311         bottom line
11312
11313 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11314
11315         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11316         code.
11317
11318 2001-09-04  José Matos  <jamatos@fep.up.pt>
11319         * buffer.C
11320         * buffer.h
11321         * tabular.C (docbook): rename docBook method to docbook.
11322
11323 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11324
11325         * Makefile.am: add dependencies to main.o.
11326
11327 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11328
11329         * FontLoader.C (available): Return false if !lyxrc.use_gui
11330
11331 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11332
11333         * FontInfo.C (query):
11334         * converter.C (view):
11335         * importer.C (Import):
11336         * exporter.C (Export): Can not -> cannot.
11337
11338 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11339
11340         * BufferView_pimpl.C: allow to create index inset even if
11341           string is empty
11342
11343 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11344
11345         * buffer.C (getLists): replace boost::tie code with an explicit pair
11346         as boost::tie can break some compilers.
11347
11348         * iterators.h: Added a std:: declaration to the return type of
11349         ParIterator::size.
11350
11351 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11352
11353         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11354           case.
11355
11356 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11357
11358         * iterators.[Ch]: New files. Provide paragraph iterators.
11359
11360         * buffer.C (changeLanguage): Use paragraph iterators.
11361         (isMultiLingual): ditto
11362
11363         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11364
11365 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11366
11367         * FontLoader.C: Support for cmr font.
11368
11369 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11370
11371         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11372         (available): New method.
11373
11374         * FontInfo.C (getFontname): Use scalable fonts even when
11375         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11376         found.
11377
11378 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11379
11380         * converter.C (Formats::view): reverted! Incorrect fix.
11381
11382 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11383
11384         * converter.C (Formats::view): only output the -paper option
11385         if the dvi viewer is xdvi, thereby fixing bug #233429.
11386
11387 2001-08-23  Herbert Voss  <voss@perce>
11388
11389         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11390
11391 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11392
11393         * Spacing.h (Spacing): Set space to Default on in the default
11394         constructor.
11395
11396 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11397
11398         * vc-backend.h (RCS::versionString): add RCS to version
11399         (CVS::versionString): add CVS to version
11400
11401         * vc-backend.C (scanMaster): do not add CVS to version.
11402         (scanMaster): do not add RCS to version
11403
11404         * lyxvc.C (versionString): new method
11405
11406         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11407
11408 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11409
11410         * Spacing.C (set): initialize fval
11411
11412 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11413
11414         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11415         " or \.
11416
11417 2001-08-16  Juergen Vigna  <jug@sad.it>
11418
11419         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11420
11421 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11422
11423         * BufferView_pimpl.C:
11424         * figureForm.C:
11425         * lyxtext.h:
11426         * text2.C: setParagraph takes linespacing now
11427
11428 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11429
11430         * LyxAction.C: add internal LFUN_CITATION_INSERT
11431
11432         * LyXView.C: actually apply fix
11433
11434         * bufferlist.C: fix open non-existent file
11435
11436         * lyxfind.C: fix indentation
11437
11438         * lyxfunc.C: remove unneeded assert, fix typo
11439
11440 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11441
11442         * MenuBackend.C: use "Floatname List"
11443
11444 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11445
11446         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11447         when converting LaTeX layout to insetERT.
11448         Generate a non-collapsed float when reading old float
11449
11450 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11451
11452         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11453         ERT insets.
11454
11455 2001-08-13  Juergen Vigna  <jug@sad.it>
11456
11457         * text.C (fill): return 0 instead of 20 as this seems to be the more
11458         correct value.
11459
11460 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11461
11462         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11463         lyxrc.font_norm.
11464
11465 2001-08-13  Juergen Vigna  <jug@sad.it>
11466
11467         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11468         casesensitive off.
11469         (SearchBackward): comment out the unlocking of the inset_owner this
11470         should not be needed!
11471
11472 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11473
11474         * Many files: Remove inherit_language, and add latex_language
11475
11476         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11477         collapsible insets.
11478
11479 2001-08-10  Juergen Vigna  <jug@sad.it>
11480
11481         * text.C (prepareToPrint): fixed hfill-width in draw!
11482
11483         * BufferView2.C (selectLastWord): save the selection cursor as this
11484         now is cleared in the function LyXText::clearSelection!
11485
11486 2001-08-08  Juergen Vigna  <jug@sad.it>
11487
11488         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11489         BACKSPACE type functions.
11490
11491         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11492         is only cutted from the document but not put in the cut-buffer, where
11493         still the old stuff should be.
11494
11495         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11496
11497         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11498
11499         * tabular.C (SetWidthOfCell): fixed special case where the width
11500         was not updated!
11501         (LeftLine): handle '|' in align_special.
11502         (RightLine): ditto
11503         (LeftAlreadyDrawed): ditto
11504         (SetWidthOfCell): ditto
11505
11506 2001-08-07  Juergen Vigna  <jug@sad.it>
11507
11508         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11509
11510 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11511
11512         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11513         * lyxlex.[hC]: ditto
11514
11515 2001-08-06  Juergen Vigna  <jug@sad.it>
11516
11517         * text.C (getVisibleRow): fix up row clearing a bit.
11518
11519 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11520
11521         * minibuffer.C: make sure the X server sees the changes in the input.
11522
11523 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11524
11525         * paragraph.C (getFont): split into...
11526         (getLabelFont): this
11527         (getLayoutFont): and this
11528         * paragraph_pimpl.C (realizeFont): calling this
11529
11530         * text2.C (getFont): split into...
11531         (getLayoutFont): this
11532         (getLabelFont): and this
11533         (realizeFont): all three calling this
11534
11535         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11536         files where used.
11537
11538 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11539
11540         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11541
11542 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11543
11544         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11545         layouts from the Quote inset insertion.
11546
11547 2001-08-03  Juergen Vigna  <jug@sad.it>
11548
11549         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11550
11551         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11552         only if status not is already CHANGED_IN_DRAW (second level).
11553
11554         * text.C (draw): don't set the need_break_row when inside an
11555         InsetText LyXText.
11556
11557 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11558
11559         * buffer.C (parseSingleLyXformat2Token): handle more latex
11560         conversion cases.
11561
11562         * bufferview_funcs.[hC]: change function names to
11563         begin with small char, adjust other files.
11564
11565 2001-08-02  André Pönitz <poenitz@gmx.net>
11566
11567         * lyxfunc.C:
11568         BufferView_pimpl.C: remove broken special code for math-greek
11569
11570 2001-08-02  Juergen Vigna  <jug@sad.it>
11571
11572         * BufferView_pimpl.C (update): redone this function so that we
11573         update the text again if there was a CHANGE_IN_DRAW.
11574
11575         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11576         (drawFromTo): added a new internal bool which is used by draw() and
11577         redraw() function.
11578         (general): some cursor drawing problems fixed.
11579
11580 2001-08-01  Juergen Vigna  <jug@sad.it>
11581
11582         * lyxfind.C (LyXFind): fixed
11583         (SearchForward): ditto
11584         (SearchBackward): ditto
11585
11586         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11587         spurius drawing of the cursor in the main area.
11588
11589         * text2.C (status): small fix which could lead to a segfault!
11590         (clearSelection): remove unneeded BufferView param.
11591
11592 2001-08-01  André Pönitz <poenitz@gmx.net>
11593
11594         * lyxfunc.C: small change due to changed mathed interface
11595
11596 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11597
11598         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11599
11600 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11601
11602         * lyxfunc.c: fail gracefully if file doesn't exist
11603
11604         * LyXSendto.C:
11605         * buffer.C:
11606         * lyxfunc.C:
11607         * BufferView_pimpl.C: IsDirWriteable() proto changed
11608
11609         * LyXView.C: fix updateWindowTitle() to store the last title
11610
11611 2001-07-31  Juergen Vigna  <jug@sad.it>
11612
11613         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11614         the font (wrong since using of Paragraph::highestFontInRange).
11615
11616         * paragraph.C (highestFontInRange): added a default_size parameter.
11617
11618         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11619         (setHeightOfRow): reformat
11620
11621 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11622
11623         * converter.[hC] + affected files: move to (inital-char)lowercase
11624         function names.
11625
11626         * ParagraphParameters.C (ParagraphParameters): remove commented code
11627
11628         * PainterBase.[Ch]: remove commented code
11629
11630         * LaTeXFeatures.h: add "bool floats" for float.sty
11631
11632         * LaTeXFeatures.C (LaTeXFeatures): init floats
11633         (require): handle float
11634         (getPackages): do it with floats
11635
11636 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11637
11638         * BufferView_pimpl.C (Dispatch): improve handling of
11639         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11640
11641         * commandtags.h: #include lyxfont.h here temporarily to avoid
11642         keybinding bug.
11643
11644         * bufferlist.h: include LString.h here.
11645
11646 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11647
11648         * text2.C (getStringToIndex): new method.
11649
11650 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11651
11652         * *: Reduced header file dependencies all over.
11653
11654 2001-07-30  Baruch Even  <baruch@lyx.org>
11655
11656         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11657
11658 2001-07-29  Baruch Even  <baruch@lyx.org>
11659
11660         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11661
11662 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11663
11664         * ParameterStruct.h (endif): add a default constructor to make
11665         sure that all variables is initialized.
11666
11667         * ParagraphParameters.C (ParagraphParameters): adjust
11668
11669 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11670
11671         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11672         index; also, check that there is something to index, and that it
11673         does not span over several paragraphs.
11674         (doubleClick): use WHOLE_WORD_STRICT for double click.
11675
11676         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11677
11678         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11679         scheme.
11680
11681 2001-07-26  Baruch Even  <baruch@lyx.org>
11682
11683         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11684         an InsetFig figure, backwards compatible reading of old figure code.
11685
11686 2001-07-27  Juergen Vigna  <jug@sad.it>
11687
11688         * text2.C: font.realize function adaption.
11689
11690         * text.C (draw): add a warnings lyxerr text if needed.
11691
11692         * layout.C: font.realize function adaption.
11693
11694         * language.C: add inherit_language and implement it's handlings
11695
11696         * bufferview_funcs.C (StyleReset): remove language parameter from
11697         font creation (should be language_inherit now).
11698
11699         * bufferparams.C (writeFile): handle ignore_language.
11700
11701         * paragraph.C (getFontSettings): the language has to be resolved
11702         otherwise we have problems in LyXFont!
11703
11704         * lyxfont.C (lyxWriteChanges): added document_language parameter
11705         (update): removed unneeded language parameter
11706
11707         * paragraph.C (validate): fixed wrong output of color-package when
11708         using interface colors for certain fonts in certain environments,
11709         which should not seen as that on the final output.
11710
11711 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11712
11713         * BufferView_pimpl.C:
11714         * Thesaurus.h:
11715         * Thesaurus.C:
11716         * Makefile.am:
11717         * commandtags.h:
11718         * LyXAction.C: add thesaurus support
11719
11720         * lyxfind.h:
11721         * lyxfind.C: add "once" parameter, for thesaurus, to not
11722           move to the next match
11723
11724 2001-07-26  Juergen Vigna  <jug@sad.it>
11725
11726         * lyxfont.C (realize): honor ignore_language too!
11727         (resolved): ditto.
11728
11729         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11730
11731         * text.C (draw): one place more for ignore_language to not draw
11732         itself!
11733
11734 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11735
11736         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11737
11738 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11739
11740         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11741         the minipage conversion problem.
11742
11743 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11744
11745         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11746         insert an inset.
11747
11748 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11749
11750         * BufferView.h: don't forward declare WorkArea
11751
11752         * BufferView.C: don't include WorkArea.h
11753
11754 2001-07-25  André Pönitz <poenitz@gmx.net>
11755
11756         * commandtags.h:
11757         * LyXAction.C:
11758         * lyxfunc.C:  new LFUN 'math-space'
11759
11760         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11761
11762 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11763
11764         * text2.C (toggleInset): call open/close
11765
11766 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11767
11768         * lyxfunc.C (dispatch): add debug for the disabled case
11769
11770         * font.C (buttonText): make similar to rectText
11771
11772         * buffer.C (readInset): comment out parsing of insetlist and
11773         insttheorem
11774
11775         * PainterBase.C (rectText): small correction
11776
11777         * BufferView_pimpl.C: comment out insettheorem and insetlist
11778         * LyXAction.C: ditto
11779         * commandtags.h: ditto
11780
11781 2001-07-24  Juergen Vigna  <jug@sad.it>
11782
11783         * text.C (draw): honor the ignore_language.
11784
11785         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11786
11787 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11788
11789         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11790         char inset.
11791
11792 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11793
11794         * lyxtext.h: remove unused (and unimplemented) methods
11795
11796 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11797
11798         * text.C (getVisibleRow): honor background color
11799
11800         * PainterBase.h:
11801         * Painter.h: remove default color argument for fillRectangle
11802
11803         * text.C (backgroundColor): new method
11804
11805 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11806
11807         * text.C (getVisibleRow): adjust
11808
11809         * font.[Ch] (rectText): new method, metrics
11810         (buttonText): new method, metrics
11811
11812         * PainterBase.[hC]: make rectText and buttonText always draw and take
11813         fewer paramteres.
11814
11815 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11816
11817         * ToolbarDefaults.C (read):
11818         * MenuBackend.C (read): allow escaping in all strings
11819
11820         * BufferView_pimpl.C (insertAndEditInset): new method.
11821         (Dispatch): use insertAndEditInset whenever appropriate.
11822
11823         * BufferView_pimpl.C (insertNote): removed
11824
11825         * BufferView_pimpl.C (smartQuote): new method, moved from
11826         BufferView; if an insetquote cannot be inserted, insert a '"'
11827         character instead.
11828
11829         * BufferView2.C: remove insertCorrectQuote();
11830
11831         * lyxfunc.C (getStatus): Add support for all remaingin
11832         inset-insert lfuns.
11833
11834         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11835
11836         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11837         command (necessary to pass " as parameter of self-insert.
11838
11839         * text.C (selectWordWhenUnderCursor):
11840         (selectWord): add word_location parameter
11841         (selectWordWhenUnderCursor): same + remove special code for word
11842         boundary.
11843         (selectNextWord): use kind() to guess type of insetspecialchar,
11844         not latex().
11845
11846         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11847         (insertErtContents): create ert insets as collapsed.
11848         (readInset): better compatibility code for Info inset.
11849
11850 2001-07-20  Juergen Vigna  <jug@sad.it>
11851
11852         * lyxfunc.C (dispatch): use always LyXFind now!
11853
11854         * text2.C (init): add a reinit flag so that the LyXText can be
11855         reinited instead of deleted and reallocated (used in InsetText).
11856
11857         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11858
11859         * text.C: ditto
11860
11861         * text2.C: ditto
11862
11863 2001-07-18  Juergen Vigna  <jug@sad.it>
11864
11865         * text.C (selectNextWord): handle insets inside inset by calling
11866         always the bv->text functions so that we can go up the_locking_inset!
11867
11868         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11869         in strange locations when inside an inset!
11870
11871         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11872         handling to include insets.
11873
11874         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11875
11876 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11877
11878         * LyXAction.C (init):
11879         * commandtags.h:
11880         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11881         LIGATURE_BREAK, since the name is so stupid.
11882
11883 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11884
11885         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11886         InsetInfos.
11887
11888         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11889
11890         * sp_form.[Ch]: remove.
11891
11892         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11893
11894         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11895         InsetInfo.
11896
11897         * src/buffer.C (readInset): ditto.
11898
11899 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11900
11901         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11902         menuSeparator(), endOfSentenceDot(), ldots() and
11903         hyphenationPoint(), which are therefore removed.
11904         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11905
11906         * LyXAction.C (init):
11907         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11908
11909         * paragraph.C (getWord): removed.
11910
11911         * BufferView_pimpl.C (Dispatch): use last word or selection for
11912         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11913
11914         * lyx_main.C (queryUserLyXDir): do not ask before creating
11915         user_dir, except if it has been named explicitely.
11916
11917 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11918
11919         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11920         a document of zero size.
11921
11922 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11923
11924         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11925         approriately in the c-tor and in require().
11926         (getPackages): output the appropriate LaTeX for natbib support.
11927
11928         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11929         variables "use_natbib" and "use_numerical_citations" when reading the
11930         LyX file.
11931         (readInset): read the various natbib cite commands.
11932         (validate): white-space change.
11933
11934         * bufferparams.[Ch]: new variables "bool use_natbib" and
11935         "bool use_numerical_citations".
11936         (writeFile): output them in the LyX file.
11937
11938 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11939
11940         * lyxfunc.C (getStatus): add support for all the inset insertion
11941         commands.
11942
11943         * text2.C (insertInset):
11944         * paragraph.C (insetAllowed):
11945         * BufferView_pimpl.C (insertInset): update to take in account the
11946         renaming of insertInsetAllowed
11947
11948         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11949
11950         * text2.C (getInset): new method. returns inset at cursor position.
11951
11952         * BufferView_pimpl.C (Dispatch): changes because of this.
11953
11954         * LyXAction.C (init): rename open-stuff to inset-toggle.
11955
11956         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11957
11958         * text2.C (toggleInset): renamed from openStuff; use
11959         Inset::open().
11960
11961 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11962
11963         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11964
11965         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11966
11967 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11968
11969         * buffer.C (readLyXformat2): Add filename to the error dialog
11970
11971 2001-07-18  Juergen Vigna  <jug@sad.it>
11972
11973         * tabular.C (GetCellNumber): put an assert here instead of the check!
11974
11975 2001-07-17  Juergen Vigna  <jug@sad.it>
11976
11977         * BufferView_pimpl.C (toggleSelection): adapted too.
11978
11979         * text.C (selectNextWord): adapted for use with insets.
11980         (selectSelectedWord): ditto
11981
11982 2001-07-17  Juergen Vigna  <jug@sad.it>
11983
11984         * sp_spell.C (PSpell): fix initialitation order.
11985
11986 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11987
11988         * paragraph.C: spacing
11989
11990 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11991
11992         * sp_spell.C: repair language selection for pspell
11993
11994 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11995
11996         * lyxfunc.h: change more methods to begin with lower char.
11997
11998 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11999
12000         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12001         for unknown layouts.
12002
12003 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12004
12005         * buffer.C (readLyXformat2): Generate an error dialog if there are
12006         unknown layouts.
12007
12008 2001-07-16  Juergen Vigna  <jug@sad.it>
12009
12010         * sp_spell.C: always compile ISpell part.
12011
12012         * lyxrc.C: added use_pspell entry and it's handling.
12013
12014 2001-07-13  Juergen Vigna  <jug@sad.it>
12015
12016         * sp_spell.C: removed double includes.
12017
12018 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12019
12020         Consistent use of Lsstream.h:
12021         * Lsstream.h: added using std::stringstream for consistencies sake.
12022
12023         * buffer.C: removed using std::stringstream
12024
12025         * lyxfont.C (stateText):
12026         * paragraph.C (asString):
12027         * text.C (selectNextWord, selectSelectedWord):
12028         * text2.C (setCounter):
12029         * vspace.C (asString, asLatexString):
12030         std::ostringstream -> ostringstream.
12031
12032 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12033
12034         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12035         * commandtags.h: add LFUN_HELP_ABOUTLYX
12036         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12037
12038 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12039
12040         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12041         cursorToggle()
12042         * lyx_gui_misc.C: remove spellchecker
12043         * lyxfunc.C: showSpellchecker
12044         * sp_base.h: added
12045         * sp_ispell.h: added
12046         * sp_pspell.h: added
12047         * sp_spell.C: added
12048         * sp_form.[Ch]: removed
12049         * spellchecker.[Ch]: removed
12050
12051 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12052
12053         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12054         is set.
12055         (simpleTeXSpecialChars): Simply print the input character without
12056         any special translation if pass_thru is set.
12057
12058         * layout.h: Added bool pass_thru to layout class for being able to
12059         implement pass through of a paragraph for Literate Programming.
12060
12061         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12062         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12063         * layout.C (Read): add "passthru" to list of layout tags and add
12064         code to set the pass_thru boolean when it is read.
12065
12066 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12067
12068         * trans_decl.h: remove allowed from KmodInfo
12069
12070         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12071         remove allowed code
12072         (Load): adjust
12073
12074         * paragraph_pimpl.C (erase): use boost::prior
12075
12076         * Painter.C (text): use data() instead of c_str() when length is
12077         also provided.
12078         * WorkArea.C (putClipboard): ditto
12079         * font.h (width): ditto
12080
12081         * BufferView2.C: use it-> instead of (*it). for iterators
12082         * texrow.C: ditto
12083         * paragraph_pimpl.C: ditto
12084         * paragraph.C: ditto
12085         * minibuffer.C: ditto
12086         * language.C: ditto
12087         * kbmap.C: ditto
12088         * encoding.C: ditto
12089         * counters.C: ditto
12090         * converter.C: ditto
12091         * chset.C: ditto
12092         * Variables.C: ditto
12093         * TextCache.C: ditto
12094         * MenuBackend.C: ditto
12095         * LyXAction.C: ditto
12096         * LColor.C: ditto
12097         * FloatList.C: ditto
12098         * DepTable.C: ditto
12099         * ColorHandler.C (LyXColorHandler): ditto
12100
12101 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12102
12103         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12104
12105         * text2.C (openStuff): reintroduce this method (which had been
12106         nuked in NEW_INSETS frenzy).
12107
12108         * lyxfunc.C (Dispatch): when an action has not been handled, use
12109         its name in the error message, not its number.
12110
12111         * paragraph.C (inInset): change method name to begin with lowercase.
12112
12113         * undo_funcs.C:
12114         * text2.C: updates because of this.
12115
12116 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12117
12118         * ToolbarDefaults.C (add): add spaces in error message
12119
12120 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12121
12122         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12123         (readLyXformat2): rename return_par to first_par, use lyxlex's
12124         pushToken and remove the manual push handling.
12125         (parseSingleLyXformat2Token): add another ert comp. variable:
12126         in_tabular, rename return_par to first_par. handle newlines better
12127
12128 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12129
12130         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12131
12132 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12133
12134         * text2.C (getParFromID): removed
12135
12136         * buffer.C (getParFromID): new method moved form lyxtext.
12137         * BufferView2.C (insertErrors): adjust
12138         (setCursorFromRow): adjust
12139         * BufferView_pimpl.C (restorePosition): adjust
12140         * lyxfunc.C (Dispatch): adjust
12141         * undo_funcs.C (textUndo): adjust
12142         (textRedo): adjust
12143         (textHandleUndo): adjust
12144         (textHandleUndo): adjust
12145
12146 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12147
12148         * buffer.C: up' the LYX_FORMAT
12149
12150         * lyxfont.h: turn NO_LATEX on as default
12151
12152         * buffer.C (insertErtContents): new methods of tex style compability.
12153         (parseSingleLyXformat2Token): use it several places.
12154         * tabular.C (OldFormatRead): and here
12155
12156 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12157
12158         * text2.C: remove some commented code.
12159         reindent file.
12160
12161         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12162         * trans.C: changes because of the above.
12163
12164 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12165
12166         * text2.C (setCounter): Fix counters bug with bibliography layout.
12167
12168 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12169
12170         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12171         own member functions
12172         (simpleTeXSpecialChars): ditto
12173
12174 2001-07-06  Juergen Vigna  <jug@sad.it>
12175
12176         * a lot of files: changed the access to LyXText::status and the
12177         call of undo-functions.
12178
12179         * undo.[Ch]: added a inset_id to the undo informations.
12180
12181         * undo_funcs.[Ch]: added and moved here all undo functions.
12182
12183         * lyxtext.h: give the status enum a weight, made status_ a private
12184         variable and made accessor functions for it, removed the whole bunch
12185         of undo-functions as they are now in their own file, make some
12186         functions publically available. Added function ownerParagraph with
12187         int parameter.
12188
12189         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12190         made InInset() a const function, added getParFromID() function.
12191
12192         * buffer.[Ch]: added const version for inset_iterator functions,
12193         added getInsetFromID() function.
12194
12195         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12196         changed undo functions for new version.
12197
12198 2001-07-05  Juergen Vigna  <jug@sad.it>
12199
12200         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12201         unknow mechanism does not call the proper constructor but only this
12202         one also if I request the other!?
12203
12204 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12205
12206         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12207
12208         * text2.C (LyXText): use initialization lists.
12209
12210         * lyxtext.h (Selection): initialize set_ and mark_
12211         (init): remove method
12212
12213 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12214
12215         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12216
12217 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12218
12219         * screen.[Ch]: change method names to begin with lowercase
12220
12221         * BufferView_pimpl.C (updateScrollbar): simplify further and
12222         hopefully make it a bit faster.
12223
12224 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12225
12226         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12227         calling directly xforms functions.
12228
12229         * Painter.C (Painter):
12230         * lyx_cb.C (MenuWrite):
12231         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12232         fl_display.
12233
12234         * lyx_gui.C: remove bogus guiruntime extern declaration.
12235
12236 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12237
12238         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12239         in NEW_INSETS
12240         (redoDrawingOfParagraph): ditto
12241         (redoParagraphs): ditto
12242         (cutSelection): don't create a object for CutAndPaste use the
12243         static method directly
12244         (pasteSelection): ditto
12245
12246         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12247         LyXview (+ rename)
12248
12249 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12250
12251         * modifications to some other files because of this.
12252
12253         * Makefile.am (lyx_SOURCES): add XFormsView
12254
12255         * XFormsView.[Ch]: new files
12256
12257         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12258         the main window. Move the gui dependent stuff to XFormsView
12259
12260 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12261
12262         * tabular.C (GetCellInset): update cur_cell also in the row/col
12263         version of this function.
12264
12265         * lyxfunc.C: no need to include figure_form.h here.
12266
12267         * FontLoader.h:
12268         * lyxfunc.h:
12269         * lyxscreen.h:
12270         * text2.C:
12271         * lyxvc.C: no need to include forms.h here.
12272
12273 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12274
12275         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12276
12277         * lyxfunc.C (Dispatch):
12278         * Spacing.C (set):
12279         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12280         constructor argument.
12281
12282 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12283
12284         * paragraph.C (Paragraph): dont't clear, and just set layout.
12285         (makeSameLayout): use params's copy contructor.
12286
12287         * ParagraphParameters.[Ch] (makeSame): delete method
12288
12289 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12290
12291         * Variables.[Ch]: fix indentation, rename set to isSet
12292
12293 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12294
12295         * lyxfunc.C (Dispatch): fix typo
12296
12297 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12298
12299         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12300         upper_bound.
12301
12302         * bufferlist.C: include assert.h for emergencyWrite().
12303
12304 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12305
12306         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12307           give up at last (bug #425202) !
12308
12309 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12310
12311         * lyx_gui_misc.C:
12312         * sp_form.h:
12313         * sp_form.C:
12314         * spellchecker.h:
12315         * spellchecker.C: strip spellchecker options and bring up
12316           preferences tab instead
12317
12318 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12319
12320         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12321         the istringstream constructor
12322
12323 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12324
12325         * paragraph.C (getLayout): fix return value
12326
12327         * paragraph.h: do not declare getLayout as inline.
12328
12329         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12330
12331 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12332
12333         * lyxcursor.h (operator<): new func
12334         (operator>): new func
12335         (operator>=): new func
12336         (operator<=): new func
12337
12338         * text.C (changeCase): use selection.start and selection.end
12339         (changeRegionCase): require from to be <= to. Require par to be a
12340         valid paragraph.
12341
12342         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12343
12344 2001-06-27  Juergen Vigna  <jug@sad.it>
12345
12346         * text.C (cursorLeftOneWord): changed to return the cursor and added
12347         overlay with BufferView * parameter which calls this one.
12348         (getWord): added
12349         (selectWord): use new getWord function.
12350         (changeCase): renamed from changeWordCase as and extended to work
12351         also on selections.
12352
12353         * lyxtext.h: added enum word_location
12354
12355         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12356         changeCase as this operates now also on selections.
12357
12358 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12359
12360         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12361
12362         * many files: send debug output to Debug::INFO instead of
12363         Debug::ANY.
12364
12365         * converter.C (View):
12366         (Convert):
12367         (Move): send debug output to Debug::FILES instead of console.
12368
12369 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12370
12371         * lyxfunc.C (getStatus): use func_status
12372
12373         * func_status.h: new header, describing the results of
12374         LyXFunc::getStatus;
12375
12376         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12377         LFUN_MATH_HALIGN.
12378
12379 2001-06-25  The LyX Project  <jug@sad.it>
12380
12381         * buffer.C (sgmlOpenTag):
12382         (sgmlCloseTag):
12383         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12384
12385 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12386
12387         * text2.C: remove some dead code
12388
12389         * tabular.C (GetCellInset): store the last cell checked (gotten)
12390
12391         * tabular.h: add the helper for the speedup
12392
12393         * lyxtext.h: remove some dead code
12394
12395 2001-06-26  The LyX Project  <Asger>
12396
12397         * paragraph.C: Change export to LaTeX of alignment to
12398         \begin{center} and family for better roundtrip work with reLyX.
12399
12400         * Tune the math drawing a bit.
12401
12402 2001-06-25  The LyX Project  <Asger>
12403
12404         * LColor.C (LColor): New color for math background. New color
12405         for buttons.
12406
12407 2001-06-25  The LyX Project  <jug@sad.it>
12408
12409         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12410
12411         * lyxfunc.C (Open):
12412         * bufferlist.C (newFile): do not restrict to files ending with
12413         .lyx
12414
12415         * BufferView_pimpl.C (MenuInsertLyXFile):
12416
12417 2001-06-24  The LyX Project  <jug@sad.it>
12418
12419         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12420         of compare_no_case
12421
12422 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12423
12424         * lyxtext.h: rename most methods to begin with a small char.
12425         Lots of changes because of this.
12426
12427         * paragraph.C (Paragraph): do not call fitToSize
12428         (erase): call Pimpl::erase
12429         (insertChar): call Pimpl::insertChar
12430         (insertInset): call Pipl::insertInset
12431         (breakParagraph): do not call fitToSize
12432         (breakParagraphConservative): do not call fitToSize
12433         (fitToSize): remove method
12434
12435         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12436
12437 2001-06-24  The LyX Project  <Asger>
12438
12439         * Fix Qt compilation^2
12440
12441 2001-06-24  The LyX Project  <jug@sad.it>
12442
12443         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12444         depthHook(getDepth()-1).
12445
12446         * paragraph.h:
12447         * ParagraphParameters.h:
12448         * ParameterStruct.h: change type of depth to unsigned int ==
12449         depth_type. Many adaptations to other files before of that.
12450
12451 2001-06-24  The LyX Project  <Asger>
12452
12453         * Fix Qt compilation.
12454
12455 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12456
12457         * paragraph.h: renamed several methods to begin with small letter.
12458         several changes to many parts of the code because of this.
12459
12460 2001-06-23  The LyX Project  <jug@sad.it>
12461
12462         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12463         rewritten to discard all double spaces when KeepEmpty is off
12464         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12465         to only handle newlines but not fiddle with spaces and friends.
12466
12467         * lyxfunc.C (MenuNew): when doing 'new from template', use
12468         template_path as default directory
12469
12470 2001-06-23  The LyX Project  <Asger>
12471
12472         * Clean-up of header file includes all over
12473         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12474
12475 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12476
12477         * paragraph.h: renamed from lyxparagraph.h
12478
12479 2001-06-23  Asger  <lyx@violet.home.sad.it>
12480
12481         * Buffer.h: Removed Buffer::resize
12482         * BufferList.h: Removed BufferList::resize
12483         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12484         the document lazily when we change the width, or the font settings.
12485
12486 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12487
12488         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12489
12490 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12491
12492         * buffer.h: remove out of date comment
12493
12494 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12495
12496         * lyxscreen.h:
12497         * screen.C: fix "theoretical" GC leak
12498
12499 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12500
12501         * LaTeX.C (scanAuxFile):
12502         (deplog): remove trailing \r when reading stream (useful under
12503         win32)
12504
12505 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12506
12507         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12508         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12509         and BufferView::theLockingInset(Inset*), so should use them and not
12510         access bv_->text->the_locking_inset directly.
12511
12512         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12513
12514 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12515
12516         * Makefile.am:
12517         * tex-defs.h: remove old unused file
12518
12519 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12520
12521         * BufferView_pimpl.C: fix typo, remove minibuffer message
12522           when buffer has loaded
12523
12524 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12525
12526         * lyxfunc.C (Dispatch): use stringstream
12527         (MenuNew): use stringstream
12528         (Open): use stringstream
12529
12530         * importer.C (Import): use stringstream
12531
12532         * bufferview_funcs.C (CurrentState): use stringstream
12533
12534         * LaTeX.C (run): use stringstream
12535
12536         * BufferView_pimpl.C (savePosition): use stringstream
12537         (restorePosition): use stringstream
12538         (MenuInsertLyXFile): use stringstream
12539
12540 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12541
12542         * BufferView.C:
12543         * Bullet.C:
12544         * ColorHandler.C:
12545         * FontInfo.C:
12546         * FontLoader.C:
12547         * LColor.C:
12548         * LaTeXFeatures.C:
12549         * Painter.C:
12550         * gettext.C:
12551         * lyx_gui_misc.C:
12552         * lyxserver.C:
12553         * vspace.C: removed // -*- C++ -*- as first line.
12554
12555         * lyxfind.h:
12556         * version.h: added // -*- C++ -*- as first line.
12557
12558 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12559
12560         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12561
12562         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12563         of string
12564
12565 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12566
12567         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12568         of floats.
12569
12570 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12571
12572         * gettext.C: include LString.h even when --disable-nls is on.
12573
12574 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12575
12576         * converter.h (Get): changed argument type from int to
12577         FormatList::size_type to avoid unnecessary conversion.
12578
12579         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12580         before using it.
12581
12582 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12583
12584         * gettext.h: include LString.h even when --disable-nls is on.
12585
12586 2001-06-07  Juergen Vigna  <jug@sad.it>
12587
12588         * text.C (BreakAgain): subst spaces with tabs.
12589
12590         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12591         (resizeInsetsLyXText): set force on resizeLyXText.
12592
12593 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12594
12595         * gettext.h (gettext_init):
12596         (locale_init): use a real definition instead of a macro
12597
12598 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12599
12600         * Bufferview_pimpl.C:
12601         * LColor.h:
12602         * LColor.C: further lcolor tidies
12603
12604 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12605
12606         * BufferView_pimpl.C (updateScrollbar): simplify.
12607
12608         * BufferView2.C: don't include insets/insetinfo.h, change
12609         prototype for insertInset and call the Pimpl version. let
12610         updateInset call Pimpl version.
12611
12612         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12613         gotoInset to BufferView::Pimpl
12614
12615 2001-06-01  Juergen Vigna  <jug@sad.it>
12616
12617         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12618         inside a LockingInset (is the update needed at all?).
12619
12620 2001-05-31  Juergen Vigna  <jug@sad.it>
12621
12622         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12623         here not the old one otherwise how should we compare it afterwards
12624         if it's the same!
12625
12626 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12627
12628         * lyxfont.C:
12629         * tabular.C:
12630         * tabular-old.C:
12631         * FontInfo.C: bring C functions into global namespace when
12632         necessary
12633
12634 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12635
12636         * LString.h: make sure config.h has been loaded before LString.h.
12637
12638         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12639         (one for each char read by EatLine!).
12640
12641         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12642         variables.
12643
12644 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12645
12646         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12647         to the same as the par we break from
12648
12649 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12650
12651         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12652
12653         * MenuBackend.C (expand): also create menu entries for wide
12654         versions of the floats.
12655
12656         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12657
12658         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12659
12660         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12661         frontends/Makefile.am
12662
12663         * text2.C: adjust
12664         * text.C: adjust
12665
12666
12667         * tabular.C (getTokenValue): add std::
12668
12669         * tabular-old.C (getTokenValue): add std::
12670         (getTokenValue): ditto
12671         (getTokenValue): ditto
12672
12673         * screen.C (ToggleSelection): adjust
12674
12675         * lyxtext.h: put selection cursors inside a Selection struct.
12676
12677         * lyxfunc.C (moveCursorUpdate): adjust
12678
12679         * lyxfont.C (latexWriteStartChanges): add std::
12680
12681         * lyxfind.C: adjust
12682
12683         * font.h: delete with(char const *, LyXFont const &)
12684
12685         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12686
12687         * FontInfo.C (getFontname): add std::
12688
12689         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12690         (workAreaButtonPress): adjust
12691         (tripleClick): adjust
12692         (update): adjust
12693         (moveCursorUpdate): adjust
12694         (Dispatch): adjust
12695
12696         * BufferView2.C (gotoInset): adjust
12697
12698 2001-05-30  Juergen Vigna  <jug@sad.it>
12699
12700         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12701         to check pspell I add this as default as I now have new pspell
12702         libraries and they seem to use this.
12703
12704 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12705
12706         * text2.C (CutSelection): make the cursor valid before the call to
12707         ClearSelection.
12708
12709 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12710
12711         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12712         relied on 0 terminated strings and other horrors. Bug found due to
12713         the new assert in lyxstring!
12714
12715         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12716         KP_ keys.
12717
12718 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12719
12720         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12721         to latinkeys.bind.
12722
12723         * lyxfunc.C (processKeySym): change method of getting to the
12724         self-insert char.
12725
12726         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12727         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12728         * BufferView_pimpl.[Ch]: here as private methods.
12729
12730 2001-05-28  Juergen Vigna  <jug@sad.it>
12731
12732         * text.C (SetHeightOfRow): added the update() call again as it is
12733         needed to initialize inset dimensions!
12734
12735 2001-05-16  Juergen Vigna  <jug@sad.it>
12736
12737         * text2.C (SetCharFont): Add new function with BufferView * and
12738         bool toggleall parameters for setting insets internal fonts.
12739         (SetFont): Freeze the undo as we may change fonts in Insets and
12740         all this change should be inside only one Undo!
12741
12742         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12743         setting font's in insets as for them we have the SetFont function!
12744
12745 2001-05-15  Juergen Vigna  <jug@sad.it>
12746
12747         * text2.C (ClearSelection): to be sure we REALLY don't have any
12748         selection anymore!
12749
12750         * tabular.C (TeXCellPreamble): fixed the left border problem for
12751         multicolumn cells.
12752
12753 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12754
12755         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12756         dependancy file
12757
12758 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12759
12760         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12761         LFUN_BREAKPARAGRAPH.
12762
12763         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12764         help test to "internal only", similar for LFUN_INSERT_URL
12765
12766         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12767         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12768         auto_region_delete and deadkeys.
12769
12770 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12771
12772         * LColor.h:
12773         * LColor.C: remove some dead entries, tidy a little
12774
12775 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12776
12777         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12778         commented code.
12779         (Dispatch): implement LFUN_ESCAPE
12780
12781         * commandtags.h: add LFUN_ESCAPE
12782
12783         * LyXAction.C (init): add entry for LFUN_ESCAPE
12784
12785         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12786         Remove commented code.
12787         (insertNote): moved here
12788         (open_new_inset): moved here
12789
12790         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12791         BufferView_pimpl
12792
12793 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12794
12795         * kbmap.C (findbinding): clean it up and make it work correctly.
12796
12797         * lyx_main.C (init): do not pass argc and argv as parameters
12798
12799 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12800
12801         * buffer.C: fix path for OS/2 & Win32
12802
12803         * lyx_gui.C:
12804         * lyx_main:
12805         * lyx_main.C: Added os:: class.
12806
12807         * os2_defines.h: update
12808
12809 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12810
12811         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12812         better by trying again with reduced state.
12813
12814 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12815
12816         * lyxrc.C (read): print error about invalid key sequence only when
12817         debugging (because not all latinX keysyms are known to some X
12818         servers)
12819
12820         * kbsequence.C (getiso): add a few std:: qualifiers
12821         (getiso): comment out extra return statement.
12822
12823 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12824
12825         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12826         handling.
12827         (Dispatch): enhance the accent inset a bit. (not perfect)
12828
12829 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12830
12831         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12832
12833 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12834
12835         * bufferlist.C (emergencyWrite): fix assert() call
12836
12837 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12838
12839         * text.C (InsertChar): Added trivial patch to only send the "you
12840         can not do multiple spaces this way" message once during a
12841         session.
12842
12843 2001-05-08  Baruch Even  <baruch@lyx.org>
12844
12845         * Makefile.am: Changed order of libraries to get LyX to link properly
12846         with the gnome frontend.
12847
12848 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12849
12850         * LaTeXFeatures.h: add a std:: qualifier
12851
12852 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12853
12854         * paragraph.C (String): use stringstream
12855
12856 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12857
12858         * paragraph.C (writeFile): remove footflag arg
12859
12860         * buffer.C (makeLaTeXFile): use stringstream
12861         (latexParagraphs): remove footnot gurba
12862
12863         * LaTeXFeatures.C (getPackages): use stringstream
12864         (getMacros): likewise
12865         (getTClassPreamble): likewise
12866         (getFloatDefinitions): new method
12867
12868         * paragraph.C (writeFile): reindent
12869         (Erase): reindent
12870
12871         * WorkArea.h: revert the xpos + etc changes.
12872
12873         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12874
12875         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12876
12877         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12878         (pasteSelection): likewise
12879         * text2.C (CreateUndo): likewise
12880
12881 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12882
12883         * minibuffer.C (peek_event): temporarily reduce the functionality
12884         of the minibuffer (to allow args on lfuns)
12885
12886         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12887         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12888
12889         * buffer.C (readInset): add compability reading of old float
12890         lists, add reading of new style float list.
12891         (readInset): avoid reevaluation of inscmd.getCmdName()
12892         (getLists): reindent
12893
12894         * MenuBackend.C (MenuItem): implement parsing of
12895         md_floatlistinsert and md_floatinsert.
12896         (expand::LastFiles): move initalizaton of iterators out of loop,
12897         avoid reevaluation.
12898         (expand::Documents): introduce typdedef vector<string> Strings,
12899         and use it.
12900         (expand::ExportFormats): introduce typedef vector<Format const *>
12901         Formats, and use it.
12902         (expand): implement FloatListInsert and FloatInsert.
12903
12904         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12905         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12906         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12907
12908         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12909         handling.
12910         (Dispatch::LFUN_FLOAT_LIST): implement
12911
12912 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12913
12914         * LaTeX.C (run): Fix problem with --export code.
12915
12916 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12917
12918         * BufferView.[Ch] (workarea): removed.
12919         (getClipboard) new method; wrapper for workarea()->getClipboard()
12920
12921         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12922         bug.
12923
12924         * WorkArea.h (width, height, xpos, ypos): These methods all
12925         returned the dimensions of the work_area sub-area of WorkArea,
12926         resulting in a position error if the WorkArea were resized. Now
12927         return the dimensions of the entire WorkArea.
12928
12929         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12930
12931 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12932
12933         * LaTeX.C (deplog): correct the syntax of regex reg1
12934
12935 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12936
12937         * undo.C: remove !NEW_INSETS cruft
12938
12939 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12940
12941         * text2.C: remove !NEW_INSETS cruft
12942
12943         * text.C: remove !NEW_INSETS cruft
12944
12945         * tabular.C: remove !NEW_INSETS cruft
12946
12947         * spellchecker.C: remove !NEW_INSETS cruft
12948
12949         * lyxtext.h: remove !NEW_INSETS cruft
12950
12951         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12952
12953         * lyxfunc.C: remove !NEW_INSETS cruft
12954
12955         * lyxfind.C: remove !NEW_INSETS cruft
12956
12957         * lyx_cb.C: remove !NEW_INSETS cruft
12958
12959         * figureForm.C: remove  !NEW_INSETS cruft
12960
12961         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12962
12963         * buffer.[Ch]: remove !NEW_INSETS cruft
12964
12965         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12966
12967         * CutAndPaste.C: remove !NEW_INSETS cruft
12968
12969         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12970
12971         * BufferView2.C: remove !NEW_INSETS cruft
12972
12973         * BufferView.h: remove !NEW_INSETS cruft
12974
12975 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12976
12977         * Lsstream.h: include LString.h before the sstream headers to
12978         fix problem with gcc 2.95.3 and lyxstring
12979
12980 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12981
12982         * lyx_main.C: add using directives when needed for C functions
12983         declared in std:: namespace.
12984
12985 2001-04-27  Juergen Vigna  <jug@sad.it>
12986
12987         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12988         (SetHeightOfRow): comment out the update call should not be needed!
12989
12990 2001-04-13  Juergen Vigna  <jug@sad.it>
12991
12992         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12993         (LyXTabular): tried to minimize operator= operations (and realized
12994         hopfully Lars wish).
12995
12996 2001-04-27  Juergen Vigna  <jug@sad.it>
12997
12998         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12999
13000 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13001
13002         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13003
13004         * buffer.C (readInset): hack to make listof algorithm work
13005
13006         * BufferView_pimpl.C: hack to make listof algorithm work
13007
13008 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13009
13010         * LyXAction.C: removed all !NEW_INSETS cruft
13011         (init): moved lfun_item in method
13012
13013         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13014
13015 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13016
13017         * BufferView2.C (theLockingInset): white space.
13018
13019 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13020
13021         * minibuffer.C: include <iostream>
13022
13023         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13024
13025         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13026
13027         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13028
13029         * text.[Ch] (TransposeChars): new method
13030
13031 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13032
13033         * call message directly through LyXView instead of through LyXFunc
13034         * BufferView2.C: adjust
13035         * BufferView_pimpl.C: adjust
13036         * FontLoader.C: adjust
13037         * buffer.C: adjust
13038         * bufferview_funcs.C: adjust
13039         * converter.C: adjust
13040         * figureForm.C: adjust
13041         * importer.C: adjust
13042         * lyx_cb.C: adjust
13043         * lyx_gui_misc.C: adjust
13044         * lyxfunc.C: adjust
13045         * lyxvc.C: adjust
13046         * text2.C: adjust
13047         + more files in subdirs
13048
13049         * lyxparagraph.h (size): move up int file
13050         (GetLayout): ditto
13051
13052         * adjust all uses of Assert to lyx::Assert.
13053
13054         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13055         lyxfunctional in namespace lyx
13056         * layout.C (hasLayout): ditto
13057         (GetLayout): ditto
13058         (GetLayout): ditto
13059         (delete_layout): ditto
13060         (NumberOfClass): ditto
13061         * converter.C (GetFormat): ditto
13062         (GetNumber): ditto
13063         (Add): ditto
13064         (Delete): ditto
13065         (SetViewer): ditto
13066         * bufferlist.C (getFileNames): ditto
13067         (emergencyWriteAll): ditto
13068         (exists): ditto
13069         (getBuffer): ditto
13070         * MenuBackend.C (hasSubmenu): ditto
13071         (hasMenu): ditto
13072         (getMenu): ditto
13073         * BufferView_pimpl.C (getInsetByCode): ditto
13074
13075 2001-04-18  Juergen Vigna  <jug@sad.it>
13076
13077         * vspace.C (asLatexString): fixed the 100% problem.
13078
13079 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13080
13081         * lyxfunc.C (Dispatch):
13082         * minibuffer.C:
13083         * minibuffer.h: add a few std:: qualifiers
13084
13085 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13086
13087         * minibuffer.[Ch]: reimplement so that commands is initiated and
13088         run from lyxfunc, simplified som handling, and made the completion
13089         and history code for complete. wip.
13090
13091         * lyxfunc.C (processKeySym): call message
13092         (miniDispatch): new temporary method
13093         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13094         (LFUN_MESSAGE): implement
13095         (LFUN_MESSAGE_PUSH): implement
13096         (LFUN_MESSAGE_POP): implement
13097         (initMiniBuffer): the initial/defualt minibuffer message.
13098
13099         * lyxfont.[Ch]: inline some more getters
13100
13101         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13102
13103         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13104
13105         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13106         (AutoSave): use LFUN_MESSAGE
13107         (Reconfigure): ditto
13108
13109         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13110
13111         * figureForm.C: use LFUN_MESSAGE
13112
13113         * converter.C (runLaTeX): use LFUN_MESSAGE
13114
13115         * bufferview_funcs.C: use LFUN_MESSAGE
13116         (Melt): ditto
13117         (changeDepth): ditto
13118
13119         * bufferparams.h: use boost::
13120
13121         * bufferlist.h: inherit privately from noncopyable
13122
13123         * bufferlist.C (loadLyXFile): remove some commented code.
13124
13125         * buffer.C (runChktex): use LFUN_MESSAGE
13126
13127         * ShareContainer.h: inherit privately from noncopyable
13128
13129         * ParagraphParameters.[hC] (depth): inline it.
13130
13131         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13132         methods.
13133         (message): new method
13134         (messagePush): ditto
13135         (messagePop): ditto
13136         (show): init minibuffer
13137         (showState): direct call
13138
13139         * LaTeX.[Ch]: inherit privately from noncopyable
13140         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13141         instead of WriteStatus.
13142
13143         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13144
13145         * BufferView_pimpl.C (buffer): don't init minibuffer
13146         (workAreaButtonPress): use LFUN_MESSAGE
13147         (workAreaButtonRelease): ditto
13148         (savePosition): ditto
13149         (restorePosition): ditto
13150         (MenuInsertLyXFile): ditto
13151         (workAreaExpose): don't init minibuffer
13152         (update): remove commented code, simplify
13153
13154         * BufferView2.C (openStuff): use LFUN_MESSAGE
13155         (toggleFloat): ditto
13156         (menuUndo): ditto
13157         (menuRedo): ditto
13158         (copyEnvironment): ditto
13159         (pasteEnvironment): ditto
13160         (copy): ditto
13161         (cut): ditto
13162         (paste): ditto
13163         (gotoInset): ditto
13164         (updateInset): remove some commented code
13165
13166         * lastfiles.h: inherit privately from noncopyable
13167         * layout.h: ditto
13168         * lyx_gui.h: ditto
13169         * lyx_main.h: ditto
13170         * lyxlex.h: ditto
13171         * lyxlex_pimpl.h: ditto
13172
13173         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13174         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13175         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13176
13177         * LyXAction.h: inherit privately from noncopyable, add methods
13178         func_begin, func_end, returning iterators to the func map.
13179
13180         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13181         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13182         (func_begin): new method
13183         (func_end): new method
13184
13185         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13186         and not)
13187         (copySelection): ditto
13188         (pasteSelection): ditto
13189
13190         * BufferView.C: whitespace change
13191         * BufferView.h: inherit privately from noncopyable
13192
13193 2001-04-16  Allan Rae  <rae@lyx.org>
13194
13195         * tabular-old.C (l_getline):
13196         * spellchecker.C (sc_check_word):
13197         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13198         an unrecognised preprocessor directive.  So ensure they're wrapped.
13199
13200 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13201
13202         * src/exporter.C (Export): Give an error message when path to file
13203         contains spaces.
13204
13205 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13206
13207         * LaTeX.C (deplog): Always check that foundfile exists.
13208
13209 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13210
13211         * lyx_main.h:
13212         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13213
13214 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13215
13216         * tabular.[Ch] (getLabelList): implement new method
13217
13218         * minibuffer.h: comment ouf setTiimer
13219
13220         * minibuffer.C (ExecutingCB): constify res
13221         (peek_event): constify s
13222         (Set): constify ntext
13223         (Init): constify nicename
13224
13225         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13226
13227         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13228         (savePosition): use two params to Minibuffer::Set
13229         (restorePosition): ditto
13230
13231 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13232
13233         * lyx_main.C: include language.h
13234
13235         * Makefile.am (lyx_main.o): add language.h
13236
13237 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13238
13239         * exporter.C:
13240         * paragraph.C:
13241         * screen.C:
13242         * tabular.C:
13243         * CutAndPaste.C: include gettext.h
13244
13245         * lyxfont.h: remove old hack with ON and OFF.
13246
13247         * lyxparagraph.h:
13248         * lyxfont.h: do not include language.h...
13249
13250         * BufferView2.C:
13251         * LaTeXFeatures.C:
13252         * Painter.C:
13253         * bufferview_funcs.C:
13254         * font.C:
13255         * lyxfont.C:
13256         * text.C:
13257         * text2.C:
13258         * trans_mgr.C:
13259         * paragraph.C: ... but do it here instead
13260
13261 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13262
13263         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13264
13265         * tabular.C: small reformat
13266
13267         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13268         NEW_INSETS version
13269         (GetChar): ditto
13270         (BreakParagraph): ditto
13271         (SetOnlyLayout): ditto
13272         (SetLayout): ditto
13273
13274         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13275         with one arg less.
13276
13277         * lastfiles.C: removed most using decl, add std:: where needed
13278
13279         * buffer.C: ws changes
13280
13281         * MenuBackend.C (class compare_format): put into anon namespace
13282         (expand): constify label, names, action, action2
13283         (expand):
13284
13285         * text.C (SingleWidth): constify font
13286         (IsBoundary): constify rtl2
13287         (GetVisibleRow): constify ww
13288
13289         * LaTeX.C (deplog): constify logfile
13290
13291         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13292         start_x, end_x
13293         (workAreaExpose): constify widthChange, heightChange
13294
13295         * lyxrow.C (par): moved
13296         (height): moved
13297         (next): moved
13298         * lyxrow.h: as inlines here
13299
13300         * lyxfont.h (shape): moved from lyxfont.C
13301         (emph): moved from lyxfont.C
13302
13303         * lyxfont.C (LyXFont): use initialization list for all
13304         constructors
13305         (shape): move to lyxfont.h as inline
13306         (emph): move to lyxfont.h as inline
13307
13308
13309 2001-04-04  Juergen Vigna  <jug@sad.it>
13310
13311         * vspace.C: had to include stdio.h for use of sscanf
13312
13313 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13314
13315         * BufferView.h:
13316         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13317         independent of xforms.
13318
13319 2001-04-02  Juergen Vigna  <jug@sad.it>
13320
13321         * spellchecker.C: fixed namespace placing!
13322
13323 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13324
13325         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13326         the LyXParagraph * is 0.
13327
13328 2001-03-29  Juergen Vigna  <jug@sad.it>
13329
13330         * vspace.C: added support for %, c%, p%, l%.
13331         (stringFromUnit): added helper function.
13332         (asLatexString): changed to give right results for the %-values.
13333
13334         * buffer.C: convert the widthp in a width%.
13335
13336 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13337
13338         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13339         figureForm.[Ch].
13340
13341         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13342         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13343
13344         * lyx_cb.[Ch]: see above.
13345
13346         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13347         form1.[Ch].
13348
13349         * form1.[Ch]:
13350         * lyx.[Ch]: replaced by figure_form.[Ch].
13351
13352         * lyx_gui.C:
13353         * lyx_gui_misc.C:
13354         * lyxfunc.C: changed headers associated with above changes.
13355
13356 2001-03-27  Juergen Vigna  <jug@sad.it>
13357
13358         * BufferView_pimpl.C: set the temporary cursor right!
13359
13360 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13361
13362         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13363
13364 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13365
13366         * LString.h: removed "using std::getline"!
13367
13368         * BufferView_pimpl.C (Dispatch): changes due to changes in
13369         InsetInclude::Params.
13370
13371         * buffer.C (tag_name): removed redundant break statements as they were
13372         producing lots of warnings with my compiler.
13373
13374 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13375
13376         * LString.h: add "using std::getline" when using the real <string>.
13377
13378 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13379
13380         * buffer.C: removed bitset usage.
13381         PAR_TAG moved to an anonymous name space.
13382         (tag_name): new funtion, also in the anonymous namespace.
13383         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13384         (makeDocBookFile): clean code. Completed transition from string arrays
13385         to string vectors.
13386         (SimpleDocBookOnePar): code clean.
13387
13388 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13389
13390         * tabular.C: add some comments.
13391
13392 2001-03-22  Juergen Vigna  <jug@sad.it>
13393
13394         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13395         compatibility read a bit and fixed bug with minipage in different
13396         depth.
13397
13398 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13399
13400         * buffer.C (pop_tag): removed.
13401         (push_tag): removed.
13402         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13403         array replaced with vector. Added support for CDATA sections.
13404         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13405         at any nest level.
13406         (makeDocBookFile): XML conformant declaration of CDATA section,
13407         fixed bug related to <emphasis> in the first paragraph char.
13408         (sgmlOpenTag): exclude empty tags.
13409         (sgmlCloseTag): ditto.
13410
13411         * buffer.h (pop_tag): removed.
13412         (push_tag): removed.
13413
13414 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13415
13416         * language.h (Languages): added size_type and size().
13417
13418 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13419
13420         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13421         response on compability reading of minipages. One probliem is that
13422         the old usage of minipages was «flertydig»
13423
13424         * several files here and in subdirs: don't use static at file
13425         scope use anon namespaces instead.
13426
13427 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13428
13429         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13430         LaTeX output. This is necessary for Literate document
13431         processing.
13432
13433 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13434
13435         * buffer.C: insert hfill when needed.
13436
13437         * tabular.C (l_getline): use string::erase, small whitespace change.
13438
13439         * BufferView_pimpl.C: try the anon namespace.
13440         * WorkArea.C: ditto
13441
13442 2001-03-16  Juergen Vigna  <jug@sad.it>
13443
13444         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13445         otherwise it won't open options-dialogs.
13446
13447         * buffer.C: honor pextraWidth(p) on converting minipages.
13448
13449         * tabular.C (l_getline): changed the functions to strip trailing \r.
13450
13451 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13452
13453         * BufferView_pimpl.C:
13454         * minibuffer..C: added "using SigC::slot" declaration.
13455
13456 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13457
13458         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13459
13460         * text2.C: ditto
13461
13462         * text.C: ditto
13463
13464         * paragraph.C: ditto
13465
13466         * lyxtext.h: NO_PEXTRA
13467
13468         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13469
13470         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13471         * ParameterStruct.h: ditto
13472         * ParagraphParameters.h: ditto
13473         * lyxparagraph.h: ditto
13474
13475 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13476
13477         * buffer.C: add compability for minipage alignment.
13478         (latexParagraphs): remove unwanted pextra check.
13479
13480         * several files: remove CXX_WORKING_NAMESPACES
13481
13482         * buffer.C (pop_tag): tie is in namespace boost
13483
13484         * BufferView.h: noncopyable is in namespace boost
13485         * lyxlex.h: ditto
13486         * lyx_main.h: ditto
13487         * lyx_gui.h: ditto
13488         * layout.h: ditto
13489         * lastfiles.h: ditto
13490         * bufferlist.h: ditto
13491         * ShareContainer.h: ditto
13492         * LyXView.h: ditto
13493         * LyXAction.h: ditto
13494         * LaTeX.h: ditto
13495
13496 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13497
13498         * Merging changes from BRANCH_MVC back into HEAD.
13499
13500         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13501
13502 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13503
13504         * BufferView_pimpl.C: change from intl.C
13505
13506         * combox.h:
13507         * combox.C:
13508         * Makefile.am: move combox.*
13509
13510         * form1.h:
13511         * form1.C:
13512         * lyx_gui.C:
13513         * intl.h:
13514         * intl.C: remove dialog (covered by prefs)
13515
13516 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13517
13518         * lyxfunc.C (Dispatch): removed redundant break statement.
13519
13520 2001-03-14  Juergen Vigna  <jug@sad.it>
13521
13522         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13523
13524 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13525
13526         * buffer.C: add hack to fix compability reading of minipages.
13527
13528 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13529
13530         * buffer.C (getLists): Cleanup.
13531
13532 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13533
13534         * lyxfont.C (update): don't honor toggleall on font size.
13535
13536 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13537
13538         * bmtable.c:
13539         * bmtable.h:
13540         * Makefile.am: moved to frontends/xforms/
13541
13542         * lyx_gui_misc.C:
13543         * lyxfunc.C:
13544         * BufferView_pimpl.C: changes for moved mathpanel
13545
13546 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13547
13548         * gettext.h: fix gettext_init() in --disable-nls
13549
13550 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13551
13552         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13553
13554 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13555
13556         * lyx.C:
13557         * lyx.h: strip external form
13558
13559 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13560
13561         * BufferView_pimpl.C: add comment, destroySplash()
13562
13563 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13564
13565         * BufferView_pimpl.C:
13566         * LyXAction.C:
13567         * buffer.C:
13568         * commandtags.h:
13569         * lyxfunc.C: use re-worked insetinclude
13570
13571 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13572
13573         * buffer.C: add using std::stringstream.
13574
13575         * lyx_cb.C: readd using std::ios.
13576
13577         * buffer.C: add using std::map.
13578
13579         * BufferView_pimpl.C: add using std::vector.
13580
13581         * ShareContainer.h: add std:: to swap.
13582
13583         * buffer.h: add some typedefs
13584         * buffer.C (getLists): use them
13585         (getLists): renamed from getTocList.
13586         add a counter for the different float types and use it in the
13587         generated string.
13588         (getLists): use the same counter for the NEW_INSETS and the "non"
13589         NEW_INSETS
13590
13591         * lyx_cb.h: remove unused items, includes, using etc.
13592
13593         * ShareContainer.h: remove some commented code, add more comments
13594         and "documentation".
13595
13596 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13597
13598         * buffer.C (getTocList): make the list also when NEW_INSETS is
13599         defined.
13600
13601         * buffer.h: remove TocType
13602
13603         * buffer.C (getTocList): change to return a map<string,
13604         vector<TocItem> >, implement for dynamic number of list.
13605
13606         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13607         * text2.C (PasteSelection): adjust
13608         * CutAndPaste.C (pasteSelection): adjust
13609
13610         * FloatList.C (FloatList): update from the new_insets branch.
13611         * Floating.[Ch]: ditto
13612         * LaTeXFeatures.C: ditto
13613         * buffer.C: ditto
13614         * lyxlex_pimpl.C: ditto
13615
13616         * paragraph.C (Last): remove when NEW_INSETS is defined.
13617
13618         * other file: changes because of the above.
13619
13620 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13621
13622         * lyxparagraph.h: rename next to next_, previous to previous_,
13623         make them private for NEW_INSETS. Rename Next() to next(),
13624         Previous() to previous().
13625
13626         * other files: changes because of the above.
13627
13628 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13629
13630         * BufferView.h:
13631         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13632         problem.
13633
13634 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13635
13636         * main.C (main): pass lyx_localedir to gettext_init().
13637
13638         * gettext.h: remove locale_init and gettext_init macros
13639
13640         * gettext.C (locale_init): new function
13641         (gettext_init): new function
13642
13643         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13644         setlocale().
13645
13646 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13647
13648         * Moved credits to frontends:
13649         * credits.[Ch]: removed
13650         * credits_form.[Ch]: removed
13651         * lyx_gui_misc.C: remove credits stuff
13652         * Makefile.am:
13653
13654 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13655
13656         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13657
13658         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13659         unneeded destructor.
13660
13661         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13662         a standalone pointer again.
13663
13664         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13665
13666 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13667
13668         * Makefile.am:
13669         * filedlg.h:
13670         * filedlg.C:
13671         * LyXAction.C:
13672         * ToolbarDefaults.C:
13673         * bufferlist.C:
13674         * commandtags.h:
13675         * form1.C:
13676         * form1.h:
13677         * lyx_cb.C:
13678         * lyx_cb.h:
13679         * lyxfunc.h:
13680         * lyxfunc.C:
13681         * BufferView_pimpl.C: use new file dialog in GUII
13682
13683         * lyx_cb.h:
13684         * lyx_cb.C: remove LayoutsCB to Toolbar
13685
13686 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13687
13688         * ShareContainer.h (get): add std:: qualifier
13689
13690 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13691
13692         * ShareContainer.h: define a proper ShareContainer::value_type
13693         type (and use typename to please compaq cxx)
13694
13695 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13696
13697         * lyxparagraph.h: move serveral local vars to
13698         ParameterStruct/ParagraphParameters., use ShareContainer in
13699         FontTable., make vars in FontTable private and add getter and
13700         setter.
13701
13702         * paragraph.C: changes because of the above.
13703
13704         * lyxfont.h: remove copy constructor and copy assignment. (the
13705         default ones is ok), move number inside FontBits. move inlines to
13706         lyxfont.C
13707
13708         * lyxfont.C: add number to initializaton of statics, move several
13709         inlines here. constify several local vars. some whitespace
13710         cleanup. Dont hide outerscope variables.
13711
13712         * Spacing.h: add two new constructors to match the set methods.
13713
13714         * ShareContainer.h: new file, will perhaps be moved to support
13715
13716         * ParameterStruct.h: new file
13717
13718         * ParagraphParameters.h: new file
13719
13720         * ParagraphParameters.C: new file
13721
13722         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13723         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13724
13725         * BufferView_pimpl.C: ParagraphParameter changes.
13726         * buffer.C: Likewise.
13727         * bufferview_funcs.C: Likewise.
13728         * text.C: Likewise.
13729         * text2.C: Likewise.
13730
13731 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13732
13733         * lyxfind.C (LyXReplace): do not redefine default argument in
13734         implementation.
13735         (IsStringInText): ditto
13736         (SearchForward): ditto
13737         (SearchBackward): ditto
13738
13739 2001-03-06  Juergen Vigna  <jug@sad.it>
13740
13741         * lyxfind.C (IsStringInText): put parentes around expressions.
13742
13743 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13744
13745         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13746
13747 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13748
13749         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13750
13751         * stl_string_fwd.h: add comment
13752
13753         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13754
13755         * tabular.h:
13756         * tabular.C: remove unused DocBook methods
13757
13758         * intl.C:
13759         * language.C:
13760         * paragraph.C:
13761         * buffer.C:
13762         killed DO_USE_DEFAULT_LANGUAGE
13763
13764 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13765
13766         * lyx_gui.C: do not include language.h.
13767
13768         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13769         arguments in function implementation.
13770
13771 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13772
13773         * BufferView_pimpl.C: add <ctime>
13774
13775 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13776
13777         * BufferView_pimpl.C: add using std::find_if
13778
13779 2001-02-27  José Matos  <jamatos@fep.up.pt>
13780
13781         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13782         by OnlyPath.
13783
13784 2001-02-11  José Matos  <jamatos@fep.up.pt>
13785
13786         * buffer.C (makeDocBookFile): command styles now have a parameter as
13787         "title" by default.
13788
13789 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13790
13791         * layout_forms.[Ch]: removed
13792         * lyx_cb.[Ch]: out character
13793         * lyx_gui.C: out character
13794         * lyx_gui_misc.C: out character
13795         * bufferview_funcs.C: : out character,
13796         added toggleall as parameter in ToggleAndShow
13797
13798 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13799
13800         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13801
13802         * text2.C (SetCurrentFont): Disable number property at boundary.
13803
13804 2001-02-26  Juergen Vigna  <jug@sad.it>
13805
13806         * lyxfunc.C (getStatus): added a string argument override function so
13807         that this is correctly called from LyXFunc::Dispatch if it contains a
13808         do_not_use_argument which is used!
13809         (Dispatch): added check for "custom" export and call appropriate func.
13810
13811 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13812
13813         * lyxrc.C: Add language_command_local, language_use_babel and
13814         language_global_options.
13815
13816         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13817
13818         * buffer.C (makeLaTeXFile): Use language_use_babel and
13819         language_global_options.
13820
13821 2001-02-23  Juergen Vigna  <jug@sad.it>
13822
13823         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13824         which works with LyXText and putted it inside BufferView. Here now we
13825         only call for that part the BufferView::Dispatch() function.
13826
13827         * BufferView.C (Dispatch): added.
13828
13829         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13830         functions which needs to use a LyXText over from LyXFunc.
13831         (MenuInsertLyXFile): added
13832         (getInsetByCode): added
13833         (moveCursorUpdate): added
13834         (static TEXT): added
13835
13836 2001-02-22  Juergen Vigna  <jug@sad.it>
13837
13838         * BufferView_pimpl.C (update): call a status update to see if LyXText
13839         needs it.
13840
13841 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13842
13843         * vc-backend.C (revert): implement for CVS
13844         (getLog): implement for CVS
13845
13846 2001-02-20  Juergen Vigna  <jug@sad.it>
13847
13848         * text2.C (ClearSelection): added BufferView param for inset_owner call
13849
13850         * lyxfunc.C (TEXT): added this function and use it instead of
13851         directly owner->view()-text of getLyXText().
13852
13853 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13854
13855         * src/layout_forms.C: out preamble
13856         * src/layout_forms.h: out preamble
13857         * src/lyx_cb.C: out preamble
13858         * src/lyx_cb.h: out preamble
13859         * src/lyx_gui.C: out preamble
13860         * src/lyx_gui_misc.C: out preamble
13861         * src/lyxfunc.C: connect with guii preamble
13862
13863 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13864
13865         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13866
13867 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13868
13869         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13870         whether to run bibtex.
13871
13872 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13873
13874         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13875
13876 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13877
13878         * Makefile.am (lyx_SOURCES): removed bibforms.h
13879
13880         * vspace.h: doxygen
13881
13882         * text.C (GetVisibleRow): make several local vars const
13883
13884         * tabular.C: small cleanup.
13885
13886         * lyxserver.C (callback): use compare instead of strncmp
13887
13888         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13889         inlines to after class or to paragraph.C
13890
13891         * lyxfont.h: remove friend operator!=
13892
13893         * converter.h: move friend bool operator< to non friend and after
13894         class def.
13895
13896         * combox.h: small cleanup
13897
13898         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13899         to inlines after class def.
13900
13901         * buffer.C (pop_tag): use string operations instead of strcmp
13902
13903         * bmtable.c: doxygen, small cleanup
13904
13905         * LaTeX.h: remove friend operator==
13906
13907 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13908
13909         * screen.C:
13910         * lyxrc.[Ch]:
13911         * lyxfunc.C:
13912         * lyxfont.[Ch]:
13913         * lyx_cb.C:
13914         * intl.[Ch]:
13915         * commandtags.h:
13916         * buffer.C:
13917         * WorkArea.[Ch]:
13918         * LyXAction.C:
13919         * BufferView_pimpl.C:
13920         * BufferView.[Ch]: remove cruft
13921
13922 2001-02-14  Juergen Vigna  <jug@sad.it>
13923
13924         * lyxfunc.C: removed #if 0 unused code
13925
13926         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13927
13928         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13929
13930         * text2.C (SetSelection): added a BufferView * parameter
13931
13932 2001-02-13  Juergen Vigna  <jug@sad.it>
13933
13934         * lyxfunc.C (Dispatch): fixed protected blank problem.
13935         * BufferView2.C (protectedBlank): added LyxText * parameter.
13936
13937         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13938         (AppendColumn): same as above for column_info.
13939
13940         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13941         (moveCursorUpdate): use a LyXText param for support of InsetText.
13942
13943         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13944         (tripleClick): ditto
13945
13946         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13947
13948         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13949
13950         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13951
13952         * text2.C (SetSelection): set correct update status if inset_owner
13953         (ToggleFree): ditto
13954
13955 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13956
13957         * tabular.C: remove some commented code.
13958
13959 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13960
13961         * BufferView_pimpl.C: call hideSplash()
13962
13963         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13964
13965         * include_form.h:
13966         * bibforms.h: remove
13967
13968         * lyxfunc.C:
13969         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13970           add LFUN_CHILD_CREATE
13971
13972         * counters.h: fix tiny typo
13973
13974         * lyx_cb.C:
13975         * lyx.h:
13976         * lyx_gui.C:
13977         * lyx.C: move splash to frontends/xforms/
13978
13979         * lyx_gui_misc.C: move Include and Bibform to frontends
13980
13981         * lyxvc.h: clarify comment
13982
13983         * vspace.C: tiny housekeeping
13984
13985 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13986
13987         * text.C (PrepareToPrint): RTL Fix.
13988
13989         * paragraph.C (GetUChar): New method.
13990         (String):  Use GetUChar.
13991
13992         * buffer.C (asciiParagraph): Use GetUChar.
13993
13994 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13995
13996         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13997
13998 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13999
14000         * buffer.h:
14001         * buffer.C: rename to getLogName(), handle
14002           build log / latex log nicely
14003
14004 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14005
14006         * MenuBackend.C:
14007         * MenuBackend.h: remove support for reference menuitem type.
14008
14009 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14010
14011         * BufferView_pimpl.C: housekeeping
14012         * BufferView_pimpl.h:
14013         * LyXView.h:
14014         * Makefile.am:
14015         * Timeout.C:
14016         * Timeout.h:
14017         * minibuffer.h: move Timeout GUI-I
14018
14019 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14020
14021         * lyxrc.C (read): Update converters data-structures.
14022
14023 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14024
14025         * LaTeX.h (operator!=): add operator != for Aux_Info
14026
14027 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14028
14029         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14030
14031         * LaTeXLog.C: deleted, useful code moved to Buffer
14032
14033         * buffer.h:
14034         * buffer.C: new function getLatexLogName()
14035
14036         * lyx_gui_misc.C:
14037         * lyx_gui.C:
14038         * lyxvc.C:
14039         * lyxvc.h:
14040         * lyxfunc.C: use frontends for LaTeX and VC logs
14041
14042 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14043
14044         * LaTeX.h: yet another std:: that Allan forgot.
14045
14046         * Variables.C (set): renamed from isset(), because this clashes
14047         with some HP-UX macros (grr).
14048
14049 2001-02-06  Allan Rae  <rae@lyx.org>
14050
14051         * LaTeX.h: Another bug fix.  Missing std:: this time.
14052
14053 2001-02-04  Allan Rae  <rae@lyx.org>
14054
14055         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14056         floats problem. I've left it commented out because it's not quite
14057         correct.  It should also test that the current object is a table or
14058         figure inset.  But I haven't gotten around to figuring out how to do
14059         that.  I *think* it'll be something like: "table" == inset.type()
14060
14061         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14062         bool.
14063
14064 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14065
14066         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14067         all the citation/databases/styles in the auxilary file.
14068         (run): Rerun latex if there was a babel language error.
14069
14070 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14071
14072         * text.C (Backspace): Preserve the font when changing newline char
14073         with a space.
14074         (BreakParagraph): If the cursor is before a space, delete the space.
14075
14076         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14077
14078 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14079
14080         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14081         new argument (code).
14082         (ChangeCitationsIfUnique): New method.
14083
14084         * paragraph.C (GetPositionOfInset): Handle bibkey.
14085
14086 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14087
14088         * BufferView_pimpl.h: change type of Position::par_pos to
14089         LyXParagraph::size_type.
14090
14091 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14092
14093         * BufferView_pimpl.C (savePosition, restorePosition): Write
14094         messages to minibuffer.
14095
14096 2001-01-28  José Matos  <jamatos@fep.up.pt>
14097
14098         * buffer.C (makeDocBookFile): adds support for document language.
14099         A silly restriction on the name of LatexCommand types where removed.
14100         Added support for CDATA sections, allows to chars unescaped, used
14101         among others in code, to avoid escape < and >.
14102
14103 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14104
14105         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14106         saved positions instrad of a stack. Furthermore, a position is
14107         stored using paragraph id/paragraph position.
14108
14109         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14110         Remove LFUN_REF_BACK.
14111
14112 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14113
14114         * converter.C (dvipdfm_options): New method.
14115
14116 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14117
14118         * vspace.C (isValidLength): Fix for empty input string.
14119
14120 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14121
14122         * LyXAction.C (init): change description of LFUN_FIGURE to
14123         "Insert Graphics"
14124
14125 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14126
14127         * LaTeX.C: add using directive
14128
14129 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14130
14131         * MenuBackend.C (expand): Fix the sorting of the formats.
14132
14133 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14134
14135         * lyx_main.C: tiny error message fix
14136
14137 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14138
14139         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14140         calling fl_initialize(). This fixes the problem with ',' as
14141         decimal separator in text files.
14142
14143 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14144
14145         * trans.C (process): Fix the keymap bug.
14146
14147 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14148
14149         * LaTeX.C (scanAuxFiles): New method. Provides support for
14150         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14151         (scanLogFile) Scan for "run BibTeX" messages.
14152
14153         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14154         OT1 font encoding. Also, load the aecompl package if the ae
14155         package is loaded.
14156
14157         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14158
14159 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14160
14161         * texrow.C (increasePos): turn two error messages into debug
14162         messages.
14163
14164 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14165
14166         * LaTeX.C (scanAux): Handle the \@input macro.
14167         (runBibTeX): Use scanAux().
14168
14169         * language.C (latex_options_): New field.
14170
14171         * LaTeXFeatures.C (getMacros): Add language macros.
14172
14173         * buffer.C (makeLaTeXFile): Small fix.
14174
14175 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14176
14177         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14178
14179         * text2.C: add a using directive.
14180
14181 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14182
14183         * BufferView2.C:
14184         * lyx_gui_misc.h:
14185         * lyxfr1.C:
14186         * lyxfunc.C: kill LyXBell.
14187
14188 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14189
14190         * text.C (IsBoundary): Remove the error message
14191
14192         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14193
14194         * lyxrc.C (setDefaults): Correct initialization value for
14195         font_norm_type.
14196
14197 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14198
14199         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14200         gotoError().
14201
14202         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14203         and GotoNextNote().
14204
14205         * src/LyXAction.C: Added reference-next.
14206
14207         * text.C (InsertChar): Use contains instead of strchr.
14208
14209         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14210
14211 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14212
14213         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14214         alignment commands (when needed).
14215
14216         * text.C (InsertChar): Add ':' to number separator chars.