]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
6571c28bdd55d021ad24df870cc618f3d9b59151
[lyx.git] / src / ChangeLog
1 2003-12-10  Angus Leeming  <leeming@lyx.org>
2
3         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4         'dialog-show-new-inset <inset name>'
5
6 2003-12-10  Angus Leeming  <leeming@lyx.org>
7
8         * buffer.C: up the format to 227.
9
10         * factory.C: the box inset is now identified simply by 'Box'.
11
12 2003-12-10  Angus Leeming  <leeming@lyx.org>
13
14         * buffer.C: up the format to 226.
15
16         * factory.C: the note inset is now identified simply by 'Note'.
17
18 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
19
20         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
21         when a pit is enough. Standarize a couple of loops. 
22
23 2003-12-05  Angus Leeming  <leeming@lyx.org>
24
25         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
26         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
27         data to the re-worked "log" dialog.
28
29 2003-12-03  André Pönitz  <poenitz@gmx.net>
30
31         * PosIterator.C:
32         * iterators.C:
33         * lyxtext.h:
34         * output_latex.C:
35         * paragraph_funcs.C:
36         * text.C:
37         * text2.C: use Inset::getText instead of Inset::getParagraph
38
39 2003-12-03  André Pönitz  <poenitz@gmx.net>
40
41         * buffer.[Ch]:
42         * lyxtext.h:
43         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
44         InsetText::read() as LyXText::read()
45         
46 2003-12-02  Angus Leeming  <leeming@lyx.org>
47
48         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
49         type. Add a comment in the implementation that the function uses
50         the stream's bad() function rather than fail() as the std::streams
51         would do.
52
53 2003-12-02  André Pönitz  <poenitz@gmx.net>
54
55         * lyxlex.[Ch]: make interface more similar to std::stream
56
57         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
58
59 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
60
61         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
62
63 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
64
65         * vspace.[Ch]: remove VSpace::NONE
66
67 2003-12-01  André Pönitz  <poenitz@gmx.net>
68
69         * buffer.[Ch]:
70         * lyxtext.h: move ParagraphList member to LyXText
71         rename LyXText::ownerParagraphs to LyXText::paragraph
72
73         * CutAndPaste.C:
74         * bufferview_funcs.C:
75         * iterators.[Ch]:
76         * lyx_cb.C:
77         * paragraph.C:
78         * rowpainter.C:
79         * tabular.C:
80         * text.C:
81         * text2.C:
82         * text3.C: adjust
83
84         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
85
86         * undo.C: fix cursor positioning 
87
88 2003-12-01  John Levon  <levon@movementarian.org>
89
90         * BufferView_pimpl.C: fix a crash on exit with
91         a buffer open
92
93 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
94
95         * BranchList.C: fix setSelected() method.
96
97 2003-11-28  André Pönitz  <poenitz@gmx.net>
98
99         * ParagraphParameters.[Ch]:
100         * ParameterStruct.h: remove space above/below from Paragraph to
101          InsetVSpace
102
103         * BufferView_pimpl.C:
104         * factory.C:
105         * lyxfunc.C:
106         * lyxtext.h:
107         * output_latex.C:
108         * paragraph.C:
109         * paragraph_funcs.C:
110         * rowpainter.[Ch]:
111         * text.C:
112         * text2.C:
113         * text3.C: adjust
114
115 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
116
117         * factory.C: Syntax change for CharStyles
118
119 2003-11-28  André Pönitz  <poenitz@gmx.net>
120
121         * BufferView.[Ch]:
122         * BufferView.[Ch]:
123         * buffer.[Ch]:
124         * buffer.[Ch]: move LyXText member
125
126 2003-11-28  André Pönitz  <poenitz@gmx.net>
127
128         * BufferView.[Ch]: make LyXText * text a private member
129
130         * BufferView_pimpl.C:
131         * cursor.C:
132         * iterators.C:
133         * lyx_cb.C:
134         * lyxfind.C:
135         * lyxtext.h:
136         * rowpainter.[Ch]:
137         * text.C:
138         * text2.C:
139         * undo.C: adjust
140
141         * output_plaintext.C: cleanup
142
143 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
144
145         * buffer.C: 
146         * lyxtextclass.[Ch]: parametrize SGML document header
147
148 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
149
150         * converter.[Ch]:
151         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
152         getFlavor().
153
154 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
155
156         * text2.C (setFont): rework using PosIterator (no more recursive)
157         (setCharFont): no more needed 
158         (setLayout): no more selection cursors fiddling (done by redoCursor)
159         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
160         destroy remaining ones)
161
162 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
163
164         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
165         * lyxtext.h: ditto
166         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
167         selection cursors
168         * lyxfunc.C: adjust
169         * text3.C: adjust + re-allow multi par depth changes
170         * textcursor.C: simplify a bit
171
172 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
173
174         * src/buffer.C:
175         * src/lyxlayout.C:
176         * src/lyxlayout.h:
177         * src/lyxtext.h:
178         * src/output_docbook.C:
179         * src/output_latex.C:
180         * src/paragraph.C:
181         * src/paragraph.h:
182         * src/sgml.C:
183         * src/sgml.h:
184         * src/text2.C: Introducing a number of tags parametrizing various
185         XML formats that we may want to support
186
187 2003-11-25  André Pönitz  <poenitz@gmx.net>
188
189         * InsetList.[Ch] (begein, end): inline as suggested by profiler
190
191         * lyxtext.h (leftMargin/rightMargin): simplify interface
192
193         * rowpainter.C:
194         * text.C:
195         * text2.C:
196         * text3.C: adjust
197
198 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
199
200         * lyxfunc.C (dispatch): propogate the bibtex databases from the
201         master file to any child files. Fixes bug 546.
202
203 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
204
205         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
206
207 2003-11-24  André Pönitz  <poenitz@gmx.net>
208
209         * rowpainter.C: simplification
210
211         * text2.C (updateCounters): remove call to redoParagraph on 
212         changed labels as this is far too expensive.
213
214 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
215
216         * converter.C (convert): fix a crash: this function gets
217         called with buffer == 0 from importer code.
218
219 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
220
221         * text3.C (cursorPrevious): make sure that we do not compare
222         iterators form different containers.
223         (cursorNext): ditto
224
225         * rowpainter.C (paintSelection): make sure that we do not compare
226         iterators from different containers.
227
228         * text3.C (dispatch): [PRIOR] make sure that we do not compare
229         iterators from different ParagraphList containers.
230         [NEXT] ditto
231
232         * text2.C (LyXText): change order of initialization slightly
233         (operator=): new function. copy all variables except cache_par_
234         (moveUp): make sure that we do not compare iterators from
235         different ParagraphList constainers.
236         (moveDown): ditto
237
238         * text.C (firstPar): new function
239         (lastPar): new function
240         (endPar): new function
241
242         * lyxtext.h: move things around and group public functions, public
243         variables, private functions, private variables
244
245 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
246
247         * factory.C: change call to InsetERT constructor to avoid
248         additional invocation of method status
249         * text2.C (toggleInset): remove redundant update() call
250         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
251         instead of a Bufferview pointer
252
253 2003-11-21  André Pönitz  <poenitz@gmx.net>
254
255         * rowpainter.C: simplification
256
257 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
258
259         * text3.C (dispatch): make possible to extend a word/row selection
260         with the mouse
261
262 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
263
264         * lyxtext.h: x0_,y0_ -> xo_,yo_
265         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
266         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
267         * rowpainter.C (paintRows): paint full paragraphs
268
269 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
270
271         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
272         screen coordinates)
273
274 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
275
276         * lyxtext.h: add x0_, y0_
277         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
278         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
279
280 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
281
282         * text2.C (setCursorIntern): move the x_target update here *
283         * text3.C: change some bv() to true/false in calls to
284         cursorUp/Down/Right/Left
285         * cursor.C: use helper function.
286
287 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
288
289         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
290         * paragraph_funcs.[Ch]: correct comment
291         * rowpainter.C: do not paint selections away from bv->cursor()
292         Fix a long standing selection painting bug.
293         * text3.C: generalize mouse-selection code to LyXTexts other that
294         top one
295         * textcursor.C: do not use y coords if we can use par offsets
296
297 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
298
299         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
300         cursor position after e.g. inset insert)
301
302 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
303
304         * lyxfind.C (replace): adjust to locking removal + some
305         code simplification
306
307 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
308
309         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
310         of the path
311
312 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
313
314         * lyxlayout.[Ch]:
315         * output_docbook.C: XML sanitation: new layout
316         parameters InnerTag and CommandDepth
317
318 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
319
320         * BufferView_pimpl.C:
321         * factory.C:
322         * text3.C: Fix the insertion and modification of button-style
323         insets
324
325 2003-11-13  André Pönitz  <poenitz@gmx.net>
326
327         * InsetList.[Ch]: remove deleteLyXText
328
329         * paragraph.[Ch]: cache beginOfBody position
330
331         * Bidi.C:
332         * text.C:
333         * text2.C:
334         * text3.C: remove superfluous update() calls
335
336         * vspace.C: cleanup
337
338 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
339
340         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
341         * BufferView.C (fitLockedInsetCursor): remove
342         * cursor.[Ch] (getDim): add
343         * text.C (getRowNearY): add faster version
344         * text3.C: remove some update calls
345
346 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
347
348         * LaTeXFeatures.C:
349         * LyXAction.C:
350         * MenuBackend.C:
351         * MenuBackend.h:
352         * dispatchresult.h:
353         * factory.C:
354         * lfuns.h:
355         * lyxfunc.C:
356         * lyxtextclass.C:
357         * lyxtextclass.h:
358         * text3.C: The Character Style /XML short element patch.
359
360 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
361
362         * text3.C:
363         * factory.C: Small step to solving 'unable to insert some insets'
364         problem
365
366 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
367
368         * cursor.[Ch] (updatePos): new function for updating the y
369         position of the tip inset
370         * bufferview_funcs.C (put_selection_at):
371         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
372
373 2003-11-11  André Pönitz  <poenitz@gmx.net>
374
375         * text.C: remove big comment on invalid Paragraph pointers as it is
376         not valid anymore
377
378 2003-11-11  André Pönitz  <poenitz@gmx.net>
379
380         * text_funcs.[Ch]: merge with ...
381
382         * text.C: ... this
383
384         * lyxtext.h:
385         * text2.C:
386         * text3.C: adjust
387
388         * Makefile.am: remove text_funcs.[Ch]
389
390 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
391
392         * cursor.C (getPos): return absolute cached y coord
393
394         * BufferView_pimpl.C (fitCursor): new simplistic code
395         (workAreaDispatch): add a fitCursor call
396
397 2003-11-10  André Pönitz  <poenitz@gmx.net>
398
399         * BufferView.[Ch]:
400         * BufferView_pimpl.[Ch]: merge update() and updateInset()
401
402 2003-11-10  André Pönitz  <poenitz@gmx.net>
403
404         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
405         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
406         indicate that the cursor needs to leave an inset
407
408         * lyxtext.h: remove inset locking
409
410         * cursor.[Ch]: re-implement functionality provided by inset locking
411
412         * BufferView.[Ch]:
413         * BufferView_pimpl.[Ch]:
414         * LyXAction.C:
415         * bufferview_funcs.[Ch]:
416         * factory.C:
417         * funcrequest.[Ch]:
418         * iterators.C:
419         * lyx_cb.C:
420         * lyxfind.C:
421         * lyxfunc.C:
422         * text.C:
423         * text2.C:
424         * text3.C:
425         * undo.C: adjust
426
427 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
428
429         * PosIterator.[Ch]: replace the stack with a vector, add inset
430         accesor
431         * iterators.[C]: adjust
432
433 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
434
435         * lyxfind.C (replaceAll): mark the buffer dirty if something was
436         replaced
437         * paragraph_funcs.C (readParToken): put the correct id in the
438         error item, not the id of the top paragraph
439
440 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
441
442         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
443         * bufferview_funcs.C (put_selection_at): use the above
444
445 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
446
447         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
448
449 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
450
451         * output_linuxdoc.h:
452         * output_plaintext.h:
453         * output.h:
454         * output_docbook.h: add #include statements
455
456 2003-11-05  José Matos  <jamatos@lyx.org>
457
458         * output_docbook.[Ch]:
459         * output_latex.[Ch]:
460         * output_linuxdoc.[Ch]:
461         * output_plaintext.[Ch]: New files for output formats.
462         * output.[Ch]: New file for helper functions.
463
464         * buffer.[Ch]:
465         * paragraph_funcs.[Ch]: output functions moved to new files.
466
467         * outputparams.h: rename of latexrunparams.h
468
469         * LaTeX.[Ch]:
470         * buffer.[Ch]:
471         * bufferlist.[Ch]:
472         * converter.[Ch]:
473         * exporter.C:
474         * paragraph.[Ch]:
475         * paragraph_funcs.[Ch]:
476         * paragraph_pimpl.[Ch]:
477         * tabular.[Ch]: rename ascii to plaintext
478         and LatexRunParams to OutputParams.
479
480 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
481
482         * iterators.[Ch] (text): require bv argument
483         * undo.C (recordUndo):
484         * lyxfunc.C (dispatch):
485         * bufferview_funcs.C (put_selection_at): adjust
486
487 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
488
489         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
490
491 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
492
493         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
494         nestings
495
496 2003-11-04  André Pönitz  <poenitz@gmx.net>
497
498         * cursor.[Ch]: restructure
499
500         * BufferView.[Ch]:
501         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
502
503         * iterators.[Ch] (asCursor): remove
504
505         * lfuns.h: remove LFUN_INSET_EDIT
506
507         * lyxfunc.C:
508         * tabular.C:
509         * text.C:
510         * text2.C:
511         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
512
513 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
514
515         * lyxfind.[Ch]: complete overhaul
516         * BufferView_pimpl.C:
517         * lyxfunc.C: adjust
518         * paragraph.[Ch] (insert): add
519
520 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
521
522         * BufferView.[Ch]:
523         * lyxtext.h:
524         * text.C: remove dead spellcheck code
525
526 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
527
528         * dispatchresult.h: add a val setter
529
530         * cursor.C (dispatch): use a tempvar for data_[i]
531
532 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
533
534         * PosIterator.[Ch]: compile fix
535
536 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
537
538         * text.C (cursorPar): deactivate the cursor cache
539
540 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
541
542         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
543
544 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
545
546         * text3.C (dispatch): adjust for new DisptchResult semantics.
547
548         * lyxfunc.C (dispatch): handle update when return from
549         Cursor::dispatch, adjust for new DispatchResult semantics.
550
551         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
552         DispatchResult(true) mean to not update. Add class functions for
553         setting dispatched and update, as well as reading.
554
555         * cursor.C (dispatch): don't handle update here
556
557 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
558
559         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
560         * trans_mgr.C: adjust
561
562         * paragraph_funcs.C (readParToken): exception safety
563
564         * lyxvc.h: store the vcs pointer in a scoped_ptr
565         * lyxvc.C: adjust
566
567         * lyxsocket.C (serverCallback): exception safety
568
569         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
570
571         * ispell.C (clone): make it return a auto_ptr
572
573         * factory.C (createInset): exception safety
574         (readInset): exception safety
575
576         * bufferlist.C (newBuffer): exception safety
577
578         * Thesaurus.C (Thesaurus): use initialization for aik_
579
580         * MenuBackend.C (expandToc): exception safety.
581
582 2003-11-03  André Pönitz  <poenitz@gmx.net>
583
584         * buffer.C:
585         * buffer.h:
586         * bufferview_funcs.C: remove getInsetFromId()
587
588         * lyxcursor.[Ch]:
589         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
590
591         * lyxfunc.C:
592         * text2.C:
593         * text3.C: adjust
594
595 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
596
597         * PosIterator.C (distance, advance): new
598         * bufferview_funcs.[Ch] (put_selection_at): new
599         * iterators.[Ch] (lockPath): new
600
601 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
602
603         * iterators.[Ch] (asPosIterator): added
604         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
605         * PosIterator.[Ch]: added
606
607 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
608
609         * text3.C:
610         * lyxfunc.C:
611         * cursor.C (dispatch):
612         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
613
614         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
615         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
616         contructor, add a class function dispatched. Remove operator>=
617
618 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
619
620         * debug.C: only use the default constructor for debugstream
621         (lyxerr) here.
622
623         * main.C (main): include debug.h and setup the lyxerr streambuf
624         here.
625
626 2003-10-31  José Matos  <jamatos@lyx.org>
627
628         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
629
630         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
631         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
632         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
633         * paragraph_pimpl.C (simpleTeXSpecialC):
634         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
635         add LatexRunParams argument.
636
637         * exporter.C (Export): change call accordingly.
638
639         * latexrunparams.h: add new member to take care of the other backends.
640 2003-10-30  José Matos  <jamatos@lyx.org>
641
642         * buffer.C (makeLinuxDocFile, makeDocBookFile):
643         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
644         factorise code for paragraph output.
645         * buffer.[Ch]:
646         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
647         move functions.
648
649 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
650
651         * text3.C (dispatch):
652         * lyxfunc.C (dispatch):
653         * cursor.C (dispatch):
654         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
655
656         * dispatchresult.h: make the dispatch_result_t ctor explicit
657
658 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
659
660         * sgml.[Ch]:
661         * buffer.C: small refactoring of docbook stuff
662
663 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
664
665         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
666         meaning.
667
668 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
669
670         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
671         operator dispatch_result_t, and operators for == != and >=
672
673         * cursor.C (dispatch): adjust for operator dispatch_result_t
674         removal. comment out call to update
675
676         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
677
678 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
679
680         * text3.C:
681         * text2.C:
682         * text.C:
683         * lyxtext.h:
684         * lyxfunc.C:
685         * cursor.C:
686         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
687         (dispatch):
688
689         * dispatchresult.h: new file, DispatchResult broken out of
690         insets/insetbase.h
691
692         * Makefile.am (lyx_SOURCES): add dispatchresult.h
693
694 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
695
696         * text.C (rowBreakPoint): put a hack inside #if 0
697
698 2003-10-28  André Pönitz  <poenitz@gmx.net>
699
700         * lyxtext.h:
701         * metricsinfo.C:
702         * paragraph_funcs.C:
703         * rowpainter.C:
704         * text.C:
705         * text2.C: general cleanup (lots of small stuff)
706
707 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
708
709         * text2.C (cursorEnd): simple fix to the "end key goes to one
710         before the end on last row" bug
711
712 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
713
714         * text.C (backspace): fix the "zombie characters"
715
716 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
717
718         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
719
720 2003-10-27  André Pönitz  <poenitz@gmx.net>
721
722         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
723
724         * factory.C: handle new InsetPagebreak, InsetLine
725
726         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
727         and move handling into new InsetPagebreak, InsetLine
728
729         * BufferView_pimpl.C:
730         * LyXAction.C:
731         * ParagraphParameters.C:
732         * ParameterStruct.h:
733         * lyxfunc.C:
734         * lyxtext.h:
735         * paragraph.C:
736         * paragraph.h:
737         * paragraph_funcs.C:
738         * paragraph_pimpl.C:
739         * rowpainter.C:
740         * text.C:
741         * text2.C:
742         * text3.C: adjust
743
744 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
745
746         * text.C:
747         * lyxrow_funcs.[Ch]:
748         * Bidi.C:
749         * paragraph.C:
750         * lyxtext.h:
751         * rowpainter.C:
752         * text2.C:
753         * text3.C: remove lastPos uses in favour of Row::endpos
754
755 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
756
757         * undo.C (performUndoOrRedo): fix two crashes by setting a
758         cursor by hand and reordering some calls. Use bv->lockInset instead
759         of inset->edit because the latter loses cursor information
760
761 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
762
763         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
764         by Martin
765         (rowBreakPoint): fix width. change point to point + 1.
766         Add a missing check.
767
768 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
769
770         * MenuBackend.C:
771         * lyxfunc.C: fix (at least partly) the problems
772         with the Nav menu and headers inside branch insets
773         reported by Kayvan
774
775 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
776
777         * paragraph.C (getChar): add strong asserts
778
779         * lyxrow_funcs.C (lastPos): remove hideous hack
780
781         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
782         (fill): adjust to that (avoid an infinite loop)
783
784 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
785
786         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
787
788 2003-10-23  André Pönitz  <poenitz@gmx.net>
789
790         * RowList_fwd.h: change list<> to vector<> to gain speed
791         after suggestion from Alfredo
792
793 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
794
795         * lyxtext.h: move the bidi stuff from here...
796         * text.C: and here
797         * text2.C: and here
798         * Bidi.[Ch]: ... to here
799
800 2003-10-23  André Pönitz  <poenitz@gmx.net>
801
802         * lyxtext.h:
803         * text.C (isLastRow, isFirstRow): new functions
804
805         * paragraph.h: new width cache member
806
807         * rowpainter.C: replace RowList::iterator with Row & where possible
808
809         * lyxfunc.C: replace several view()->text with a single call
810
811         * toc.C: fix 'unused' warning
812
813 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
814
815         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
816         when woring with stream::pos_type
817         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
818
819 2003-10-22  André Pönitz  <poenitz@gmx.net>
820
821         * lyxtext.h:
822         * text.C: use Row & instead of RowList::iterator
823
824         * lyxrow.h: rename end() to endpos()
825
826         * rowpainter.C:
827         * text.C:
828         * text2.C: adjust
829
830 2003-10-22  Angus Leeming  <leeming@lyx.org>
831
832         * buffer.[Ch] (fully_loaded): new member function, returning true
833         only when the file has been loaded fully.
834         Used to prevent the premature generation of previews and by the
835         citation inset to prevent computation of the natbib-style label.
836
837         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
838         templates are all set up.
839
840         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
841
842 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
843
844         * text.C: fixed an "oops" in the "is a bit silly"
845         bug fix
846
847 2003-10-21  André Pönitz  <poenitz@gmx.net>
848
849         * FuncStatus.[Ch]: small stuff, whitespace
850
851         * lyxfont.[Ch]: operator<<() for debug reasons
852
853         * lyxfunc.C:
854         * lyxrow_funcs.C:
855         * lyxtext.h: whitespace, spelling
856
857         * paragraph.C: naming of variables
858
859         * text.C:
860         * text2.C: small stuff
861
862
863 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
864
865         * text.C: (1) finish off the inset display() work;
866         (2) fix the "is a bit silly" bug (accessing char
867         past end of par).
868
869 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
870
871         * text.C: re-introduce display() for insets, fixing the
872         various bugs (stretch of line above, math inset
873         positioning, ...)
874
875 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
876
877         * text.C (rightMargin): remove spurious semicolon
878
879         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
880         1415)
881
882 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
883
884         * text3.C: fix one crash due to wrong cursor def
885
886 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
887
888         * vc-backend.C (scanMaster): make the regex static
889
890         * LaTeX.C (scanAuxFile): make the regexs static
891
892         * text3.C (doInsertInset, dispatch, dispatch):
893         * text2.C (cursorUp, cursorDown):
894         * text.C (selectNextWordToSpellcheck):
895         * BufferView_pimpl.C (dispatch):
896         * lyxfunc.C (dispatch):  localDispatch -> dispatch
897
898 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
899
900         * lyxsocket.C: include <cerrno>
901
902 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
903
904         * lyxfunc.C (dispatch): remove textcache stuff
905
906         * bufferlist.C (release): remove textcache stuff
907         (closeAll): ditto
908
909         * TextCache.C: delete file
910         * TextCache.h: delete file
911
912         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
913
914         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
915         delete of the bv_->text.
916         (resizeCurrentBuffer): remove texcache stuff
917         (workAreaResize): ditto
918
919 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
920
921         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
922         action.
923
924 2003-10-16  André Pönitz  <poenitz@gmx.net>
925
926         * lyxrow.[Ch]:
927         * paragraph.h:
928         * rowpainter.C:
929         * text.C:
930         * text2.C:
931         * text3.C: speed up by storing y positions per paragraph plus per-row
932         offset instead of having a 'full' y position in the row.
933
934 2003-10-15  André Pönitz  <poenitz@gmx.net>
935
936         * iterators.[Ch]:
937         * iterators.[Ch]:
938         * undo.[Ch]: make undo aware of inner insets
939
940 2003-10-14  Angus Leeming  <leeming@lyx.org>
941
942         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
943         static member functions LyX::ref() and LyX::cref.
944         (lastfiles): new accessor functions for the new lastfiles_ member var.
945         (addLyXView, views_): add a new LyXView to the list of views_.
946         (updateInset): loop over all LyXViews to call their own updateInset
947         member function, returning a pointer to the Buffer owning the inset.
948
949         * BufferView_pimpl.C (loadLyXFile):
950         * MenuBackend.C (expandLastfiles):
951         * bufferlist.C (MenuWrite, QuitLyX):
952         lastfiles is no longer a global variable.
953         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
954
955         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
956         static function. Access through LyX::cref().emergencyCleanup().
957
958 2003-10-14  André Pönitz  <poenitz@gmx.net>
959
960         * iterators.[Ch]: new direct access to innermost LyXText and Inset
961
962         * undo.[Ch]: restoring part of 'undo in insets'
963
964         * Makefile.am:
965         * undo_funcs.[Ch]: merge with undo.[Ch]
966
967         * tabular.C: small cleansing stuff
968
969 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
970
971         * paragraph_funcs.C (readParToken): report unknown insets as error
972         boxes. Use the outer paragraph as location (also for unknown
973         tokens).
974
975         * factory.C (readInset): do not abort on reading an unknown inset.
976         Eat it and return 0.
977
978 2003-10-13  Angus Leeming  <leeming@lyx.org>
979
980         * lyx_main.C (LyX): remove call to setDisplayTranslator().
981
982         * lyxrc.C: displayTranslator is now a function,
983         declared in GraphicsTypes.h.
984
985 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
986
987         * format.C: new placeholder $$a to pass the socket address.
988
989         * bufferlist.[Ch]: new function getBufferFromTmp.
990
991         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
992           files in the temporary dir.
993
994 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
995
996         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
997
998         * Makefile.am: add lyxsocket.[Ch].
999
1000         * lyx_main.C (error_handler): handle SIGPIPE.
1001
1002 2003-10-13  André Pönitz  <poenitz@gmx.net>
1003
1004         * BufferView_pimpl.C:
1005         * lyxtext.h:
1006         * text.C:
1007         * text2.C:
1008         * text3.C:
1009         * undo_funcs.[Ch]: use paroffset_type instead of
1010           ParagraphList::iterators to prevent multiple conversion
1011           (and get a more robust interface)
1012
1013 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1014
1015         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1016         * lyxtext.h: ditto
1017         * text3.C (dispatch): ditto
1018
1019 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1020
1021         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1022         move the onlyfile, use onlyfile instead of foundfile in a couple
1023         of places.
1024
1025         * DepTable.C (update): flush the error stream a bit more
1026
1027 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1028
1029         * lyxserver.C (callback): adjust
1030
1031         * lyxfunc.C (getStatus): add a missing brace in commented code
1032         (ensureBufferClean): reindent
1033         (dispatch): delete version taking a string
1034
1035 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1036
1037         * LaTeX.C (deplog): move found file handlig from here...
1038         (handleFoundFile): .. to new function here.
1039         (deplog): make sure to discover several files mentioned on the
1040         same log line.
1041
1042 2003-10-10  André Pönitz  <poenitz@gmx.net>
1043
1044         * lyxfunc.C:
1045         * lyxtext.h:
1046         * tabular.C:
1047         * text.C:
1048         * text2.C:
1049         * text3.C: fix some of the tabular crashes
1050
1051 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1052
1053         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1054
1055         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1056
1057 2003-10-09  André Pönitz  <poenitz@gmx.net>
1058
1059         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1060
1061         * BufferView.C:
1062         * BufferView_pimpl.C:
1063         * bufferview_funcs.C:
1064         * lyx_cb.C:
1065         * lyxcursor.C:
1066         * lyxfind.C:
1067         * lyxfunc.C:
1068         * lyxtext.h:
1069         * text.C:
1070         * text2.C:
1071         * text3.C:
1072         * text_funcs.[Ch]:
1073         * textcursor.[Ch]:
1074         * undo_funcs.C: adjust
1075
1076 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1077
1078         * text2.C (incrementItemDepth): new function, use a backtracking
1079         algorithm to discover the correct item depth.
1080         (resetEnumCounterIfNeeded): new function, use a backtracking
1081         algorithm to discover if counter reset is needed.
1082         (setCounter): use them. Simplify a bit. Add different labels for
1083         different item depths for itemize.
1084
1085         * paragraph.C (Paragraph): remove initialization of enumdepth
1086         (operator=): ditto
1087
1088         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1089         enumerate and itemize. Change the type of itemdepth to signed char.
1090
1091 2003-10-08  André Pönitz  <poenitz@gmx.net>
1092
1093         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1094           thing assignable.
1095         * text.C:
1096         * text2.C: adjust
1097
1098         * tabular.[Ch]: fix crash after 'row-insert'
1099
1100 2003-10-08  Angus Leeming  <leeming@lyx.org>
1101
1102         Fix doxygen warnings.
1103
1104         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1105         Remove CutAndPaste:: prefix from header file declaration.
1106
1107         * LColor.h (fill): remove LColor:: prefix from declaration.
1108
1109         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1110         use lyx::depth_type rather than Paragraph::depth_type so that
1111         header file and .C file match.
1112
1113         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1114
1115         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1116         * aspell.C: \file aspell_local.C -> \file aspell.C
1117         * gettext.C: \file gettext.C -> \file src/gettext.C
1118         * gettext.h: \file gettext.h -> \file src/gettext.h
1119         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1120         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1121         * text.C: \file text.C -> \file src/text.C
1122
1123         * toc.C: move comment so that doxygen is not confused.
1124
1125 2003-10-07  Angus Leeming  <leeming@lyx.org>
1126
1127         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1128
1129 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1130
1131         * aspell.C:
1132         * aspell_local.h: add forgotten std::string's.
1133
1134 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1135
1136         * LaTeXFeatures.C:
1137         * LyXAction.C:
1138         * factory.C:
1139         * lfuns.h:
1140         * lyxfunc.C:
1141         * text3.C: The Box patch. Fancybox support, minipage, parbox
1142
1143 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1144
1145         * CutAndPaste.h:
1146         * DepTable.h:
1147         * FloatList.h:
1148         * LaTeXFeatures.h:
1149         * ParagraphParameters.h:
1150         * TextCache.h:
1151         * Thesaurus.h:
1152         * bufferlist.h:
1153         * exporter.h:
1154         * importer.h:
1155         * lastfiles.h:
1156         * lyxfind.h:
1157         * lyxfont.h:
1158         * lyxlex.h:
1159         * lyxtextclasslist.h:
1160         * messages.h:
1161         * paragraph.h:
1162         * paragraph_pimpl.C:
1163         * textcursor.h: add <string> and other small fixes to make Lars'
1164         std::string patch compile with STLport.
1165
1166 2003-10-06  Angus Leeming  <leeming@lyx.org>
1167
1168         * LColor.h: Add missing #include <string>.
1169
1170 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1171
1172         * All most all file in all subdirs: Make <string> be the prefered
1173         way of getting to std::string, add using declarations.
1174
1175 2003-10-06  André Pönitz  <poenitz@gmx.net>
1176
1177         * metricsinfo.C: initialize LyXFont before changing attribute.
1178         (fixes the 'math in \emph is upright' bug)
1179
1180 2003-10-06  André Pönitz  <poenitz@gmx.net>
1181
1182         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1183
1184 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1185
1186         * graph.C:
1187         * paragraph_pimpl.C: Small fixes to build using STLport
1188
1189 2003-10-02  André Pönitz  <poenitz@gmx.net>
1190
1191         * lyxfunc.C:
1192         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1193
1194 2003-10-01  André Pönitz  <poenitz@gmx.net>
1195
1196         * factory.C: assert early
1197
1198 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1199
1200         * lyx_main.C: remove the global debug object
1201
1202         * debug.h: adjust for new debugstream
1203
1204         * debug.C: adjust for new debugstream and keep the global debug
1205         object here.
1206
1207 2003-09-22  Angus Leeming  <leeming@lyx.org>
1208
1209         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1210         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1211         an incomplete class LyXFont.
1212
1213 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1214
1215         * factory.C: bug fix in branches
1216
1217 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1218
1219         * lyxfunc.C (processKeySym): adjust
1220         (dispatch): adjust
1221         (dispatch): change arg name from ev to func, adjust
1222         (sendDispatchMessage): ditto
1223
1224         * lyx_main.C (defaultKeyBindings): adjust keybindings
1225         (deadKeyBindings): ditto
1226
1227         * kbsequence.C (addkey): return a FuncRequest
1228
1229         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1230
1231         * kbmap.C (bind): take a FuncRequest as arg, adjust
1232         (read): adjust
1233         (lookup): adjust
1234         (defkey): change to take a FuncRequest as arg, adjust
1235         (findbinding): take a FuncRequest as arg, adjust.
1236
1237         * funcrequest.h (operator=): added
1238
1239         * funcrequest.C (FuncRequest): default kb_action changed from
1240         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1241
1242         * buffer.C (dispatch): simplify
1243         (dispatch): adjust to take a FuncRequest as arg, adjust
1244
1245         * boost.C (assertion_failed): change assertion message slightly
1246
1247         * ToolbarBackend.C (read): simplify
1248
1249         * MenuBackend.C (binding): adjust call to findbinding, add a
1250         message if no binding is found.
1251         (read): simplify
1252         (expandToc): correct by adding a empty FuncRequest
1253
1254         * LyXAction.C: include <boost/assert.hpp>
1255         (isPseudoAction): delete function
1256         (LookupFunc): change name to...
1257         (lookupFunc): this. change return type to FuncRequest.
1258         (getActionName): take kb_action as arg, simplify
1259         (funcHasFlag): add an assert, simplify.
1260
1261 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1262
1263         * toc.C (action): return a FuncRequest, simplify
1264
1265         * lyxfunc.C (processKeySym): adjust
1266         (getStatus): delete version that takes an int.
1267         (getStatus): adjust
1268         (dispatch): delete version that takes action as int
1269         (dispatch): adjust
1270         (sendDispatchMessage): simplify and adjust
1271
1272         * funcrequest.C (getArg): take unsigned int as arg
1273
1274         * ToolbarBackend.C (read): adjust
1275         (add): delete version that takes func as a string.
1276         (getIton): take a FuncRequest as arg
1277
1278         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1279         action.
1280
1281         * MenuBackend.C (MenuItem): add a new construct that only takes a
1282         Kind, simplify the constructor use for submenus.
1283         (add): adjust
1284         (expandLastfiles): adjust
1285         (expandDocuments): adjust
1286         (expandFormats): adjust
1287         (expandFloatListInsert): adjust
1288         (expandFloatInsert): adjust
1289         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1290
1291         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1292         Remove class variables lyx_pseudo_map and lyx_arg_map
1293
1294         * LyXAction.C (searchActionArg): delete function
1295         (getPseudoAction): delete function
1296         (retrieveActionArg): delete function
1297         (LookupFunc): make it return kb_action, simplify.
1298         (getActionName): simplify
1299
1300         * factory.C (createInset): fix new bug
1301
1302 2003-09-19  Angus Leeming  <leeming@lyx.org>
1303
1304         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1305         masterFilename_ parameter in the include inset.
1306
1307         * factory.C (createInset): changes due to the changes to InsetInclude.
1308
1309 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1310
1311         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1312
1313 2003-09-18  Angus Leeming  <leeming@lyx.org>
1314
1315         * buffer.C:
1316         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1317         Inset::fillWithBibKeys.
1318         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1319
1320 2003-09-18  Angus Leeming  <leeming@lyx.org>
1321
1322         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1323         variables.
1324         (ctor): pass and store a 'Buffer const &'
1325         (buffer): new member function.
1326
1327         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1328         '*this' to the LaTeXFeatures ctor.
1329
1330 2003-09-18  Angus Leeming  <leeming@lyx.org>
1331
1332         * LColor.h:
1333         * lyxfont.C:
1334         * lyxfont.h:
1335         * lyxtext.h:
1336         * text.C: rename EnumLColor as LColor_color.
1337
1338 2003-09-18  Angus Leeming  <leeming@lyx.org>
1339
1340         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1341         remove #include "insets/insetbase.h" from cursor.h.
1342
1343 2003-09-18  Angus Leeming  <leeming@lyx.org>
1344
1345         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1346         InsetOld_code to remove #include "inset.h".
1347
1348         * iterators.C: add #include "insets/inset.h"
1349
1350 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1351
1352         * BufferView.C: remove more locking stuff that apparently doesn't
1353         do anything sensible.
1354
1355 2003-09-16  André Pönitz  <poenitz@gmx.net>
1356
1357         * paragraph.[Ch]:
1358         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1359           performance boost.
1360
1361 2003-09-16  Angus Leeming  <leeming@lyx.org>
1362
1363         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1364
1365         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1366         arg/return type.
1367
1368         * paragraph.h: remove #include "lyxfont.h". Forward declare
1369         LyXFont_size.
1370
1371 2003-09-16  Angus Leeming  <leeming@lyx.org>
1372
1373         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1374         of support/textutils.h.
1375         (isWord): move the contents of support/textutils.h's IsWordChar here.
1376
1377         * buffer.C:
1378         * lyxfind.C:
1379         * rowpainter.C:
1380         * text.C:
1381         * text2.C: add #include "paragraph.h".
1382
1383         * rowpainter.C:
1384         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1385
1386 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1387
1388         * main.C:
1389         * lyx_main.C:
1390         * lyx_cb.C:
1391         * buffer.C:
1392         * LaTeX.C: use namespace alias for lyx::support::os
1393
1394 2003-09-16  Angus Leeming  <leeming@lyx.org>
1395
1396         * bufferparams.C:
1397         * bufferview_funcs.C:
1398         * factory.C:
1399         * lyxfunc.C:
1400         * paragraph_pimpl.C:
1401         * rowpainter.C:
1402         * text.C: add #include "LColor.h".
1403
1404 2003-09-16  Angus Leeming  <leeming@lyx.org>
1405
1406         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1407         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1408         return LyXFont &.
1409         Store the FontBits::color variable as an int rather than as an
1410         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1411         file.
1412
1413         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1414         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1415         string calls together.
1416
1417         * lyxrc.C: add #include "LColor.h".
1418
1419 2003-09-15  Angus Leeming  <leeming@lyx.org>
1420
1421         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1422         a cow_ptr.
1423
1424 2003-09-15  Angus Leeming  <leeming@lyx.org>
1425
1426         * LColor.h: add an EnumLColor wrapper for LColor::color.
1427
1428         * lyxfont.[Ch] (color, setColor, realColor):
1429         * lyxtext.h, text.C (backgroundColor):
1430         pass EnumLColor args to/from the functions, rather than LColor::color
1431         ones.
1432
1433         * lyxfont.h:
1434         * lyxtext.h: forward declare EnumLColor.
1435
1436         * lyx_main.C: add #include "LColor.h".
1437
1438 2003-09-15  Angus Leeming  <leeming@lyx.org>
1439
1440         * .cvsignore: add lyx-gtk.
1441
1442 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1443
1444         * Chktex.C
1445         * LaTeX.C
1446         * LaTeXFeatures.C
1447         * ParagraphParameters.C
1448         * Spacing.C
1449         * buffer.C
1450         * bufferparams.C
1451         * bufferview_funcs.C
1452         * chset.C
1453         * counters.C
1454         * funcrequest.C
1455         * lyxfont.C
1456         * lyxgluelength.C
1457         * lyxlength.C
1458         * paragraph.C
1459         * paragraph_funcs.C
1460         * text3.C
1461         * vc-backend.C: remove usage of STRCONV
1462
1463 2003-09-15  Angus Leeming  <leeming@lyx.org>
1464
1465         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1466         explicitly define the color passed to the painter.
1467
1468 2003-09-15  Angus Leeming  <leeming@lyx.org>
1469
1470         * bufferparams.C (BufferParams): reorder member initializers to avoid
1471         compiler warning.
1472
1473 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1474
1475         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1476         * text.C (updateRowPositions): remove an unusual nop
1477
1478 2003-09-12  André Pönitz  <poenitz@gmx.net>
1479
1480         * BufferView_pimpl.C:
1481         * Bullet.C:
1482         * layout.h:
1483         * lyxfunc.C:
1484         * lyxlayout.[Ch]:
1485         * lyxtextclass.C:
1486         * rowpainter.C:
1487         * text.C:
1488         * text2.C:
1489         * Counters.[Ch]: finish the 'automatic counters' job
1490
1491 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1492
1493         * aspell.C: include <boost/assert.cpp> (compile fix)
1494
1495 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1496
1497         * boost.C (assertion_failed): use lyx::support::abort instead of
1498         assert.
1499
1500 2003-09-10  Angus Leeming  <leeming@lyx.org>
1501
1502         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1503         with their _fwd progeny.
1504
1505 2003-09-09  Angus Leeming  <leeming@lyx.org>
1506
1507         134 files throughtout the source tree: replace 'using namespace abc;'
1508         directives with the appropriate 'using abc::xyz;' declarations.
1509
1510 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1511
1512         * boost.C (emergencyCleanup): moved here from LAssert.c
1513         (assertion_failed): new function, called by BOOST_ASSERT
1514
1515         * several files: change Assert to BOOST_ASSERT
1516
1517 2003-09-09  Angus Leeming  <leeming@lyx.org>
1518
1519         * buffer.[Ch]: Add an Impl class and move Buffer's member
1520         variables into it. As a result move several header files out of
1521         buffer.h.
1522
1523         Add header files to lots of .C files all over the tree as a result.
1524
1525 2003-09-09  Angus Leeming  <leeming@lyx.org>
1526
1527         * buffer.[Ch]: make Buffer's member variables private. Add
1528         accessor functions.
1529
1530         Lots of changes all over the tree as a result.
1531
1532 2003-09-08  Angus Leeming  <leeming@lyx.org>
1533
1534         * graph.C: #include <config.h>.
1535
1536 2003-09-08  Angus Leeming  <leeming@lyx.org>
1537
1538         * BranchList.C:
1539         * BufferView.C:
1540         * BufferView_pimpl.C:
1541         * CutAndPaste.C:
1542         * DepTable.C:
1543         * LaTeX.C:
1544         * LaTeXFeatures.C:
1545         * LyXAction.C:
1546         * MenuBackend.C:
1547         * TextCache.C:
1548         * aspell.C:
1549         * buffer.C:
1550         * bufferlist.C:
1551         * changes.C:
1552         * chset.C:
1553         * converter.C:
1554         * counters.C:
1555         * debug.C:
1556         * graph.C:
1557         * ispell.C:
1558         * lyx_cb.C:
1559         * lyxfind.C:
1560         * lyxfunc.C:
1561         * lyxlex_pimpl.C:
1562         * lyxrc.C:
1563         * lyxrow.C:
1564         * paragraph.C:
1565         * rowpainter.C:
1566         * texrow.C:
1567         * text.C:
1568         * text2.C:
1569         * toc.C: remove redundant using directives.
1570
1571 2003-09-07  Angus Leeming  <leeming@lyx.org>
1572
1573         * LaTeXFeatures.h: remove #include "support/types.h".
1574         * ToolbarBackend.h: remove #include <algorithm>.
1575         * changes.h: remove #include <ctime>.
1576         * debug.h: remove #include <iosfwd>.
1577         * graph.h: remove #include "support/std_string.h".
1578         * lyx_main.h: remove #include <csignal>.
1579         * lyxlex_pimpl.h: remove #include <fstream>.
1580         * sgml.h: remove #include <algorithm>, <utility>.
1581         * toc.h: remove #include "support/std_ostream.h".
1582         Add #include <iosfwd>.
1583
1584 2003-09-07  Angus Leeming  <leeming@lyx.org>
1585
1586         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1587
1588         * converter.h: forward declare LatexRunParams.
1589         * encoding.h: remove #include "lyxrc.h".
1590         * lyxtext.h: remove #include "LColor.h".
1591         * lyxtextclass.h: remove #include "support/types.h".
1592         * trans.h: remove #include "tex-accent.h".
1593         * trans_mgr.h: remove #include "tex-accent.h".
1594         * insets/inset.h: remove #include "support/types.h", <vector>.
1595         * insets/insetcollapsable.h: remove #include "LColor.h".
1596         * insets/insetinclude.h: remove #include "dimension.h".
1597         * insets/insetlatexaccent.h: remove #include "dimension.h".
1598         * insets/insetoptarg.h:: remove #include "insettext.h".
1599         * insets/insettext.h: remove #include "dimension.h",
1600         <boost/shared_ptr.hpp>
1601
1602         * insets/renderers.h: add #include "dimension.h".
1603         * insets/updatableinset.h: add #include "support/types.h".
1604
1605         * many .C files: Associated changes.
1606
1607 2003-09-06  Angus Leeming  <leeming@lyx.org>
1608
1609         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1610         one, inside testInvariant.
1611
1612         * PrinterParams.C: new file.
1613         * PrinterParams.[Ch]: move the function bodies out of line.
1614
1615 2003-09-06  Angus Leeming  <leeming@lyx.org>
1616
1617         * ParagraphParameters.h: forward declare ParameterStruct rather than
1618         including its header file.
1619         (depth): moved out-of-line.
1620
1621 2003-09-06  Angus Leeming  <leeming@lyx.org>
1622
1623         * BufferView_pimpl.h:
1624         * kbmap.h:
1625         * kbsequence.h:
1626         * lyxfunc.h: forward declare LyXKeySym rather than
1627         #include "frontends/LyXKeySym.h".
1628
1629         * BufferView_pimpl.C:
1630         * kbmap.C:
1631         * kbsequence.C:
1632         * lyxfunc.C: associated changes.
1633
1634 2003-09-06  Angus Leeming  <leeming@lyx.org>
1635
1636         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1637         As a result, can remove the #include "insets/inset.h" from BufferView.h
1638
1639 2003-09-06  Angus Leeming  <leeming@lyx.org>
1640
1641         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1642         As a result, can remove the #include "insets/inset.h" from BufferView.h
1643
1644 2003-09-06  Angus Leeming  <leeming@lyx.org>
1645
1646         * buffer_funcs.C:
1647         * buffer.h:
1648         * bufferlist.C:
1649         * BufferView.C:
1650         * bufferview_funcs.C:
1651         * BufferView_pimpl.C:
1652         * CutAndPaste.C:
1653         * lyx_cb.C:
1654         * lyxfunc.C:
1655         * paragraph.h:
1656         * ParagraphParameters.C:
1657         * tabular.C:
1658         * text3.C:
1659         * toc.C:
1660         * undo_funcs.C:
1661         * frontends/controllers/ControlDocument.C:
1662         * insets/insetcaption.C: rearrange the #includes into some sort of
1663         coherent order.
1664
1665         * buffer.h: remove #includes ErrorList.h, undo.h
1666
1667 2003-09-06  Angus Leeming  <leeming@lyx.org>
1668
1669         * support/types.h: add a 'depth_type' typedef, used to store the
1670         nesting depth of a paragraph.
1671
1672         * paragraph.h:
1673         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1674         defining explicitly.
1675
1676         * buffer.h:
1677         * paragraph_funcs.h:
1678         * ParagraphParameters.h:
1679         * sgml.h: use lyx::depth_type rather than Paragraph or
1680         ParameterStruct's depth_type.
1681
1682         * buffer.h
1683         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1684
1685         * BufferView.C:
1686         * BufferView_pimpl.C:
1687         * CutAndPaste.C:
1688         * ParagraphParameters.C:
1689         * buffer_funcs.C:
1690         * bufferlist.C:
1691         * bufferview_funcs.C:
1692         * lyx_cb.C:
1693         * lyxfunc.C:
1694         * tabular.C:
1695         * text3.C:
1696         * toc.C:
1697         * undo_funcs.C:
1698         * frontends/LyXView.C:
1699         * frontends/controllers/ControlDocument.C:
1700         * frontends/controllers/ControlErrorList.C:
1701         * insets/insetbibitem.C:
1702         * insets/insetbranch.C:
1703         * insets/insetcaption.C:
1704         * insets/insetcollapsable.C:
1705         * insets/insetenv.C:
1706         * insets/insetert.C:
1707         * insets/insetfloat.C:
1708         * insets/insetfoot.C:
1709         * insets/insetfootlike.C:
1710         * insets/insetnewline.C:
1711         * insets/insetquotes.C:
1712         * insets/insettabular.C:
1713         * insets/insettext.C:
1714         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1715
1716         * frontends/controllers/ControlChanges.C: #include "changes.h".
1717
1718 2003-09-06  Angus Leeming  <leeming@lyx.org>
1719
1720         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1721         than #including paragraph.h.
1722
1723         * ParagraphList.h:
1724         * RowList.h: deleted. Superfluous.
1725
1726         * CutAndPaste.h:
1727         * iterators.h:
1728         * lyxcursor.h:
1729         * lyxtext.h:
1730         * text_funcs.h:
1731         * undo.h:
1732         * undo_funcs.h:
1733         * insets/inset.h:
1734         * insets/insettext.h: use ParagraphList_fwd.h rather than
1735         ParagraphList.h.
1736
1737         * paragraph.h: don't forward declare ParagraphList.
1738
1739         * buffer.h:
1740         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1741         rather than ParagraphList.h. paragraph.h is still needed for the
1742         Paragraph::depth_type parameters.
1743
1744         * textcursor.h: enable it to compile stand-alone in light of the
1745         above changes.
1746
1747         * bufferview_funcs.C:
1748         * iterators.C:
1749         * lyxfunc.C:
1750         * lyxrow_funcs.C:
1751         * paragraph.C:
1752         * rowpainter.C:
1753         * text.C:
1754         * text2.C:
1755         * text3.C:
1756         * text_funcs.C:
1757         * textcursor.C:
1758         * undo.C:
1759         * frontends/controllers/ControlParagraph.C:
1760         * frontends/controllers/ControlTabular.C:
1761         * insets/insetmarginal.C:
1762         * insets/insetminipage.C:
1763         * insets/insetnote.C:
1764         * insets/insetoptarg.C: add header files needed to compile again.
1765
1766 2003-09-06  Angus Leeming  <leeming@lyx.org>
1767
1768         * RowList_fwd.h: new file, forward-declaring Row rather than
1769         #including lyxrow.h.
1770
1771         * lyxrow_funcs.h:
1772         * lyxtext.h:
1773         * paragraph.h:
1774         * insets/insettext.h: use it instead of RowList.h
1775
1776         * bufferview_funcs.C:
1777         * lyxfunc.C:
1778         * lyxrow_funcs.C:
1779         * paragraph.C:
1780         * rowpainter.C:
1781         * text.C:
1782         * text2.C:
1783         * text3.C: #include "RowList.h".
1784
1785 2003-09-05  Angus Leeming  <leeming@lyx.org>
1786
1787         * factory.C (createInset):
1788         * vspace.C (c-tor): replace sscanf call with an istringstream.
1789         * ispell.C: re-add missing HP/UX headers.
1790         * lyxserver.C: re-add missing  os2 headers.
1791
1792 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1793
1794         * BranchList.C:
1795         * graph.C:
1796         * ispell.C:
1797         * lastfiles.C:
1798         * lyx_cb.C:
1799         * lyxserver.C:
1800         * texrow.C:
1801         * text3.C: re-add missing system headers, needed for 2.95.2.
1802
1803 2003-09-05  Angus Leeming  <leeming@lyx.org>
1804
1805         Changes most place everywhere due to the removal of using directives
1806         from support/std_sstream.h.
1807
1808 2003-09-05  Angus Leeming  <leeming@lyx.org>
1809
1810         Replace LString.h with support/std_string.h,
1811         Lsstream.h with support/std_sstream.h,
1812         support/LIstream.h with support/std_istream.h,
1813         support/LOstream.h with support/std_ostream.h.
1814
1815         Changes resulting throughout the tree.
1816
1817 2003-09-05  Angus Leeming  <leeming@lyx.org>
1818
1819         * sgml.h: ensure that the header file can be compiled stand-alone.
1820         * *.C: strip out redundant #includes. (320 in total.)
1821
1822 2003-09-04  Angus Leeming  <leeming@lyx.org>
1823
1824         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1825         here (from getPackages).
1826
1827         * debug.[Ch]: add a new EXTERNAL tag.
1828
1829 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1830
1831         * text2.C (cursorEnd): simplify
1832         (setCursor): adjust
1833         (getColumnNearX): adjust
1834
1835         * text.C (computeBidiTables): adjust
1836         (fill): adjust
1837
1838         * rowpainter.C (paintChars): adjust
1839         (paintSelection): adjust
1840         (paintChangeBar): adjust
1841         (paintText): adjust
1842
1843         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1844         lastPos instead.
1845         (numberOfSeparators): adjust
1846
1847 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1848
1849         * LyXAction.C:
1850         * box.[Ch]:
1851         * lfuns.h:
1852         * lyxfunc.C:
1853         * text3.C: Restricts the mouse click functionality
1854         of insets like bibtex, include, toc and floatlist to the visible
1855         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1856         up the dialogs. Cursor has to be in front of the inset (i.e.
1857         start of row) for this to function.
1858
1859 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1860
1861         * bufferview_funcs.C (currentState): output row information
1862
1863 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1864
1865         * bufferview_funcs.C (currentState): output paragraph position
1866
1867 2003-09-04  Angus Leeming  <leeming@lyx.org>
1868
1869         * FloatList.h: move out #include "Floating.h".
1870         * LaTeX.h: move out #include "DepTable.h".
1871         * LyXAction.h: move out #include "funcrequest.h".
1872         * buffer.h: move out #include "author.h", "iterators.h".
1873         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1874         * lyx_main.h: move out #include "errorlist.h".
1875         * lyxfunc.h: move out #include "FuncStatus.h".
1876         * lyxtext: move out #include "lyxcursor.h".
1877         * paragraph_pimpl.h: move out #include "counters.h".
1878
1879 2003-09-03  Angus Leeming  <leeming@lyx.org>
1880
1881         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1882         preamble_snippets list, enabling us to add snippets to the preamble
1883         only if the snippet was not there already.
1884
1885 2003-09-04  Angus Leeming  <leeming@lyx.org>
1886
1887         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1888
1889 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1890
1891         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1892         update
1893
1894 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1895
1896         * BranchList.C: point fix, earlier forgotten
1897
1898 2003-09-02  Angus Leeming  <leeming@lyx.org>
1899
1900         * box.C (contains): renamed from 'contained' after a fantastic
1901         amount of hot air.
1902
1903 2003-09-02  John Levon  <levon@movementarian.org>
1904
1905         * BufferView.C:
1906         * lyxcursor.h:
1907         * lyxcursor.C:
1908         * lyxfunc.C:
1909         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1910
1911 2003-09-02  John Levon  <levon@movementarian.org>
1912
1913         * text2.C: simplification of cursorEnd(), including partial
1914         fix for bug 1376
1915
1916 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1917
1918         * buffer.C (readFile): add a space
1919
1920 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1921
1922         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1923
1924 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1925
1926         * buffer.C (readFile): new function, take a filename and a
1927         ParagraphList::iterator
1928         (readFile): adjust
1929         (readFile): adjust, make it private. don't use setStream, make
1930         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1931         always contain the filename.
1932
1933         * BufferView.C (insertLyXFile): simplify and make it work for
1934         gzipped files.
1935
1936 2003-08-30  John Levon  <levon@movementarian.org>
1937
1938         * Makefile.am: fix dist (from Kayvan)
1939
1940 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1941
1942         * most files: change to use const Buffer refs
1943
1944 2003-08-27  André Pönitz  <poenitz@gmx.net>
1945
1946         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1947         on top of ownerPar().
1948
1949 2003-08-27  John Levon  <levon@movementarian.org>
1950
1951         * funcrequest.C: properly initialise POD members
1952
1953 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1954
1955         * lyxtext.h (top_y): move top_y from here
1956         * text.C:
1957         * text2.C:
1958         * text3.C:
1959         * BufferView.[Ch]:
1960         * BufferView_pimpl.[Ch]: to here
1961         * frontends/screen.C:
1962         * insets/insettabular.C:
1963         * insets/insettext.C: adjust
1964         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1965
1966 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1967
1968         * BufferView.[Ch]:
1969         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1970
1971 2003-08-26  André Pönitz  <poenitz@gmx.net>
1972
1973         * paragraph_func.[Ch] (outerPar): new function
1974
1975         * paragraph.C:
1976         * paragraph_funcs.C:
1977         * paragraph_funcs.h:
1978         * paragraph_pimpl.C:
1979         * text2.C: remove Inset::par_owner
1980
1981 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1982
1983         * lyxrow_funcs.C:
1984         * lyxtext.h:
1985         * text.C:
1986         * text2.C: eliminates the needFullRow/display() stuff
1987         altogether, putting the logic in metrics/draw in the insets.
1988
1989 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1990
1991         * text2.C (redoParagraphInternal, redoParagraphs):
1992         * text.C (redoParagraph): add a call to updateRowPositions at the
1993         end of each 'metrics-like' call. Remove all others.
1994         (getRow): remove the 'y-computing' version.
1995         (getRowNearY): do not compute nor return the real y. Solve the
1996         'y < 0' problem and simplify.
1997
1998 2003-08-22  Angus Leeming  <leeming@lyx.org>
1999
2000         * *.[Ch]: clean-up of licence and author blurbs.
2001         Also move config.h out of a few .h files and into a few .C files.
2002
2003 2003-08-22  André Pönitz  <poenitz@gmx.net>
2004
2005         * lyxrow.[Ch]: add x_ and *fill_ members
2006
2007         * lyxtext.h:
2008         * text.C:
2009         * rowpainter.C:
2010         * text2.C: adjust/remove prepareToPrint() calls
2011
2012 2003-08-22  André Pönitz  <poenitz@gmx.net>
2013
2014         * lyxrow.[Ch]: add  end_ member
2015
2016         * lyxrow_funcs.C: use LyXRow::end_
2017
2018         * lyxtext.h (singleWidth): add LyXFont parameter
2019
2020         * rowpainter.C:
2021         * text2.C: adjust LyXText::singleWidth() calls
2022
2023         * text.C (redoParagraph): simplify row breaking logic
2024
2025
2026 2003-08-19  André Pönitz  <poenitz@gmx.net>
2027
2028         * funcrequest.C: initialize button_ member
2029
2030         * text3.C:
2031         * rowpainter.[Ch]: interface consolidation
2032
2033 2003-08-18  André Pönitz  <poenitz@gmx.net>
2034
2035         * BufferView.C:
2036         * BufferView_pimpl.C:
2037         * lyxfind.C:
2038         * paragraph_funcs.C:
2039         * rowpainter.C:
2040         * text3.C: remove LyXScreen::draw() and fitCursor calls
2041
2042         * BranchList.h: remove spurious semicolons
2043
2044         * MenuBackend.C: fix branchlist related crash
2045
2046 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2047
2048         * BranchList.[Ch]:
2049         * InsetList.[Ch]:
2050         * LColor.[Ch]:
2051         * LyXAction.C:
2052         * Makefile.am:
2053         * MenuBackend.[Ch]:
2054         * bufferparams.[Ch]:
2055         * factory.C:
2056         * lfuns.h:
2057         * lyxfunc.C:
2058         * text3.C: implements the 'branch inset'
2059         idea. This allows the output of various versions of a document
2060         from a single source version, selectively outputing or suppressing
2061         output of parts of the text.
2062         This implementation contains a 'branch list editor' in a separate
2063         tab of the document settings dialog. Branches are user definable
2064         and have a "display colour" to distinguish them on-screen.
2065
2066         ColorHandler was somewhat cleaned up.
2067         (1) make possible a dynamically growing LColor list by allowing
2068         the graphic context cache to grow along (vector);
2069         (2) eliminate an IMHO unnecessary step in colour allocation.
2070
2071 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2072
2073         * BufferView_pimpl.C: compile fix
2074
2075 2003-08-15  André Pönitz  <poenitz@gmx.net>
2076
2077         * rowpainter.C: remove extra metrics calls
2078
2079         * lyxtext.h: merge the two constructors into a single one,
2080           pass reference to owner's par list
2081
2082         * BufferView_pimpl.C:
2083         * text.C:
2084         * text2.C: adjust
2085
2086 2003-08-15  André Pönitz  <poenitz@gmx.net>
2087
2088         * lyxrow_funcs.[Ch]:
2089         * lyxtext.h:
2090         * paragraph.h:
2091         * paragraph_funcs.C:
2092         * rowpainter.C:
2093         * text.C:
2094         * text2.C:
2095         * text3.C:
2096         * text_funcs.C: split LyXText::rowlist_ into individual
2097         Paragraph::rows_ chunks
2098
2099         * BufferView.[Ch]:
2100         * BufferView_pimpl.[Ch]:
2101         * lyxfind.C:
2102         * lyxtext.h:
2103         * text3.C: remove toggleSelection()
2104
2105 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2106
2107         * bufferlist.C: beautify two alerts (shorter text of buttons)
2108         * buffer.C: Remove redundant ' ' from message
2109         * tabular.h:
2110         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2111         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2112         rename VALIGN_CENTER to VALIGN_MIDDLE
2113
2114 2003-08-11  André Pönitz  <poenitz@gmx.net>
2115
2116         * lyxtext.h (getPar):
2117         * text.C: new function
2118
2119 2003-08-11  André Pönitz  <poenitz@gmx.net>
2120
2121         * Makefile.am:
2122         * tracer.[Ch]: remove unneeded files
2123
2124         * InsetList.[Ch]: remove resizeInsetsLyXText()
2125
2126         * lyxtext.h:
2127         * text.C:
2128         * text2.C:
2129         * text3.C: merge insertParagraphs() and appendParagraph()
2130         remove breakAgain(), update()
2131
2132         * BufferView_pimpl.[Ch]:
2133         * bufferview_funcs.[Ch]:
2134         * lyxfunc.C:
2135         * paragraph.[Ch]:
2136         * rowpainter.C:
2137         * tabular.C: adjust after text & InsetList changes.
2138
2139 2003-08-08  André Pönitz  <poenitz@gmx.net>
2140
2141         * text.C (insertChar, backspace): replace rowlist fiddling
2142         with rebreak of full par
2143
2144         * lyxtext.h:
2145         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2146         checkParagraph, updateInset): removed
2147
2148 2003-08-07  André Pönitz  <poenitz@gmx.net>
2149
2150         * paragraph.C:
2151         * text3.C: merge some LFUN handlers, remove dead code
2152
2153 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2154
2155         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2156
2157 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2158
2159         * text2.C (DEPM): fix part of bug 1255 and 1256
2160
2161 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2162
2163         * BufferView_pimpl.C (workAreaDispatch): change to use
2164         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2165         that are no mouse related.
2166
2167 2003-08-05  André Pönitz  <poenitz@gmx.net>
2168
2169         * BufferView.[Ch]:
2170         * BufferView_pimpl.[Ch]:
2171         * bufferview_funcs.C:
2172         * text2.C:
2173         * text3.C: rip out "deep update"
2174
2175         * textcursor.[Ch] (last_sel_cursor): remove unused member
2176
2177 2003-08-04  André Pönitz  <poenitz@gmx.net>
2178
2179         * BufferView.[Ch]:
2180         * BufferView_pimpl.[Ch]:
2181         * ParagraphParameters.C:
2182         * bufferview_funcs.C:
2183         * lyx_cb.C:
2184         * lyxfind.C:
2185         * lyxfunc.C:
2186         * text.C:
2187         * text2.C:
2188         * text3.C: replace "complicated" BufferView::update(...) calls with
2189         simpler ones.
2190
2191         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2192
2193 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2194
2195         * Makefile.am (lyx_SOURCES): add paper.h
2196
2197 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2198
2199         * Makefile.am: move things around so that both lyx-qt and
2200         lyx-xforms can be built (according to --with-frontend). Then lyx
2201         is a symbolic link to lyx-[firstfrontend]
2202
2203 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2204
2205         * Always use std::endl with lyxerr
2206
2207 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2208
2209         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2210
2211 2003-08-01  André Pönitz  <poenitz@gmx.net>
2212
2213         * BufferView.[Ch]:
2214         * BufferView_pimpl.[Ch]:
2215         * lyxfunc.C:
2216         * text3.C: merge BufferView::repaint() and BufferView::update()
2217
2218 2003-08-01  José Matos  <jamatos@lyx.org>
2219
2220         * buffer.[Ch]: file_format is no longer a buffer data element.
2221
2222 2003-08-01  André Pönitz  <poenitz@gmx.net>
2223
2224         * BufferView.C:
2225         * lyxtext.h:
2226         * text.C:
2227         * text2.C: make redoParagraph more independent of current cursor
2228
2229         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2230         * text.C:
2231         * text2.C: remove unneeded members
2232
2233 2003-07-30  André Pönitz  <poenitz@gmx.net>
2234
2235         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2236
2237         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2238           create a single function...
2239
2240         * paragraph_funcs.C (moveItem): ... here.
2241
2242         * text.C:
2243           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2244
2245 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2246
2247         * LColor.[Ch]: Add comment and greyedout logical colors.
2248
2249 2003-07-30  André Pönitz  <poenitz@gmx.net>
2250
2251         * tabular.C: don't use Assert too heavily. This crashes where it
2252           shouldn't
2253
2254 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2255
2256         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2257         is disabled (bug 1232)
2258
2259 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2260
2261         * factory.C: limited 'arg' scope
2262
2263 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2264
2265         * factory.C: fixed Note submenu issues
2266
2267 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2268
2269         * factory.C: submenu for Note/Comment/Greyedout
2270
2271 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2272
2273         * lyx_main.C (LyX):
2274         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2275
2276 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2277
2278         * LaTeXFeatures.C:
2279         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2280         greyedout. Patch provided by Jürgen Spitzmüller.
2281
2282 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2283
2284         * kbmap.C (read): fix error message when reading bind files
2285
2286 2003-07-29  Angus Leeming  <leeming@lyx.org>
2287
2288         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2289         certainly does not do what it purports to do. I am doing it, and
2290         us, a favour by killing it.
2291
2292 2003-07-28  José Matos  <jamatos@lyx.org>
2293
2294         * buffer.C (readBody, do_writeFile):
2295         * paragraph.C(readParagraph): \end_document replaces \the_end.
2296
2297 2003-07-29  André Pönitz  <poenitz@gmx.net>
2298
2299         * BufferView.[Ch]:
2300         * BufferView_pimpl.[Ch]:
2301         * lyxfunc.C:
2302         * text2.C:
2303         * text3.C:
2304         * textcursor.[Ch]: remove toggleToggle & Co
2305
2306 2003-07-28  José Matos  <jamatos@fep.up.pt>
2307
2308         * buffer.C (readParagraph):
2309         * params_func (readParToken, readParagraph):
2310         * paragraph.C (write): \layout -> \begin_layout.
2311
2312 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2313
2314         * lyxlex_pimpl.C (setFile): clean up slightly.
2315
2316         * bufferparams.h: add compressed var
2317
2318         * buffer_funcs.C (readFile): adjust for LyXLex change
2319         (newFile): ditto + simplify
2320
2321         * buffer.C (writeFile): handle writing of compressed files
2322
2323         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2324         Check if the file is compressed and set a bufferparm if so.
2325
2326         * Makefile.am (lyx_LDADD): remove explicit -lz
2327
2328 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2329
2330         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2331         makeDocBookFile): put the real LyX version in the first line of
2332         the file
2333
2334         * version.h:
2335         * version.C.in: remove lyx_docversion
2336
2337         * tabular.C (write_attribute): add a template-based version to
2338         write enums properly
2339
2340 2003-07-28  André Pönitz  <poenitz@gmx.net>
2341
2342         * lyxtext.h:
2343         * text.C:
2344         * text2.C:
2345         * text3.C: use doubles again for x-coordinates. They are needed.
2346
2347 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2348
2349         * messages.C (getLocaleDir): use lyx_localedir()
2350
2351         * lyxlex_pimpl.C (setFile): compress stuff
2352
2353         * buffer.C (writeFile): add some compression stuff
2354         (do_writeFile): new func, dont call expliti close... will this
2355         breake anything?
2356
2357         * Makefile.am (lyx_LDADD): add -lz
2358
2359 2003-07-28  José Matos  <jamatos@fep.up.pt>
2360
2361         * buffer.C: increment file format.
2362         * paragraph_funcs (readParagraph, readParToken):
2363         * paragraph.C (readParagraph): add \end_layout.
2364
2365 2003-07-27  Angus Leeming  <leeming@lyx.org>
2366
2367         * Makefile.am: remove special casing for configure-time setting of
2368         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2369
2370         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2371         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2372
2373 2003-07-26  André Pönitz  <poenitz@gmx.net>
2374
2375         * paragraph_func.[Ch]:
2376         * paragraph.C (realizeFont): inline it whereever it is used
2377
2378         * rowpainter.C:
2379         * text.C:
2380         * text2.C:
2381         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2382
2383
2384 2003-07-26  André Pönitz  <poenitz@gmx.net>
2385
2386         *       lyxtext.h:
2387         * text.C:
2388         * text2.C: get rid of LyXText::need_break_row
2389
2390 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2391
2392         * toc.[Ch]: put namespace toc inside namespace lyx
2393
2394         * MenuBackend.C (expandToc2): adjust for lyx::toc
2395         (expandToc): ditto
2396
2397         * lyxfunc.C (dispatch): adjust for lyx::find
2398
2399         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2400         lyx::find instead. Reorganize a bit.
2401         (LyXReplace): rename to replace
2402         (LyXFind): rename to find
2403
2404         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2405         (dispatch): ditto
2406
2407 2003-07-26  André Pönitz  <poenitz@gmx.net>
2408
2409         * text.C (setHeightOfRow): restrict scope of temporary variable
2410
2411         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2412           code (never has been used?)
2413
2414 2003-07-27  Asger Alstrup  <alstrup@local>
2415
2416         * text.C (fill): Optimise algorithm to exploit that we can reuse
2417         the LyXFont for many characters.
2418         (setHeightOfRow): Same thing.
2419         (rowBreakPoint): Same thing.
2420
2421 2003-07-26  Asger Alstrup  <alstrup@local>
2422
2423         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2424
2425         * text.C (singleWidth): Spurious font copying in hot-spot
2426         singleWidth avoided. Reorder tests for arabic for efficiency.
2427
2428         * text.C (fill): handle empty paragraphs better.
2429
2430 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2431
2432         * ispell.C:
2433         * encoding.h: add includes
2434
2435         * lyxrc.C: remove reading of bind files
2436
2437         * lyx_main.C (init): setup bindings and menus only if we have a
2438         gui.
2439
2440         * kbmap.C (read): new method. Do the actual reading of bind
2441         files.
2442
2443         * converter.C (dvipdfm_options):
2444         * bufferparams.C:
2445         * lyxrc.C (read):
2446         (output): adapt PAPER_* enums.
2447
2448         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2449
2450         * bufferparams.h: remove paper-related enums from there
2451
2452         * paper.h: New file. A trivial header file to hold paper-related
2453         enums. It should later expand to contain many paper-related
2454         horrors access.
2455
2456         * lyxrc.C: declare extern displayTranslator
2457
2458 2003-07-27  José Matos  <jamatos@fep.up.pt>
2459
2460         * tabular.[Ch] (linuxdoc): add support for tables and figures
2461         (linuxdoc).
2462
2463 2003-07-27  José Matos  <jamatos@fep.up.pt>
2464
2465         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2466         consistency in both functions.
2467         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2468
2469 2003-07-26  Asger Alstrup  <alstrup@local>
2470
2471         * rowpainter.C (paintRows): Change algorithm to work directly on
2472         the insets rather than asking every character in the document
2473         whether its an inset.
2474
2475 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2476
2477         * buffer.C (openFileWrite): factorize some code
2478
2479 2003-07-26  Angus Leeming  <leeming@lyx.org>
2480
2481         * lyx_cb.C:
2482         * lyx_main.[Ch]: replace occurances of system_tempdir with
2483         os::getTmpDir().
2484
2485 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2486
2487         * rename Inset to InsetOld
2488
2489 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2490
2491         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2492         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2493         which I think is a bit clearer. EDIT is gone, since it was
2494         premature optimisation, and broken for mathed anyway.
2495         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2496         with cursor positioning in insets as well (math insets still do not
2497         work, but that's a different story anyway.) It mysteriously
2498         crashes sometimes with undo in the first paragraph, but I'm fairly
2499         confident that this is a compiler bug.
2500
2501 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2502
2503         * paragraph.C (Paragraph): adjust for new clone return type
2504         (operator==): ditto
2505         (copyIntoMinibuffer): ditto
2506
2507 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2508
2509         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2510         by not having a special case, and always doing a full rebreak of
2511         the document after undo.
2512
2513 2003-07-23  Angus Leeming  <leeming@lyx.org>
2514
2515         * factory.C (createInset): InsetExternal::setParams now takes a
2516         Buffer const * arg.
2517
2518 2003-07-23  Angus Leeming  <leeming@lyx.org>
2519
2520         * factory.C (createInset): changed interface to the external and
2521         graphics mailers' string2params functions.
2522
2523 2003-07-23  Angus Leeming  <leeming@lyx.org>
2524
2525         * factory.C (createInset): pass a
2526         Buffer const * parameter to InsetExternalMailer's string2params.
2527
2528 2003-07-22  John Levon  <levon@movementarian.org>
2529
2530         * Thesaurus.h: include the right aiksaurus header
2531
2532 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2533
2534         * MenuBackend.C (expand): check menu shortcuts unconditionally
2535
2536 2003-07-21  Angus Leeming  <leeming@lyx.org>
2537
2538         * factory.C (createInset): pass a
2539         buffer_path parameter to InsetGraphicsMailer's string2params.
2540
2541 2003-07-21  Angus Leeming  <leeming@lyx.org>
2542
2543         * BufferView_pimpl.C (buffer):
2544         * buffer.C (d-tor):
2545         * lyx_main.C (LyX):
2546         * lyxfunc.C (dispatch):
2547         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2548         rather than the grfx shortcut.
2549
2550 2003-07-21  André Pönitz  <poenitz@gmx.net>
2551
2552         * rowpainter.C: remove unused variables
2553
2554         * tabular_funcs.C:
2555         * tabular_funcs.h: move to tabular.C
2556         * Makefile.am: adjust
2557
2558         * tabular.[Ch]: basic optical cleaning
2559
2560         * author.h: pass references, not values
2561
2562 2003-07-18  André Pönitz  <poenitz@gmx.net>
2563
2564         * lyxtext.h:
2565         * metricsinfo.C:
2566         * metricsinfo.h:
2567         * rowpainter.C:
2568         * text.C:
2569         * text2.C:
2570         * text3.C: two-phase drawing for InsetText and InsetTabular
2571         some float -> int changes.
2572
2573 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2574
2575         * lyx_main.C: fix the fix
2576
2577 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2578
2579         * lyx_main.C: fix a crash in batch mode if no files specified
2580         * converter.C: ws
2581
2582 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2583
2584         * format.[Ch] (papersize): moved to BufferParams
2585         * converter.[Ch] (dvips_options): moved to BufferParams
2586         (dvipdfm_options): moved to anon namespace
2587         * bufferparams.[Ch]: added above functions.
2588
2589 2003-07-17  André Pönitz  <poenitz@gmx.net>
2590
2591         * lyxtext.h:
2592         * rowpainter.C:
2593         * text2.C: don't call inset->update() anymore
2594
2595         * metricsinfo.[Ch]: add convenience constructor
2596
2597 2003-07-16  André Pönitz  <poenitz@gmx.net>
2598
2599         * lyxcursor.[Ch]:
2600         * lyxfunc.[Ch]:
2601         * text.C:
2602         * text2.C: replace the LyXCursor::irow_ member with
2603          on-demand computation of the value
2604
2605 2003-07-16  John Levon  <levon@movementarian.org>
2606
2607         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2608
2609 2003-07-15  André Pönitz  <poenitz@gmx.net>
2610
2611         * text.C:
2612         * text2.C: remove no more needed refresh_row
2613
2614 2003-07-15  André Pönitz  <poenitz@gmx.net>
2615
2616         * lyxtext.h:
2617         * rowpainter.C:
2618         * text2.C:
2619         * text3.C: refresh_status tristate -> need_update bool
2620
2621 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2622
2623         * lyxtext.h (init): remove reinit argument (act as if always true)
2624         * text2.C: adjust to that
2625
2626 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2627
2628         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2629         * text3.C: use it to delete selections in some cases
2630         (bugs 441, 673, 702, 954).
2631
2632 2003-07-14  André Pönitz  <poenitz@gmx.net>
2633
2634         * rowpainter.[Ch]: reduce interface
2635
2636 2003-07-14  André Pönitz  <poenitz@gmx.net>
2637
2638         * BufferView_pimpl.C:
2639         * text2.C: adjust after removing unused BufferView * argument
2640
2641 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2642
2643         * text2.C (init): fix a crash fired on resize
2644
2645 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2646
2647         * buffer.[Ch]: added new closing signal
2648         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2649         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2650         BufferView::Pimpl via the closing the signal
2651
2652 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2653
2654         * buffer.[Ch]: take out all bv-related from buffer
2655         * BufferView.C:
2656         * BufferView_pimpl.[Ch]: connect to new signals
2657         * CutAndPaste.C: removed useless asserts
2658         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2659         * lyxvc.[Ch]:
2660         * vc-backend.[Ch]:
2661         * lyxfunc.C: moved view-related funciontality from vc here
2662         * paragraph.C: removed outdated comments
2663         * text.C: ws
2664
2665 2003-07-10  André Pönitz  <poenitz@gmx.net>
2666
2667         * BufferView_pimpl.C:
2668         * tabular.h:
2669         * tabular_funcs.C:
2670         * text.C:
2671         * text2.C: remove InsetText::InnerCache, clean up consequences
2672
2673 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2674
2675         * ispell.C: fix two typos in error messages
2676
2677 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2678
2679         * Extend Note inset to other forms of annotation like Comment
2680         and Greyedout. Right button click gives dialog.
2681
2682         Files modified or added (+):
2683
2684         * insetnote.[Ch]
2685         * FormNote.[Ch]      +
2686         * ControlNote.[Ch]   +
2687         * form_note.fd       +
2688         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2689         frontends/controllers
2690         * xforms/Dialogs.C
2691         * factory.C
2692
2693 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2694
2695         * aspell.C: add missing namespace lyx::support
2696
2697 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2698
2699         * BufferView.[Ch] (newFile): Add
2700         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2701         * LaTeX.[Ch] (message): added this signal and use it
2702         * buffer.[Ch] (busy, message): added these signals and use them
2703         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2704         * converter.C:
2705         * exporter.C:
2706         * format.C:
2707         * importer.C: use buffer signals instead of direct bv calling
2708         * lyx_cb.[Ch] (ShowMessage): removed
2709         * lyx_main.C:
2710         * lyxfunc.C:
2711         * paragraph_funcs.C:
2712         * text2.C: use buffer signals
2713
2714 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2715
2716         * introduce namespace lyx::graphics
2717
2718 2003-07-02  André Pönitz  <poenitz@gmx.net>
2719
2720         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2721
2722 2003-07-01  André Pönitz  <poenitz@gmx.net>
2723
2724         * text.C:
2725         * text2.C:
2726         * text3.C:
2727         * text_funcs.[Ch]:
2728         * textcursor.h:
2729         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2730           text*.C to text_func.C
2731
2732 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2733
2734         * introduce namespace lyx::support
2735
2736 2003-06-30  André Pönitz  <poenitz@gmx.net>
2737
2738         * Chktex.C:
2739         * funcrequest.C:
2740         * lyxtext.h:
2741         * text.C: re-enable --with-included-string
2742
2743 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2744
2745         * textcursor.C: add <config.h>
2746
2747         * text.C (getWord): remove const from word_location arg
2748
2749         * lyxvc.C (getLogFile): fix const type order
2750
2751         * lyxtext.h: remove const from word_location arg, add arg name
2752
2753         * lyxlayout.h: currect type on labeltype.
2754
2755         * importer.C: correct \file
2756
2757         * converter.C (intToFormat): use std:: on ret val, ws changes
2758
2759         * bufferlist.h: correct \file
2760
2761         * buffer.C (makeLinuxDocFile): fix const type order
2762         (makeDocBookFile): ditto
2763         (fillWithBibKeys): use std:: on stdlib args.
2764
2765         * CutAndPaste.C: fix authors.
2766         (availableSelections): use std:: on return vector
2767
2768 2003-06-27  André Pönitz  <poenitz@gmx.net>
2769
2770         * BufferView_pimpl.C:
2771         * bufferview_funcs.C:
2772         * lyxcursor.C:
2773         * lyxcursor.h:
2774         * lyxfunc.C:
2775         * lyxtext.h:
2776         * rowpainter.C:
2777         * text.C:
2778         * text2.C:
2779         * text3.C: remove LyXCursor::row_ member
2780
2781         * lyxtext.h:
2782         * text.C: rename fullRebreak() to partialRebreak() and implement
2783           a fullRebreak() that really bereks fully
2784
2785         * textcursor.h: new struct for cursor-related data
2786
2787 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2788
2789         * lyx_main.C (LyX): get full path of document loaded on the
2790         command line
2791
2792 2003-06-26  André Pönitz  <poenitz@gmx.net>
2793
2794         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2795           remove unused/broken operator>,<,>=.
2796
2797         *       text.C: remove only use of broken operator<= in an Assert().
2798
2799 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2800
2801         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2802         moved errorlist_.clear to showErrorList
2803
2804 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2805
2806         * converter.C (scanLog, runLaTeX):
2807         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2808         move the bv->showErrorList call to the callers
2809         * lyxfunc.C: i.e. here...
2810         * text2.C: and here
2811         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2812         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2813         namespace, the second to...
2814         * buffer_funcs (BufferFormat, parseErrors): added
2815         * errorlist.C (ErrorList(TeXErrors const &)): removed
2816
2817 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2818
2819         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2820
2821 2003-06-24  "Garst R. Reese" <reese@isn.net>
2822
2823         * debug.C: fix typo
2824
2825 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2826
2827         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2828
2829         * version.C.in: change docversion to 1.4
2830
2831 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2832
2833         * buffer.C: fix a bug just introduced
2834
2835 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2836
2837         * buffer.[Ch]: added the parseError signal and use it, removed
2838         sgmlError
2839         * BufferView.[Ch] (addError): moved to ...
2840         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2841         to the Buffer::parseError signal to catch (guess what) parse errors
2842         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2843
2844 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2845
2846         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2847         ability to create a buffer and to return an existing one from
2848         the list. Moved these functions to...
2849         * buffer_funcs.[Ch]: added
2850         * BufferView.[Ch] (loadLyXFile): added
2851         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2852         job removed from bufferlist::loadLyXFile.
2853         * buffer.C (setReadOnly): make it work without view
2854         (i.e added an if (users))
2855
2856 2003-06-19  Angus Leeming  <leeming@lyx.org>
2857
2858         * lfuns.h:
2859         * LyXAction.C (init):
2860         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2861         with LFUN_DIALOG_SHOW <name> <data>.
2862
2863 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2864
2865         * CutAndPaste.C (availableSelections): small compilation fix for
2866         ancient (gcc 2.9x) compilers
2867
2868 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2869
2870         * text3.C (cursorNext): add tmp var
2871
2872         * text2.C (updateCounters): for function calling out of for clause
2873         (replaceSelectionWithString): ditto
2874         (insertStringAsParagraphs): ditto
2875         (getColumnNearX): add tmp var
2876         (setCursorFromCoordinates): add tmp var
2877         (cursorDownParagraph): add tmp var
2878         (deleteEmptyParagraphMechanism): add tmp var
2879
2880         * text.C (insertChar): add tmp var
2881
2882         * rowpainter.C (paintDepthBar): add tmp var
2883
2884         * CutAndPaste.C (availableSelections): potentially check all
2885         paragraphs in a cut to fill the shown strings.
2886
2887 2003-06-18  André Pönitz  <poenitz@gmx.net>
2888
2889         * kbmap.[Ch]: use vector<> instead of list<>
2890
2891 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2892
2893         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2894         pasteSelection with index
2895
2896         * text2.C (pasteSelection): modify, call pasteSelection with index
2897
2898         * paragraph.C (asString): reimplement version with no interval to
2899         call the one with interval.
2900
2901         * lyxtext.h: add index arg to pasteSelection
2902
2903         * MenuBackend.C (MenuItem): handle PasteRecent
2904         (Menu::read::Menutags): add md_pasterecent
2905         (read): handle it
2906         (expandPasteRecent): new function
2907         (expand): use it
2908
2909         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2910
2911         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2912         the limited stack
2913         (availableSelections): new function
2914
2915 2003-06-17  Angus Leeming  <leeming@lyx.org>
2916
2917         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2918
2919 2003-06-17  Angus Leeming  <leeming@lyx.org>
2920
2921         * lfuns.h:
2922         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2923
2924         * lyxfunc.C (dispatch): invoke it.
2925
2926 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2927
2928         * iterators.C (operator++, ParPosition): reintroduce some
2929         const_cast for the benefit of older compilers.
2930
2931 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2932
2933         * text3.C (dispatch): do not modify clipboard when doing
2934         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2935         LFUN_DELETE_SKIP on a selection selection
2936
2937 2003-06-16  André Pönitz  <poenitz@gmx.net>
2938
2939         * BufferView.C:
2940         * buffer.C:
2941         * buffer.h:
2942         * paragraph.C:
2943         * tabular.[Ch]: IU of clone() and getLabelList();
2944
2945 2003-06-13  André Pönitz  <poenitz@gmx.net>
2946
2947         * tabular.h: compactification
2948
2949 2003-06-12  André Pönitz  <poenitz@gmx.net>
2950
2951         * tabular.C:
2952         * tabular.h:
2953         * tabular_funcs.h: some renaming plus whitespace
2954
2955 2003-06-12  André Pönitz  <poenitz@gmx.net>
2956
2957         * BufferView.C:
2958         * BufferView_pimpl.C:
2959         * CutAndPaste.C:
2960         * buffer.C:
2961         * iterators.[Ch]:
2962         * lyxfunc.C:
2963         * text.C:
2964         * toc.C: Return a Paragraph & for ParIterator::operator*()
2965
2966 2003-06-11  John Levon  <levon@movementarian.org>
2967
2968         * lyx_main.C:
2969         * ToolbarBackend.h:
2970         * ToolbarBackend.C: add "Toolbars" section and
2971         put the flags there
2972
2973 2003-06-10  Angus Leeming  <leeming@lyx.org>
2974
2975         * lfuns.h:
2976         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2977
2978         * lyxfunc.C (dispatch): invoke it.
2979
2980 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2981
2982         * main.C: protect <ios> with HAVE_IOS
2983         (main): protect sync_with_stdio with HAVE_IOS
2984
2985 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2986
2987         * text2.C (cutSelection): adjust
2988         (pasteSelection): adjust
2989
2990         * messages.C: handle get of empty string
2991
2992         * main.C (main): use sync_with_stdio(false)
2993
2994         * lyxfunc.C (dispatch): adjust
2995
2996         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2997         (WriteAs): remove unneeded BufferView arg.
2998
2999         * bufferparams.h: use correct types on papersize, papersize2 and
3000         paperpackage.
3001
3002         * bufferparams.C (readToken): adjust for type
3003         (writeLaTeX): add missing cases to switch.
3004
3005         * bufferlist.C (quitWriteBuffer): adjust
3006         (close): adjust
3007
3008         * buffer.C (asciiParagraph): remove some commented code.
3009
3010         * CutAndPaste.C: remove current_view extern variable.
3011         (cutSelection): add BufferParams arg.
3012         (eraseSelection): add BufferParams arg.
3013         (pasteSelection): add Buffer const & arg
3014
3015 2003-06-07  John Levon  <levon@movementarian.org>
3016
3017         * buffer.C:
3018         * paragraph_funcs.C:
3019         * paragraph_pimpl.C:
3020         * text.C:
3021         * text2.C:
3022         * paragraph.h:
3023         * paragraph.C: allow InsetERT to freely space lines,
3024         and some consolidation of code
3025
3026 2003-06-06  José Matos  <jamatos@fep.up.pt>
3027
3028         * buffer.C (makeDocBookFile): fix bug #821
3029
3030 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3031
3032         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3033
3034 2003-06-04  Angus Leeming  <leeming@lyx.org>
3035
3036         * buffer.C: bump format to 224.
3037
3038 2003-06-05  André Pönitz  <poenitz@gmx.net>
3039
3040         * text2.C (redoParagraphs): remove two const_cast<>
3041
3042 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3043
3044         * ParagraphList.h: remove last remnants of NO_STD_LIST
3045
3046 2003-06-03  Angus Leeming  <leeming@lyx.org>
3047
3048         * factory.C (createInset): small change to the way InsetExternal's params
3049         are set.
3050
3051 2003-06-04  André Pönitz  <poenitz@gmx.net>
3052
3053         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3054
3055         * paragraph_pimpl.h:
3056         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3057
3058         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3059
3060         * undo_funcs.C: make some simple cases of undo work again
3061
3062 2003-06-03  John Levon  <levon@movementarian.org>
3063
3064         * ispell.C: HPUX doesn't have sys/select.h
3065         (from Albert Chin)
3066
3067 2003-06-03  John Levon  <levon@movementarian.org>
3068
3069         * CutAndPaste.C: update tabular and include inset
3070         buffer references
3071
3072         * buffer.h:
3073         * paragraph.h:
3074         * paragraph.C: remove owningBuffer(), don't pass Buffer
3075         to clone()
3076
3077         * factory.C: insetGraphicsParams changed
3078
3079 2003-06-02  John Levon  <levon@movementarian.org>
3080
3081         * LyXAction.C:
3082         * factory.C:
3083         * lfuns.h:
3084         * lyxfunc.C:
3085         * text3.C: remove insetparent
3086
3087 2003-06-02  John Levon  <levon@movementarian.org>
3088
3089         * buffer.h:
3090         * buffer.C: fix inset_iterator.end(), move out of line
3091         (bug 1149)
3092
3093 2003-06-01  John Levon  <levon@movementarian.org>
3094
3095         * text3.C: use a proper cut/paste when doing inset
3096         insert (from Jürgen Spitzmüller)
3097
3098 2003-06-01  John Levon  <levon@movementarian.org>
3099
3100         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3101
3102 2003-05-30  André Pönitz  <poenitz@gmx.net>
3103
3104         * rowpainter.C: unify second drawing phase
3105
3106 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3107
3108         * trans_mgr.C: remove one case of current_view
3109
3110         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3111
3112         * paragraph_funcs.h: remove paragraph.h include
3113
3114         * paragraph.h: delete NO_STD_LIST stuff
3115
3116         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3117
3118         * buffer.h: remove paragraph.h include
3119
3120         * ParagraphList.C: delete file
3121
3122         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3123
3124         * toc.C (getTocList): adjust
3125
3126         * paragraph_pimpl.C (validate): adjust
3127
3128         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3129
3130         * paragraph.C (Paragraph): adjust
3131         (getPositionOfInset): use const_iterator, adjust
3132         (bibitem): use const_iterator, adjust
3133         (setInsetOwner): adjust
3134
3135         * iterators.C (operator++): adjust
3136
3137         * InsetList.[Ch]: Replace selfmade iterator with standard
3138         vector::iterator also introduce const_iterator. Remove getPos,
3139         getInset and setInset from InsetTable. Adjust accordingly.
3140
3141         * BufferView.C (lockInset): adjust
3142         (ChangeInsets): adjust
3143
3144         * tabular.[Ch]: delete commented same_id functions
3145
3146 2003-05-28  John Levon  <levon@movementarian.org>
3147
3148         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3149
3150 2003-05-28  André Pönitz  <poenitz@gmx.net>
3151
3152         * metricsinfo.[Ch]: remove 'fullredraw' member
3153
3154 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3155
3156         * lyxtextclass.C (operator): remove caching.
3157
3158 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3159
3160         * text3.C: adjust
3161
3162         * text2.C (cursorBottom): adjust
3163         (setCounter): use ParagraphList::find, adjust
3164
3165         * text.C (workWidth): use ParagraphList::find, adjust
3166
3167         * lyxcursor.C (LyXCursor): adjust
3168
3169         * buffer.C (inset_iterator): adjust
3170
3171         * ParagraphList.h: make iterator(value_type) private, make
3172         ParagraphList a friend of iterator.
3173
3174         * ParagraphList.C (find): new function
3175
3176         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3177
3178 2003-05-27  André Pönitz  <poenitz@gmx.net>
3179
3180         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3181
3182 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3183
3184         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3185
3186 2003-05-26  John Levon  <levon@movementarian.org>
3187
3188         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3189
3190 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3191
3192         * remove same_id from function signatures, adjust.
3193
3194 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3195
3196         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3197
3198         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3199
3200         * paragraph.C (Paragraph): get rid of same_ids parameter
3201
3202         * ParagraphList.C (insert): adjust
3203         (push_back): adjust
3204
3205 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3206
3207         * paragraph_funcs.C (breakParagraph): adjust
3208         (breakParagraphConservative): adjust
3209
3210         * buffer.C (readParagraph): adjust
3211
3212         * ParagraphList.C (insert): take a reference instead of a pointer
3213         (insert): adjust
3214
3215         * paragraph.[Ch] (id): new function
3216
3217         * bufferlist.C (newFile): adjust
3218
3219         * ParagraphList.C (ParagraphList): adjust
3220         (assign): adjust
3221         (push_back): take a reference instead of a pointer.
3222
3223         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3224
3225         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3226         instead.
3227
3228         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3229         set else use old code.
3230
3231         * ParagraphList.C: remove all NO_NEXT code and only compile this
3232         code of NO_STD_LIST is set.
3233
3234 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3235
3236         * BufferView_pimpl.C:
3237         * TextCache.C:
3238         * TextCache.h:
3239         * bufferlist.C:
3240         * errorlist.h:
3241         * format.C:
3242         * format.h:
3243         * graph.C:
3244         * lyxfunc.C:
3245         * lyxrc.C:
3246         * graphics/GraphicsConverter.C:
3247         * graphics/PreviewLoader.C: header adjustment
3248
3249 2003-05-23  Angus Leeming  <leeming@lyx.org>
3250
3251         * LaTeXFeatures.[Ch] (useBabel): new method.
3252         * bufferparams.C (writeLaTeX): use it.
3253
3254 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3255
3256         * ParagraphList.h (set): remove unused function.
3257
3258 2003-05-23  André Pönitz  <poenitz@gmx.net>
3259
3260         * BufferView.C:
3261         * BufferView_pimpl.C:
3262         * buffer.C:
3263         * buffer.h:
3264         * lyxfunc.C:
3265         * undo_funcs.C: setUndo reworked
3266
3267         * iterators.[Ch]: add access to topmost ParagraphList
3268
3269         * lyxtext.[Ch] (workWidth): add a const
3270
3271 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3272
3273         * texrow.[Ch] (increasePos): remove function
3274         * exporter.C (export): removed unused var and outdated comment
3275
3276 2003-05-23  Angus Leeming  <leeming@lyx.org>
3277
3278         * latexrunparams.h: rename fragile as moving_arg.
3279         * paragraph.C (simpleTeXOnePar): ditto.
3280         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3281
3282 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3283
3284         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3285         (createUndo): ditto
3286         (textUndoOrRedo): comment out a currently unused var.
3287
3288         * paragraph.h (NO_NEXT): enable NO_NEXT
3289
3290         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3291
3292         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3293
3294         * exporter.C (Export): adjust for removeAutoInsets removal.
3295
3296         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3297
3298         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3299
3300         * BufferView.[Ch] (removeAutoInsets): delete function
3301
3302 2003-05-22  Angus Leeming  <leeming@lyx.org>
3303
3304         * latexrunparams.h: add a free_spacing variable.
3305
3306         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3307         to pass moving_arg, as the data is stored in runparams.fragile.
3308
3309         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3310         to Inset::latexOptional or to simpleTeXOnePar.
3311
3312         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3313         free_spacing arg to Inset::latexOptional.
3314
3315         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3316         free_spacing arg.
3317
3318 2003-05-22  Angus Leeming  <leeming@lyx.org>
3319
3320         * latexrunparams.h: add fragile and use_babel variables.
3321
3322         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3323         * buffer.C (makeLaTeXFile): store this returned value in
3324         runparams.use_babel, thus passing it to the inset::latex methods.
3325
3326         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3327         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3328
3329         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3330         longer has a fragile arg, as it is stored in runparams.fragile.
3331
3332         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3333         moving_arg parameter as the data is stored in runparams.fragile.
3334
3335         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3336         a fragile parameter as the data is stored in runparams.fragile.
3337
3338 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3339
3340         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3341
3342 2003-05-22  Angus Leeming  <leeming@lyx.org>
3343
3344         * latexrunparams.h: add a 'bool nice' which defaults to false.
3345
3346         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3347         now encapsulated within runparams.
3348
3349         * bufferlist.C (updateIncludedTeXfiles):
3350         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3351
3352 2003-05-22  Angus Leeming  <leeming@lyx.org>
3353
3354         * latexrunparams.h: new file containing struct LatexRunParams.
3355         * Makefile.am: add new file.
3356
3357         * LaTeX.[Ch] (c-tor, run):
3358         * buffer.[Ch] (makeLaTeXFile):
3359         * bufferlist.[Ch] (updateIncludedTeXfiles):
3360         * converter.C (convert, scanLog):
3361         * converter.[Ch] (runLaTeX):
3362         * exporter.C (Export):
3363         * paragraph.[Ch] (simpleTeXOnePar):
3364         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3365         * paragraph_funcs.[Ch] (latexParagraphs):
3366         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3367         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3368         pass around a LatexRunParams parameter.
3369
3370 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3371
3372         * paragraph.[Ch]: remove unused constructor
3373
3374         * ParagraphList.C (erase): new function, taking two iterators
3375
3376 2003-05-22  André Pönitz  <poenitz@gmx.net>
3377
3378         * undo_funcs.C: remove duplicated code
3379
3380         * iterator.[Ch]: operator=
3381
3382 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3383
3384         * tabular.C (SetMultiColumn): ws changes
3385
3386         * rowpainter.C (paintFirst): get rid of a ->previous
3387
3388         * lyx_cb.C (getPossibleLabel): parlist simplification
3389
3390         * BufferView.C (ChangeInsets): simplify slightly.
3391
3392 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3393
3394         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3395         * lfuns.h: new LFUN_SPACE
3396         * lyxfunc.C: protected space has a new lfun
3397         * paragraph_funcs.C: read new space insets
3398         * text3.C:
3399         * factory.C: handle new space insets
3400
3401 2003-05-22  André Pönitz  <poenitz@gmx.net>
3402
3403         * BufferView.C:
3404         * BufferView_pimpl.C:
3405         * buffer.[Ch]:
3406         * lyxfunc.C:
3407         * undo_funcs.C: return a ParIterator from getParFromID.
3408
3409         * iterators.[Ch]: add two const's
3410
3411 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3412
3413         * toc.C (getTocList): adjust
3414
3415         * iterators.[Ch]: rework for parlist
3416
3417         * buffer.C (par_iterator_begin): adjust
3418         (par_iterator_end): adjust
3419
3420         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3421
3422         * BufferView.C (removeAutoInsets): adjust
3423         (ChangeInsets): adjust
3424
3425 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3426
3427         * text.C (top_y): fix bug 1110
3428
3429 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3430
3431         * errorlist.[Ch]: added
3432         * buffer.C:
3433         * BufferView.[Ch]:
3434         * BufferView_pimpl.C:
3435         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3436         instead
3437
3438 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3439
3440         * Makefile.am: ensure that lyx is relinked upon changes to the
3441         various "convenience" libs.
3442
3443 2003-05-20  Angus Leeming  <leeming@lyx.org>
3444
3445         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3446         files are compiled in alphabetical order again.
3447
3448         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3449
3450 2003-05-19  Angus Leeming  <leeming@lyx.org>
3451
3452         * gettext.[Ch]: remove "char const * _(char const *)".
3453
3454 2003-05-19  André Pönitz  <poenitz@gmx.net>
3455
3456         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3457
3458         * Makefile.am:
3459         * BufferView.C:
3460         * DepTable.h:
3461         * LaTeXFeatures.C:
3462         * buffer.C:
3463         * lyxfont.C:
3464         * lyxlex.h:
3465         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3466
3467 2003-05-19  André Pönitz  <poenitz@gmx.net>
3468
3469         * buffer.C:
3470         * lyxlayout.[Ch]:
3471         * lyxtextclass.[Ch]:
3472         * paragraph.C:
3473         * paragraph_funcs.[Ch]:
3474         * text2.C:
3475         * text3.C: more insetenv work
3476
3477 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3478
3479         * ParagraphParameters.C (params2string): small bug fixed
3480
3481 2003-05-16  André Pönitz  <poenitz@gmx.net>
3482
3483         * debug.C:
3484         * bufferview_funcs.C: patch from Kornel Benko to prevent
3485           crash when _(...) is called twice in a statement
3486
3487 2003-05-16  André Pönitz  <poenitz@gmx.net>
3488
3489         * BufferView.C:
3490         * lyxfunc.C:
3491         * text.C:
3492         * text2.C:
3493         * text3.C:
3494         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3495
3496 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3497
3498         * lyx_main.C (init): remove spurious static_cast
3499
3500 2003-05-14  André Pönitz  <poenitz@gmx.net>
3501
3502         * BufferView.C: fix format string
3503
3504 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3505
3506         * BufferView.[Ch] (insertErrors): removed
3507         * BufferView.[Ch] (showErrorList): added
3508         * buffer.C (runChkTeX):
3509         * converter.C (scanLog): call showErrorList instead of inserterrors
3510
3511 2003-05-13  André Pönitz  <poenitz@gmx.net>
3512
3513         * BufferView_pimpl.C:
3514         * buffer.C:
3515         * bufferview_func.C:
3516         * MenuBackend.C:
3517         * lyxfunc.C:
3518         * lyxrc.C:
3519         * tex-accent.C:
3520         * text3.C:
3521         * toc.C:
3522         * tabular_funcs.h: tostr() from its own header
3523
3524         * ParagraphParameters.C:
3525         * ToolbarBackend.C:
3526         * bufferparams.C:
3527         * format.C:
3528         * lyxlex_pimpl.C:
3529         * text3.C: STRCONV()
3530
3531 2003-05-12  André Pönitz  <poenitz@gmx.net>
3532
3533         * BufferView.C:
3534         * BufferView_pimpl.C:
3535         * CutAndPaste.C:
3536         * LaTeX.C:
3537         * LaTeXFeatures.C:
3538         * ParagraphParameters.C:
3539         * buffer.C:
3540         * bufferlist.C:
3541         * bufferparams.C:
3542         * bufferview_funcs.C:
3543         * converter.C:
3544         * counters.C:
3545         * debug.C:
3546         * exporter.C:
3547         * format.C:
3548         * importer.C:
3549         * lyx_cb.C:
3550         * lyx_main.C:
3551         * lyxfont.C:
3552         * lyxfunc.C:
3553         * lyxvc.C:
3554         * paragraph.C:
3555         * paragraph_funcs.C:
3556         * tabular.C:
3557         * tabular_funcs.C:
3558         * text2.C:
3559         * text3.C:  boost::format -> bformat  all over the place
3560
3561
3562 2003-05-09  André Pönitz  <poenitz@gmx.net>
3563
3564         * LColor.[Ch]: Pimpl the #include <map> away
3565
3566 2003-05-09  John Levon  <levon@movementarian.org>
3567
3568         * bufferlist.C: never remove emergency saves
3569
3570 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3571
3572         * Makefile.am: better lib building
3573
3574 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3575
3576         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3577         instead.
3578         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3579         (simpleTeXSpecialChars): adjust
3580         (simpleTeXSpecialChars): adjust
3581         * paragraph.C (simpleTeXOnePar): adjust
3582         * buffer.C (makeLaTeXFile): adjust
3583
3584         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3585
3586         * text2.C (changeDepth): parlist cleanup
3587         (getColumnNearX): ditto
3588
3589         * rowpainter.C (getLabelFont): parlist cleanup
3590
3591         * bufferlist.C (newFile): parlist cleanup
3592
3593         * CutAndPaste.C (eraseSelection): parlist cleanup
3594
3595         * BufferView_pimpl.C (trackChanges): parlist cleanup
3596         (dispatch): ditto
3597
3598         * BufferView.C (lockInset): parlist cleanup.
3599         (ChangeInsets): ditto
3600
3601 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3602
3603         * CutAndPaste.h: Update file header.
3604
3605         * CutAndPaste.C: Update file header.
3606         Store the parts cut out of the Document in a limited_stack.
3607         (copySelection): adjust
3608         (pasteSelection): new function, takes the index in the limited stack.
3609         (nrOfParagraphs): adjust
3610         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3611         simplify error inset insertion.
3612         (checkPastePossible): adjust
3613
3614 2003-05-06  John Levon  <levon@movementarian.org>
3615
3616         * text2.C: don't cast wrap inset to float
3617
3618 2003-05-05  André Pönitz  <poenitz@gmx.net>
3619
3620         * iterator.C:
3621         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3622
3623         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3624           few naked Paragraph *.
3625
3626 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3627
3628         * bufferparams.C: Output warning if a document with missing
3629         TeX document class is loaded
3630         * exporter.C: Disable TeX exports if the document class is missing
3631         * lyxtextclass.C:
3632         * lyxtextclass.h:
3633         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3634         isTeXClassAvailable()
3635
3636 2003-05-03  John Levon  <levon@movementarian.org>
3637
3638         * BufferView.h:
3639         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3640         explicit cursor show/hide
3641
3642         * BufferView_pimpl.h:
3643         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3644         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3645
3646         * lyxfunc.C: hide cursor before dispatching.
3647
3648         * lyx_cb.C:
3649         * lyxfind.C:
3650         * text.C:
3651         * text3.C: remove explicit cursor hides
3652
3653 2003-05-02  André Pönitz  <poenitz@gmx.net>
3654
3655         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3656
3657         * undo_funcs.C:
3658         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3659           linked lists
3660
3661         * text2.C: tiny whitespace
3662
3663 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3664
3665         * undo_funcs.C: almost only ws changes.
3666
3667         * ParagraphList.C (splice): just return if pl is empty.
3668
3669 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3670
3671         * ParagraphList.C (splice): new function.
3672
3673         * CutAndPaste.C (pasteSelection): use it
3674
3675 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3676
3677         * CutAndPaste.C (pasteSelection): remove the last next and
3678         previous from this file.
3679
3680 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3681
3682         * CutAndPaste.C (pasteSelection): more clean up, user proper
3683         ParagraphList functions for pasteing.
3684
3685         * ParagraphList.C (insert): new function, three arg insert
3686
3687 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3688
3689         * ParagraphList.C (insert): new function, three arg insert
3690
3691         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3692         not on paragraphs.
3693
3694 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3695
3696         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3697
3698 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3699
3700         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3701
3702 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3703
3704         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3705         (copySelection): clean up a bit.
3706         (pasteSelection): use make_pair
3707
3708         * ParagraphList.C (ParagraphList): implement copy constructor
3709         (operator=): implement, base on copy constructor.
3710         (assign): new func
3711
3712         * paragraph.C (erase): return a bool
3713
3714         * paragraph_pimpl.C (erasePos): remove function, move contents...
3715         (erase): ... here. Return a bool.
3716         (erase): call erase instead of erasePos.
3717
3718 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3719
3720         * ParagraphList.h: define PitPosPair
3721         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3722         ParagraphList, fix a bug on pasting multiple pars
3723         * text2.C: change interface to C&P
3724
3725 2003-04-30  André Pönitz  <poenitz@gmx.net>
3726
3727         * undo_func.C: revert part of yesterday's patch 2
3728
3729 2003-04-30  John Levon  <levon@movementarian.org>
3730
3731         * LColor.C: s/tabular/table/
3732
3733 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3734
3735         * text3.C (dispatch): do not convert iterator -> pointer
3736         * undo_funcs.C (setCursorParUndo): ditto
3737         * text_funcs.C (transposeChars): ditto
3738
3739         * text2.C (setLayout): ws changes only
3740
3741         * text.C (breakParagraph): do not convert iterator -> pointer
3742         (insertChar): ditto
3743         (acceptChange): ditto
3744         (rejectChange): ditto
3745         (changeCase): ditto
3746         (Delete): ditto
3747         (backspace): ditto
3748
3749         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3750         pointer
3751
3752 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3753
3754         * text3.C (gotoInset): YABG (yet another bad getChar)
3755
3756 2003-04-29  André Pönitz  <poenitz@gmx.net>
3757
3758         * paragraph.h: make operator= private unimplemented as long as
3759           it is unusable
3760
3761         * ParagraphList.C: whitespace
3762
3763         * paragraph.[Ch]:
3764         * paragraph_pimpl.[Ch]:
3765         * paragraph_funcs.C:
3766         * CutAndPaste.C:
3767         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3768
3769         * text2.C:
3770           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3771
3772 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3773
3774         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3775         * paragraph.[Ch] (erase):
3776         * paragraph_pimpl.[Ch] (erase): change return type and value
3777         * text2.C (cutSelection): some rework
3778
3779 2003-04-28  John Levon  <levon@movementarian.org>
3780
3781         * bufferlist.C: changes for unsaved changes dialog
3782
3783 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3784
3785         * bufferlist.C (newFile): set language (messages_) for new
3786         documents also.
3787
3788         * buffer.C (readFile): ws changes only.
3789
3790 2003-04-28  André Pönitz  <poenitz@gmx.net>
3791
3792         * undo_funcs.C:
3793         * lyxfunc.C:
3794         * buffer.[Ch]:
3795         * BufferView_pimpl.C:
3796         * BufferView.C: getParFromID related ParagraphList::iterator changes
3797
3798 2003-04-28  André Pönitz  <poenitz@gmx.net>
3799
3800         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3801           Changes
3802
3803 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3804
3805         * messages.C: remove one more localedir class variable.
3806
3807 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3808
3809         * messages.C (getLocaleDir): singleton generation function
3810         (Pimpl): use it.
3811         (Messages): add a default constructor.
3812
3813         * main.C (main): do not setup localedir here, do not call
3814         gettext_init.
3815
3816         * gettext.C (_): use it.
3817         (gettext_init): delete funciton
3818
3819 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3820
3821         * gettext.C (getLyXMessages): new singleton generating function.
3822
3823         * buffer.C (updateDocLang): adjust
3824
3825         * Makefile.am (messages.o): add target
3826         (main.o): remove target
3827
3828 2003-04-27  John Levon  <levon@movementarian.org>
3829
3830         * bufferlist.C:
3831         * lyx_cb.C:
3832         * lyxfunc.C:
3833         * lyxvc.C: specify cancel button in Alert::prompt
3834
3835 2003-04-26  John Levon  <levon@movementarian.org>
3836
3837         * text3.C:
3838         * lyxfunc.C:
3839         * lfuns.h:
3840         * LyXAction.C: add LFUN_INSET_SETTINGS
3841
3842         * lyxfunc.C: don't enable tabular-feature when there's
3843         just any locking inset
3844
3845 2003-04-26  John Levon  <levon@movementarian.org>
3846
3847         * bufferlist.C: re-add Cancel to buffer close question
3848
3849         * lyxfunc.C: fix import UI a bit
3850
3851 2003-04-25  John Levon  <levon@movementarian.org>
3852
3853         * gettext.C: remove the broken asserts for now
3854
3855 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3856
3857         * messages.C: make case where setlocale cannot comply work better.
3858
3859         * buffer.C (updateDocLang): new function
3860         (changeLanguage): use it
3861         (readFile): use it
3862
3863         * text2.C (setCounter): use B_ a bit.
3864
3865         * lyxlayout.C (Read): be sure to trim the label strings.
3866
3867         * messages.C (Messages): fix typo in comment
3868
3869         * buffer.C (readFile): set message_ after file is loaded.
3870         (makeDocBookFile): remove double return
3871         (changeLanguage): reset message_ upon language change.
3872         (B_): new func, use this to get translated buffer strings.
3873
3874         * main.C: add myself and Jean Marc as authors.
3875
3876 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3877
3878         * messages.[hC]: pimplify Messages, and three different pimpls to be
3879         used in different circumstances.
3880
3881         * gettext.[Ch]: change for use with new message code.
3882
3883 2003-04-24 André Pönitz <poenitz@gmx.net>
3884
3885         * factory.C: support for eqref
3886
3887 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3888
3889         * messages.[Ch]: add missing char
3890
3891         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3892
3893         * messages.[Ch]: New files
3894
3895 2003-04-18  John Levon  <levon@movementarian.org>
3896
3897         * BufferView.h:
3898         * BufferView.C:
3899         * BufferView_pimpl.C:
3900         * lfuns.h:
3901         * LyXAction.C:
3902         * lyxtext.h:
3903         * text2.C: remove layout-copy/paste (bug 778)
3904
3905 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3906
3907         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3908
3909 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3910
3911         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3912         if they succeed. Act accordingly.
3913
3914 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3915
3916         * text2.C (setCharFont): adjust
3917         (setCounter): adjust
3918         (insertStringAsLines): adjust
3919
3920         * text.C (leftMargin): adjust
3921         (setHeightOfRow): adjust
3922
3923         * rowpainter.C (paintFirst): adjust
3924         (paintLast): adjust
3925
3926         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3927         (outerHook): ditto
3928         (isFirstInSequence): ditto
3929         (getEndLabel): ditto
3930         (outerFont): adjust
3931
3932         * paragraph.C (getParLanguage): comment out some hard stuff.
3933
3934         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3935         (sgmlError): ditto
3936         (simpleDocBookOnePar): ditto
3937         (makeDocBookFile): use ParagraphList::iterator
3938
3939         * CutAndPaste.C (pasteSelection): adjust
3940
3941 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3942
3943         * text2.C (getFont): adjust
3944         (getLayoutFont): adjust
3945         (getLabelFont): adjust
3946
3947         * paragraph_funcs.C (TeXOnePar): adjust
3948
3949         * buffer.C (simpleLinuxDocOnePar): adjust
3950         (simpleDocBookOnePar): adjust
3951
3952         * CutAndPaste.C (pasteSelection): adjust
3953
3954         * BufferView.C (getEncoding): adjust
3955
3956         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3957
3958 2003-04-16  John Levon  <levon@movementarian.org>
3959
3960         * lyxfind.C: use parlist stuff for search/changes
3961
3962 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3963
3964         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3965
3966         * text2.C (deleteEmptyParagraphMechanism): adjust
3967
3968         * text2.[Ch] (ownerParagraph): delete func (both of them
3969
3970 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3971
3972         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3973
3974 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3975
3976         * ParagraphList.C: prepare for NO_NEXT
3977
3978 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3979
3980         * text2.C (getFont): adjust
3981         (getLayoutFont): adjust
3982         (getLabelFont): adjust
3983
3984         * paragraph.C (getFont): adjust
3985         (getLabelFont): adjust
3986         (getLayoutFont): adjust
3987
3988         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3989
3990 2003-04-15  John Levon  <levon@movementarian.org>
3991
3992         From Angus Leeming
3993
3994         * lyx_main.C: handle Include in .ui files
3995
3996 2003-04-15  John Levon  <levon@movementarian.org>
3997
3998         * MenuBackend.C: make the doc files length shorter
3999
4000         * ToolbarBackend.h:
4001         * ToolbarBackend.C: handle toolbar placement flags,
4002         Minibuffer
4003
4004 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4005
4006         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4007         adjust
4008
4009         * paragraph_funcs.C (TeXOnePar): adjust
4010
4011         * paragraph.C (getLabelFont): add outerfont arg, adjust
4012         (getLayoutFont): ditto
4013         (simpleTeXOnePar): adjust
4014
4015         * paragraph_pimpl.C (realizeFont): delete func
4016
4017 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4018
4019         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4020         row argument, constify cur argument.
4021
4022 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4023
4024         * text2.C (getFont): adjust
4025         (getLayoutFont): adjust
4026         (getLabelFont): adjust
4027
4028         * paragraph_funcs.C (TeXOnePar): adjust
4029         (outerFont): new func...
4030         (realizeFont): ...moved out from here, changed this to facilitate
4031         transition
4032
4033         * paragraph.C (getFont): take outerfont as arg, adjust
4034         (simpleTeXOnePar): add outerfont arg, adjust
4035
4036         * buffer.C (simpleLinuxDocOnePar): adjust
4037         (simpleDocBookOnePar): adjust
4038
4039         * CutAndPaste.C (pasteSelection): adjust
4040
4041         * BufferView.C (getEncoding): adjust
4042
4043 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4044
4045         * text2.C (setCharFont): adjust
4046         (setCounter): adjust
4047
4048         * text.C (leftMargin): adjust
4049         (setHeightOfRow): adjust
4050
4051         * rowpainter.C (paintFirst): adjust
4052         (paintLast): adjust
4053
4054         * paragraph_pimpl.C (realizeFont): adjust
4055
4056         * paragraph.C (isFirstInSequence): move from here...
4057         * paragraph_funcs.C (isFirstInSequence): ...to here
4058
4059         * paragraph.C (outerHook): move from here...
4060         * paragraph_funcs.C (outerHook): ...to here
4061
4062         * paragraph.C (depthHook): move from here...
4063         * paragraph_funcs.C (depthHook): ...to here
4064
4065         * paragraph.C (getEndLabel): move from here...
4066         * paragraph_funcs.C (getEndLabel): ...to here
4067
4068         * text2.C (realizeFont): move from here...
4069         * paragraph_funcs.C (realizeFont): ...to here
4070
4071 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4072
4073         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4074
4075 2003-04-14  Angus Leeming  <leeming@lyx.org>
4076
4077         * LColor.[Ch]: scrap LColor mathcursor.
4078
4079 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4080
4081         * lyxlex.[Ch] (text): delete function
4082         * trans.C (Load): adjust
4083         * paragraph_funcs.C (readParToken): adjust
4084
4085 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4086
4087         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4088         vector<char> instead of a char[].
4089
4090         * lyxlex_pimpl.C (getString): adjust
4091         (next): adjust
4092         (lex): use getString
4093         (eatLine): adjust
4094         (nextToken): adjust
4095
4096         * lyxlex.C (text): use pimpl_->getString()
4097         (getBool): ditto
4098         (findToken): ditto
4099
4100 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4101
4102         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4103         (makeFontEntriesLayoutSpecific): temp var for par.size()
4104         (setLayout): temp var for ownerParagraphs().end()
4105         (fullRebreak): temp var for rows().end()
4106         (selectionAsString): temp var for boost::next(startpit), realize
4107         that the while really is a regular for loop.
4108         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4109         setCursor in one place.
4110         (setParagraph): temp vr for ownerParagraphs().end()
4111         (updateCounters): make the while loop a for loop
4112         (cutSelection): temp var for ownerParagraphs().end()
4113         (updateInset): make the do {} while() a regular for loop
4114         (getCursorX): use temp vars
4115         (setCurrentFont): use temp vars
4116         (getColumnNearX): use temp vars
4117
4118 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4119
4120         * text.C (transformChar): use temp var for getChar
4121         (computeBidiTables): use temp var for row->par()
4122         (fill): move temp vars for row->par() and pit->layout() earlier in
4123         the function.
4124         (labelFill): use temp var for row->par()
4125         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4126         asc and desc, realize that pit never changes and that firstpit is
4127         just a duplicate and not needed. Exchange rit->par() with pit in a
4128         lot of places.
4129         (breakAgain): use a temp var for boost::next(rit)
4130         (breakAgainOneRow): ditto
4131         (breakParagraph): use a temp var for rows().begin()
4132         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4133         (cursorRightOneWord): use temp var for cursor.par() and
4134         cursor.pos(), remove usage of tmpcursor.
4135         (cursorLeftOneWord): use temp var for cursor.par() and
4136         cursor.pos() only set cur at end of function.
4137
4138 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4139
4140         * text.C, text2.C: exchange all usage of Paragraph::next with
4141         boost::next(ParagraphList::iterator)
4142
4143         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4144
4145         * text2.C (cursorTop): simplify implementation
4146         (cursorBottom): ditto
4147         (setParagraph): use ParagraphList::iterator
4148         (setCurrentFont): adjust
4149         (getColumnNearX): adjust
4150         (cursorRight): adjust
4151         (cursorLeft): remove usage of Paragraph::previous
4152         (cursorUpParagraph): ditto
4153         (deleteEmptyParagraphMechanism): slight cleanup
4154
4155         * text.C (isBoundary): take a Paragraph const & instead of a
4156         pointer as arg.
4157         (addressBreakPoint): ditto
4158         (leftMargin): remove usage of Paragraph::previous.
4159         (setHeightOfRow): ditto
4160         (cursorLeftOneWord): ditto
4161         (selectNextWordToSpellcheck): ditto
4162         (Delete): ditto
4163         (backspace): ditto
4164         (breakParagraph): remove one usage of Paragraph::next
4165         (redoParagraph): ditto
4166         (acceptChange): ditto
4167         (insertChar): adjust
4168         (rowBreakPoint): adjust
4169
4170         * bufferview_funcs.C (toggleAndShow): adjust
4171
4172 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4173
4174         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4175         methods to access it.
4176         * lyxtext.h:
4177         * text.C: Added updateRowPositions to compute all row positions.
4178         Make top_y and getRowNearY() to use the cached y position
4179
4180 2003-04-11  John Levon  <levon@movementarian.org>
4181
4182         * text.C (rowBreakPoint): reintroduce the labelEnd
4183         checks, code copied from the row fill stuff. Deep voodoo.
4184
4185         * text.C (fill): add a comment and debugging for the
4186         next poor soul.
4187
4188 2003-04-11  John Levon  <levon@movementarian.org>
4189
4190         * text.C: make sure fullrow insets get wrapped to the next line,
4191         even when they're in a manual label
4192
4193 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4194
4195         * text2.C (insertParagraph): make it take ParagraphList::iterator
4196         as arg.
4197         (setLayout): make it return ParagraphList::iterator
4198         (redoParagraphs): ditto
4199         (setCounter): ditto
4200         (checkParagraph): ditto
4201
4202         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4203
4204         * text2.C: adjust several funcs.
4205         (realizeFont): take a ParagraphList::iterator as arg.
4206         (getLayoutFont): ditto
4207         (getLabelFont): ditto
4208         (setCharFont): ditto
4209
4210         * text.C: adjust several funcs.
4211
4212 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4213
4214         * text.C (selectNextWordToSpellcheck): don't accidentally
4215         skip insets
4216
4217 2003-04-10  John Levon  <levon@movementarian.org>
4218
4219         * ToolbarBackend.C (getIcon): special handling for
4220         LFUN_MATH_DELIM
4221
4222 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4223
4224         * text2.C (cursorRight): a getChar assert fixed
4225
4226 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4227
4228         * text2.C (getFont): change to take a ParagraphList::iterator
4229         instead of Paragraph*
4230         Adjust several functions.
4231
4232         * text.C (transformChar): change to take a ParagraphList::iterator
4233         instead of Paragraph*
4234         (singleWidth): ditto
4235         Adjust several functions.
4236
4237         * rowpainter.C: adjust several functions
4238         * rowpainter.h:store a ParagraphList::iterator and not a
4239         Paragraph&.
4240
4241
4242 2003-04-09  John Levon  <levon@movementarian.org>
4243
4244         * lyxfunc.C:
4245         * lfuns.h:
4246         * LyXAction.h:
4247         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4248         and the "help" bits as well
4249
4250 2003-04-09  John Levon  <levon@movementarian.org>
4251
4252         * ToolbarBackend.h:
4253         * ToolbarBackend.C: allow multiple toolbars
4254
4255 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4256
4257         * undo_funcs.C (setCursorParUndo): adjust
4258
4259         * text_funcs.C (transposeChars): adjust
4260
4261         * text3.C (gotoNextInset): adjust
4262         (dispatch): adjust
4263
4264         * text2.C (setLayout): adjust
4265         (changeDepth): adjust
4266         (setFont): adjust
4267         (redoParagraphs): adjust
4268         (selectionAsString): adjust
4269         (setParagraph): adjust
4270         (insertInset): adjust
4271         (cutSelection): adjust
4272         (copySelection): adjust
4273         (pasteSelection): adjust
4274         (insertStringAsLines): adjust
4275         (updateInset): adjust
4276         (setCursor): change to take a ParagraphList::iterator parameter
4277         (setCursorIntern): change to take a ParagraphList::iterator parameter
4278         (setCurrentFont): adjust
4279         (cursorLeft): adjust
4280         (cursorRight): adjust
4281         (deleteEmptyParagraphMechanism): adjust
4282
4283         * text.C (breakParagraph): adjust
4284         (insertChar): adjust
4285         (acceptChange): adjust
4286         (rejectChange): adjust
4287         (selectNextWordToSpellcheck): adjust
4288         (changeCase): adjust
4289         (Delete): adjust
4290         (backspace): adjust
4291
4292         * lyxfind.C (SearchForward): adjust
4293         (SearchBackward): adjust
4294         (nextChange): adjust
4295
4296         * lyxcursor.C (par): adjust
4297
4298         * lyxcursor.h: store a ParagraphList::iterator instead of a
4299         Paragraph*
4300
4301         * lyx_cb.C (getPossibleLabel): adjust
4302
4303         * bufferview_funcs.C (toggleAndShow): adjust
4304
4305         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4306         (dispatch): adjust
4307
4308         * BufferView.C (removeAutoInsets): adjust
4309         (lockedInsetStoreUndo): adjust
4310
4311 2003-04-09  John Levon  <levon@movementarian.org>
4312
4313         * ToolbarBackend.C: try icon without argument
4314         if with argument fails
4315
4316 2003-04-08  John Levon  <levon@movementarian.org>
4317
4318         * ToolbarBackend.h:
4319         * ToolbarBackend.C: add getIcon(), handle tooltip,
4320         and change from "Icon" to "Item".
4321
4322 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4323
4324         * BufferView.C (lockInset): another bad getchar crunched
4325
4326 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4327
4328         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4329         again)
4330
4331 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4332
4333         * lyxfind.C (searchForward, searchBackwards): bug 782
4334
4335 2003-04-07  John Levon  <levon@movementarian.org>
4336
4337         * paragraph.C: remove dead comment
4338
4339         * text.C: remove troublesome depth-fiddling code
4340         in leftMargin() and rightMargin() (bug 1017)
4341
4342         * text.C: fix breaking of rows in nested lists
4343         (bug 1004)
4344
4345         * text2.C (updateCounters): fix up depth values
4346         (bug 1013)
4347
4348 2003-04-07  John Levon  <levon@movementarian.org>
4349
4350         * BufferView_pimpl.C: clear message when doc finishes resizing,
4351         and after a mouse event
4352
4353         * lyxfunc.C: clear message after exiting inset
4354
4355 2003-04-07  John Levon  <levon@movementarian.org>
4356
4357         * bufferview_funcs.C: show math status not outside
4358         status in the statusbar
4359
4360 2003-04-07  John Levon  <levon@movementarian.org>
4361
4362         * lyxfunc.C: note status changed after a depth change
4363
4364 2003-04-04  Angus Leeming  <leeming@lyx.org>
4365
4366         * LaTeX.h: move AuxInfo operator==, != out of line.
4367         Remove LaTeX virtual destructor; nothing derives from it.
4368         Move operator()() out of public area and rename it startscript().
4369         Change protected for private.
4370
4371 2003-04-04  Angus Leeming  <leeming@lyx.org>
4372
4373         * lyxfunc.C:
4374         * text2.C: remove unneeded #includes.
4375
4376 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4377
4378         * text2.C (dEPM): fix the heigth of the next row
4379
4380 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4381
4382         * text.C: squashed an invalid getChar requester + some ws changes
4383
4384 2003-04-03  John Levon  <levon@movementarian.org>
4385
4386         * bufferview_funcs.h:
4387         * bufferview_funcs.C:
4388         * lyxfunc.C:
4389         * lyxtext.h:
4390         * text2.C: make getStatus work for the env depth lfuns
4391
4392 2003-04-03  John Levon  <levon@movementarian.org>
4393
4394         * bufferview_funcs.h:
4395         * bufferview_funcs.C:
4396         * lyxfunc.C:
4397         * lyxtext.h:
4398         * text2.C: parlistize decDepth(), by merging it with incDepth()
4399
4400 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4401
4402         * lyxrow.h: store a ParagraphList::iterator instead of a
4403         Paragraph* and adjust other class functions to suit.
4404
4405         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4406         above.
4407
4408 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4409
4410         * text2.C (setCursor): do not anchor to cursor row for the time being
4411
4412 2003-04-02  John Levon  <levon@movementarian.org>
4413
4414         * LyXAction.C:
4415         * lfuns.h:
4416         * lyx_main.C:
4417         * lyxtext.h:
4418         * text.C:
4419         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4420
4421 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4422
4423         * paragraph.h: make ParagraphList and ParagraphList::iterator
4424         friends of Paragraph.
4425
4426         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4427
4428         * ParagraphList.C: Use the private next_ and previous_ from
4429         Paragraph.
4430
4431 2003-04-01  John Levon  <levon@movementarian.org>
4432
4433         * ToolbarBackend.h:
4434         * ToolbarBackend.C:
4435         * Makefile.am: rename, remove defaults gunk
4436
4437         * MenuBackend.h:
4438         * MenuBackend.C: remove defaults gunk
4439
4440         * Languages.h:
4441         * Languages.C: remove defaults gunk
4442
4443         * lyx_main.h:
4444         * lyx_main.C: error out if files couldn't be found.
4445
4446 2003-04-02  John Levon  <levon@movementarian.org>
4447
4448         * text2.C: make incDepth() use parlist
4449
4450 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4451
4452         * undo_funcs.C (firstUndoParagraph): adjust
4453
4454         * text3.C (gotoInset): adjust
4455         (dispatch): adjust, and rewrite loop.
4456
4457         * text2.C (init): adjust, and rewrite loop.
4458         (redoParagraphs): adjust
4459         (updateInset): adjust, and rewrite loop.
4460         (deleteEmptyParagraphMechanism): adjust
4461
4462         * tabular.C (LyXTabular): adjust
4463         (SetMultiColumn): adjust
4464         (TeXRow): adjust
4465
4466         * lyxtext.[Ch] (ownerParagraph): delete function
4467         (ownerParagraphs): new function returns a ParagraphList.
4468
4469         * BufferView.C (removeAutoInsets): adjust
4470         (insertErrors): adjust
4471         (setCursorFromRow): adjust
4472
4473 2003-04-01  Angus Leeming  <leeming@lyx.org>
4474
4475         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4476         in the frontends.
4477
4478 2003-04-02  John Levon  <levon@movementarian.org>
4479
4480         * lyxtext.h:
4481         * text.C:
4482         * Makefile.am:
4483         * text_funcs.h:
4484         * text_funcs.C: make transposeChars a free function
4485
4486         * lyxrow_funcs.C: remove wrong comment
4487
4488 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4489
4490         * lyxtext.h: adjust
4491         * rowpainter.C: adjust
4492         * text.C: adjust
4493         * text2.C: adjust
4494         * text3.C: adjust
4495
4496         * lyxrow_funcs. [Ch]: new files
4497
4498         * lyxrow.[Ch]: remove next and previous pointers
4499         (next,previous): remove accessor functions
4500         (isParEnd): move to lyxrow_funcs
4501         (lastPos): move to lyxrow_funcs
4502         (nextRowIsAllInset): move to lyxrow_funcs
4503         (lastPrintablePos): move to lyxrow_funcs
4504         (numberOfSeparators): move to lyxrow_funcs
4505         (numberOfHfills): move to lyxrow_funcs
4506         (numberOfLabelHfills): move to lyxrow_funcs
4507         (hfillExpansion): move to lyxrow_funcs
4508
4509         * lyxfunc.C: adjust
4510
4511         * bufferview_funcs.C (toggleAndShow): adjust
4512
4513         * RowList.h: Remove class RowList from file leave just a
4514         std::list<Row>.
4515
4516         * RowList.C: delete file
4517
4518         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4519         and lyxrow_funcs.h
4520
4521 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4522
4523         * text3.C (cursorPrevious): adjust
4524         (cursorNext): adjust
4525         (dispatch): adjust
4526
4527         * text2.C (redoHeightOfParagraph): adjust
4528         (redoDrawingOfParagraph): adjust
4529         (setCursor): adjust
4530
4531         * text.C (breakParagraph): adjust
4532         (insertChar): adjust
4533         (backspace): adjust
4534
4535         * rowpainter.C (RowPainter): adjust
4536         (leftMargin): simplify and adjust
4537         (most rowpainter functions): adjust.
4538
4539         * rowpainter.h: store the row as RowList::iterator not as Row*
4540
4541         * lyxcursor.C (row): taka RowList::iterator as arg
4542         (irow): ditto
4543
4544         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4545         of Row*.
4546
4547 2003-04-01  Angus Leeming  <leeming@lyx.org>
4548
4549         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4550         stuff like bool Bool.
4551
4552 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4553
4554         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4555         rewrite a loop
4556
4557 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4558
4559         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4560         RowList::iterator.
4561
4562         * lyxtext.h (rows): drop one version and leve a const variant that
4563         returns a RowList::iterator.
4564
4565 2003-03-31  Angus Leeming  <leeming@lyx.org>
4566
4567         * text.C (fill): ensure that the signature is the same as that in the
4568         header file.
4569
4570 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4571
4572         * text2.C (redoParagraphs): adjust
4573         (updateCounters): adjust
4574         (checkParagraph): adjust
4575         (getColumnNearX): adjust and reformat a bit.
4576
4577         * text.C (top_y): adjust
4578         (workWidth): adjust
4579         (leftMargin): adjust
4580         (prepareToPrint): adjust
4581         (getRow): adjust
4582         (getRowNearY): adjust
4583
4584         * lyxtext.h: make rowlist_ mutable.
4585
4586         * RowList.h: add const_iterator
4587         * RowList.C: adjust for RowList::const_iterator.
4588
4589         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4590         adjust.
4591
4592 2003-03-31  John Levon  <levon@movementarian.org>
4593
4594         * lyxrc.h:
4595         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4596
4597         * lyx_main.C: set default fonts from using lyx_gui funcs
4598
4599         * exporter.C: pdf_mode moved from lyxrc
4600
4601         * lyx_cb.C:
4602         * lyxfunc.C: changes from above
4603
4604 2003-03-31  John Levon  <levon@movementarian.org>
4605
4606         * lyx_main.C: fix to the last fix
4607
4608 2003-03-31  John Levon  <levon@movementarian.org>
4609
4610         * bufferlist.C: "Load original" -> "Load Original"
4611
4612         * converter.C:
4613         * exporter.C:
4614         * importer.C:
4615         * lyx_main.C:
4616         * format.C: more Alert cleanups
4617
4618 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4619
4620         * text2.C (removeParagraph): make it take a RowList::iterator as
4621         arg, adjust.
4622         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4623         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4624
4625         * text.C (anchor_row): make it take a RowList::iterator as arg,
4626         adjust.
4627         (computeBidiTables): make it take a const reference to Row instead
4628         of Row pointer, adjust.
4629         (leftMargin): make it take a RowList::iterator as arg, adjust.
4630         (rowBreakPoint): adjust
4631         (breakAgainOneRow): make it take a RowList::iterator as arg,
4632         adjust.
4633         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4634
4635         * bufferview_funcs.C (toggleAndShow): adjust
4636
4637 2003-03-30  John Levon  <levon@movementarian.org>
4638
4639         * Makefile.am:
4640         * BoostFormat.h:
4641         * boost-inst.C: moved to support
4642
4643         * several files: changes as a result
4644
4645 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4646
4647         * text2.C (LyXText): adjust.
4648         (init): adjust
4649         (removeRow): make it take a RowList::iterator as arg, adjust.
4650         (fullRebreak): adjust
4651         (deleteEmptyParagraphMechanism): adjust
4652         (clearPaint): adjust
4653         (postPaint): adjust
4654
4655         * text.C (top_y): adjust
4656         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4657         (breakAgain): make it take a RowList::iterator as arg, adjust.
4658         (breakParagraph): adjust
4659         (insertChar): adjust
4660         (backspace): adjust
4661
4662         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4663         need_break_row, and refresh_row.
4664
4665         * text3.C (dispatch): adjust
4666
4667         * text2.C (checkParagraph): adjust
4668         (setCursor): adjust
4669         (setCursorFromCoordinates): adjust
4670
4671         * text.C (top_y): adjust
4672         (workWidth): adjust
4673         (getRow): make it return a RowList::iterator, adjust
4674         (getRowNearY): make it return a RowList::iterator, adjust
4675
4676         * text2.C (init): adjust
4677         (insertRow): remove function
4678         (insertParagraph): adjust
4679         (redoParagraphs): adjust
4680         (fullRebreak): adjust
4681         (updateCounters): adjust
4682
4683         * text.C (top_y): rewrite to use RowList iterators.
4684         (top_y): adjust
4685         (setHeightOfRow): rewrite to sue RowList iterators.
4686         (appendParagraph): adjust
4687         (breakAgain): adjust
4688         (breakAgainOneRow): adjust
4689         (breakParagraph): adjust
4690         (getRow): adjust
4691         (getRowNearY): adjust, and remove commented code.
4692
4693         * lyxtext.h (firstRow): delete function
4694         (lastRow): delete function
4695         (rows): new function (const and non-const versions.)
4696         (insertRow): delete function
4697
4698         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4699
4700 2003-03-29  John Levon  <levon@movementarian.org>
4701
4702         * BufferView_pimpl.C: always update scrollbar top
4703         because pasting text when we're anchored could mean we
4704         miss an update altogether
4705
4706 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4707
4708         * text2.C (init): use rowlist_.end() and not 0.
4709         (insertRow): change to take a RowList::iterator as arg, adjust
4710         for this.
4711         (insertParagraph): change to take a RowList::iterator as arg,
4712         adjust for this.
4713         (redoParagraphs): remove some debug msgs.
4714
4715         * text.C (appendParagraph): change to take a RowList::iterator
4716         arg, adjust for this.
4717         (breakAgain): add an assert
4718         (breakAgainOneRow): ditto
4719
4720 2003-03-29  John Levon  <levon@movementarian.org>
4721
4722         * text2.C: do not clear selection after inc/decDepth
4723         (bug 550)
4724
4725 2003-03-29  John Levon  <levon@movementarian.org>
4726
4727         * BufferView.C:
4728         * buffer.C: fix broken strerrors according to Lars
4729
4730 2003-03-29  John Levon  <levon@movementarian.org>
4731
4732         * converters.C: more Alert cleanups
4733
4734 2003-03-29  John Levon  <levon@movementarian.org>
4735
4736         * bufferview_funcs.C: remove pointless Alert
4737
4738         * buffer.C: fix confusing error message when
4739         a template is chmoded 000
4740
4741 2003-03-29  John Levon  <levon@movementarian.org>
4742
4743         * BufferView.C:
4744         * BufferView.h:
4745         * BufferView_pimpl.C: Alert fixes
4746
4747         * Makefile.am:
4748         * tabular.C:
4749         * tabular-old.C: remove unused table compat reading
4750
4751 2003-03-29  John Levon  <levon@movementarian.org>
4752
4753         * BufferView.C:
4754         * buffer.C:
4755         * lyx_cb.h:
4756         * lyx_cb.C: more Alert cleanups
4757
4758         * lyxfunc.C: don't allow chktex if not latex document
4759
4760 2003-03-29  John Levon  <levon@movementarian.org>
4761
4762         * lyx_cb.C:
4763         * BufferView.C:
4764         * buffer.C: warnings pushed down from support/,
4765         kill err_alert
4766
4767 2003-03-29  John Levon  <levon@movementarian.org>
4768
4769         * lyxfunc.C: safety check for C-r (revert)
4770
4771 2003-03-29  John Levon  <levon@movementarian.org>
4772
4773         * bufferlist.h:
4774         * bufferlist.C: several UI fixes using Alert::prompt.
4775         Fix the pointless looping quit code. Fix stupid revert
4776         behaviour (bug 938)
4777
4778         * lyxvc.h:
4779         * lyxvc.C:
4780         * lyx_cb.C: use Alert::prompt
4781
4782         * lyx_main.C: remove a silly question
4783
4784         * lyxfunc.C: remove a couple of silly questions,
4785         use Alert::prompt
4786
4787 2003-03-28  John Levon  <levon@movementarian.org>
4788
4789         * text2.C: fix bug 974 (End on empty par)
4790
4791 2003-03-28  John Levon  <levon@movementarian.org>
4792
4793         * BufferView_pimpl.C:
4794         * LyXAction.C:
4795         * lfuns.h: remove do-nothing math greek lfuns
4796
4797 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4798
4799         * lyxgluelength.h (isValidGlueLength): add default arg on
4800         parameter 2. Remove default arg from friend in class.
4801
4802         * lyxlength.h (isValidLength): add default arg on parameter 2.
4803         Remove default arg from friend in class.
4804
4805         * text2.C (LyXText): adjust, initialize refresh_row.
4806         (init): adjust
4807         (removeRow): adjust
4808         (insertRow): adjust
4809         (insertParagraph): adjst
4810         (redoParagraphs): adjust
4811         (fullRebreak): adjust
4812         (updateCounters): adjust
4813         (deleteEmptyParagraphMechanism): first attempt at fixing a
4814         crashing bug.
4815
4816         * text.C (top_y): adjust
4817         (setHeightOfRow): adjust
4818         (getRow): adjust
4819         (getRowNearY): adjust
4820
4821         * lyxtext.h: include RowList.h
4822         (~LyXText): not needed anymore, deleted.
4823         (firstRow): modify for RowList
4824         (lastRow): new function
4825         Delete firstrow and lastrow class variables, add a Rowlist
4826         rowlist_ class variable.
4827
4828         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4829         paragraph is empty.
4830
4831         * RowList.C (insert): fix case where it == begin().
4832
4833 2003-03-26  Angus Leeming  <leeming@lyx.org>
4834
4835         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4836         the thesaurus dialog.
4837
4838 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4839
4840         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4841
4842         * RowList.[Ch]: new files
4843
4844         * ParagraphList.C (erase): handle the case where it == begin
4845         correctly.
4846
4847 2003-03-25  John Levon  <levon@movementarian.org>
4848
4849         * Makefile.am:
4850         * aspell_local.h:
4851         * aspell.C: add new aspell support
4852
4853         * lyxrc.h:
4854         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4855         have it accessible.
4856
4857 2003-03-25  Angus Leeming  <leeming@lyx.org>
4858
4859         * lfuns.h:
4860         * LyXAction.C (init): new LFUN_INSET_INSERT.
4861
4862         * BufferView_pimpl.C (dispatch): split out part of the
4863         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4864
4865         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4866         LFUN_INSET_APPLY.
4867
4868 2003-03-25  Angus Leeming  <leeming@lyx.org>
4869
4870         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4871
4872 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4873
4874         * text2.C:
4875         * text3.C: remove useless row->height(0)
4876
4877 2003-03-25  John Levon  <levon@movementarian.org>
4878
4879         * lyxtext.h:
4880         * text2.C:
4881         * text3.C: rename the refreshing stuff to better names
4882
4883 2003-03-24  John Levon  <levon@movementarian.org>
4884
4885         * BufferView_pimpl.h:
4886         * BufferView_pimpl.C: update layout choice on a mouse
4887         press/release
4888
4889 2003-03-23  John Levon  <levon@movementarian.org>
4890
4891         * Makefile.am: fix commandtags.h reference
4892
4893 2003-03-22  John Levon  <levon@movementarian.org>
4894
4895         * BufferView_pimpl.C:
4896         * lyxtext.h:
4897         * rowpainter.C:
4898         * rowpainter.h:
4899         * text.C:
4900         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4901
4902 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4903
4904         * lyxtext.h:
4905         * text.C: take the rtl methods out of line
4906
4907 2003-03-21 André Pönitz <poenitz@gmx.net>
4908
4909         * metricsinfo.[Ch]: new files containing structures to be passed around
4910         during the two-phase-drawing...
4911
4912 2003-03-21 André Pönitz <poenitz@gmx.net>
4913
4914         * lyxtextclass.C: read 'environment' tag.
4915
4916 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4917
4918         * text2.C (removeRow): fix bug 964
4919
4920 2003-03-20  John Levon  <levon@movementarian.org>
4921
4922         * rowpainter.C:
4923         * text.C:
4924         * text2.C: paint cleanups. Inset::update() dropped font
4925         parameter
4926
4927 2003-03-19  John Levon  <levon@movementarian.org>
4928
4929         * lyxfunc.C: only fitcursor/markDirty if available()
4930
4931 2003-03-19  John Levon  <levon@movementarian.org>
4932
4933         * commandtags.h: rename to ...
4934
4935         * lfuns.h: ... this, and renumber / cleanup
4936
4937 2003-03-19  John Levon  <levon@movementarian.org>
4938
4939         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4940         fit the cursor after an lfun
4941
4942         * BufferView.h:
4943         * BufferView.C:
4944         * BufferView_pimpl.h:
4945         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4946
4947         * LyXAction.C: layout-character should have ReadOnly
4948
4949         * ParagraphParameters.C:
4950         * buffer.C:
4951         * bufferview_funcs.C:
4952         * lyx_cb.C:
4953         * lyxfind.C:
4954         * lyxtext.h:
4955         * text.C:
4956         * text2.C:
4957         * text3.C:
4958         * undo_funcs.C: changes from above
4959
4960 2003-03-18  John Levon  <levon@movementarian.org>
4961
4962         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4963         remove it from update()
4964
4965         * lyxfunc.C: update layout choice after an lfun
4966
4967         * text3.C: remove extra updateLayoutChoice()s
4968
4969 2003-03-18  John Levon  <levon@movementarian.org>
4970
4971         * text.C: top_y change means full repaint, fix
4972         a drawing bug with cursor movement
4973
4974 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4975
4976         * lyxtext.h:
4977         * text.C:
4978         * text2.C: anchor row on setCursor
4979
4980 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4981
4982         * lyxtext.h: remove almost all mutable keywords
4983         * text.C:
4984         * text2.C:
4985         * text3.C: remove const keywords accordingly
4986
4987 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4988
4989         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4990         anon namespace
4991         (TeXEnvironment): ditto
4992         (TeXOnePar): ditto
4993
4994 2003-03-17  John Levon  <levon@movementarian.org>
4995
4996         * text.C (rowBreakPoint): remove attempt to fix displayed
4997         math insets inside a manual label
4998
4999 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5000
5001         * lyxtext.h: remove BufferView* as first arg from almost all class
5002         functions.
5003         * other files: adjust.
5004
5005 2003-03-17  John Levon  <levon@movementarian.org>
5006
5007         * lyxtext.h:
5008         * undo_funcs.C:
5009         * text2.C: more paint cleanups
5010
5011         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5012
5013         * rowpainter.h:
5014         * rowpainter.C: remove "smart" background painting code
5015
5016 2003-03-16  John Levon  <levon@movementarian.org>
5017
5018         * lyxtext.h:
5019         * text.C:
5020         * text2.C:
5021         * text3.C: add helper functions for setting refresh_row/y
5022
5023 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5024
5025         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5026         newline inset which *can* get inserted in the pass_thru layouts.
5027         This is primarily for literate documents.
5028
5029 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5030
5031         * buffer.C: increment LYX_FORMAT to 223
5032
5033 2003-03-14 André Pönitz <poenitz@gmx.net>
5034
5035         * textclass.h: prepare for environment handling, ws changes
5036         * lyxlayout.C: read latexheader and latexfooter tags
5037
5038 2003-03-14  John Levon  <levon@movementarian.org>
5039
5040         * text2.C: rewrite ::status() a bit
5041
5042 2003-03-13  John Levon  <levon@movementarian.org>
5043
5044         * lyxtext.h: add some docs
5045
5046 2003-03-13  John Levon  <levon@movementarian.org>
5047
5048         * lyxtext.h:
5049         * text.C:
5050         * text2.C:
5051         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5052
5053 2003-03-13  John Levon  <levon@movementarian.org>
5054
5055         * text3.C: fix appendix redrawing
5056
5057 2003-03-13  John Levon  <levon@movementarian.org>
5058
5059         * text.C (setHeightOfRow):
5060         * rowpainter.h:
5061         * rowpainter.C: make appendix mark have the text
5062           "Appendix" so the user knows what it is
5063
5064         * LColor.h:
5065         * LColor.C: s/appendixline/appendix/ from above
5066
5067 2003-03-13  John Levon  <levon@movementarian.org>
5068
5069         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5070
5071         * text.C: fix a getChar(pos) bug properly
5072
5073 2003-03-13  Angus Leeming  <leeming@lyx.org>
5074
5075         * commandtags.h:
5076         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5077         Probably only temporary. Let's see how things pan out.
5078
5079         * BufferView.C (unlockInset):
5080         * BufferView_pimpl.C (fitCursor):
5081         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5082
5083         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5084         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5085
5086         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5087         new functions that convert ParagraphParameters to and from a string.
5088
5089         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5090         BufferView::Pimpl's dispatch.
5091         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5092
5093 2003-03-13 André Pönitz <poenitz@gmx.net>
5094
5095         * lyxfunc.C:
5096         * text3.C:
5097         * factory.C: make it aware of InsetEnv
5098
5099 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5100
5101         * text2.C (setCursor): never ask for one past last
5102         (setCursor): add some debugging messages.
5103
5104         * text.C (singleWidth): never ask for one past last
5105         (singleWidth): ditto
5106         (leftMargin): ditto
5107         (rightMargin): ditto
5108         (rowBreakPoint): ditto
5109         (setHeightOfRow): ditto
5110         (prepareToPrint): ditto
5111
5112         * rowpainter.C (paintBackground): never ask for one past last
5113         (paintText): never ask for one past last
5114
5115         * paragraph_pimpl.C (getChar): make the assert stricter, never
5116         allow the one past last pos to be taken
5117
5118         * paragraph.C (getChar): ws changes only
5119
5120         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5121         (numberOfSeparators): ditto
5122         (numberOfHfills): ditto
5123
5124 2003-03-12  John Levon  <levon@movementarian.org>
5125
5126         * author.h:
5127         * author.C:
5128         * bufferparams.h:
5129         * bufferparams.C:
5130         * paragraph_funcs.C: fix per-buffer authorlists
5131
5132 2003-03-12  John Levon  <levon@movementarian.org>
5133
5134         * text.C: fix newline in right address
5135
5136 2003-03-12  Angus Leeming  <leeming@lyx.org>
5137
5138         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5139         duplicate those in LyXFunc::dispatch.
5140
5141         * commandtags.h:
5142         * LyXAction.C:
5143         * ToolbarDefaults.C:
5144         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5145         Add LFUN_FONTFREE_UPDATE.
5146
5147         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5148         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5149
5150         * bufferview_func.[Ch]: several new functions to facilliate
5151         transfer of data to and from the character dialog.
5152
5153 2003-03-12  John Levon  <levon@movementarian.org>
5154
5155         * buffer.C:
5156         * paragraph.h:
5157         * paragraph.C:
5158         * paragraph_funcs.C:
5159         * paragraph_pimpl.C:
5160         * sgml.C:
5161         * tabular.C:
5162         * text.C:
5163         * text3.C: remove META_NEWLINE in favour of an inset
5164
5165         * rowpainter.h:
5166         * rowpainter.C: remove paintNewline (done by inset)
5167
5168 2003-03-12  John Levon  <levon@movementarian.org>
5169
5170         * paragraph_pimpl.C: complain about bad getChar()s
5171         for a while at least
5172
5173 2003-03-12  John Levon  <levon@movementarian.org>
5174
5175         * buffer.h:
5176         * buffer.C: move paragraph read into a separate function,
5177         a little renaming to reflect that.
5178
5179         * bufferparams.h:
5180         * bufferparams.C: remove the author_ids map, not necessary now
5181
5182         * factory.h:
5183         * factory.C: moved Buffer::readInset to here
5184
5185         * paragraph_funcs.h:
5186         * paragraph_funcs.C: readParagraph free function moved from
5187         buffer.C
5188
5189         * tabular.C: name change
5190
5191 2003-03-12  John Levon  <levon@movementarian.org>
5192
5193         * buffer.C:
5194         * ParagraphParameters.C: move par params input to
5195         a read() method
5196
5197         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5198         behave like a normal read from the stream wrt reading
5199         a line vs. a \\token
5200
5201 2003-03-12  John Levon  <levon@movementarian.org>
5202
5203         * paragraph.C:
5204         * ParagraphParameters.h:
5205         * ParagraphParameters.C: move output code to a
5206         ::write() method
5207
5208 2003-03-12  John Levon  <levon@movementarian.org>
5209
5210         * BufferView.C (insertLyXFile):
5211         * buffer.h:
5212         * buffer.C:
5213         * tabular.C: use a parlist iterator for creating the
5214           document.
5215
5216 2003-03-12  John Levon  <levon@movementarian.org>
5217
5218         * buffer.C: make current_change static local not
5219           static file-scope
5220
5221 2003-03-12  John Levon  <levon@movementarian.org>
5222
5223         * buffer.C: fix insertStringAsLines for change tracking
5224
5225 2003-03-12  John Levon  <levon@movementarian.org>
5226
5227         * BufferView.C:
5228         * tabular.C:
5229         * buffer.h:
5230         * buffer.C:
5231         * bufferparams.h:
5232         * bufferparams.C: move author list into params. Rename some
5233           functions. Move the header reading into a separate token
5234           loop. Move the header token reading into BufferParams.
5235
5236 2003-03-12  John Levon  <levon@movementarian.org>
5237
5238         * changes.C: put debug inside lyxerr.debugging() checks
5239
5240 2003-03-11 André Pönitz <poenitz@gmx.net>
5241
5242         * factory.C: make it aware of InsetHFill
5243
5244 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5245
5246         * buffer.C (latexParagraphs): move function from here...
5247         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5248         args.
5249
5250 2003-03-10  Angus Leeming  <leeming@lyx.org>
5251
5252         * LyXAction.C (init): fix bug in poplating array with multiple entries
5253         with the same LFUN (spotted by JMarc).
5254
5255 2003-03-10  John Levon  <levon@movementarian.org>
5256
5257         * text.C:
5258         * text2.C: move getColumnNearX() near its
5259         only call site
5260
5261 2003-03-10  John Levon  <levon@movementarian.org>
5262
5263         * text.C: fix break before a minipage
5264
5265 2003-03-10  John Levon  <levon@movementarian.org>
5266
5267         * text.C: fix the last commit
5268
5269 2003-03-09  John Levon  <levon@movementarian.org>
5270
5271         * lyxtext.h:
5272         * text.C:
5273         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5274         bug 365 (don't break before insets unless needed). Don't
5275         return a value > last under any circumstances.
5276
5277 2003-03-09  Angus Leeming  <leeming@lyx.org>
5278
5279         * BufferView_pimpl.C (trackChanges, dispatch): call
5280         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5281
5282 2003-03-09  Angus Leeming  <leeming@lyx.org>
5283
5284         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5285         than Dialogs::showAboutlyx().
5286
5287 2003-03-09  Angus Leeming  <leeming@lyx.org>
5288
5289         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5290         than Dialogs::showTabularCreate().
5291
5292 2003-03-09  John Levon  <levon@movementarian.org>
5293
5294         * lyxtext.h:
5295         * text.C:
5296         * text2.C: 3rd arg to nextBreakPoint was always the same.
5297           Use references.
5298
5299 2003-03-08  John Levon  <levon@movementarian.org>
5300
5301         * lyxrow.C:
5302         * paragraph.C:
5303         * paragraph.h:
5304         * rowpainter.C:
5305         * text.C:
5306         * text2.C: Remove the "main" bit from the "main body"
5307           notion.
5308
5309 2003-03-08  John Levon  <levon@movementarian.org>
5310
5311         * text.C (leftMargin): The left margin of an empty
5312         manual label paragraph should not include the label width
5313         string length.
5314
5315         * text.C (prepareToPrint): don't attempt to measure hfills
5316         for empty manual label paragraphs - the answer should be 0
5317
5318 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5319
5320         * CutAndPaste.C: remove commented code and reindent.
5321
5322 2003-03-08  John Levon  <levon@movementarian.org>
5323
5324         * lyxfunc.h:
5325         * lyxfunc.C: move reloadBuffer()
5326
5327         * BufferView.h:
5328         * BufferView.C: to here
5329
5330         * lyxvc.C: add comment
5331
5332         * vc-backend.h:
5333         * vc-backend.C: call bv->reload() to avoid
5334           getStatus() check on MENURELOAD
5335
5336 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5337
5338         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5339         to an old format .dep file.
5340
5341 2003-03-07  Angus Leeming  <leeming@lyx.org>
5342
5343         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5344         when the LFUN_MOUSE_RELEASE should have been handled by
5345         inset->localDispatch.
5346
5347 2003-03-07  Angus Leeming  <leeming@lyx.org>
5348
5349         * BufferView_pimpl.C (dispatch):
5350         * LyXAction.C (init):
5351         * ToolbarDefaults.C (init):
5352         * commandtags.h:
5353         * lyxfunc.C (getStatus):
5354         remove LFUN_INSET_GRAPHICS.
5355
5356         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5357
5358 2003-03-07  Angus Leeming  <leeming@lyx.org>
5359
5360         * commandtags.h:
5361         * LyXAction.C (init):
5362         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5363
5364         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5365
5366         * commandtags.h:
5367         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5368
5369         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5370         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5371
5372 2003-03-07  Angus Leeming  <leeming@lyx.org>
5373
5374         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5375         remove "ert".
5376
5377 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5378
5379         * ParagraphList.C (front): new function
5380         (back): implement
5381
5382 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5383
5384         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5385         and top_row_offset_. removed var first_y.
5386         * text.C (top_y):
5387         * text2.C (LyXText, removeRow):
5388         * text3.C:
5389         * BufferView_pimpl.C:
5390         use these methods instead of using first_y
5391
5392 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5393
5394         * text2.C (pasteSelection): adjust for checkPastePossible
5395
5396         * CutAndPaste.C: remove Paragraph * buf and replace with
5397         ParagraphList paragraphs.
5398         (DeleteBuffer): delete
5399         (cutSelection): change the tc type to textclass_type
5400         (copySelection): change the tc type to textclass_type
5401         (copySelection): adjust for ParagraphList
5402         (pasteSelection): change the tc type to textclass_type
5403         (pasteSelection): adjust for Paragraphlist
5404         (nrOfParagraphs): simplify for ParagraphList
5405         (checkPastePossible): simplify for ParagraphList
5406         (checkPastePossible): remove unused arg
5407
5408         * ParagraphList.C (insert): handle the case where there are no
5409         paragraphs yet.
5410
5411         * CutAndPaste.h: make CutAndPaste a namespace.
5412
5413         * text3.C (dispatch): adjust
5414
5415         * text.C (breakParagraph): add a ParagraphList as arg
5416
5417         * paragraph_funcs.C (breakParagraph): change to take a
5418         BufferParams and a ParagraphList as args.
5419         (breakParagraphConservative): ditto
5420         (mergeParagraph): ditto
5421         (TeXDeeper): add a ParagraphList arg
5422         (TeXEnvironment): ditto
5423         (TeXOnePar): ditto
5424
5425         * buffer.C (readLyXformat2): adjust
5426         (insertStringAsLines): adjust
5427         (latexParagraphs): adjust
5428
5429         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5430         (cutSelection): adjust
5431         (pasteSelection): adjust
5432
5433         * BufferView_pimpl.C (insertInset): adjust
5434
5435 2003-03-05  Angus Leeming  <leeming@lyx.org>
5436
5437         * commandtags.h:
5438         * LyXAction.C (init):
5439         * BufferView_pimpl.C (dispatch):
5440         * lyxfunc.C (getStatus):
5441         remove LFUN_CHILD_INSERT.
5442
5443         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5444
5445 2003-03-05  Angus Leeming  <leeming@lyx.org>
5446
5447         * commandtags.h:
5448         * LyXAction.C (init):
5449         * src/factory.C (createInset):
5450         * lyxfunc.C (getStatus):
5451         * text3.C (dispatch):
5452         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5453
5454         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5455
5456 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5457
5458         * ParagraphList.C (insert): handle insert right before end()
5459         (erase): fix cases where it can be first or last paragraph.
5460
5461 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5462
5463         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5464         Paragraph::next and Paragraph::previous
5465         (TeXOnePar): ditto
5466
5467         * text.C (breakParagraph): adjust
5468
5469         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5470         BufferParams& as arg.
5471         (breakParagraph): use ParagraphList::insert
5472         (breakParagraphConservative): take a Buffer* instead of a
5473         BufferParams& as arg.
5474         (breakParagraphConservative): use ParagraphList::insert.
5475
5476         * buffer.C (insertStringAsLines): un-const it
5477         (insertStringAsLines): adjust
5478
5479         * ParagraphList.C (insert): new function
5480
5481         * CutAndPaste.C (pasteSelection): adjust
5482
5483         * text.C (backspace): adjust
5484
5485         * tabular.C (SetMultiColumn): adjust
5486
5487         * CutAndPaste.C (cutSelection): adjust
5488         (pasteSelection): adjust
5489
5490         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5491         Buffer const * as arg
5492
5493         * ParagraphList.C (erase): new function
5494         * paragraph_funcs.C (mergeParagraph): use it
5495         (mergeParagraph): make it take a Buffer* instead of a
5496         BufferParams* as arg
5497
5498         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5499         as arg
5500         (breakParagraphConservative): ditto
5501
5502         * paragraph.h: remove the breakParagraph friend
5503
5504         * paragraph.C (eraseIntern): new function
5505         (setChange): new function
5506
5507         * paragraph_funcs.C (mergeParagraph): make it take a
5508         ParagraphList::iterator instead of a Paragraph *, adjust
5509         accordingly.
5510
5511         * paragraph.h: move an #endif so that the change tracking stuff
5512         also works in the NO_NEXT case.
5513
5514 2003-03-04  Angus Leeming  <leeming@lyx.org>
5515
5516         * commandtags.h:
5517         * LyXAction.C: new LFUN_INSET_MODIFY.
5518
5519         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5520         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5521
5522 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5523
5524         * several files: ws changes only
5525
5526         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5527         (TeXEnvironment): ditto
5528         (TeXDeeper): ditto
5529
5530         * buffer.C (makeLaTeXFile): adjust
5531         (latexParagraphs): make it take ParagraphList::iterator as args
5532
5533 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5534
5535         * buffer.C (latexParagraphs): adjust
5536
5537         * paragraph.C (TeXOnePar): move function...
5538         (optArgInset): move function...
5539         (TeXEnvironment): move function...
5540         * paragraph_pimpl.C (TeXDeeper): move function...
5541         * paragraph_funcs.C: ...here
5542
5543         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5544
5545 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5546
5547         * buffer.C (readInset): remove compability code for old Figure and
5548         InsetInfo insets
5549
5550 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5551
5552         * buffer.C: ws changes
5553         (readInset):
5554
5555         * BufferView_pimpl.C: ditto
5556         * author.C: ditto
5557         * buffer.h: ditto
5558         * bufferlist.h: ditto
5559         * changes.h: ditto
5560         * lyxfunc.C: ditto
5561
5562 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5563
5564         * converter.[Ch]: split into itself +
5565         * graph.[Ch]
5566         * format.[Ch]
5567         * Makefile.am: += graph.[Ch] + format.[Ch]
5568         * MenuBackend.C
5569         * buffer.C
5570         * exporter.C
5571         * importer.C
5572         * lyx_main.C
5573         * lyxfunc.C
5574         * lyxrc.C: added #include "format.h"
5575
5576 2003-02-27  Angus Leeming  <leeming@lyx.org>
5577
5578         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5579           a label.
5580
5581         * factory.C (createInset): add "label" to the factory.
5582
5583         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5584           string and do no more.
5585
5586 2003-02-27  Angus Leeming  <leeming@lyx.org>
5587
5588         * commandtags.h:
5589         * LyXAction.C (init):
5590         * factory.C (createInset):
5591         * BufferView_pimpl.C (dispatch):
5592           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5593
5594         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5595
5596         * lyxfunc.C (dispatch):
5597         * text3.C (dispatch): pass name to params2string.
5598
5599 2003-02-26  Angus Leeming  <leeming@lyx.org>
5600
5601         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5602           blocks together.
5603           Rearrange the ~includes. Strip out the unnecessary ones.
5604
5605         * factory.C (createInset): reformat.
5606           create new insets for the various LFUN_XYZ_APPLY lfuns.
5607
5608 2003-02-26  John Levon  <levon@movementarian.org>
5609
5610         * lyxrow.h:
5611         * lyxrow.C: add isParStart,isParEnd helpers
5612
5613         * paragraph.h: make isInserted/DeletedText take refs
5614
5615         * paragraph_funcs.h:
5616         * paragraph_funcs.C: remove #if 0'd code
5617
5618         * lyxtext.h:
5619         * text3.C:
5620         * text2.C:
5621         * text.C: use lyxrow helpers above.
5622           Move draw and paint routines to RowPainter.
5623           Make several methods use refs not pointers.
5624           Make backgroundColor() const.
5625           Add markChangeInDraw(), isInInset().
5626           Merge changeRegionCase into changeCase.
5627           Make workWidth() shouldn't-happen code into an Assert.
5628
5629         * rowpainter.h:
5630         * rowpainter.C: new class for painting a row.
5631
5632         * vspace.h:
5633         * vspace.C: make inPixels take a ref
5634
5635 2003-02-26  Angus Leeming  <leeming@lyx.org>
5636
5637         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5638         LFUN_REF_APPLY.
5639
5640 2003-02-25  John Levon  <levon@movementarian.org>
5641
5642         * ispell.C: give the forked command a more accurate name
5643
5644 2003-02-22  John Levon  <levon@movementarian.org>
5645
5646         * toc.h:
5647         * toc.C: make TocItem store an id not a Paragraph *
5648           (bug #913)
5649
5650 2003-02-21  Angus Leeming  <leeming@lyx.org>
5651
5652         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5653           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5654           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5655           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5656           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5657           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5658
5659         * BufferView_pimpl.C (dispatch):
5660         * LyXAction.C (init):
5661         * factory.C (createInset):
5662         * lyxfunc.C (getStatus, dispatch):
5663         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5664
5665 2003-02-21  Angus Leeming  <leeming@lyx.org>
5666
5667         * BufferView_pimpl.C (MenuInsertLyXFile):
5668         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5669         * lyxfunc.C (menuNew, open, doImport):
5670           no longer pass a LyXView & to fileDlg.
5671
5672 2003-02-21  Angus Leeming  <leeming@lyx.org>
5673
5674         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5675         * LyXAction.C: change, BIBKEY to BIBITEM.
5676         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5677         Change InsetBibKey to InsetBibitem.
5678         Change BIBKEY_CODE to BIBITEM_CODE.
5679         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5680         * factory.C: replace insetbib.h with insetbibitem.h.
5681         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5682         * paragraph.C: replace insetbib.h with insetbibitem.h.
5683         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5684         Change bibkey() to bibitem().
5685         * text.C: remove insetbib.h.
5686         * text2.C: replace insetbib.h with insetbibitem.h.
5687         change bibkey() to bibitem().
5688         * text3.C: remove insetbib.h.
5689         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5690
5691 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5692
5693         * lyxrc.C (output): enclose user email in quotes (in case there are
5694         several words)
5695
5696 2003-02-18  John Levon  <levon@movementarian.org>
5697
5698         * buffer.h: add std::
5699
5700 2003-02-17  John Levon  <levon@movementarian.org>
5701
5702         * SpellBase.h:
5703         * ispell.h:
5704         * ispell.C:
5705         * pspell.h:
5706         * pspell.C: reworking. Especially in ispell, a large
5707           number of clean ups and bug fixes.
5708
5709         * lyxfunc.C: fix revert to behave sensibly
5710
5711 2003-02-17 André Pönitz <poenitz@gmx.net>
5712
5713         * LyXAction.C:
5714         * commandtags.h: new LFUN_INSERT_BIBKEY
5715
5716         * layout.h:
5717         * lyxlayout.C:
5718         * buffer.C:
5719         * factory.C:
5720         * text.C:
5721         * text2.C:
5722         * text3.C:
5723         * paragraph.[Ch]:
5724         * paragraph_func.C: remove special bibkey handling
5725
5726 2003-02-17  John Levon  <levon@movementarian.org>
5727
5728         * text.C (Delete): fix case where delete at the end of
5729           the very first paragraph would not merge the pars
5730
5731 2003-02-17  John Levon  <levon@movementarian.org>
5732
5733         * lyxrow.C: fix lastPrintablePos()
5734
5735 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5736
5737         * bufferparams.C (writeLaTeX): add a std:here
5738
5739         * buffer.C: and remove a using directive there
5740
5741 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5742
5743         * buffer.C (makeLaTeXFile): move the code that generates the
5744           preamble...
5745
5746         * bufferparams.C (writeLaTeX): ... in this new method
5747
5748         * LaTeXFeatures.C (getEncodingSet): make const
5749           (getLanguages): make const
5750
5751         * MenuBackend.C (binding): returns the binding associated to this
5752           action
5753           (add): sets the status of each item by calling getStatus. Adds
5754           some intelligence.
5755           (read): add support for OptSubMenu
5756           (expand): remove extra separator at the end of expanded menu
5757
5758 2003-02-15  John Levon  <levon@movementarian.org>
5759
5760         * BufferView.C:
5761         * BufferView_pimpl.C:
5762         * bufferlist.h:
5763         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5764           inset code that had no actual effect. Remove unneeded status
5765           code.
5766
5767 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5768
5769         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5770           in preamble
5771
5772 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5773
5774         * text.C (drawLengthMarker): also draw an arrow marker for
5775           symbolic lengths (medskip...)
5776
5777 2003-02-14  John Levon  <levon@movementarian.org>
5778
5779         * tabular.h:
5780         * tabular.C: better method names
5781
5782 2003-02-14  John Levon  <levon@movementarian.org>
5783
5784         * BufferView_pimpl.C:
5785         * bufferlist.C:
5786         * buffer.C:
5787         * converter.C:
5788         * lyx_cb.C:
5789         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5790           it's a more accurate name. Remove some pointless uses.
5791
5792 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5793
5794         * text2.C (LyXText): change order of initilizers to shut off
5795           warnings
5796
5797 2003-02-14  John Levon  <levon@movementarian.org>
5798
5799         * buffer.C: use ParIterator for getParFromID()
5800
5801         * paragraph.h:
5802         * paragraph.C:
5803         * paragraph_pimpl.h:
5804         * paragraph_pimpl.C: remove unused getParFromID()
5805
5806 2003-02-14  John Levon  <levon@movementarian.org>
5807
5808         * buffer.C: remove some very old #if 0'd parse code
5809
5810 2003-02-13  John Levon  <levon@movementarian.org>
5811
5812         * text.h:
5813         * text.C:
5814         * text2.C: move hfillExpansion(), numberOfSeparators(),
5815           rowLast(), rowLastPrintable(), numberofHfills(),
5816           numberOfLabelHfills() ...
5817
5818         * lyxrow.h:
5819         * lyxrow.C: ... to member functions here.
5820
5821         * paragraph.h:
5822         * paragraph.C:
5823         * lyxtext.h:
5824         * text.C: remove LyXText::beginningOfMainBody(), and call
5825           p->beginningOfMainBody() directly. Move the check for
5826           LABEL_MANUAL into the latter.
5827
5828         * text.h:
5829         * text.C:
5830         * text2.C:
5831         * vspace.C:
5832         * BufferView.h:
5833         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5834
5835         * text.h:
5836         * text.C:
5837         * text2.C:
5838         * text3.C:
5839         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5840           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5841
5842 2003-02-13  John Levon  <levon@movementarian.org>
5843
5844         * CutAndPaste.C: remove debug
5845
5846 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5847
5848         * paragraph.C (asString): remove two unused variables
5849
5850         * lyxtextclass.C (readTitleType):
5851           (Read):
5852           (LyXTextClass): handle new members titletype_ and titlename_
5853
5854         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5855
5856 2003-02-09  John Levon  <levon@movementarian.org>
5857
5858         * buffer.h:
5859         * buffer.C: replace hand-coded list with a map for the dep clean
5860
5861 2003-02-08  John Levon  <levon@movementarian.org>
5862
5863         * LaTeX.C: consolidate code into showRunMessage() helper
5864
5865 2003-02-08  John Levon  <levon@movementarian.org>
5866
5867         * lyxfind.C:
5868         * lyxtext.h:
5869         * text2.C:
5870         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5871           and pass the size in explicitly
5872
5873         * BufferView_pimpl.h:
5874         * BufferView_pimpl.C:
5875         * BufferView.h:
5876         * BufferView.C: add getCurrentChange()
5877
5878         * BufferView_pimpl.h:
5879         * BufferView_pimpl.C: handle change lfuns
5880
5881         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5882           for changes. Mark pasted paragraphs as new.
5883
5884         * support/lyxtime.h:
5885         * support/lyxtime.C:
5886         * DepTable.C: abstract time_t as lyx::time_type
5887
5888         * LColor.h:
5889         * LColor.C: add colours for new text, deleted text, changebars
5890
5891         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5892           package use "usenames" option.
5893
5894         * commandtags.h:
5895         * lyxfunc.C:
5896         * LyXAction.C: add change lfuns
5897
5898         * Makefile.am:
5899         * author.h:
5900         * author.C: author handling
5901
5902         * buffer.h:
5903         * buffer.C: add a per-buffer author list, with first entry as
5904           current author. Handle new .lyx tokens for change tracking. Output
5905           author list to .lyx file. Output dvipost stuff to .tex preamble.
5906           Bump lyx format to 222.
5907
5908         * bufferlist.h:
5909         * bufferlist.C: add setCurrentAuthor() to reset current author details
5910           in all buffers.
5911
5912         * bufferparams.h:
5913         * bufferparams.C: add param for tracking
5914
5915         * bufferview_funcs.C: output change info in minibuffer
5916
5917         * Makefile.am:
5918         * changes.h:
5919         * changes.C: add change-tracking structure
5920
5921         * debug.h:
5922         * debug.C: add CHANGES debug flag
5923
5924         * lyxfind.h:
5925         * lyxfind.C: add code for finding the next change piece
5926
5927         * lyxrc.h:
5928         * lyxrc.C: add user_name and user_email
5929
5930         * lyxrow.h:
5931         * lyxrow.C: add a metric for the top of the text line
5932
5933         * lyxtext.h:
5934         * text.C: implement accept/rejectChange()
5935
5936         * lyxtext.h:
5937         * text.C: paint changebars. Paint new/deleted text in the chosen
5938         colours. Strike through deleted text.
5939
5940         * paragraph.h:
5941         * paragraph.C:
5942         * paragraph_pimpl.h:
5943         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5944           in the current change to the insert functions. Rework erase to
5945           mark text as deleted, adding an eraseIntern() and a range-based
5946           erase(). Implement per-paragraph change lookup and
5947           accept/reject.
5948
5949         * paragraph_funcs.C: Fixup paste for change tracking.
5950
5951         * tabular.C: mark added row/columns as new.
5952
5953         * text.C: fix rowLast() to never return -1. Don't allow
5954           spellchecking of deleted text. Track transpose changes. Don't
5955           allow paragraph break or merge where appropriate.
5956
5957         * text2.C: leave cursor at end of selection after a cut.
5958
5959 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5960
5961         * text.C (getLengthMarkerHeight):
5962         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5963         visible on screen too.
5964
5965 2003-02-07  John Levon  <levon@movementarian.org>
5966
5967         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5968
5969 2003-02-05  Angus Leeming  <leeming@lyx.org>
5970
5971         * lyxserver.C (read_ready): revert my patch of 11 September last year
5972         as it sends PC cpu through the roof. Presumably this means that
5973         the lyxserver will no longer run on an Alpha...
5974
5975 2003-01-30  Angus Leeming  <leeming@lyx.org>
5976
5977         * factory.C (createInset): create an InsetCommandParam of type "index"
5978         and use it to 'do the right thing'.
5979
5980         * text2.C (getStringToIndex): ensure that cursor position is always
5981         reset to the reset_cursor position.
5982
5983 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5984
5985         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5986         disabled.
5987
5988 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5989
5990         * bufferview.C:
5991         * lyxcb.C:
5992         * lyxfunc.C: Output messages with identical spelling, punctuation,
5993         and spaces
5994
5995 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5996
5997         * MenuBackend.C (expandFormats): List only viewable export formats
5998         in "View" menu
5999
6000         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6001         message
6002
6003         * lyxfunc.C (getStatus): Make sure that formats other than
6004         "fax" can also be disabled
6005
6006 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6007
6008         * text3.C (dispatch): put the lfuns that insert insets in 3
6009         groups, and call doInsertInset with appropriate arguments.
6010         (doInsertInset): new function, that creates an inset and inserts
6011         it according to some boolean parameters.
6012
6013 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6014
6015         * buffer.C (readFile): remember to pass on 'par' when calling
6016         readFile recursively.
6017
6018 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6019
6020         * MenuBackend.C (expandFormats): add "..." to import formats.
6021
6022 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6023
6024         * paragraph.C (asString): Remove XForms RTL hacks.
6025
6026 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6027         * buffer.C: fix typo
6028
6029 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6030
6031         * Makefile.am (LIBS): delete var
6032         (lyx_LDADD): add @LIBS@ here instead.
6033
6034 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6035
6036         * Clarify the meaning of "wheel mouse jump"
6037
6038 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6039
6040         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6041         tabular in a float
6042
6043 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6044
6045         * importer.C (Loaders): do not preallocate 3 elements in the
6046         vector, since one ends up with 6 elements otherwise
6047
6048 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6049
6050         * DepTable.C (write): write the file name as last element of the
6051         .dep file (because it may contain spaces)
6052         (read): read info in the right order
6053
6054 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6055
6056         * paragraph_pimpl.C (simpleTeXBlanks):
6057         (simpleTeXSpecialChars):
6058         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6059
6060         * tabular.C (latex): add some missing case statements. Reindent.
6061
6062         * MenuBackend.C (expandToc): remove unused variable.
6063
6064 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6065
6066         * LColor.C:
6067         * LaTeX.C:
6068         * LyXAction.C:
6069         * MenuBackend.C:
6070         * buffer.C:
6071         * exporter.C:
6072         * lyxfunc.C:
6073         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6074         and the like.
6075
6076 2003-01-05  John Levon  <levon@movementarian.org>
6077
6078         * BufferView.h:
6079         * BufferView.C: add getEncoding()
6080
6081         * kbsequence.h:
6082         * kbsequence.C: do not store last keypress
6083
6084         * lyxfunc.h:
6085         * lyxfunc.C: store last keypress here instead. Pass encoding
6086           to getISOEncoded()
6087
6088 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6089
6090         * lyx_main.C (init): remove annoying error message when following
6091         symbolic links (bug #780)
6092
6093 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6094
6095         * text.C (insertChar):
6096         * lyxrc.C (getDescription): remove extra spaces
6097
6098 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6099
6100         * lyxrc.C (getDescription): remove extra spaces
6101
6102 2002-12-20  John Levon  <levon@movementarian.org>
6103
6104         * text3.C: hack fix for page up/down across tall rows
6105
6106 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6107
6108         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6109         not been invoked
6110
6111 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6112
6113         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6114         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6115         thesaurus is not compiled in
6116
6117 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6118
6119         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6120
6121 2002-12-16  Angus Leeming  <leeming@lyx.org>
6122
6123         * lyxrc.[Ch]:
6124         * lyx_main.C (init): remove override_x_deadkeys stuff.
6125
6126 2002-12-12  John Levon  <levon@movementarian.org>
6127
6128         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6129           insert. Only remove shift modifier under strict
6130           circumstances.
6131
6132 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6133
6134         * MenuBackend.C (expandToc): fix crash.
6135
6136 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6137
6138         * MenuBackend.C (expandToc): gettext on float names.
6139
6140 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6141
6142         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6143         implement bool empty() [bug 490]
6144
6145 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6146
6147         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6148
6149 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6150
6151         * several files: ws changes
6152
6153 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6154
6155         * text2.C (setCounter): clean up a bit, use boost.format.
6156         (updateCounters): initialize par upon declaration.
6157
6158         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6159         if the layout exists. We do not just store the layout any more.
6160         (SwitchLayoutsBetweenClasses): use boost.format
6161
6162 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6163
6164         * converter.C (convert): if from and to files are the same, use a
6165         temporary files as intermediary
6166
6167 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6168
6169         * commandtags.h:
6170         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6171
6172 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6173
6174         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6175
6176 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6177
6178         * tabular.C (asciiPrintCell): use string(size, char) instead of
6179         explicit loop.
6180
6181         * sgml.C (openTag): fix order of arguments to string constructor
6182         (closeTag): ditto
6183
6184         * lyxfunc.C (dispatch): use boost.format
6185
6186         * lots of files: change "c" -> 'c'
6187
6188 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6189
6190         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6191
6192 2002-11-25  Angus Leeming  <leeming@lyx.org>
6193
6194         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6195
6196         * lyx_main.C (init): compile fix.
6197
6198 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6199
6200         * lyx_cb.C (start): boost.formatify
6201         do not include <iostream>
6202
6203         * lengthcommon.C: ws only
6204
6205         * boost-inst.C,BoostFormat.h: add more explict instantations
6206
6207 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6208
6209         * lots of files: handle USE_BOOST_FORMAT
6210
6211 2002-11-21  John Levon  <levon@movementarian.org>
6212
6213         * pspell.C: fix compile
6214
6215 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6216
6217         * lyxfunc.C (dispatch): use boost::format
6218         (open): ditto
6219         (doImport): ditto
6220
6221         * lyxfont.C (stateText): use boost::format
6222
6223         * lyx_main.C (LyX): use boost::format
6224         (init): ditto
6225         (queryUserLyXDir): ditto
6226         (readRcFile): ditto
6227         (parse_dbg): ditto
6228         (typedef boost::function): use the recommened syntax.
6229
6230         * importer.C (Import): use boost::format
6231
6232         * debug.C (showLevel): use boost::format
6233
6234         * converter.C (view): use boost::format
6235         (convert): ditto
6236         (move): ditto
6237         (scanLog): ditto
6238
6239         * bufferview_funcs.C (currentState): use boost::format
6240
6241         * bufferlist.C (emergencyWrite): use boost::format
6242
6243         * buffer.C (readLyXformat2): use boost::format
6244         (parseSingleLyXformat2Token): ditto
6245
6246         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6247
6248         * LaTeX.C (run): use boost::format
6249
6250         * Chktex.C (scanLogFile): use boost::format
6251
6252         * BufferView_pimpl.C (savePosition): use boost::format
6253         (restorePosition): ditto
6254         (MenuInsertLyXFile): ditto
6255
6256         * BoostFormat.h: help file for explicit instation.
6257
6258 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6259
6260         * tabular.C (latex): Support for block alignment in fixed width
6261         columns.
6262
6263 2002-11-17  John Levon  <levon@movementarian.org>
6264
6265         * BufferView_pimpl.C:
6266         * lyx_cb.C:
6267         * lyxfunc.C: split filedialog into open/save
6268
6269 2002-11-08  Juergen Vigna  <jug@sad.it>
6270
6271         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6272         by my last patch (hopefully).
6273
6274 2002-11-08  John Levon  <levon@movementarian.org>
6275
6276         * iterators.h:
6277         * iterators.C:
6278         * buffer.h:
6279         * buffer.C:
6280         * paragraph.h:
6281         * paragraph.C:
6282         * toc.h:
6283         * toc.C: ParConstIterator, and use it (from Lars)
6284
6285 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6286
6287         * lyxtextclass.[Ch]: revise and add doxygen comments
6288
6289 2002-11-07  John Levon  <levon@movementarian.org>
6290
6291         * text.C: fix progress value for spellchecker
6292
6293         * toc.C: fix navigate menu for insetwrap inside minipage
6294
6295         * paragraph_funcs.C: added FIXME for suspect code
6296
6297 2002-11-07  John Levon  <levon@movementarian.org>
6298
6299         * BufferView_pimpl.C: fix redrawing of insets
6300           on buffer switch
6301
6302 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6303
6304         * text2.C (updateCounters): fix bug 668
6305
6306 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6307
6308         * text3.C (dispatch): Do not make the buffer dirty when moving the
6309         cursor.
6310
6311 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6312
6313         * vc-backend.C: STRCONV
6314         (scanMaster): ditto
6315
6316         * text2.C (setCounter): STRCONV
6317
6318         * paragraph.C (asString): STRCONV
6319
6320         * lyxlength.C (asString): STRCONV
6321         (asLatexString): ditto
6322
6323         * lyxgluelength.C (asString): STRCONV
6324         (asLatexString): ditto
6325
6326         * lyxfunc.C (dispatch): STRCONV
6327         (open): ditto
6328
6329         * lyxfont.C (stateText): STRCONV
6330
6331         * importer.C (Import): STRCONV
6332
6333         * counters.C (labelItem): STRCONV
6334         (numberLabel): ditto
6335         (numberLabel): remove unused ostringstream o
6336
6337         * chset.C: STRCONV
6338         (loadFile): ditto
6339
6340         * bufferview_funcs.C (currentState): STRCONV
6341
6342         * buffer.C (readFile): STRCONV
6343         (asciiParagraph): ditto
6344         (makeLaTeXFile): ditto
6345
6346         * Spacing.C (writeEnvirBegin): STRCONV
6347
6348         * LaTeXFeatures.C (getLanguages): STRCONV
6349         (getPackages): ditto
6350         (getMacros): ditto
6351         (getBabelOptions): ditto
6352         (getTClassPreamble): ditto
6353         (getLyXSGMLEntities): ditto
6354         (getIncludedFiles): ditto
6355
6356         * LaTeX.C: STRCONV
6357         (run): ditto
6358         (scanAuxFile): ditto
6359         (deplog): ditto
6360
6361         * LString.h: add the STRCONV macros
6362
6363         * BufferView_pimpl.C (savePosition): STRCONV
6364         (restorePosition): ditto
6365         (MenuInsertLyXFile): ditto
6366
6367         * vc-backend.C (scanMaster): change from submatch[...] to
6368         submatch.str(...)
6369
6370         * funcrequest.C: include config.h
6371
6372         * factory.C: include config.h
6373
6374         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6375
6376         * box.C: include config.h
6377
6378         * LaTeX.C (scanAuxFile): change from submatch[...] to
6379         submatch.str(...)
6380         (deplog): ditto
6381
6382 2002-10-25  Angus Leeming  <leeming@lyx.org>
6383
6384         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6385
6386         * ispell.[Ch] (setError): new method.
6387         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6388         Use setError() insetead of goto END.
6389
6390         * lyx_cb.C (AutoSave): move out child process into new class
6391         AutoSaveBuffer.
6392
6393 2002-10-30  John Levon  <levon@movementarian.org>
6394
6395         * text3.C: make start appendix undoable
6396
6397 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6398
6399         * lyxlength.C (inPixels): Fix returned value.
6400
6401         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6402         environment.
6403
6404 2002-10-24  Angus Leeming  <leeming@lyx.org>
6405
6406         * lyxgluelength.h: no need to forward declare BufferParams
6407         or BufferView, so don't.
6408
6409 2002-10-21  John Levon  <levon@movementarian.org>
6410
6411         * BufferView.C: menuUndo ->undo, redo
6412
6413         * BufferView.h: document, remove dead, make some methods private
6414
6415         * paragraph_funcs.h:
6416         * paragraph_funcs.C:
6417         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6418
6419         * buffer.h:
6420         * buffer.C:
6421         * sgml.h:
6422         * sgml.C: move sgml open/close tag into sgml.C
6423
6424         * bufferview_funcs.h: unused prototype
6425
6426         * lyxfunc.h:
6427         * lyxfunc.C: remove unused
6428
6429         * lyxtext.h:
6430         * text.C: remove unused
6431
6432 2002-10-21  John Levon  <levon@movementarian.org>
6433
6434         * BufferView.h:
6435         * BufferView.C:
6436         * BufferView_pimpl.h:
6437         * BufferView_pimpl.C: fix mouse wheel handling based on
6438           patch from Darren Freeman
6439
6440 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6441
6442         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6443
6444 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6445
6446         * lyxlength.C (inPixels): Fix hanfling of negative length.
6447         Fix LyXLength::MU case.
6448
6449 2002-10-16  John Levon  <levon@movementarian.org>
6450
6451         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6452
6453 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6454
6455         * converter.C (view): add support for $$i (file name) and $$p
6456         (file path) for the viewer command. If $$i is not specified, then
6457         it is appended to the command (for compatibility with old syntax)
6458
6459 2002-10-14  Juergen Vigna  <jug@sad.it>
6460
6461         * undo_funcs.C (textHandleUndo): alter the order in which the
6462         new undopar is added to the LyXText, as we have to set first
6463         the right prev/next and then add it as otherwise the rebuild of
6464         LyXText is not correct. Also reset the cursor to the right paragraph,
6465         with this IMO we could remove the hack in "redoParagraphs()".
6466
6467 2002-10-09  Angus Leeming  <leeming@lyx.org>
6468
6469         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6470         to turn off an optimisation if a new inset is to be inserted.
6471
6472 2002-10-11 André Pönitz <poenitz@gmx.net>
6473
6474         * lyxtext.h: make some functions public to allow access
6475         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6476
6477 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6478
6479         * text3.C (dispatch): when changing layout, avoid an infinite loop
6480         [bug #652]
6481
6482 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6483
6484         * lyxrc.C (read): treat a viewer or converter command of "none" as
6485         if it were empty.
6486
6487         * MenuBackend.C (expandFormats): for an update, also allow the
6488         formats that are not viewable
6489
6490         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6491         script if it is newer than the lyxrc.defaults in user directory
6492
6493 2002-10-07 André Pönitz <poenitz@gmx.net>
6494
6495         * text.C: Vitaly Lipatov's small i18n fix
6496
6497 2002-09-25  Angus Leeming  <leeming@lyx.org>
6498
6499         * ispell.h: doxygen fix.
6500
6501 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6502
6503         * buffer.h (readFile): Add a new argument to the method, to allow
6504         reading of old-format templates.
6505
6506 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6507
6508         * toc.C (getTocList): Get TOC from InsetWrap.
6509
6510 2002-09-16  John Levon  <levon@movementarian.org>
6511
6512         * lyxfunc.C: check tabular for cut/copy too
6513
6514 2002-09-12  John Levon  <levon@movementarian.org>
6515
6516         * LyXAction.C: tidy
6517
6518         * factory.h:
6519         * factory.C: add header
6520
6521         * paragraph_funcs.h:
6522         * paragraph_funcs.C: cleanup
6523
6524 2002-09-11  John Levon  <levon@movementarian.org>
6525
6526         * PrinterParams.h: odd/even default to true
6527
6528 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6529
6530         * PrinterParams.h: update printer parameters for new xforms dialog
6531
6532 2002-09-11  Angus Leeming  <leeming@lyx.org>
6533
6534         * lyxserver.C (read_ready): re-write to make it more transparent
6535         and to make it work in coherent fashion under Tru64 Unix.
6536
6537 2002-09-11  André Pönitz <poenitz@gmx.net>
6538
6539         * commandtags.h:
6540         * LyXAction.C:
6541         * text3.C: implement LFUN_WORDSEL
6542
6543 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6544
6545         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6546         make floatlist_ a boost::shared_ptr<FloatList>
6547
6548         * lyxtextclass.C: include FloatList.h
6549         (LyXTextClass): initialize floatlist_
6550         (TextClassTags): add TC_NOFLOAT
6551         (Read): match "nofloat" to TC_NOFLOAT and use it.
6552         (readFloat): modify call to floatlist_
6553         (floats): ditto
6554         (floats): ditto
6555
6556         * FloatList.[Ch] (FloatList): remove commented out float
6557         initialization.
6558         (erase): new function
6559
6560 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6561
6562         * MenuBackend.C (expandToc): fix crash when there is no document
6563         open
6564
6565 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6566
6567         * many files: Add insetwrap.
6568
6569 2002-09-09  John Levon  <levon@movementarian.org>
6570
6571         * text2.C: remove confusing and awkward depth wraparound
6572
6573 2002-09-09  John Levon  <levon@movementarian.org>
6574
6575         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6576
6577         * buffer.h:
6578         * buffer.C: remove getIncludeonlyList()
6579
6580         * paragraph.C:
6581         * lyxfunc.C: remove headers
6582
6583 2002-09-09  Juergen Vigna  <jug@sad.it>
6584
6585         * text.C (getColumnNearX): fix form Michael this is most
6586         probably a cut&paste bug.
6587
6588 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6589
6590         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6591
6592         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6593         references, ws changes.
6594
6595         * text2.C (init): update counters after init
6596         (insertParagraph): no need to set counter on idividual paragraphs.
6597         (setCounter): access the counters object in the textclass object
6598         on in the buffer object.
6599         (updateCounters): ditto
6600
6601         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6602         shared_ptr<Counters> to avoid loading counters.h in all
6603         compilation units.
6604         (LyXTextClass): initialize ctrs_
6605         (TextClassTags): add TC_COUNTER, and ...
6606         (Read): use it here.
6607         (CounterTags): new tags
6608         (readCounter): new function
6609         (counters): new funtion
6610         (defaultLayoutName): return a const reference
6611
6612         * counters.C (Counters): remove contructor
6613         (newCounter): remove a couple of unneeded statements.
6614         (newCounter): simplify a bit.
6615         (numberLabel): some small formatting changes.
6616
6617         * buffer.[Ch]: remove all traces of counters, move the Counters
6618         object to the LyXTextClass.
6619
6620 2002-09-06  Alain Castera  <castera@in2p3.fr>
6621
6622         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6623         package to set the horizontal alignment on fixed width columns.
6624
6625         * lyx_sty.C:
6626         * lyx_sty.h: added tabularnewline macro def.
6627
6628         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6629
6630 2002-09-06  John Levon  <levon@movementarian.org>
6631
6632         * LyXAction.C: tooltips for sub/superscript
6633
6634         * MenuBackend.C: a bit more verbose
6635
6636         * lyxfunc.C: tiny clean
6637
6638         * undo_funcs.C: document undo_frozen
6639
6640 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6641
6642         * counters.C (Counters): add missing algorithm counter.
6643
6644         * text2.C (setCounter): lookup the counter with layouts latexname
6645         instead of by section number.
6646         (setCounter): use a hackish way to lookup the correct enum
6647         counter.
6648         a float name->type change
6649         reset enum couners with counter name directly instead of depth value.
6650
6651         * counters.C (Counters): remove the push_backs, change to use the
6652         float type not the float name.
6653         (labelItem): remove unused string, float name->type change
6654
6655         * counters.h: don't include vector, loose the enums and sects vectors
6656
6657 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6658
6659         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6660         (Read): add float->TC_FLOAT to textclassTags
6661         (Read): and handle it in the switch
6662         (readFloat): new function
6663
6664         * FloatList.C (FloatList): comment out the hardcoded float
6665         definitions.
6666
6667         * lyxlayout.h: ws change.
6668
6669 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6670
6671         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6672
6673 2002-09-03  Angus Leeming  <leeming@lyx.org>
6674
6675         * BufferView_pimpl.h: qualified name is not allowed in member
6676         declaration: WorkArea & Pimpl::workarea() const;
6677
6678         * factory.C: added using std::endl directive.
6679
6680         * text3.C: added using std::find and std::vector directives.
6681
6682 2002-08-29  André Pönitz <poenitz@gmx.net>
6683
6684         * lyxtext.h:
6685         * text2.C: remove unused member number_of_rows
6686
6687         * Makefile.am:
6688         * BufferView2.C: remove file, move contents to...
6689         * BufferView.C: ... here
6690
6691         * BufferView_pimpl.C:
6692         * factory.C: move more inset creation to factory
6693
6694         * vspace.C: avoid direct usage of LyXText, ws changes
6695
6696         * BufferView.[Ch]:
6697                 don't provide direct access to WorkArea, use two simple
6698                 acessors haveSelction() and workHeight() instead
6699
6700
6701 2002-08-29  John Levon  <levon@movementarian.org>
6702
6703         * BufferView_pimpl.C (dispatch): do not continue when
6704           no buffer
6705
6706 2002-08-28  André Pönitz <poenitz@gmx.net>
6707
6708         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6709
6710         * BufferView.h:
6711         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6712
6713 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6714
6715         * buffer.C: increment LYX_FORMAT to 221
6716
6717         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6718         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6719
6720         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6721
6722         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6723
6724 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6725
6726         * factory.C (createInset): use LyXTextClass::floats
6727
6728         * MenuBackend.C (expandFloatListInsert):
6729         (expandFloatInsert):
6730         (expandToc):
6731
6732         * text2.C (setCounter):
6733
6734         * LaTeXFeatures.C (useFloat):
6735         (getFloatDefinitions):
6736
6737         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6738
6739         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6740         floatlist_, with accessor floats().
6741
6742         * FloatList.h: remove global FloatList
6743
6744 2002-08-26  André Pönitz <poenitz@gmx.net>
6745
6746         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6747
6748         * BufferView.h:
6749         * BufferView2.C:
6750         * BufferView_pimpl.C:
6751         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6752
6753 2002-08-25  John Levon  <levon@movementarian.org>
6754
6755         * LyXAction.C: fix margin note description
6756
6757 2002-08-24  John Levon  <levon@movementarian.org>
6758
6759         * buffer.C:
6760         * bufferlist.C:
6761         * bufferview_funcs.C:
6762         * lyxfont.C:
6763         * undo_funcs.C: cleanups
6764
6765         * lyxfunc.C: disable CUT/COPY when no selection
6766
6767 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6768
6769         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6770         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6771
6772         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6773         Add backward compatibility to "mono", "gray" and "no".
6774
6775 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6776
6777         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6778         (and file_format >= 200).
6779
6780 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6781
6782         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6783
6784 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6785
6786         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6787
6788 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6789
6790         * BufferView_pimpl.C:
6791         * LyXAction.C:
6792         * buffer.C:
6793         * commandtags.h:
6794         * lyxfunc.C:
6795         * paragraph.[Ch]:
6796         * text2.C:
6797         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6798         inset and code to make it  work with the paragraph code. The inset
6799         can be anywhere in the paragraph, but will only do the expected
6800         thing in LaTeX if the layout file contains the parameter line
6801                         OptionalArgs    1
6802         (or more generally, a nonzero value) for that layout.
6803
6804 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6805
6806         * paragraph.h: remove the declaration of undefined counters class
6807         function.
6808
6809 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6810
6811         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6812         Dr. Richard Hawkins.
6813
6814 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6815
6816         * paragraph_funcs.h: remove some unneeded includes
6817
6818         * text.C (backspace): pasteParagraph now in global scipe
6819
6820         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6821         (pasteSelection): ditto
6822
6823         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6824         * paragraph_funcs.C (pasteParagraph): ... here
6825
6826 2002-08-20  André Pönitz <poenitz@gmx.net>
6827
6828         * commandtags.h: new LFUNs for swapping/copying table row/colums
6829
6830         * LyXAction.C:
6831         * lyxfunc.C: support for new lfuns
6832
6833 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6834
6835         * tabular.C:
6836         * buffer.[Ch]: remove NO_COMPABILITY stuff
6837
6838 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6839
6840         * boost.C (throw_exception): new file, with helper function for
6841         boost compiled without exceptions.
6842
6843         * paragraph.h:
6844         * lyxlength.C:
6845         * buffer.C:
6846         * ParameterStruct.h:
6847         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6848
6849         * bufferlist.C (emergencyWriteAll): use boost bind
6850
6851         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6852
6853         * text.C: include paragraph_funcs.h
6854         (breakParagraph): breakParagraph is now in global scope
6855
6856         * paragraph_funcs.[Ch]: new files
6857
6858         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6859         global scope
6860
6861         * buffer.C: include paragraph_funcs.h
6862         (insertStringAsLines): breakParagraph is now in global scope
6863
6864         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6865         paragraph_funcs.C
6866
6867         * CutAndPaste.C: include paragraph_funcs.h
6868         (cutSelection): breakParagraphConservative is now in global scope
6869         (pasteSelection): ditto
6870
6871         * buffer.h: declare oprator== and operator!= for
6872         Buffer::inset_iterator
6873
6874         * bufferlist.C (emergencyWrite): don't use fmt(...)
6875
6876         * text3.C: add using std::endl
6877
6878         * BufferView.C (moveCursorUpdate): remove default arg
6879
6880 2002-08-20  André Pönitz <poenitz@gmx.net>
6881
6882         * buffer.[Ch]: move inline functions to .C
6883
6884         * BufferView2.C:
6885         * BufferView_pimpl.C:
6886         * text.C:
6887         * buffer.[Ch]: use improved inset_iterator
6888
6889         * buffer.C:
6890         * paragraph.[Ch]: write one paragraph at a time
6891
6892 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6893
6894         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6895         style if style is not specified.
6896
6897 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6898
6899         * text2.C (setCounter): when searching for right label for a
6900         caption, make sure to recurse to parent insets (so that a caption
6901         in a minipage in a figure float works) (bug #568)
6902
6903 2002-08-20  André Pönitz <poenitz@gmx.net>
6904
6905         * text3.C: new file for LyXText::dispatch() and helpers
6906
6907         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6908
6909         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6910
6911 2002-08-19  André Pönitz <poenitz@gmx.net>
6912
6913         * lyxtext.h:
6914         * text.C: new LyXText::dispatch()
6915
6916         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6917
6918 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6919
6920         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6921
6922         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6923         Hebrew text.
6924
6925 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6926
6927         * Makefile.am: use $(variables) instead of @substitutions@
6928
6929 2002-08-15  André Pönitz <poenitz@gmx.net>
6930
6931         * lyxfunc.C:
6932         * BufferView_pimpl.C: streamlining mathed <-> outer world
6933         interaction
6934
6935         * commandtags.h:
6936         * LyXAction.C: remove unused LFUN_MATH
6937
6938 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6939
6940         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6941
6942 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6943
6944         * paragraph.C (Paragraph): reformat a bit
6945         (cutIntoMinibuffer): use builtin InsetList function instad of
6946         doing it manually.
6947         (getInset): ditto
6948
6949         * buffer.C: include boost/bind.hpp, add using std::for_each
6950         (writeFileAscii): use ParagraphList iterators
6951         (validate): use for_each for validate traversal of paragraphs
6952         (getBibkeyList): use ParagraphList iterators
6953         (resizeInsets): use for_each to resizeInsetsLyXText for all
6954         paragraphs.
6955         (getParFromID): use ParagraphList iterators
6956
6957         * BufferView2.C (lockInset): use paragraph list and iterators
6958
6959 2002-08-14  John Levon  <levon@movementarian.org>
6960
6961         * lyxserver.C: remove spurious xforms include
6962
6963 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6964
6965         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6966
6967 2002-08-13  André Pönitz <poenitz@gmx.net>
6968
6969         * LyXAction.[Ch]:
6970         * lyxfunc.C: further cleaning
6971
6972 2002-08-13  André Pönitz <poenitz@gmx.net>
6973
6974         * funcrequest.h: new constructor
6975
6976         * funcrequest.C: move stuff here from .h
6977
6978         * Makefile.am:
6979         * BufferView_pimpl.C:
6980         * LyXAction.C:
6981         * toc.C:
6982         * lyxfunc.C: subsequent changes
6983
6984         * lyxfunc.h: new view() member function
6985
6986         * lyxfunc.C: subsequent changes
6987
6988 2002-08-13  Angus Leeming  <leeming@lyx.org>
6989
6990         * BufferView2.C:
6991         * BufferView_pimpl.C:
6992         * buffer.C:
6993         * converter.C:
6994         * importer.C:
6995         * lyxfunc.C:
6996         * lyxvc.C:
6997         * toc.C:
6998         * vc-backend.C:
6999         changes due to the changed LyXView interface that now returns references
7000         to member variables not pointers.
7001
7002 2002-08-13  Angus Leeming  <leeming@lyx.org>
7003
7004         * WordLangTuple (word, lang_code): return references to strings,
7005         not strings.
7006
7007         * BufferView.h:
7008         * SpellBase.h:
7009         * lyxtext.h: forward-declare WordLangTuple.
7010
7011         * BufferView2.C:
7012         * ispell.C:
7013         * pspell.C:
7014         * text.C: #include "WordLangTuple.h".
7015
7016         * lyxtext.h:
7017         * text.C: (selectNextWordToSpellcheck): constify return type.
7018
7019 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7020
7021         * buffer.C:
7022         * buffer.h:
7023         * lyxtext.h:
7024         * paragraph.C:
7025         * paragraph_pimpl.h:
7026         * text.C:
7027         * text2.C:
7028         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7029         suggested by Angus.
7030         Made updateCounter always count from start of buffer, and removed
7031         second argument (par).
7032         Reverted floats number display to '#'. Perhaps I'll try again when the
7033         code base is sanitized a bit.
7034
7035 2002-08-12  Angus Leeming  <leeming@lyx.org>
7036
7037         * buffer.[Ch] (getLabelList): constify.
7038
7039 2002-08-07  André Pönitz <poenitz@gmx.net>
7040
7041         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7042
7043         * funcrequest.h: extension to keep mouse (x,y) position
7044
7045 2002-08-12  Juergen Vigna  <jug@sad.it>
7046
7047         * BufferView2.C (insertErrors): forbid undo when inserting error
7048         insets.
7049
7050         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7051
7052 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7053
7054         * ParagraphList.[Ch]: new files
7055
7056         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7057
7058         * BufferView2.C (lockInset): ParagraphList changes
7059         * toc.C: ditto
7060         * text2.C: ditto
7061         * bufferlist.C: ditto
7062         * buffer.h: ditto
7063         * buffer.C: ditto
7064
7065 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7066
7067         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7068         unused class variable counter_,
7069
7070         * paragraph.[Ch] (getFirstCounter): delete unused function
7071
7072         * counters.C: include LAssert.h
7073         (reset): add a new function with no arg, change other version to
7074         not have def. arg and to not allow empty arg.
7075
7076         * text2.C (setCounter): remove empty arg from call to Counters::reset
7077
7078 2002-08-11  John Levon  <levon@movementarian.org>
7079
7080         * Makefile.am: add WordLangTuple.h
7081
7082 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7083
7084         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7085         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7086
7087         * insets/insettext.C: InsetList changes
7088
7089         * graphics/GraphicsSupport.C (operator()): InsetList changes
7090
7091         * toc.C (getTocList): InsetList changes
7092
7093         * paragraph_pimpl.[Ch]: InsetList changes
7094
7095         * paragraph.[Ch]: InsetList changes
7096
7097         * buffer.C (inset_iterator): InsetList changes
7098         (setParagraph): ditto
7099         * buffer.h (inset_iterator): ditto
7100         * iterators.C (operator++): ditto
7101         * iterators.h: ditto
7102
7103         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7104
7105         * InsetList.[Ch]: new files, most InsetList handling moved out of
7106         paragraph.C.
7107
7108         * BufferView2.C (removeAutoInsets): InsetList changes
7109         (lockInset): ditto
7110         (ChangeInsets): ditto
7111
7112 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7113
7114         * paragraph_pimpl.h (empty): new function
7115
7116         * paragraph.[Ch] (empty): new function
7117
7118         * other files: use the new Paragraph::empty function
7119
7120 2002-08-09  John Levon  <levon@movementarian.org>
7121
7122         * lyxtext.h: remove unused refresh_height
7123
7124 2002-08-09  John Levon  <levon@movementarian.org>
7125
7126         * Makefile.am:
7127         * sgml.h:
7128         * sgml.C:
7129         * buffer.C:
7130         * paragraph.h:
7131         * paragraph.C: move sgml char escaping out of paragraph
7132
7133         * paragraph.h:
7134         * paragraph.C: remove id setter
7135
7136         * buffer.C:
7137         * paragraph.C:
7138         * paragraph_pimpl.C: remove dead tex_code_break_column
7139
7140         * bufferview_funcs.C: small cleanup
7141
7142         * lyxfunc.C: remove dead proto
7143
7144         * lyxtext.h: make some stuff private. Remove some dead stuff.
7145
7146         * lyxgluelength.C: make as[LyX]String() readable
7147
7148 2002-08-08  John Levon  <levon@movementarian.org>
7149
7150         * LyXAction.h:
7151         * LyXAction.C:
7152         * MenuBackend.C:
7153         * ToolbarDefaults.C:
7154         * lyxfunc.C:
7155         * lyxrc.C:
7156         * toc.C: lyxaction cleanup
7157
7158 2002-08-08  John Levon  <levon@movementarian.org>
7159
7160         * BufferView2.C: small cleanup
7161
7162         * lyxfind.h:
7163         * lyxfind.C: move unnecessary header into the .C
7164
7165 2002-08-08  John Levon  <levon@movementarian.org>
7166
7167         * funcrequest.h: just tedious nonsense
7168
7169         * lyx_main.h:
7170         * lyx_main.C: cleanups
7171
7172         * buffer.C:
7173         * vspace.C: remove dead header lyx_main.h
7174
7175 2002-08-07  Angus Leeming  <leeming@lyx.org>
7176
7177         * Paragraph.[Ch]:
7178         * paragraph_pimpl.h:
7179         Forward declare class Counters in paragraph.h by moving the ctrs member
7180         variable into Paragraph::Pimpl.
7181         (counters): new method, returning a reference to pimpl_->ctrs.
7182
7183         * text2.C: ensuing changes.
7184
7185 2002-08-07  John Levon  <levon@movementarian.org>
7186
7187         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7188
7189         * BufferView_pimpl.C: announce X selection on double/triple
7190           click
7191
7192         * lyx_main.C: use correct bool in batch dispatch
7193
7194         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7195
7196 2002-08-07  André Pönitz <poenitz@gmx.net>
7197
7198         * funcrequest.h: new class to wrap a kb_action and its argument
7199
7200         * BufferView.[Ch]:
7201         * BufferView_pimpl[Ch]:
7202         * LaTeX.C:
7203         * LyXAction.[Ch]:
7204         * lyxfunc.[Ch]:
7205         * lyxrc.C: subsequent changes
7206
7207
7208 2002-08-07  John Levon  <levon@movementarian.org>
7209
7210         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7211           document options change.
7212
7213 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7214
7215         * counters.[Ch]
7216         * text2.C
7217         * paragraph.[Ch]
7218         * makefile.am: move counters functionality over from
7219         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7220
7221 2002-08-06  John Levon  <levon@movementarian.org>
7222
7223         * WordLangTuple.h: new file for word + language code tuple
7224
7225         * SpellBase.h:
7226         * pspell.h:
7227         * pspell.C:
7228         * ispell.h:
7229         * ispell.C:
7230         * lyxtext.h:
7231         * text.C:
7232         * text2.C:
7233         * BufferView.h:
7234         * BufferView2.C: use WordLangTuple
7235
7236         * layout.h:
7237         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7238
7239 2002-08-06  John Levon  <levon@movementarian.org>
7240
7241         * lyx_main.C: fix cmdline batch handling
7242
7243 2002-08-06  André Pönitz <poenitz@gmx.net>
7244
7245         * lyxrc.C: set default for show_banner to true
7246
7247 2002-08-06  John Levon  <levon@movementarian.org>
7248
7249         * pspell.C: fix a crash, and allow new aspell to work
7250
7251 2002-08-06  John Levon  <levon@movementarian.org>
7252
7253         * lyxfunc.C:
7254         * kbmap.C: small cleanup
7255
7256         * vspace.h:
7257         * vspace.C: add const
7258
7259 2002-08-05  John Levon  <levon@movementarian.org>
7260
7261         * LyXAction.C: back to tabular-insert
7262
7263 2002-08-04  John Levon  <levon@movementarian.org>
7264
7265         * BufferView.h:
7266         * BufferView.C: cosmetic change
7267
7268         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7269
7270         * bufferlist.C:
7271         * buffer.h:
7272         * buffer.C:
7273         * lyxcb.h:
7274         * lyxcb.C:
7275         * lyxserver.C:
7276         * lyxvc.C:
7277         * vc-backend.C:
7278         * BufferView2.C: purge all "Lyx" not "LyX" strings
7279
7280         * lyxcursor.h:
7281         * lyxcursor.C: attempt to add some documentation
7282
7283         * lyxfunc.C:
7284         * commandtags.h:
7285         * LyXAction.C:
7286         * ToolbarDefaults.C:
7287         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7288           merge with LFUN_TABULAR_INSERT
7289
7290         * Makefile.am:
7291         * SpellBase.h:
7292         * ispell.h:
7293         * ispell.C:
7294         * pspell.h:
7295         * pspell.C: split up i/pspell implementations into separate
7296           files, many cleanups
7297
7298         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7299
7300         * text2.C: some cleanup
7301
7302         * lyxfunc.C: don't check for isp_command == "none" any more, it
7303           didn't make any sense
7304
7305 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7306
7307         * counters.[Ch]
7308         * text2.C
7309         * paragraph.[Ch]
7310         * makefile.am: move counters functionality over
7311         from text2.C/paragraph.[Ch] to counters.[Ch], and
7312         make proper C++.
7313 2002-08-02  John Levon  <levon@movementarian.org>
7314
7315         * buffer.C: s/lyxconvert/lyx2lyx/
7316
7317 2002-08-02  Angus Leeming  <leeming@lyx.org>
7318
7319         * lyxlex.C: revert John's change as it breaks reading of the user
7320         preamble.
7321
7322 2002-08-02  Angus Leeming  <leeming@lyx.org>
7323
7324         * importer.C (Import):
7325         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7326         changes due to LyXView::view() now returning a boost::shared_ptr.
7327
7328 2002-08-02  John Levon  <levon@movementarian.org>
7329
7330         * lyxlex.C: small cleanup
7331
7332 2002-08-02  John Levon  <levon@movementarian.org>
7333
7334         * text2.C (status): small cleanup, no logic change
7335
7336 2002-08-01  John Levon  <levon@movementarian.org>
7337
7338         * buffer.h:
7339         * buffer.C (writeFile): don't output alerts, caller
7340           handles this
7341
7342         * bufferlist.C:
7343         * lyx_cb.C: from above
7344
7345         * lyxfunc.C: allow to open non-existent files
7346
7347 2002-07-31  John Levon  <levon@movementarian.org>
7348
7349         * lyxserver.C: don't let incidental errors get
7350           in the way (errno)
7351
7352 2002-07-30  John Levon  <levon@movementarian.org>
7353
7354         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7355
7356 2002-07-30  John Levon  <levon@movementarian.org>
7357
7358         * lyxserver.h:
7359         * lyxserver.C: remove I/O callback too
7360
7361 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7362
7363         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7364         log.
7365
7366 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7367
7368         * many files: strip,frontStrip -> trim,ltrim,rtrim
7369
7370 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7371
7372         * PrinterParams.h: remove extern containsOnly, and include
7373         support/lstrings.h instead.
7374
7375         * LaTeX.C (scanAuxFile): modify because of strip changes
7376         (deplog): ditto
7377         * buffer.C (makeLaTeXFile): ditto
7378         * bufferparams.C (writeFile): ditt
7379         * lyxfont.C (stateText): ditto
7380         * lyxserver.C (read_ready): ditto
7381         * vc-backend.C (scanMaster): ditto
7382
7383         * BufferView_pimpl.h: ws changes
7384
7385         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7386
7387 2002-07-26  André Pönitz <poenitz@gmx.net>
7388
7389         * kb_sequence.C: remove unnedred usings
7390
7391 2002-07-26  Juergen Vigna  <jug@sad.it>
7392
7393         * lyxfind.C (LyXReplace): we have to check better if the returned
7394         text is not of theLockingInset()->getLockingInset().
7395
7396 2002-07-25  Juergen Vigna  <jug@sad.it>
7397
7398         * lyxfind.C (LyXReplace): don't replace if we don't get the
7399         right LyXText.
7400
7401         * undo_funcs.C (createUndo): remove debugging code.
7402
7403 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7404
7405         * buffer.C (parseSingleLyXformat2Token): Use default placement
7406         when reading old floats.
7407
7408         * FloatList.C (FloatList): Change the default placement of figure
7409         and tables to "tbp".
7410
7411 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7412
7413         * MenuBackend.C: using std::max
7414
7415 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7416
7417         * MenuBackend.C (expandToc):
7418         (expandToc2): code moved from xforms menu frontend. It is now
7419         generic and TOCs are transparent to menu frontends.
7420
7421 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7422
7423         * toc.C (getTocList): protect against buf=0
7424
7425         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7426         Menu as first parameter. Now, this calls itself recursively to
7427         expand a whole tree (this will be useful for TOC handling)
7428         (expandFloatInsert): remove 'wide' version of floats
7429
7430         * MenuBackend.h (submenuname): returns the name of the submenu.
7431         (submenu): returns the submenu itself, provided it has been
7432         created by MenuBackend::expand
7433
7434 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7435
7436         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7437         insets which have noFontChange == true. (bug #172)
7438
7439 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7440
7441         * BufferView_pimpl.C: add connection objects and use them...
7442         (Pimpl): here.
7443
7444 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7445
7446         * MenuBackend.C (expandLastfiles):
7447         (expandDocuments):
7448         (expandFormats):
7449         (expandFloatListInsert):
7450         (expandFloatInsert):
7451         (expand): split expand in parts
7452
7453 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7454
7455         * lyx_gui.C: use lyx_gui::exit()
7456
7457 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7458
7459         * LyXAction.C: show the failing pseudo action
7460
7461 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7462
7463         * buffer.C (readFile): Run the lyxconvert script in order to read
7464         old files.
7465
7466 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7467
7468         * LyXAction.C:
7469         * commandtags.h:
7470         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7471
7472 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7473
7474         * LyXAction.C:
7475         * commandtags.h:
7476         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7477
7478 2002-07-22  Herbert Voss  <voss@lyx.org>
7479
7480         * lengthcommon.C:
7481         * lyxlength.[Ch]: add support for the vertical lengths
7482
7483 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7484
7485         * toc.[Ch]: std:: fixes
7486
7487 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7488
7489         * lyxrc.C: do not include lyx_main.h
7490
7491         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7492         for layouts
7493
7494         * lyxrc.C:
7495         * encoding.C:
7496         * bufferlist.C:
7497         * BufferView2.C: include "lyxlex.h"
7498
7499         * tabular.h:
7500         * bufferparams.h: do not #include "lyxlex.h"
7501
7502         * lyxtextclasslist.C (Add): remove method
7503         (classlist): renamed to classlist_
7504
7505         * paragraph_pimpl.C:
7506         * paragraph.C:
7507         * text2.C:
7508         * CutAndPaste.C:
7509         * bufferview_funcs.C:
7510         * bufferlist.C:
7511         * text.C:
7512         * LaTeXFeatures.C:
7513         * buffer.C:
7514         * toc.C (getTocList): use BufferParams::getLyXTextClass
7515
7516         * toc.C (getTocList): use InsetFloat::addToToc
7517
7518         * toc.[Ch]: new files, containing helper functions to handle table
7519         of contents
7520
7521         * lyxfunc.C (dispatch): no need to remove spaces around command
7522         given as a string
7523         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7524         first command of the sequence; it is not very clever, but I do not
7525         have a better idea, actually
7526
7527         * LyXAction.C (LookupFunc): make sure to remove space at the
7528         beginning and end of the command
7529
7530 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7531
7532         * MenuBackend.C (getMenubar): new method: return the menubar of
7533         this menu set
7534         (read): treat differently reading of menu and menubar (in
7535         particular, the menubar has no name now)
7536         (Menu::menubar): remove
7537
7538         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7539         saving is finished
7540
7541 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7542
7543         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7544         a bibitem inset in a RTL paragraph.
7545
7546 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7547
7548         * paragraph_pimpl.C: constify
7549
7550         * BufferView_pimpl.C:
7551         * LaTeX.C:
7552         * lyxfunc.C: fix dispatch in a nicer way
7553
7554 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7555
7556         * lyxfunc.C (dispatch):
7557         * BufferView_pimpl.C:
7558         * BufferView_pimpl.h:
7559         * BufferView.C:
7560         * BufferView.h: rename Dispatch() to dispatch()
7561
7562         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7563
7564         * lyxlayout.C (Read): honor DependsOn tag
7565
7566         * lyxlayout.[Ch] (depends_on): new method
7567
7568         * version.C.in: update lyx_docversion
7569
7570         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7571
7572         * paragraph.C (validate): remove from here...
7573         * paragraph_pimpl.C (validate): ... and move here
7574         (isTextAt): make it const
7575
7576         * buffer.C (getLists): ws cleanup
7577
7578 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7579
7580         * language.C (read): Use iso8859-1 encoding in latex_lang
7581         (this prevents LyX from crashing when using iso10646-1 encoding).
7582
7583 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7584
7585         * text2.C (toggleInset): if cursor is inside an inset, close the
7586         inset and leave cursor _after_ it
7587
7588 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7589
7590         * lyxfunc.C: move minibuffer completion handling out of here
7591
7592 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7593
7594         * BufferView_pimpl.C:
7595         * LaTeX.C: fix dispatch calls
7596
7597 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7598
7599         * text.C (drawChars): Fix Arabic text rendering.
7600
7601 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7602
7603         * LyXAction.C:
7604         * commandtags.h:
7605         * lyxfunc.C: remove message-push/pop
7606
7607         * lyxserver.C:
7608         * lyxfunc.h:
7609         * lyxfunc.C: rationalise some code by removing verboseDispatch
7610           in favour of a bool argument to dispatch()
7611
7612 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7613
7614         * lyx_main.C (init): make sure to read symlinks as absolute paths
7615
7616 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7617
7618         * lyxfunc.h:
7619         * lyxfunc.C: no need for commandshortcut to be a member
7620
7621 2002-07-15  André Pönitz <poenitz@gmx.net>
7622
7623         * converter.C: add support for $$s (scripts from lib/scripts dir)
7624         * lyx_main.C: white space
7625
7626 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7627
7628         * bufferlist.C:
7629         * lyxrc.h:
7630         * lyxrc.C: remove second exit confirmation
7631
7632 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7633
7634         * BufferView.h:
7635         * BufferView.C:
7636         * BufferView2.C:
7637         * BufferView_pimpl.h:
7638         * BufferView_pimpl.C:
7639         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7640
7641 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7642
7643         * MenuBackend.C (expand): add numeric shortcuts to document menu
7644
7645         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7646
7647 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7648
7649         * lyxfont.C (setLyXFamily):
7650         (setLyXSeries):
7651         (setLyXShape):
7652         (setLyXSize):
7653         (setLyXMisc):
7654         (lyxRead):
7655         * debug.C (value):
7656         * buffer.C (asciiParagraph): use ascii_lowercase
7657
7658 2002-07-15  Mike Fabian  <mfabian@suse.de>
7659
7660         * lyxlex_pimpl.C (search_kw):
7661         * lyxlex.C (getLongString):
7662         * converter.h (operator<):
7663         * converter.C (operator<):
7664         * buffer.C (parseSingleLyXformat2Token):
7665         (asciiParagraph):
7666         * ToolbarDefaults.C (read):
7667         * MenuBackend.C (checkShortcuts):
7668         (read):
7669         * LColor.C (getFromGUIName):
7670         (getFromLyXName): use the compare_ascii_no_case instead of
7671         compare_no_case, because in turkish, 'i' is not the lowercase
7672         version of 'I', and thus turkish locale breaks parsing of tags.
7673
7674 2002-07-16  Angus Leeming  <leeming@lyx.org>
7675
7676         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7677         now takes a Buffer const & argument.
7678
7679 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7680
7681         * BufferView.C (resize): check there's a buffer to resize
7682
7683 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7684
7685         * lyxfunc.C: remove dead code
7686
7687         * lyxserver.h:
7688         * lyxserver.C: use lyx_guii::set_read_callback
7689
7690 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7691
7692         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7693         an inset in a RTL paragraph.
7694
7695 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7696
7697         * lyxfunc.C: repaint after a font size update
7698
7699 2002-07-15  André Pönitz <poenitz@gmx.net>
7700
7701         * lyxlength.C: inBP should be able to return negative values
7702
7703 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7704
7705         * lyxfunc.C: use lyx_gui::update_fonts()
7706
7707 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7708
7709         * lyxfunc.C: use lyx_gui::update_color()
7710
7711 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7712
7713         * bufferlist.C:
7714         * lyxfunc.h:
7715         * lyxfunc.C:
7716         * lyxrc.h:
7717         * lyxrc.C: remove file->new asks for name option, and let
7718           buffer-new take an argument
7719
7720 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7721
7722         * BufferView_pimpl.C: remove unneeded extra repaint()
7723
7724 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7725
7726         * LyXAction.C: allow command-sequence with NoBuffer
7727
7728         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7729
7730 2002-07-10  Angus Leeming  <leeming@lyx.org>
7731
7732         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7733
7734 2002-07-09  Angus Leeming  <leeming@lyx.org>
7735
7736         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7737
7738 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7739
7740         * lengthcommon.h: whitespace
7741
7742         * lyxfunc.C: update scrollbar after goto paragraph
7743
7744         * lyxtext.h: factor out page break drawing, and fix it so
7745           page break/added space paints as selected nicely
7746
7747 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7748
7749         * BufferView_pimpl.C: add FIXMEs, clean up a little
7750
7751 2002-07-09  André Pönitz <poenitz@gmx.net>
7752
7753         * lyxfont.[Ch]: support for wasy symbols
7754
7755 2002-07-08  André Pönitz <poenitz@gmx.net>
7756
7757         * BufferView_pimpl.C: apply John's patch for #93.
7758
7759 2002-07-05  Angus Leeming  <leeming@lyx.org>
7760
7761         * BufferView_pimpl.C (buffer): generate previews if desired.
7762
7763         * LColor.h: add "preview" to the color enum.
7764
7765         * LColor.C (LColor): add a corresponding entry to the items array.
7766
7767         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7768         with this buffer.
7769
7770 2002-07-05  Angus Leeming  <leeming@lyx.org>
7771
7772         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7773         The body of the code is now in the method that is passed an ostream &
7774         rather than a file name.
7775         Pass an additional only_preamble parameter, useful for the forthcoming
7776         preview stuff.
7777
7778 2002-07-03  André Pönitz <poenitz@gmx.net>
7779
7780         * lyxfunc.C: simplify getStatus() a bit for math stuff
7781
7782 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7783
7784         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7785
7786 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7787
7788         * text.C (changeRegionCase): do not change case of all the
7789         document when region ends at paragraph end (bug #461)
7790
7791 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7792
7793         * paragraph.C (startTeXParParams):
7794         (endTeXParParams): add \protect when necessary
7795
7796 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7797
7798         * BufferView_pimpl.C (workAreaExpose): remove warning
7799
7800 2002-06-27  Angus Leeming  <leeming@lyx.org>
7801
7802         * Makefile.am: add lyxlayout_ptr_fwd.h.
7803
7804 2002-06-26  André Pönitz <poenitz@gmx.net>
7805
7806         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7807
7808 2002-06-25  Angus Leeming  <leeming@lyx.org>
7809
7810         * lyxfunc.C (dispatch): Comment out the call to
7811         grfx::GCache::changeDisplay. The method no longer exists now that the
7812         pixmap generation part of the graphics loader has been moved into
7813         InsetGraphics.
7814
7815 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7816
7817         * text2.C: layout as layout
7818
7819         * text.C: layout as layout
7820
7821         * tabular.C (OldFormatRead): layout as layout
7822
7823         * paragraph_pimpl.C (TeXDeeper): layout as layout
7824         (realizeFont): layout as layout
7825
7826         * paragraph.C (writeFile): layout as layout
7827         (validate): layout as layout
7828         (getFont): layout as layout
7829         (getLabelFont): layout as layout
7830         (getLayoutFont): layout as layout
7831         (breakParagraph): layout as layout
7832         (stripLeadingSpaces): layout as layout
7833         (getEndLabel): layout as layout
7834         (getMaxDepthAfter): layout as layout
7835         (applyLayout): layout as layout
7836         (TeXOnePar): layout as layout
7837         (simpleTeXOnePar): layout as layout
7838         (TeXEnvironment): layout as layout
7839         (layout): layout as layout
7840         (layout): layout as layout
7841
7842         * lyxtextclass.C (compare_name): new functor to work with
7843         shared_ptr, layout as layout
7844         (Read): layout as layout
7845         (hasLayout): layout as layout
7846         (operator): layout as layout
7847         (delete_layout): layout as layout
7848         (defaultLayout): layout as layout
7849
7850         * lyxlayout_ptr_fwd.h: new file
7851
7852         * lyxlayout.C (Read): layout as layout
7853
7854         * lyx_cb.C (MenuInsertLabel): layout as layout
7855
7856         * bufferlist.C (newFile): layout as layout
7857
7858         * buffer.C (readLyXformat2): layout as layout
7859         (parseSingleLyXformat2Token): layout as layout
7860         (insertStringAsLines): layout as layout
7861         (asciiParagraph): layout as layout
7862         (latexParagraphs): layout as layout
7863         (makeLinuxDocFile): layout as layout
7864         (simpleLinuxDocOnePar): layout as layout
7865         (makeDocBookFile): layout as layout
7866         (simpleDocBookOnePar): layout as layout
7867         (getLists): layout as layout
7868
7869         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7870
7871         * CutAndPaste.C (cutSelection): layout as layout
7872         (pasteSelection): layout as layout
7873         (SwitchLayoutsBetweenClasses): layout as layout
7874
7875         * BufferView_pimpl.C (Dispatch): layout as layout
7876         (smartQuote): layout as layout
7877
7878         * BufferView2.C (unlockInset): layout as layout
7879
7880 2002-06-24  André Pönitz <poenitz@gmx.net>
7881
7882         * lyxfunc.C: fix #487
7883
7884 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7885
7886         * lyxrc.h:
7887         * lyxrc.C:
7888         * lyxfunc.C: remove display_shortcuts, show_banner
7889
7890 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7891
7892         * Buffer_pimpl.C: oops, update on resize
7893
7894 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7895
7896         * buffer.C:
7897         * converter.C:
7898         * exporter.C:
7899         * lyxfunc.C:
7900         * BufferView.h:
7901         * BufferView.C: use repaint()
7902
7903         * BufferView_pimpl.h:
7904         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7905           as it's a clearer description. Remove superfluous
7906           redraws.
7907
7908 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7909
7910         * text.C: fix bug 488. Not ideal, but getting
7911           getWord() to work properly for the insets that
7912           matter is more difficult ...
7913
7914 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7915
7916         * BufferView_pimpl.C:
7917         * LyXAction.C:
7918         * commandtags.h:
7919         * lyxfunc.C: remove the six million index lyxfuncs to just
7920           one, and DTRT (bug 458)
7921
7922 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7923
7924         * BufferView.h:
7925         * BufferView.C:
7926         * BufferView_pimpl.h:
7927         * BufferView_pimpl.C: clean up resize() stuff,
7928           and unnecessary updateScreen()s
7929
7930 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7931
7932         * BufferView.h:
7933         * BufferView.C:
7934         * BufferView_pimpl.h:
7935         * BufferView_pimpl.C:
7936         * lyxfind.h:
7937         * lyxfind.C:
7938         * minibuffer.C: remove focus management of workarea,
7939           not needed. Use screen's greyOut()
7940
7941 2002-06-17  Herbert Voss  <voss@lyx.org>
7942
7943         * converter.C: (convert) do not post a message, when converting
7944         fails, let the calling function decide what to do in this case
7945
7946 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7947
7948         * lyxfunc.C: tidy up a little
7949
7950 2002-06-16    <alstrup@diku.dk>
7951
7952         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7953         Got rid of FORMS_H_LOCATION include. Now we are
7954         GUII.
7955
7956 2002-06-15  LyX Development team  <lyx@rilke>
7957
7958         * buffer.[Ch] (sgmlOpenTag):
7959         (sgmlCloseTag): Added support for avoiding pernicious mixed
7960         content. Return number of lines written.
7961
7962         (makeLinuxDocFile):
7963         (makeDocBookFile): Fixed calls to sgml*Tag.
7964         Simple white space clean.
7965
7966         (simpleDocBookOnePar): Simple white space clean.
7967
7968         * tabular.[Ch] (docBook): Renamed to docbook and got another
7969         argument to related with the pernicious mixed content.
7970
7971         (docbookRow): Fixed calls for docbook inset method.
7972
7973 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7974
7975         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7976         so it's X11 independent.
7977
7978         * kb*.[Ch]: ditto.
7979
7980         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7981
7982 2002-06-15  Lyx Development team  <lyx@electronia>
7983
7984         * intl.h: Renamed getTrans to getTransManager.
7985
7986 2002-06-14  Angus Leeming  <leeming@lyx.org>
7987
7988         * Makefile.am: nuke forgotten stl_string_fwd.h.
7989
7990 2002-06-12  Angus Leeming  <leeming@lyx.org>
7991
7992         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7993
7994 2002-06-13  Angus Leeming  <leeming@lyx.org>
7995
7996         * LaTeX.C:
7997         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7998
7999 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8000
8001         * kbmap.C (getiso): add support for cyrillic and greek
8002
8003 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8004
8005         * BufferView.h:
8006         * BufferView.C:
8007         * BufferView_pimpl.h:
8008         * BufferView_pimpl.C: move bogus scrolling logic
8009           to xforms
8010
8011 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8012
8013         * lyxfunc.C:
8014         * BufferView_pimpl.C: view->resize() change
8015
8016 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8017
8018         * BufferView_pimpl.C: topCursorVisible
8019           prototype change
8020
8021 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8022
8023         * Makefile.am:
8024         * lyx_gui.h:
8025         * lyx_gui.C: move to frontends/
8026
8027         * main.C:
8028         * lyx_main.h:
8029         * lyx_main.C: changes from above
8030
8031 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8032
8033         * intl.C:
8034         * intl.h:
8035         * kbmap.C:
8036         * kbsequence.C:
8037         * lyx_cb.C:
8038         * lyx_main.C: minor tidy
8039
8040 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8041
8042         * BufferView_pimpl.h:
8043         * BufferView_pimpl.C:
8044         * BufferView.h:
8045         * BufferView.C: make painter() const,
8046           remove dead code
8047
8048         * BufferView2.C: use screen() accessor
8049
8050         * lyx_main.h:
8051         * lyx_main.C: some minor cleanup
8052
8053 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8054
8055         * BufferView_pimpl.h:
8056         * BufferView_pimpl.C: remove enter/leaveView,
8057           use workHeight()
8058
8059 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8060
8061         * BufferView.h:
8062         * BufferView.C:
8063         * BufferView2.C:
8064         * BufferView_pimpl.h:
8065         * BufferView_pimpl.C: only construct screen once,
8066           rename
8067
8068         * lyxrc.C: remove pointless comment
8069
8070 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8071
8072         * BufferView.h:
8073         * BufferView.C: remove active() and belowMouse()
8074
8075         * BufferView_pimpl.h:
8076         * BufferView_pimpl.C: use workarea() not workarea_,
8077           and make it use a scoped_ptr instead
8078
8079 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8080
8081         * lyx_gui.C: add debug message on BadWindow
8082
8083 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8084
8085         * sp_spell.C: fdopen is not part of the C++ standard.
8086
8087         * paragraph.C (InsetIterator): use >= instead of ==
8088
8089 2002-06-07  Angus Leeming  <leeming@lyx.org>
8090
8091         Fixes needed to compile with Compaq cxx 6.5.
8092         * BufferView_pimpl.C:
8093         * DepTable.C:
8094         * buffer.C:
8095         * converter.C:
8096         * encoding.C:
8097         * lyx_gui.C:
8098         * lyx_main.C:
8099         * lyxtextclasslist.C:
8100         * minibuffer.C:
8101         * sp_spell.C:
8102         * tabular_funcs.C:
8103         * vc-backend.C:
8104         all c-library variables have been moved into namespace std. Wrap
8105         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8106
8107         * lyxlength.C:
8108         * tabular-old.C:
8109         * tabular.C:
8110         Add a using std::abs declaration.
8111
8112         * kbmap.h (modifier_pair):
8113         * paragraph.h (InsetTable, InsetList):
8114         * lyxfont.h (FontBits):
8115         type definition made public.
8116
8117         * bufferlist.C (emergencyWriteAll): the compiler complains that
8118         there is more than one possible lyx::class_fun template to choose from.
8119         I re-named the void specialisation as lyx::void_class_fun.
8120
8121         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8122
8123         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8124         the compiler is is unable to find tostr in write_attribute.
8125
8126 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8127
8128         * buffer.C (sgmlError): hide #warning
8129
8130 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8131
8132         * xtl/*: get rid of xtl, which is not in use anyway
8133
8134         * LyXAction.C (init):
8135         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8136         were unimplemented xtl experimentation
8137
8138 2002-06-04  André Pönitz <poenitz@gmx.net>
8139
8140         * lyxfunc.C: disable array operation on simple formulae
8141
8142 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8143
8144         * converter.C: constify a bit
8145
8146 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8147
8148         * lyx_gui.C: check xforms version correctly
8149
8150 2002-04-30  Herbert Voss  <voss@lyx.org>
8151
8152         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8153         "keep" option
8154
8155 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8156
8157         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8158           attempt to register it with a VCS)
8159
8160 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8161
8162         * lyx_main.C (init): honor variables LYX_DIR_13x and
8163         LYX_USERDIR_13x
8164
8165 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8166
8167         * buffer.h:
8168         * buffer.C:
8169         * lyx_main.C: fix a crash on bad command line,
8170           and give a useful exit status on error
8171
8172         * lyxfunc.C (doImport): allow -i lyx to work
8173
8174 2002-03-30  André Pönitz <poenitz@gmx.net>
8175
8176         * lyxfunc.C: mathed font changes
8177
8178 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8179
8180         * LaTeX.C:
8181         * importer.h:
8182         * importer.C:
8183         * lyx_sty.h:
8184         * lyx_sty.C:
8185         * lyxlex.C:
8186         * lyxrow.h:
8187         * lyxtext.h:
8188         * paragraph.h:
8189         * paragraph.C:
8190         * texrow.h:
8191         * texrow.C:
8192         * text.C:
8193         * trans_mgr.h: srcdocs, and some minor cleanups
8194
8195 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8196
8197         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8198         call getFont all the time)
8199
8200 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8201
8202         * switch from SigC signals to boost::signals
8203
8204 2002-05-29  André Pönitz <poenitz@gmx.net>
8205
8206         * paragraph_pimpl.C (getChar): don't call size() too often...
8207
8208 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8209
8210         * paragraph_pimpl.C (insertChar): do not try to update tables when
8211         appending (pos == size())
8212
8213         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8214         in order to reduce drastically the number of comparisons needed to
8215         parse a large document
8216
8217 2002-05-29  André Pönitz <poenitz@gmx.net>
8218
8219         * text.C:
8220         * text2.C:
8221         * lyxtextclass.C:
8222         * sp_pspell.h:
8223         * textclasslist.[Ch]:
8224         * sp_ispell.h: whitespace change
8225
8226 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8227
8228         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8229         lyxaction directly now.
8230
8231 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8232
8233         * trans.C:
8234         * lyxfont.C:
8235         * lyxvc.C: remove unused headers
8236
8237 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8238
8239         * Makefile.am:
8240         * buffer.h:
8241         * undostack.h:
8242         * undostack.C:
8243         * undo_funcs.h:
8244         * undo_funcs.C: some cleanups. Use shared_ptr
8245           and a template for the undo stacks.
8246
8247 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8248
8249         * BufferView_pimpl.h:
8250         * BufferView_pimpl.C:
8251         * kbmap.h:
8252         * kbmap.C:
8253         * kbsequence.h:
8254         * kbsequence.C:
8255         * lyxfunc.h:
8256         * lyxfunc.C:
8257         * text2.C: use key_state/mouse_state
8258
8259 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8260
8261         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8262         and LSubstring
8263
8264         * chset.C: change include order
8265         (loadFile): use boost regex and get rid of LRegex and LSubstring
8266
8267         * Makefile.am (BOOST_LIBS): new variable
8268         (lyx_LDADD): use it
8269
8270         * LaTeX.C: change include order.
8271         (scanAuxFile): use boost regex and get rid of LRegex and
8272         LSubstring
8273         (deplog): ditto
8274
8275 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8276
8277         * ColorHandler.h:
8278         * ColorHandler.C:
8279         * FontInfo.h:
8280         * FontInfo.C: moved to frontends/xforms/
8281
8282         * FontLoader.h:
8283         * FontLoader.C: moved into frontends for GUIIzation
8284
8285         * Makefile.am:
8286         * lyx_gui.C:
8287         * lyxfont.C:
8288         * lyxfunc.C: changes from above
8289
8290 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8291
8292         * LColor.C: remove spurious X include
8293
8294         * BufferView_pimpl.C:
8295         * Makefile.am:
8296         * font.h:
8297         * font.C:
8298         * text.C:
8299         * text2.C: move font metrics to frontends/
8300
8301 2002-05-24  Juergen Vigna  <jug@sad.it>
8302
8303         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8304         setting the undo_cursor.
8305
8306         * ParagraphParameters.h: include local includes first.
8307
8308 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8309
8310         * BufferView_pimpl.C:
8311         * BufferView_pimpl.h:
8312         * Makefile.am:
8313         * WorkArea.h:
8314         * WorkArea.C:
8315         * screen.C: move WorkArea into frontends/
8316
8317         * lyxscreen.h:
8318         * screen.C:
8319         * text.C:
8320         * BufferView.C:
8321         * BufferView2.C: move LyXScreen into frontends/
8322
8323         * lyxlookup.h:
8324         * lyxlookup.C:
8325         * lyx_gui.C: move lyxlookup into frontends/xforms/
8326
8327 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8328
8329         * BufferView2.C:
8330         * BufferView_pimpl.C:
8331         * FontLoader.C:
8332         * LyXView.h:
8333         * LyXView.C:
8334         * Makefile.am:
8335         * WorkArea.C:
8336         * XFormsView.h:
8337         * XFormsView.C:
8338         * buffer.C:
8339         * bufferlist.C:
8340         * bufferview_funcs.C:
8341         * converter.C:
8342         * importer.C:
8343         * lyx_cb.C:
8344         * lyx_gui.C:
8345         * lyx_main.C:
8346         * lyx_find.C:
8347         * lyxfunc.C:
8348         * lyxvc.C:
8349         * minibuffer.C:
8350         * text.C:
8351         * text2.C:
8352         * trans.C:
8353         * vc-backend.C: move LyX/XFormsView into frontends/
8354
8355 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8356
8357         * Makefile.am:
8358         * PainterBase.C:
8359         * PainterBase.h:
8360         * Painter.C:
8361         * Painter.h:
8362         * WorkArea.C:
8363         * WorkArea.h:
8364         * screen.C:
8365         * tabular.C:
8366         * text.C:
8367         * text2.C: move Painter to frontends/
8368
8369 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8370
8371         * buffer.C: comment out some some code that depend upon lyx_format
8372         < 220
8373
8374         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8375         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8376
8377         * buffer.h (NO_COMPABILITY): turn off compability
8378
8379         * ColorHandler.C: include scoped_array.hpp
8380
8381         * font.C: Use more specific smart_ptr header.
8382         * Painter.C: ditto
8383         * gettext.C: ditto
8384         * ShareContainer.h: ditto
8385         * lyx_main.h: ditto
8386         * kbmap.h: ditto
8387         * FontInfo.h: ditto
8388         * BufferView_pimpl.h: ditto
8389         * ColorHandler.h: ditto
8390
8391         * kbmap.C (defkey): change call to shared_ptr::reset
8392
8393 2002-05-21  Juergen Vigna  <jug@sad.it>
8394
8395         * buffer.C (insertErtContents): fix to insert ert asis if it is
8396         non empty. Skip it completely if it contains only whitespaces.
8397
8398 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8399
8400         * BufferView_pimpl.C:
8401         * BufferView2.C: clear selection on paste (bug 393)
8402
8403 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8404
8405         * DepTable.C: include ctime
8406
8407 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8408
8409         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8410
8411 2002-05-14  Juergen Vigna  <jug@sad.it>
8412
8413         * text.C (breakParagraph): fixed function to honor the keepempty
8414         layout in the right maner and also to permit the right breaking
8415         algorithm on empty or non empyt keepempty paragraphs.
8416
8417         * paragraph.C (breakParagraph): we have to check also if the par
8418         is really empty (!size()) for isempty otherwise we do the wrong
8419         paragraph break.
8420
8421 2002-05-10  Juergen Vigna  <jug@sad.it>
8422
8423         * buffer.[Ch] : The following are only changes to the ert
8424         compatibility read reading old LaTeX layout and font stuff and
8425         convert it to ERTInsets.
8426
8427         * buffer.h: added isErtInset().
8428
8429         * buffer.C (struct ErtComp): add a fromlayout bool to check
8430         if we're inside a LaTeX layout.
8431         (isErtInset): new helper function.
8432         (insertErtContents): look for other ert insets before this one
8433         and insert the contents there, so that we don't have subsequent
8434         ERT insets with nothing between them. This way we create only one
8435         inset with multiple paragraphs. Also check if we don't insert only
8436         spaces ' ' as they are ignored anyway afterwards in the .tex file
8437         so if we have only spaces we will ignore this latex part in the
8438         new file.
8439         (parseSingleLyXformat2Token \\layout): better compatibility when
8440         reading layout-latex stuff.
8441         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8442         language tag.
8443         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8444         stuff after reading the inset only get the information back from
8445         the stack.
8446
8447 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8448
8449         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8450
8451         * LaTeXFeatures.C (getBabelOptions): New method.
8452
8453 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8454
8455         * BufferView_pimpl.C (Dispatch): work around missing argument for
8456         'layout'
8457
8458 2002-05-08  Juergen Vigna  <jug@sad.it>
8459
8460         * text.C (leftMargin): handle paragraph leftindent.
8461
8462         * paragraph.C (writeFile): write the new \\leftindent tag.
8463         (validate): handle leftindent code.
8464         (TeXEnvironment): handle paragraphleftindent code again.
8465
8466         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8467
8468         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8469         for paragrap_extra indent code and new token \\leftindent.
8470         (latexParagraphs): handle the leftindent as environment.
8471
8472         * ParameterStruct.h: added leftindent support.
8473
8474         * ParagraphParameters.C (leftIndent): added support functions for
8475         the paragraph left indent.
8476
8477         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8478         more appropriate.
8479
8480 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8481
8482         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8483         inside insetERT.
8484
8485         * text.C (computeBidiTables): No bidi in insetERT.
8486
8487         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8488         in RTL documents.
8489
8490 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8491
8492         * version.C.in: pre 5
8493
8494 2002-05-02  José Matos  <jamatos@fep.up.pt>
8495         * buffer.C (makeDocBookFile): white space changes, add newline to
8496         command styles.
8497         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8498
8499         * tabular.C (docBook): fix typo.
8500
8501 2002-05-03  Juergen Vigna  <jug@sad.it>
8502
8503         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8504         change in LyXText as we can not be sure it was not freed.
8505         (drawOneRow): remove unused code.
8506
8507         * text.C (drawInset): redo the calculation of the need_break_row as
8508         it could have a row which was already freed.
8509         (draw): look at the return value of drawInset and return false if
8510         it also returned false.
8511         (paintRowText): look at the return value of draw and return false if
8512         it also returned false.
8513
8514         * lyxtext.h: added bool return type to drawInset() and draw() so that
8515         if we have a change in the row so that the rowbreak has to be redone
8516         we abort drawing as it will be called again.
8517
8518 2002-05-02  Juergen Vigna  <jug@sad.it>
8519
8520         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8521         a change in the maintext also if we're inside an inset.
8522         (Dispatch): set the cursor again after a break line and after the
8523         screen has been updated as it could be we're in a different row.
8524
8525         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8526         to set the cursor behind the pargraph with > size().
8527         (setCursor): check also for the same paragraph when checking where
8528         to put the cursor if we have a NFR inset.
8529
8530         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8531         parts of layout read further up as it still was in the wrong
8532         position.
8533
8534 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8535
8536         * screen.C (drawFromTo): change sine fullRebreak always return
8537         true.
8538
8539         * buffer.C (parseSingleLyXformat2Token): reindent some
8540
8541         * BufferView_pimpl.C (update): change since fullRebreak always
8542         return true.
8543         (Dispatch): git rid of the last hardcoded "Standard"s.
8544
8545 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8546
8547         * text2.[Ch] (fullRebreak): make it return void now that we always
8548         returned true.
8549
8550 2002-04-30  Juergen Vigna  <jug@sad.it>
8551
8552         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8553         ert compatibility check for "latex" layout.
8554
8555 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8556
8557         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8558         minipages: use col% instead of p%, and also use the current font.
8559         (makeLaTeXFile): Fix use babel condition.
8560         (parseSingleLyXformat2Token): Correct font when reading old floats.
8561
8562 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8563
8564         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8565         inserting list of floats.
8566
8567 2002-04-25  Herbert Voss  <voss@lyx.org>
8568
8569         * MenuBackend.C (expand): don't add the graphics extensions to the
8570         export menu
8571
8572 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8573
8574         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8575         non-existing layout, do not complain if it was the default layout
8576         of the original class (bug #342)
8577
8578 2002-04-24  Juergen Vigna  <jug@sad.it>
8579
8580         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8581         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8582
8583 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8584
8585         * buffer.C (getBibkeyList): If using \bibliography, return the
8586         option field with the reference itself. Enables us to provide natbib
8587         support when using \bibliography.
8588
8589 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8590
8591         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8592
8593         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8594         natbib is provided by the LaTeX class.
8595
8596 2002-04-23  Juergen Vigna  <jug@sad.it>
8597
8598         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8599         Wakeup functions.
8600
8601         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8602
8603 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8604
8605         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8606
8607         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8608         ensuremath around textordmasculine, textordfeminine and
8609         textdegree.
8610
8611 2002-04-19  Juergen Vigna  <jug@sad.it>
8612
8613         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8614         reinitializing the buffer otherwise row-dimensions may be wrong.
8615         (update): reset also the selection cursors if they do exits otherwise
8616         their x/y positions may be wrong.
8617
8618         * text2.C (cursorDown): don't enter the inset if we came from a row
8619         above and are one row over the inset.
8620
8621         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8622         really leaving an inset.
8623
8624 2002-04-18  Juergen Vigna  <jug@sad.it>
8625
8626         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8627         of the selected paragraph does not have the selected layout also if
8628         the last one had!
8629
8630         * text2.C (setLayout): fixed bug which did not change last selected
8631         paragraph.
8632
8633         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8634         changed the read and substituted \\end_float with \\end_inset!
8635
8636         * BufferView_pimpl.C (cursorPrevious):
8637         (cursorNext): fixed to make it work with rows heigher than the work
8638         area without moving the cursor only the draw of the row.
8639         (workAreaMotionNotify): fix jumping over high rows.
8640
8641 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8642
8643         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8644         Ressler.
8645
8646 2002-04-16  Juergen Vigna  <jug@sad.it>
8647
8648         * text2.C (setCursor): set also the irow().
8649         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8650         (cursorUp):
8651         (cursorDown): support for locking an inset if the x_fix value goes
8652         inside it. That way I can transverse insets too with cursor up/down.
8653
8654         * lyxrow.h: added irow helper function same as other (i) functions.
8655
8656         * BufferView_pimpl.C (cursorPrevious):
8657         (cursorNext): fixed for insets!
8658
8659 2002-04-15  Juergen Vigna  <jug@sad.it>
8660
8661         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8662         position otherwise it is wrong in some cases.
8663
8664         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8665         inside the inset before the call.
8666
8667 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8668
8669         * buffer.[Ch] (getBibkeyList): make it const.
8670
8671 2002-04-12  Juergen Vigna  <jug@sad.it>
8672
8673         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8674
8675         * text2.C (getCursorX): new helper function
8676         (setCursor): compute also ix_
8677         (setCursorFromCoordinates): set also ix.
8678
8679         * lyxcursor.h: added ix_ and helper functions.
8680
8681         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8682
8683         * buffer.C (insertStringAsLines): dont break paragraph if the this
8684         paragraph is inside an inset which does not permit it!
8685
8686         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8687         also with no chars on this paragraph.
8688         (paintRowText): only paint stuff if it's inside the workarea!
8689
8690         * paragraph.C (breakParagraph): honor keepempty flag and break the
8691         paragraph always below not above.
8692
8693         * BufferView2.C (unlockInset): update the paragraph layout on inset
8694         unlock as we changed paragraph in such a case.
8695
8696         * lyxfind.C (LyXFind): clear the former selection if not found!
8697
8698         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8699         again called in insertChar().
8700
8701         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8702         an inset which uses the whole row!
8703         (rightMargin): ditto.
8704         (insertChar): force a rebreak if we inserted an inset!
8705
8706 2002-03-28  Herbert Voss  <voss@lyx.org>
8707
8708         * lyxlength.[Ch]: add inBP() to get the right PS-point
8709         units (BigPoint). With inPixels we have rounding errors
8710
8711 2002-04-11  Juergen Vigna  <jug@sad.it>
8712
8713         * text2.C (setCursorFromCoordinates): set iy to the right value.
8714         (setCursor): add check if row->previous exists!
8715
8716         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8717         an old float_type as this was the case in the old code!
8718
8719         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8720
8721         * BufferView2.C (showLockedInsetCursor): use iy
8722         (fitLockedInsetCursor): ditto
8723
8724         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8725         locked insets as there we have the right value now.
8726
8727         * lyxcursor.C: added iy_ variable and iy functions to set to the
8728         baseline of cursor-y of the locked inset.
8729
8730         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8731         (setCursor): fixed for insets which need a full row.
8732
8733         * text.C (rowLastPrintable): don't ignore the last space when before
8734         an inset which needs a full row.
8735         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8736         as last character of a row when before a inset which needs a full row.
8737
8738 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8739
8740         * version.C.in: update date
8741
8742         * text2.C (fullRebreak): try to always return true and see what
8743         happens...
8744
8745 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8746
8747         * MenuBackend.C (expand): use Floating::listName
8748
8749         * FloatList.C (FloatList): add listName argument to the built-in
8750         floats
8751
8752         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8753         text associated with the float.
8754
8755 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8756
8757         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8758
8759 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8760
8761         * ShareContainer.h: add a couple of missing typenames.
8762
8763 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8764
8765         * lyxrc.C (getDescription): use _() correctly rather than N_().
8766
8767 2002-03-28  Herbert Voss  <voss@lyx.org>
8768
8769         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8770         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8771
8772 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8773
8774         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8775         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8776
8777 2002-03-29  Juergen Vigna  <jug@sad.it>
8778
8779         * lyxfunc.C (dispatch): add a missing fitCursor call.
8780
8781         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8782         it was scrolled by a cursor move, so return the bool status.
8783
8784         * BufferView.C (fitCursor): return the bool flag also to the outside
8785         world as this is needed.
8786
8787         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8788
8789         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8790         call the edit() as it is not needed (and wrong) IMO.
8791         (workAreaButtonPress): set the screen_first variable before evt.
8792         unlock the inset as this may change screen_first and then we have
8793         a wrong y position for the click!
8794
8795 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8796
8797         * MenuBackend.C (expand): another translation that I missed
8798
8799 2002-03-28  Juergen Vigna  <jug@sad.it>
8800
8801         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8802
8803         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8804
8805 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8806
8807         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8808
8809         * MenuBackend.C (expand): fix export/view/update when there is no
8810         document open.
8811
8812 2002-03-27  Herbert Voss  <voss@lyx.org>
8813
8814         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8815         and text%
8816
8817 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8818
8819         * bufferview_funcs.C (currentState): only show paragraph number
8820         for is DEVEL_VERSION is set.
8821
8822         * lyxfunc.C (dispatch): put warning in INFO channel
8823
8824         * MenuBackend.C (expand): translate the name of floats
8825
8826         * FloatList.C (FloatList): mark the float names for translation
8827
8828         * converter.C (convert): use LibScriptSearch
8829
8830 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8831
8832         * MenuBackend.C (defaults): fix default menu (we might as well get
8833         rid of it...)
8834
8835 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8836
8837         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8838         directory.
8839
8840 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8841
8842         * lyxvc.C: reorder includes.
8843
8844 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8845
8846         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8847           properly
8848
8849 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8850
8851         * CutAndPaste.C: change layouts earlier on paste
8852           to avoid crashing when calling getFont()
8853
8854 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8855
8856         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8857         irritating #error.
8858
8859 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8860
8861         * WorkArea.C: remove 'Pending' debug message.
8862
8863         * most files: ws cleanup
8864
8865         * buffer.[Ch]: ws changes
8866
8867         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8868
8869 2002-03-21  Juergen Vigna  <jug@sad.it>
8870
8871         * tabular.C (SetMultiColumn): collapse also the contents of the
8872         cells and set the last border right. Added a Buffer const * param.
8873
8874 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8875
8876         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8877         linking or not.
8878
8879 2002-03-19  Juergen Vigna  <jug@sad.it>
8880
8881         * text2.C (clearSelection): reset also xsel_cache.
8882
8883         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8884         where it needs to be called (John tells us to do so too :)
8885         (selectionLost): reset sel_cache.
8886
8887         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8888
8889 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8890
8891         * text2.C (setCursorIntern): put debuging code in INSETS channel
8892
8893 2002-03-19  André Pönitz <poenitz@gmx.net>
8894
8895         * lyxfunc.C: tiny whitespace change
8896
8897 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8898
8899         * ToolbarDefaults.C (init):
8900         * LyXAction.C (init):
8901         * commandtags.h:
8902         * BufferView_pimpl.C (Dispatch):
8903         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8904
8905 2002-03-19  Allan Rae  <rae@lyx.org>
8906
8907         * exporter.C (Export): removeAutoInsets before doing anything else.
8908         While I've just introduced a dependency on BufferView this really is
8909         the best place to clean the buffer otherwise you need to cleanup in
8910         a dozen places before calling export or cleanup in a dozen functions
8911         that export calls.
8912
8913         * converter.C (runLaTeX):
8914         (scanLog): Better handling of removeAutoInsets and screen updates.
8915
8916         * lyxfunc.C (dispatch): small whitespace changes
8917
8918 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8919
8920         * WorkArea.C (C_WorkAreaEvent): return a value.
8921         (event_cb): return 1 if we handled the event, 0 otherwise.
8922
8923         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8924
8925 2002-03-18  Juergen Vigna  <jug@sad.it>
8926
8927         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8928         (GetAdditionalWidth): ditto.
8929         (RightLine): ditto.
8930         (LeftLine): ditto.
8931
8932         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8933         inset if we're there actually (probably not used right now but this
8934         is the direction to go for unifying code).
8935         (paste): disable code to clear the selection.
8936
8937         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8938         inside an InsetText and move the check further up as it is in the
8939         wrong place.
8940
8941         * text2.C (pasteSelection): set a selection over the pasted text.
8942
8943 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8944
8945         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8946         and libgraphics to build on Cygwin.
8947
8948 2002-03-15  Juergen Vigna  <jug@sad.it>
8949
8950         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8951         inserting an Inset into the paragraph. I know this is not the best
8952         fix but we already use current_view in CutAndPaste so we will remove
8953         all of it's using at the same time.
8954
8955         * buffer.C (sgmlError): deactivated function till it is rewritten in
8956         the right mode, now it can create problems.
8957
8958         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8959         before accessing it.
8960
8961 2002-03-14  Juergen Vigna  <jug@sad.it>
8962
8963         * undo_funcs.C (textHandleUndo): do the right thing when updating
8964         the inset after the undo/redo.
8965
8966         * text2.C (setCursor): just some testcode for #44 not ready yet.
8967
8968         * undo_funcs.C (textHandleUndo): set the next() and previous()
8969         pointers of the paragraph to 0 before deleting otherwise we have
8970         problems with the Paragraph::[destructor].
8971
8972         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8973         on a paragraph insertion.
8974
8975 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8976
8977         * buffer.C (asciiParagraph): use += operator for char append to
8978         string.
8979
8980         * paragraph.C (getFontSettings): compare >= not just >
8981         (highestFontInRange): ditto
8982         (setFont): ditto
8983
8984 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8985
8986         * paragraph.C: change several algorithm to be more appripriate for
8987         the problem domain. This is lookip in FontList and in the InsetList.
8988
8989 2002-03-13  André Pönitz <poenitz@gmx.net>
8990
8991         * commandtags.h:
8992         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8993
8994 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8995
8996         * commandtags.h:
8997         * LyXAction.C:
8998         * lyxfunc.C:
8999         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9000
9001 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9002
9003         * Painter.C (display): anon helper function, adjust code for this
9004         change.
9005         (pixmap): remove function.
9006
9007         * Painter.h: remove private display variable.
9008
9009         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9010
9011 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9012
9013         * WorkArea.[Ch]: remove figinset_canvas cruft.
9014
9015 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9016
9017         * lyxtextclass.C (operator): add one item cache optimization.
9018
9019         * bufferlist.h: doxy changes
9020
9021         * bufferlist.C: ws changes
9022
9023         * DepTable.[Ch] (ext_exist): place const in the right spot.
9024
9025         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9026         call resizeInsets.
9027         (workAreaExpose): call resizeInsets when the with BufferView changes.
9028         (Dispatch): adjust for protectedBlank removal
9029         (specialChar): call updateInset if the insert went ok.
9030
9031         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9032         specialChar instead.
9033
9034         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9035
9036         * BufferView.h: doxy change
9037
9038         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9039
9040         * lyxtextclass.C (operator[]): remove non-const version
9041         (defaultLayout): remove non-const version
9042
9043 2002-03-12  Juergen Vigna  <jug@sad.it>
9044
9045         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9046         did resize the LyXText too.
9047
9048         * buffer.C (readLyXformat2): set layout information on newly allocated
9049         paragraphs.
9050
9051         * tabular.C (OldFormatRead): set layout information on the paragraph.
9052
9053 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9054
9055         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9056
9057 2002-03-11  Juergen Vigna  <jug@sad.it>
9058
9059         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9060         plainly wrong.
9061         (resizeCurrentBuffer): force also the insets to resize themselfes.
9062         (moveCursorUpdate): fixed up for InsetText.
9063
9064 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9065
9066         * commandtags.h:
9067         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9068         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9069         value of Dialogs::tooltipsEnabled().
9070         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9071
9072 2002-03-08  Juergen Vigna  <jug@sad.it>
9073
9074         * BufferView_pimpl.C (updateInset): update inset inside inset also
9075         if it isn't inside theLockingInset().
9076
9077 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9078
9079         * buffer.C (asciiParagraph): redo some of the word and line length
9080         handling.
9081         (getLists): look for Caption instead of caption.
9082
9083 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9084
9085         * buffer.C (Buffer): initialize niceFile to true
9086         (makeLaTeXFile):
9087         (makeLinuxDocFile):
9088         (makeDocBookFile): make sure niceFile is true on exit
9089
9090 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9091
9092         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9093
9094 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9095
9096         * LyXSendto.C: remove.
9097         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9098         * lyx_gui.C: remove now-redundant comment.
9099         * ColorHandler.h: remove forward declaration of class WorkArea.
9100         * lyxfunc.C: remove #include "WorkArea.h".
9101
9102 2002-03-07  Juergen Vigna  <jug@sad.it>
9103
9104         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9105         got moved away with the DEPM and also set the inset_owner always
9106         right which before could have been omitted.
9107
9108 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9109
9110         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9111         wanted layout is not found.
9112
9113 2002-03-07  Juergen Vigna  <jug@sad.it>
9114
9115         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9116
9117 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9118
9119         * paragraph.C (breakParagraph): use default layout not layout of
9120         prev paragraph.
9121         (Paragraph): clear ParagraphParameters.
9122
9123 2002-03-06  Juergen Vigna  <jug@sad.it>
9124
9125         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9126         otherwise it would not be a valid lenght. Fixed a special case in
9127         the minipage compatibility read where we end the document with a
9128         minipage.
9129
9130         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9131         was set as it could be 0 for InsetTexts first entry.
9132
9133 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9134
9135         * paragraph.C (writeFile): if layout is empty write out
9136         defaultLayoutName().
9137
9138         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9139         file without named layout we set layout to defaultLayoutName().
9140
9141 2002-03-06  Juergen Vigna  <jug@sad.it>
9142
9143         * CutAndPaste.C (copySelection): set layout for new paragraph.
9144
9145         * text.C (prepareToPrint): leave ERT inset left aligned
9146         (leftMargin): don't indent paragraphs inside ERT insets
9147
9148 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9149
9150         * paragraph.C (breakParagraph): dont call clear do the work manually
9151
9152         * paragraph.[Ch] (clear): remove function
9153
9154 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9155
9156         * paragraph.C (Paragraph): dont call clear, the work has already
9157         been done.
9158
9159         * lyxtextclass.C (operator): assert if n is empty
9160
9161         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9162         work manually instead.
9163
9164 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9165
9166         * BufferView_pimpl.C: protect selectionLost against text == 0
9167
9168 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9169
9170         * text.C (breakParagraph): fix a setting layout to '0' problem.
9171
9172 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9173
9174         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9175         final location of file, for the included files, and graphics.
9176
9177 2002-03-05  Juergen Vigna  <jug@sad.it>
9178
9179         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9180
9181 2002-03-04  Juergen Vigna  <jug@sad.it>
9182
9183         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9184
9185         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9186         last column of multicolumn cells.
9187         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9188
9189 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9190
9191         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9192         file if it doesn't go to a temporary file.
9193
9194         * buffer.C (sgmlOpenTag):
9195         (sgmlCloseTag):  remove extra newline insertion.
9196
9197 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9198
9199         * text.C (getRowNearY): comment out debug msg
9200
9201 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9202
9203         * text2.C: first -> first_y
9204
9205         * text.C (getRowNearY): add some attemts at a possible
9206         optimization, not working.
9207
9208         * tabular.[Ch]: add BufferParams to several function so that newly
9209         created paragraph can be initialized to he default layotu for the
9210         buffers textclass.
9211
9212         * tabular-old.C (ReadOld): add buf->params to call of Init
9213
9214         * screen.C: rename text->first to text->first_y
9215
9216         * paragraph.C (breakParagraph): always set layout in the broken
9217         paragraph
9218
9219         * lyxtextclass.C (Read): remove lowercase
9220         (hasLayout): ditto
9221         (operator): ditto
9222         (delete_layout): ditto
9223
9224         * lyxtext.h: rename first -> first_y
9225
9226         * lyxlayout.C (Read): remove lowercase
9227         (name): ditto
9228         (setName): ditto
9229         (obsoleted_by): ditto
9230
9231         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9232
9233         * buffer.C (insertErtContents): add params are to InsetERT
9234         (parseSingleLyXformat2Token): add code to check if a paragraphs
9235         layout really exist.
9236         (parseSingleLyXformat2Token): add params to several inset
9237         constructors
9238         (asciiParagraph): remove lowercase, do the layout comparisons with
9239         no_case
9240
9241         * BufferView_pimpl.C (cursorNext): first -> first_y
9242         (resizeCurrentBuffer): first -> first_y
9243         (updateScrollbar): first -> first_y
9244         (scrollCB): first -> first_y
9245         (workAreaMotionNotify): first -> first_y
9246         (workAreaButtonPress): first -> first_y
9247         (checkInsetHit): first -> first_y
9248         (cursorPrevious): first -> first_y
9249         (cursorNext): first -> first_y
9250         (Dispatch): add buffer_->params to severl inset contructors
9251
9252 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9253
9254         * lyxlayout.C (Read): remove some debug info that I forgot.
9255
9256         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9257         clean up the code slightly.
9258         (makeLinuxDocFile): ditto
9259         (makeDocBookFile): ditto
9260
9261         * text2.C: layout as string
9262
9263         * text.C: layout as string
9264
9265         * paragraph_pimpl.C: layout as string
9266
9267         * paragraph.[Ch]: layout as string
9268
9269         * lyxtextclasslist.[Ch]: layout as string
9270
9271         * lyxtextclass.[Ch]: layout as string
9272
9273         * lyxtext.h: layout as string
9274
9275         * lyxlayout.[Ch]: layout as string
9276
9277         * lyx_cb.C: layout as string
9278
9279         * bufferview_funcs.C: layout as string
9280
9281         * bufferparams.C: layout as string
9282
9283         * buffer.C: layout as string
9284
9285         * LyXView.[Ch]: layout as string
9286
9287         * LaTeXFeatures.[Ch]: layout as string
9288
9289         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9290
9291         * BufferView_pimpl.C: change current_layout to string, remove
9292         lyx::layout_type.
9293         (Dispatch):
9294         (smartQuote):
9295         (insertInset):
9296         (workAreaButtonRelease): layout as string
9297
9298         * BufferView2.C (unlockInset): adjust
9299
9300         * vspace.C (asLatexCommand): use an explict temp variable.
9301
9302 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9303
9304         * Makefile.am: use FRONTEND_*
9305
9306 2002-03-01  Juergen Vigna  <jug@sad.it>
9307
9308         * tabular.C (SetWidthOfMulticolCell): changed to something better
9309         I hope but still work in progress.
9310         (recalculateMulticolumnsOfColumn): renamed function from
9311         recalculateMulticolCells as it is more appropriate now.
9312         (SetWidthOfCell): calculate multicols better.
9313
9314 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9315
9316         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9317
9318         * lyxfunc.C (processKeySym): print sequence also if it is
9319         `deleted' (complete)
9320
9321         * kbsequence.C (print): print sequence even if it is deleted
9322         (complete would be a better word, actually).
9323
9324         * lyxfunc.C (dispatch): print complete options after a prefix key
9325
9326         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9327
9328 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9329
9330         * text2.C (setCharFont): eliminate setCharFont code duplication.
9331
9332 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9333
9334         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9335         LFUN_TABULAR_FEATURE (bug #177)
9336
9337 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9338
9339         * Makefile.am: remove figure.h
9340
9341 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9342
9343         * Bufferview_pimpl.C:
9344         * CutAndPasteC:
9345         * LaTeX.C:
9346         * LyXSendto.C:
9347         * buffer.C:
9348         * bufferlist.C:
9349         * converter.C:
9350         * language.C:
9351         * lyxfunc.C:
9352         * lyxvc.C:
9353         * paragraph.C:
9354         * text.C:
9355         * text2.C: remove #include "lyx_gui_misc.h".
9356
9357         * LaTeX.C: added #include <cstdio>
9358
9359 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9360
9361         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9362         that the paragraph following this one can have.
9363
9364         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9365
9366         * vspace.C (asLatexCommand): fix bogus gcc warning
9367
9368         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9369
9370 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9371
9372         * text2.C (setLayout): get rid of redundant code
9373
9374 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9375
9376         * text2.C (incDepth): make sure depth cannot be increased beyond
9377         reasonable values.
9378
9379 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9380
9381         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9382         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9383
9384         * PainterBase.h (image):
9385         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9386         a LyXImage const *.
9387
9388 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9389
9390         * BufferView.C:
9391         * BufferView.h:
9392         * BufferView_pimpl.C:
9393         * BufferView_pimpl.h:
9394         * LaTeXFeatures.C:
9395         * LyXAction.C:
9396         * LyXView.C:
9397         * Makefile.am:
9398         * UpdateList.h:
9399         * UpdateList.C:
9400         * buffer.C:
9401         * figure.h:
9402         * figureForm.C:
9403         * figureForm.h:
9404         * figure_form.C:
9405         * figure_form.h:
9406         * lyx_cb.C:
9407         * lyx_gui.C:
9408         * lyx_gui_misc.C:
9409         * lyxfunc.C:
9410         * sp_base.h:
9411         * sp_ispell.h:
9412         * sp_pspell.h:
9413         * sp_spell.C: remove fig inset, and the crap house of
9414           cards that follows it
9415
9416 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9417
9418         * Makefile.am:
9419         * lyxserver.C:
9420         * os2_defines.h:
9421         * os2_errortable.h:
9422         * nt_defines.h: move .h into support/
9423
9424         * vms_defines.h: remove
9425
9426         * WorkArea.C: add space in debug output
9427
9428         * text2.C:
9429         * paragraph.C:
9430         * buffer.C: add WITH_WARNINGS
9431
9432         * vc-backend.h:
9433         * vc-backend.C:
9434         * bufferlist.C: s/retrive/retrieve/, add docs
9435
9436         * vspace.h:
9437         * vspace.C:
9438         * kbmap.h:
9439         * lyxlength.h:
9440         * lyxgluelength.h:
9441         * length_common.h:
9442         * chset.h:
9443         * chset.C: add docs
9444
9445         * lyxgui.C: add ID to X error handler
9446
9447         * lyxtestclass.c: fix typo
9448
9449 2002-02-26  Juergen Vigna  <jug@sad.it>
9450
9451         * tabular_funcs.C (write_attribute): changed so that some default
9452         attributes are not written at all.
9453         (getTokenValue): set default values before trying to read the
9454         value so we have the return value always set as default if we don't
9455         find the token we search for.
9456
9457         * tabular.C (Write): write bools as bools not as strings!
9458
9459 2002-02-22  Juergen Vigna  <jug@sad.it>
9460
9461         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9462         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9463
9464         * text.C (leftMargin): don't add an indent for paragraphs inside
9465         tabular cells (fix #208).
9466
9467 2002-02-21  José Matos  <jamatos@fep.up.pt>
9468
9469         * tabular.C (docBook): fixed support for long tables.
9470
9471 2002-02-20  Juergen Vigna  <jug@sad.it>
9472
9473         * text2.C (getFont): get the drawing font of the Inset if this
9474         paragraph is inside an inset (only important for InsetERT for now).
9475
9476         * buffer.C (insertErtContents): use new lanugage params in ERT
9477         constructor.
9478
9479         * CutAndPaste.C: commenting out seemingly uneeded code.
9480
9481 2002-02-19  Allan Rae  <rae@lyx.org>
9482
9483         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9484         Iterators might be simple to use but they also get invalidated.
9485         (removeAutoInsets): renamed saved cursor tracking variables and added
9486         some comments to clarify what everything does.
9487
9488 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9489
9490         * Chktex.C:
9491         * LaTeX.C:
9492         * LyXSendto.C:
9493         * converter.C:
9494         * lyx_cb.C:
9495         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9496         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9497
9498         * lyxfunc.C:
9499         * vc-backend.h: remove #include "support/syscall.h"
9500
9501         * LaTeX.C:
9502         * LyXSendto.C:
9503         * converter.C: rearrange #includes in Lars' approved fashion.
9504
9505         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9506         forward declare class Timeout in the header file.
9507
9508         * XFormsView.C: changes due to the above.
9509
9510         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9511         similar to LyXView.
9512
9513         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9514         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9515
9516 2002-02-18  José Matos  <jamatos@fep.up.pt>
9517
9518         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9519         insets contents.
9520
9521 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9522
9523         * a lot of small ws changes
9524         * add a lot of using std::XXX
9525         * use std construcs some places where approp.
9526         * use some exisint stuff from lyxfunctional where approp.
9527         * Make file changes to use partial linking (lets test this now...)
9528
9529 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9530
9531         * Chktex.C:
9532         * buffer.C:
9533         remove #include "support/syscontr.h" as it's redundant. Always has been.
9534
9535         * Chktex.C:
9536         * LaTeX.C:
9537         * LyXSendto.C:
9538         * converter.C:
9539         * lyx_cb.C:
9540         * vc-backend.C:
9541         change Systemcalls::System to Systemcalls::Wait and
9542         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9543         No change of functionality, just reflects the stripped down Systemcalls
9544         class.
9545
9546 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9547
9548         * debug.[Ch]: add a GRAPHICS type to the enum.
9549
9550 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9551
9552         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9553
9554         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9555         there is an inset.
9556
9557 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9558
9559         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9560         match the changes below.
9561
9562         * text2.C (toggleInset): if there is not editable inset at cursor
9563         position, try to see if cursor is _inside_ a collapsable inset
9564         and close it.
9565
9566 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9567
9568         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9569         document menu has a nice checkbox
9570
9571 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9572
9573         * lyxlength.C (asLatexString): change PW to output as percent of
9574         \textwidth.
9575
9576         * lengthcommon.C: change '%' to 't%'
9577
9578         * lyxfunc.C (dispatch): a few comments from Martin
9579
9580 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9581
9582         * WorkArea.h:
9583         * WorkArea.C:
9584         * BufferView_pimpl.h:
9585         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9586           the X selection.
9587
9588 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9589
9590         * vspace.C (inPixels): fix compiler warning
9591
9592 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9593
9594         * lyxfunc.C (getStatus): fix status message for disabled commands.
9595
9596 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9597
9598         * BufferView_pimpl.C: fix crash on close buffer
9599         during selection (#227)
9600
9601 2002-01-27  Herbert Voss  <voss@lyx.org>
9602
9603         * buffer.C: link old Figure to new graphic inset
9604
9605 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9606
9607         * FontLoader.C (getFontinfo): Change the latex font names in order
9608         to match the names of type1inst.
9609
9610 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9611
9612         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9613
9614         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9615         (extchanged): ditto
9616         (ext_exist): ditto
9617         (remove_files_with_extension): ditto
9618         (remove_file): ditto
9619         (write): ditto
9620
9621         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9622         document is smaller than the work area height. Do not initialize
9623         static variables to 0.
9624
9625 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9626
9627         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9628
9629         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9630         LFUN_LAYOUT_PARAGRAPHS.
9631
9632         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9633         tabular. It is possible to provide a possible cell, which will
9634         typically be the actcell from the corresponding insettabular
9635
9636         * lyxfunc.C (getStatus): small cleanup; disable
9637         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9638         true
9639
9640 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9641
9642         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9643
9644         * paragraph.C (startTeXParParams):
9645         (endTeXParParams): new methods. The LaTeX code to
9646         start/end paragraph formatting
9647         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9648         empty (fixes bug #200)
9649
9650         * vspace.C (inPixels): adapt to the change below
9651         (inPixels): [later] more cleanups (remove unused variables)
9652
9653         * lyxlength.C (inPixels): change to use a width and a height as
9654         parameter.
9655
9656 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9657
9658         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9659         Replaced with \paperwidth
9660
9661         * DepTable.C (insert): add std:: qualifier
9662
9663 2002-01-18  Allan Rae  <rae@lyx.org>
9664
9665         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9666         updated also?
9667
9668         * text.C (drawInset): Turned out I didn't know enough about how
9669         rebreaking worked.  This fixes most of the redraw problems.  I see
9670         an occasional cursor trail when a line is broken now and the cursor
9671         placement can seem out by a few pixels also after a rebreak.
9672
9673 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9674
9675         * buffer.C (parseSingleLyXformat2Token): update because minipage
9676         width is now a LyXLength
9677
9678         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9679
9680         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9681         math insets
9682
9683 2002-01-17  Juergen Vigna  <jug@sad.it>
9684
9685         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9686
9687         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9688         is set correctly and the inset is updated correctly.
9689
9690 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9691
9692         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9693         the beginning of the loop.
9694
9695 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9696
9697         * lyxrc.C: improve help for use_scalable_fonts
9698
9699 2002-01-17  Allan Rae  <rae@lyx.org>
9700
9701         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9702
9703 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9704
9705         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9706         make sure to set their inset_owner to the right value (bug #171)
9707
9708 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9709
9710         * DepTable.h
9711         * DepTable.C: Implement mtime checking to reduce time spent doing
9712         CRCs.
9713
9714 2002-01-16  Juergen Vigna  <jug@sad.it>
9715
9716         * tabular.C (GetAdditionalHeight): one of error fixed.
9717
9718         * lyxrc.C (output): small fix in writing use_pspell.
9719
9720 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9721
9722         * sp_base.h: #include LString.h
9723
9724 2002-01-16  Allan Rae  <rae@lyx.org>
9725
9726         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9727         Can someone check this please?
9728
9729         * text.C (drawInset): It was possible that p.row would be removed by
9730         breakAgainOneRow upsetting a few other settings.  There may be another
9731         small tweak possible by setting need_break_row = 0 when p.row has been
9732         removed but I don't know enough about the logic here.
9733
9734 2002-01-15  Allan Rae  <rae@lyx.org>
9735
9736         * text.C (insertChar): removed conditional truism.
9737
9738         * BufferView2.C (removeAutoInsets): More tweaks.
9739         cur_par_prev could be a stray pointer.  Check for trailing empty line
9740         in case last line was cur_par and only had an error inset on it.
9741
9742 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9743
9744         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9745         absolute
9746
9747         * vc-backend.C (most methods):
9748         * exporter.C (Export):
9749         * converter.C (convert):
9750         (runLaTeX):
9751         * LyXSendto.C (SendtoApplyCB):
9752         * lyxfunc.C (dispatch):
9753         (menuNew):
9754         (open):
9755         (doImport):
9756         * lyx_cb.C (AutoSave):
9757         (InsertAsciiFile):
9758         * BufferView_pimpl.C (MenuInsertLyXFile):
9759         * buffer.C (runChktex): use Buffer::filePath().
9760
9761         * buffer.h: rename filename to filename_; rename filepath to
9762         filepath_ and make it private
9763         (filePath): new method
9764
9765         * buffer.C (writeFile): use fileName()
9766         (getLatexName):
9767
9768         * lyx_main.C (init): fix starting  of LyX when the binary is a
9769         link from so,ewhere else.
9770
9771         * minibuffer.C: include <cctype> for isprint
9772
9773 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9774
9775         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9776         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9777         name clash with InsetCollapsable's width function.
9778
9779 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9780
9781         * lastfiles.C: include <iterator>
9782
9783 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9784
9785         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9786         std::count.
9787
9788         * buffer.C (makeLaTeXFile): ditto.
9789         Also make loop operation more transparent.
9790
9791 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9792
9793         * ToolbarDefaults.C: remove trailing comma closing namespace.
9794
9795         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9796
9797         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9798         as in WorkArea.
9799
9800         * trans.C (Load): comment out unused variable, allowed.
9801
9802 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9803
9804         * minibuffer.[Ch] (append_char): new method to recieve input from the
9805         drop-down completion browser. If a key was pressed, then recieve this
9806         char and append it to the existing string.
9807         (peek_event): modify the positioning data passed to the completion
9808         browser so that it can be placed above the minibuffer rather than below.
9809 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9810
9811         * LyXAction.C (init): alloe error-next for readonly documents.
9812
9813         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9814         count.
9815
9816 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9817
9818         * bufferlist.C (readFile): create the buffer _after_ checking that
9819         the file exists.
9820
9821         * lyxfunc.C (verboseDispatch): fix handling of arguments
9822
9823         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9824
9825         * lyxrc.C: use string::erase() instead of initializing to "".
9826
9827
9828 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9829
9830         * BufferView_pimpl.h:
9831         * BufferView_pimpl.C:
9832         * WorkArea.h:
9833         * WorkArea.C:
9834         * text2.C: tell X when we have made a selection for copying
9835
9836 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9837
9838         * BufferView_pimpl.C (MenuInsertLyXFile):
9839         * lyxfunc.C (menuNew):
9840         (open):
9841         (doImport): add shortcuts to directory buttons
9842
9843         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9844         open a float)
9845
9846         * lyxfunc.C (setStatusMessage):
9847         (getStatusMessage): new methods
9848         (getStatus):use setStatusMessage instead of setErrorMessage
9849         (dispatch): when function is disabled, set error message here
9850         [instead of in getStatus previously]
9851
9852         * BufferView_pimpl.C (workAreaButtonRelease): update
9853         toolbar/menubar here too.
9854
9855 2002-01-13  Allan Rae  <rae@lyx.org>
9856
9857         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9858         Now seems indestructible.  Remaining task is to audit all other
9859         code affected by deleteEmptyParagraphMechanism.  One small quirk
9860         left is that an empty document with an error in the preamble can
9861         be made to report an error but no error box appears.  I don't know
9862         where it goes.
9863         (removeAutoInsets): Improved comments.
9864
9865 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9866
9867         * Thesaurus.h:
9868         * Thesaurus.C: update for Aiksaurus 0.14
9869
9870 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9871
9872         * text2.C (firstParagraph): removed member function, all uses
9873         replaces with ownerParagraph
9874         (redoParagraphs): here
9875         (updateInset): here
9876         (toggleAppendix): here
9877         * BufferView2.C (insertErrors): here
9878         (setCursorFromRow): here
9879
9880 2002-01-13  Allan Rae  <rae@lyx.org>
9881
9882         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9883         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9884         There is still a way to segfault this although you may have to do this
9885         multiple times: Have an InsetERT with an unknown command in it.
9886         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9887         <down-arrow>, <Enter> again, View->DVI, BANG!
9888
9889         * text2.C (setCursor):
9890         (deleteEmptyParagraphMechanism):
9891         * lyxtext.h (setCursor):
9892         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9893         Making use of the return value may help fix other bugs.
9894
9895 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9896
9897         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9898
9899         * LyXView.C (updateMenubar): call MenuBar::update here
9900         (updateToolbar): but not here
9901         (showState): do not update toolbar/menubar
9902
9903         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9904         should need to care about that.
9905
9906         * lyxfunc.C (verboseDispatch): simplify a bit
9907         (getStatus): have a version which takes a pseudoaction, and
9908         another which requires a (kb_action,string).
9909
9910         * LyXAction.C (retrieveActionArg): make it work also when action
9911         is not a pseudo-action.
9912         (getActionName): simplify a bit
9913         (helpText):
9914
9915 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9916
9917         * lyxfunc.C (verboseDispatch): new families of methods with
9918         several ways to specify a command and a bool to indicate whether
9919         the command name and shortcut should be displayed in minibuffer
9920         (eventually, we could extend that to a finer bitmask like
9921         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9922         (dispatch): the pristine dispatch command which just, well,
9923         dispatchs! Note it still sets its result to minibuffer; I'm not
9924         sure we want that.
9925
9926         * lyxfunc.h: remove setHintMessage
9927
9928         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9929
9930 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9931
9932         * BufferView_pimpl.C (specialChar): delete new inset if we have
9933         not been able to insert it.
9934
9935         * kbmap.C: revert to using int instead of kb_action, since all we
9936         are dealing with is pseudo-actions.
9937
9938         * LyXAction.C (searchActionArg): change to return int instead of
9939         kb_action, since the result is a pseudoaction.
9940
9941 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9942
9943         * buffer.C (insertErtContents): Fix (partially) the font bug.
9944
9945 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9946
9947         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9948         as the other one is broken on my machine!
9949
9950 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9951
9952         * commandtags.h:
9953         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9954
9955 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9956
9957         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9958         reflect their actual use. Provide compatibility code for older lyxrc
9959         files.
9960
9961         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9962         FL_NORMAL_STYLE.
9963         change names of popup font variables in line with the changes to lyxrc.C
9964
9965 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9966
9967         * buffer.C (asciiParagraph): avoid outputing a word twice after
9968         an inset.
9969
9970         * lyxrc.C (getDescription): document that document_path and
9971         template_path can be empty.
9972
9973 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9974
9975         * LaTeXFeatures.C (getMacros):
9976         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9977
9978         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9979
9980         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9981         getPackages.
9982         (getPackages): rename feature "floats" to "float". Use an array to
9983         iterate over 'simple' features (i.e. just a \usepackage). Add
9984         handling of "amsmath" (renamed from "amsstyle").
9985
9986 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9987
9988         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9989         features list.
9990
9991 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9992
9993         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9994         FuncStaus::FuncStatus & FuncStaus::some_method().
9995
9996 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9997
9998         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9999         of the func_satus stuff. Edited and massaged in various ways by
10000         JMarc.
10001
10002         * lyxfunc.C (getStatus): use FuncStatus
10003
10004 2002-01-08  Juergen Vigna  <jug@sad.it>
10005
10006         * text.C (nextBreakPoint): use function Inset::isChar().
10007
10008         * paragraph.C (TeXOnePar): use function
10009         Inset::forceDefaultParagraphs.
10010
10011         * buffer.C (latexParagraphs): use function
10012         Inset::forceDefaultParagraphs.
10013
10014 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10015
10016         * lyx_gui.C (init): set the style of the menu popups to
10017         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10018
10019 2002-01-07  Juergen Vigna  <jug@sad.it>
10020
10021         * text.C (setHeightOfRow): small fix
10022         (prepareToPrint): don't look at alignment if we don't have the place
10023         for doing it.
10024
10025 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10026
10027         * box.C: New file. Move the Box methods and functions out of box.h,
10028         following Lars' suggestion.
10029
10030 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10031
10032         * box.h: #include "support/LOstream.h", needed for inlined function.
10033
10034         * lyxtextclass.C:
10035         * lyxtextclasslist.C: added some using std declarations.
10036
10037 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10038
10039         * box.h: make signed dimensions to allow insets wider than
10040           the screen (bug #162)
10041
10042         * BufferView_pimpl.C: add some insetHit debug
10043
10044 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10045
10046         * vc-backend.C: add FIXME
10047
10048 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10049
10050         * lyxfunc.C (getStatus): enable code for showing math font status
10051         in toolbar/menu.
10052
10053 2002-01-07  Juergen Vigna  <jug@sad.it>
10054
10055         * text.C (nextBreakPoint): removed debug output not needed anymore.
10056
10057 2002-01-06  Juergen Vigna  <jug@sad.it>
10058
10059         * text.C (nextBreakPoint): fixed up this function we had this bug
10060         since ever but now hopefully we break row better.
10061         (insertChar): we have to check if an inset is the next char as it
10062         could now happen that a large inset is causing a break.
10063
10064 2002-01-05  Juergen Vigna  <jug@sad.it>
10065
10066         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10067         if it doesn't like to be drawed.
10068
10069 2002-01-04  Juergen Vigna  <jug@sad.it>
10070
10071         * BufferView2.C (lockInset): forgot to set a cursor.
10072
10073         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10074
10075 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10076
10077         * FormMathsPanel.C:
10078         * FormMathsPanel.h
10079         * MathsSymbols.C:
10080         * form_maths_panel.C:
10081         * form_maths_panel.h:
10082         * form_maths_panel.fd: implemented sub- and super- buttons in math
10083         panel.
10084
10085         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10086         (or ^ space) to be used as in TeX (req'd by André).
10087
10088         * lyxfunc.C: Allow ^ and _ again to be used both as
10089         super/subscript (mathed) and as themselves (in text).
10090
10091 2002-01-03  Allan Rae  <rae@lyx.org>
10092
10093         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10094         "LyX" or the filename of the current buffer if it has one.  This is a
10095         modified form of John Levon's patch.
10096
10097         * XFormsView.C (setWindowTitle): also set icon title.
10098
10099         * LyXView.h (setWindowTitle): signature changed.
10100         * XFormsView.h (setWindowTitle): ditto.
10101
10102 2002-01-02  Juergen Vigna  <jug@sad.it>
10103
10104         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10105
10106 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10107
10108         * screen.C (topCursorVisible): introduce a temp var for
10109         text->cursor.row(), handle the case where this row is null. (kindo
10110         hachish)
10111
10112         * text2.C (setCursor): add a couple of asserts.
10113
10114         * paragraph.h (inset_iterator): add -> operator
10115
10116         * paragraph.[Ch] (autoDeleteInsets): remove member function
10117
10118         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10119         cursor pos correctly and handle inset deletion by itself.
10120         (insertErrors): move iterator declaration out of for expression
10121
10122         * lyxtextclass.C: add <algorithm>
10123
10124         * Makefile.am: added the new files to sources, removed layout.C
10125
10126         * layout.C: removed file
10127
10128         * layout.h: remove LYX_DUMMY_LAYOUT
10129
10130         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10131         layout.
10132
10133         * lyxlayout.[Ch]:
10134         * lyxtextclass.[Ch]:
10135         * lyxtextclasslist.[Ch]: new files
10136
10137         * include order changes to a lot of files, also changes because of
10138         the six new files.
10139
10140 2001-12-27  Juergen Vigna  <jug@sad.it>
10141
10142         * buffer.C (asciiParagraph): more fixes.
10143
10144         * tabular.C (ascii): make ascii export support export of only the
10145         data separated by a column-delimiter.
10146         (ascii): better support for ascii export.
10147
10148         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10149
10150 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10151
10152         * tabular_funcs.C: use a "using std::getline" instead of the
10153         previous fix from Angus (necessary for cxx + lyxstring)
10154
10155 2001-12-24  Juergen Vigna  <jug@sad.it>
10156
10157         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10158
10159         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10160         problems. First check a minipage also if we have some ert-contents
10161         (not only on par->size(), second set the right depth of the paragraph
10162         on the relink to the root-paragraph-list!
10163
10164         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10165         which then did not anymore update the main paragraphs on undo/redo!
10166
10167 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10168
10169         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10170         code. Support all font-changing funcs (even those which are not in
10171         menu currently). Support for reporting font settings in
10172         mathed (disabled until Andre provides a function on mathed's side).
10173
10174         * func_status.h (toggle): small helper function to set toggle
10175         state on a flag.
10176
10177 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10178
10179         * tabular_funcs.C: getline -> std::getline
10180
10181 2001-12-21  Juergen Vigna  <jug@sad.it>
10182
10183         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10184         accessed and could be 0 (I couldn't generate this but it seems
10185         Michael could!).
10186
10187 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10188
10189         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10190         * tabular_funcs.h: here and include iosfwd
10191
10192 2001-12-20  Juergen Vigna  <jug@sad.it>
10193
10194         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10195         inside inset but undo_par was.
10196
10197 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10198
10199         * Thesaurus.C: always include <config.h> in sources.
10200
10201         * Painter.h:
10202         * lyxlookup.h:
10203         * box.h: do not include <config.h> in header files
10204
10205         * text.C (paintLastRow): remove unused variable
10206
10207         * text.C (transformChar):
10208         (insertChar):
10209         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10210
10211         * Painter.C (text):
10212         * font.C (width): rewrite to use uppercase() instead of
10213         islower/toupper.
10214
10215         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10216
10217 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10218
10219         * lyxfind.C: clean up of find failure position change
10220
10221 2001-12-20  Juergen Vigna  <jug@sad.it>
10222
10223         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10224
10225         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10226         (TeXRow): added to LaTeX a single tabular row.
10227         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10228         (Latex): simplified and finally good LT-h/f support.
10229         (various_functions): just small adaptions for LT-h/f support.
10230
10231         * tabular_funcs.[hC]: added and moved here all not classfunctions
10232         of LyXTabular.
10233
10234 2001-12-19  Juergen Vigna  <jug@sad.it>
10235
10236         * tabular.[Ch]: better support for longtabular options (not finished
10237         yet!)
10238
10239 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10240
10241         * text.C (paintLastRow): use the label font instead of the font of
10242         the last character to compute the size of *_BOX. This makes more
10243         sense and avoids a crash with empty paragraphs.
10244         Use Painter::rectangle to draw EMPTY_BOX.
10245
10246 2001-12-19  Juergen Vigna  <jug@sad.it>
10247
10248         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10249         the paragraphs if the replaced paragraph is not the first one!
10250         Tried to delete not used paragraphs but does not work yet so for
10251         now it's inside #ifdef's and by default off!
10252
10253 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10254
10255         * MenuBackend.C: include "lyx_main.h" instead of declaring
10256         lastfiles (actually was declared as LastFiles* instead of a
10257         scoped_ptr).
10258
10259 2001-12-17  Juergen Vigna  <jug@sad.it>
10260
10261         * tabular.C (AppendColumn): applied John's fix
10262
10263 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10264
10265         * BufferView.h:
10266         * BufferView.C:
10267         * BufferView_pimpl.h:
10268         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10269
10270         * Makefile.am:
10271         * box.h: new start of class for above
10272
10273         * lyxfunc.C: ignore space-only minibuffer dispatches.
10274           Show the command name when it doesn't exist
10275
10276         * minibuffer.C: don't add empty lines to the history
10277
10278         * minibuffer.C: add a space on dropdown completion
10279
10280 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10281
10282         * text.C: fix line above/below drawing in insets
10283
10284 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10285
10286         * lyxlength.C (LyXLength): Initialize private variables.
10287
10288 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10289
10290         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10291         when inserting error insets.
10292
10293 2001-12-13  Juergen Vigna  <jug@sad.it>
10294
10295         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10296         actually sometimes the before-paragraph.
10297         (setUndo): don't clear the redostack if we're not actually undoing!
10298
10299 2001-12-06  Juergen Vigna  <jug@sad.it>
10300
10301         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10302         and fixed redoing of main paragraph, so we can use it now ;)
10303
10304         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10305
10306 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10307
10308         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10309         Juergen's request
10310
10311 2001-12-13  André Pönitz <poenitz@gmx.net>
10312
10313         * undostack.[Ch]:
10314         * undo_func.C: minor cleanup
10315
10316 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10317
10318         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10319         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10320         font in urw-fonts package which is marked as -urw-fontspecific and
10321         does not work (incidentally, changing the encoding in the
10322         fonts.dir of this package to -adobe-fontspecific fixes the
10323         problem).
10324
10325         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10326         is a crash when undoing first paragraph (Juergen, please take a
10327         look). THis does not mean the undo fix is wrong, just that it
10328         uncovers problems.
10329
10330         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10331         the (Paragraph*) version when needed instead of duplicating the
10332         code.
10333
10334         * text.C (workWidth): use Inset::parOwner to find out where the
10335         inset has been inserted. This is a huge performance gain for large
10336         documents with lots of insets. If Inset::parOwner is not set, fall
10337         back on the brute force method
10338
10339         * paragraph_pimpl.C (insertInset):
10340         * paragraph.C (Paragraph):
10341         (cutIntoMinibuffer): set parOwner of insets when
10342         inserting/removing them
10343
10344         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10345
10346 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10347
10348         * commandtags.h:
10349         * LyXAction.C:
10350         * lyx_main.C:
10351         * lyxfunc.C:
10352         * mathed/formulabase.C:
10353         * mathed/math_cursor.[Ch]:
10354         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10355
10356
10357 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10358
10359         * lyxlength.[Ch] (operator!=): new function
10360
10361 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10362
10363         * text.C (workWidth): use Inset::parOwner to find out where the
10364         inset has been inserted. This is a huge performance gain for large
10365         documents with lots of insets. If Inset::parOwner is not set, fall
10366         back on the brute force method
10367
10368         * paragraph_pimpl.C (insertInset):
10369         * paragraph.C (Paragraph):
10370         (cutIntoMinibuffer): set parOwner of insets when
10371         inserting/removing them
10372
10373         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10374
10375 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10376
10377         * tabular-old.C (getTokenValue):
10378         * tabular.C (getTokenValue):
10379         (write_attribute): new versions for LyXLength
10380         (everywhere): adjust the use of widths
10381
10382         * tabular.h: change the type of widths from string to LyXLength
10383
10384 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10385
10386         * paragraph.C: fixed missing line number count when exporting
10387         Environments to LaTeX file
10388
10389         * buffer.C: added informational message for checking line numbers.
10390
10391 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10392
10393         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10394         paragraph, do the 'double space' part, but not the 'empty
10395         paragraph' one.
10396
10397         * text.C (workWidth): small optimization
10398         (getLengthMarkerHeight): use minimal size for negative lengths.
10399
10400 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10401
10402         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10403
10404         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10405
10406 2001-12-11  André Pönitz <poenitz@gmx.net>
10407
10408         * FontLoader.C:
10409         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10410
10411 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10412
10413         * text2.C: keep selection on a setFont()
10414
10415 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10416
10417         * lyx_cb.C: another bv->text misuse, from insert label
10418
10419 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10420
10421         * kbsequence.h:
10422         * kbsequence.C: re-instate nmodifier mask
10423
10424 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10425
10426         * lyx_main.h: make lyxGUI private.
10427
10428 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10429
10430         * lyxfind.C: place the cursor correctly on failed search
10431
10432 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10433
10434         * text.C (getLengthMarkerHeight): for small heights, the arrows
10435         are not always on top/bottom of the text
10436         (drawLengthMarker): smaller arrows; take the left margin in
10437         account; draw also vfills.
10438         (paintFirstRow):
10439         (paintLastRow): remove special code for vfill and standard spaces,
10440         since everything is handled in drawLengthMarker now.
10441
10442 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10443
10444         * buffer.C (insertErtContents): try to handle font and language
10445         interaction a bit better.g
10446
10447         * ColorHandler.C (updateColor): change the hash to cover the whole
10448         LColor enum, ws cleanup
10449         (getGCLinepars): ditto
10450         (getGCLinepars): only lookup in the linecache once.
10451
10452 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10453
10454         * iterators.C (operator++): Make the iterator more robust
10455
10456         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10457         (John's patch)
10458         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10459
10460 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10461
10462         * lyxtext.h:
10463         * text.C: better added space drawing
10464
10465 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10466
10467         * LyXView.C:
10468         * BufferView2.C: fix layout combo update on inset unlock
10469
10470 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10471
10472         * Makefile.am: don't compile unused files
10473
10474 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10475
10476         * lyxfunc.C:
10477         * commandtags.h:
10478         * LyXAction.C: remove old LFUN_LAYOUTNO
10479
10480 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10481
10482         * paragraph_pimpl.h:
10483         * paragraph_pimpl.C: isTextAt() doesn't need font param
10484
10485 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10486
10487         * lyxlex.h:
10488         * lyxlex.C: little cleanup
10489
10490 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10491
10492         * BufferView_pimpl.C: fix insertAscii for insets
10493
10494 2001-12-05  Juergen Vigna  <jug@sad.it>
10495
10496         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10497         set the right font on the "multi" paragraph paste!
10498
10499 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10500
10501         * trans_decl.h:
10502         * trans_mgr.[Ch]:
10503         * trans.[Ch]:
10504         * lyxgluelength.C:
10505         * lyxlength.C: remove out-commented code.
10506
10507         * BufferView_pimpl:
10508         * CutAndPaste.C:
10509         * DepTable.C:
10510         * buffer.C:
10511         * chset.C:
10512         * lastfiles.C:
10513         * lyxlex.C:
10514         * lyxlex_pimpl.C:
10515         * lyxserver.C:
10516         * screen.C:
10517         * tabular-old.C:
10518         * tabular.C:
10519         * text.C:
10520         * trans_mgr.C:
10521         * vc-backend.C: change "while(" to "while ("
10522
10523         * lyxlength.[Ch]: add zero function to check if length is zero or
10524         not
10525         * lyxgluelength.C: use it
10526
10527 2001-12-05  Allan Rae  <rae@lyx.org>
10528
10529         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10530         Works for 2.95.3, from what I understand of Garst's reports this should
10531         work for other g++ versions.  We're screwed if the abs(int) definition
10532         changed between bugfix releases of gcc.
10533
10534 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10535
10536         * text.C: fix chapter label offset !
10537
10538 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10539
10540         * lyxtext.h:
10541         * text.C: fix hfill at end of line, clean up
10542
10543 2001-12-04  Juergen Vigna  <jug@sad.it>
10544
10545         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10546         that we force an update of the inset and it's owners if neccessary.
10547
10548 2001-12-03  Juergen Vigna  <jug@sad.it>
10549
10550         * text.C (rowLast): simplified code
10551
10552 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10553
10554         * lyxfunc.C: fix show options on timeout
10555
10556 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10557
10558         * screen.C (topCursorVisible): scroll half a page when the cursor
10559         reached top of bottom of screen
10560
10561 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10562
10563         * minibuffer.C: deactivate on loss of focus
10564
10565 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10566
10567         * vspace.[Ch] (operator!=): add operator.
10568
10569 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10570
10571         * BufferView_pimpl.C: refuse to open an inset when
10572         there's a selection.
10573
10574 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10575
10576         * BufferView_pimpl.C: allow to click on RHS of full row insets
10577
10578 2001-11-30  Juergen Vigna  <jug@sad.it>
10579
10580         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10581         insets for undo reasons.
10582
10583 2001-11-28  André Pönitz <poenitz@gmx.net>
10584
10585         * vspace.[Ch]: cosmetical changes
10586
10587 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10588
10589         * LyXAction.h:
10590         * LyXAction.C:
10591         * lyxfunc.h:
10592         * lyxfunc.C:
10593         * kbmap.h:
10594         * kbmap.C:
10595         * lyxrc.C:
10596         * kbsequence.h:
10597         * kbsequence.C: part re-write of old kb code
10598
10599         * Painter.C:
10600         * WorkArea.C: remove Lgb_bug_find_hack
10601
10602 2001-11-30  José Matos <jamatos@fep.up.pt>
10603
10604         * buffer.C (makeDocBookFile): add a comment to point a hack.
10605         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10606         Fixed a double write of labels.
10607
10608 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10609
10610         * LaTeX.C:
10611         * LaTeX.h Fixed bug in LaTeX class where it would not
10612         re-run latex if no depfiles were changed, but the .dvi was removed.
10613
10614 2001-11-28  André Pönitz <poenitz@gmx.net>
10615
10616         * all the files from the change on 2001/11/26:
10617         use lyx::layout_type instead of LyXTextClass::size_type
10618         use lyx::textclass_type instead of LyXTextClassList::size_type
10619
10620 2001-11-29  Juergen Vigna  <jug@sad.it>
10621
10622         * text.C: added support for paragraph::isFreeSpacing()
10623
10624         * buffer.C: same as above
10625
10626         * paragraph.h: inserted isFreeSpacing() function to enable
10627         FreeSpacing inside InsetERT.
10628
10629         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10630         of the paragraph's in the cut/copy buffer to 0!
10631
10632         * text2.C (removeRow): remove the assert as it can!
10633
10634         * lyxtext.h: added helper function firstRow returning firstrow and
10635         made firstrow private again.
10636
10637         * BufferView2.C (lockInset): don't relock if we're already locked!
10638
10639         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10640         the only paragraph.
10641         (removeRow): added Assert::(firstrow)
10642
10643         * debug.C: forgot to add INSETTEXT here.
10644
10645 2001-11-28  Juergen Vigna  <jug@sad.it>
10646
10647         * sp_spell.C (initialize): changed error text to more general
10648         spellchecker command use (not only ispell!)
10649
10650         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10651
10652         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10653
10654 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10655
10656         * vspace.C: initialise lyxgluelength on failure
10657
10658 2001-11-28  Allan Rae  <rae@lyx.org>
10659
10660         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10661         declaration & definition that looks like a function declaration.
10662
10663 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10664
10665         * BufferView2.C (copy):
10666         (copyEnvironment): do not clear the selection when doing a copy.
10667
10668         * text.C (paintFirstRow): compilation fix
10669
10670 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10671
10672         * tabular.C (Latex): correct line count when writing latex.
10673
10674 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10675
10676         * paragraph_pimpl.h:
10677         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10678           bug a bit
10679
10680 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10681
10682         * text.C:
10683         * LColor.h:
10684         * LColor.C: change vfillline->added_space
10685
10686         * text.C: add markers and text for added space
10687
10688         * vspace.C: fix comment
10689
10690 2001-11-28  André Pönitz <poenitz@gmx.net>
10691
10692         * paragraph.C: whitespace changes
10693         * all the other files from the change on 2001/11/26:
10694         change *::pos_type into lyx::pos_type
10695
10696 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10697
10698         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10699         language of the document when inserting error insets.
10700
10701 2001-11-26  André Pönitz <poenitz@gmx.net>
10702
10703         * BufferView_pimpl.[Ch]:
10704         *       CutAndPaste.C:
10705         * buffer.[Ch]:
10706         * lyxcursor.[Ch]:
10707         * lyxfind.C:
10708         * lyxfunc.C:
10709         * lyxrow.[Ch]:
10710         * paragraph.[Ch]:
10711         * paragraph_pimpl.[Ch]:
10712         * sp_spell.C:
10713         * text.C:
10714         * text2.C: reduce header dependencies, introduce type for positions
10715
10716 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10717
10718         * <various>: change to use Alert.h
10719
10720 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10721
10722         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10723         when encountering an unknown token.
10724         (readLyXformat2): Show an error message if there were unknown tokens.
10725
10726 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10727
10728         * BufferView2.C:
10729         * BufferView_pimpl.C:
10730         * buffer.C:
10731         * paragraph.h:
10732         * text.C:
10733         * text2.C: use par->isInset()
10734
10735 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10736
10737         * paragraph_pimpl.h:
10738         * paragraph_pimpl.C: cleanup
10739
10740 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10741
10742         * text2.C (removeRow):
10743         * text.C (setHeightOfRow): remove useless (and costly) call to
10744         getRow.
10745
10746 2001-11-20  Allan Rae  <rae@lyx.org>
10747
10748         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10749         Now need Inset*::checkInsertChar() to return true for appropriate
10750         cases so that the characters in the minibuffer will actually be
10751         inserted.
10752
10753 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10754
10755         * text.C: change the order of the includes.
10756         (workWidth): initialize it at once.
10757         (workWidth): make maxw unsigned
10758         (setHeightOfRow): remove unused variable (inset)
10759         (selectSelectedWord): remove unused variable (inset)
10760         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10761
10762 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10763
10764         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10765         server is not running.
10766         (openConnection):
10767         (closeConnection): add debug info when server is disabled.
10768
10769         * ColorHandler.C (getGCForeground): send debug message to GUI
10770         channel.
10771
10772         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10773
10774         * kbmap.C (bind): modify because return conventions of
10775         kb_sequence::parse have changed.
10776
10777         * kbsequence.C (parse): only ignore spaces and not any stupid
10778         control character. This avoids tests like s[i] <= ' ', which are
10779         guaranteed to fail with 8bit characters and signed chars.
10780         Change return code to string::npos when there have been no error
10781         (0 was a bad idea when error is at first character)
10782
10783 2001-11-14  José Matos  <jamatos@fep.up.pt>
10784
10785         * buffer.h:
10786         * buffer.C (simpleDocBookOnePar): removed unused argument.
10787
10788 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10789
10790         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10791         insets which are part of a word. Paragraph::isLetter takes care of
10792         that now. Use Paragraph::isInset to identify insets.
10793         (selectSelectedWord): do not test for hyphenation break.
10794
10795         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10796         that protected spaces are considered as spaces.
10797
10798         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10799         Inset::isLetter.
10800
10801 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10802
10803         * lyxserver.h:
10804         * lyxserver.C: fix it. and small cleanup.
10805
10806 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10807
10808         * BufferView_pimpl.C: use inline helpers
10809
10810         * LaTeXFeatures.h:
10811         * LaTeXFeatures.C: fix typos
10812
10813         * Spacing.h:
10814         * Spacing.C: move spacing_string into class
10815
10816         * ToolbarDefaults.C: move stuff into namespace anon
10817
10818         * layout.h: update enum
10819
10820         * lyxfunc.C: use better debug
10821
10822         * minibuffer.h: fix typo
10823
10824         * debug.h:
10825         * debug.C:
10826         * WorkArea.C: add and use Debug::WORKAREA
10827
10828         * lyxtext.h:
10829         * text.C:
10830         * text2.C: code re-organisation, inline helpers
10831
10832 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10833
10834         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10835         std::vector.empty().
10836
10837 2001-11-09  Allan Rae  <rae@lyx.org>
10838
10839         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10840         '\n's after tables.  Tabular and ERT inset work now makes this no
10841         longer necessary.
10842
10843 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10844
10845         * minibuffer.h:
10846         * minibuffer.C: fix crash, improve drop-down completion
10847
10848 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10849
10850         * lyxserver.h:
10851         * lyxserver.C: invalidate fd's when doing endPipe()
10852
10853 2001-11-08  José Matos  <jamatos@fep.up.pt>
10854
10855         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10856         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10857
10858         * paragraph.h:
10859         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10860
10861 2001-11-07  José Matos  <jamatos@fep.up.pt>
10862
10863         * buffer.h:
10864         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10865         const qualifier.
10866
10867         * buffer.C (sgmlOpenTag):
10868         * buffer.C (sgmlCloseTag): removed debug info.
10869
10870         * buffer.h (sgmlOpenTag):
10871         * buffer.h (sgmlCloseTag): made public.
10872
10873 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10874
10875         * buffer.C (saveParamsAsDefaults):
10876         * lyx_cb.C (MenuLayoutSave): remove
10877
10878         * LyXAction.C (init):
10879         * commandtags.h:
10880         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10881
10882 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10883
10884         * buffer.C (setPaperStuff): removed from here...
10885
10886         * bufferparams.C (setPaperStuff): ... and moved there.
10887
10888 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10889
10890         * minibuffer.h:
10891         * minibuffer.C:
10892         * XFormsView.C: add support for drop-down completion
10893
10894 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10895
10896         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10897         commands.
10898
10899 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10900
10901         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10902         disabled.
10903
10904 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10905
10906         * lyx_main.C: change ref to known bugs
10907
10908 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10909
10910         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10911         to work around older babel problems.
10912
10913 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10914
10915         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10916
10917 2001-10-24  Juergen Vigna  <jug@sad.it>
10918
10919         * tabular-old.C (ReadOld): below variable changes reflected.
10920
10921         * tabular.[Ch]: added ltType struct for longtable header/footer
10922         defines and changed all instances where they are used. Added
10923         future support for double top/bottom rows.
10924
10925 2001-10-24  José Matos  <jamatos@fep.up.pt>
10926
10927         * buffer.h (docbookHandleCaption):
10928         * buffer.C (docbookHandleCaption): removed unused function.
10929         (makeDocBookFile): moved docbook supported version to v4.1.
10930
10931 2001-10-24  José Matos  <jamatos@fep.up.pt>
10932
10933         * tabular.h:
10934         * tabular.C (docbookRow): new function to export docbook code of a row.
10935         (DocBook): now honors the longtable flags.
10936
10937 2001-10-23  José Matos  <jamatos@fep.up.pt>
10938
10939         * LaTeXFeatures.h:
10940         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10941         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10942
10943         * buffer.C (makeLinuxDocFile):
10944         (makeDocBookFile): reworked the preamble, more clean, and with
10945         support for lyx defined entities. Changed the document declaration
10946         to be more XML friendly.
10947
10948         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10949         if we need to output XML that should be done with a filter.
10950
10951 2001-10-22  Juergen Vigna  <jug@sad.it>
10952
10953         * sp_pspell.h (class PSpell): add alive function needed in the
10954         controller to see if the spellchecker could be started.
10955
10956 2001-10-22  Juergen Vigna  <jug@sad.it>
10957
10958         * buffer.C (insertStringAsLines): modify the font for inserting
10959         chars in certain conditions by calling checkInsertChar(font).
10960
10961 2001-10-19  Juergen Vigna  <jug@sad.it>
10962
10963         * text.C (workWidth): use getRow instead of wrong algorithm.
10964         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10965
10966 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10967
10968         * lyxserver.h:
10969         * lyxserver.C:
10970         * lyx_main.h:
10971         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10972
10973 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10974
10975         * text.C (workWidth): do not search for the exact row when
10976         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10977         optimization for big documents.
10978
10979 2001-10-18  Juergen Vigna  <jug@sad.it>
10980
10981         * text.C (workWidth): new function with added Inset * parameter.
10982
10983 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10984
10985         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10986
10987         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10988         change return type of getColumnNearX.
10989
10990
10991         * text.C (changeRegionCase): use uppercase/lowercase instead of
10992         toupper/tolower.
10993         (leftMargin):
10994         (rightMargin): simplify code by factoring out the uses of
10995         textclasslist.
10996         (labelFill):
10997         (numberOfHfills):
10998         (setHeightOfRow):
10999         (appendParagraph): use Paragraph::size_type
11000
11001 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11002
11003         * vspace.C (asLatexString): add a missing break
11004
11005 2001-10-15  Herbert Voss  <voss@perce.de>
11006
11007         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11008
11009 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11010
11011         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11012         is not available.
11013
11014 2001-10-10  André Pönitz <poenitz@gmx.net>
11015
11016         * lyxfunc.C: removed greek_kb_flag.
11017
11018 2001-10-10  Herbert Voss  <voss@perce.de>
11019
11020         * lyx_main.C: delete global string help_lyxdir.
11021
11022 2001-10-09  Herbert Voss  <voss@perce.de>
11023
11024         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11025
11026         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11027
11028         * lyx_main.C: added global string help_lyxdir.
11029
11030         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11031
11032 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11033
11034         * lyxrc.C (set_font_norm_type): support iso8859-4
11035
11036 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11037
11038         * LaTeX.C (deplog): add another regex for MikTeX
11039
11040 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11041
11042         * lyxrc.C (set_font_norm_type): support iso8859-3
11043
11044 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11045
11046         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11047
11048         * LaTeXFeatures.C: remove special case of french and index
11049
11050         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11051         before \begin{document}). This solves several incompatibilities.
11052
11053 2001-10-03  Garst Reese  <reese@isn.net>
11054
11055         * lyx_cb.C: change CheckTex error msg.
11056
11057 2001-10-03  José Matos  <jamatos@fep.up.pt>
11058
11059         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11060
11061 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11062
11063         * .cvsignore: update
11064
11065         * lyx_main.C (commandLineVersionInfo): use new style version info.
11066
11067         * buffer.C (writeFile):
11068         (makeLaTeXFile):
11069         (makeLinuxDocFile):
11070         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11071
11072         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11073
11074         * version.h: update to use stuff in version.C
11075
11076         * version.C.in: new file. Contains version information determined
11077         at compile time. This is a merging of version.h and
11078         version_info.h.in.
11079
11080 2001-10-03  Juergen Vigna  <jug@sad.it>
11081
11082         * BufferView_pimpl.C (update): don't change "dirty" status in
11083         updateInset call.
11084
11085 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11086
11087         * WorkArea.C (c-tor): re-position version string slightly.
11088
11089 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11090
11091         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11092         revert to previous code.
11093
11094         WorkArea.[Ch]: (show, destroySplash): methods removed.
11095
11096         WorkArea.C: rework code so that it's an amalgam of the codes before and
11097         after the splash screen was moved to WorkArea.
11098
11099 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11100
11101         * lyxrc.C (read):
11102         * vspace.C (inPixels):
11103         (lyx_advance):
11104         * kbmap.C (bind):
11105         * buffer.C (insertStringAsLines):
11106         (asciiParagraph): fix types to be large enough
11107
11108         * lyxlex_pimpl.h: change member status from short to int
11109
11110         * layout.h: fix type of endlabeltype
11111
11112         * kbmap.C (bind):
11113         * kbsequence.C (parse): change return type to string::size_type
11114
11115         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11116         variable
11117
11118         * Bullet.C (bulletSize):
11119         (bulletEntry): do not use short ints as parameters
11120
11121         * BufferView2.C (insertLyXFile): change a char to an int.
11122
11123         * WorkArea.C (WorkArea): remove unneeded floats in computation
11124
11125 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11126
11127         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11128
11129         * paragraph.C (asString): Do not ignore newline/hfill chars when
11130         copying to the clipboard.
11131
11132 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11133
11134         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11135         after a multi-line inset.
11136
11137 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11138
11139         * paragraph.C (validate): Set NeedLyXFootnoteCode
11140
11141 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11142
11143         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11144         and decrease-error to decrease.
11145
11146 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11147
11148         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11149         it more readable (should be equivalent)
11150
11151 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11152
11153         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11154
11155 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11156
11157         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11158         of a cursor (row, etc.) after a character has been deleted
11159         (deleteEmptyParagraphMechanism): call the method above on _all_
11160         cursors held by the LyXText when a double space has been
11161         detected/deleted.
11162
11163 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11164
11165         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11166         pixmap.
11167         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11168
11169         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11170         background. Use greyOut() and the new show() methods to toggle between
11171         the foreground and background. Add code to remove the splash after
11172         its initial showing.
11173
11174         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11175         (create_forms): no longer call Dialogs::showSplash.
11176
11177 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11178
11179         * .cvsignore: add version_info.h
11180
11181 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11182
11183         * version_info.h.in: new file
11184
11185         * Makefile.am: add version_info.h.in
11186
11187         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11188         version_info.h instead of VERSION_INFO
11189
11190 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11191
11192         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11193         The ERT inset now returns string().
11194
11195 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11196
11197         * lyxtext.h, text.C (selectNextWord): renamed as
11198         selectNextWordToSpellcheck.
11199
11200         * text.C (selectNextWordToSpellcheck): Modified to not select
11201         words inside an ERT inset.
11202
11203 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11204
11205         * lyx_cb.C (MenuLayoutSave): change a bit the question
11206
11207         * sp_base.h: include <sys/types.h>
11208
11209 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11210
11211         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11212
11213 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11214
11215         * several files: fix typos in user-visible strings
11216
11217 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11218
11219         * text2.C (pasteSelection): do not set the selection, since it
11220         will be cleared later. Actually, the intent was to fix the way the
11221         selection was set, but I figured rmoving the code was just as good.
11222
11223 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11224
11225         * FontLoader.C (available): Check if font is available without
11226         loading the font.
11227
11228 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11229
11230         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11231
11232 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11233
11234         * lyxrc.[Ch]: added display_graphics variable and associated code.
11235
11236 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11237
11238         * bufferparams.C (hasClassDefaults): new method. Returns true if
11239         the buffer parameters correspond to known class defaults
11240
11241 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11242
11243         * XFormsView.C (show): set minimum size to the main window.
11244
11245 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11246
11247         * text2.C (copySelection):
11248         (cutSelection):
11249         * lyxfind.C (LyXReplace):
11250         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11251         LyXText::selectionAsString.
11252
11253         * paragraph.C (asString): add "label" argument to the second form
11254
11255         * text2.C (selectionAsString): add "label" argument and pass it to
11256         Paragraph::asString.
11257
11258 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11259
11260         * lyx_main.C (commandLineHelp): remove version information
11261
11262 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11263
11264         * lyx_main.C: add -version commandline option
11265
11266 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11267
11268         * paragraph.h: make the optional constructor arg required instead.
11269         some modifications to other files because of this.
11270
11271         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11272
11273         * lyxserver.C (C_LyXComm_callback): make it static
11274
11275         * lyx_main.C (error_handler): make it static
11276
11277         * lyx_gui.C (LyX_XErrHandler): make it static
11278
11279         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11280
11281         * WorkArea.C: make the extern "C" methods static.
11282
11283         * Makefile.am (lyx_LDADD): simplify
11284
11285 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11286
11287         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11288         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11289
11290         * LyXAction.C (init):
11291         * lyxfunc.C (dispatch): associated code removal.
11292
11293 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11294
11295         * lyxfont.h (isSymbolFont): shut off warning
11296
11297         * text.C (setHeightOfRow):
11298         (getVisibleRow): fix crash with empty paragraphs which have a
11299         bottom line
11300
11301 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11302
11303         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11304         code.
11305
11306 2001-09-04  José Matos  <jamatos@fep.up.pt>
11307         * buffer.C
11308         * buffer.h
11309         * tabular.C (docbook): rename docBook method to docbook.
11310
11311 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11312
11313         * Makefile.am: add dependencies to main.o.
11314
11315 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11316
11317         * FontLoader.C (available): Return false if !lyxrc.use_gui
11318
11319 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11320
11321         * FontInfo.C (query):
11322         * converter.C (view):
11323         * importer.C (Import):
11324         * exporter.C (Export): Can not -> cannot.
11325
11326 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11327
11328         * BufferView_pimpl.C: allow to create index inset even if
11329           string is empty
11330
11331 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11332
11333         * buffer.C (getLists): replace boost::tie code with an explicit pair
11334         as boost::tie can break some compilers.
11335
11336         * iterators.h: Added a std:: declaration to the return type of
11337         ParIterator::size.
11338
11339 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11340
11341         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11342           case.
11343
11344 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11345
11346         * iterators.[Ch]: New files. Provide paragraph iterators.
11347
11348         * buffer.C (changeLanguage): Use paragraph iterators.
11349         (isMultiLingual): ditto
11350
11351         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11352
11353 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11354
11355         * FontLoader.C: Support for cmr font.
11356
11357 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11358
11359         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11360         (available): New method.
11361
11362         * FontInfo.C (getFontname): Use scalable fonts even when
11363         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11364         found.
11365
11366 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11367
11368         * converter.C (Formats::view): reverted! Incorrect fix.
11369
11370 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11371
11372         * converter.C (Formats::view): only output the -paper option
11373         if the dvi viewer is xdvi, thereby fixing bug #233429.
11374
11375 2001-08-23  Herbert Voss  <voss@perce>
11376
11377         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11378
11379 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11380
11381         * Spacing.h (Spacing): Set space to Default on in the default
11382         constructor.
11383
11384 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11385
11386         * vc-backend.h (RCS::versionString): add RCS to version
11387         (CVS::versionString): add CVS to version
11388
11389         * vc-backend.C (scanMaster): do not add CVS to version.
11390         (scanMaster): do not add RCS to version
11391
11392         * lyxvc.C (versionString): new method
11393
11394         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11395
11396 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11397
11398         * Spacing.C (set): initialize fval
11399
11400 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11401
11402         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11403         " or \.
11404
11405 2001-08-16  Juergen Vigna  <jug@sad.it>
11406
11407         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11408
11409 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11410
11411         * BufferView_pimpl.C:
11412         * figureForm.C:
11413         * lyxtext.h:
11414         * text2.C: setParagraph takes linespacing now
11415
11416 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11417
11418         * LyxAction.C: add internal LFUN_CITATION_INSERT
11419
11420         * LyXView.C: actually apply fix
11421
11422         * bufferlist.C: fix open non-existent file
11423
11424         * lyxfind.C: fix indentation
11425
11426         * lyxfunc.C: remove unneeded assert, fix typo
11427
11428 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11429
11430         * MenuBackend.C: use "Floatname List"
11431
11432 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11433
11434         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11435         when converting LaTeX layout to insetERT.
11436         Generate a non-collapsed float when reading old float
11437
11438 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11439
11440         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11441         ERT insets.
11442
11443 2001-08-13  Juergen Vigna  <jug@sad.it>
11444
11445         * text.C (fill): return 0 instead of 20 as this seems to be the more
11446         correct value.
11447
11448 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11449
11450         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11451         lyxrc.font_norm.
11452
11453 2001-08-13  Juergen Vigna  <jug@sad.it>
11454
11455         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11456         casesensitive off.
11457         (SearchBackward): comment out the unlocking of the inset_owner this
11458         should not be needed!
11459
11460 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11461
11462         * Many files: Remove inherit_language, and add latex_language
11463
11464         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11465         collapsible insets.
11466
11467 2001-08-10  Juergen Vigna  <jug@sad.it>
11468
11469         * text.C (prepareToPrint): fixed hfill-width in draw!
11470
11471         * BufferView2.C (selectLastWord): save the selection cursor as this
11472         now is cleared in the function LyXText::clearSelection!
11473
11474 2001-08-08  Juergen Vigna  <jug@sad.it>
11475
11476         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11477         BACKSPACE type functions.
11478
11479         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11480         is only cutted from the document but not put in the cut-buffer, where
11481         still the old stuff should be.
11482
11483         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11484
11485         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11486
11487         * tabular.C (SetWidthOfCell): fixed special case where the width
11488         was not updated!
11489         (LeftLine): handle '|' in align_special.
11490         (RightLine): ditto
11491         (LeftAlreadyDrawed): ditto
11492         (SetWidthOfCell): ditto
11493
11494 2001-08-07  Juergen Vigna  <jug@sad.it>
11495
11496         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11497
11498 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11499
11500         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11501         * lyxlex.[hC]: ditto
11502
11503 2001-08-06  Juergen Vigna  <jug@sad.it>
11504
11505         * text.C (getVisibleRow): fix up row clearing a bit.
11506
11507 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11508
11509         * minibuffer.C: make sure the X server sees the changes in the input.
11510
11511 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11512
11513         * paragraph.C (getFont): split into...
11514         (getLabelFont): this
11515         (getLayoutFont): and this
11516         * paragraph_pimpl.C (realizeFont): calling this
11517
11518         * text2.C (getFont): split into...
11519         (getLayoutFont): this
11520         (getLabelFont): and this
11521         (realizeFont): all three calling this
11522
11523         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11524         files where used.
11525
11526 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11527
11528         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11529
11530 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11531
11532         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11533         layouts from the Quote inset insertion.
11534
11535 2001-08-03  Juergen Vigna  <jug@sad.it>
11536
11537         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11538
11539         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11540         only if status not is already CHANGED_IN_DRAW (second level).
11541
11542         * text.C (draw): don't set the need_break_row when inside an
11543         InsetText LyXText.
11544
11545 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11546
11547         * buffer.C (parseSingleLyXformat2Token): handle more latex
11548         conversion cases.
11549
11550         * bufferview_funcs.[hC]: change function names to
11551         begin with small char, adjust other files.
11552
11553 2001-08-02  André Pönitz <poenitz@gmx.net>
11554
11555         * lyxfunc.C:
11556         BufferView_pimpl.C: remove broken special code for math-greek
11557
11558 2001-08-02  Juergen Vigna  <jug@sad.it>
11559
11560         * BufferView_pimpl.C (update): redone this function so that we
11561         update the text again if there was a CHANGE_IN_DRAW.
11562
11563         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11564         (drawFromTo): added a new internal bool which is used by draw() and
11565         redraw() function.
11566         (general): some cursor drawing problems fixed.
11567
11568 2001-08-01  Juergen Vigna  <jug@sad.it>
11569
11570         * lyxfind.C (LyXFind): fixed
11571         (SearchForward): ditto
11572         (SearchBackward): ditto
11573
11574         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11575         spurius drawing of the cursor in the main area.
11576
11577         * text2.C (status): small fix which could lead to a segfault!
11578         (clearSelection): remove unneeded BufferView param.
11579
11580 2001-08-01  André Pönitz <poenitz@gmx.net>
11581
11582         * lyxfunc.C: small change due to changed mathed interface
11583
11584 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11585
11586         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11587
11588 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11589
11590         * lyxfunc.c: fail gracefully if file doesn't exist
11591
11592         * LyXSendto.C:
11593         * buffer.C:
11594         * lyxfunc.C:
11595         * BufferView_pimpl.C: IsDirWriteable() proto changed
11596
11597         * LyXView.C: fix updateWindowTitle() to store the last title
11598
11599 2001-07-31  Juergen Vigna  <jug@sad.it>
11600
11601         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11602         the font (wrong since using of Paragraph::highestFontInRange).
11603
11604         * paragraph.C (highestFontInRange): added a default_size parameter.
11605
11606         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11607         (setHeightOfRow): reformat
11608
11609 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11610
11611         * converter.[hC] + affected files: move to (inital-char)lowercase
11612         function names.
11613
11614         * ParagraphParameters.C (ParagraphParameters): remove commented code
11615
11616         * PainterBase.[Ch]: remove commented code
11617
11618         * LaTeXFeatures.h: add "bool floats" for float.sty
11619
11620         * LaTeXFeatures.C (LaTeXFeatures): init floats
11621         (require): handle float
11622         (getPackages): do it with floats
11623
11624 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11625
11626         * BufferView_pimpl.C (Dispatch): improve handling of
11627         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11628
11629         * commandtags.h: #include lyxfont.h here temporarily to avoid
11630         keybinding bug.
11631
11632         * bufferlist.h: include LString.h here.
11633
11634 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11635
11636         * text2.C (getStringToIndex): new method.
11637
11638 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11639
11640         * *: Reduced header file dependencies all over.
11641
11642 2001-07-30  Baruch Even  <baruch@lyx.org>
11643
11644         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11645
11646 2001-07-29  Baruch Even  <baruch@lyx.org>
11647
11648         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11649
11650 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11651
11652         * ParameterStruct.h (endif): add a default constructor to make
11653         sure that all variables is initialized.
11654
11655         * ParagraphParameters.C (ParagraphParameters): adjust
11656
11657 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11658
11659         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11660         index; also, check that there is something to index, and that it
11661         does not span over several paragraphs.
11662         (doubleClick): use WHOLE_WORD_STRICT for double click.
11663
11664         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11665
11666         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11667         scheme.
11668
11669 2001-07-26  Baruch Even  <baruch@lyx.org>
11670
11671         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11672         an InsetFig figure, backwards compatible reading of old figure code.
11673
11674 2001-07-27  Juergen Vigna  <jug@sad.it>
11675
11676         * text2.C: font.realize function adaption.
11677
11678         * text.C (draw): add a warnings lyxerr text if needed.
11679
11680         * layout.C: font.realize function adaption.
11681
11682         * language.C: add inherit_language and implement it's handlings
11683
11684         * bufferview_funcs.C (StyleReset): remove language parameter from
11685         font creation (should be language_inherit now).
11686
11687         * bufferparams.C (writeFile): handle ignore_language.
11688
11689         * paragraph.C (getFontSettings): the language has to be resolved
11690         otherwise we have problems in LyXFont!
11691
11692         * lyxfont.C (lyxWriteChanges): added document_language parameter
11693         (update): removed unneeded language parameter
11694
11695         * paragraph.C (validate): fixed wrong output of color-package when
11696         using interface colors for certain fonts in certain environments,
11697         which should not seen as that on the final output.
11698
11699 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11700
11701         * BufferView_pimpl.C:
11702         * Thesaurus.h:
11703         * Thesaurus.C:
11704         * Makefile.am:
11705         * commandtags.h:
11706         * LyXAction.C: add thesaurus support
11707
11708         * lyxfind.h:
11709         * lyxfind.C: add "once" parameter, for thesaurus, to not
11710           move to the next match
11711
11712 2001-07-26  Juergen Vigna  <jug@sad.it>
11713
11714         * lyxfont.C (realize): honor ignore_language too!
11715         (resolved): ditto.
11716
11717         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11718
11719         * text.C (draw): one place more for ignore_language to not draw
11720         itself!
11721
11722 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11723
11724         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11725
11726 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11727
11728         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11729         the minipage conversion problem.
11730
11731 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11732
11733         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11734         insert an inset.
11735
11736 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11737
11738         * BufferView.h: don't forward declare WorkArea
11739
11740         * BufferView.C: don't include WorkArea.h
11741
11742 2001-07-25  André Pönitz <poenitz@gmx.net>
11743
11744         * commandtags.h:
11745         * LyXAction.C:
11746         * lyxfunc.C:  new LFUN 'math-space'
11747
11748         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11749
11750 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11751
11752         * text2.C (toggleInset): call open/close
11753
11754 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11755
11756         * lyxfunc.C (dispatch): add debug for the disabled case
11757
11758         * font.C (buttonText): make similar to rectText
11759
11760         * buffer.C (readInset): comment out parsing of insetlist and
11761         insttheorem
11762
11763         * PainterBase.C (rectText): small correction
11764
11765         * BufferView_pimpl.C: comment out insettheorem and insetlist
11766         * LyXAction.C: ditto
11767         * commandtags.h: ditto
11768
11769 2001-07-24  Juergen Vigna  <jug@sad.it>
11770
11771         * text.C (draw): honor the ignore_language.
11772
11773         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11774
11775 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11776
11777         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11778         char inset.
11779
11780 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11781
11782         * lyxtext.h: remove unused (and unimplemented) methods
11783
11784 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11785
11786         * text.C (getVisibleRow): honor background color
11787
11788         * PainterBase.h:
11789         * Painter.h: remove default color argument for fillRectangle
11790
11791         * text.C (backgroundColor): new method
11792
11793 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11794
11795         * text.C (getVisibleRow): adjust
11796
11797         * font.[Ch] (rectText): new method, metrics
11798         (buttonText): new method, metrics
11799
11800         * PainterBase.[hC]: make rectText and buttonText always draw and take
11801         fewer paramteres.
11802
11803 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11804
11805         * ToolbarDefaults.C (read):
11806         * MenuBackend.C (read): allow escaping in all strings
11807
11808         * BufferView_pimpl.C (insertAndEditInset): new method.
11809         (Dispatch): use insertAndEditInset whenever appropriate.
11810
11811         * BufferView_pimpl.C (insertNote): removed
11812
11813         * BufferView_pimpl.C (smartQuote): new method, moved from
11814         BufferView; if an insetquote cannot be inserted, insert a '"'
11815         character instead.
11816
11817         * BufferView2.C: remove insertCorrectQuote();
11818
11819         * lyxfunc.C (getStatus): Add support for all remaingin
11820         inset-insert lfuns.
11821
11822         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11823
11824         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11825         command (necessary to pass " as parameter of self-insert.
11826
11827         * text.C (selectWordWhenUnderCursor):
11828         (selectWord): add word_location parameter
11829         (selectWordWhenUnderCursor): same + remove special code for word
11830         boundary.
11831         (selectNextWord): use kind() to guess type of insetspecialchar,
11832         not latex().
11833
11834         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11835         (insertErtContents): create ert insets as collapsed.
11836         (readInset): better compatibility code for Info inset.
11837
11838 2001-07-20  Juergen Vigna  <jug@sad.it>
11839
11840         * lyxfunc.C (dispatch): use always LyXFind now!
11841
11842         * text2.C (init): add a reinit flag so that the LyXText can be
11843         reinited instead of deleted and reallocated (used in InsetText).
11844
11845         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11846
11847         * text.C: ditto
11848
11849         * text2.C: ditto
11850
11851 2001-07-18  Juergen Vigna  <jug@sad.it>
11852
11853         * text.C (selectNextWord): handle insets inside inset by calling
11854         always the bv->text functions so that we can go up the_locking_inset!
11855
11856         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11857         in strange locations when inside an inset!
11858
11859         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11860         handling to include insets.
11861
11862         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11863
11864 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11865
11866         * LyXAction.C (init):
11867         * commandtags.h:
11868         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11869         LIGATURE_BREAK, since the name is so stupid.
11870
11871 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11872
11873         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11874         InsetInfos.
11875
11876         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11877
11878         * sp_form.[Ch]: remove.
11879
11880         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11881
11882         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11883         InsetInfo.
11884
11885         * src/buffer.C (readInset): ditto.
11886
11887 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11888
11889         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11890         menuSeparator(), endOfSentenceDot(), ldots() and
11891         hyphenationPoint(), which are therefore removed.
11892         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11893
11894         * LyXAction.C (init):
11895         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11896
11897         * paragraph.C (getWord): removed.
11898
11899         * BufferView_pimpl.C (Dispatch): use last word or selection for
11900         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11901
11902         * lyx_main.C (queryUserLyXDir): do not ask before creating
11903         user_dir, except if it has been named explicitely.
11904
11905 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11906
11907         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11908         a document of zero size.
11909
11910 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11911
11912         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11913         approriately in the c-tor and in require().
11914         (getPackages): output the appropriate LaTeX for natbib support.
11915
11916         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11917         variables "use_natbib" and "use_numerical_citations" when reading the
11918         LyX file.
11919         (readInset): read the various natbib cite commands.
11920         (validate): white-space change.
11921
11922         * bufferparams.[Ch]: new variables "bool use_natbib" and
11923         "bool use_numerical_citations".
11924         (writeFile): output them in the LyX file.
11925
11926 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11927
11928         * lyxfunc.C (getStatus): add support for all the inset insertion
11929         commands.
11930
11931         * text2.C (insertInset):
11932         * paragraph.C (insetAllowed):
11933         * BufferView_pimpl.C (insertInset): update to take in account the
11934         renaming of insertInsetAllowed
11935
11936         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11937
11938         * text2.C (getInset): new method. returns inset at cursor position.
11939
11940         * BufferView_pimpl.C (Dispatch): changes because of this.
11941
11942         * LyXAction.C (init): rename open-stuff to inset-toggle.
11943
11944         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11945
11946         * text2.C (toggleInset): renamed from openStuff; use
11947         Inset::open().
11948
11949 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11950
11951         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11952
11953         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11954
11955 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11956
11957         * buffer.C (readLyXformat2): Add filename to the error dialog
11958
11959 2001-07-18  Juergen Vigna  <jug@sad.it>
11960
11961         * tabular.C (GetCellNumber): put an assert here instead of the check!
11962
11963 2001-07-17  Juergen Vigna  <jug@sad.it>
11964
11965         * BufferView_pimpl.C (toggleSelection): adapted too.
11966
11967         * text.C (selectNextWord): adapted for use with insets.
11968         (selectSelectedWord): ditto
11969
11970 2001-07-17  Juergen Vigna  <jug@sad.it>
11971
11972         * sp_spell.C (PSpell): fix initialitation order.
11973
11974 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11975
11976         * paragraph.C: spacing
11977
11978 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11979
11980         * sp_spell.C: repair language selection for pspell
11981
11982 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11983
11984         * lyxfunc.h: change more methods to begin with lower char.
11985
11986 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11987
11988         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11989         for unknown layouts.
11990
11991 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11992
11993         * buffer.C (readLyXformat2): Generate an error dialog if there are
11994         unknown layouts.
11995
11996 2001-07-16  Juergen Vigna  <jug@sad.it>
11997
11998         * sp_spell.C: always compile ISpell part.
11999
12000         * lyxrc.C: added use_pspell entry and it's handling.
12001
12002 2001-07-13  Juergen Vigna  <jug@sad.it>
12003
12004         * sp_spell.C: removed double includes.
12005
12006 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12007
12008         Consistent use of Lsstream.h:
12009         * Lsstream.h: added using std::stringstream for consistencies sake.
12010
12011         * buffer.C: removed using std::stringstream
12012
12013         * lyxfont.C (stateText):
12014         * paragraph.C (asString):
12015         * text.C (selectNextWord, selectSelectedWord):
12016         * text2.C (setCounter):
12017         * vspace.C (asString, asLatexString):
12018         std::ostringstream -> ostringstream.
12019
12020 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12021
12022         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12023         * commandtags.h: add LFUN_HELP_ABOUTLYX
12024         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12025
12026 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12027
12028         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12029         cursorToggle()
12030         * lyx_gui_misc.C: remove spellchecker
12031         * lyxfunc.C: showSpellchecker
12032         * sp_base.h: added
12033         * sp_ispell.h: added
12034         * sp_pspell.h: added
12035         * sp_spell.C: added
12036         * sp_form.[Ch]: removed
12037         * spellchecker.[Ch]: removed
12038
12039 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12040
12041         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12042         is set.
12043         (simpleTeXSpecialChars): Simply print the input character without
12044         any special translation if pass_thru is set.
12045
12046         * layout.h: Added bool pass_thru to layout class for being able to
12047         implement pass through of a paragraph for Literate Programming.
12048
12049         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12050         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12051         * layout.C (Read): add "passthru" to list of layout tags and add
12052         code to set the pass_thru boolean when it is read.
12053
12054 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12055
12056         * trans_decl.h: remove allowed from KmodInfo
12057
12058         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12059         remove allowed code
12060         (Load): adjust
12061
12062         * paragraph_pimpl.C (erase): use boost::prior
12063
12064         * Painter.C (text): use data() instead of c_str() when length is
12065         also provided.
12066         * WorkArea.C (putClipboard): ditto
12067         * font.h (width): ditto
12068
12069         * BufferView2.C: use it-> instead of (*it). for iterators
12070         * texrow.C: ditto
12071         * paragraph_pimpl.C: ditto
12072         * paragraph.C: ditto
12073         * minibuffer.C: ditto
12074         * language.C: ditto
12075         * kbmap.C: ditto
12076         * encoding.C: ditto
12077         * counters.C: ditto
12078         * converter.C: ditto
12079         * chset.C: ditto
12080         * Variables.C: ditto
12081         * TextCache.C: ditto
12082         * MenuBackend.C: ditto
12083         * LyXAction.C: ditto
12084         * LColor.C: ditto
12085         * FloatList.C: ditto
12086         * DepTable.C: ditto
12087         * ColorHandler.C (LyXColorHandler): ditto
12088
12089 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12090
12091         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12092
12093         * text2.C (openStuff): reintroduce this method (which had been
12094         nuked in NEW_INSETS frenzy).
12095
12096         * lyxfunc.C (Dispatch): when an action has not been handled, use
12097         its name in the error message, not its number.
12098
12099         * paragraph.C (inInset): change method name to begin with lowercase.
12100
12101         * undo_funcs.C:
12102         * text2.C: updates because of this.
12103
12104 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12105
12106         * ToolbarDefaults.C (add): add spaces in error message
12107
12108 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12109
12110         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12111         (readLyXformat2): rename return_par to first_par, use lyxlex's
12112         pushToken and remove the manual push handling.
12113         (parseSingleLyXformat2Token): add another ert comp. variable:
12114         in_tabular, rename return_par to first_par. handle newlines better
12115
12116 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12117
12118         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12119
12120 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12121
12122         * text2.C (getParFromID): removed
12123
12124         * buffer.C (getParFromID): new method moved form lyxtext.
12125         * BufferView2.C (insertErrors): adjust
12126         (setCursorFromRow): adjust
12127         * BufferView_pimpl.C (restorePosition): adjust
12128         * lyxfunc.C (Dispatch): adjust
12129         * undo_funcs.C (textUndo): adjust
12130         (textRedo): adjust
12131         (textHandleUndo): adjust
12132         (textHandleUndo): adjust
12133
12134 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12135
12136         * buffer.C: up' the LYX_FORMAT
12137
12138         * lyxfont.h: turn NO_LATEX on as default
12139
12140         * buffer.C (insertErtContents): new methods of tex style compability.
12141         (parseSingleLyXformat2Token): use it several places.
12142         * tabular.C (OldFormatRead): and here
12143
12144 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12145
12146         * text2.C: remove some commented code.
12147         reindent file.
12148
12149         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12150         * trans.C: changes because of the above.
12151
12152 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12153
12154         * text2.C (setCounter): Fix counters bug with bibliography layout.
12155
12156 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12157
12158         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12159         own member functions
12160         (simpleTeXSpecialChars): ditto
12161
12162 2001-07-06  Juergen Vigna  <jug@sad.it>
12163
12164         * a lot of files: changed the access to LyXText::status and the
12165         call of undo-functions.
12166
12167         * undo.[Ch]: added a inset_id to the undo informations.
12168
12169         * undo_funcs.[Ch]: added and moved here all undo functions.
12170
12171         * lyxtext.h: give the status enum a weight, made status_ a private
12172         variable and made accessor functions for it, removed the whole bunch
12173         of undo-functions as they are now in their own file, make some
12174         functions publically available. Added function ownerParagraph with
12175         int parameter.
12176
12177         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12178         made InInset() a const function, added getParFromID() function.
12179
12180         * buffer.[Ch]: added const version for inset_iterator functions,
12181         added getInsetFromID() function.
12182
12183         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12184         changed undo functions for new version.
12185
12186 2001-07-05  Juergen Vigna  <jug@sad.it>
12187
12188         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12189         unknow mechanism does not call the proper constructor but only this
12190         one also if I request the other!?
12191
12192 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12193
12194         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12195
12196         * text2.C (LyXText): use initialization lists.
12197
12198         * lyxtext.h (Selection): initialize set_ and mark_
12199         (init): remove method
12200
12201 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12202
12203         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12204
12205 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12206
12207         * screen.[Ch]: change method names to begin with lowercase
12208
12209         * BufferView_pimpl.C (updateScrollbar): simplify further and
12210         hopefully make it a bit faster.
12211
12212 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12213
12214         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12215         calling directly xforms functions.
12216
12217         * Painter.C (Painter):
12218         * lyx_cb.C (MenuWrite):
12219         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12220         fl_display.
12221
12222         * lyx_gui.C: remove bogus guiruntime extern declaration.
12223
12224 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12225
12226         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12227         in NEW_INSETS
12228         (redoDrawingOfParagraph): ditto
12229         (redoParagraphs): ditto
12230         (cutSelection): don't create a object for CutAndPaste use the
12231         static method directly
12232         (pasteSelection): ditto
12233
12234         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12235         LyXview (+ rename)
12236
12237 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12238
12239         * modifications to some other files because of this.
12240
12241         * Makefile.am (lyx_SOURCES): add XFormsView
12242
12243         * XFormsView.[Ch]: new files
12244
12245         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12246         the main window. Move the gui dependent stuff to XFormsView
12247
12248 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12249
12250         * tabular.C (GetCellInset): update cur_cell also in the row/col
12251         version of this function.
12252
12253         * lyxfunc.C: no need to include figure_form.h here.
12254
12255         * FontLoader.h:
12256         * lyxfunc.h:
12257         * lyxscreen.h:
12258         * text2.C:
12259         * lyxvc.C: no need to include forms.h here.
12260
12261 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12262
12263         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12264
12265         * lyxfunc.C (Dispatch):
12266         * Spacing.C (set):
12267         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12268         constructor argument.
12269
12270 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12271
12272         * paragraph.C (Paragraph): dont't clear, and just set layout.
12273         (makeSameLayout): use params's copy contructor.
12274
12275         * ParagraphParameters.[Ch] (makeSame): delete method
12276
12277 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12278
12279         * Variables.[Ch]: fix indentation, rename set to isSet
12280
12281 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12282
12283         * lyxfunc.C (Dispatch): fix typo
12284
12285 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12286
12287         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12288         upper_bound.
12289
12290         * bufferlist.C: include assert.h for emergencyWrite().
12291
12292 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12293
12294         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12295           give up at last (bug #425202) !
12296
12297 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12298
12299         * lyx_gui_misc.C:
12300         * sp_form.h:
12301         * sp_form.C:
12302         * spellchecker.h:
12303         * spellchecker.C: strip spellchecker options and bring up
12304           preferences tab instead
12305
12306 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12307
12308         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12309         the istringstream constructor
12310
12311 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12312
12313         * paragraph.C (getLayout): fix return value
12314
12315         * paragraph.h: do not declare getLayout as inline.
12316
12317         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12318
12319 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12320
12321         * lyxcursor.h (operator<): new func
12322         (operator>): new func
12323         (operator>=): new func
12324         (operator<=): new func
12325
12326         * text.C (changeCase): use selection.start and selection.end
12327         (changeRegionCase): require from to be <= to. Require par to be a
12328         valid paragraph.
12329
12330         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12331
12332 2001-06-27  Juergen Vigna  <jug@sad.it>
12333
12334         * text.C (cursorLeftOneWord): changed to return the cursor and added
12335         overlay with BufferView * parameter which calls this one.
12336         (getWord): added
12337         (selectWord): use new getWord function.
12338         (changeCase): renamed from changeWordCase as and extended to work
12339         also on selections.
12340
12341         * lyxtext.h: added enum word_location
12342
12343         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12344         changeCase as this operates now also on selections.
12345
12346 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12347
12348         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12349
12350         * many files: send debug output to Debug::INFO instead of
12351         Debug::ANY.
12352
12353         * converter.C (View):
12354         (Convert):
12355         (Move): send debug output to Debug::FILES instead of console.
12356
12357 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12358
12359         * lyxfunc.C (getStatus): use func_status
12360
12361         * func_status.h: new header, describing the results of
12362         LyXFunc::getStatus;
12363
12364         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12365         LFUN_MATH_HALIGN.
12366
12367 2001-06-25  The LyX Project  <jug@sad.it>
12368
12369         * buffer.C (sgmlOpenTag):
12370         (sgmlCloseTag):
12371         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12372
12373 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12374
12375         * text2.C: remove some dead code
12376
12377         * tabular.C (GetCellInset): store the last cell checked (gotten)
12378
12379         * tabular.h: add the helper for the speedup
12380
12381         * lyxtext.h: remove some dead code
12382
12383 2001-06-26  The LyX Project  <Asger>
12384
12385         * paragraph.C: Change export to LaTeX of alignment to
12386         \begin{center} and family for better roundtrip work with reLyX.
12387
12388         * Tune the math drawing a bit.
12389
12390 2001-06-25  The LyX Project  <Asger>
12391
12392         * LColor.C (LColor): New color for math background. New color
12393         for buttons.
12394
12395 2001-06-25  The LyX Project  <jug@sad.it>
12396
12397         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12398
12399         * lyxfunc.C (Open):
12400         * bufferlist.C (newFile): do not restrict to files ending with
12401         .lyx
12402
12403         * BufferView_pimpl.C (MenuInsertLyXFile):
12404
12405 2001-06-24  The LyX Project  <jug@sad.it>
12406
12407         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12408         of compare_no_case
12409
12410 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12411
12412         * lyxtext.h: rename most methods to begin with a small char.
12413         Lots of changes because of this.
12414
12415         * paragraph.C (Paragraph): do not call fitToSize
12416         (erase): call Pimpl::erase
12417         (insertChar): call Pimpl::insertChar
12418         (insertInset): call Pipl::insertInset
12419         (breakParagraph): do not call fitToSize
12420         (breakParagraphConservative): do not call fitToSize
12421         (fitToSize): remove method
12422
12423         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12424
12425 2001-06-24  The LyX Project  <Asger>
12426
12427         * Fix Qt compilation^2
12428
12429 2001-06-24  The LyX Project  <jug@sad.it>
12430
12431         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12432         depthHook(getDepth()-1).
12433
12434         * paragraph.h:
12435         * ParagraphParameters.h:
12436         * ParameterStruct.h: change type of depth to unsigned int ==
12437         depth_type. Many adaptations to other files before of that.
12438
12439 2001-06-24  The LyX Project  <Asger>
12440
12441         * Fix Qt compilation.
12442
12443 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12444
12445         * paragraph.h: renamed several methods to begin with small letter.
12446         several changes to many parts of the code because of this.
12447
12448 2001-06-23  The LyX Project  <jug@sad.it>
12449
12450         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12451         rewritten to discard all double spaces when KeepEmpty is off
12452         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12453         to only handle newlines but not fiddle with spaces and friends.
12454
12455         * lyxfunc.C (MenuNew): when doing 'new from template', use
12456         template_path as default directory
12457
12458 2001-06-23  The LyX Project  <Asger>
12459
12460         * Clean-up of header file includes all over
12461         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12462
12463 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12464
12465         * paragraph.h: renamed from lyxparagraph.h
12466
12467 2001-06-23  Asger  <lyx@violet.home.sad.it>
12468
12469         * Buffer.h: Removed Buffer::resize
12470         * BufferList.h: Removed BufferList::resize
12471         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12472         the document lazily when we change the width, or the font settings.
12473
12474 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12475
12476         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12477
12478 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12479
12480         * buffer.h: remove out of date comment
12481
12482 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12483
12484         * lyxscreen.h:
12485         * screen.C: fix "theoretical" GC leak
12486
12487 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12488
12489         * LaTeX.C (scanAuxFile):
12490         (deplog): remove trailing \r when reading stream (useful under
12491         win32)
12492
12493 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12494
12495         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12496         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12497         and BufferView::theLockingInset(Inset*), so should use them and not
12498         access bv_->text->the_locking_inset directly.
12499
12500         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12501
12502 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12503
12504         * Makefile.am:
12505         * tex-defs.h: remove old unused file
12506
12507 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12508
12509         * BufferView_pimpl.C: fix typo, remove minibuffer message
12510           when buffer has loaded
12511
12512 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12513
12514         * lyxfunc.C (Dispatch): use stringstream
12515         (MenuNew): use stringstream
12516         (Open): use stringstream
12517
12518         * importer.C (Import): use stringstream
12519
12520         * bufferview_funcs.C (CurrentState): use stringstream
12521
12522         * LaTeX.C (run): use stringstream
12523
12524         * BufferView_pimpl.C (savePosition): use stringstream
12525         (restorePosition): use stringstream
12526         (MenuInsertLyXFile): use stringstream
12527
12528 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12529
12530         * BufferView.C:
12531         * Bullet.C:
12532         * ColorHandler.C:
12533         * FontInfo.C:
12534         * FontLoader.C:
12535         * LColor.C:
12536         * LaTeXFeatures.C:
12537         * Painter.C:
12538         * gettext.C:
12539         * lyx_gui_misc.C:
12540         * lyxserver.C:
12541         * vspace.C: removed // -*- C++ -*- as first line.
12542
12543         * lyxfind.h:
12544         * version.h: added // -*- C++ -*- as first line.
12545
12546 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12547
12548         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12549
12550         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12551         of string
12552
12553 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12554
12555         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12556         of floats.
12557
12558 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12559
12560         * gettext.C: include LString.h even when --disable-nls is on.
12561
12562 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12563
12564         * converter.h (Get): changed argument type from int to
12565         FormatList::size_type to avoid unnecessary conversion.
12566
12567         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12568         before using it.
12569
12570 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12571
12572         * gettext.h: include LString.h even when --disable-nls is on.
12573
12574 2001-06-07  Juergen Vigna  <jug@sad.it>
12575
12576         * text.C (BreakAgain): subst spaces with tabs.
12577
12578         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12579         (resizeInsetsLyXText): set force on resizeLyXText.
12580
12581 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12582
12583         * gettext.h (gettext_init):
12584         (locale_init): use a real definition instead of a macro
12585
12586 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12587
12588         * Bufferview_pimpl.C:
12589         * LColor.h:
12590         * LColor.C: further lcolor tidies
12591
12592 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12593
12594         * BufferView_pimpl.C (updateScrollbar): simplify.
12595
12596         * BufferView2.C: don't include insets/insetinfo.h, change
12597         prototype for insertInset and call the Pimpl version. let
12598         updateInset call Pimpl version.
12599
12600         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12601         gotoInset to BufferView::Pimpl
12602
12603 2001-06-01  Juergen Vigna  <jug@sad.it>
12604
12605         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12606         inside a LockingInset (is the update needed at all?).
12607
12608 2001-05-31  Juergen Vigna  <jug@sad.it>
12609
12610         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12611         here not the old one otherwise how should we compare it afterwards
12612         if it's the same!
12613
12614 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12615
12616         * lyxfont.C:
12617         * tabular.C:
12618         * tabular-old.C:
12619         * FontInfo.C: bring C functions into global namespace when
12620         necessary
12621
12622 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12623
12624         * LString.h: make sure config.h has been loaded before LString.h.
12625
12626         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12627         (one for each char read by EatLine!).
12628
12629         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12630         variables.
12631
12632 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12633
12634         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12635         to the same as the par we break from
12636
12637 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12638
12639         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12640
12641         * MenuBackend.C (expand): also create menu entries for wide
12642         versions of the floats.
12643
12644         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12645
12646         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12647
12648         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12649         frontends/Makefile.am
12650
12651         * text2.C: adjust
12652         * text.C: adjust
12653
12654
12655         * tabular.C (getTokenValue): add std::
12656
12657         * tabular-old.C (getTokenValue): add std::
12658         (getTokenValue): ditto
12659         (getTokenValue): ditto
12660
12661         * screen.C (ToggleSelection): adjust
12662
12663         * lyxtext.h: put selection cursors inside a Selection struct.
12664
12665         * lyxfunc.C (moveCursorUpdate): adjust
12666
12667         * lyxfont.C (latexWriteStartChanges): add std::
12668
12669         * lyxfind.C: adjust
12670
12671         * font.h: delete with(char const *, LyXFont const &)
12672
12673         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12674
12675         * FontInfo.C (getFontname): add std::
12676
12677         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12678         (workAreaButtonPress): adjust
12679         (tripleClick): adjust
12680         (update): adjust
12681         (moveCursorUpdate): adjust
12682         (Dispatch): adjust
12683
12684         * BufferView2.C (gotoInset): adjust
12685
12686 2001-05-30  Juergen Vigna  <jug@sad.it>
12687
12688         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12689         to check pspell I add this as default as I now have new pspell
12690         libraries and they seem to use this.
12691
12692 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12693
12694         * text2.C (CutSelection): make the cursor valid before the call to
12695         ClearSelection.
12696
12697 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12698
12699         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12700         relied on 0 terminated strings and other horrors. Bug found due to
12701         the new assert in lyxstring!
12702
12703         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12704         KP_ keys.
12705
12706 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12707
12708         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12709         to latinkeys.bind.
12710
12711         * lyxfunc.C (processKeySym): change method of getting to the
12712         self-insert char.
12713
12714         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12715         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12716         * BufferView_pimpl.[Ch]: here as private methods.
12717
12718 2001-05-28  Juergen Vigna  <jug@sad.it>
12719
12720         * text.C (SetHeightOfRow): added the update() call again as it is
12721         needed to initialize inset dimensions!
12722
12723 2001-05-16  Juergen Vigna  <jug@sad.it>
12724
12725         * text2.C (SetCharFont): Add new function with BufferView * and
12726         bool toggleall parameters for setting insets internal fonts.
12727         (SetFont): Freeze the undo as we may change fonts in Insets and
12728         all this change should be inside only one Undo!
12729
12730         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12731         setting font's in insets as for them we have the SetFont function!
12732
12733 2001-05-15  Juergen Vigna  <jug@sad.it>
12734
12735         * text2.C (ClearSelection): to be sure we REALLY don't have any
12736         selection anymore!
12737
12738         * tabular.C (TeXCellPreamble): fixed the left border problem for
12739         multicolumn cells.
12740
12741 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12742
12743         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12744         dependancy file
12745
12746 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12747
12748         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12749         LFUN_BREAKPARAGRAPH.
12750
12751         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12752         help test to "internal only", similar for LFUN_INSERT_URL
12753
12754         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12755         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12756         auto_region_delete and deadkeys.
12757
12758 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12759
12760         * LColor.h:
12761         * LColor.C: remove some dead entries, tidy a little
12762
12763 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12764
12765         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12766         commented code.
12767         (Dispatch): implement LFUN_ESCAPE
12768
12769         * commandtags.h: add LFUN_ESCAPE
12770
12771         * LyXAction.C (init): add entry for LFUN_ESCAPE
12772
12773         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12774         Remove commented code.
12775         (insertNote): moved here
12776         (open_new_inset): moved here
12777
12778         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12779         BufferView_pimpl
12780
12781 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12782
12783         * kbmap.C (findbinding): clean it up and make it work correctly.
12784
12785         * lyx_main.C (init): do not pass argc and argv as parameters
12786
12787 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12788
12789         * buffer.C: fix path for OS/2 & Win32
12790
12791         * lyx_gui.C:
12792         * lyx_main:
12793         * lyx_main.C: Added os:: class.
12794
12795         * os2_defines.h: update
12796
12797 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12798
12799         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12800         better by trying again with reduced state.
12801
12802 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12803
12804         * lyxrc.C (read): print error about invalid key sequence only when
12805         debugging (because not all latinX keysyms are known to some X
12806         servers)
12807
12808         * kbsequence.C (getiso): add a few std:: qualifiers
12809         (getiso): comment out extra return statement.
12810
12811 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12812
12813         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12814         handling.
12815         (Dispatch): enhance the accent inset a bit. (not perfect)
12816
12817 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12818
12819         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12820
12821 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12822
12823         * bufferlist.C (emergencyWrite): fix assert() call
12824
12825 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12826
12827         * text.C (InsertChar): Added trivial patch to only send the "you
12828         can not do multiple spaces this way" message once during a
12829         session.
12830
12831 2001-05-08  Baruch Even  <baruch@lyx.org>
12832
12833         * Makefile.am: Changed order of libraries to get LyX to link properly
12834         with the gnome frontend.
12835
12836 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12837
12838         * LaTeXFeatures.h: add a std:: qualifier
12839
12840 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12841
12842         * paragraph.C (String): use stringstream
12843
12844 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12845
12846         * paragraph.C (writeFile): remove footflag arg
12847
12848         * buffer.C (makeLaTeXFile): use stringstream
12849         (latexParagraphs): remove footnot gurba
12850
12851         * LaTeXFeatures.C (getPackages): use stringstream
12852         (getMacros): likewise
12853         (getTClassPreamble): likewise
12854         (getFloatDefinitions): new method
12855
12856         * paragraph.C (writeFile): reindent
12857         (Erase): reindent
12858
12859         * WorkArea.h: revert the xpos + etc changes.
12860
12861         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12862
12863         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12864
12865         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12866         (pasteSelection): likewise
12867         * text2.C (CreateUndo): likewise
12868
12869 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12870
12871         * minibuffer.C (peek_event): temporarily reduce the functionality
12872         of the minibuffer (to allow args on lfuns)
12873
12874         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12875         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12876
12877         * buffer.C (readInset): add compability reading of old float
12878         lists, add reading of new style float list.
12879         (readInset): avoid reevaluation of inscmd.getCmdName()
12880         (getLists): reindent
12881
12882         * MenuBackend.C (MenuItem): implement parsing of
12883         md_floatlistinsert and md_floatinsert.
12884         (expand::LastFiles): move initalizaton of iterators out of loop,
12885         avoid reevaluation.
12886         (expand::Documents): introduce typdedef vector<string> Strings,
12887         and use it.
12888         (expand::ExportFormats): introduce typedef vector<Format const *>
12889         Formats, and use it.
12890         (expand): implement FloatListInsert and FloatInsert.
12891
12892         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12893         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12894         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12895
12896         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12897         handling.
12898         (Dispatch::LFUN_FLOAT_LIST): implement
12899
12900 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12901
12902         * LaTeX.C (run): Fix problem with --export code.
12903
12904 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12905
12906         * BufferView.[Ch] (workarea): removed.
12907         (getClipboard) new method; wrapper for workarea()->getClipboard()
12908
12909         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12910         bug.
12911
12912         * WorkArea.h (width, height, xpos, ypos): These methods all
12913         returned the dimensions of the work_area sub-area of WorkArea,
12914         resulting in a position error if the WorkArea were resized. Now
12915         return the dimensions of the entire WorkArea.
12916
12917         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12918
12919 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12920
12921         * LaTeX.C (deplog): correct the syntax of regex reg1
12922
12923 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12924
12925         * undo.C: remove !NEW_INSETS cruft
12926
12927 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12928
12929         * text2.C: remove !NEW_INSETS cruft
12930
12931         * text.C: remove !NEW_INSETS cruft
12932
12933         * tabular.C: remove !NEW_INSETS cruft
12934
12935         * spellchecker.C: remove !NEW_INSETS cruft
12936
12937         * lyxtext.h: remove !NEW_INSETS cruft
12938
12939         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12940
12941         * lyxfunc.C: remove !NEW_INSETS cruft
12942
12943         * lyxfind.C: remove !NEW_INSETS cruft
12944
12945         * lyx_cb.C: remove !NEW_INSETS cruft
12946
12947         * figureForm.C: remove  !NEW_INSETS cruft
12948
12949         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12950
12951         * buffer.[Ch]: remove !NEW_INSETS cruft
12952
12953         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12954
12955         * CutAndPaste.C: remove !NEW_INSETS cruft
12956
12957         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12958
12959         * BufferView2.C: remove !NEW_INSETS cruft
12960
12961         * BufferView.h: remove !NEW_INSETS cruft
12962
12963 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12964
12965         * Lsstream.h: include LString.h before the sstream headers to
12966         fix problem with gcc 2.95.3 and lyxstring
12967
12968 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12969
12970         * lyx_main.C: add using directives when needed for C functions
12971         declared in std:: namespace.
12972
12973 2001-04-27  Juergen Vigna  <jug@sad.it>
12974
12975         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12976         (SetHeightOfRow): comment out the update call should not be needed!
12977
12978 2001-04-13  Juergen Vigna  <jug@sad.it>
12979
12980         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12981         (LyXTabular): tried to minimize operator= operations (and realized
12982         hopfully Lars wish).
12983
12984 2001-04-27  Juergen Vigna  <jug@sad.it>
12985
12986         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12987
12988 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12989
12990         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12991
12992         * buffer.C (readInset): hack to make listof algorithm work
12993
12994         * BufferView_pimpl.C: hack to make listof algorithm work
12995
12996 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12997
12998         * LyXAction.C: removed all !NEW_INSETS cruft
12999         (init): moved lfun_item in method
13000
13001         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13002
13003 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13004
13005         * BufferView2.C (theLockingInset): white space.
13006
13007 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13008
13009         * minibuffer.C: include <iostream>
13010
13011         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13012
13013         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13014
13015         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13016
13017         * text.[Ch] (TransposeChars): new method
13018
13019 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13020
13021         * call message directly through LyXView instead of through LyXFunc
13022         * BufferView2.C: adjust
13023         * BufferView_pimpl.C: adjust
13024         * FontLoader.C: adjust
13025         * buffer.C: adjust
13026         * bufferview_funcs.C: adjust
13027         * converter.C: adjust
13028         * figureForm.C: adjust
13029         * importer.C: adjust
13030         * lyx_cb.C: adjust
13031         * lyx_gui_misc.C: adjust
13032         * lyxfunc.C: adjust
13033         * lyxvc.C: adjust
13034         * text2.C: adjust
13035         + more files in subdirs
13036
13037         * lyxparagraph.h (size): move up int file
13038         (GetLayout): ditto
13039
13040         * adjust all uses of Assert to lyx::Assert.
13041
13042         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13043         lyxfunctional in namespace lyx
13044         * layout.C (hasLayout): ditto
13045         (GetLayout): ditto
13046         (GetLayout): ditto
13047         (delete_layout): ditto
13048         (NumberOfClass): ditto
13049         * converter.C (GetFormat): ditto
13050         (GetNumber): ditto
13051         (Add): ditto
13052         (Delete): ditto
13053         (SetViewer): ditto
13054         * bufferlist.C (getFileNames): ditto
13055         (emergencyWriteAll): ditto
13056         (exists): ditto
13057         (getBuffer): ditto
13058         * MenuBackend.C (hasSubmenu): ditto
13059         (hasMenu): ditto
13060         (getMenu): ditto
13061         * BufferView_pimpl.C (getInsetByCode): ditto
13062
13063 2001-04-18  Juergen Vigna  <jug@sad.it>
13064
13065         * vspace.C (asLatexString): fixed the 100% problem.
13066
13067 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13068
13069         * lyxfunc.C (Dispatch):
13070         * minibuffer.C:
13071         * minibuffer.h: add a few std:: qualifiers
13072
13073 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13074
13075         * minibuffer.[Ch]: reimplement so that commands is initiated and
13076         run from lyxfunc, simplified som handling, and made the completion
13077         and history code for complete. wip.
13078
13079         * lyxfunc.C (processKeySym): call message
13080         (miniDispatch): new temporary method
13081         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13082         (LFUN_MESSAGE): implement
13083         (LFUN_MESSAGE_PUSH): implement
13084         (LFUN_MESSAGE_POP): implement
13085         (initMiniBuffer): the initial/defualt minibuffer message.
13086
13087         * lyxfont.[Ch]: inline some more getters
13088
13089         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13090
13091         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13092
13093         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13094         (AutoSave): use LFUN_MESSAGE
13095         (Reconfigure): ditto
13096
13097         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13098
13099         * figureForm.C: use LFUN_MESSAGE
13100
13101         * converter.C (runLaTeX): use LFUN_MESSAGE
13102
13103         * bufferview_funcs.C: use LFUN_MESSAGE
13104         (Melt): ditto
13105         (changeDepth): ditto
13106
13107         * bufferparams.h: use boost::
13108
13109         * bufferlist.h: inherit privately from noncopyable
13110
13111         * bufferlist.C (loadLyXFile): remove some commented code.
13112
13113         * buffer.C (runChktex): use LFUN_MESSAGE
13114
13115         * ShareContainer.h: inherit privately from noncopyable
13116
13117         * ParagraphParameters.[hC] (depth): inline it.
13118
13119         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13120         methods.
13121         (message): new method
13122         (messagePush): ditto
13123         (messagePop): ditto
13124         (show): init minibuffer
13125         (showState): direct call
13126
13127         * LaTeX.[Ch]: inherit privately from noncopyable
13128         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13129         instead of WriteStatus.
13130
13131         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13132
13133         * BufferView_pimpl.C (buffer): don't init minibuffer
13134         (workAreaButtonPress): use LFUN_MESSAGE
13135         (workAreaButtonRelease): ditto
13136         (savePosition): ditto
13137         (restorePosition): ditto
13138         (MenuInsertLyXFile): ditto
13139         (workAreaExpose): don't init minibuffer
13140         (update): remove commented code, simplify
13141
13142         * BufferView2.C (openStuff): use LFUN_MESSAGE
13143         (toggleFloat): ditto
13144         (menuUndo): ditto
13145         (menuRedo): ditto
13146         (copyEnvironment): ditto
13147         (pasteEnvironment): ditto
13148         (copy): ditto
13149         (cut): ditto
13150         (paste): ditto
13151         (gotoInset): ditto
13152         (updateInset): remove some commented code
13153
13154         * lastfiles.h: inherit privately from noncopyable
13155         * layout.h: ditto
13156         * lyx_gui.h: ditto
13157         * lyx_main.h: ditto
13158         * lyxlex.h: ditto
13159         * lyxlex_pimpl.h: ditto
13160
13161         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13162         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13163         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13164
13165         * LyXAction.h: inherit privately from noncopyable, add methods
13166         func_begin, func_end, returning iterators to the func map.
13167
13168         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13169         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13170         (func_begin): new method
13171         (func_end): new method
13172
13173         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13174         and not)
13175         (copySelection): ditto
13176         (pasteSelection): ditto
13177
13178         * BufferView.C: whitespace change
13179         * BufferView.h: inherit privately from noncopyable
13180
13181 2001-04-16  Allan Rae  <rae@lyx.org>
13182
13183         * tabular-old.C (l_getline):
13184         * spellchecker.C (sc_check_word):
13185         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13186         an unrecognised preprocessor directive.  So ensure they're wrapped.
13187
13188 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13189
13190         * src/exporter.C (Export): Give an error message when path to file
13191         contains spaces.
13192
13193 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13194
13195         * LaTeX.C (deplog): Always check that foundfile exists.
13196
13197 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13198
13199         * lyx_main.h:
13200         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13201
13202 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13203
13204         * tabular.[Ch] (getLabelList): implement new method
13205
13206         * minibuffer.h: comment ouf setTiimer
13207
13208         * minibuffer.C (ExecutingCB): constify res
13209         (peek_event): constify s
13210         (Set): constify ntext
13211         (Init): constify nicename
13212
13213         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13214
13215         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13216         (savePosition): use two params to Minibuffer::Set
13217         (restorePosition): ditto
13218
13219 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13220
13221         * lyx_main.C: include language.h
13222
13223         * Makefile.am (lyx_main.o): add language.h
13224
13225 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13226
13227         * exporter.C:
13228         * paragraph.C:
13229         * screen.C:
13230         * tabular.C:
13231         * CutAndPaste.C: include gettext.h
13232
13233         * lyxfont.h: remove old hack with ON and OFF.
13234
13235         * lyxparagraph.h:
13236         * lyxfont.h: do not include language.h...
13237
13238         * BufferView2.C:
13239         * LaTeXFeatures.C:
13240         * Painter.C:
13241         * bufferview_funcs.C:
13242         * font.C:
13243         * lyxfont.C:
13244         * text.C:
13245         * text2.C:
13246         * trans_mgr.C:
13247         * paragraph.C: ... but do it here instead
13248
13249 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13250
13251         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13252
13253         * tabular.C: small reformat
13254
13255         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13256         NEW_INSETS version
13257         (GetChar): ditto
13258         (BreakParagraph): ditto
13259         (SetOnlyLayout): ditto
13260         (SetLayout): ditto
13261
13262         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13263         with one arg less.
13264
13265         * lastfiles.C: removed most using decl, add std:: where needed
13266
13267         * buffer.C: ws changes
13268
13269         * MenuBackend.C (class compare_format): put into anon namespace
13270         (expand): constify label, names, action, action2
13271         (expand):
13272
13273         * text.C (SingleWidth): constify font
13274         (IsBoundary): constify rtl2
13275         (GetVisibleRow): constify ww
13276
13277         * LaTeX.C (deplog): constify logfile
13278
13279         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13280         start_x, end_x
13281         (workAreaExpose): constify widthChange, heightChange
13282
13283         * lyxrow.C (par): moved
13284         (height): moved
13285         (next): moved
13286         * lyxrow.h: as inlines here
13287
13288         * lyxfont.h (shape): moved from lyxfont.C
13289         (emph): moved from lyxfont.C
13290
13291         * lyxfont.C (LyXFont): use initialization list for all
13292         constructors
13293         (shape): move to lyxfont.h as inline
13294         (emph): move to lyxfont.h as inline
13295
13296
13297 2001-04-04  Juergen Vigna  <jug@sad.it>
13298
13299         * vspace.C: had to include stdio.h for use of sscanf
13300
13301 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13302
13303         * BufferView.h:
13304         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13305         independent of xforms.
13306
13307 2001-04-02  Juergen Vigna  <jug@sad.it>
13308
13309         * spellchecker.C: fixed namespace placing!
13310
13311 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13312
13313         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13314         the LyXParagraph * is 0.
13315
13316 2001-03-29  Juergen Vigna  <jug@sad.it>
13317
13318         * vspace.C: added support for %, c%, p%, l%.
13319         (stringFromUnit): added helper function.
13320         (asLatexString): changed to give right results for the %-values.
13321
13322         * buffer.C: convert the widthp in a width%.
13323
13324 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13325
13326         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13327         figureForm.[Ch].
13328
13329         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13330         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13331
13332         * lyx_cb.[Ch]: see above.
13333
13334         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13335         form1.[Ch].
13336
13337         * form1.[Ch]:
13338         * lyx.[Ch]: replaced by figure_form.[Ch].
13339
13340         * lyx_gui.C:
13341         * lyx_gui_misc.C:
13342         * lyxfunc.C: changed headers associated with above changes.
13343
13344 2001-03-27  Juergen Vigna  <jug@sad.it>
13345
13346         * BufferView_pimpl.C: set the temporary cursor right!
13347
13348 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13349
13350         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13351
13352 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13353
13354         * LString.h: removed "using std::getline"!
13355
13356         * BufferView_pimpl.C (Dispatch): changes due to changes in
13357         InsetInclude::Params.
13358
13359         * buffer.C (tag_name): removed redundant break statements as they were
13360         producing lots of warnings with my compiler.
13361
13362 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13363
13364         * LString.h: add "using std::getline" when using the real <string>.
13365
13366 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13367
13368         * buffer.C: removed bitset usage.
13369         PAR_TAG moved to an anonymous name space.
13370         (tag_name): new funtion, also in the anonymous namespace.
13371         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13372         (makeDocBookFile): clean code. Completed transition from string arrays
13373         to string vectors.
13374         (SimpleDocBookOnePar): code clean.
13375
13376 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13377
13378         * tabular.C: add some comments.
13379
13380 2001-03-22  Juergen Vigna  <jug@sad.it>
13381
13382         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13383         compatibility read a bit and fixed bug with minipage in different
13384         depth.
13385
13386 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13387
13388         * buffer.C (pop_tag): removed.
13389         (push_tag): removed.
13390         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13391         array replaced with vector. Added support for CDATA sections.
13392         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13393         at any nest level.
13394         (makeDocBookFile): XML conformant declaration of CDATA section,
13395         fixed bug related to <emphasis> in the first paragraph char.
13396         (sgmlOpenTag): exclude empty tags.
13397         (sgmlCloseTag): ditto.
13398
13399         * buffer.h (pop_tag): removed.
13400         (push_tag): removed.
13401
13402 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13403
13404         * language.h (Languages): added size_type and size().
13405
13406 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13407
13408         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13409         response on compability reading of minipages. One probliem is that
13410         the old usage of minipages was «flertydig»
13411
13412         * several files here and in subdirs: don't use static at file
13413         scope use anon namespaces instead.
13414
13415 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13416
13417         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13418         LaTeX output. This is necessary for Literate document
13419         processing.
13420
13421 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13422
13423         * buffer.C: insert hfill when needed.
13424
13425         * tabular.C (l_getline): use string::erase, small whitespace change.
13426
13427         * BufferView_pimpl.C: try the anon namespace.
13428         * WorkArea.C: ditto
13429
13430 2001-03-16  Juergen Vigna  <jug@sad.it>
13431
13432         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13433         otherwise it won't open options-dialogs.
13434
13435         * buffer.C: honor pextraWidth(p) on converting minipages.
13436
13437         * tabular.C (l_getline): changed the functions to strip trailing \r.
13438
13439 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13440
13441         * BufferView_pimpl.C:
13442         * minibuffer..C: added "using SigC::slot" declaration.
13443
13444 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13445
13446         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13447
13448         * text2.C: ditto
13449
13450         * text.C: ditto
13451
13452         * paragraph.C: ditto
13453
13454         * lyxtext.h: NO_PEXTRA
13455
13456         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13457
13458         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13459         * ParameterStruct.h: ditto
13460         * ParagraphParameters.h: ditto
13461         * lyxparagraph.h: ditto
13462
13463 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13464
13465         * buffer.C: add compability for minipage alignment.
13466         (latexParagraphs): remove unwanted pextra check.
13467
13468         * several files: remove CXX_WORKING_NAMESPACES
13469
13470         * buffer.C (pop_tag): tie is in namespace boost
13471
13472         * BufferView.h: noncopyable is in namespace boost
13473         * lyxlex.h: ditto
13474         * lyx_main.h: ditto
13475         * lyx_gui.h: ditto
13476         * layout.h: ditto
13477         * lastfiles.h: ditto
13478         * bufferlist.h: ditto
13479         * ShareContainer.h: ditto
13480         * LyXView.h: ditto
13481         * LyXAction.h: ditto
13482         * LaTeX.h: ditto
13483
13484 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13485
13486         * Merging changes from BRANCH_MVC back into HEAD.
13487
13488         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13489
13490 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13491
13492         * BufferView_pimpl.C: change from intl.C
13493
13494         * combox.h:
13495         * combox.C:
13496         * Makefile.am: move combox.*
13497
13498         * form1.h:
13499         * form1.C:
13500         * lyx_gui.C:
13501         * intl.h:
13502         * intl.C: remove dialog (covered by prefs)
13503
13504 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13505
13506         * lyxfunc.C (Dispatch): removed redundant break statement.
13507
13508 2001-03-14  Juergen Vigna  <jug@sad.it>
13509
13510         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13511
13512 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13513
13514         * buffer.C: add hack to fix compability reading of minipages.
13515
13516 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13517
13518         * buffer.C (getLists): Cleanup.
13519
13520 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13521
13522         * lyxfont.C (update): don't honor toggleall on font size.
13523
13524 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13525
13526         * bmtable.c:
13527         * bmtable.h:
13528         * Makefile.am: moved to frontends/xforms/
13529
13530         * lyx_gui_misc.C:
13531         * lyxfunc.C:
13532         * BufferView_pimpl.C: changes for moved mathpanel
13533
13534 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13535
13536         * gettext.h: fix gettext_init() in --disable-nls
13537
13538 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13539
13540         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13541
13542 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13543
13544         * lyx.C:
13545         * lyx.h: strip external form
13546
13547 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13548
13549         * BufferView_pimpl.C: add comment, destroySplash()
13550
13551 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13552
13553         * BufferView_pimpl.C:
13554         * LyXAction.C:
13555         * buffer.C:
13556         * commandtags.h:
13557         * lyxfunc.C: use re-worked insetinclude
13558
13559 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13560
13561         * buffer.C: add using std::stringstream.
13562
13563         * lyx_cb.C: readd using std::ios.
13564
13565         * buffer.C: add using std::map.
13566
13567         * BufferView_pimpl.C: add using std::vector.
13568
13569         * ShareContainer.h: add std:: to swap.
13570
13571         * buffer.h: add some typedefs
13572         * buffer.C (getLists): use them
13573         (getLists): renamed from getTocList.
13574         add a counter for the different float types and use it in the
13575         generated string.
13576         (getLists): use the same counter for the NEW_INSETS and the "non"
13577         NEW_INSETS
13578
13579         * lyx_cb.h: remove unused items, includes, using etc.
13580
13581         * ShareContainer.h: remove some commented code, add more comments
13582         and "documentation".
13583
13584 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13585
13586         * buffer.C (getTocList): make the list also when NEW_INSETS is
13587         defined.
13588
13589         * buffer.h: remove TocType
13590
13591         * buffer.C (getTocList): change to return a map<string,
13592         vector<TocItem> >, implement for dynamic number of list.
13593
13594         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13595         * text2.C (PasteSelection): adjust
13596         * CutAndPaste.C (pasteSelection): adjust
13597
13598         * FloatList.C (FloatList): update from the new_insets branch.
13599         * Floating.[Ch]: ditto
13600         * LaTeXFeatures.C: ditto
13601         * buffer.C: ditto
13602         * lyxlex_pimpl.C: ditto
13603
13604         * paragraph.C (Last): remove when NEW_INSETS is defined.
13605
13606         * other file: changes because of the above.
13607
13608 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13609
13610         * lyxparagraph.h: rename next to next_, previous to previous_,
13611         make them private for NEW_INSETS. Rename Next() to next(),
13612         Previous() to previous().
13613
13614         * other files: changes because of the above.
13615
13616 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13617
13618         * BufferView.h:
13619         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13620         problem.
13621
13622 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13623
13624         * main.C (main): pass lyx_localedir to gettext_init().
13625
13626         * gettext.h: remove locale_init and gettext_init macros
13627
13628         * gettext.C (locale_init): new function
13629         (gettext_init): new function
13630
13631         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13632         setlocale().
13633
13634 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13635
13636         * Moved credits to frontends:
13637         * credits.[Ch]: removed
13638         * credits_form.[Ch]: removed
13639         * lyx_gui_misc.C: remove credits stuff
13640         * Makefile.am:
13641
13642 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13643
13644         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13645
13646         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13647         unneeded destructor.
13648
13649         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13650         a standalone pointer again.
13651
13652         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13653
13654 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13655
13656         * Makefile.am:
13657         * filedlg.h:
13658         * filedlg.C:
13659         * LyXAction.C:
13660         * ToolbarDefaults.C:
13661         * bufferlist.C:
13662         * commandtags.h:
13663         * form1.C:
13664         * form1.h:
13665         * lyx_cb.C:
13666         * lyx_cb.h:
13667         * lyxfunc.h:
13668         * lyxfunc.C:
13669         * BufferView_pimpl.C: use new file dialog in GUII
13670
13671         * lyx_cb.h:
13672         * lyx_cb.C: remove LayoutsCB to Toolbar
13673
13674 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13675
13676         * ShareContainer.h (get): add std:: qualifier
13677
13678 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13679
13680         * ShareContainer.h: define a proper ShareContainer::value_type
13681         type (and use typename to please compaq cxx)
13682
13683 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13684
13685         * lyxparagraph.h: move serveral local vars to
13686         ParameterStruct/ParagraphParameters., use ShareContainer in
13687         FontTable., make vars in FontTable private and add getter and
13688         setter.
13689
13690         * paragraph.C: changes because of the above.
13691
13692         * lyxfont.h: remove copy constructor and copy assignment. (the
13693         default ones is ok), move number inside FontBits. move inlines to
13694         lyxfont.C
13695
13696         * lyxfont.C: add number to initializaton of statics, move several
13697         inlines here. constify several local vars. some whitespace
13698         cleanup. Dont hide outerscope variables.
13699
13700         * Spacing.h: add two new constructors to match the set methods.
13701
13702         * ShareContainer.h: new file, will perhaps be moved to support
13703
13704         * ParameterStruct.h: new file
13705
13706         * ParagraphParameters.h: new file
13707
13708         * ParagraphParameters.C: new file
13709
13710         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13711         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13712
13713         * BufferView_pimpl.C: ParagraphParameter changes.
13714         * buffer.C: Likewise.
13715         * bufferview_funcs.C: Likewise.
13716         * text.C: Likewise.
13717         * text2.C: Likewise.
13718
13719 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13720
13721         * lyxfind.C (LyXReplace): do not redefine default argument in
13722         implementation.
13723         (IsStringInText): ditto
13724         (SearchForward): ditto
13725         (SearchBackward): ditto
13726
13727 2001-03-06  Juergen Vigna  <jug@sad.it>
13728
13729         * lyxfind.C (IsStringInText): put parentes around expressions.
13730
13731 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13732
13733         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13734
13735 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13736
13737         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13738
13739         * stl_string_fwd.h: add comment
13740
13741         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13742
13743         * tabular.h:
13744         * tabular.C: remove unused DocBook methods
13745
13746         * intl.C:
13747         * language.C:
13748         * paragraph.C:
13749         * buffer.C:
13750         killed DO_USE_DEFAULT_LANGUAGE
13751
13752 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13753
13754         * lyx_gui.C: do not include language.h.
13755
13756         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13757         arguments in function implementation.
13758
13759 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13760
13761         * BufferView_pimpl.C: add <ctime>
13762
13763 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13764
13765         * BufferView_pimpl.C: add using std::find_if
13766
13767 2001-02-27  José Matos  <jamatos@fep.up.pt>
13768
13769         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13770         by OnlyPath.
13771
13772 2001-02-11  José Matos  <jamatos@fep.up.pt>
13773
13774         * buffer.C (makeDocBookFile): command styles now have a parameter as
13775         "title" by default.
13776
13777 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13778
13779         * layout_forms.[Ch]: removed
13780         * lyx_cb.[Ch]: out character
13781         * lyx_gui.C: out character
13782         * lyx_gui_misc.C: out character
13783         * bufferview_funcs.C: : out character,
13784         added toggleall as parameter in ToggleAndShow
13785
13786 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13787
13788         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13789
13790         * text2.C (SetCurrentFont): Disable number property at boundary.
13791
13792 2001-02-26  Juergen Vigna  <jug@sad.it>
13793
13794         * lyxfunc.C (getStatus): added a string argument override function so
13795         that this is correctly called from LyXFunc::Dispatch if it contains a
13796         do_not_use_argument which is used!
13797         (Dispatch): added check for "custom" export and call appropriate func.
13798
13799 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13800
13801         * lyxrc.C: Add language_command_local, language_use_babel and
13802         language_global_options.
13803
13804         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13805
13806         * buffer.C (makeLaTeXFile): Use language_use_babel and
13807         language_global_options.
13808
13809 2001-02-23  Juergen Vigna  <jug@sad.it>
13810
13811         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13812         which works with LyXText and putted it inside BufferView. Here now we
13813         only call for that part the BufferView::Dispatch() function.
13814
13815         * BufferView.C (Dispatch): added.
13816
13817         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13818         functions which needs to use a LyXText over from LyXFunc.
13819         (MenuInsertLyXFile): added
13820         (getInsetByCode): added
13821         (moveCursorUpdate): added
13822         (static TEXT): added
13823
13824 2001-02-22  Juergen Vigna  <jug@sad.it>
13825
13826         * BufferView_pimpl.C (update): call a status update to see if LyXText
13827         needs it.
13828
13829 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13830
13831         * vc-backend.C (revert): implement for CVS
13832         (getLog): implement for CVS
13833
13834 2001-02-20  Juergen Vigna  <jug@sad.it>
13835
13836         * text2.C (ClearSelection): added BufferView param for inset_owner call
13837
13838         * lyxfunc.C (TEXT): added this function and use it instead of
13839         directly owner->view()-text of getLyXText().
13840
13841 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13842
13843         * src/layout_forms.C: out preamble
13844         * src/layout_forms.h: out preamble
13845         * src/lyx_cb.C: out preamble
13846         * src/lyx_cb.h: out preamble
13847         * src/lyx_gui.C: out preamble
13848         * src/lyx_gui_misc.C: out preamble
13849         * src/lyxfunc.C: connect with guii preamble
13850
13851 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13852
13853         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13854
13855 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13856
13857         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13858         whether to run bibtex.
13859
13860 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13861
13862         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13863
13864 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13865
13866         * Makefile.am (lyx_SOURCES): removed bibforms.h
13867
13868         * vspace.h: doxygen
13869
13870         * text.C (GetVisibleRow): make several local vars const
13871
13872         * tabular.C: small cleanup.
13873
13874         * lyxserver.C (callback): use compare instead of strncmp
13875
13876         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13877         inlines to after class or to paragraph.C
13878
13879         * lyxfont.h: remove friend operator!=
13880
13881         * converter.h: move friend bool operator< to non friend and after
13882         class def.
13883
13884         * combox.h: small cleanup
13885
13886         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13887         to inlines after class def.
13888
13889         * buffer.C (pop_tag): use string operations instead of strcmp
13890
13891         * bmtable.c: doxygen, small cleanup
13892
13893         * LaTeX.h: remove friend operator==
13894
13895 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13896
13897         * screen.C:
13898         * lyxrc.[Ch]:
13899         * lyxfunc.C:
13900         * lyxfont.[Ch]:
13901         * lyx_cb.C:
13902         * intl.[Ch]:
13903         * commandtags.h:
13904         * buffer.C:
13905         * WorkArea.[Ch]:
13906         * LyXAction.C:
13907         * BufferView_pimpl.C:
13908         * BufferView.[Ch]: remove cruft
13909
13910 2001-02-14  Juergen Vigna  <jug@sad.it>
13911
13912         * lyxfunc.C: removed #if 0 unused code
13913
13914         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13915
13916         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13917
13918         * text2.C (SetSelection): added a BufferView * parameter
13919
13920 2001-02-13  Juergen Vigna  <jug@sad.it>
13921
13922         * lyxfunc.C (Dispatch): fixed protected blank problem.
13923         * BufferView2.C (protectedBlank): added LyxText * parameter.
13924
13925         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13926         (AppendColumn): same as above for column_info.
13927
13928         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13929         (moveCursorUpdate): use a LyXText param for support of InsetText.
13930
13931         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13932         (tripleClick): ditto
13933
13934         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13935
13936         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13937
13938         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13939
13940         * text2.C (SetSelection): set correct update status if inset_owner
13941         (ToggleFree): ditto
13942
13943 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13944
13945         * tabular.C: remove some commented code.
13946
13947 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13948
13949         * BufferView_pimpl.C: call hideSplash()
13950
13951         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13952
13953         * include_form.h:
13954         * bibforms.h: remove
13955
13956         * lyxfunc.C:
13957         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13958           add LFUN_CHILD_CREATE
13959
13960         * counters.h: fix tiny typo
13961
13962         * lyx_cb.C:
13963         * lyx.h:
13964         * lyx_gui.C:
13965         * lyx.C: move splash to frontends/xforms/
13966
13967         * lyx_gui_misc.C: move Include and Bibform to frontends
13968
13969         * lyxvc.h: clarify comment
13970
13971         * vspace.C: tiny housekeeping
13972
13973 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13974
13975         * text.C (PrepareToPrint): RTL Fix.
13976
13977         * paragraph.C (GetUChar): New method.
13978         (String):  Use GetUChar.
13979
13980         * buffer.C (asciiParagraph): Use GetUChar.
13981
13982 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13983
13984         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13985
13986 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13987
13988         * buffer.h:
13989         * buffer.C: rename to getLogName(), handle
13990           build log / latex log nicely
13991
13992 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13993
13994         * MenuBackend.C:
13995         * MenuBackend.h: remove support for reference menuitem type.
13996
13997 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13998
13999         * BufferView_pimpl.C: housekeeping
14000         * BufferView_pimpl.h:
14001         * LyXView.h:
14002         * Makefile.am:
14003         * Timeout.C:
14004         * Timeout.h:
14005         * minibuffer.h: move Timeout GUI-I
14006
14007 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14008
14009         * lyxrc.C (read): Update converters data-structures.
14010
14011 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14012
14013         * LaTeX.h (operator!=): add operator != for Aux_Info
14014
14015 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14016
14017         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14018
14019         * LaTeXLog.C: deleted, useful code moved to Buffer
14020
14021         * buffer.h:
14022         * buffer.C: new function getLatexLogName()
14023
14024         * lyx_gui_misc.C:
14025         * lyx_gui.C:
14026         * lyxvc.C:
14027         * lyxvc.h:
14028         * lyxfunc.C: use frontends for LaTeX and VC logs
14029
14030 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14031
14032         * LaTeX.h: yet another std:: that Allan forgot.
14033
14034         * Variables.C (set): renamed from isset(), because this clashes
14035         with some HP-UX macros (grr).
14036
14037 2001-02-06  Allan Rae  <rae@lyx.org>
14038
14039         * LaTeX.h: Another bug fix.  Missing std:: this time.
14040
14041 2001-02-04  Allan Rae  <rae@lyx.org>
14042
14043         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14044         floats problem. I've left it commented out because it's not quite
14045         correct.  It should also test that the current object is a table or
14046         figure inset.  But I haven't gotten around to figuring out how to do
14047         that.  I *think* it'll be something like: "table" == inset.type()
14048
14049         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14050         bool.
14051
14052 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14053
14054         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14055         all the citation/databases/styles in the auxilary file.
14056         (run): Rerun latex if there was a babel language error.
14057
14058 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14059
14060         * text.C (Backspace): Preserve the font when changing newline char
14061         with a space.
14062         (BreakParagraph): If the cursor is before a space, delete the space.
14063
14064         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14065
14066 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14067
14068         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14069         new argument (code).
14070         (ChangeCitationsIfUnique): New method.
14071
14072         * paragraph.C (GetPositionOfInset): Handle bibkey.
14073
14074 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14075
14076         * BufferView_pimpl.h: change type of Position::par_pos to
14077         LyXParagraph::size_type.
14078
14079 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14080
14081         * BufferView_pimpl.C (savePosition, restorePosition): Write
14082         messages to minibuffer.
14083
14084 2001-01-28  José Matos  <jamatos@fep.up.pt>
14085
14086         * buffer.C (makeDocBookFile): adds support for document language.
14087         A silly restriction on the name of LatexCommand types where removed.
14088         Added support for CDATA sections, allows to chars unescaped, used
14089         among others in code, to avoid escape < and >.
14090
14091 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14092
14093         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14094         saved positions instrad of a stack. Furthermore, a position is
14095         stored using paragraph id/paragraph position.
14096
14097         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14098         Remove LFUN_REF_BACK.
14099
14100 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14101
14102         * converter.C (dvipdfm_options): New method.
14103
14104 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14105
14106         * vspace.C (isValidLength): Fix for empty input string.
14107
14108 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14109
14110         * LyXAction.C (init): change description of LFUN_FIGURE to
14111         "Insert Graphics"
14112
14113 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14114
14115         * LaTeX.C: add using directive
14116
14117 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14118
14119         * MenuBackend.C (expand): Fix the sorting of the formats.
14120
14121 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14122
14123         * lyx_main.C: tiny error message fix
14124
14125 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14126
14127         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14128         calling fl_initialize(). This fixes the problem with ',' as
14129         decimal separator in text files.
14130
14131 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14132
14133         * trans.C (process): Fix the keymap bug.
14134
14135 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14136
14137         * LaTeX.C (scanAuxFiles): New method. Provides support for
14138         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14139         (scanLogFile) Scan for "run BibTeX" messages.
14140
14141         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14142         OT1 font encoding. Also, load the aecompl package if the ae
14143         package is loaded.
14144
14145         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14146
14147 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14148
14149         * texrow.C (increasePos): turn two error messages into debug
14150         messages.
14151
14152 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14153
14154         * LaTeX.C (scanAux): Handle the \@input macro.
14155         (runBibTeX): Use scanAux().
14156
14157         * language.C (latex_options_): New field.
14158
14159         * LaTeXFeatures.C (getMacros): Add language macros.
14160
14161         * buffer.C (makeLaTeXFile): Small fix.
14162
14163 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14164
14165         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14166
14167         * text2.C: add a using directive.
14168
14169 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14170
14171         * BufferView2.C:
14172         * lyx_gui_misc.h:
14173         * lyxfr1.C:
14174         * lyxfunc.C: kill LyXBell.
14175
14176 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14177
14178         * text.C (IsBoundary): Remove the error message
14179
14180         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14181
14182         * lyxrc.C (setDefaults): Correct initialization value for
14183         font_norm_type.
14184
14185 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14186
14187         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14188         gotoError().
14189
14190         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14191         and GotoNextNote().
14192
14193         * src/LyXAction.C: Added reference-next.
14194
14195         * text.C (InsertChar): Use contains instead of strchr.
14196
14197         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14198
14199 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14200
14201         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14202         alignment commands (when needed).
14203
14204         * text.C (InsertChar): Add ':' to number separator chars.