]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
4e118415cc6dcdcae175d4e0a8ffa7365aaedab4
[lyx.git] / src / ChangeLog
1
2 2003-12-02  André Pönitz  <poenitz@gmx.net>
3
4         * lyxlex.[Ch]: make interface more similar to std::stream
5
6 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
7
8         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
9
10 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
11
12         * vspace.[Ch]: remove VSpace::NONE
13
14 2003-12-01  André Pönitz  <poenitz@gmx.net>
15
16         * buffer.[Ch]:
17         * lyxtext.h: move ParagraphList member to LyXText
18         rename LyXText::ownerParagraphs to LyXText::paragraph
19
20         * CutAndPaste.C:
21         * bufferview_funcs.C:
22         * iterators.[Ch]:
23         * lyx_cb.C:
24         * paragraph.C:
25         * rowpainter.C:
26         * tabular.C:
27         * text.C:
28         * text2.C:
29         * text3.C: adjust
30
31         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
32
33         * undo.C: fix cursor positioning 
34
35 2003-12-01  John Levon  <levon@movementarian.org>
36
37         * BufferView_pimpl.C: fix a crash on exit with
38         a buffer open
39
40 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
41
42         * BranchList.C: fix setSelected() method.
43
44 2003-11-28  André Pönitz  <poenitz@gmx.net>
45
46         * ParagraphParameters.[Ch]:
47         * ParameterStruct.h: remove space above/below from Paragraph to
48          InsetVSpace
49
50         * BufferView_pimpl.C:
51         * factory.C:
52         * lyxfunc.C:
53         * lyxtext.h:
54         * output_latex.C:
55         * paragraph.C:
56         * paragraph_funcs.C:
57         * rowpainter.[Ch]:
58         * text.C:
59         * text2.C:
60         * text3.C: adjust
61
62 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
63
64         * factory.C: Syntax change for CharStyles
65
66 2003-11-28  André Pönitz  <poenitz@gmx.net>
67
68         * BufferView.[Ch]:
69         * BufferView.[Ch]:
70         * buffer.[Ch]:
71         * buffer.[Ch]: move LyXText member
72
73 2003-11-28  André Pönitz  <poenitz@gmx.net>
74
75         * BufferView.[Ch]: make LyXText * text a private member
76
77         * BufferView_pimpl.C:
78         * cursor.C:
79         * iterators.C:
80         * lyx_cb.C:
81         * lyxfind.C:
82         * lyxtext.h:
83         * rowpainter.[Ch]:
84         * text.C:
85         * text2.C:
86         * undo.C: adjust
87
88         * output_plaintext.C: cleanup
89
90 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
91
92         * buffer.C: 
93         * lyxtextclass.[Ch]: parametrize SGML document header
94
95 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
96
97         * converter.[Ch]:
98         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
99         getFlavor().
100
101 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
102
103         * text2.C (setFont): rework using PosIterator (no more recursive)
104         (setCharFont): no more needed 
105         (setLayout): no more selection cursors fiddling (done by redoCursor)
106         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
107         destroy remaining ones)
108
109 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
110
111         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
112         * lyxtext.h: ditto
113         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
114         selection cursors
115         * lyxfunc.C: adjust
116         * text3.C: adjust + re-allow multi par depth changes
117         * textcursor.C: simplify a bit
118
119 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
120
121         * src/buffer.C:
122         * src/lyxlayout.C:
123         * src/lyxlayout.h:
124         * src/lyxtext.h:
125         * src/output_docbook.C:
126         * src/output_latex.C:
127         * src/paragraph.C:
128         * src/paragraph.h:
129         * src/sgml.C:
130         * src/sgml.h:
131         * src/text2.C: Introducing a number of tags parametrizing various
132         XML formats that we may want to support
133
134 2003-11-25  André Pönitz  <poenitz@gmx.net>
135
136         * InsetList.[Ch] (begein, end): inline as suggested by profiler
137
138         * lyxtext.h (leftMargin/rightMargin): simplify interface
139
140         * rowpainter.C:
141         * text.C:
142         * text2.C:
143         * text3.C: adjust
144
145 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
146
147         * lyxfunc.C (dispatch): propogate the bibtex databases from the
148         master file to any child files. Fixes bug 546.
149
150 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
151
152         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
153
154 2003-11-24  André Pönitz  <poenitz@gmx.net>
155
156         * rowpainter.C: simplification
157
158         * text2.C (updateCounters): remove call to redoParagraph on 
159         changed labels as this is far too expensive.
160
161 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
162
163         * converter.C (convert): fix a crash: this function gets
164         called with buffer == 0 from importer code.
165
166 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
167
168         * text3.C (cursorPrevious): make sure that we do not compare
169         iterators form different containers.
170         (cursorNext): ditto
171
172         * rowpainter.C (paintSelection): make sure that we do not compare
173         iterators from different containers.
174
175         * text3.C (dispatch): [PRIOR] make sure that we do not compare
176         iterators from different ParagraphList containers.
177         [NEXT] ditto
178
179         * text2.C (LyXText): change order of initialization slightly
180         (operator=): new function. copy all variables except cache_par_
181         (moveUp): make sure that we do not compare iterators from
182         different ParagraphList constainers.
183         (moveDown): ditto
184
185         * text.C (firstPar): new function
186         (lastPar): new function
187         (endPar): new function
188
189         * lyxtext.h: move things around and group public functions, public
190         variables, private functions, private variables
191
192 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
193
194         * factory.C: change call to InsetERT constructor to avoid
195         additional invocation of method status
196         * text2.C (toggleInset): remove redundant update() call
197         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
198         instead of a Bufferview pointer
199
200 2003-11-21  André Pönitz  <poenitz@gmx.net>
201
202         * rowpainter.C: simplification
203
204 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
205
206         * text3.C (dispatch): make possible to extend a word/row selection
207         with the mouse
208
209 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
210
211         * lyxtext.h: x0_,y0_ -> xo_,yo_
212         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
213         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
214         * rowpainter.C (paintRows): paint full paragraphs
215
216 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
217
218         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
219         screen coordinates)
220
221 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
222
223         * lyxtext.h: add x0_, y0_
224         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
225         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
226
227 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
228
229         * text2.C (setCursorIntern): move the x_target update here *
230         * text3.C: change some bv() to true/false in calls to
231         cursorUp/Down/Right/Left
232         * cursor.C: use helper function.
233
234 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
235
236         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
237         * paragraph_funcs.[Ch]: correct comment
238         * rowpainter.C: do not paint selections away from bv->cursor()
239         Fix a long standing selection painting bug.
240         * text3.C: generalize mouse-selection code to LyXTexts other that
241         top one
242         * textcursor.C: do not use y coords if we can use par offsets
243
244 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
245
246         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
247         cursor position after e.g. inset insert)
248
249 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
250
251         * lyxfind.C (replace): adjust to locking removal + some
252         code simplification
253
254 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
255
256         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
257         of the path
258
259 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
260
261         * lyxlayout.[Ch]:
262         * output_docbook.C: XML sanitation: new layout
263         parameters InnerTag and CommandDepth
264
265 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
266
267         * BufferView_pimpl.C:
268         * factory.C:
269         * text3.C: Fix the insertion and modification of button-style
270         insets
271
272 2003-11-13  André Pönitz  <poenitz@gmx.net>
273
274         * InsetList.[Ch]: remove deleteLyXText
275
276         * paragraph.[Ch]: cache beginOfBody position
277
278         * Bidi.C:
279         * text.C:
280         * text2.C:
281         * text3.C: remove superfluous update() calls
282
283         * vspace.C: cleanup
284
285 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
286
287         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
288         * BufferView.C (fitLockedInsetCursor): remove
289         * cursor.[Ch] (getDim): add
290         * text.C (getRowNearY): add faster version
291         * text3.C: remove some update calls
292
293 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
294
295         * LaTeXFeatures.C:
296         * LyXAction.C:
297         * MenuBackend.C:
298         * MenuBackend.h:
299         * dispatchresult.h:
300         * factory.C:
301         * lfuns.h:
302         * lyxfunc.C:
303         * lyxtextclass.C:
304         * lyxtextclass.h:
305         * text3.C: The Character Style /XML short element patch.
306
307 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
308
309         * text3.C:
310         * factory.C: Small step to solving 'unable to insert some insets'
311         problem
312
313 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
314
315         * cursor.[Ch] (updatePos): new function for updating the y
316         position of the tip inset
317         * bufferview_funcs.C (put_selection_at):
318         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
319
320 2003-11-11  André Pönitz  <poenitz@gmx.net>
321
322         * text.C: remove big comment on invalid Paragraph pointers as it is
323         not valid anymore
324
325 2003-11-11  André Pönitz  <poenitz@gmx.net>
326
327         * text_funcs.[Ch]: merge with ...
328
329         * text.C: ... this
330
331         * lyxtext.h:
332         * text2.C:
333         * text3.C: adjust
334
335         * Makefile.am: remove text_funcs.[Ch]
336
337 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
338
339         * cursor.C (getPos): return absolute cached y coord
340
341         * BufferView_pimpl.C (fitCursor): new simplistic code
342         (workAreaDispatch): add a fitCursor call
343
344 2003-11-10  André Pönitz  <poenitz@gmx.net>
345
346         * BufferView.[Ch]:
347         * BufferView_pimpl.[Ch]: merge update() and updateInset()
348
349 2003-11-10  André Pönitz  <poenitz@gmx.net>
350
351         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
352         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
353         indicate that the cursor needs to leave an inset
354
355         * lyxtext.h: remove inset locking
356
357         * cursor.[Ch]: re-implement functionality provided by inset locking
358
359         * BufferView.[Ch]:
360         * BufferView_pimpl.[Ch]:
361         * LyXAction.C:
362         * bufferview_funcs.[Ch]:
363         * factory.C:
364         * funcrequest.[Ch]:
365         * iterators.C:
366         * lyx_cb.C:
367         * lyxfind.C:
368         * lyxfunc.C:
369         * text.C:
370         * text2.C:
371         * text3.C:
372         * undo.C: adjust
373
374 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
375
376         * PosIterator.[Ch]: replace the stack with a vector, add inset
377         accesor
378         * iterators.[C]: adjust
379
380 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
381
382         * lyxfind.C (replaceAll): mark the buffer dirty if something was
383         replaced
384         * paragraph_funcs.C (readParToken): put the correct id in the
385         error item, not the id of the top paragraph
386
387 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
388
389         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
390         * bufferview_funcs.C (put_selection_at): use the above
391
392 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
393
394         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
395
396 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
397
398         * output_linuxdoc.h:
399         * output_plaintext.h:
400         * output.h:
401         * output_docbook.h: add #include statements
402
403 2003-11-05  José Matos  <jamatos@lyx.org>
404
405         * output_docbook.[Ch]:
406         * output_latex.[Ch]:
407         * output_linuxdoc.[Ch]:
408         * output_plaintext.[Ch]: New files for output formats.
409         * output.[Ch]: New file for helper functions.
410
411         * buffer.[Ch]:
412         * paragraph_funcs.[Ch]: output functions moved to new files.
413
414         * outputparams.h: rename of latexrunparams.h
415
416         * LaTeX.[Ch]:
417         * buffer.[Ch]:
418         * bufferlist.[Ch]:
419         * converter.[Ch]:
420         * exporter.C:
421         * paragraph.[Ch]:
422         * paragraph_funcs.[Ch]:
423         * paragraph_pimpl.[Ch]:
424         * tabular.[Ch]: rename ascii to plaintext
425         and LatexRunParams to OutputParams.
426
427 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
428
429         * iterators.[Ch] (text): require bv argument
430         * undo.C (recordUndo):
431         * lyxfunc.C (dispatch):
432         * bufferview_funcs.C (put_selection_at): adjust
433
434 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
435
436         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
437
438 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
439
440         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
441         nestings
442
443 2003-11-04  André Pönitz  <poenitz@gmx.net>
444
445         * cursor.[Ch]: restructure
446
447         * BufferView.[Ch]:
448         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
449
450         * iterators.[Ch] (asCursor): remove
451
452         * lfuns.h: remove LFUN_INSET_EDIT
453
454         * lyxfunc.C:
455         * tabular.C:
456         * text.C:
457         * text2.C:
458         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
459
460 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
461
462         * lyxfind.[Ch]: complete overhaul
463         * BufferView_pimpl.C:
464         * lyxfunc.C: adjust
465         * paragraph.[Ch] (insert): add
466
467 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
468
469         * BufferView.[Ch]:
470         * lyxtext.h:
471         * text.C: remove dead spellcheck code
472
473 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
474
475         * dispatchresult.h: add a val setter
476
477         * cursor.C (dispatch): use a tempvar for data_[i]
478
479 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
480
481         * PosIterator.[Ch]: compile fix
482
483 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
484
485         * text.C (cursorPar): deactivate the cursor cache
486
487 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
488
489         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
490
491 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
492
493         * text3.C (dispatch): adjust for new DisptchResult semantics.
494
495         * lyxfunc.C (dispatch): handle update when return from
496         Cursor::dispatch, adjust for new DispatchResult semantics.
497
498         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
499         DispatchResult(true) mean to not update. Add class functions for
500         setting dispatched and update, as well as reading.
501
502         * cursor.C (dispatch): don't handle update here
503
504 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
505
506         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
507         * trans_mgr.C: adjust
508
509         * paragraph_funcs.C (readParToken): exception safety
510
511         * lyxvc.h: store the vcs pointer in a scoped_ptr
512         * lyxvc.C: adjust
513
514         * lyxsocket.C (serverCallback): exception safety
515
516         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
517
518         * ispell.C (clone): make it return a auto_ptr
519
520         * factory.C (createInset): exception safety
521         (readInset): exception safety
522
523         * bufferlist.C (newBuffer): exception safety
524
525         * Thesaurus.C (Thesaurus): use initialization for aik_
526
527         * MenuBackend.C (expandToc): exception safety.
528
529 2003-11-03  André Pönitz  <poenitz@gmx.net>
530
531         * buffer.C:
532         * buffer.h:
533         * bufferview_funcs.C: remove getInsetFromId()
534
535         * lyxcursor.[Ch]:
536         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
537
538         * lyxfunc.C:
539         * text2.C:
540         * text3.C: adjust
541
542 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
543
544         * PosIterator.C (distance, advance): new
545         * bufferview_funcs.[Ch] (put_selection_at): new
546         * iterators.[Ch] (lockPath): new
547
548 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
549
550         * iterators.[Ch] (asPosIterator): added
551         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
552         * PosIterator.[Ch]: added
553
554 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
555
556         * text3.C:
557         * lyxfunc.C:
558         * cursor.C (dispatch):
559         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
560
561         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
562         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
563         contructor, add a class function dispatched. Remove operator>=
564
565 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
566
567         * debug.C: only use the default constructor for debugstream
568         (lyxerr) here.
569
570         * main.C (main): include debug.h and setup the lyxerr streambuf
571         here.
572
573 2003-10-31  José Matos  <jamatos@lyx.org>
574
575         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
576
577         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
578         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
579         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
580         * paragraph_pimpl.C (simpleTeXSpecialC):
581         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
582         add LatexRunParams argument.
583
584         * exporter.C (Export): change call accordingly.
585
586         * latexrunparams.h: add new member to take care of the other backends.
587 2003-10-30  José Matos  <jamatos@lyx.org>
588
589         * buffer.C (makeLinuxDocFile, makeDocBookFile):
590         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
591         factorise code for paragraph output.
592         * buffer.[Ch]:
593         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
594         move functions.
595
596 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
597
598         * text3.C (dispatch):
599         * lyxfunc.C (dispatch):
600         * cursor.C (dispatch):
601         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
602
603         * dispatchresult.h: make the dispatch_result_t ctor explicit
604
605 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
606
607         * sgml.[Ch]:
608         * buffer.C: small refactoring of docbook stuff
609
610 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
611
612         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
613         meaning.
614
615 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
616
617         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
618         operator dispatch_result_t, and operators for == != and >=
619
620         * cursor.C (dispatch): adjust for operator dispatch_result_t
621         removal. comment out call to update
622
623         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
624
625 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
626
627         * text3.C:
628         * text2.C:
629         * text.C:
630         * lyxtext.h:
631         * lyxfunc.C:
632         * cursor.C:
633         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
634         (dispatch):
635
636         * dispatchresult.h: new file, DispatchResult broken out of
637         insets/insetbase.h
638
639         * Makefile.am (lyx_SOURCES): add dispatchresult.h
640
641 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
642
643         * text.C (rowBreakPoint): put a hack inside #if 0
644
645 2003-10-28  André Pönitz  <poenitz@gmx.net>
646
647         * lyxtext.h:
648         * metricsinfo.C:
649         * paragraph_funcs.C:
650         * rowpainter.C:
651         * text.C:
652         * text2.C: general cleanup (lots of small stuff)
653
654 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
655
656         * text2.C (cursorEnd): simple fix to the "end key goes to one
657         before the end on last row" bug
658
659 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
660
661         * text.C (backspace): fix the "zombie characters"
662
663 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
664
665         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
666
667 2003-10-27  André Pönitz  <poenitz@gmx.net>
668
669         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
670
671         * factory.C: handle new InsetPagebreak, InsetLine
672
673         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
674         and move handling into new InsetPagebreak, InsetLine
675
676         * BufferView_pimpl.C:
677         * LyXAction.C:
678         * ParagraphParameters.C:
679         * ParameterStruct.h:
680         * lyxfunc.C:
681         * lyxtext.h:
682         * paragraph.C:
683         * paragraph.h:
684         * paragraph_funcs.C:
685         * paragraph_pimpl.C:
686         * rowpainter.C:
687         * text.C:
688         * text2.C:
689         * text3.C: adjust
690
691 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
692
693         * text.C:
694         * lyxrow_funcs.[Ch]:
695         * Bidi.C:
696         * paragraph.C:
697         * lyxtext.h:
698         * rowpainter.C:
699         * text2.C:
700         * text3.C: remove lastPos uses in favour of Row::endpos
701
702 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
703
704         * undo.C (performUndoOrRedo): fix two crashes by setting a
705         cursor by hand and reordering some calls. Use bv->lockInset instead
706         of inset->edit because the latter loses cursor information
707
708 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
709
710         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
711         by Martin
712         (rowBreakPoint): fix width. change point to point + 1.
713         Add a missing check.
714
715 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
716
717         * MenuBackend.C:
718         * lyxfunc.C: fix (at least partly) the problems
719         with the Nav menu and headers inside branch insets
720         reported by Kayvan
721
722 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
723
724         * paragraph.C (getChar): add strong asserts
725
726         * lyxrow_funcs.C (lastPos): remove hideous hack
727
728         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
729         (fill): adjust to that (avoid an infinite loop)
730
731 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
732
733         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
734
735 2003-10-23  André Pönitz  <poenitz@gmx.net>
736
737         * RowList_fwd.h: change list<> to vector<> to gain speed
738         after suggestion from Alfredo
739
740 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
741
742         * lyxtext.h: move the bidi stuff from here...
743         * text.C: and here
744         * text2.C: and here
745         * Bidi.[Ch]: ... to here
746
747 2003-10-23  André Pönitz  <poenitz@gmx.net>
748
749         * lyxtext.h:
750         * text.C (isLastRow, isFirstRow): new functions
751
752         * paragraph.h: new width cache member
753
754         * rowpainter.C: replace RowList::iterator with Row & where possible
755
756         * lyxfunc.C: replace several view()->text with a single call
757
758         * toc.C: fix 'unused' warning
759
760 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
761
762         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
763         when woring with stream::pos_type
764         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
765
766 2003-10-22  André Pönitz  <poenitz@gmx.net>
767
768         * lyxtext.h:
769         * text.C: use Row & instead of RowList::iterator
770
771         * lyxrow.h: rename end() to endpos()
772
773         * rowpainter.C:
774         * text.C:
775         * text2.C: adjust
776
777 2003-10-22  Angus Leeming  <leeming@lyx.org>
778
779         * buffer.[Ch] (fully_loaded): new member function, returning true
780         only when the file has been loaded fully.
781         Used to prevent the premature generation of previews and by the
782         citation inset to prevent computation of the natbib-style label.
783
784         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
785         templates are all set up.
786
787         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
788
789 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
790
791         * text.C: fixed an "oops" in the "is a bit silly"
792         bug fix
793
794 2003-10-21  André Pönitz  <poenitz@gmx.net>
795
796         * FuncStatus.[Ch]: small stuff, whitespace
797
798         * lyxfont.[Ch]: operator<<() for debug reasons
799
800         * lyxfunc.C:
801         * lyxrow_funcs.C:
802         * lyxtext.h: whitespace, spelling
803
804         * paragraph.C: naming of variables
805
806         * text.C:
807         * text2.C: small stuff
808
809
810 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
811
812         * text.C: (1) finish off the inset display() work;
813         (2) fix the "is a bit silly" bug (accessing char
814         past end of par).
815
816 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
817
818         * text.C: re-introduce display() for insets, fixing the
819         various bugs (stretch of line above, math inset
820         positioning, ...)
821
822 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
823
824         * text.C (rightMargin): remove spurious semicolon
825
826         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
827         1415)
828
829 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
830
831         * text3.C: fix one crash due to wrong cursor def
832
833 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
834
835         * vc-backend.C (scanMaster): make the regex static
836
837         * LaTeX.C (scanAuxFile): make the regexs static
838
839         * text3.C (doInsertInset, dispatch, dispatch):
840         * text2.C (cursorUp, cursorDown):
841         * text.C (selectNextWordToSpellcheck):
842         * BufferView_pimpl.C (dispatch):
843         * lyxfunc.C (dispatch):  localDispatch -> dispatch
844
845 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
846
847         * lyxsocket.C: include <cerrno>
848
849 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
850
851         * lyxfunc.C (dispatch): remove textcache stuff
852
853         * bufferlist.C (release): remove textcache stuff
854         (closeAll): ditto
855
856         * TextCache.C: delete file
857         * TextCache.h: delete file
858
859         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
860
861         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
862         delete of the bv_->text.
863         (resizeCurrentBuffer): remove texcache stuff
864         (workAreaResize): ditto
865
866 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
867
868         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
869         action.
870
871 2003-10-16  André Pönitz  <poenitz@gmx.net>
872
873         * lyxrow.[Ch]:
874         * paragraph.h:
875         * rowpainter.C:
876         * text.C:
877         * text2.C:
878         * text3.C: speed up by storing y positions per paragraph plus per-row
879         offset instead of having a 'full' y position in the row.
880
881 2003-10-15  André Pönitz  <poenitz@gmx.net>
882
883         * iterators.[Ch]:
884         * iterators.[Ch]:
885         * undo.[Ch]: make undo aware of inner insets
886
887 2003-10-14  Angus Leeming  <leeming@lyx.org>
888
889         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
890         static member functions LyX::ref() and LyX::cref.
891         (lastfiles): new accessor functions for the new lastfiles_ member var.
892         (addLyXView, views_): add a new LyXView to the list of views_.
893         (updateInset): loop over all LyXViews to call their own updateInset
894         member function, returning a pointer to the Buffer owning the inset.
895
896         * BufferView_pimpl.C (loadLyXFile):
897         * MenuBackend.C (expandLastfiles):
898         * bufferlist.C (MenuWrite, QuitLyX):
899         lastfiles is no longer a global variable.
900         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
901
902         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
903         static function. Access through LyX::cref().emergencyCleanup().
904
905 2003-10-14  André Pönitz  <poenitz@gmx.net>
906
907         * iterators.[Ch]: new direct access to innermost LyXText and Inset
908
909         * undo.[Ch]: restoring part of 'undo in insets'
910
911         * Makefile.am:
912         * undo_funcs.[Ch]: merge with undo.[Ch]
913
914         * tabular.C: small cleansing stuff
915
916 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
917
918         * paragraph_funcs.C (readParToken): report unknown insets as error
919         boxes. Use the outer paragraph as location (also for unknown
920         tokens).
921
922         * factory.C (readInset): do not abort on reading an unknown inset.
923         Eat it and return 0.
924
925 2003-10-13  Angus Leeming  <leeming@lyx.org>
926
927         * lyx_main.C (LyX): remove call to setDisplayTranslator().
928
929         * lyxrc.C: displayTranslator is now a function,
930         declared in GraphicsTypes.h.
931
932 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
933
934         * format.C: new placeholder $$a to pass the socket address.
935
936         * bufferlist.[Ch]: new function getBufferFromTmp.
937
938         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
939           files in the temporary dir.
940
941 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
942
943         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
944
945         * Makefile.am: add lyxsocket.[Ch].
946
947         * lyx_main.C (error_handler): handle SIGPIPE.
948
949 2003-10-13  André Pönitz  <poenitz@gmx.net>
950
951         * BufferView_pimpl.C:
952         * lyxtext.h:
953         * text.C:
954         * text2.C:
955         * text3.C:
956         * undo_funcs.[Ch]: use paroffset_type instead of
957           ParagraphList::iterators to prevent multiple conversion
958           (and get a more robust interface)
959
960 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
961
962         * lyxfunc.C (dispatch): RESULT -> dispatch_result
963         * lyxtext.h: ditto
964         * text3.C (dispatch): ditto
965
966 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
967
968         * LaTeX.C (handleFoundFile): move the static to smaller scope,
969         move the onlyfile, use onlyfile instead of foundfile in a couple
970         of places.
971
972         * DepTable.C (update): flush the error stream a bit more
973
974 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
975
976         * lyxserver.C (callback): adjust
977
978         * lyxfunc.C (getStatus): add a missing brace in commented code
979         (ensureBufferClean): reindent
980         (dispatch): delete version taking a string
981
982 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
983
984         * LaTeX.C (deplog): move found file handlig from here...
985         (handleFoundFile): .. to new function here.
986         (deplog): make sure to discover several files mentioned on the
987         same log line.
988
989 2003-10-10  André Pönitz  <poenitz@gmx.net>
990
991         * lyxfunc.C:
992         * lyxtext.h:
993         * tabular.C:
994         * text.C:
995         * text2.C:
996         * text3.C: fix some of the tabular crashes
997
998 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
999
1000         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1001
1002         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1003
1004 2003-10-09  André Pönitz  <poenitz@gmx.net>
1005
1006         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1007
1008         * BufferView.C:
1009         * BufferView_pimpl.C:
1010         * bufferview_funcs.C:
1011         * lyx_cb.C:
1012         * lyxcursor.C:
1013         * lyxfind.C:
1014         * lyxfunc.C:
1015         * lyxtext.h:
1016         * text.C:
1017         * text2.C:
1018         * text3.C:
1019         * text_funcs.[Ch]:
1020         * textcursor.[Ch]:
1021         * undo_funcs.C: adjust
1022
1023 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1024
1025         * text2.C (incrementItemDepth): new function, use a backtracking
1026         algorithm to discover the correct item depth.
1027         (resetEnumCounterIfNeeded): new function, use a backtracking
1028         algorithm to discover if counter reset is needed.
1029         (setCounter): use them. Simplify a bit. Add different labels for
1030         different item depths for itemize.
1031
1032         * paragraph.C (Paragraph): remove initialization of enumdepth
1033         (operator=): ditto
1034
1035         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1036         enumerate and itemize. Change the type of itemdepth to signed char.
1037
1038 2003-10-08  André Pönitz  <poenitz@gmx.net>
1039
1040         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1041           thing assignable.
1042         * text.C:
1043         * text2.C: adjust
1044
1045         * tabular.[Ch]: fix crash after 'row-insert'
1046
1047 2003-10-08  Angus Leeming  <leeming@lyx.org>
1048
1049         Fix doxygen warnings.
1050
1051         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1052         Remove CutAndPaste:: prefix from header file declaration.
1053
1054         * LColor.h (fill): remove LColor:: prefix from declaration.
1055
1056         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1057         use lyx::depth_type rather than Paragraph::depth_type so that
1058         header file and .C file match.
1059
1060         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1061
1062         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1063         * aspell.C: \file aspell_local.C -> \file aspell.C
1064         * gettext.C: \file gettext.C -> \file src/gettext.C
1065         * gettext.h: \file gettext.h -> \file src/gettext.h
1066         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1067         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1068         * text.C: \file text.C -> \file src/text.C
1069
1070         * toc.C: move comment so that doxygen is not confused.
1071
1072 2003-10-07  Angus Leeming  <leeming@lyx.org>
1073
1074         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1075
1076 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1077
1078         * aspell.C:
1079         * aspell_local.h: add forgotten std::string's.
1080
1081 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1082
1083         * LaTeXFeatures.C:
1084         * LyXAction.C:
1085         * factory.C:
1086         * lfuns.h:
1087         * lyxfunc.C:
1088         * text3.C: The Box patch. Fancybox support, minipage, parbox
1089
1090 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1091
1092         * CutAndPaste.h:
1093         * DepTable.h:
1094         * FloatList.h:
1095         * LaTeXFeatures.h:
1096         * ParagraphParameters.h:
1097         * TextCache.h:
1098         * Thesaurus.h:
1099         * bufferlist.h:
1100         * exporter.h:
1101         * importer.h:
1102         * lastfiles.h:
1103         * lyxfind.h:
1104         * lyxfont.h:
1105         * lyxlex.h:
1106         * lyxtextclasslist.h:
1107         * messages.h:
1108         * paragraph.h:
1109         * paragraph_pimpl.C:
1110         * textcursor.h: add <string> and other small fixes to make Lars'
1111         std::string patch compile with STLport.
1112
1113 2003-10-06  Angus Leeming  <leeming@lyx.org>
1114
1115         * LColor.h: Add missing #include <string>.
1116
1117 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1118
1119         * All most all file in all subdirs: Make <string> be the prefered
1120         way of getting to std::string, add using declarations.
1121
1122 2003-10-06  André Pönitz  <poenitz@gmx.net>
1123
1124         * metricsinfo.C: initialize LyXFont before changing attribute.
1125         (fixes the 'math in \emph is upright' bug)
1126
1127 2003-10-06  André Pönitz  <poenitz@gmx.net>
1128
1129         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1130
1131 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1132
1133         * graph.C:
1134         * paragraph_pimpl.C: Small fixes to build using STLport
1135
1136 2003-10-02  André Pönitz  <poenitz@gmx.net>
1137
1138         * lyxfunc.C:
1139         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1140
1141 2003-10-01  André Pönitz  <poenitz@gmx.net>
1142
1143         * factory.C: assert early
1144
1145 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1146
1147         * lyx_main.C: remove the global debug object
1148
1149         * debug.h: adjust for new debugstream
1150
1151         * debug.C: adjust for new debugstream and keep the global debug
1152         object here.
1153
1154 2003-09-22  Angus Leeming  <leeming@lyx.org>
1155
1156         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1157         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1158         an incomplete class LyXFont.
1159
1160 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1161
1162         * factory.C: bug fix in branches
1163
1164 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1165
1166         * lyxfunc.C (processKeySym): adjust
1167         (dispatch): adjust
1168         (dispatch): change arg name from ev to func, adjust
1169         (sendDispatchMessage): ditto
1170
1171         * lyx_main.C (defaultKeyBindings): adjust keybindings
1172         (deadKeyBindings): ditto
1173
1174         * kbsequence.C (addkey): return a FuncRequest
1175
1176         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1177
1178         * kbmap.C (bind): take a FuncRequest as arg, adjust
1179         (read): adjust
1180         (lookup): adjust
1181         (defkey): change to take a FuncRequest as arg, adjust
1182         (findbinding): take a FuncRequest as arg, adjust.
1183
1184         * funcrequest.h (operator=): added
1185
1186         * funcrequest.C (FuncRequest): default kb_action changed from
1187         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1188
1189         * buffer.C (dispatch): simplify
1190         (dispatch): adjust to take a FuncRequest as arg, adjust
1191
1192         * boost.C (assertion_failed): change assertion message slightly
1193
1194         * ToolbarBackend.C (read): simplify
1195
1196         * MenuBackend.C (binding): adjust call to findbinding, add a
1197         message if no binding is found.
1198         (read): simplify
1199         (expandToc): correct by adding a empty FuncRequest
1200
1201         * LyXAction.C: include <boost/assert.hpp>
1202         (isPseudoAction): delete function
1203         (LookupFunc): change name to...
1204         (lookupFunc): this. change return type to FuncRequest.
1205         (getActionName): take kb_action as arg, simplify
1206         (funcHasFlag): add an assert, simplify.
1207
1208 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1209
1210         * toc.C (action): return a FuncRequest, simplify
1211
1212         * lyxfunc.C (processKeySym): adjust
1213         (getStatus): delete version that takes an int.
1214         (getStatus): adjust
1215         (dispatch): delete version that takes action as int
1216         (dispatch): adjust
1217         (sendDispatchMessage): simplify and adjust
1218
1219         * funcrequest.C (getArg): take unsigned int as arg
1220
1221         * ToolbarBackend.C (read): adjust
1222         (add): delete version that takes func as a string.
1223         (getIton): take a FuncRequest as arg
1224
1225         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1226         action.
1227
1228         * MenuBackend.C (MenuItem): add a new construct that only takes a
1229         Kind, simplify the constructor use for submenus.
1230         (add): adjust
1231         (expandLastfiles): adjust
1232         (expandDocuments): adjust
1233         (expandFormats): adjust
1234         (expandFloatListInsert): adjust
1235         (expandFloatInsert): adjust
1236         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1237
1238         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1239         Remove class variables lyx_pseudo_map and lyx_arg_map
1240
1241         * LyXAction.C (searchActionArg): delete function
1242         (getPseudoAction): delete function
1243         (retrieveActionArg): delete function
1244         (LookupFunc): make it return kb_action, simplify.
1245         (getActionName): simplify
1246
1247         * factory.C (createInset): fix new bug
1248
1249 2003-09-19  Angus Leeming  <leeming@lyx.org>
1250
1251         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1252         masterFilename_ parameter in the include inset.
1253
1254         * factory.C (createInset): changes due to the changes to InsetInclude.
1255
1256 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1257
1258         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1259
1260 2003-09-18  Angus Leeming  <leeming@lyx.org>
1261
1262         * buffer.C:
1263         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1264         Inset::fillWithBibKeys.
1265         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1266
1267 2003-09-18  Angus Leeming  <leeming@lyx.org>
1268
1269         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1270         variables.
1271         (ctor): pass and store a 'Buffer const &'
1272         (buffer): new member function.
1273
1274         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1275         '*this' to the LaTeXFeatures ctor.
1276
1277 2003-09-18  Angus Leeming  <leeming@lyx.org>
1278
1279         * LColor.h:
1280         * lyxfont.C:
1281         * lyxfont.h:
1282         * lyxtext.h:
1283         * text.C: rename EnumLColor as LColor_color.
1284
1285 2003-09-18  Angus Leeming  <leeming@lyx.org>
1286
1287         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1288         remove #include "insets/insetbase.h" from cursor.h.
1289
1290 2003-09-18  Angus Leeming  <leeming@lyx.org>
1291
1292         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1293         InsetOld_code to remove #include "inset.h".
1294
1295         * iterators.C: add #include "insets/inset.h"
1296
1297 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1298
1299         * BufferView.C: remove more locking stuff that apparently doesn't
1300         do anything sensible.
1301
1302 2003-09-16  André Pönitz  <poenitz@gmx.net>
1303
1304         * paragraph.[Ch]:
1305         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1306           performance boost.
1307
1308 2003-09-16  Angus Leeming  <leeming@lyx.org>
1309
1310         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1311
1312         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1313         arg/return type.
1314
1315         * paragraph.h: remove #include "lyxfont.h". Forward declare
1316         LyXFont_size.
1317
1318 2003-09-16  Angus Leeming  <leeming@lyx.org>
1319
1320         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1321         of support/textutils.h.
1322         (isWord): move the contents of support/textutils.h's IsWordChar here.
1323
1324         * buffer.C:
1325         * lyxfind.C:
1326         * rowpainter.C:
1327         * text.C:
1328         * text2.C: add #include "paragraph.h".
1329
1330         * rowpainter.C:
1331         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1332
1333 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1334
1335         * main.C:
1336         * lyx_main.C:
1337         * lyx_cb.C:
1338         * buffer.C:
1339         * LaTeX.C: use namespace alias for lyx::support::os
1340
1341 2003-09-16  Angus Leeming  <leeming@lyx.org>
1342
1343         * bufferparams.C:
1344         * bufferview_funcs.C:
1345         * factory.C:
1346         * lyxfunc.C:
1347         * paragraph_pimpl.C:
1348         * rowpainter.C:
1349         * text.C: add #include "LColor.h".
1350
1351 2003-09-16  Angus Leeming  <leeming@lyx.org>
1352
1353         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1354         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1355         return LyXFont &.
1356         Store the FontBits::color variable as an int rather than as an
1357         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1358         file.
1359
1360         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1361         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1362         string calls together.
1363
1364         * lyxrc.C: add #include "LColor.h".
1365
1366 2003-09-15  Angus Leeming  <leeming@lyx.org>
1367
1368         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1369         a cow_ptr.
1370
1371 2003-09-15  Angus Leeming  <leeming@lyx.org>
1372
1373         * LColor.h: add an EnumLColor wrapper for LColor::color.
1374
1375         * lyxfont.[Ch] (color, setColor, realColor):
1376         * lyxtext.h, text.C (backgroundColor):
1377         pass EnumLColor args to/from the functions, rather than LColor::color
1378         ones.
1379
1380         * lyxfont.h:
1381         * lyxtext.h: forward declare EnumLColor.
1382
1383         * lyx_main.C: add #include "LColor.h".
1384
1385 2003-09-15  Angus Leeming  <leeming@lyx.org>
1386
1387         * .cvsignore: add lyx-gtk.
1388
1389 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1390
1391         * Chktex.C
1392         * LaTeX.C
1393         * LaTeXFeatures.C
1394         * ParagraphParameters.C
1395         * Spacing.C
1396         * buffer.C
1397         * bufferparams.C
1398         * bufferview_funcs.C
1399         * chset.C
1400         * counters.C
1401         * funcrequest.C
1402         * lyxfont.C
1403         * lyxgluelength.C
1404         * lyxlength.C
1405         * paragraph.C
1406         * paragraph_funcs.C
1407         * text3.C
1408         * vc-backend.C: remove usage of STRCONV
1409
1410 2003-09-15  Angus Leeming  <leeming@lyx.org>
1411
1412         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1413         explicitly define the color passed to the painter.
1414
1415 2003-09-15  Angus Leeming  <leeming@lyx.org>
1416
1417         * bufferparams.C (BufferParams): reorder member initializers to avoid
1418         compiler warning.
1419
1420 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1421
1422         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1423         * text.C (updateRowPositions): remove an unusual nop
1424
1425 2003-09-12  André Pönitz  <poenitz@gmx.net>
1426
1427         * BufferView_pimpl.C:
1428         * Bullet.C:
1429         * layout.h:
1430         * lyxfunc.C:
1431         * lyxlayout.[Ch]:
1432         * lyxtextclass.C:
1433         * rowpainter.C:
1434         * text.C:
1435         * text2.C:
1436         * Counters.[Ch]: finish the 'automatic counters' job
1437
1438 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1439
1440         * aspell.C: include <boost/assert.cpp> (compile fix)
1441
1442 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1443
1444         * boost.C (assertion_failed): use lyx::support::abort instead of
1445         assert.
1446
1447 2003-09-10  Angus Leeming  <leeming@lyx.org>
1448
1449         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1450         with their _fwd progeny.
1451
1452 2003-09-09  Angus Leeming  <leeming@lyx.org>
1453
1454         134 files throughtout the source tree: replace 'using namespace abc;'
1455         directives with the appropriate 'using abc::xyz;' declarations.
1456
1457 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1458
1459         * boost.C (emergencyCleanup): moved here from LAssert.c
1460         (assertion_failed): new function, called by BOOST_ASSERT
1461
1462         * several files: change Assert to BOOST_ASSERT
1463
1464 2003-09-09  Angus Leeming  <leeming@lyx.org>
1465
1466         * buffer.[Ch]: Add an Impl class and move Buffer's member
1467         variables into it. As a result move several header files out of
1468         buffer.h.
1469
1470         Add header files to lots of .C files all over the tree as a result.
1471
1472 2003-09-09  Angus Leeming  <leeming@lyx.org>
1473
1474         * buffer.[Ch]: make Buffer's member variables private. Add
1475         accessor functions.
1476
1477         Lots of changes all over the tree as a result.
1478
1479 2003-09-08  Angus Leeming  <leeming@lyx.org>
1480
1481         * graph.C: #include <config.h>.
1482
1483 2003-09-08  Angus Leeming  <leeming@lyx.org>
1484
1485         * BranchList.C:
1486         * BufferView.C:
1487         * BufferView_pimpl.C:
1488         * CutAndPaste.C:
1489         * DepTable.C:
1490         * LaTeX.C:
1491         * LaTeXFeatures.C:
1492         * LyXAction.C:
1493         * MenuBackend.C:
1494         * TextCache.C:
1495         * aspell.C:
1496         * buffer.C:
1497         * bufferlist.C:
1498         * changes.C:
1499         * chset.C:
1500         * converter.C:
1501         * counters.C:
1502         * debug.C:
1503         * graph.C:
1504         * ispell.C:
1505         * lyx_cb.C:
1506         * lyxfind.C:
1507         * lyxfunc.C:
1508         * lyxlex_pimpl.C:
1509         * lyxrc.C:
1510         * lyxrow.C:
1511         * paragraph.C:
1512         * rowpainter.C:
1513         * texrow.C:
1514         * text.C:
1515         * text2.C:
1516         * toc.C: remove redundant using directives.
1517
1518 2003-09-07  Angus Leeming  <leeming@lyx.org>
1519
1520         * LaTeXFeatures.h: remove #include "support/types.h".
1521         * ToolbarBackend.h: remove #include <algorithm>.
1522         * changes.h: remove #include <ctime>.
1523         * debug.h: remove #include <iosfwd>.
1524         * graph.h: remove #include "support/std_string.h".
1525         * lyx_main.h: remove #include <csignal>.
1526         * lyxlex_pimpl.h: remove #include <fstream>.
1527         * sgml.h: remove #include <algorithm>, <utility>.
1528         * toc.h: remove #include "support/std_ostream.h".
1529         Add #include <iosfwd>.
1530
1531 2003-09-07  Angus Leeming  <leeming@lyx.org>
1532
1533         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1534
1535         * converter.h: forward declare LatexRunParams.
1536         * encoding.h: remove #include "lyxrc.h".
1537         * lyxtext.h: remove #include "LColor.h".
1538         * lyxtextclass.h: remove #include "support/types.h".
1539         * trans.h: remove #include "tex-accent.h".
1540         * trans_mgr.h: remove #include "tex-accent.h".
1541         * insets/inset.h: remove #include "support/types.h", <vector>.
1542         * insets/insetcollapsable.h: remove #include "LColor.h".
1543         * insets/insetinclude.h: remove #include "dimension.h".
1544         * insets/insetlatexaccent.h: remove #include "dimension.h".
1545         * insets/insetoptarg.h:: remove #include "insettext.h".
1546         * insets/insettext.h: remove #include "dimension.h",
1547         <boost/shared_ptr.hpp>
1548
1549         * insets/renderers.h: add #include "dimension.h".
1550         * insets/updatableinset.h: add #include "support/types.h".
1551
1552         * many .C files: Associated changes.
1553
1554 2003-09-06  Angus Leeming  <leeming@lyx.org>
1555
1556         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1557         one, inside testInvariant.
1558
1559         * PrinterParams.C: new file.
1560         * PrinterParams.[Ch]: move the function bodies out of line.
1561
1562 2003-09-06  Angus Leeming  <leeming@lyx.org>
1563
1564         * ParagraphParameters.h: forward declare ParameterStruct rather than
1565         including its header file.
1566         (depth): moved out-of-line.
1567
1568 2003-09-06  Angus Leeming  <leeming@lyx.org>
1569
1570         * BufferView_pimpl.h:
1571         * kbmap.h:
1572         * kbsequence.h:
1573         * lyxfunc.h: forward declare LyXKeySym rather than
1574         #include "frontends/LyXKeySym.h".
1575
1576         * BufferView_pimpl.C:
1577         * kbmap.C:
1578         * kbsequence.C:
1579         * lyxfunc.C: associated changes.
1580
1581 2003-09-06  Angus Leeming  <leeming@lyx.org>
1582
1583         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1584         As a result, can remove the #include "insets/inset.h" from BufferView.h
1585
1586 2003-09-06  Angus Leeming  <leeming@lyx.org>
1587
1588         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1589         As a result, can remove the #include "insets/inset.h" from BufferView.h
1590
1591 2003-09-06  Angus Leeming  <leeming@lyx.org>
1592
1593         * buffer_funcs.C:
1594         * buffer.h:
1595         * bufferlist.C:
1596         * BufferView.C:
1597         * bufferview_funcs.C:
1598         * BufferView_pimpl.C:
1599         * CutAndPaste.C:
1600         * lyx_cb.C:
1601         * lyxfunc.C:
1602         * paragraph.h:
1603         * ParagraphParameters.C:
1604         * tabular.C:
1605         * text3.C:
1606         * toc.C:
1607         * undo_funcs.C:
1608         * frontends/controllers/ControlDocument.C:
1609         * insets/insetcaption.C: rearrange the #includes into some sort of
1610         coherent order.
1611
1612         * buffer.h: remove #includes ErrorList.h, undo.h
1613
1614 2003-09-06  Angus Leeming  <leeming@lyx.org>
1615
1616         * support/types.h: add a 'depth_type' typedef, used to store the
1617         nesting depth of a paragraph.
1618
1619         * paragraph.h:
1620         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1621         defining explicitly.
1622
1623         * buffer.h:
1624         * paragraph_funcs.h:
1625         * ParagraphParameters.h:
1626         * sgml.h: use lyx::depth_type rather than Paragraph or
1627         ParameterStruct's depth_type.
1628
1629         * buffer.h
1630         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1631
1632         * BufferView.C:
1633         * BufferView_pimpl.C:
1634         * CutAndPaste.C:
1635         * ParagraphParameters.C:
1636         * buffer_funcs.C:
1637         * bufferlist.C:
1638         * bufferview_funcs.C:
1639         * lyx_cb.C:
1640         * lyxfunc.C:
1641         * tabular.C:
1642         * text3.C:
1643         * toc.C:
1644         * undo_funcs.C:
1645         * frontends/LyXView.C:
1646         * frontends/controllers/ControlDocument.C:
1647         * frontends/controllers/ControlErrorList.C:
1648         * insets/insetbibitem.C:
1649         * insets/insetbranch.C:
1650         * insets/insetcaption.C:
1651         * insets/insetcollapsable.C:
1652         * insets/insetenv.C:
1653         * insets/insetert.C:
1654         * insets/insetfloat.C:
1655         * insets/insetfoot.C:
1656         * insets/insetfootlike.C:
1657         * insets/insetnewline.C:
1658         * insets/insetquotes.C:
1659         * insets/insettabular.C:
1660         * insets/insettext.C:
1661         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1662
1663         * frontends/controllers/ControlChanges.C: #include "changes.h".
1664
1665 2003-09-06  Angus Leeming  <leeming@lyx.org>
1666
1667         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1668         than #including paragraph.h.
1669
1670         * ParagraphList.h:
1671         * RowList.h: deleted. Superfluous.
1672
1673         * CutAndPaste.h:
1674         * iterators.h:
1675         * lyxcursor.h:
1676         * lyxtext.h:
1677         * text_funcs.h:
1678         * undo.h:
1679         * undo_funcs.h:
1680         * insets/inset.h:
1681         * insets/insettext.h: use ParagraphList_fwd.h rather than
1682         ParagraphList.h.
1683
1684         * paragraph.h: don't forward declare ParagraphList.
1685
1686         * buffer.h:
1687         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1688         rather than ParagraphList.h. paragraph.h is still needed for the
1689         Paragraph::depth_type parameters.
1690
1691         * textcursor.h: enable it to compile stand-alone in light of the
1692         above changes.
1693
1694         * bufferview_funcs.C:
1695         * iterators.C:
1696         * lyxfunc.C:
1697         * lyxrow_funcs.C:
1698         * paragraph.C:
1699         * rowpainter.C:
1700         * text.C:
1701         * text2.C:
1702         * text3.C:
1703         * text_funcs.C:
1704         * textcursor.C:
1705         * undo.C:
1706         * frontends/controllers/ControlParagraph.C:
1707         * frontends/controllers/ControlTabular.C:
1708         * insets/insetmarginal.C:
1709         * insets/insetminipage.C:
1710         * insets/insetnote.C:
1711         * insets/insetoptarg.C: add header files needed to compile again.
1712
1713 2003-09-06  Angus Leeming  <leeming@lyx.org>
1714
1715         * RowList_fwd.h: new file, forward-declaring Row rather than
1716         #including lyxrow.h.
1717
1718         * lyxrow_funcs.h:
1719         * lyxtext.h:
1720         * paragraph.h:
1721         * insets/insettext.h: use it instead of RowList.h
1722
1723         * bufferview_funcs.C:
1724         * lyxfunc.C:
1725         * lyxrow_funcs.C:
1726         * paragraph.C:
1727         * rowpainter.C:
1728         * text.C:
1729         * text2.C:
1730         * text3.C: #include "RowList.h".
1731
1732 2003-09-05  Angus Leeming  <leeming@lyx.org>
1733
1734         * factory.C (createInset):
1735         * vspace.C (c-tor): replace sscanf call with an istringstream.
1736         * ispell.C: re-add missing HP/UX headers.
1737         * lyxserver.C: re-add missing  os2 headers.
1738
1739 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1740
1741         * BranchList.C:
1742         * graph.C:
1743         * ispell.C:
1744         * lastfiles.C:
1745         * lyx_cb.C:
1746         * lyxserver.C:
1747         * texrow.C:
1748         * text3.C: re-add missing system headers, needed for 2.95.2.
1749
1750 2003-09-05  Angus Leeming  <leeming@lyx.org>
1751
1752         Changes most place everywhere due to the removal of using directives
1753         from support/std_sstream.h.
1754
1755 2003-09-05  Angus Leeming  <leeming@lyx.org>
1756
1757         Replace LString.h with support/std_string.h,
1758         Lsstream.h with support/std_sstream.h,
1759         support/LIstream.h with support/std_istream.h,
1760         support/LOstream.h with support/std_ostream.h.
1761
1762         Changes resulting throughout the tree.
1763
1764 2003-09-05  Angus Leeming  <leeming@lyx.org>
1765
1766         * sgml.h: ensure that the header file can be compiled stand-alone.
1767         * *.C: strip out redundant #includes. (320 in total.)
1768
1769 2003-09-04  Angus Leeming  <leeming@lyx.org>
1770
1771         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1772         here (from getPackages).
1773
1774         * debug.[Ch]: add a new EXTERNAL tag.
1775
1776 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1777
1778         * text2.C (cursorEnd): simplify
1779         (setCursor): adjust
1780         (getColumnNearX): adjust
1781
1782         * text.C (computeBidiTables): adjust
1783         (fill): adjust
1784
1785         * rowpainter.C (paintChars): adjust
1786         (paintSelection): adjust
1787         (paintChangeBar): adjust
1788         (paintText): adjust
1789
1790         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1791         lastPos instead.
1792         (numberOfSeparators): adjust
1793
1794 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1795
1796         * LyXAction.C:
1797         * box.[Ch]:
1798         * lfuns.h:
1799         * lyxfunc.C:
1800         * text3.C: Restricts the mouse click functionality
1801         of insets like bibtex, include, toc and floatlist to the visible
1802         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1803         up the dialogs. Cursor has to be in front of the inset (i.e.
1804         start of row) for this to function.
1805
1806 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1807
1808         * bufferview_funcs.C (currentState): output row information
1809
1810 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1811
1812         * bufferview_funcs.C (currentState): output paragraph position
1813
1814 2003-09-04  Angus Leeming  <leeming@lyx.org>
1815
1816         * FloatList.h: move out #include "Floating.h".
1817         * LaTeX.h: move out #include "DepTable.h".
1818         * LyXAction.h: move out #include "funcrequest.h".
1819         * buffer.h: move out #include "author.h", "iterators.h".
1820         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1821         * lyx_main.h: move out #include "errorlist.h".
1822         * lyxfunc.h: move out #include "FuncStatus.h".
1823         * lyxtext: move out #include "lyxcursor.h".
1824         * paragraph_pimpl.h: move out #include "counters.h".
1825
1826 2003-09-03  Angus Leeming  <leeming@lyx.org>
1827
1828         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1829         preamble_snippets list, enabling us to add snippets to the preamble
1830         only if the snippet was not there already.
1831
1832 2003-09-04  Angus Leeming  <leeming@lyx.org>
1833
1834         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1835
1836 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1837
1838         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1839         update
1840
1841 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1842
1843         * BranchList.C: point fix, earlier forgotten
1844
1845 2003-09-02  Angus Leeming  <leeming@lyx.org>
1846
1847         * box.C (contains): renamed from 'contained' after a fantastic
1848         amount of hot air.
1849
1850 2003-09-02  John Levon  <levon@movementarian.org>
1851
1852         * BufferView.C:
1853         * lyxcursor.h:
1854         * lyxcursor.C:
1855         * lyxfunc.C:
1856         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1857
1858 2003-09-02  John Levon  <levon@movementarian.org>
1859
1860         * text2.C: simplification of cursorEnd(), including partial
1861         fix for bug 1376
1862
1863 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1864
1865         * buffer.C (readFile): add a space
1866
1867 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1868
1869         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1870
1871 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1872
1873         * buffer.C (readFile): new function, take a filename and a
1874         ParagraphList::iterator
1875         (readFile): adjust
1876         (readFile): adjust, make it private. don't use setStream, make
1877         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1878         always contain the filename.
1879
1880         * BufferView.C (insertLyXFile): simplify and make it work for
1881         gzipped files.
1882
1883 2003-08-30  John Levon  <levon@movementarian.org>
1884
1885         * Makefile.am: fix dist (from Kayvan)
1886
1887 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1888
1889         * most files: change to use const Buffer refs
1890
1891 2003-08-27  André Pönitz  <poenitz@gmx.net>
1892
1893         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1894         on top of ownerPar().
1895
1896 2003-08-27  John Levon  <levon@movementarian.org>
1897
1898         * funcrequest.C: properly initialise POD members
1899
1900 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1901
1902         * lyxtext.h (top_y): move top_y from here
1903         * text.C:
1904         * text2.C:
1905         * text3.C:
1906         * BufferView.[Ch]:
1907         * BufferView_pimpl.[Ch]: to here
1908         * frontends/screen.C:
1909         * insets/insettabular.C:
1910         * insets/insettext.C: adjust
1911         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1912
1913 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1914
1915         * BufferView.[Ch]:
1916         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1917
1918 2003-08-26  André Pönitz  <poenitz@gmx.net>
1919
1920         * paragraph_func.[Ch] (outerPar): new function
1921
1922         * paragraph.C:
1923         * paragraph_funcs.C:
1924         * paragraph_funcs.h:
1925         * paragraph_pimpl.C:
1926         * text2.C: remove Inset::par_owner
1927
1928 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1929
1930         * lyxrow_funcs.C:
1931         * lyxtext.h:
1932         * text.C:
1933         * text2.C: eliminates the needFullRow/display() stuff
1934         altogether, putting the logic in metrics/draw in the insets.
1935
1936 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1937
1938         * text2.C (redoParagraphInternal, redoParagraphs):
1939         * text.C (redoParagraph): add a call to updateRowPositions at the
1940         end of each 'metrics-like' call. Remove all others.
1941         (getRow): remove the 'y-computing' version.
1942         (getRowNearY): do not compute nor return the real y. Solve the
1943         'y < 0' problem and simplify.
1944
1945 2003-08-22  Angus Leeming  <leeming@lyx.org>
1946
1947         * *.[Ch]: clean-up of licence and author blurbs.
1948         Also move config.h out of a few .h files and into a few .C files.
1949
1950 2003-08-22  André Pönitz  <poenitz@gmx.net>
1951
1952         * lyxrow.[Ch]: add x_ and *fill_ members
1953
1954         * lyxtext.h:
1955         * text.C:
1956         * rowpainter.C:
1957         * text2.C: adjust/remove prepareToPrint() calls
1958
1959 2003-08-22  André Pönitz  <poenitz@gmx.net>
1960
1961         * lyxrow.[Ch]: add  end_ member
1962
1963         * lyxrow_funcs.C: use LyXRow::end_
1964
1965         * lyxtext.h (singleWidth): add LyXFont parameter
1966
1967         * rowpainter.C:
1968         * text2.C: adjust LyXText::singleWidth() calls
1969
1970         * text.C (redoParagraph): simplify row breaking logic
1971
1972
1973 2003-08-19  André Pönitz  <poenitz@gmx.net>
1974
1975         * funcrequest.C: initialize button_ member
1976
1977         * text3.C:
1978         * rowpainter.[Ch]: interface consolidation
1979
1980 2003-08-18  André Pönitz  <poenitz@gmx.net>
1981
1982         * BufferView.C:
1983         * BufferView_pimpl.C:
1984         * lyxfind.C:
1985         * paragraph_funcs.C:
1986         * rowpainter.C:
1987         * text3.C: remove LyXScreen::draw() and fitCursor calls
1988
1989         * BranchList.h: remove spurious semicolons
1990
1991         * MenuBackend.C: fix branchlist related crash
1992
1993 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1994
1995         * BranchList.[Ch]:
1996         * InsetList.[Ch]:
1997         * LColor.[Ch]:
1998         * LyXAction.C:
1999         * Makefile.am:
2000         * MenuBackend.[Ch]:
2001         * bufferparams.[Ch]:
2002         * factory.C:
2003         * lfuns.h:
2004         * lyxfunc.C:
2005         * text3.C: implements the 'branch inset'
2006         idea. This allows the output of various versions of a document
2007         from a single source version, selectively outputing or suppressing
2008         output of parts of the text.
2009         This implementation contains a 'branch list editor' in a separate
2010         tab of the document settings dialog. Branches are user definable
2011         and have a "display colour" to distinguish them on-screen.
2012
2013         ColorHandler was somewhat cleaned up.
2014         (1) make possible a dynamically growing LColor list by allowing
2015         the graphic context cache to grow along (vector);
2016         (2) eliminate an IMHO unnecessary step in colour allocation.
2017
2018 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2019
2020         * BufferView_pimpl.C: compile fix
2021
2022 2003-08-15  André Pönitz  <poenitz@gmx.net>
2023
2024         * rowpainter.C: remove extra metrics calls
2025
2026         * lyxtext.h: merge the two constructors into a single one,
2027           pass reference to owner's par list
2028
2029         * BufferView_pimpl.C:
2030         * text.C:
2031         * text2.C: adjust
2032
2033 2003-08-15  André Pönitz  <poenitz@gmx.net>
2034
2035         * lyxrow_funcs.[Ch]:
2036         * lyxtext.h:
2037         * paragraph.h:
2038         * paragraph_funcs.C:
2039         * rowpainter.C:
2040         * text.C:
2041         * text2.C:
2042         * text3.C:
2043         * text_funcs.C: split LyXText::rowlist_ into individual
2044         Paragraph::rows_ chunks
2045
2046         * BufferView.[Ch]:
2047         * BufferView_pimpl.[Ch]:
2048         * lyxfind.C:
2049         * lyxtext.h:
2050         * text3.C: remove toggleSelection()
2051
2052 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2053
2054         * bufferlist.C: beautify two alerts (shorter text of buttons)
2055         * buffer.C: Remove redundant ' ' from message
2056         * tabular.h:
2057         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2058         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2059         rename VALIGN_CENTER to VALIGN_MIDDLE
2060
2061 2003-08-11  André Pönitz  <poenitz@gmx.net>
2062
2063         * lyxtext.h (getPar):
2064         * text.C: new function
2065
2066 2003-08-11  André Pönitz  <poenitz@gmx.net>
2067
2068         * Makefile.am:
2069         * tracer.[Ch]: remove unneeded files
2070
2071         * InsetList.[Ch]: remove resizeInsetsLyXText()
2072
2073         * lyxtext.h:
2074         * text.C:
2075         * text2.C:
2076         * text3.C: merge insertParagraphs() and appendParagraph()
2077         remove breakAgain(), update()
2078
2079         * BufferView_pimpl.[Ch]:
2080         * bufferview_funcs.[Ch]:
2081         * lyxfunc.C:
2082         * paragraph.[Ch]:
2083         * rowpainter.C:
2084         * tabular.C: adjust after text & InsetList changes.
2085
2086 2003-08-08  André Pönitz  <poenitz@gmx.net>
2087
2088         * text.C (insertChar, backspace): replace rowlist fiddling
2089         with rebreak of full par
2090
2091         * lyxtext.h:
2092         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2093         checkParagraph, updateInset): removed
2094
2095 2003-08-07  André Pönitz  <poenitz@gmx.net>
2096
2097         * paragraph.C:
2098         * text3.C: merge some LFUN handlers, remove dead code
2099
2100 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2101
2102         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2103
2104 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2105
2106         * text2.C (DEPM): fix part of bug 1255 and 1256
2107
2108 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2109
2110         * BufferView_pimpl.C (workAreaDispatch): change to use
2111         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2112         that are no mouse related.
2113
2114 2003-08-05  André Pönitz  <poenitz@gmx.net>
2115
2116         * BufferView.[Ch]:
2117         * BufferView_pimpl.[Ch]:
2118         * bufferview_funcs.C:
2119         * text2.C:
2120         * text3.C: rip out "deep update"
2121
2122         * textcursor.[Ch] (last_sel_cursor): remove unused member
2123
2124 2003-08-04  André Pönitz  <poenitz@gmx.net>
2125
2126         * BufferView.[Ch]:
2127         * BufferView_pimpl.[Ch]:
2128         * ParagraphParameters.C:
2129         * bufferview_funcs.C:
2130         * lyx_cb.C:
2131         * lyxfind.C:
2132         * lyxfunc.C:
2133         * text.C:
2134         * text2.C:
2135         * text3.C: replace "complicated" BufferView::update(...) calls with
2136         simpler ones.
2137
2138         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2139
2140 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2141
2142         * Makefile.am (lyx_SOURCES): add paper.h
2143
2144 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2145
2146         * Makefile.am: move things around so that both lyx-qt and
2147         lyx-xforms can be built (according to --with-frontend). Then lyx
2148         is a symbolic link to lyx-[firstfrontend]
2149
2150 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2151
2152         * Always use std::endl with lyxerr
2153
2154 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2155
2156         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2157
2158 2003-08-01  André Pönitz  <poenitz@gmx.net>
2159
2160         * BufferView.[Ch]:
2161         * BufferView_pimpl.[Ch]:
2162         * lyxfunc.C:
2163         * text3.C: merge BufferView::repaint() and BufferView::update()
2164
2165 2003-08-01  José Matos  <jamatos@lyx.org>
2166
2167         * buffer.[Ch]: file_format is no longer a buffer data element.
2168
2169 2003-08-01  André Pönitz  <poenitz@gmx.net>
2170
2171         * BufferView.C:
2172         * lyxtext.h:
2173         * text.C:
2174         * text2.C: make redoParagraph more independent of current cursor
2175
2176         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2177         * text.C:
2178         * text2.C: remove unneeded members
2179
2180 2003-07-30  André Pönitz  <poenitz@gmx.net>
2181
2182         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2183
2184         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2185           create a single function...
2186
2187         * paragraph_funcs.C (moveItem): ... here.
2188
2189         * text.C:
2190           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2191
2192 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2193
2194         * LColor.[Ch]: Add comment and greyedout logical colors.
2195
2196 2003-07-30  André Pönitz  <poenitz@gmx.net>
2197
2198         * tabular.C: don't use Assert too heavily. This crashes where it
2199           shouldn't
2200
2201 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2202
2203         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2204         is disabled (bug 1232)
2205
2206 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2207
2208         * factory.C: limited 'arg' scope
2209
2210 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2211
2212         * factory.C: fixed Note submenu issues
2213
2214 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2215
2216         * factory.C: submenu for Note/Comment/Greyedout
2217
2218 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2219
2220         * lyx_main.C (LyX):
2221         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2222
2223 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2224
2225         * LaTeXFeatures.C:
2226         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2227         greyedout. Patch provided by Jürgen Spitzmüller.
2228
2229 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2230
2231         * kbmap.C (read): fix error message when reading bind files
2232
2233 2003-07-29  Angus Leeming  <leeming@lyx.org>
2234
2235         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2236         certainly does not do what it purports to do. I am doing it, and
2237         us, a favour by killing it.
2238
2239 2003-07-28  José Matos  <jamatos@lyx.org>
2240
2241         * buffer.C (readBody, do_writeFile):
2242         * paragraph.C(readParagraph): \end_document replaces \the_end.
2243
2244 2003-07-29  André Pönitz  <poenitz@gmx.net>
2245
2246         * BufferView.[Ch]:
2247         * BufferView_pimpl.[Ch]:
2248         * lyxfunc.C:
2249         * text2.C:
2250         * text3.C:
2251         * textcursor.[Ch]: remove toggleToggle & Co
2252
2253 2003-07-28  José Matos  <jamatos@fep.up.pt>
2254
2255         * buffer.C (readParagraph):
2256         * params_func (readParToken, readParagraph):
2257         * paragraph.C (write): \layout -> \begin_layout.
2258
2259 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2260
2261         * lyxlex_pimpl.C (setFile): clean up slightly.
2262
2263         * bufferparams.h: add compressed var
2264
2265         * buffer_funcs.C (readFile): adjust for LyXLex change
2266         (newFile): ditto + simplify
2267
2268         * buffer.C (writeFile): handle writing of compressed files
2269
2270         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2271         Check if the file is compressed and set a bufferparm if so.
2272
2273         * Makefile.am (lyx_LDADD): remove explicit -lz
2274
2275 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2276
2277         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2278         makeDocBookFile): put the real LyX version in the first line of
2279         the file
2280
2281         * version.h:
2282         * version.C.in: remove lyx_docversion
2283
2284         * tabular.C (write_attribute): add a template-based version to
2285         write enums properly
2286
2287 2003-07-28  André Pönitz  <poenitz@gmx.net>
2288
2289         * lyxtext.h:
2290         * text.C:
2291         * text2.C:
2292         * text3.C: use doubles again for x-coordinates. They are needed.
2293
2294 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2295
2296         * messages.C (getLocaleDir): use lyx_localedir()
2297
2298         * lyxlex_pimpl.C (setFile): compress stuff
2299
2300         * buffer.C (writeFile): add some compression stuff
2301         (do_writeFile): new func, dont call expliti close... will this
2302         breake anything?
2303
2304         * Makefile.am (lyx_LDADD): add -lz
2305
2306 2003-07-28  José Matos  <jamatos@fep.up.pt>
2307
2308         * buffer.C: increment file format.
2309         * paragraph_funcs (readParagraph, readParToken):
2310         * paragraph.C (readParagraph): add \end_layout.
2311
2312 2003-07-27  Angus Leeming  <leeming@lyx.org>
2313
2314         * Makefile.am: remove special casing for configure-time setting of
2315         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2316
2317         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2318         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2319
2320 2003-07-26  André Pönitz  <poenitz@gmx.net>
2321
2322         * paragraph_func.[Ch]:
2323         * paragraph.C (realizeFont): inline it whereever it is used
2324
2325         * rowpainter.C:
2326         * text.C:
2327         * text2.C:
2328         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2329
2330
2331 2003-07-26  André Pönitz  <poenitz@gmx.net>
2332
2333         *       lyxtext.h:
2334         * text.C:
2335         * text2.C: get rid of LyXText::need_break_row
2336
2337 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2338
2339         * toc.[Ch]: put namespace toc inside namespace lyx
2340
2341         * MenuBackend.C (expandToc2): adjust for lyx::toc
2342         (expandToc): ditto
2343
2344         * lyxfunc.C (dispatch): adjust for lyx::find
2345
2346         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2347         lyx::find instead. Reorganize a bit.
2348         (LyXReplace): rename to replace
2349         (LyXFind): rename to find
2350
2351         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2352         (dispatch): ditto
2353
2354 2003-07-26  André Pönitz  <poenitz@gmx.net>
2355
2356         * text.C (setHeightOfRow): restrict scope of temporary variable
2357
2358         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2359           code (never has been used?)
2360
2361 2003-07-27  Asger Alstrup  <alstrup@local>
2362
2363         * text.C (fill): Optimise algorithm to exploit that we can reuse
2364         the LyXFont for many characters.
2365         (setHeightOfRow): Same thing.
2366         (rowBreakPoint): Same thing.
2367
2368 2003-07-26  Asger Alstrup  <alstrup@local>
2369
2370         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2371
2372         * text.C (singleWidth): Spurious font copying in hot-spot
2373         singleWidth avoided. Reorder tests for arabic for efficiency.
2374
2375         * text.C (fill): handle empty paragraphs better.
2376
2377 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2378
2379         * ispell.C:
2380         * encoding.h: add includes
2381
2382         * lyxrc.C: remove reading of bind files
2383
2384         * lyx_main.C (init): setup bindings and menus only if we have a
2385         gui.
2386
2387         * kbmap.C (read): new method. Do the actual reading of bind
2388         files.
2389
2390         * converter.C (dvipdfm_options):
2391         * bufferparams.C:
2392         * lyxrc.C (read):
2393         (output): adapt PAPER_* enums.
2394
2395         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2396
2397         * bufferparams.h: remove paper-related enums from there
2398
2399         * paper.h: New file. A trivial header file to hold paper-related
2400         enums. It should later expand to contain many paper-related
2401         horrors access.
2402
2403         * lyxrc.C: declare extern displayTranslator
2404
2405 2003-07-27  José Matos  <jamatos@fep.up.pt>
2406
2407         * tabular.[Ch] (linuxdoc): add support for tables and figures
2408         (linuxdoc).
2409
2410 2003-07-27  José Matos  <jamatos@fep.up.pt>
2411
2412         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2413         consistency in both functions.
2414         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2415
2416 2003-07-26  Asger Alstrup  <alstrup@local>
2417
2418         * rowpainter.C (paintRows): Change algorithm to work directly on
2419         the insets rather than asking every character in the document
2420         whether its an inset.
2421
2422 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2423
2424         * buffer.C (openFileWrite): factorize some code
2425
2426 2003-07-26  Angus Leeming  <leeming@lyx.org>
2427
2428         * lyx_cb.C:
2429         * lyx_main.[Ch]: replace occurances of system_tempdir with
2430         os::getTmpDir().
2431
2432 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2433
2434         * rename Inset to InsetOld
2435
2436 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2437
2438         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2439         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2440         which I think is a bit clearer. EDIT is gone, since it was
2441         premature optimisation, and broken for mathed anyway.
2442         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2443         with cursor positioning in insets as well (math insets still do not
2444         work, but that's a different story anyway.) It mysteriously
2445         crashes sometimes with undo in the first paragraph, but I'm fairly
2446         confident that this is a compiler bug.
2447
2448 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2449
2450         * paragraph.C (Paragraph): adjust for new clone return type
2451         (operator==): ditto
2452         (copyIntoMinibuffer): ditto
2453
2454 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2455
2456         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2457         by not having a special case, and always doing a full rebreak of
2458         the document after undo.
2459
2460 2003-07-23  Angus Leeming  <leeming@lyx.org>
2461
2462         * factory.C (createInset): InsetExternal::setParams now takes a
2463         Buffer const * arg.
2464
2465 2003-07-23  Angus Leeming  <leeming@lyx.org>
2466
2467         * factory.C (createInset): changed interface to the external and
2468         graphics mailers' string2params functions.
2469
2470 2003-07-23  Angus Leeming  <leeming@lyx.org>
2471
2472         * factory.C (createInset): pass a
2473         Buffer const * parameter to InsetExternalMailer's string2params.
2474
2475 2003-07-22  John Levon  <levon@movementarian.org>
2476
2477         * Thesaurus.h: include the right aiksaurus header
2478
2479 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2480
2481         * MenuBackend.C (expand): check menu shortcuts unconditionally
2482
2483 2003-07-21  Angus Leeming  <leeming@lyx.org>
2484
2485         * factory.C (createInset): pass a
2486         buffer_path parameter to InsetGraphicsMailer's string2params.
2487
2488 2003-07-21  Angus Leeming  <leeming@lyx.org>
2489
2490         * BufferView_pimpl.C (buffer):
2491         * buffer.C (d-tor):
2492         * lyx_main.C (LyX):
2493         * lyxfunc.C (dispatch):
2494         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2495         rather than the grfx shortcut.
2496
2497 2003-07-21  André Pönitz  <poenitz@gmx.net>
2498
2499         * rowpainter.C: remove unused variables
2500
2501         * tabular_funcs.C:
2502         * tabular_funcs.h: move to tabular.C
2503         * Makefile.am: adjust
2504
2505         * tabular.[Ch]: basic optical cleaning
2506
2507         * author.h: pass references, not values
2508
2509 2003-07-18  André Pönitz  <poenitz@gmx.net>
2510
2511         * lyxtext.h:
2512         * metricsinfo.C:
2513         * metricsinfo.h:
2514         * rowpainter.C:
2515         * text.C:
2516         * text2.C:
2517         * text3.C: two-phase drawing for InsetText and InsetTabular
2518         some float -> int changes.
2519
2520 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2521
2522         * lyx_main.C: fix the fix
2523
2524 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2525
2526         * lyx_main.C: fix a crash in batch mode if no files specified
2527         * converter.C: ws
2528
2529 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2530
2531         * format.[Ch] (papersize): moved to BufferParams
2532         * converter.[Ch] (dvips_options): moved to BufferParams
2533         (dvipdfm_options): moved to anon namespace
2534         * bufferparams.[Ch]: added above functions.
2535
2536 2003-07-17  André Pönitz  <poenitz@gmx.net>
2537
2538         * lyxtext.h:
2539         * rowpainter.C:
2540         * text2.C: don't call inset->update() anymore
2541
2542         * metricsinfo.[Ch]: add convenience constructor
2543
2544 2003-07-16  André Pönitz  <poenitz@gmx.net>
2545
2546         * lyxcursor.[Ch]:
2547         * lyxfunc.[Ch]:
2548         * text.C:
2549         * text2.C: replace the LyXCursor::irow_ member with
2550          on-demand computation of the value
2551
2552 2003-07-16  John Levon  <levon@movementarian.org>
2553
2554         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2555
2556 2003-07-15  André Pönitz  <poenitz@gmx.net>
2557
2558         * text.C:
2559         * text2.C: remove no more needed refresh_row
2560
2561 2003-07-15  André Pönitz  <poenitz@gmx.net>
2562
2563         * lyxtext.h:
2564         * rowpainter.C:
2565         * text2.C:
2566         * text3.C: refresh_status tristate -> need_update bool
2567
2568 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2569
2570         * lyxtext.h (init): remove reinit argument (act as if always true)
2571         * text2.C: adjust to that
2572
2573 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2574
2575         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2576         * text3.C: use it to delete selections in some cases
2577         (bugs 441, 673, 702, 954).
2578
2579 2003-07-14  André Pönitz  <poenitz@gmx.net>
2580
2581         * rowpainter.[Ch]: reduce interface
2582
2583 2003-07-14  André Pönitz  <poenitz@gmx.net>
2584
2585         * BufferView_pimpl.C:
2586         * text2.C: adjust after removing unused BufferView * argument
2587
2588 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2589
2590         * text2.C (init): fix a crash fired on resize
2591
2592 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2593
2594         * buffer.[Ch]: added new closing signal
2595         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2596         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2597         BufferView::Pimpl via the closing the signal
2598
2599 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2600
2601         * buffer.[Ch]: take out all bv-related from buffer
2602         * BufferView.C:
2603         * BufferView_pimpl.[Ch]: connect to new signals
2604         * CutAndPaste.C: removed useless asserts
2605         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2606         * lyxvc.[Ch]:
2607         * vc-backend.[Ch]:
2608         * lyxfunc.C: moved view-related funciontality from vc here
2609         * paragraph.C: removed outdated comments
2610         * text.C: ws
2611
2612 2003-07-10  André Pönitz  <poenitz@gmx.net>
2613
2614         * BufferView_pimpl.C:
2615         * tabular.h:
2616         * tabular_funcs.C:
2617         * text.C:
2618         * text2.C: remove InsetText::InnerCache, clean up consequences
2619
2620 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2621
2622         * ispell.C: fix two typos in error messages
2623
2624 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2625
2626         * Extend Note inset to other forms of annotation like Comment
2627         and Greyedout. Right button click gives dialog.
2628
2629         Files modified or added (+):
2630
2631         * insetnote.[Ch]
2632         * FormNote.[Ch]      +
2633         * ControlNote.[Ch]   +
2634         * form_note.fd       +
2635         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2636         frontends/controllers
2637         * xforms/Dialogs.C
2638         * factory.C
2639
2640 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2641
2642         * aspell.C: add missing namespace lyx::support
2643
2644 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2645
2646         * BufferView.[Ch] (newFile): Add
2647         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2648         * LaTeX.[Ch] (message): added this signal and use it
2649         * buffer.[Ch] (busy, message): added these signals and use them
2650         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2651         * converter.C:
2652         * exporter.C:
2653         * format.C:
2654         * importer.C: use buffer signals instead of direct bv calling
2655         * lyx_cb.[Ch] (ShowMessage): removed
2656         * lyx_main.C:
2657         * lyxfunc.C:
2658         * paragraph_funcs.C:
2659         * text2.C: use buffer signals
2660
2661 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2662
2663         * introduce namespace lyx::graphics
2664
2665 2003-07-02  André Pönitz  <poenitz@gmx.net>
2666
2667         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2668
2669 2003-07-01  André Pönitz  <poenitz@gmx.net>
2670
2671         * text.C:
2672         * text2.C:
2673         * text3.C:
2674         * text_funcs.[Ch]:
2675         * textcursor.h:
2676         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2677           text*.C to text_func.C
2678
2679 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2680
2681         * introduce namespace lyx::support
2682
2683 2003-06-30  André Pönitz  <poenitz@gmx.net>
2684
2685         * Chktex.C:
2686         * funcrequest.C:
2687         * lyxtext.h:
2688         * text.C: re-enable --with-included-string
2689
2690 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2691
2692         * textcursor.C: add <config.h>
2693
2694         * text.C (getWord): remove const from word_location arg
2695
2696         * lyxvc.C (getLogFile): fix const type order
2697
2698         * lyxtext.h: remove const from word_location arg, add arg name
2699
2700         * lyxlayout.h: currect type on labeltype.
2701
2702         * importer.C: correct \file
2703
2704         * converter.C (intToFormat): use std:: on ret val, ws changes
2705
2706         * bufferlist.h: correct \file
2707
2708         * buffer.C (makeLinuxDocFile): fix const type order
2709         (makeDocBookFile): ditto
2710         (fillWithBibKeys): use std:: on stdlib args.
2711
2712         * CutAndPaste.C: fix authors.
2713         (availableSelections): use std:: on return vector
2714
2715 2003-06-27  André Pönitz  <poenitz@gmx.net>
2716
2717         * BufferView_pimpl.C:
2718         * bufferview_funcs.C:
2719         * lyxcursor.C:
2720         * lyxcursor.h:
2721         * lyxfunc.C:
2722         * lyxtext.h:
2723         * rowpainter.C:
2724         * text.C:
2725         * text2.C:
2726         * text3.C: remove LyXCursor::row_ member
2727
2728         * lyxtext.h:
2729         * text.C: rename fullRebreak() to partialRebreak() and implement
2730           a fullRebreak() that really bereks fully
2731
2732         * textcursor.h: new struct for cursor-related data
2733
2734 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2735
2736         * lyx_main.C (LyX): get full path of document loaded on the
2737         command line
2738
2739 2003-06-26  André Pönitz  <poenitz@gmx.net>
2740
2741         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2742           remove unused/broken operator>,<,>=.
2743
2744         *       text.C: remove only use of broken operator<= in an Assert().
2745
2746 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2747
2748         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2749         moved errorlist_.clear to showErrorList
2750
2751 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2752
2753         * converter.C (scanLog, runLaTeX):
2754         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2755         move the bv->showErrorList call to the callers
2756         * lyxfunc.C: i.e. here...
2757         * text2.C: and here
2758         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2759         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2760         namespace, the second to...
2761         * buffer_funcs (BufferFormat, parseErrors): added
2762         * errorlist.C (ErrorList(TeXErrors const &)): removed
2763
2764 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2765
2766         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2767
2768 2003-06-24  "Garst R. Reese" <reese@isn.net>
2769
2770         * debug.C: fix typo
2771
2772 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2773
2774         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2775
2776         * version.C.in: change docversion to 1.4
2777
2778 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2779
2780         * buffer.C: fix a bug just introduced
2781
2782 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2783
2784         * buffer.[Ch]: added the parseError signal and use it, removed
2785         sgmlError
2786         * BufferView.[Ch] (addError): moved to ...
2787         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2788         to the Buffer::parseError signal to catch (guess what) parse errors
2789         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2790
2791 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2792
2793         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2794         ability to create a buffer and to return an existing one from
2795         the list. Moved these functions to...
2796         * buffer_funcs.[Ch]: added
2797         * BufferView.[Ch] (loadLyXFile): added
2798         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2799         job removed from bufferlist::loadLyXFile.
2800         * buffer.C (setReadOnly): make it work without view
2801         (i.e added an if (users))
2802
2803 2003-06-19  Angus Leeming  <leeming@lyx.org>
2804
2805         * lfuns.h:
2806         * LyXAction.C (init):
2807         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2808         with LFUN_DIALOG_SHOW <name> <data>.
2809
2810 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2811
2812         * CutAndPaste.C (availableSelections): small compilation fix for
2813         ancient (gcc 2.9x) compilers
2814
2815 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2816
2817         * text3.C (cursorNext): add tmp var
2818
2819         * text2.C (updateCounters): for function calling out of for clause
2820         (replaceSelectionWithString): ditto
2821         (insertStringAsParagraphs): ditto
2822         (getColumnNearX): add tmp var
2823         (setCursorFromCoordinates): add tmp var
2824         (cursorDownParagraph): add tmp var
2825         (deleteEmptyParagraphMechanism): add tmp var
2826
2827         * text.C (insertChar): add tmp var
2828
2829         * rowpainter.C (paintDepthBar): add tmp var
2830
2831         * CutAndPaste.C (availableSelections): potentially check all
2832         paragraphs in a cut to fill the shown strings.
2833
2834 2003-06-18  André Pönitz  <poenitz@gmx.net>
2835
2836         * kbmap.[Ch]: use vector<> instead of list<>
2837
2838 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2839
2840         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2841         pasteSelection with index
2842
2843         * text2.C (pasteSelection): modify, call pasteSelection with index
2844
2845         * paragraph.C (asString): reimplement version with no interval to
2846         call the one with interval.
2847
2848         * lyxtext.h: add index arg to pasteSelection
2849
2850         * MenuBackend.C (MenuItem): handle PasteRecent
2851         (Menu::read::Menutags): add md_pasterecent
2852         (read): handle it
2853         (expandPasteRecent): new function
2854         (expand): use it
2855
2856         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2857
2858         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2859         the limited stack
2860         (availableSelections): new function
2861
2862 2003-06-17  Angus Leeming  <leeming@lyx.org>
2863
2864         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2865
2866 2003-06-17  Angus Leeming  <leeming@lyx.org>
2867
2868         * lfuns.h:
2869         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2870
2871         * lyxfunc.C (dispatch): invoke it.
2872
2873 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2874
2875         * iterators.C (operator++, ParPosition): reintroduce some
2876         const_cast for the benefit of older compilers.
2877
2878 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2879
2880         * text3.C (dispatch): do not modify clipboard when doing
2881         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2882         LFUN_DELETE_SKIP on a selection selection
2883
2884 2003-06-16  André Pönitz  <poenitz@gmx.net>
2885
2886         * BufferView.C:
2887         * buffer.C:
2888         * buffer.h:
2889         * paragraph.C:
2890         * tabular.[Ch]: IU of clone() and getLabelList();
2891
2892 2003-06-13  André Pönitz  <poenitz@gmx.net>
2893
2894         * tabular.h: compactification
2895
2896 2003-06-12  André Pönitz  <poenitz@gmx.net>
2897
2898         * tabular.C:
2899         * tabular.h:
2900         * tabular_funcs.h: some renaming plus whitespace
2901
2902 2003-06-12  André Pönitz  <poenitz@gmx.net>
2903
2904         * BufferView.C:
2905         * BufferView_pimpl.C:
2906         * CutAndPaste.C:
2907         * buffer.C:
2908         * iterators.[Ch]:
2909         * lyxfunc.C:
2910         * text.C:
2911         * toc.C: Return a Paragraph & for ParIterator::operator*()
2912
2913 2003-06-11  John Levon  <levon@movementarian.org>
2914
2915         * lyx_main.C:
2916         * ToolbarBackend.h:
2917         * ToolbarBackend.C: add "Toolbars" section and
2918         put the flags there
2919
2920 2003-06-10  Angus Leeming  <leeming@lyx.org>
2921
2922         * lfuns.h:
2923         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2924
2925         * lyxfunc.C (dispatch): invoke it.
2926
2927 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2928
2929         * main.C: protect <ios> with HAVE_IOS
2930         (main): protect sync_with_stdio with HAVE_IOS
2931
2932 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2933
2934         * text2.C (cutSelection): adjust
2935         (pasteSelection): adjust
2936
2937         * messages.C: handle get of empty string
2938
2939         * main.C (main): use sync_with_stdio(false)
2940
2941         * lyxfunc.C (dispatch): adjust
2942
2943         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2944         (WriteAs): remove unneeded BufferView arg.
2945
2946         * bufferparams.h: use correct types on papersize, papersize2 and
2947         paperpackage.
2948
2949         * bufferparams.C (readToken): adjust for type
2950         (writeLaTeX): add missing cases to switch.
2951
2952         * bufferlist.C (quitWriteBuffer): adjust
2953         (close): adjust
2954
2955         * buffer.C (asciiParagraph): remove some commented code.
2956
2957         * CutAndPaste.C: remove current_view extern variable.
2958         (cutSelection): add BufferParams arg.
2959         (eraseSelection): add BufferParams arg.
2960         (pasteSelection): add Buffer const & arg
2961
2962 2003-06-07  John Levon  <levon@movementarian.org>
2963
2964         * buffer.C:
2965         * paragraph_funcs.C:
2966         * paragraph_pimpl.C:
2967         * text.C:
2968         * text2.C:
2969         * paragraph.h:
2970         * paragraph.C: allow InsetERT to freely space lines,
2971         and some consolidation of code
2972
2973 2003-06-06  José Matos  <jamatos@fep.up.pt>
2974
2975         * buffer.C (makeDocBookFile): fix bug #821
2976
2977 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2978
2979         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2980
2981 2003-06-04  Angus Leeming  <leeming@lyx.org>
2982
2983         * buffer.C: bump format to 224.
2984
2985 2003-06-05  André Pönitz  <poenitz@gmx.net>
2986
2987         * text2.C (redoParagraphs): remove two const_cast<>
2988
2989 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2990
2991         * ParagraphList.h: remove last remnants of NO_STD_LIST
2992
2993 2003-06-03  Angus Leeming  <leeming@lyx.org>
2994
2995         * factory.C (createInset): small change to the way InsetExternal's params
2996         are set.
2997
2998 2003-06-04  André Pönitz  <poenitz@gmx.net>
2999
3000         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3001
3002         * paragraph_pimpl.h:
3003         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3004
3005         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3006
3007         * undo_funcs.C: make some simple cases of undo work again
3008
3009 2003-06-03  John Levon  <levon@movementarian.org>
3010
3011         * ispell.C: HPUX doesn't have sys/select.h
3012         (from Albert Chin)
3013
3014 2003-06-03  John Levon  <levon@movementarian.org>
3015
3016         * CutAndPaste.C: update tabular and include inset
3017         buffer references
3018
3019         * buffer.h:
3020         * paragraph.h:
3021         * paragraph.C: remove owningBuffer(), don't pass Buffer
3022         to clone()
3023
3024         * factory.C: insetGraphicsParams changed
3025
3026 2003-06-02  John Levon  <levon@movementarian.org>
3027
3028         * LyXAction.C:
3029         * factory.C:
3030         * lfuns.h:
3031         * lyxfunc.C:
3032         * text3.C: remove insetparent
3033
3034 2003-06-02  John Levon  <levon@movementarian.org>
3035
3036         * buffer.h:
3037         * buffer.C: fix inset_iterator.end(), move out of line
3038         (bug 1149)
3039
3040 2003-06-01  John Levon  <levon@movementarian.org>
3041
3042         * text3.C: use a proper cut/paste when doing inset
3043         insert (from Jürgen Spitzmüller)
3044
3045 2003-06-01  John Levon  <levon@movementarian.org>
3046
3047         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3048
3049 2003-05-30  André Pönitz  <poenitz@gmx.net>
3050
3051         * rowpainter.C: unify second drawing phase
3052
3053 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3054
3055         * trans_mgr.C: remove one case of current_view
3056
3057         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3058
3059         * paragraph_funcs.h: remove paragraph.h include
3060
3061         * paragraph.h: delete NO_STD_LIST stuff
3062
3063         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3064
3065         * buffer.h: remove paragraph.h include
3066
3067         * ParagraphList.C: delete file
3068
3069         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3070
3071         * toc.C (getTocList): adjust
3072
3073         * paragraph_pimpl.C (validate): adjust
3074
3075         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3076
3077         * paragraph.C (Paragraph): adjust
3078         (getPositionOfInset): use const_iterator, adjust
3079         (bibitem): use const_iterator, adjust
3080         (setInsetOwner): adjust
3081
3082         * iterators.C (operator++): adjust
3083
3084         * InsetList.[Ch]: Replace selfmade iterator with standard
3085         vector::iterator also introduce const_iterator. Remove getPos,
3086         getInset and setInset from InsetTable. Adjust accordingly.
3087
3088         * BufferView.C (lockInset): adjust
3089         (ChangeInsets): adjust
3090
3091         * tabular.[Ch]: delete commented same_id functions
3092
3093 2003-05-28  John Levon  <levon@movementarian.org>
3094
3095         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3096
3097 2003-05-28  André Pönitz  <poenitz@gmx.net>
3098
3099         * metricsinfo.[Ch]: remove 'fullredraw' member
3100
3101 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3102
3103         * lyxtextclass.C (operator): remove caching.
3104
3105 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3106
3107         * text3.C: adjust
3108
3109         * text2.C (cursorBottom): adjust
3110         (setCounter): use ParagraphList::find, adjust
3111
3112         * text.C (workWidth): use ParagraphList::find, adjust
3113
3114         * lyxcursor.C (LyXCursor): adjust
3115
3116         * buffer.C (inset_iterator): adjust
3117
3118         * ParagraphList.h: make iterator(value_type) private, make
3119         ParagraphList a friend of iterator.
3120
3121         * ParagraphList.C (find): new function
3122
3123         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3124
3125 2003-05-27  André Pönitz  <poenitz@gmx.net>
3126
3127         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3128
3129 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3130
3131         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3132
3133 2003-05-26  John Levon  <levon@movementarian.org>
3134
3135         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3136
3137 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3138
3139         * remove same_id from function signatures, adjust.
3140
3141 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3142
3143         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3144
3145         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3146
3147         * paragraph.C (Paragraph): get rid of same_ids parameter
3148
3149         * ParagraphList.C (insert): adjust
3150         (push_back): adjust
3151
3152 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3153
3154         * paragraph_funcs.C (breakParagraph): adjust
3155         (breakParagraphConservative): adjust
3156
3157         * buffer.C (readParagraph): adjust
3158
3159         * ParagraphList.C (insert): take a reference instead of a pointer
3160         (insert): adjust
3161
3162         * paragraph.[Ch] (id): new function
3163
3164         * bufferlist.C (newFile): adjust
3165
3166         * ParagraphList.C (ParagraphList): adjust
3167         (assign): adjust
3168         (push_back): take a reference instead of a pointer.
3169
3170         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3171
3172         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3173         instead.
3174
3175         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3176         set else use old code.
3177
3178         * ParagraphList.C: remove all NO_NEXT code and only compile this
3179         code of NO_STD_LIST is set.
3180
3181 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3182
3183         * BufferView_pimpl.C:
3184         * TextCache.C:
3185         * TextCache.h:
3186         * bufferlist.C:
3187         * errorlist.h:
3188         * format.C:
3189         * format.h:
3190         * graph.C:
3191         * lyxfunc.C:
3192         * lyxrc.C:
3193         * graphics/GraphicsConverter.C:
3194         * graphics/PreviewLoader.C: header adjustment
3195
3196 2003-05-23  Angus Leeming  <leeming@lyx.org>
3197
3198         * LaTeXFeatures.[Ch] (useBabel): new method.
3199         * bufferparams.C (writeLaTeX): use it.
3200
3201 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3202
3203         * ParagraphList.h (set): remove unused function.
3204
3205 2003-05-23  André Pönitz  <poenitz@gmx.net>
3206
3207         * BufferView.C:
3208         * BufferView_pimpl.C:
3209         * buffer.C:
3210         * buffer.h:
3211         * lyxfunc.C:
3212         * undo_funcs.C: setUndo reworked
3213
3214         * iterators.[Ch]: add access to topmost ParagraphList
3215
3216         * lyxtext.[Ch] (workWidth): add a const
3217
3218 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3219
3220         * texrow.[Ch] (increasePos): remove function
3221         * exporter.C (export): removed unused var and outdated comment
3222
3223 2003-05-23  Angus Leeming  <leeming@lyx.org>
3224
3225         * latexrunparams.h: rename fragile as moving_arg.
3226         * paragraph.C (simpleTeXOnePar): ditto.
3227         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3228
3229 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3230
3231         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3232         (createUndo): ditto
3233         (textUndoOrRedo): comment out a currently unused var.
3234
3235         * paragraph.h (NO_NEXT): enable NO_NEXT
3236
3237         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3238
3239         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3240
3241         * exporter.C (Export): adjust for removeAutoInsets removal.
3242
3243         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3244
3245         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3246
3247         * BufferView.[Ch] (removeAutoInsets): delete function
3248
3249 2003-05-22  Angus Leeming  <leeming@lyx.org>
3250
3251         * latexrunparams.h: add a free_spacing variable.
3252
3253         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3254         to pass moving_arg, as the data is stored in runparams.fragile.
3255
3256         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3257         to Inset::latexOptional or to simpleTeXOnePar.
3258
3259         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3260         free_spacing arg to Inset::latexOptional.
3261
3262         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3263         free_spacing arg.
3264
3265 2003-05-22  Angus Leeming  <leeming@lyx.org>
3266
3267         * latexrunparams.h: add fragile and use_babel variables.
3268
3269         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3270         * buffer.C (makeLaTeXFile): store this returned value in
3271         runparams.use_babel, thus passing it to the inset::latex methods.
3272
3273         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3274         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3275
3276         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3277         longer has a fragile arg, as it is stored in runparams.fragile.
3278
3279         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3280         moving_arg parameter as the data is stored in runparams.fragile.
3281
3282         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3283         a fragile parameter as the data is stored in runparams.fragile.
3284
3285 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3286
3287         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3288
3289 2003-05-22  Angus Leeming  <leeming@lyx.org>
3290
3291         * latexrunparams.h: add a 'bool nice' which defaults to false.
3292
3293         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3294         now encapsulated within runparams.
3295
3296         * bufferlist.C (updateIncludedTeXfiles):
3297         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3298
3299 2003-05-22  Angus Leeming  <leeming@lyx.org>
3300
3301         * latexrunparams.h: new file containing struct LatexRunParams.
3302         * Makefile.am: add new file.
3303
3304         * LaTeX.[Ch] (c-tor, run):
3305         * buffer.[Ch] (makeLaTeXFile):
3306         * bufferlist.[Ch] (updateIncludedTeXfiles):
3307         * converter.C (convert, scanLog):
3308         * converter.[Ch] (runLaTeX):
3309         * exporter.C (Export):
3310         * paragraph.[Ch] (simpleTeXOnePar):
3311         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3312         * paragraph_funcs.[Ch] (latexParagraphs):
3313         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3314         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3315         pass around a LatexRunParams parameter.
3316
3317 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3318
3319         * paragraph.[Ch]: remove unused constructor
3320
3321         * ParagraphList.C (erase): new function, taking two iterators
3322
3323 2003-05-22  André Pönitz  <poenitz@gmx.net>
3324
3325         * undo_funcs.C: remove duplicated code
3326
3327         * iterator.[Ch]: operator=
3328
3329 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3330
3331         * tabular.C (SetMultiColumn): ws changes
3332
3333         * rowpainter.C (paintFirst): get rid of a ->previous
3334
3335         * lyx_cb.C (getPossibleLabel): parlist simplification
3336
3337         * BufferView.C (ChangeInsets): simplify slightly.
3338
3339 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3340
3341         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3342         * lfuns.h: new LFUN_SPACE
3343         * lyxfunc.C: protected space has a new lfun
3344         * paragraph_funcs.C: read new space insets
3345         * text3.C:
3346         * factory.C: handle new space insets
3347
3348 2003-05-22  André Pönitz  <poenitz@gmx.net>
3349
3350         * BufferView.C:
3351         * BufferView_pimpl.C:
3352         * buffer.[Ch]:
3353         * lyxfunc.C:
3354         * undo_funcs.C: return a ParIterator from getParFromID.
3355
3356         * iterators.[Ch]: add two const's
3357
3358 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3359
3360         * toc.C (getTocList): adjust
3361
3362         * iterators.[Ch]: rework for parlist
3363
3364         * buffer.C (par_iterator_begin): adjust
3365         (par_iterator_end): adjust
3366
3367         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3368
3369         * BufferView.C (removeAutoInsets): adjust
3370         (ChangeInsets): adjust
3371
3372 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3373
3374         * text.C (top_y): fix bug 1110
3375
3376 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3377
3378         * errorlist.[Ch]: added
3379         * buffer.C:
3380         * BufferView.[Ch]:
3381         * BufferView_pimpl.C:
3382         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3383         instead
3384
3385 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3386
3387         * Makefile.am: ensure that lyx is relinked upon changes to the
3388         various "convenience" libs.
3389
3390 2003-05-20  Angus Leeming  <leeming@lyx.org>
3391
3392         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3393         files are compiled in alphabetical order again.
3394
3395         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3396
3397 2003-05-19  Angus Leeming  <leeming@lyx.org>
3398
3399         * gettext.[Ch]: remove "char const * _(char const *)".
3400
3401 2003-05-19  André Pönitz  <poenitz@gmx.net>
3402
3403         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3404
3405         * Makefile.am:
3406         * BufferView.C:
3407         * DepTable.h:
3408         * LaTeXFeatures.C:
3409         * buffer.C:
3410         * lyxfont.C:
3411         * lyxlex.h:
3412         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3413
3414 2003-05-19  André Pönitz  <poenitz@gmx.net>
3415
3416         * buffer.C:
3417         * lyxlayout.[Ch]:
3418         * lyxtextclass.[Ch]:
3419         * paragraph.C:
3420         * paragraph_funcs.[Ch]:
3421         * text2.C:
3422         * text3.C: more insetenv work
3423
3424 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3425
3426         * ParagraphParameters.C (params2string): small bug fixed
3427
3428 2003-05-16  André Pönitz  <poenitz@gmx.net>
3429
3430         * debug.C:
3431         * bufferview_funcs.C: patch from Kornel Benko to prevent
3432           crash when _(...) is called twice in a statement
3433
3434 2003-05-16  André Pönitz  <poenitz@gmx.net>
3435
3436         * BufferView.C:
3437         * lyxfunc.C:
3438         * text.C:
3439         * text2.C:
3440         * text3.C:
3441         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3442
3443 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3444
3445         * lyx_main.C (init): remove spurious static_cast
3446
3447 2003-05-14  André Pönitz  <poenitz@gmx.net>
3448
3449         * BufferView.C: fix format string
3450
3451 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3452
3453         * BufferView.[Ch] (insertErrors): removed
3454         * BufferView.[Ch] (showErrorList): added
3455         * buffer.C (runChkTeX):
3456         * converter.C (scanLog): call showErrorList instead of inserterrors
3457
3458 2003-05-13  André Pönitz  <poenitz@gmx.net>
3459
3460         * BufferView_pimpl.C:
3461         * buffer.C:
3462         * bufferview_func.C:
3463         * MenuBackend.C:
3464         * lyxfunc.C:
3465         * lyxrc.C:
3466         * tex-accent.C:
3467         * text3.C:
3468         * toc.C:
3469         * tabular_funcs.h: tostr() from its own header
3470
3471         * ParagraphParameters.C:
3472         * ToolbarBackend.C:
3473         * bufferparams.C:
3474         * format.C:
3475         * lyxlex_pimpl.C:
3476         * text3.C: STRCONV()
3477
3478 2003-05-12  André Pönitz  <poenitz@gmx.net>
3479
3480         * BufferView.C:
3481         * BufferView_pimpl.C:
3482         * CutAndPaste.C:
3483         * LaTeX.C:
3484         * LaTeXFeatures.C:
3485         * ParagraphParameters.C:
3486         * buffer.C:
3487         * bufferlist.C:
3488         * bufferparams.C:
3489         * bufferview_funcs.C:
3490         * converter.C:
3491         * counters.C:
3492         * debug.C:
3493         * exporter.C:
3494         * format.C:
3495         * importer.C:
3496         * lyx_cb.C:
3497         * lyx_main.C:
3498         * lyxfont.C:
3499         * lyxfunc.C:
3500         * lyxvc.C:
3501         * paragraph.C:
3502         * paragraph_funcs.C:
3503         * tabular.C:
3504         * tabular_funcs.C:
3505         * text2.C:
3506         * text3.C:  boost::format -> bformat  all over the place
3507
3508
3509 2003-05-09  André Pönitz  <poenitz@gmx.net>
3510
3511         * LColor.[Ch]: Pimpl the #include <map> away
3512
3513 2003-05-09  John Levon  <levon@movementarian.org>
3514
3515         * bufferlist.C: never remove emergency saves
3516
3517 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3518
3519         * Makefile.am: better lib building
3520
3521 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3522
3523         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3524         instead.
3525         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3526         (simpleTeXSpecialChars): adjust
3527         (simpleTeXSpecialChars): adjust
3528         * paragraph.C (simpleTeXOnePar): adjust
3529         * buffer.C (makeLaTeXFile): adjust
3530
3531         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3532
3533         * text2.C (changeDepth): parlist cleanup
3534         (getColumnNearX): ditto
3535
3536         * rowpainter.C (getLabelFont): parlist cleanup
3537
3538         * bufferlist.C (newFile): parlist cleanup
3539
3540         * CutAndPaste.C (eraseSelection): parlist cleanup
3541
3542         * BufferView_pimpl.C (trackChanges): parlist cleanup
3543         (dispatch): ditto
3544
3545         * BufferView.C (lockInset): parlist cleanup.
3546         (ChangeInsets): ditto
3547
3548 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3549
3550         * CutAndPaste.h: Update file header.
3551
3552         * CutAndPaste.C: Update file header.
3553         Store the parts cut out of the Document in a limited_stack.
3554         (copySelection): adjust
3555         (pasteSelection): new function, takes the index in the limited stack.
3556         (nrOfParagraphs): adjust
3557         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3558         simplify error inset insertion.
3559         (checkPastePossible): adjust
3560
3561 2003-05-06  John Levon  <levon@movementarian.org>
3562
3563         * text2.C: don't cast wrap inset to float
3564
3565 2003-05-05  André Pönitz  <poenitz@gmx.net>
3566
3567         * iterator.C:
3568         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3569
3570         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3571           few naked Paragraph *.
3572
3573 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3574
3575         * bufferparams.C: Output warning if a document with missing
3576         TeX document class is loaded
3577         * exporter.C: Disable TeX exports if the document class is missing
3578         * lyxtextclass.C:
3579         * lyxtextclass.h:
3580         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3581         isTeXClassAvailable()
3582
3583 2003-05-03  John Levon  <levon@movementarian.org>
3584
3585         * BufferView.h:
3586         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3587         explicit cursor show/hide
3588
3589         * BufferView_pimpl.h:
3590         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3591         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3592
3593         * lyxfunc.C: hide cursor before dispatching.
3594
3595         * lyx_cb.C:
3596         * lyxfind.C:
3597         * text.C:
3598         * text3.C: remove explicit cursor hides
3599
3600 2003-05-02  André Pönitz  <poenitz@gmx.net>
3601
3602         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3603
3604         * undo_funcs.C:
3605         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3606           linked lists
3607
3608         * text2.C: tiny whitespace
3609
3610 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3611
3612         * undo_funcs.C: almost only ws changes.
3613
3614         * ParagraphList.C (splice): just return if pl is empty.
3615
3616 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3617
3618         * ParagraphList.C (splice): new function.
3619
3620         * CutAndPaste.C (pasteSelection): use it
3621
3622 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3623
3624         * CutAndPaste.C (pasteSelection): remove the last next and
3625         previous from this file.
3626
3627 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3628
3629         * CutAndPaste.C (pasteSelection): more clean up, user proper
3630         ParagraphList functions for pasteing.
3631
3632         * ParagraphList.C (insert): new function, three arg insert
3633
3634 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3635
3636         * ParagraphList.C (insert): new function, three arg insert
3637
3638         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3639         not on paragraphs.
3640
3641 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3642
3643         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3644
3645 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3646
3647         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3648
3649 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3650
3651         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3652         (copySelection): clean up a bit.
3653         (pasteSelection): use make_pair
3654
3655         * ParagraphList.C (ParagraphList): implement copy constructor
3656         (operator=): implement, base on copy constructor.
3657         (assign): new func
3658
3659         * paragraph.C (erase): return a bool
3660
3661         * paragraph_pimpl.C (erasePos): remove function, move contents...
3662         (erase): ... here. Return a bool.
3663         (erase): call erase instead of erasePos.
3664
3665 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3666
3667         * ParagraphList.h: define PitPosPair
3668         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3669         ParagraphList, fix a bug on pasting multiple pars
3670         * text2.C: change interface to C&P
3671
3672 2003-04-30  André Pönitz  <poenitz@gmx.net>
3673
3674         * undo_func.C: revert part of yesterday's patch 2
3675
3676 2003-04-30  John Levon  <levon@movementarian.org>
3677
3678         * LColor.C: s/tabular/table/
3679
3680 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3681
3682         * text3.C (dispatch): do not convert iterator -> pointer
3683         * undo_funcs.C (setCursorParUndo): ditto
3684         * text_funcs.C (transposeChars): ditto
3685
3686         * text2.C (setLayout): ws changes only
3687
3688         * text.C (breakParagraph): do not convert iterator -> pointer
3689         (insertChar): ditto
3690         (acceptChange): ditto
3691         (rejectChange): ditto
3692         (changeCase): ditto
3693         (Delete): ditto
3694         (backspace): ditto
3695
3696         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3697         pointer
3698
3699 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3700
3701         * text3.C (gotoInset): YABG (yet another bad getChar)
3702
3703 2003-04-29  André Pönitz  <poenitz@gmx.net>
3704
3705         * paragraph.h: make operator= private unimplemented as long as
3706           it is unusable
3707
3708         * ParagraphList.C: whitespace
3709
3710         * paragraph.[Ch]:
3711         * paragraph_pimpl.[Ch]:
3712         * paragraph_funcs.C:
3713         * CutAndPaste.C:
3714         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3715
3716         * text2.C:
3717           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3718
3719 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3720
3721         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3722         * paragraph.[Ch] (erase):
3723         * paragraph_pimpl.[Ch] (erase): change return type and value
3724         * text2.C (cutSelection): some rework
3725
3726 2003-04-28  John Levon  <levon@movementarian.org>
3727
3728         * bufferlist.C: changes for unsaved changes dialog
3729
3730 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3731
3732         * bufferlist.C (newFile): set language (messages_) for new
3733         documents also.
3734
3735         * buffer.C (readFile): ws changes only.
3736
3737 2003-04-28  André Pönitz  <poenitz@gmx.net>
3738
3739         * undo_funcs.C:
3740         * lyxfunc.C:
3741         * buffer.[Ch]:
3742         * BufferView_pimpl.C:
3743         * BufferView.C: getParFromID related ParagraphList::iterator changes
3744
3745 2003-04-28  André Pönitz  <poenitz@gmx.net>
3746
3747         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3748           Changes
3749
3750 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3751
3752         * messages.C: remove one more localedir class variable.
3753
3754 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3755
3756         * messages.C (getLocaleDir): singleton generation function
3757         (Pimpl): use it.
3758         (Messages): add a default constructor.
3759
3760         * main.C (main): do not setup localedir here, do not call
3761         gettext_init.
3762
3763         * gettext.C (_): use it.
3764         (gettext_init): delete funciton
3765
3766 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3767
3768         * gettext.C (getLyXMessages): new singleton generating function.
3769
3770         * buffer.C (updateDocLang): adjust
3771
3772         * Makefile.am (messages.o): add target
3773         (main.o): remove target
3774
3775 2003-04-27  John Levon  <levon@movementarian.org>
3776
3777         * bufferlist.C:
3778         * lyx_cb.C:
3779         * lyxfunc.C:
3780         * lyxvc.C: specify cancel button in Alert::prompt
3781
3782 2003-04-26  John Levon  <levon@movementarian.org>
3783
3784         * text3.C:
3785         * lyxfunc.C:
3786         * lfuns.h:
3787         * LyXAction.C: add LFUN_INSET_SETTINGS
3788
3789         * lyxfunc.C: don't enable tabular-feature when there's
3790         just any locking inset
3791
3792 2003-04-26  John Levon  <levon@movementarian.org>
3793
3794         * bufferlist.C: re-add Cancel to buffer close question
3795
3796         * lyxfunc.C: fix import UI a bit
3797
3798 2003-04-25  John Levon  <levon@movementarian.org>
3799
3800         * gettext.C: remove the broken asserts for now
3801
3802 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3803
3804         * messages.C: make case where setlocale cannot comply work better.
3805
3806         * buffer.C (updateDocLang): new function
3807         (changeLanguage): use it
3808         (readFile): use it
3809
3810         * text2.C (setCounter): use B_ a bit.
3811
3812         * lyxlayout.C (Read): be sure to trim the label strings.
3813
3814         * messages.C (Messages): fix typo in comment
3815
3816         * buffer.C (readFile): set message_ after file is loaded.
3817         (makeDocBookFile): remove double return
3818         (changeLanguage): reset message_ upon language change.
3819         (B_): new func, use this to get translated buffer strings.
3820
3821         * main.C: add myself and Jean Marc as authors.
3822
3823 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3824
3825         * messages.[hC]: pimplify Messages, and three different pimpls to be
3826         used in different circumstances.
3827
3828         * gettext.[Ch]: change for use with new message code.
3829
3830 2003-04-24 André Pönitz <poenitz@gmx.net>
3831
3832         * factory.C: support for eqref
3833
3834 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3835
3836         * messages.[Ch]: add missing char
3837
3838         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3839
3840         * messages.[Ch]: New files
3841
3842 2003-04-18  John Levon  <levon@movementarian.org>
3843
3844         * BufferView.h:
3845         * BufferView.C:
3846         * BufferView_pimpl.C:
3847         * lfuns.h:
3848         * LyXAction.C:
3849         * lyxtext.h:
3850         * text2.C: remove layout-copy/paste (bug 778)
3851
3852 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3853
3854         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3855
3856 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3857
3858         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3859         if they succeed. Act accordingly.
3860
3861 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3862
3863         * text2.C (setCharFont): adjust
3864         (setCounter): adjust
3865         (insertStringAsLines): adjust
3866
3867         * text.C (leftMargin): adjust
3868         (setHeightOfRow): adjust
3869
3870         * rowpainter.C (paintFirst): adjust
3871         (paintLast): adjust
3872
3873         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3874         (outerHook): ditto
3875         (isFirstInSequence): ditto
3876         (getEndLabel): ditto
3877         (outerFont): adjust
3878
3879         * paragraph.C (getParLanguage): comment out some hard stuff.
3880
3881         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3882         (sgmlError): ditto
3883         (simpleDocBookOnePar): ditto
3884         (makeDocBookFile): use ParagraphList::iterator
3885
3886         * CutAndPaste.C (pasteSelection): adjust
3887
3888 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3889
3890         * text2.C (getFont): adjust
3891         (getLayoutFont): adjust
3892         (getLabelFont): adjust
3893
3894         * paragraph_funcs.C (TeXOnePar): adjust
3895
3896         * buffer.C (simpleLinuxDocOnePar): adjust
3897         (simpleDocBookOnePar): adjust
3898
3899         * CutAndPaste.C (pasteSelection): adjust
3900
3901         * BufferView.C (getEncoding): adjust
3902
3903         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3904
3905 2003-04-16  John Levon  <levon@movementarian.org>
3906
3907         * lyxfind.C: use parlist stuff for search/changes
3908
3909 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3910
3911         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3912
3913         * text2.C (deleteEmptyParagraphMechanism): adjust
3914
3915         * text2.[Ch] (ownerParagraph): delete func (both of them
3916
3917 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3918
3919         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3920
3921 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3922
3923         * ParagraphList.C: prepare for NO_NEXT
3924
3925 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3926
3927         * text2.C (getFont): adjust
3928         (getLayoutFont): adjust
3929         (getLabelFont): adjust
3930
3931         * paragraph.C (getFont): adjust
3932         (getLabelFont): adjust
3933         (getLayoutFont): adjust
3934
3935         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3936
3937 2003-04-15  John Levon  <levon@movementarian.org>
3938
3939         From Angus Leeming
3940
3941         * lyx_main.C: handle Include in .ui files
3942
3943 2003-04-15  John Levon  <levon@movementarian.org>
3944
3945         * MenuBackend.C: make the doc files length shorter
3946
3947         * ToolbarBackend.h:
3948         * ToolbarBackend.C: handle toolbar placement flags,
3949         Minibuffer
3950
3951 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3952
3953         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3954         adjust
3955
3956         * paragraph_funcs.C (TeXOnePar): adjust
3957
3958         * paragraph.C (getLabelFont): add outerfont arg, adjust
3959         (getLayoutFont): ditto
3960         (simpleTeXOnePar): adjust
3961
3962         * paragraph_pimpl.C (realizeFont): delete func
3963
3964 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3965
3966         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3967         row argument, constify cur argument.
3968
3969 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3970
3971         * text2.C (getFont): adjust
3972         (getLayoutFont): adjust
3973         (getLabelFont): adjust
3974
3975         * paragraph_funcs.C (TeXOnePar): adjust
3976         (outerFont): new func...
3977         (realizeFont): ...moved out from here, changed this to facilitate
3978         transition
3979
3980         * paragraph.C (getFont): take outerfont as arg, adjust
3981         (simpleTeXOnePar): add outerfont arg, adjust
3982
3983         * buffer.C (simpleLinuxDocOnePar): adjust
3984         (simpleDocBookOnePar): adjust
3985
3986         * CutAndPaste.C (pasteSelection): adjust
3987
3988         * BufferView.C (getEncoding): adjust
3989
3990 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3991
3992         * text2.C (setCharFont): adjust
3993         (setCounter): adjust
3994
3995         * text.C (leftMargin): adjust
3996         (setHeightOfRow): adjust
3997
3998         * rowpainter.C (paintFirst): adjust
3999         (paintLast): adjust
4000
4001         * paragraph_pimpl.C (realizeFont): adjust
4002
4003         * paragraph.C (isFirstInSequence): move from here...
4004         * paragraph_funcs.C (isFirstInSequence): ...to here
4005
4006         * paragraph.C (outerHook): move from here...
4007         * paragraph_funcs.C (outerHook): ...to here
4008
4009         * paragraph.C (depthHook): move from here...
4010         * paragraph_funcs.C (depthHook): ...to here
4011
4012         * paragraph.C (getEndLabel): move from here...
4013         * paragraph_funcs.C (getEndLabel): ...to here
4014
4015         * text2.C (realizeFont): move from here...
4016         * paragraph_funcs.C (realizeFont): ...to here
4017
4018 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4019
4020         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4021
4022 2003-04-14  Angus Leeming  <leeming@lyx.org>
4023
4024         * LColor.[Ch]: scrap LColor mathcursor.
4025
4026 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4027
4028         * lyxlex.[Ch] (text): delete function
4029         * trans.C (Load): adjust
4030         * paragraph_funcs.C (readParToken): adjust
4031
4032 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4033
4034         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4035         vector<char> instead of a char[].
4036
4037         * lyxlex_pimpl.C (getString): adjust
4038         (next): adjust
4039         (lex): use getString
4040         (eatLine): adjust
4041         (nextToken): adjust
4042
4043         * lyxlex.C (text): use pimpl_->getString()
4044         (getBool): ditto
4045         (findToken): ditto
4046
4047 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4048
4049         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4050         (makeFontEntriesLayoutSpecific): temp var for par.size()
4051         (setLayout): temp var for ownerParagraphs().end()
4052         (fullRebreak): temp var for rows().end()
4053         (selectionAsString): temp var for boost::next(startpit), realize
4054         that the while really is a regular for loop.
4055         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4056         setCursor in one place.
4057         (setParagraph): temp vr for ownerParagraphs().end()
4058         (updateCounters): make the while loop a for loop
4059         (cutSelection): temp var for ownerParagraphs().end()
4060         (updateInset): make the do {} while() a regular for loop
4061         (getCursorX): use temp vars
4062         (setCurrentFont): use temp vars
4063         (getColumnNearX): use temp vars
4064
4065 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4066
4067         * text.C (transformChar): use temp var for getChar
4068         (computeBidiTables): use temp var for row->par()
4069         (fill): move temp vars for row->par() and pit->layout() earlier in
4070         the function.
4071         (labelFill): use temp var for row->par()
4072         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4073         asc and desc, realize that pit never changes and that firstpit is
4074         just a duplicate and not needed. Exchange rit->par() with pit in a
4075         lot of places.
4076         (breakAgain): use a temp var for boost::next(rit)
4077         (breakAgainOneRow): ditto
4078         (breakParagraph): use a temp var for rows().begin()
4079         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4080         (cursorRightOneWord): use temp var for cursor.par() and
4081         cursor.pos(), remove usage of tmpcursor.
4082         (cursorLeftOneWord): use temp var for cursor.par() and
4083         cursor.pos() only set cur at end of function.
4084
4085 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4086
4087         * text.C, text2.C: exchange all usage of Paragraph::next with
4088         boost::next(ParagraphList::iterator)
4089
4090         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4091
4092         * text2.C (cursorTop): simplify implementation
4093         (cursorBottom): ditto
4094         (setParagraph): use ParagraphList::iterator
4095         (setCurrentFont): adjust
4096         (getColumnNearX): adjust
4097         (cursorRight): adjust
4098         (cursorLeft): remove usage of Paragraph::previous
4099         (cursorUpParagraph): ditto
4100         (deleteEmptyParagraphMechanism): slight cleanup
4101
4102         * text.C (isBoundary): take a Paragraph const & instead of a
4103         pointer as arg.
4104         (addressBreakPoint): ditto
4105         (leftMargin): remove usage of Paragraph::previous.
4106         (setHeightOfRow): ditto
4107         (cursorLeftOneWord): ditto
4108         (selectNextWordToSpellcheck): ditto
4109         (Delete): ditto
4110         (backspace): ditto
4111         (breakParagraph): remove one usage of Paragraph::next
4112         (redoParagraph): ditto
4113         (acceptChange): ditto
4114         (insertChar): adjust
4115         (rowBreakPoint): adjust
4116
4117         * bufferview_funcs.C (toggleAndShow): adjust
4118
4119 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4120
4121         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4122         methods to access it.
4123         * lyxtext.h:
4124         * text.C: Added updateRowPositions to compute all row positions.
4125         Make top_y and getRowNearY() to use the cached y position
4126
4127 2003-04-11  John Levon  <levon@movementarian.org>
4128
4129         * text.C (rowBreakPoint): reintroduce the labelEnd
4130         checks, code copied from the row fill stuff. Deep voodoo.
4131
4132         * text.C (fill): add a comment and debugging for the
4133         next poor soul.
4134
4135 2003-04-11  John Levon  <levon@movementarian.org>
4136
4137         * text.C: make sure fullrow insets get wrapped to the next line,
4138         even when they're in a manual label
4139
4140 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4141
4142         * text2.C (insertParagraph): make it take ParagraphList::iterator
4143         as arg.
4144         (setLayout): make it return ParagraphList::iterator
4145         (redoParagraphs): ditto
4146         (setCounter): ditto
4147         (checkParagraph): ditto
4148
4149         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4150
4151         * text2.C: adjust several funcs.
4152         (realizeFont): take a ParagraphList::iterator as arg.
4153         (getLayoutFont): ditto
4154         (getLabelFont): ditto
4155         (setCharFont): ditto
4156
4157         * text.C: adjust several funcs.
4158
4159 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4160
4161         * text.C (selectNextWordToSpellcheck): don't accidentally
4162         skip insets
4163
4164 2003-04-10  John Levon  <levon@movementarian.org>
4165
4166         * ToolbarBackend.C (getIcon): special handling for
4167         LFUN_MATH_DELIM
4168
4169 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4170
4171         * text2.C (cursorRight): a getChar assert fixed
4172
4173 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4174
4175         * text2.C (getFont): change to take a ParagraphList::iterator
4176         instead of Paragraph*
4177         Adjust several functions.
4178
4179         * text.C (transformChar): change to take a ParagraphList::iterator
4180         instead of Paragraph*
4181         (singleWidth): ditto
4182         Adjust several functions.
4183
4184         * rowpainter.C: adjust several functions
4185         * rowpainter.h:store a ParagraphList::iterator and not a
4186         Paragraph&.
4187
4188
4189 2003-04-09  John Levon  <levon@movementarian.org>
4190
4191         * lyxfunc.C:
4192         * lfuns.h:
4193         * LyXAction.h:
4194         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4195         and the "help" bits as well
4196
4197 2003-04-09  John Levon  <levon@movementarian.org>
4198
4199         * ToolbarBackend.h:
4200         * ToolbarBackend.C: allow multiple toolbars
4201
4202 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4203
4204         * undo_funcs.C (setCursorParUndo): adjust
4205
4206         * text_funcs.C (transposeChars): adjust
4207
4208         * text3.C (gotoNextInset): adjust
4209         (dispatch): adjust
4210
4211         * text2.C (setLayout): adjust
4212         (changeDepth): adjust
4213         (setFont): adjust
4214         (redoParagraphs): adjust
4215         (selectionAsString): adjust
4216         (setParagraph): adjust
4217         (insertInset): adjust
4218         (cutSelection): adjust
4219         (copySelection): adjust
4220         (pasteSelection): adjust
4221         (insertStringAsLines): adjust
4222         (updateInset): adjust
4223         (setCursor): change to take a ParagraphList::iterator parameter
4224         (setCursorIntern): change to take a ParagraphList::iterator parameter
4225         (setCurrentFont): adjust
4226         (cursorLeft): adjust
4227         (cursorRight): adjust
4228         (deleteEmptyParagraphMechanism): adjust
4229
4230         * text.C (breakParagraph): adjust
4231         (insertChar): adjust
4232         (acceptChange): adjust
4233         (rejectChange): adjust
4234         (selectNextWordToSpellcheck): adjust
4235         (changeCase): adjust
4236         (Delete): adjust
4237         (backspace): adjust
4238
4239         * lyxfind.C (SearchForward): adjust
4240         (SearchBackward): adjust
4241         (nextChange): adjust
4242
4243         * lyxcursor.C (par): adjust
4244
4245         * lyxcursor.h: store a ParagraphList::iterator instead of a
4246         Paragraph*
4247
4248         * lyx_cb.C (getPossibleLabel): adjust
4249
4250         * bufferview_funcs.C (toggleAndShow): adjust
4251
4252         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4253         (dispatch): adjust
4254
4255         * BufferView.C (removeAutoInsets): adjust
4256         (lockedInsetStoreUndo): adjust
4257
4258 2003-04-09  John Levon  <levon@movementarian.org>
4259
4260         * ToolbarBackend.C: try icon without argument
4261         if with argument fails
4262
4263 2003-04-08  John Levon  <levon@movementarian.org>
4264
4265         * ToolbarBackend.h:
4266         * ToolbarBackend.C: add getIcon(), handle tooltip,
4267         and change from "Icon" to "Item".
4268
4269 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4270
4271         * BufferView.C (lockInset): another bad getchar crunched
4272
4273 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4274
4275         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4276         again)
4277
4278 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4279
4280         * lyxfind.C (searchForward, searchBackwards): bug 782
4281
4282 2003-04-07  John Levon  <levon@movementarian.org>
4283
4284         * paragraph.C: remove dead comment
4285
4286         * text.C: remove troublesome depth-fiddling code
4287         in leftMargin() and rightMargin() (bug 1017)
4288
4289         * text.C: fix breaking of rows in nested lists
4290         (bug 1004)
4291
4292         * text2.C (updateCounters): fix up depth values
4293         (bug 1013)
4294
4295 2003-04-07  John Levon  <levon@movementarian.org>
4296
4297         * BufferView_pimpl.C: clear message when doc finishes resizing,
4298         and after a mouse event
4299
4300         * lyxfunc.C: clear message after exiting inset
4301
4302 2003-04-07  John Levon  <levon@movementarian.org>
4303
4304         * bufferview_funcs.C: show math status not outside
4305         status in the statusbar
4306
4307 2003-04-07  John Levon  <levon@movementarian.org>
4308
4309         * lyxfunc.C: note status changed after a depth change
4310
4311 2003-04-04  Angus Leeming  <leeming@lyx.org>
4312
4313         * LaTeX.h: move AuxInfo operator==, != out of line.
4314         Remove LaTeX virtual destructor; nothing derives from it.
4315         Move operator()() out of public area and rename it startscript().
4316         Change protected for private.
4317
4318 2003-04-04  Angus Leeming  <leeming@lyx.org>
4319
4320         * lyxfunc.C:
4321         * text2.C: remove unneeded #includes.
4322
4323 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4324
4325         * text2.C (dEPM): fix the heigth of the next row
4326
4327 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4328
4329         * text.C: squashed an invalid getChar requester + some ws changes
4330
4331 2003-04-03  John Levon  <levon@movementarian.org>
4332
4333         * bufferview_funcs.h:
4334         * bufferview_funcs.C:
4335         * lyxfunc.C:
4336         * lyxtext.h:
4337         * text2.C: make getStatus work for the env depth lfuns
4338
4339 2003-04-03  John Levon  <levon@movementarian.org>
4340
4341         * bufferview_funcs.h:
4342         * bufferview_funcs.C:
4343         * lyxfunc.C:
4344         * lyxtext.h:
4345         * text2.C: parlistize decDepth(), by merging it with incDepth()
4346
4347 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4348
4349         * lyxrow.h: store a ParagraphList::iterator instead of a
4350         Paragraph* and adjust other class functions to suit.
4351
4352         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4353         above.
4354
4355 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4356
4357         * text2.C (setCursor): do not anchor to cursor row for the time being
4358
4359 2003-04-02  John Levon  <levon@movementarian.org>
4360
4361         * LyXAction.C:
4362         * lfuns.h:
4363         * lyx_main.C:
4364         * lyxtext.h:
4365         * text.C:
4366         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4367
4368 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4369
4370         * paragraph.h: make ParagraphList and ParagraphList::iterator
4371         friends of Paragraph.
4372
4373         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4374
4375         * ParagraphList.C: Use the private next_ and previous_ from
4376         Paragraph.
4377
4378 2003-04-01  John Levon  <levon@movementarian.org>
4379
4380         * ToolbarBackend.h:
4381         * ToolbarBackend.C:
4382         * Makefile.am: rename, remove defaults gunk
4383
4384         * MenuBackend.h:
4385         * MenuBackend.C: remove defaults gunk
4386
4387         * Languages.h:
4388         * Languages.C: remove defaults gunk
4389
4390         * lyx_main.h:
4391         * lyx_main.C: error out if files couldn't be found.
4392
4393 2003-04-02  John Levon  <levon@movementarian.org>
4394
4395         * text2.C: make incDepth() use parlist
4396
4397 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4398
4399         * undo_funcs.C (firstUndoParagraph): adjust
4400
4401         * text3.C (gotoInset): adjust
4402         (dispatch): adjust, and rewrite loop.
4403
4404         * text2.C (init): adjust, and rewrite loop.
4405         (redoParagraphs): adjust
4406         (updateInset): adjust, and rewrite loop.
4407         (deleteEmptyParagraphMechanism): adjust
4408
4409         * tabular.C (LyXTabular): adjust
4410         (SetMultiColumn): adjust
4411         (TeXRow): adjust
4412
4413         * lyxtext.[Ch] (ownerParagraph): delete function
4414         (ownerParagraphs): new function returns a ParagraphList.
4415
4416         * BufferView.C (removeAutoInsets): adjust
4417         (insertErrors): adjust
4418         (setCursorFromRow): adjust
4419
4420 2003-04-01  Angus Leeming  <leeming@lyx.org>
4421
4422         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4423         in the frontends.
4424
4425 2003-04-02  John Levon  <levon@movementarian.org>
4426
4427         * lyxtext.h:
4428         * text.C:
4429         * Makefile.am:
4430         * text_funcs.h:
4431         * text_funcs.C: make transposeChars a free function
4432
4433         * lyxrow_funcs.C: remove wrong comment
4434
4435 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4436
4437         * lyxtext.h: adjust
4438         * rowpainter.C: adjust
4439         * text.C: adjust
4440         * text2.C: adjust
4441         * text3.C: adjust
4442
4443         * lyxrow_funcs. [Ch]: new files
4444
4445         * lyxrow.[Ch]: remove next and previous pointers
4446         (next,previous): remove accessor functions
4447         (isParEnd): move to lyxrow_funcs
4448         (lastPos): move to lyxrow_funcs
4449         (nextRowIsAllInset): move to lyxrow_funcs
4450         (lastPrintablePos): move to lyxrow_funcs
4451         (numberOfSeparators): move to lyxrow_funcs
4452         (numberOfHfills): move to lyxrow_funcs
4453         (numberOfLabelHfills): move to lyxrow_funcs
4454         (hfillExpansion): move to lyxrow_funcs
4455
4456         * lyxfunc.C: adjust
4457
4458         * bufferview_funcs.C (toggleAndShow): adjust
4459
4460         * RowList.h: Remove class RowList from file leave just a
4461         std::list<Row>.
4462
4463         * RowList.C: delete file
4464
4465         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4466         and lyxrow_funcs.h
4467
4468 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4469
4470         * text3.C (cursorPrevious): adjust
4471         (cursorNext): adjust
4472         (dispatch): adjust
4473
4474         * text2.C (redoHeightOfParagraph): adjust
4475         (redoDrawingOfParagraph): adjust
4476         (setCursor): adjust
4477
4478         * text.C (breakParagraph): adjust
4479         (insertChar): adjust
4480         (backspace): adjust
4481
4482         * rowpainter.C (RowPainter): adjust
4483         (leftMargin): simplify and adjust
4484         (most rowpainter functions): adjust.
4485
4486         * rowpainter.h: store the row as RowList::iterator not as Row*
4487
4488         * lyxcursor.C (row): taka RowList::iterator as arg
4489         (irow): ditto
4490
4491         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4492         of Row*.
4493
4494 2003-04-01  Angus Leeming  <leeming@lyx.org>
4495
4496         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4497         stuff like bool Bool.
4498
4499 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4500
4501         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4502         rewrite a loop
4503
4504 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4505
4506         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4507         RowList::iterator.
4508
4509         * lyxtext.h (rows): drop one version and leve a const variant that
4510         returns a RowList::iterator.
4511
4512 2003-03-31  Angus Leeming  <leeming@lyx.org>
4513
4514         * text.C (fill): ensure that the signature is the same as that in the
4515         header file.
4516
4517 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4518
4519         * text2.C (redoParagraphs): adjust
4520         (updateCounters): adjust
4521         (checkParagraph): adjust
4522         (getColumnNearX): adjust and reformat a bit.
4523
4524         * text.C (top_y): adjust
4525         (workWidth): adjust
4526         (leftMargin): adjust
4527         (prepareToPrint): adjust
4528         (getRow): adjust
4529         (getRowNearY): adjust
4530
4531         * lyxtext.h: make rowlist_ mutable.
4532
4533         * RowList.h: add const_iterator
4534         * RowList.C: adjust for RowList::const_iterator.
4535
4536         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4537         adjust.
4538
4539 2003-03-31  John Levon  <levon@movementarian.org>
4540
4541         * lyxrc.h:
4542         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4543
4544         * lyx_main.C: set default fonts from using lyx_gui funcs
4545
4546         * exporter.C: pdf_mode moved from lyxrc
4547
4548         * lyx_cb.C:
4549         * lyxfunc.C: changes from above
4550
4551 2003-03-31  John Levon  <levon@movementarian.org>
4552
4553         * lyx_main.C: fix to the last fix
4554
4555 2003-03-31  John Levon  <levon@movementarian.org>
4556
4557         * bufferlist.C: "Load original" -> "Load Original"
4558
4559         * converter.C:
4560         * exporter.C:
4561         * importer.C:
4562         * lyx_main.C:
4563         * format.C: more Alert cleanups
4564
4565 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4566
4567         * text2.C (removeParagraph): make it take a RowList::iterator as
4568         arg, adjust.
4569         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4570         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4571
4572         * text.C (anchor_row): make it take a RowList::iterator as arg,
4573         adjust.
4574         (computeBidiTables): make it take a const reference to Row instead
4575         of Row pointer, adjust.
4576         (leftMargin): make it take a RowList::iterator as arg, adjust.
4577         (rowBreakPoint): adjust
4578         (breakAgainOneRow): make it take a RowList::iterator as arg,
4579         adjust.
4580         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4581
4582         * bufferview_funcs.C (toggleAndShow): adjust
4583
4584 2003-03-30  John Levon  <levon@movementarian.org>
4585
4586         * Makefile.am:
4587         * BoostFormat.h:
4588         * boost-inst.C: moved to support
4589
4590         * several files: changes as a result
4591
4592 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4593
4594         * text2.C (LyXText): adjust.
4595         (init): adjust
4596         (removeRow): make it take a RowList::iterator as arg, adjust.
4597         (fullRebreak): adjust
4598         (deleteEmptyParagraphMechanism): adjust
4599         (clearPaint): adjust
4600         (postPaint): adjust
4601
4602         * text.C (top_y): adjust
4603         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4604         (breakAgain): make it take a RowList::iterator as arg, adjust.
4605         (breakParagraph): adjust
4606         (insertChar): adjust
4607         (backspace): adjust
4608
4609         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4610         need_break_row, and refresh_row.
4611
4612         * text3.C (dispatch): adjust
4613
4614         * text2.C (checkParagraph): adjust
4615         (setCursor): adjust
4616         (setCursorFromCoordinates): adjust
4617
4618         * text.C (top_y): adjust
4619         (workWidth): adjust
4620         (getRow): make it return a RowList::iterator, adjust
4621         (getRowNearY): make it return a RowList::iterator, adjust
4622
4623         * text2.C (init): adjust
4624         (insertRow): remove function
4625         (insertParagraph): adjust
4626         (redoParagraphs): adjust
4627         (fullRebreak): adjust
4628         (updateCounters): adjust
4629
4630         * text.C (top_y): rewrite to use RowList iterators.
4631         (top_y): adjust
4632         (setHeightOfRow): rewrite to sue RowList iterators.
4633         (appendParagraph): adjust
4634         (breakAgain): adjust
4635         (breakAgainOneRow): adjust
4636         (breakParagraph): adjust
4637         (getRow): adjust
4638         (getRowNearY): adjust, and remove commented code.
4639
4640         * lyxtext.h (firstRow): delete function
4641         (lastRow): delete function
4642         (rows): new function (const and non-const versions.)
4643         (insertRow): delete function
4644
4645         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4646
4647 2003-03-29  John Levon  <levon@movementarian.org>
4648
4649         * BufferView_pimpl.C: always update scrollbar top
4650         because pasting text when we're anchored could mean we
4651         miss an update altogether
4652
4653 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4654
4655         * text2.C (init): use rowlist_.end() and not 0.
4656         (insertRow): change to take a RowList::iterator as arg, adjust
4657         for this.
4658         (insertParagraph): change to take a RowList::iterator as arg,
4659         adjust for this.
4660         (redoParagraphs): remove some debug msgs.
4661
4662         * text.C (appendParagraph): change to take a RowList::iterator
4663         arg, adjust for this.
4664         (breakAgain): add an assert
4665         (breakAgainOneRow): ditto
4666
4667 2003-03-29  John Levon  <levon@movementarian.org>
4668
4669         * text2.C: do not clear selection after inc/decDepth
4670         (bug 550)
4671
4672 2003-03-29  John Levon  <levon@movementarian.org>
4673
4674         * BufferView.C:
4675         * buffer.C: fix broken strerrors according to Lars
4676
4677 2003-03-29  John Levon  <levon@movementarian.org>
4678
4679         * converters.C: more Alert cleanups
4680
4681 2003-03-29  John Levon  <levon@movementarian.org>
4682
4683         * bufferview_funcs.C: remove pointless Alert
4684
4685         * buffer.C: fix confusing error message when
4686         a template is chmoded 000
4687
4688 2003-03-29  John Levon  <levon@movementarian.org>
4689
4690         * BufferView.C:
4691         * BufferView.h:
4692         * BufferView_pimpl.C: Alert fixes
4693
4694         * Makefile.am:
4695         * tabular.C:
4696         * tabular-old.C: remove unused table compat reading
4697
4698 2003-03-29  John Levon  <levon@movementarian.org>
4699
4700         * BufferView.C:
4701         * buffer.C:
4702         * lyx_cb.h:
4703         * lyx_cb.C: more Alert cleanups
4704
4705         * lyxfunc.C: don't allow chktex if not latex document
4706
4707 2003-03-29  John Levon  <levon@movementarian.org>
4708
4709         * lyx_cb.C:
4710         * BufferView.C:
4711         * buffer.C: warnings pushed down from support/,
4712         kill err_alert
4713
4714 2003-03-29  John Levon  <levon@movementarian.org>
4715
4716         * lyxfunc.C: safety check for C-r (revert)
4717
4718 2003-03-29  John Levon  <levon@movementarian.org>
4719
4720         * bufferlist.h:
4721         * bufferlist.C: several UI fixes using Alert::prompt.
4722         Fix the pointless looping quit code. Fix stupid revert
4723         behaviour (bug 938)
4724
4725         * lyxvc.h:
4726         * lyxvc.C:
4727         * lyx_cb.C: use Alert::prompt
4728
4729         * lyx_main.C: remove a silly question
4730
4731         * lyxfunc.C: remove a couple of silly questions,
4732         use Alert::prompt
4733
4734 2003-03-28  John Levon  <levon@movementarian.org>
4735
4736         * text2.C: fix bug 974 (End on empty par)
4737
4738 2003-03-28  John Levon  <levon@movementarian.org>
4739
4740         * BufferView_pimpl.C:
4741         * LyXAction.C:
4742         * lfuns.h: remove do-nothing math greek lfuns
4743
4744 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4745
4746         * lyxgluelength.h (isValidGlueLength): add default arg on
4747         parameter 2. Remove default arg from friend in class.
4748
4749         * lyxlength.h (isValidLength): add default arg on parameter 2.
4750         Remove default arg from friend in class.
4751
4752         * text2.C (LyXText): adjust, initialize refresh_row.
4753         (init): adjust
4754         (removeRow): adjust
4755         (insertRow): adjust
4756         (insertParagraph): adjst
4757         (redoParagraphs): adjust
4758         (fullRebreak): adjust
4759         (updateCounters): adjust
4760         (deleteEmptyParagraphMechanism): first attempt at fixing a
4761         crashing bug.
4762
4763         * text.C (top_y): adjust
4764         (setHeightOfRow): adjust
4765         (getRow): adjust
4766         (getRowNearY): adjust
4767
4768         * lyxtext.h: include RowList.h
4769         (~LyXText): not needed anymore, deleted.
4770         (firstRow): modify for RowList
4771         (lastRow): new function
4772         Delete firstrow and lastrow class variables, add a Rowlist
4773         rowlist_ class variable.
4774
4775         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4776         paragraph is empty.
4777
4778         * RowList.C (insert): fix case where it == begin().
4779
4780 2003-03-26  Angus Leeming  <leeming@lyx.org>
4781
4782         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4783         the thesaurus dialog.
4784
4785 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4786
4787         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4788
4789         * RowList.[Ch]: new files
4790
4791         * ParagraphList.C (erase): handle the case where it == begin
4792         correctly.
4793
4794 2003-03-25  John Levon  <levon@movementarian.org>
4795
4796         * Makefile.am:
4797         * aspell_local.h:
4798         * aspell.C: add new aspell support
4799
4800         * lyxrc.h:
4801         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4802         have it accessible.
4803
4804 2003-03-25  Angus Leeming  <leeming@lyx.org>
4805
4806         * lfuns.h:
4807         * LyXAction.C (init): new LFUN_INSET_INSERT.
4808
4809         * BufferView_pimpl.C (dispatch): split out part of the
4810         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4811
4812         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4813         LFUN_INSET_APPLY.
4814
4815 2003-03-25  Angus Leeming  <leeming@lyx.org>
4816
4817         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4818
4819 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4820
4821         * text2.C:
4822         * text3.C: remove useless row->height(0)
4823
4824 2003-03-25  John Levon  <levon@movementarian.org>
4825
4826         * lyxtext.h:
4827         * text2.C:
4828         * text3.C: rename the refreshing stuff to better names
4829
4830 2003-03-24  John Levon  <levon@movementarian.org>
4831
4832         * BufferView_pimpl.h:
4833         * BufferView_pimpl.C: update layout choice on a mouse
4834         press/release
4835
4836 2003-03-23  John Levon  <levon@movementarian.org>
4837
4838         * Makefile.am: fix commandtags.h reference
4839
4840 2003-03-22  John Levon  <levon@movementarian.org>
4841
4842         * BufferView_pimpl.C:
4843         * lyxtext.h:
4844         * rowpainter.C:
4845         * rowpainter.h:
4846         * text.C:
4847         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4848
4849 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4850
4851         * lyxtext.h:
4852         * text.C: take the rtl methods out of line
4853
4854 2003-03-21 André Pönitz <poenitz@gmx.net>
4855
4856         * metricsinfo.[Ch]: new files containing structures to be passed around
4857         during the two-phase-drawing...
4858
4859 2003-03-21 André Pönitz <poenitz@gmx.net>
4860
4861         * lyxtextclass.C: read 'environment' tag.
4862
4863 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4864
4865         * text2.C (removeRow): fix bug 964
4866
4867 2003-03-20  John Levon  <levon@movementarian.org>
4868
4869         * rowpainter.C:
4870         * text.C:
4871         * text2.C: paint cleanups. Inset::update() dropped font
4872         parameter
4873
4874 2003-03-19  John Levon  <levon@movementarian.org>
4875
4876         * lyxfunc.C: only fitcursor/markDirty if available()
4877
4878 2003-03-19  John Levon  <levon@movementarian.org>
4879
4880         * commandtags.h: rename to ...
4881
4882         * lfuns.h: ... this, and renumber / cleanup
4883
4884 2003-03-19  John Levon  <levon@movementarian.org>
4885
4886         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4887         fit the cursor after an lfun
4888
4889         * BufferView.h:
4890         * BufferView.C:
4891         * BufferView_pimpl.h:
4892         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4893
4894         * LyXAction.C: layout-character should have ReadOnly
4895
4896         * ParagraphParameters.C:
4897         * buffer.C:
4898         * bufferview_funcs.C:
4899         * lyx_cb.C:
4900         * lyxfind.C:
4901         * lyxtext.h:
4902         * text.C:
4903         * text2.C:
4904         * text3.C:
4905         * undo_funcs.C: changes from above
4906
4907 2003-03-18  John Levon  <levon@movementarian.org>
4908
4909         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4910         remove it from update()
4911
4912         * lyxfunc.C: update layout choice after an lfun
4913
4914         * text3.C: remove extra updateLayoutChoice()s
4915
4916 2003-03-18  John Levon  <levon@movementarian.org>
4917
4918         * text.C: top_y change means full repaint, fix
4919         a drawing bug with cursor movement
4920
4921 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4922
4923         * lyxtext.h:
4924         * text.C:
4925         * text2.C: anchor row on setCursor
4926
4927 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4928
4929         * lyxtext.h: remove almost all mutable keywords
4930         * text.C:
4931         * text2.C:
4932         * text3.C: remove const keywords accordingly
4933
4934 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4935
4936         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4937         anon namespace
4938         (TeXEnvironment): ditto
4939         (TeXOnePar): ditto
4940
4941 2003-03-17  John Levon  <levon@movementarian.org>
4942
4943         * text.C (rowBreakPoint): remove attempt to fix displayed
4944         math insets inside a manual label
4945
4946 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4947
4948         * lyxtext.h: remove BufferView* as first arg from almost all class
4949         functions.
4950         * other files: adjust.
4951
4952 2003-03-17  John Levon  <levon@movementarian.org>
4953
4954         * lyxtext.h:
4955         * undo_funcs.C:
4956         * text2.C: more paint cleanups
4957
4958         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4959
4960         * rowpainter.h:
4961         * rowpainter.C: remove "smart" background painting code
4962
4963 2003-03-16  John Levon  <levon@movementarian.org>
4964
4965         * lyxtext.h:
4966         * text.C:
4967         * text2.C:
4968         * text3.C: add helper functions for setting refresh_row/y
4969
4970 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4971
4972         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4973         newline inset which *can* get inserted in the pass_thru layouts.
4974         This is primarily for literate documents.
4975
4976 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4977
4978         * buffer.C: increment LYX_FORMAT to 223
4979
4980 2003-03-14 André Pönitz <poenitz@gmx.net>
4981
4982         * textclass.h: prepare for environment handling, ws changes
4983         * lyxlayout.C: read latexheader and latexfooter tags
4984
4985 2003-03-14  John Levon  <levon@movementarian.org>
4986
4987         * text2.C: rewrite ::status() a bit
4988
4989 2003-03-13  John Levon  <levon@movementarian.org>
4990
4991         * lyxtext.h: add some docs
4992
4993 2003-03-13  John Levon  <levon@movementarian.org>
4994
4995         * lyxtext.h:
4996         * text.C:
4997         * text2.C:
4998         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4999
5000 2003-03-13  John Levon  <levon@movementarian.org>
5001
5002         * text3.C: fix appendix redrawing
5003
5004 2003-03-13  John Levon  <levon@movementarian.org>
5005
5006         * text.C (setHeightOfRow):
5007         * rowpainter.h:
5008         * rowpainter.C: make appendix mark have the text
5009           "Appendix" so the user knows what it is
5010
5011         * LColor.h:
5012         * LColor.C: s/appendixline/appendix/ from above
5013
5014 2003-03-13  John Levon  <levon@movementarian.org>
5015
5016         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5017
5018         * text.C: fix a getChar(pos) bug properly
5019
5020 2003-03-13  Angus Leeming  <leeming@lyx.org>
5021
5022         * commandtags.h:
5023         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5024         Probably only temporary. Let's see how things pan out.
5025
5026         * BufferView.C (unlockInset):
5027         * BufferView_pimpl.C (fitCursor):
5028         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5029
5030         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5031         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5032
5033         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5034         new functions that convert ParagraphParameters to and from a string.
5035
5036         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5037         BufferView::Pimpl's dispatch.
5038         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5039
5040 2003-03-13 André Pönitz <poenitz@gmx.net>
5041
5042         * lyxfunc.C:
5043         * text3.C:
5044         * factory.C: make it aware of InsetEnv
5045
5046 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5047
5048         * text2.C (setCursor): never ask for one past last
5049         (setCursor): add some debugging messages.
5050
5051         * text.C (singleWidth): never ask for one past last
5052         (singleWidth): ditto
5053         (leftMargin): ditto
5054         (rightMargin): ditto
5055         (rowBreakPoint): ditto
5056         (setHeightOfRow): ditto
5057         (prepareToPrint): ditto
5058
5059         * rowpainter.C (paintBackground): never ask for one past last
5060         (paintText): never ask for one past last
5061
5062         * paragraph_pimpl.C (getChar): make the assert stricter, never
5063         allow the one past last pos to be taken
5064
5065         * paragraph.C (getChar): ws changes only
5066
5067         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5068         (numberOfSeparators): ditto
5069         (numberOfHfills): ditto
5070
5071 2003-03-12  John Levon  <levon@movementarian.org>
5072
5073         * author.h:
5074         * author.C:
5075         * bufferparams.h:
5076         * bufferparams.C:
5077         * paragraph_funcs.C: fix per-buffer authorlists
5078
5079 2003-03-12  John Levon  <levon@movementarian.org>
5080
5081         * text.C: fix newline in right address
5082
5083 2003-03-12  Angus Leeming  <leeming@lyx.org>
5084
5085         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5086         duplicate those in LyXFunc::dispatch.
5087
5088         * commandtags.h:
5089         * LyXAction.C:
5090         * ToolbarDefaults.C:
5091         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5092         Add LFUN_FONTFREE_UPDATE.
5093
5094         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5095         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5096
5097         * bufferview_func.[Ch]: several new functions to facilliate
5098         transfer of data to and from the character dialog.
5099
5100 2003-03-12  John Levon  <levon@movementarian.org>
5101
5102         * buffer.C:
5103         * paragraph.h:
5104         * paragraph.C:
5105         * paragraph_funcs.C:
5106         * paragraph_pimpl.C:
5107         * sgml.C:
5108         * tabular.C:
5109         * text.C:
5110         * text3.C: remove META_NEWLINE in favour of an inset
5111
5112         * rowpainter.h:
5113         * rowpainter.C: remove paintNewline (done by inset)
5114
5115 2003-03-12  John Levon  <levon@movementarian.org>
5116
5117         * paragraph_pimpl.C: complain about bad getChar()s
5118         for a while at least
5119
5120 2003-03-12  John Levon  <levon@movementarian.org>
5121
5122         * buffer.h:
5123         * buffer.C: move paragraph read into a separate function,
5124         a little renaming to reflect that.
5125
5126         * bufferparams.h:
5127         * bufferparams.C: remove the author_ids map, not necessary now
5128
5129         * factory.h:
5130         * factory.C: moved Buffer::readInset to here
5131
5132         * paragraph_funcs.h:
5133         * paragraph_funcs.C: readParagraph free function moved from
5134         buffer.C
5135
5136         * tabular.C: name change
5137
5138 2003-03-12  John Levon  <levon@movementarian.org>
5139
5140         * buffer.C:
5141         * ParagraphParameters.C: move par params input to
5142         a read() method
5143
5144         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5145         behave like a normal read from the stream wrt reading
5146         a line vs. a \\token
5147
5148 2003-03-12  John Levon  <levon@movementarian.org>
5149
5150         * paragraph.C:
5151         * ParagraphParameters.h:
5152         * ParagraphParameters.C: move output code to a
5153         ::write() method
5154
5155 2003-03-12  John Levon  <levon@movementarian.org>
5156
5157         * BufferView.C (insertLyXFile):
5158         * buffer.h:
5159         * buffer.C:
5160         * tabular.C: use a parlist iterator for creating the
5161           document.
5162
5163 2003-03-12  John Levon  <levon@movementarian.org>
5164
5165         * buffer.C: make current_change static local not
5166           static file-scope
5167
5168 2003-03-12  John Levon  <levon@movementarian.org>
5169
5170         * buffer.C: fix insertStringAsLines for change tracking
5171
5172 2003-03-12  John Levon  <levon@movementarian.org>
5173
5174         * BufferView.C:
5175         * tabular.C:
5176         * buffer.h:
5177         * buffer.C:
5178         * bufferparams.h:
5179         * bufferparams.C: move author list into params. Rename some
5180           functions. Move the header reading into a separate token
5181           loop. Move the header token reading into BufferParams.
5182
5183 2003-03-12  John Levon  <levon@movementarian.org>
5184
5185         * changes.C: put debug inside lyxerr.debugging() checks
5186
5187 2003-03-11 André Pönitz <poenitz@gmx.net>
5188
5189         * factory.C: make it aware of InsetHFill
5190
5191 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5192
5193         * buffer.C (latexParagraphs): move function from here...
5194         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5195         args.
5196
5197 2003-03-10  Angus Leeming  <leeming@lyx.org>
5198
5199         * LyXAction.C (init): fix bug in poplating array with multiple entries
5200         with the same LFUN (spotted by JMarc).
5201
5202 2003-03-10  John Levon  <levon@movementarian.org>
5203
5204         * text.C:
5205         * text2.C: move getColumnNearX() near its
5206         only call site
5207
5208 2003-03-10  John Levon  <levon@movementarian.org>
5209
5210         * text.C: fix break before a minipage
5211
5212 2003-03-10  John Levon  <levon@movementarian.org>
5213
5214         * text.C: fix the last commit
5215
5216 2003-03-09  John Levon  <levon@movementarian.org>
5217
5218         * lyxtext.h:
5219         * text.C:
5220         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5221         bug 365 (don't break before insets unless needed). Don't
5222         return a value > last under any circumstances.
5223
5224 2003-03-09  Angus Leeming  <leeming@lyx.org>
5225
5226         * BufferView_pimpl.C (trackChanges, dispatch): call
5227         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5228
5229 2003-03-09  Angus Leeming  <leeming@lyx.org>
5230
5231         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5232         than Dialogs::showAboutlyx().
5233
5234 2003-03-09  Angus Leeming  <leeming@lyx.org>
5235
5236         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5237         than Dialogs::showTabularCreate().
5238
5239 2003-03-09  John Levon  <levon@movementarian.org>
5240
5241         * lyxtext.h:
5242         * text.C:
5243         * text2.C: 3rd arg to nextBreakPoint was always the same.
5244           Use references.
5245
5246 2003-03-08  John Levon  <levon@movementarian.org>
5247
5248         * lyxrow.C:
5249         * paragraph.C:
5250         * paragraph.h:
5251         * rowpainter.C:
5252         * text.C:
5253         * text2.C: Remove the "main" bit from the "main body"
5254           notion.
5255
5256 2003-03-08  John Levon  <levon@movementarian.org>
5257
5258         * text.C (leftMargin): The left margin of an empty
5259         manual label paragraph should not include the label width
5260         string length.
5261
5262         * text.C (prepareToPrint): don't attempt to measure hfills
5263         for empty manual label paragraphs - the answer should be 0
5264
5265 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5266
5267         * CutAndPaste.C: remove commented code and reindent.
5268
5269 2003-03-08  John Levon  <levon@movementarian.org>
5270
5271         * lyxfunc.h:
5272         * lyxfunc.C: move reloadBuffer()
5273
5274         * BufferView.h:
5275         * BufferView.C: to here
5276
5277         * lyxvc.C: add comment
5278
5279         * vc-backend.h:
5280         * vc-backend.C: call bv->reload() to avoid
5281           getStatus() check on MENURELOAD
5282
5283 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5284
5285         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5286         to an old format .dep file.
5287
5288 2003-03-07  Angus Leeming  <leeming@lyx.org>
5289
5290         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5291         when the LFUN_MOUSE_RELEASE should have been handled by
5292         inset->localDispatch.
5293
5294 2003-03-07  Angus Leeming  <leeming@lyx.org>
5295
5296         * BufferView_pimpl.C (dispatch):
5297         * LyXAction.C (init):
5298         * ToolbarDefaults.C (init):
5299         * commandtags.h:
5300         * lyxfunc.C (getStatus):
5301         remove LFUN_INSET_GRAPHICS.
5302
5303         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5304
5305 2003-03-07  Angus Leeming  <leeming@lyx.org>
5306
5307         * commandtags.h:
5308         * LyXAction.C (init):
5309         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5310
5311         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5312
5313         * commandtags.h:
5314         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5315
5316         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5317         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5318
5319 2003-03-07  Angus Leeming  <leeming@lyx.org>
5320
5321         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5322         remove "ert".
5323
5324 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5325
5326         * ParagraphList.C (front): new function
5327         (back): implement
5328
5329 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5330
5331         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5332         and top_row_offset_. removed var first_y.
5333         * text.C (top_y):
5334         * text2.C (LyXText, removeRow):
5335         * text3.C:
5336         * BufferView_pimpl.C:
5337         use these methods instead of using first_y
5338
5339 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5340
5341         * text2.C (pasteSelection): adjust for checkPastePossible
5342
5343         * CutAndPaste.C: remove Paragraph * buf and replace with
5344         ParagraphList paragraphs.
5345         (DeleteBuffer): delete
5346         (cutSelection): change the tc type to textclass_type
5347         (copySelection): change the tc type to textclass_type
5348         (copySelection): adjust for ParagraphList
5349         (pasteSelection): change the tc type to textclass_type
5350         (pasteSelection): adjust for Paragraphlist
5351         (nrOfParagraphs): simplify for ParagraphList
5352         (checkPastePossible): simplify for ParagraphList
5353         (checkPastePossible): remove unused arg
5354
5355         * ParagraphList.C (insert): handle the case where there are no
5356         paragraphs yet.
5357
5358         * CutAndPaste.h: make CutAndPaste a namespace.
5359
5360         * text3.C (dispatch): adjust
5361
5362         * text.C (breakParagraph): add a ParagraphList as arg
5363
5364         * paragraph_funcs.C (breakParagraph): change to take a
5365         BufferParams and a ParagraphList as args.
5366         (breakParagraphConservative): ditto
5367         (mergeParagraph): ditto
5368         (TeXDeeper): add a ParagraphList arg
5369         (TeXEnvironment): ditto
5370         (TeXOnePar): ditto
5371
5372         * buffer.C (readLyXformat2): adjust
5373         (insertStringAsLines): adjust
5374         (latexParagraphs): adjust
5375
5376         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5377         (cutSelection): adjust
5378         (pasteSelection): adjust
5379
5380         * BufferView_pimpl.C (insertInset): adjust
5381
5382 2003-03-05  Angus Leeming  <leeming@lyx.org>
5383
5384         * commandtags.h:
5385         * LyXAction.C (init):
5386         * BufferView_pimpl.C (dispatch):
5387         * lyxfunc.C (getStatus):
5388         remove LFUN_CHILD_INSERT.
5389
5390         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5391
5392 2003-03-05  Angus Leeming  <leeming@lyx.org>
5393
5394         * commandtags.h:
5395         * LyXAction.C (init):
5396         * src/factory.C (createInset):
5397         * lyxfunc.C (getStatus):
5398         * text3.C (dispatch):
5399         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5400
5401         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5402
5403 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5404
5405         * ParagraphList.C (insert): handle insert right before end()
5406         (erase): fix cases where it can be first or last paragraph.
5407
5408 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5409
5410         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5411         Paragraph::next and Paragraph::previous
5412         (TeXOnePar): ditto
5413
5414         * text.C (breakParagraph): adjust
5415
5416         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5417         BufferParams& as arg.
5418         (breakParagraph): use ParagraphList::insert
5419         (breakParagraphConservative): take a Buffer* instead of a
5420         BufferParams& as arg.
5421         (breakParagraphConservative): use ParagraphList::insert.
5422
5423         * buffer.C (insertStringAsLines): un-const it
5424         (insertStringAsLines): adjust
5425
5426         * ParagraphList.C (insert): new function
5427
5428         * CutAndPaste.C (pasteSelection): adjust
5429
5430         * text.C (backspace): adjust
5431
5432         * tabular.C (SetMultiColumn): adjust
5433
5434         * CutAndPaste.C (cutSelection): adjust
5435         (pasteSelection): adjust
5436
5437         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5438         Buffer const * as arg
5439
5440         * ParagraphList.C (erase): new function
5441         * paragraph_funcs.C (mergeParagraph): use it
5442         (mergeParagraph): make it take a Buffer* instead of a
5443         BufferParams* as arg
5444
5445         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5446         as arg
5447         (breakParagraphConservative): ditto
5448
5449         * paragraph.h: remove the breakParagraph friend
5450
5451         * paragraph.C (eraseIntern): new function
5452         (setChange): new function
5453
5454         * paragraph_funcs.C (mergeParagraph): make it take a
5455         ParagraphList::iterator instead of a Paragraph *, adjust
5456         accordingly.
5457
5458         * paragraph.h: move an #endif so that the change tracking stuff
5459         also works in the NO_NEXT case.
5460
5461 2003-03-04  Angus Leeming  <leeming@lyx.org>
5462
5463         * commandtags.h:
5464         * LyXAction.C: new LFUN_INSET_MODIFY.
5465
5466         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5467         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5468
5469 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5470
5471         * several files: ws changes only
5472
5473         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5474         (TeXEnvironment): ditto
5475         (TeXDeeper): ditto
5476
5477         * buffer.C (makeLaTeXFile): adjust
5478         (latexParagraphs): make it take ParagraphList::iterator as args
5479
5480 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5481
5482         * buffer.C (latexParagraphs): adjust
5483
5484         * paragraph.C (TeXOnePar): move function...
5485         (optArgInset): move function...
5486         (TeXEnvironment): move function...
5487         * paragraph_pimpl.C (TeXDeeper): move function...
5488         * paragraph_funcs.C: ...here
5489
5490         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5491
5492 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5493
5494         * buffer.C (readInset): remove compability code for old Figure and
5495         InsetInfo insets
5496
5497 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5498
5499         * buffer.C: ws changes
5500         (readInset):
5501
5502         * BufferView_pimpl.C: ditto
5503         * author.C: ditto
5504         * buffer.h: ditto
5505         * bufferlist.h: ditto
5506         * changes.h: ditto
5507         * lyxfunc.C: ditto
5508
5509 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5510
5511         * converter.[Ch]: split into itself +
5512         * graph.[Ch]
5513         * format.[Ch]
5514         * Makefile.am: += graph.[Ch] + format.[Ch]
5515         * MenuBackend.C
5516         * buffer.C
5517         * exporter.C
5518         * importer.C
5519         * lyx_main.C
5520         * lyxfunc.C
5521         * lyxrc.C: added #include "format.h"
5522
5523 2003-02-27  Angus Leeming  <leeming@lyx.org>
5524
5525         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5526           a label.
5527
5528         * factory.C (createInset): add "label" to the factory.
5529
5530         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5531           string and do no more.
5532
5533 2003-02-27  Angus Leeming  <leeming@lyx.org>
5534
5535         * commandtags.h:
5536         * LyXAction.C (init):
5537         * factory.C (createInset):
5538         * BufferView_pimpl.C (dispatch):
5539           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5540
5541         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5542
5543         * lyxfunc.C (dispatch):
5544         * text3.C (dispatch): pass name to params2string.
5545
5546 2003-02-26  Angus Leeming  <leeming@lyx.org>
5547
5548         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5549           blocks together.
5550           Rearrange the ~includes. Strip out the unnecessary ones.
5551
5552         * factory.C (createInset): reformat.
5553           create new insets for the various LFUN_XYZ_APPLY lfuns.
5554
5555 2003-02-26  John Levon  <levon@movementarian.org>
5556
5557         * lyxrow.h:
5558         * lyxrow.C: add isParStart,isParEnd helpers
5559
5560         * paragraph.h: make isInserted/DeletedText take refs
5561
5562         * paragraph_funcs.h:
5563         * paragraph_funcs.C: remove #if 0'd code
5564
5565         * lyxtext.h:
5566         * text3.C:
5567         * text2.C:
5568         * text.C: use lyxrow helpers above.
5569           Move draw and paint routines to RowPainter.
5570           Make several methods use refs not pointers.
5571           Make backgroundColor() const.
5572           Add markChangeInDraw(), isInInset().
5573           Merge changeRegionCase into changeCase.
5574           Make workWidth() shouldn't-happen code into an Assert.
5575
5576         * rowpainter.h:
5577         * rowpainter.C: new class for painting a row.
5578
5579         * vspace.h:
5580         * vspace.C: make inPixels take a ref
5581
5582 2003-02-26  Angus Leeming  <leeming@lyx.org>
5583
5584         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5585         LFUN_REF_APPLY.
5586
5587 2003-02-25  John Levon  <levon@movementarian.org>
5588
5589         * ispell.C: give the forked command a more accurate name
5590
5591 2003-02-22  John Levon  <levon@movementarian.org>
5592
5593         * toc.h:
5594         * toc.C: make TocItem store an id not a Paragraph *
5595           (bug #913)
5596
5597 2003-02-21  Angus Leeming  <leeming@lyx.org>
5598
5599         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5600           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5601           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5602           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5603           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5604           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5605
5606         * BufferView_pimpl.C (dispatch):
5607         * LyXAction.C (init):
5608         * factory.C (createInset):
5609         * lyxfunc.C (getStatus, dispatch):
5610         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5611
5612 2003-02-21  Angus Leeming  <leeming@lyx.org>
5613
5614         * BufferView_pimpl.C (MenuInsertLyXFile):
5615         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5616         * lyxfunc.C (menuNew, open, doImport):
5617           no longer pass a LyXView & to fileDlg.
5618
5619 2003-02-21  Angus Leeming  <leeming@lyx.org>
5620
5621         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5622         * LyXAction.C: change, BIBKEY to BIBITEM.
5623         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5624         Change InsetBibKey to InsetBibitem.
5625         Change BIBKEY_CODE to BIBITEM_CODE.
5626         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5627         * factory.C: replace insetbib.h with insetbibitem.h.
5628         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5629         * paragraph.C: replace insetbib.h with insetbibitem.h.
5630         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5631         Change bibkey() to bibitem().
5632         * text.C: remove insetbib.h.
5633         * text2.C: replace insetbib.h with insetbibitem.h.
5634         change bibkey() to bibitem().
5635         * text3.C: remove insetbib.h.
5636         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5637
5638 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5639
5640         * lyxrc.C (output): enclose user email in quotes (in case there are
5641         several words)
5642
5643 2003-02-18  John Levon  <levon@movementarian.org>
5644
5645         * buffer.h: add std::
5646
5647 2003-02-17  John Levon  <levon@movementarian.org>
5648
5649         * SpellBase.h:
5650         * ispell.h:
5651         * ispell.C:
5652         * pspell.h:
5653         * pspell.C: reworking. Especially in ispell, a large
5654           number of clean ups and bug fixes.
5655
5656         * lyxfunc.C: fix revert to behave sensibly
5657
5658 2003-02-17 André Pönitz <poenitz@gmx.net>
5659
5660         * LyXAction.C:
5661         * commandtags.h: new LFUN_INSERT_BIBKEY
5662
5663         * layout.h:
5664         * lyxlayout.C:
5665         * buffer.C:
5666         * factory.C:
5667         * text.C:
5668         * text2.C:
5669         * text3.C:
5670         * paragraph.[Ch]:
5671         * paragraph_func.C: remove special bibkey handling
5672
5673 2003-02-17  John Levon  <levon@movementarian.org>
5674
5675         * text.C (Delete): fix case where delete at the end of
5676           the very first paragraph would not merge the pars
5677
5678 2003-02-17  John Levon  <levon@movementarian.org>
5679
5680         * lyxrow.C: fix lastPrintablePos()
5681
5682 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5683
5684         * bufferparams.C (writeLaTeX): add a std:here
5685
5686         * buffer.C: and remove a using directive there
5687
5688 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5689
5690         * buffer.C (makeLaTeXFile): move the code that generates the
5691           preamble...
5692
5693         * bufferparams.C (writeLaTeX): ... in this new method
5694
5695         * LaTeXFeatures.C (getEncodingSet): make const
5696           (getLanguages): make const
5697
5698         * MenuBackend.C (binding): returns the binding associated to this
5699           action
5700           (add): sets the status of each item by calling getStatus. Adds
5701           some intelligence.
5702           (read): add support for OptSubMenu
5703           (expand): remove extra separator at the end of expanded menu
5704
5705 2003-02-15  John Levon  <levon@movementarian.org>
5706
5707         * BufferView.C:
5708         * BufferView_pimpl.C:
5709         * bufferlist.h:
5710         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5711           inset code that had no actual effect. Remove unneeded status
5712           code.
5713
5714 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5715
5716         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5717           in preamble
5718
5719 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5720
5721         * text.C (drawLengthMarker): also draw an arrow marker for
5722           symbolic lengths (medskip...)
5723
5724 2003-02-14  John Levon  <levon@movementarian.org>
5725
5726         * tabular.h:
5727         * tabular.C: better method names
5728
5729 2003-02-14  John Levon  <levon@movementarian.org>
5730
5731         * BufferView_pimpl.C:
5732         * bufferlist.C:
5733         * buffer.C:
5734         * converter.C:
5735         * lyx_cb.C:
5736         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5737           it's a more accurate name. Remove some pointless uses.
5738
5739 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5740
5741         * text2.C (LyXText): change order of initilizers to shut off
5742           warnings
5743
5744 2003-02-14  John Levon  <levon@movementarian.org>
5745
5746         * buffer.C: use ParIterator for getParFromID()
5747
5748         * paragraph.h:
5749         * paragraph.C:
5750         * paragraph_pimpl.h:
5751         * paragraph_pimpl.C: remove unused getParFromID()
5752
5753 2003-02-14  John Levon  <levon@movementarian.org>
5754
5755         * buffer.C: remove some very old #if 0'd parse code
5756
5757 2003-02-13  John Levon  <levon@movementarian.org>
5758
5759         * text.h:
5760         * text.C:
5761         * text2.C: move hfillExpansion(), numberOfSeparators(),
5762           rowLast(), rowLastPrintable(), numberofHfills(),
5763           numberOfLabelHfills() ...
5764
5765         * lyxrow.h:
5766         * lyxrow.C: ... to member functions here.
5767
5768         * paragraph.h:
5769         * paragraph.C:
5770         * lyxtext.h:
5771         * text.C: remove LyXText::beginningOfMainBody(), and call
5772           p->beginningOfMainBody() directly. Move the check for
5773           LABEL_MANUAL into the latter.
5774
5775         * text.h:
5776         * text.C:
5777         * text2.C:
5778         * vspace.C:
5779         * BufferView.h:
5780         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5781
5782         * text.h:
5783         * text.C:
5784         * text2.C:
5785         * text3.C:
5786         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5787           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5788
5789 2003-02-13  John Levon  <levon@movementarian.org>
5790
5791         * CutAndPaste.C: remove debug
5792
5793 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5794
5795         * paragraph.C (asString): remove two unused variables
5796
5797         * lyxtextclass.C (readTitleType):
5798           (Read):
5799           (LyXTextClass): handle new members titletype_ and titlename_
5800
5801         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5802
5803 2003-02-09  John Levon  <levon@movementarian.org>
5804
5805         * buffer.h:
5806         * buffer.C: replace hand-coded list with a map for the dep clean
5807
5808 2003-02-08  John Levon  <levon@movementarian.org>
5809
5810         * LaTeX.C: consolidate code into showRunMessage() helper
5811
5812 2003-02-08  John Levon  <levon@movementarian.org>
5813
5814         * lyxfind.C:
5815         * lyxtext.h:
5816         * text2.C:
5817         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5818           and pass the size in explicitly
5819
5820         * BufferView_pimpl.h:
5821         * BufferView_pimpl.C:
5822         * BufferView.h:
5823         * BufferView.C: add getCurrentChange()
5824
5825         * BufferView_pimpl.h:
5826         * BufferView_pimpl.C: handle change lfuns
5827
5828         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5829           for changes. Mark pasted paragraphs as new.
5830
5831         * support/lyxtime.h:
5832         * support/lyxtime.C:
5833         * DepTable.C: abstract time_t as lyx::time_type
5834
5835         * LColor.h:
5836         * LColor.C: add colours for new text, deleted text, changebars
5837
5838         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5839           package use "usenames" option.
5840
5841         * commandtags.h:
5842         * lyxfunc.C:
5843         * LyXAction.C: add change lfuns
5844
5845         * Makefile.am:
5846         * author.h:
5847         * author.C: author handling
5848
5849         * buffer.h:
5850         * buffer.C: add a per-buffer author list, with first entry as
5851           current author. Handle new .lyx tokens for change tracking. Output
5852           author list to .lyx file. Output dvipost stuff to .tex preamble.
5853           Bump lyx format to 222.
5854
5855         * bufferlist.h:
5856         * bufferlist.C: add setCurrentAuthor() to reset current author details
5857           in all buffers.
5858
5859         * bufferparams.h:
5860         * bufferparams.C: add param for tracking
5861
5862         * bufferview_funcs.C: output change info in minibuffer
5863
5864         * Makefile.am:
5865         * changes.h:
5866         * changes.C: add change-tracking structure
5867
5868         * debug.h:
5869         * debug.C: add CHANGES debug flag
5870
5871         * lyxfind.h:
5872         * lyxfind.C: add code for finding the next change piece
5873
5874         * lyxrc.h:
5875         * lyxrc.C: add user_name and user_email
5876
5877         * lyxrow.h:
5878         * lyxrow.C: add a metric for the top of the text line
5879
5880         * lyxtext.h:
5881         * text.C: implement accept/rejectChange()
5882
5883         * lyxtext.h:
5884         * text.C: paint changebars. Paint new/deleted text in the chosen
5885         colours. Strike through deleted text.
5886
5887         * paragraph.h:
5888         * paragraph.C:
5889         * paragraph_pimpl.h:
5890         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5891           in the current change to the insert functions. Rework erase to
5892           mark text as deleted, adding an eraseIntern() and a range-based
5893           erase(). Implement per-paragraph change lookup and
5894           accept/reject.
5895
5896         * paragraph_funcs.C: Fixup paste for change tracking.
5897
5898         * tabular.C: mark added row/columns as new.
5899
5900         * text.C: fix rowLast() to never return -1. Don't allow
5901           spellchecking of deleted text. Track transpose changes. Don't
5902           allow paragraph break or merge where appropriate.
5903
5904         * text2.C: leave cursor at end of selection after a cut.
5905
5906 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5907
5908         * text.C (getLengthMarkerHeight):
5909         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5910         visible on screen too.
5911
5912 2003-02-07  John Levon  <levon@movementarian.org>
5913
5914         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5915
5916 2003-02-05  Angus Leeming  <leeming@lyx.org>
5917
5918         * lyxserver.C (read_ready): revert my patch of 11 September last year
5919         as it sends PC cpu through the roof. Presumably this means that
5920         the lyxserver will no longer run on an Alpha...
5921
5922 2003-01-30  Angus Leeming  <leeming@lyx.org>
5923
5924         * factory.C (createInset): create an InsetCommandParam of type "index"
5925         and use it to 'do the right thing'.
5926
5927         * text2.C (getStringToIndex): ensure that cursor position is always
5928         reset to the reset_cursor position.
5929
5930 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5931
5932         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5933         disabled.
5934
5935 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5936
5937         * bufferview.C:
5938         * lyxcb.C:
5939         * lyxfunc.C: Output messages with identical spelling, punctuation,
5940         and spaces
5941
5942 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5943
5944         * MenuBackend.C (expandFormats): List only viewable export formats
5945         in "View" menu
5946
5947         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5948         message
5949
5950         * lyxfunc.C (getStatus): Make sure that formats other than
5951         "fax" can also be disabled
5952
5953 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5954
5955         * text3.C (dispatch): put the lfuns that insert insets in 3
5956         groups, and call doInsertInset with appropriate arguments.
5957         (doInsertInset): new function, that creates an inset and inserts
5958         it according to some boolean parameters.
5959
5960 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5961
5962         * buffer.C (readFile): remember to pass on 'par' when calling
5963         readFile recursively.
5964
5965 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5966
5967         * MenuBackend.C (expandFormats): add "..." to import formats.
5968
5969 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5970
5971         * paragraph.C (asString): Remove XForms RTL hacks.
5972
5973 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5974         * buffer.C: fix typo
5975
5976 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5977
5978         * Makefile.am (LIBS): delete var
5979         (lyx_LDADD): add @LIBS@ here instead.
5980
5981 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5982
5983         * Clarify the meaning of "wheel mouse jump"
5984
5985 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5986
5987         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5988         tabular in a float
5989
5990 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5991
5992         * importer.C (Loaders): do not preallocate 3 elements in the
5993         vector, since one ends up with 6 elements otherwise
5994
5995 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5996
5997         * DepTable.C (write): write the file name as last element of the
5998         .dep file (because it may contain spaces)
5999         (read): read info in the right order
6000
6001 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6002
6003         * paragraph_pimpl.C (simpleTeXBlanks):
6004         (simpleTeXSpecialChars):
6005         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6006
6007         * tabular.C (latex): add some missing case statements. Reindent.
6008
6009         * MenuBackend.C (expandToc): remove unused variable.
6010
6011 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6012
6013         * LColor.C:
6014         * LaTeX.C:
6015         * LyXAction.C:
6016         * MenuBackend.C:
6017         * buffer.C:
6018         * exporter.C:
6019         * lyxfunc.C:
6020         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6021         and the like.
6022
6023 2003-01-05  John Levon  <levon@movementarian.org>
6024
6025         * BufferView.h:
6026         * BufferView.C: add getEncoding()
6027
6028         * kbsequence.h:
6029         * kbsequence.C: do not store last keypress
6030
6031         * lyxfunc.h:
6032         * lyxfunc.C: store last keypress here instead. Pass encoding
6033           to getISOEncoded()
6034
6035 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6036
6037         * lyx_main.C (init): remove annoying error message when following
6038         symbolic links (bug #780)
6039
6040 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6041
6042         * text.C (insertChar):
6043         * lyxrc.C (getDescription): remove extra spaces
6044
6045 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6046
6047         * lyxrc.C (getDescription): remove extra spaces
6048
6049 2002-12-20  John Levon  <levon@movementarian.org>
6050
6051         * text3.C: hack fix for page up/down across tall rows
6052
6053 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6054
6055         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6056         not been invoked
6057
6058 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6059
6060         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6061         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6062         thesaurus is not compiled in
6063
6064 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6065
6066         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6067
6068 2002-12-16  Angus Leeming  <leeming@lyx.org>
6069
6070         * lyxrc.[Ch]:
6071         * lyx_main.C (init): remove override_x_deadkeys stuff.
6072
6073 2002-12-12  John Levon  <levon@movementarian.org>
6074
6075         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6076           insert. Only remove shift modifier under strict
6077           circumstances.
6078
6079 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6080
6081         * MenuBackend.C (expandToc): fix crash.
6082
6083 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6084
6085         * MenuBackend.C (expandToc): gettext on float names.
6086
6087 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6088
6089         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6090         implement bool empty() [bug 490]
6091
6092 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6093
6094         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6095
6096 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6097
6098         * several files: ws changes
6099
6100 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6101
6102         * text2.C (setCounter): clean up a bit, use boost.format.
6103         (updateCounters): initialize par upon declaration.
6104
6105         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6106         if the layout exists. We do not just store the layout any more.
6107         (SwitchLayoutsBetweenClasses): use boost.format
6108
6109 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6110
6111         * converter.C (convert): if from and to files are the same, use a
6112         temporary files as intermediary
6113
6114 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6115
6116         * commandtags.h:
6117         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6118
6119 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6120
6121         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6122
6123 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6124
6125         * tabular.C (asciiPrintCell): use string(size, char) instead of
6126         explicit loop.
6127
6128         * sgml.C (openTag): fix order of arguments to string constructor
6129         (closeTag): ditto
6130
6131         * lyxfunc.C (dispatch): use boost.format
6132
6133         * lots of files: change "c" -> 'c'
6134
6135 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6136
6137         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6138
6139 2002-11-25  Angus Leeming  <leeming@lyx.org>
6140
6141         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6142
6143         * lyx_main.C (init): compile fix.
6144
6145 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6146
6147         * lyx_cb.C (start): boost.formatify
6148         do not include <iostream>
6149
6150         * lengthcommon.C: ws only
6151
6152         * boost-inst.C,BoostFormat.h: add more explict instantations
6153
6154 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6155
6156         * lots of files: handle USE_BOOST_FORMAT
6157
6158 2002-11-21  John Levon  <levon@movementarian.org>
6159
6160         * pspell.C: fix compile
6161
6162 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6163
6164         * lyxfunc.C (dispatch): use boost::format
6165         (open): ditto
6166         (doImport): ditto
6167
6168         * lyxfont.C (stateText): use boost::format
6169
6170         * lyx_main.C (LyX): use boost::format
6171         (init): ditto
6172         (queryUserLyXDir): ditto
6173         (readRcFile): ditto
6174         (parse_dbg): ditto
6175         (typedef boost::function): use the recommened syntax.
6176
6177         * importer.C (Import): use boost::format
6178
6179         * debug.C (showLevel): use boost::format
6180
6181         * converter.C (view): use boost::format
6182         (convert): ditto
6183         (move): ditto
6184         (scanLog): ditto
6185
6186         * bufferview_funcs.C (currentState): use boost::format
6187
6188         * bufferlist.C (emergencyWrite): use boost::format
6189
6190         * buffer.C (readLyXformat2): use boost::format
6191         (parseSingleLyXformat2Token): ditto
6192
6193         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6194
6195         * LaTeX.C (run): use boost::format
6196
6197         * Chktex.C (scanLogFile): use boost::format
6198
6199         * BufferView_pimpl.C (savePosition): use boost::format
6200         (restorePosition): ditto
6201         (MenuInsertLyXFile): ditto
6202
6203         * BoostFormat.h: help file for explicit instation.
6204
6205 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6206
6207         * tabular.C (latex): Support for block alignment in fixed width
6208         columns.
6209
6210 2002-11-17  John Levon  <levon@movementarian.org>
6211
6212         * BufferView_pimpl.C:
6213         * lyx_cb.C:
6214         * lyxfunc.C: split filedialog into open/save
6215
6216 2002-11-08  Juergen Vigna  <jug@sad.it>
6217
6218         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6219         by my last patch (hopefully).
6220
6221 2002-11-08  John Levon  <levon@movementarian.org>
6222
6223         * iterators.h:
6224         * iterators.C:
6225         * buffer.h:
6226         * buffer.C:
6227         * paragraph.h:
6228         * paragraph.C:
6229         * toc.h:
6230         * toc.C: ParConstIterator, and use it (from Lars)
6231
6232 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6233
6234         * lyxtextclass.[Ch]: revise and add doxygen comments
6235
6236 2002-11-07  John Levon  <levon@movementarian.org>
6237
6238         * text.C: fix progress value for spellchecker
6239
6240         * toc.C: fix navigate menu for insetwrap inside minipage
6241
6242         * paragraph_funcs.C: added FIXME for suspect code
6243
6244 2002-11-07  John Levon  <levon@movementarian.org>
6245
6246         * BufferView_pimpl.C: fix redrawing of insets
6247           on buffer switch
6248
6249 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6250
6251         * text2.C (updateCounters): fix bug 668
6252
6253 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6254
6255         * text3.C (dispatch): Do not make the buffer dirty when moving the
6256         cursor.
6257
6258 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6259
6260         * vc-backend.C: STRCONV
6261         (scanMaster): ditto
6262
6263         * text2.C (setCounter): STRCONV
6264
6265         * paragraph.C (asString): STRCONV
6266
6267         * lyxlength.C (asString): STRCONV
6268         (asLatexString): ditto
6269
6270         * lyxgluelength.C (asString): STRCONV
6271         (asLatexString): ditto
6272
6273         * lyxfunc.C (dispatch): STRCONV
6274         (open): ditto
6275
6276         * lyxfont.C (stateText): STRCONV
6277
6278         * importer.C (Import): STRCONV
6279
6280         * counters.C (labelItem): STRCONV
6281         (numberLabel): ditto
6282         (numberLabel): remove unused ostringstream o
6283
6284         * chset.C: STRCONV
6285         (loadFile): ditto
6286
6287         * bufferview_funcs.C (currentState): STRCONV
6288
6289         * buffer.C (readFile): STRCONV
6290         (asciiParagraph): ditto
6291         (makeLaTeXFile): ditto
6292
6293         * Spacing.C (writeEnvirBegin): STRCONV
6294
6295         * LaTeXFeatures.C (getLanguages): STRCONV
6296         (getPackages): ditto
6297         (getMacros): ditto
6298         (getBabelOptions): ditto
6299         (getTClassPreamble): ditto
6300         (getLyXSGMLEntities): ditto
6301         (getIncludedFiles): ditto
6302
6303         * LaTeX.C: STRCONV
6304         (run): ditto
6305         (scanAuxFile): ditto
6306         (deplog): ditto
6307
6308         * LString.h: add the STRCONV macros
6309
6310         * BufferView_pimpl.C (savePosition): STRCONV
6311         (restorePosition): ditto
6312         (MenuInsertLyXFile): ditto
6313
6314         * vc-backend.C (scanMaster): change from submatch[...] to
6315         submatch.str(...)
6316
6317         * funcrequest.C: include config.h
6318
6319         * factory.C: include config.h
6320
6321         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6322
6323         * box.C: include config.h
6324
6325         * LaTeX.C (scanAuxFile): change from submatch[...] to
6326         submatch.str(...)
6327         (deplog): ditto
6328
6329 2002-10-25  Angus Leeming  <leeming@lyx.org>
6330
6331         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6332
6333         * ispell.[Ch] (setError): new method.
6334         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6335         Use setError() insetead of goto END.
6336
6337         * lyx_cb.C (AutoSave): move out child process into new class
6338         AutoSaveBuffer.
6339
6340 2002-10-30  John Levon  <levon@movementarian.org>
6341
6342         * text3.C: make start appendix undoable
6343
6344 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6345
6346         * lyxlength.C (inPixels): Fix returned value.
6347
6348         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6349         environment.
6350
6351 2002-10-24  Angus Leeming  <leeming@lyx.org>
6352
6353         * lyxgluelength.h: no need to forward declare BufferParams
6354         or BufferView, so don't.
6355
6356 2002-10-21  John Levon  <levon@movementarian.org>
6357
6358         * BufferView.C: menuUndo ->undo, redo
6359
6360         * BufferView.h: document, remove dead, make some methods private
6361
6362         * paragraph_funcs.h:
6363         * paragraph_funcs.C:
6364         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6365
6366         * buffer.h:
6367         * buffer.C:
6368         * sgml.h:
6369         * sgml.C: move sgml open/close tag into sgml.C
6370
6371         * bufferview_funcs.h: unused prototype
6372
6373         * lyxfunc.h:
6374         * lyxfunc.C: remove unused
6375
6376         * lyxtext.h:
6377         * text.C: remove unused
6378
6379 2002-10-21  John Levon  <levon@movementarian.org>
6380
6381         * BufferView.h:
6382         * BufferView.C:
6383         * BufferView_pimpl.h:
6384         * BufferView_pimpl.C: fix mouse wheel handling based on
6385           patch from Darren Freeman
6386
6387 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6388
6389         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6390
6391 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6392
6393         * lyxlength.C (inPixels): Fix hanfling of negative length.
6394         Fix LyXLength::MU case.
6395
6396 2002-10-16  John Levon  <levon@movementarian.org>
6397
6398         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6399
6400 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6401
6402         * converter.C (view): add support for $$i (file name) and $$p
6403         (file path) for the viewer command. If $$i is not specified, then
6404         it is appended to the command (for compatibility with old syntax)
6405
6406 2002-10-14  Juergen Vigna  <jug@sad.it>
6407
6408         * undo_funcs.C (textHandleUndo): alter the order in which the
6409         new undopar is added to the LyXText, as we have to set first
6410         the right prev/next and then add it as otherwise the rebuild of
6411         LyXText is not correct. Also reset the cursor to the right paragraph,
6412         with this IMO we could remove the hack in "redoParagraphs()".
6413
6414 2002-10-09  Angus Leeming  <leeming@lyx.org>
6415
6416         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6417         to turn off an optimisation if a new inset is to be inserted.
6418
6419 2002-10-11 André Pönitz <poenitz@gmx.net>
6420
6421         * lyxtext.h: make some functions public to allow access
6422         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6423
6424 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6425
6426         * text3.C (dispatch): when changing layout, avoid an infinite loop
6427         [bug #652]
6428
6429 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6430
6431         * lyxrc.C (read): treat a viewer or converter command of "none" as
6432         if it were empty.
6433
6434         * MenuBackend.C (expandFormats): for an update, also allow the
6435         formats that are not viewable
6436
6437         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6438         script if it is newer than the lyxrc.defaults in user directory
6439
6440 2002-10-07 André Pönitz <poenitz@gmx.net>
6441
6442         * text.C: Vitaly Lipatov's small i18n fix
6443
6444 2002-09-25  Angus Leeming  <leeming@lyx.org>
6445
6446         * ispell.h: doxygen fix.
6447
6448 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6449
6450         * buffer.h (readFile): Add a new argument to the method, to allow
6451         reading of old-format templates.
6452
6453 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6454
6455         * toc.C (getTocList): Get TOC from InsetWrap.
6456
6457 2002-09-16  John Levon  <levon@movementarian.org>
6458
6459         * lyxfunc.C: check tabular for cut/copy too
6460
6461 2002-09-12  John Levon  <levon@movementarian.org>
6462
6463         * LyXAction.C: tidy
6464
6465         * factory.h:
6466         * factory.C: add header
6467
6468         * paragraph_funcs.h:
6469         * paragraph_funcs.C: cleanup
6470
6471 2002-09-11  John Levon  <levon@movementarian.org>
6472
6473         * PrinterParams.h: odd/even default to true
6474
6475 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6476
6477         * PrinterParams.h: update printer parameters for new xforms dialog
6478
6479 2002-09-11  Angus Leeming  <leeming@lyx.org>
6480
6481         * lyxserver.C (read_ready): re-write to make it more transparent
6482         and to make it work in coherent fashion under Tru64 Unix.
6483
6484 2002-09-11  André Pönitz <poenitz@gmx.net>
6485
6486         * commandtags.h:
6487         * LyXAction.C:
6488         * text3.C: implement LFUN_WORDSEL
6489
6490 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6491
6492         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6493         make floatlist_ a boost::shared_ptr<FloatList>
6494
6495         * lyxtextclass.C: include FloatList.h
6496         (LyXTextClass): initialize floatlist_
6497         (TextClassTags): add TC_NOFLOAT
6498         (Read): match "nofloat" to TC_NOFLOAT and use it.
6499         (readFloat): modify call to floatlist_
6500         (floats): ditto
6501         (floats): ditto
6502
6503         * FloatList.[Ch] (FloatList): remove commented out float
6504         initialization.
6505         (erase): new function
6506
6507 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6508
6509         * MenuBackend.C (expandToc): fix crash when there is no document
6510         open
6511
6512 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6513
6514         * many files: Add insetwrap.
6515
6516 2002-09-09  John Levon  <levon@movementarian.org>
6517
6518         * text2.C: remove confusing and awkward depth wraparound
6519
6520 2002-09-09  John Levon  <levon@movementarian.org>
6521
6522         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6523
6524         * buffer.h:
6525         * buffer.C: remove getIncludeonlyList()
6526
6527         * paragraph.C:
6528         * lyxfunc.C: remove headers
6529
6530 2002-09-09  Juergen Vigna  <jug@sad.it>
6531
6532         * text.C (getColumnNearX): fix form Michael this is most
6533         probably a cut&paste bug.
6534
6535 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6536
6537         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6538
6539         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6540         references, ws changes.
6541
6542         * text2.C (init): update counters after init
6543         (insertParagraph): no need to set counter on idividual paragraphs.
6544         (setCounter): access the counters object in the textclass object
6545         on in the buffer object.
6546         (updateCounters): ditto
6547
6548         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6549         shared_ptr<Counters> to avoid loading counters.h in all
6550         compilation units.
6551         (LyXTextClass): initialize ctrs_
6552         (TextClassTags): add TC_COUNTER, and ...
6553         (Read): use it here.
6554         (CounterTags): new tags
6555         (readCounter): new function
6556         (counters): new funtion
6557         (defaultLayoutName): return a const reference
6558
6559         * counters.C (Counters): remove contructor
6560         (newCounter): remove a couple of unneeded statements.
6561         (newCounter): simplify a bit.
6562         (numberLabel): some small formatting changes.
6563
6564         * buffer.[Ch]: remove all traces of counters, move the Counters
6565         object to the LyXTextClass.
6566
6567 2002-09-06  Alain Castera  <castera@in2p3.fr>
6568
6569         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6570         package to set the horizontal alignment on fixed width columns.
6571
6572         * lyx_sty.C:
6573         * lyx_sty.h: added tabularnewline macro def.
6574
6575         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6576
6577 2002-09-06  John Levon  <levon@movementarian.org>
6578
6579         * LyXAction.C: tooltips for sub/superscript
6580
6581         * MenuBackend.C: a bit more verbose
6582
6583         * lyxfunc.C: tiny clean
6584
6585         * undo_funcs.C: document undo_frozen
6586
6587 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6588
6589         * counters.C (Counters): add missing algorithm counter.
6590
6591         * text2.C (setCounter): lookup the counter with layouts latexname
6592         instead of by section number.
6593         (setCounter): use a hackish way to lookup the correct enum
6594         counter.
6595         a float name->type change
6596         reset enum couners with counter name directly instead of depth value.
6597
6598         * counters.C (Counters): remove the push_backs, change to use the
6599         float type not the float name.
6600         (labelItem): remove unused string, float name->type change
6601
6602         * counters.h: don't include vector, loose the enums and sects vectors
6603
6604 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6605
6606         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6607         (Read): add float->TC_FLOAT to textclassTags
6608         (Read): and handle it in the switch
6609         (readFloat): new function
6610
6611         * FloatList.C (FloatList): comment out the hardcoded float
6612         definitions.
6613
6614         * lyxlayout.h: ws change.
6615
6616 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6617
6618         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6619
6620 2002-09-03  Angus Leeming  <leeming@lyx.org>
6621
6622         * BufferView_pimpl.h: qualified name is not allowed in member
6623         declaration: WorkArea & Pimpl::workarea() const;
6624
6625         * factory.C: added using std::endl directive.
6626
6627         * text3.C: added using std::find and std::vector directives.
6628
6629 2002-08-29  André Pönitz <poenitz@gmx.net>
6630
6631         * lyxtext.h:
6632         * text2.C: remove unused member number_of_rows
6633
6634         * Makefile.am:
6635         * BufferView2.C: remove file, move contents to...
6636         * BufferView.C: ... here
6637
6638         * BufferView_pimpl.C:
6639         * factory.C: move more inset creation to factory
6640
6641         * vspace.C: avoid direct usage of LyXText, ws changes
6642
6643         * BufferView.[Ch]:
6644                 don't provide direct access to WorkArea, use two simple
6645                 acessors haveSelction() and workHeight() instead
6646
6647
6648 2002-08-29  John Levon  <levon@movementarian.org>
6649
6650         * BufferView_pimpl.C (dispatch): do not continue when
6651           no buffer
6652
6653 2002-08-28  André Pönitz <poenitz@gmx.net>
6654
6655         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6656
6657         * BufferView.h:
6658         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6659
6660 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6661
6662         * buffer.C: increment LYX_FORMAT to 221
6663
6664         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6665         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6666
6667         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6668
6669         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6670
6671 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6672
6673         * factory.C (createInset): use LyXTextClass::floats
6674
6675         * MenuBackend.C (expandFloatListInsert):
6676         (expandFloatInsert):
6677         (expandToc):
6678
6679         * text2.C (setCounter):
6680
6681         * LaTeXFeatures.C (useFloat):
6682         (getFloatDefinitions):
6683
6684         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6685
6686         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6687         floatlist_, with accessor floats().
6688
6689         * FloatList.h: remove global FloatList
6690
6691 2002-08-26  André Pönitz <poenitz@gmx.net>
6692
6693         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6694
6695         * BufferView.h:
6696         * BufferView2.C:
6697         * BufferView_pimpl.C:
6698         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6699
6700 2002-08-25  John Levon  <levon@movementarian.org>
6701
6702         * LyXAction.C: fix margin note description
6703
6704 2002-08-24  John Levon  <levon@movementarian.org>
6705
6706         * buffer.C:
6707         * bufferlist.C:
6708         * bufferview_funcs.C:
6709         * lyxfont.C:
6710         * undo_funcs.C: cleanups
6711
6712         * lyxfunc.C: disable CUT/COPY when no selection
6713
6714 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6715
6716         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6717         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6718
6719         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6720         Add backward compatibility to "mono", "gray" and "no".
6721
6722 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6723
6724         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6725         (and file_format >= 200).
6726
6727 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6728
6729         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6730
6731 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6732
6733         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6734
6735 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6736
6737         * BufferView_pimpl.C:
6738         * LyXAction.C:
6739         * buffer.C:
6740         * commandtags.h:
6741         * lyxfunc.C:
6742         * paragraph.[Ch]:
6743         * text2.C:
6744         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6745         inset and code to make it  work with the paragraph code. The inset
6746         can be anywhere in the paragraph, but will only do the expected
6747         thing in LaTeX if the layout file contains the parameter line
6748                         OptionalArgs    1
6749         (or more generally, a nonzero value) for that layout.
6750
6751 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6752
6753         * paragraph.h: remove the declaration of undefined counters class
6754         function.
6755
6756 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6757
6758         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6759         Dr. Richard Hawkins.
6760
6761 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6762
6763         * paragraph_funcs.h: remove some unneeded includes
6764
6765         * text.C (backspace): pasteParagraph now in global scipe
6766
6767         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6768         (pasteSelection): ditto
6769
6770         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6771         * paragraph_funcs.C (pasteParagraph): ... here
6772
6773 2002-08-20  André Pönitz <poenitz@gmx.net>
6774
6775         * commandtags.h: new LFUNs for swapping/copying table row/colums
6776
6777         * LyXAction.C:
6778         * lyxfunc.C: support for new lfuns
6779
6780 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6781
6782         * tabular.C:
6783         * buffer.[Ch]: remove NO_COMPABILITY stuff
6784
6785 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6786
6787         * boost.C (throw_exception): new file, with helper function for
6788         boost compiled without exceptions.
6789
6790         * paragraph.h:
6791         * lyxlength.C:
6792         * buffer.C:
6793         * ParameterStruct.h:
6794         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6795
6796         * bufferlist.C (emergencyWriteAll): use boost bind
6797
6798         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6799
6800         * text.C: include paragraph_funcs.h
6801         (breakParagraph): breakParagraph is now in global scope
6802
6803         * paragraph_funcs.[Ch]: new files
6804
6805         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6806         global scope
6807
6808         * buffer.C: include paragraph_funcs.h
6809         (insertStringAsLines): breakParagraph is now in global scope
6810
6811         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6812         paragraph_funcs.C
6813
6814         * CutAndPaste.C: include paragraph_funcs.h
6815         (cutSelection): breakParagraphConservative is now in global scope
6816         (pasteSelection): ditto
6817
6818         * buffer.h: declare oprator== and operator!= for
6819         Buffer::inset_iterator
6820
6821         * bufferlist.C (emergencyWrite): don't use fmt(...)
6822
6823         * text3.C: add using std::endl
6824
6825         * BufferView.C (moveCursorUpdate): remove default arg
6826
6827 2002-08-20  André Pönitz <poenitz@gmx.net>
6828
6829         * buffer.[Ch]: move inline functions to .C
6830
6831         * BufferView2.C:
6832         * BufferView_pimpl.C:
6833         * text.C:
6834         * buffer.[Ch]: use improved inset_iterator
6835
6836         * buffer.C:
6837         * paragraph.[Ch]: write one paragraph at a time
6838
6839 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6840
6841         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6842         style if style is not specified.
6843
6844 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6845
6846         * text2.C (setCounter): when searching for right label for a
6847         caption, make sure to recurse to parent insets (so that a caption
6848         in a minipage in a figure float works) (bug #568)
6849
6850 2002-08-20  André Pönitz <poenitz@gmx.net>
6851
6852         * text3.C: new file for LyXText::dispatch() and helpers
6853
6854         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6855
6856         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6857
6858 2002-08-19  André Pönitz <poenitz@gmx.net>
6859
6860         * lyxtext.h:
6861         * text.C: new LyXText::dispatch()
6862
6863         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6864
6865 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6866
6867         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6868
6869         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6870         Hebrew text.
6871
6872 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6873
6874         * Makefile.am: use $(variables) instead of @substitutions@
6875
6876 2002-08-15  André Pönitz <poenitz@gmx.net>
6877
6878         * lyxfunc.C:
6879         * BufferView_pimpl.C: streamlining mathed <-> outer world
6880         interaction
6881
6882         * commandtags.h:
6883         * LyXAction.C: remove unused LFUN_MATH
6884
6885 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6886
6887         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6888
6889 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6890
6891         * paragraph.C (Paragraph): reformat a bit
6892         (cutIntoMinibuffer): use builtin InsetList function instad of
6893         doing it manually.
6894         (getInset): ditto
6895
6896         * buffer.C: include boost/bind.hpp, add using std::for_each
6897         (writeFileAscii): use ParagraphList iterators
6898         (validate): use for_each for validate traversal of paragraphs
6899         (getBibkeyList): use ParagraphList iterators
6900         (resizeInsets): use for_each to resizeInsetsLyXText for all
6901         paragraphs.
6902         (getParFromID): use ParagraphList iterators
6903
6904         * BufferView2.C (lockInset): use paragraph list and iterators
6905
6906 2002-08-14  John Levon  <levon@movementarian.org>
6907
6908         * lyxserver.C: remove spurious xforms include
6909
6910 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6911
6912         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6913
6914 2002-08-13  André Pönitz <poenitz@gmx.net>
6915
6916         * LyXAction.[Ch]:
6917         * lyxfunc.C: further cleaning
6918
6919 2002-08-13  André Pönitz <poenitz@gmx.net>
6920
6921         * funcrequest.h: new constructor
6922
6923         * funcrequest.C: move stuff here from .h
6924
6925         * Makefile.am:
6926         * BufferView_pimpl.C:
6927         * LyXAction.C:
6928         * toc.C:
6929         * lyxfunc.C: subsequent changes
6930
6931         * lyxfunc.h: new view() member function
6932
6933         * lyxfunc.C: subsequent changes
6934
6935 2002-08-13  Angus Leeming  <leeming@lyx.org>
6936
6937         * BufferView2.C:
6938         * BufferView_pimpl.C:
6939         * buffer.C:
6940         * converter.C:
6941         * importer.C:
6942         * lyxfunc.C:
6943         * lyxvc.C:
6944         * toc.C:
6945         * vc-backend.C:
6946         changes due to the changed LyXView interface that now returns references
6947         to member variables not pointers.
6948
6949 2002-08-13  Angus Leeming  <leeming@lyx.org>
6950
6951         * WordLangTuple (word, lang_code): return references to strings,
6952         not strings.
6953
6954         * BufferView.h:
6955         * SpellBase.h:
6956         * lyxtext.h: forward-declare WordLangTuple.
6957
6958         * BufferView2.C:
6959         * ispell.C:
6960         * pspell.C:
6961         * text.C: #include "WordLangTuple.h".
6962
6963         * lyxtext.h:
6964         * text.C: (selectNextWordToSpellcheck): constify return type.
6965
6966 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6967
6968         * buffer.C:
6969         * buffer.h:
6970         * lyxtext.h:
6971         * paragraph.C:
6972         * paragraph_pimpl.h:
6973         * text.C:
6974         * text2.C:
6975         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6976         suggested by Angus.
6977         Made updateCounter always count from start of buffer, and removed
6978         second argument (par).
6979         Reverted floats number display to '#'. Perhaps I'll try again when the
6980         code base is sanitized a bit.
6981
6982 2002-08-12  Angus Leeming  <leeming@lyx.org>
6983
6984         * buffer.[Ch] (getLabelList): constify.
6985
6986 2002-08-07  André Pönitz <poenitz@gmx.net>
6987
6988         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6989
6990         * funcrequest.h: extension to keep mouse (x,y) position
6991
6992 2002-08-12  Juergen Vigna  <jug@sad.it>
6993
6994         * BufferView2.C (insertErrors): forbid undo when inserting error
6995         insets.
6996
6997         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6998
6999 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7000
7001         * ParagraphList.[Ch]: new files
7002
7003         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7004
7005         * BufferView2.C (lockInset): ParagraphList changes
7006         * toc.C: ditto
7007         * text2.C: ditto
7008         * bufferlist.C: ditto
7009         * buffer.h: ditto
7010         * buffer.C: ditto
7011
7012 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7013
7014         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7015         unused class variable counter_,
7016
7017         * paragraph.[Ch] (getFirstCounter): delete unused function
7018
7019         * counters.C: include LAssert.h
7020         (reset): add a new function with no arg, change other version to
7021         not have def. arg and to not allow empty arg.
7022
7023         * text2.C (setCounter): remove empty arg from call to Counters::reset
7024
7025 2002-08-11  John Levon  <levon@movementarian.org>
7026
7027         * Makefile.am: add WordLangTuple.h
7028
7029 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7030
7031         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7032         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7033
7034         * insets/insettext.C: InsetList changes
7035
7036         * graphics/GraphicsSupport.C (operator()): InsetList changes
7037
7038         * toc.C (getTocList): InsetList changes
7039
7040         * paragraph_pimpl.[Ch]: InsetList changes
7041
7042         * paragraph.[Ch]: InsetList changes
7043
7044         * buffer.C (inset_iterator): InsetList changes
7045         (setParagraph): ditto
7046         * buffer.h (inset_iterator): ditto
7047         * iterators.C (operator++): ditto
7048         * iterators.h: ditto
7049
7050         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7051
7052         * InsetList.[Ch]: new files, most InsetList handling moved out of
7053         paragraph.C.
7054
7055         * BufferView2.C (removeAutoInsets): InsetList changes
7056         (lockInset): ditto
7057         (ChangeInsets): ditto
7058
7059 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7060
7061         * paragraph_pimpl.h (empty): new function
7062
7063         * paragraph.[Ch] (empty): new function
7064
7065         * other files: use the new Paragraph::empty function
7066
7067 2002-08-09  John Levon  <levon@movementarian.org>
7068
7069         * lyxtext.h: remove unused refresh_height
7070
7071 2002-08-09  John Levon  <levon@movementarian.org>
7072
7073         * Makefile.am:
7074         * sgml.h:
7075         * sgml.C:
7076         * buffer.C:
7077         * paragraph.h:
7078         * paragraph.C: move sgml char escaping out of paragraph
7079
7080         * paragraph.h:
7081         * paragraph.C: remove id setter
7082
7083         * buffer.C:
7084         * paragraph.C:
7085         * paragraph_pimpl.C: remove dead tex_code_break_column
7086
7087         * bufferview_funcs.C: small cleanup
7088
7089         * lyxfunc.C: remove dead proto
7090
7091         * lyxtext.h: make some stuff private. Remove some dead stuff.
7092
7093         * lyxgluelength.C: make as[LyX]String() readable
7094
7095 2002-08-08  John Levon  <levon@movementarian.org>
7096
7097         * LyXAction.h:
7098         * LyXAction.C:
7099         * MenuBackend.C:
7100         * ToolbarDefaults.C:
7101         * lyxfunc.C:
7102         * lyxrc.C:
7103         * toc.C: lyxaction cleanup
7104
7105 2002-08-08  John Levon  <levon@movementarian.org>
7106
7107         * BufferView2.C: small cleanup
7108
7109         * lyxfind.h:
7110         * lyxfind.C: move unnecessary header into the .C
7111
7112 2002-08-08  John Levon  <levon@movementarian.org>
7113
7114         * funcrequest.h: just tedious nonsense
7115
7116         * lyx_main.h:
7117         * lyx_main.C: cleanups
7118
7119         * buffer.C:
7120         * vspace.C: remove dead header lyx_main.h
7121
7122 2002-08-07  Angus Leeming  <leeming@lyx.org>
7123
7124         * Paragraph.[Ch]:
7125         * paragraph_pimpl.h:
7126         Forward declare class Counters in paragraph.h by moving the ctrs member
7127         variable into Paragraph::Pimpl.
7128         (counters): new method, returning a reference to pimpl_->ctrs.
7129
7130         * text2.C: ensuing changes.
7131
7132 2002-08-07  John Levon  <levon@movementarian.org>
7133
7134         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7135
7136         * BufferView_pimpl.C: announce X selection on double/triple
7137           click
7138
7139         * lyx_main.C: use correct bool in batch dispatch
7140
7141         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7142
7143 2002-08-07  André Pönitz <poenitz@gmx.net>
7144
7145         * funcrequest.h: new class to wrap a kb_action and its argument
7146
7147         * BufferView.[Ch]:
7148         * BufferView_pimpl[Ch]:
7149         * LaTeX.C:
7150         * LyXAction.[Ch]:
7151         * lyxfunc.[Ch]:
7152         * lyxrc.C: subsequent changes
7153
7154
7155 2002-08-07  John Levon  <levon@movementarian.org>
7156
7157         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7158           document options change.
7159
7160 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7161
7162         * counters.[Ch]
7163         * text2.C
7164         * paragraph.[Ch]
7165         * makefile.am: move counters functionality over from
7166         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7167
7168 2002-08-06  John Levon  <levon@movementarian.org>
7169
7170         * WordLangTuple.h: new file for word + language code tuple
7171
7172         * SpellBase.h:
7173         * pspell.h:
7174         * pspell.C:
7175         * ispell.h:
7176         * ispell.C:
7177         * lyxtext.h:
7178         * text.C:
7179         * text2.C:
7180         * BufferView.h:
7181         * BufferView2.C: use WordLangTuple
7182
7183         * layout.h:
7184         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7185
7186 2002-08-06  John Levon  <levon@movementarian.org>
7187
7188         * lyx_main.C: fix cmdline batch handling
7189
7190 2002-08-06  André Pönitz <poenitz@gmx.net>
7191
7192         * lyxrc.C: set default for show_banner to true
7193
7194 2002-08-06  John Levon  <levon@movementarian.org>
7195
7196         * pspell.C: fix a crash, and allow new aspell to work
7197
7198 2002-08-06  John Levon  <levon@movementarian.org>
7199
7200         * lyxfunc.C:
7201         * kbmap.C: small cleanup
7202
7203         * vspace.h:
7204         * vspace.C: add const
7205
7206 2002-08-05  John Levon  <levon@movementarian.org>
7207
7208         * LyXAction.C: back to tabular-insert
7209
7210 2002-08-04  John Levon  <levon@movementarian.org>
7211
7212         * BufferView.h:
7213         * BufferView.C: cosmetic change
7214
7215         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7216
7217         * bufferlist.C:
7218         * buffer.h:
7219         * buffer.C:
7220         * lyxcb.h:
7221         * lyxcb.C:
7222         * lyxserver.C:
7223         * lyxvc.C:
7224         * vc-backend.C:
7225         * BufferView2.C: purge all "Lyx" not "LyX" strings
7226
7227         * lyxcursor.h:
7228         * lyxcursor.C: attempt to add some documentation
7229
7230         * lyxfunc.C:
7231         * commandtags.h:
7232         * LyXAction.C:
7233         * ToolbarDefaults.C:
7234         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7235           merge with LFUN_TABULAR_INSERT
7236
7237         * Makefile.am:
7238         * SpellBase.h:
7239         * ispell.h:
7240         * ispell.C:
7241         * pspell.h:
7242         * pspell.C: split up i/pspell implementations into separate
7243           files, many cleanups
7244
7245         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7246
7247         * text2.C: some cleanup
7248
7249         * lyxfunc.C: don't check for isp_command == "none" any more, it
7250           didn't make any sense
7251
7252 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7253
7254         * counters.[Ch]
7255         * text2.C
7256         * paragraph.[Ch]
7257         * makefile.am: move counters functionality over
7258         from text2.C/paragraph.[Ch] to counters.[Ch], and
7259         make proper C++.
7260 2002-08-02  John Levon  <levon@movementarian.org>
7261
7262         * buffer.C: s/lyxconvert/lyx2lyx/
7263
7264 2002-08-02  Angus Leeming  <leeming@lyx.org>
7265
7266         * lyxlex.C: revert John's change as it breaks reading of the user
7267         preamble.
7268
7269 2002-08-02  Angus Leeming  <leeming@lyx.org>
7270
7271         * importer.C (Import):
7272         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7273         changes due to LyXView::view() now returning a boost::shared_ptr.
7274
7275 2002-08-02  John Levon  <levon@movementarian.org>
7276
7277         * lyxlex.C: small cleanup
7278
7279 2002-08-02  John Levon  <levon@movementarian.org>
7280
7281         * text2.C (status): small cleanup, no logic change
7282
7283 2002-08-01  John Levon  <levon@movementarian.org>
7284
7285         * buffer.h:
7286         * buffer.C (writeFile): don't output alerts, caller
7287           handles this
7288
7289         * bufferlist.C:
7290         * lyx_cb.C: from above
7291
7292         * lyxfunc.C: allow to open non-existent files
7293
7294 2002-07-31  John Levon  <levon@movementarian.org>
7295
7296         * lyxserver.C: don't let incidental errors get
7297           in the way (errno)
7298
7299 2002-07-30  John Levon  <levon@movementarian.org>
7300
7301         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7302
7303 2002-07-30  John Levon  <levon@movementarian.org>
7304
7305         * lyxserver.h:
7306         * lyxserver.C: remove I/O callback too
7307
7308 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7309
7310         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7311         log.
7312
7313 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7314
7315         * many files: strip,frontStrip -> trim,ltrim,rtrim
7316
7317 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7318
7319         * PrinterParams.h: remove extern containsOnly, and include
7320         support/lstrings.h instead.
7321
7322         * LaTeX.C (scanAuxFile): modify because of strip changes
7323         (deplog): ditto
7324         * buffer.C (makeLaTeXFile): ditto
7325         * bufferparams.C (writeFile): ditt
7326         * lyxfont.C (stateText): ditto
7327         * lyxserver.C (read_ready): ditto
7328         * vc-backend.C (scanMaster): ditto
7329
7330         * BufferView_pimpl.h: ws changes
7331
7332         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7333
7334 2002-07-26  André Pönitz <poenitz@gmx.net>
7335
7336         * kb_sequence.C: remove unnedred usings
7337
7338 2002-07-26  Juergen Vigna  <jug@sad.it>
7339
7340         * lyxfind.C (LyXReplace): we have to check better if the returned
7341         text is not of theLockingInset()->getLockingInset().
7342
7343 2002-07-25  Juergen Vigna  <jug@sad.it>
7344
7345         * lyxfind.C (LyXReplace): don't replace if we don't get the
7346         right LyXText.
7347
7348         * undo_funcs.C (createUndo): remove debugging code.
7349
7350 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7351
7352         * buffer.C (parseSingleLyXformat2Token): Use default placement
7353         when reading old floats.
7354
7355         * FloatList.C (FloatList): Change the default placement of figure
7356         and tables to "tbp".
7357
7358 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7359
7360         * MenuBackend.C: using std::max
7361
7362 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7363
7364         * MenuBackend.C (expandToc):
7365         (expandToc2): code moved from xforms menu frontend. It is now
7366         generic and TOCs are transparent to menu frontends.
7367
7368 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7369
7370         * toc.C (getTocList): protect against buf=0
7371
7372         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7373         Menu as first parameter. Now, this calls itself recursively to
7374         expand a whole tree (this will be useful for TOC handling)
7375         (expandFloatInsert): remove 'wide' version of floats
7376
7377         * MenuBackend.h (submenuname): returns the name of the submenu.
7378         (submenu): returns the submenu itself, provided it has been
7379         created by MenuBackend::expand
7380
7381 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7382
7383         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7384         insets which have noFontChange == true. (bug #172)
7385
7386 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7387
7388         * BufferView_pimpl.C: add connection objects and use them...
7389         (Pimpl): here.
7390
7391 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7392
7393         * MenuBackend.C (expandLastfiles):
7394         (expandDocuments):
7395         (expandFormats):
7396         (expandFloatListInsert):
7397         (expandFloatInsert):
7398         (expand): split expand in parts
7399
7400 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7401
7402         * lyx_gui.C: use lyx_gui::exit()
7403
7404 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7405
7406         * LyXAction.C: show the failing pseudo action
7407
7408 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7409
7410         * buffer.C (readFile): Run the lyxconvert script in order to read
7411         old files.
7412
7413 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7414
7415         * LyXAction.C:
7416         * commandtags.h:
7417         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7418
7419 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7420
7421         * LyXAction.C:
7422         * commandtags.h:
7423         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7424
7425 2002-07-22  Herbert Voss  <voss@lyx.org>
7426
7427         * lengthcommon.C:
7428         * lyxlength.[Ch]: add support for the vertical lengths
7429
7430 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7431
7432         * toc.[Ch]: std:: fixes
7433
7434 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7435
7436         * lyxrc.C: do not include lyx_main.h
7437
7438         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7439         for layouts
7440
7441         * lyxrc.C:
7442         * encoding.C:
7443         * bufferlist.C:
7444         * BufferView2.C: include "lyxlex.h"
7445
7446         * tabular.h:
7447         * bufferparams.h: do not #include "lyxlex.h"
7448
7449         * lyxtextclasslist.C (Add): remove method
7450         (classlist): renamed to classlist_
7451
7452         * paragraph_pimpl.C:
7453         * paragraph.C:
7454         * text2.C:
7455         * CutAndPaste.C:
7456         * bufferview_funcs.C:
7457         * bufferlist.C:
7458         * text.C:
7459         * LaTeXFeatures.C:
7460         * buffer.C:
7461         * toc.C (getTocList): use BufferParams::getLyXTextClass
7462
7463         * toc.C (getTocList): use InsetFloat::addToToc
7464
7465         * toc.[Ch]: new files, containing helper functions to handle table
7466         of contents
7467
7468         * lyxfunc.C (dispatch): no need to remove spaces around command
7469         given as a string
7470         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7471         first command of the sequence; it is not very clever, but I do not
7472         have a better idea, actually
7473
7474         * LyXAction.C (LookupFunc): make sure to remove space at the
7475         beginning and end of the command
7476
7477 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7478
7479         * MenuBackend.C (getMenubar): new method: return the menubar of
7480         this menu set
7481         (read): treat differently reading of menu and menubar (in
7482         particular, the menubar has no name now)
7483         (Menu::menubar): remove
7484
7485         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7486         saving is finished
7487
7488 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7489
7490         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7491         a bibitem inset in a RTL paragraph.
7492
7493 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7494
7495         * paragraph_pimpl.C: constify
7496
7497         * BufferView_pimpl.C:
7498         * LaTeX.C:
7499         * lyxfunc.C: fix dispatch in a nicer way
7500
7501 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7502
7503         * lyxfunc.C (dispatch):
7504         * BufferView_pimpl.C:
7505         * BufferView_pimpl.h:
7506         * BufferView.C:
7507         * BufferView.h: rename Dispatch() to dispatch()
7508
7509         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7510
7511         * lyxlayout.C (Read): honor DependsOn tag
7512
7513         * lyxlayout.[Ch] (depends_on): new method
7514
7515         * version.C.in: update lyx_docversion
7516
7517         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7518
7519         * paragraph.C (validate): remove from here...
7520         * paragraph_pimpl.C (validate): ... and move here
7521         (isTextAt): make it const
7522
7523         * buffer.C (getLists): ws cleanup
7524
7525 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7526
7527         * language.C (read): Use iso8859-1 encoding in latex_lang
7528         (this prevents LyX from crashing when using iso10646-1 encoding).
7529
7530 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7531
7532         * text2.C (toggleInset): if cursor is inside an inset, close the
7533         inset and leave cursor _after_ it
7534
7535 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7536
7537         * lyxfunc.C: move minibuffer completion handling out of here
7538
7539 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7540
7541         * BufferView_pimpl.C:
7542         * LaTeX.C: fix dispatch calls
7543
7544 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7545
7546         * text.C (drawChars): Fix Arabic text rendering.
7547
7548 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7549
7550         * LyXAction.C:
7551         * commandtags.h:
7552         * lyxfunc.C: remove message-push/pop
7553
7554         * lyxserver.C:
7555         * lyxfunc.h:
7556         * lyxfunc.C: rationalise some code by removing verboseDispatch
7557           in favour of a bool argument to dispatch()
7558
7559 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7560
7561         * lyx_main.C (init): make sure to read symlinks as absolute paths
7562
7563 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7564
7565         * lyxfunc.h:
7566         * lyxfunc.C: no need for commandshortcut to be a member
7567
7568 2002-07-15  André Pönitz <poenitz@gmx.net>
7569
7570         * converter.C: add support for $$s (scripts from lib/scripts dir)
7571         * lyx_main.C: white space
7572
7573 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7574
7575         * bufferlist.C:
7576         * lyxrc.h:
7577         * lyxrc.C: remove second exit confirmation
7578
7579 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7580
7581         * BufferView.h:
7582         * BufferView.C:
7583         * BufferView2.C:
7584         * BufferView_pimpl.h:
7585         * BufferView_pimpl.C:
7586         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7587
7588 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7589
7590         * MenuBackend.C (expand): add numeric shortcuts to document menu
7591
7592         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7593
7594 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7595
7596         * lyxfont.C (setLyXFamily):
7597         (setLyXSeries):
7598         (setLyXShape):
7599         (setLyXSize):
7600         (setLyXMisc):
7601         (lyxRead):
7602         * debug.C (value):
7603         * buffer.C (asciiParagraph): use ascii_lowercase
7604
7605 2002-07-15  Mike Fabian  <mfabian@suse.de>
7606
7607         * lyxlex_pimpl.C (search_kw):
7608         * lyxlex.C (getLongString):
7609         * converter.h (operator<):
7610         * converter.C (operator<):
7611         * buffer.C (parseSingleLyXformat2Token):
7612         (asciiParagraph):
7613         * ToolbarDefaults.C (read):
7614         * MenuBackend.C (checkShortcuts):
7615         (read):
7616         * LColor.C (getFromGUIName):
7617         (getFromLyXName): use the compare_ascii_no_case instead of
7618         compare_no_case, because in turkish, 'i' is not the lowercase
7619         version of 'I', and thus turkish locale breaks parsing of tags.
7620
7621 2002-07-16  Angus Leeming  <leeming@lyx.org>
7622
7623         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7624         now takes a Buffer const & argument.
7625
7626 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7627
7628         * BufferView.C (resize): check there's a buffer to resize
7629
7630 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7631
7632         * lyxfunc.C: remove dead code
7633
7634         * lyxserver.h:
7635         * lyxserver.C: use lyx_guii::set_read_callback
7636
7637 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7638
7639         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7640         an inset in a RTL paragraph.
7641
7642 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7643
7644         * lyxfunc.C: repaint after a font size update
7645
7646 2002-07-15  André Pönitz <poenitz@gmx.net>
7647
7648         * lyxlength.C: inBP should be able to return negative values
7649
7650 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7651
7652         * lyxfunc.C: use lyx_gui::update_fonts()
7653
7654 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7655
7656         * lyxfunc.C: use lyx_gui::update_color()
7657
7658 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7659
7660         * bufferlist.C:
7661         * lyxfunc.h:
7662         * lyxfunc.C:
7663         * lyxrc.h:
7664         * lyxrc.C: remove file->new asks for name option, and let
7665           buffer-new take an argument
7666
7667 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7668
7669         * BufferView_pimpl.C: remove unneeded extra repaint()
7670
7671 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7672
7673         * LyXAction.C: allow command-sequence with NoBuffer
7674
7675         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7676
7677 2002-07-10  Angus Leeming  <leeming@lyx.org>
7678
7679         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7680
7681 2002-07-09  Angus Leeming  <leeming@lyx.org>
7682
7683         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7684
7685 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7686
7687         * lengthcommon.h: whitespace
7688
7689         * lyxfunc.C: update scrollbar after goto paragraph
7690
7691         * lyxtext.h: factor out page break drawing, and fix it so
7692           page break/added space paints as selected nicely
7693
7694 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7695
7696         * BufferView_pimpl.C: add FIXMEs, clean up a little
7697
7698 2002-07-09  André Pönitz <poenitz@gmx.net>
7699
7700         * lyxfont.[Ch]: support for wasy symbols
7701
7702 2002-07-08  André Pönitz <poenitz@gmx.net>
7703
7704         * BufferView_pimpl.C: apply John's patch for #93.
7705
7706 2002-07-05  Angus Leeming  <leeming@lyx.org>
7707
7708         * BufferView_pimpl.C (buffer): generate previews if desired.
7709
7710         * LColor.h: add "preview" to the color enum.
7711
7712         * LColor.C (LColor): add a corresponding entry to the items array.
7713
7714         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7715         with this buffer.
7716
7717 2002-07-05  Angus Leeming  <leeming@lyx.org>
7718
7719         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7720         The body of the code is now in the method that is passed an ostream &
7721         rather than a file name.
7722         Pass an additional only_preamble parameter, useful for the forthcoming
7723         preview stuff.
7724
7725 2002-07-03  André Pönitz <poenitz@gmx.net>
7726
7727         * lyxfunc.C: simplify getStatus() a bit for math stuff
7728
7729 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7730
7731         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7732
7733 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7734
7735         * text.C (changeRegionCase): do not change case of all the
7736         document when region ends at paragraph end (bug #461)
7737
7738 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7739
7740         * paragraph.C (startTeXParParams):
7741         (endTeXParParams): add \protect when necessary
7742
7743 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7744
7745         * BufferView_pimpl.C (workAreaExpose): remove warning
7746
7747 2002-06-27  Angus Leeming  <leeming@lyx.org>
7748
7749         * Makefile.am: add lyxlayout_ptr_fwd.h.
7750
7751 2002-06-26  André Pönitz <poenitz@gmx.net>
7752
7753         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7754
7755 2002-06-25  Angus Leeming  <leeming@lyx.org>
7756
7757         * lyxfunc.C (dispatch): Comment out the call to
7758         grfx::GCache::changeDisplay. The method no longer exists now that the
7759         pixmap generation part of the graphics loader has been moved into
7760         InsetGraphics.
7761
7762 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7763
7764         * text2.C: layout as layout
7765
7766         * text.C: layout as layout
7767
7768         * tabular.C (OldFormatRead): layout as layout
7769
7770         * paragraph_pimpl.C (TeXDeeper): layout as layout
7771         (realizeFont): layout as layout
7772
7773         * paragraph.C (writeFile): layout as layout
7774         (validate): layout as layout
7775         (getFont): layout as layout
7776         (getLabelFont): layout as layout
7777         (getLayoutFont): layout as layout
7778         (breakParagraph): layout as layout
7779         (stripLeadingSpaces): layout as layout
7780         (getEndLabel): layout as layout
7781         (getMaxDepthAfter): layout as layout
7782         (applyLayout): layout as layout
7783         (TeXOnePar): layout as layout
7784         (simpleTeXOnePar): layout as layout
7785         (TeXEnvironment): layout as layout
7786         (layout): layout as layout
7787         (layout): layout as layout
7788
7789         * lyxtextclass.C (compare_name): new functor to work with
7790         shared_ptr, layout as layout
7791         (Read): layout as layout
7792         (hasLayout): layout as layout
7793         (operator): layout as layout
7794         (delete_layout): layout as layout
7795         (defaultLayout): layout as layout
7796
7797         * lyxlayout_ptr_fwd.h: new file
7798
7799         * lyxlayout.C (Read): layout as layout
7800
7801         * lyx_cb.C (MenuInsertLabel): layout as layout
7802
7803         * bufferlist.C (newFile): layout as layout
7804
7805         * buffer.C (readLyXformat2): layout as layout
7806         (parseSingleLyXformat2Token): layout as layout
7807         (insertStringAsLines): layout as layout
7808         (asciiParagraph): layout as layout
7809         (latexParagraphs): layout as layout
7810         (makeLinuxDocFile): layout as layout
7811         (simpleLinuxDocOnePar): layout as layout
7812         (makeDocBookFile): layout as layout
7813         (simpleDocBookOnePar): layout as layout
7814         (getLists): layout as layout
7815
7816         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7817
7818         * CutAndPaste.C (cutSelection): layout as layout
7819         (pasteSelection): layout as layout
7820         (SwitchLayoutsBetweenClasses): layout as layout
7821
7822         * BufferView_pimpl.C (Dispatch): layout as layout
7823         (smartQuote): layout as layout
7824
7825         * BufferView2.C (unlockInset): layout as layout
7826
7827 2002-06-24  André Pönitz <poenitz@gmx.net>
7828
7829         * lyxfunc.C: fix #487
7830
7831 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7832
7833         * lyxrc.h:
7834         * lyxrc.C:
7835         * lyxfunc.C: remove display_shortcuts, show_banner
7836
7837 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7838
7839         * Buffer_pimpl.C: oops, update on resize
7840
7841 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7842
7843         * buffer.C:
7844         * converter.C:
7845         * exporter.C:
7846         * lyxfunc.C:
7847         * BufferView.h:
7848         * BufferView.C: use repaint()
7849
7850         * BufferView_pimpl.h:
7851         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7852           as it's a clearer description. Remove superfluous
7853           redraws.
7854
7855 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7856
7857         * text.C: fix bug 488. Not ideal, but getting
7858           getWord() to work properly for the insets that
7859           matter is more difficult ...
7860
7861 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7862
7863         * BufferView_pimpl.C:
7864         * LyXAction.C:
7865         * commandtags.h:
7866         * lyxfunc.C: remove the six million index lyxfuncs to just
7867           one, and DTRT (bug 458)
7868
7869 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7870
7871         * BufferView.h:
7872         * BufferView.C:
7873         * BufferView_pimpl.h:
7874         * BufferView_pimpl.C: clean up resize() stuff,
7875           and unnecessary updateScreen()s
7876
7877 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7878
7879         * BufferView.h:
7880         * BufferView.C:
7881         * BufferView_pimpl.h:
7882         * BufferView_pimpl.C:
7883         * lyxfind.h:
7884         * lyxfind.C:
7885         * minibuffer.C: remove focus management of workarea,
7886           not needed. Use screen's greyOut()
7887
7888 2002-06-17  Herbert Voss  <voss@lyx.org>
7889
7890         * converter.C: (convert) do not post a message, when converting
7891         fails, let the calling function decide what to do in this case
7892
7893 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7894
7895         * lyxfunc.C: tidy up a little
7896
7897 2002-06-16    <alstrup@diku.dk>
7898
7899         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7900         Got rid of FORMS_H_LOCATION include. Now we are
7901         GUII.
7902
7903 2002-06-15  LyX Development team  <lyx@rilke>
7904
7905         * buffer.[Ch] (sgmlOpenTag):
7906         (sgmlCloseTag): Added support for avoiding pernicious mixed
7907         content. Return number of lines written.
7908
7909         (makeLinuxDocFile):
7910         (makeDocBookFile): Fixed calls to sgml*Tag.
7911         Simple white space clean.
7912
7913         (simpleDocBookOnePar): Simple white space clean.
7914
7915         * tabular.[Ch] (docBook): Renamed to docbook and got another
7916         argument to related with the pernicious mixed content.
7917
7918         (docbookRow): Fixed calls for docbook inset method.
7919
7920 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7921
7922         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7923         so it's X11 independent.
7924
7925         * kb*.[Ch]: ditto.
7926
7927         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7928
7929 2002-06-15  Lyx Development team  <lyx@electronia>
7930
7931         * intl.h: Renamed getTrans to getTransManager.
7932
7933 2002-06-14  Angus Leeming  <leeming@lyx.org>
7934
7935         * Makefile.am: nuke forgotten stl_string_fwd.h.
7936
7937 2002-06-12  Angus Leeming  <leeming@lyx.org>
7938
7939         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7940
7941 2002-06-13  Angus Leeming  <leeming@lyx.org>
7942
7943         * LaTeX.C:
7944         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7945
7946 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7947
7948         * kbmap.C (getiso): add support for cyrillic and greek
7949
7950 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7951
7952         * BufferView.h:
7953         * BufferView.C:
7954         * BufferView_pimpl.h:
7955         * BufferView_pimpl.C: move bogus scrolling logic
7956           to xforms
7957
7958 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7959
7960         * lyxfunc.C:
7961         * BufferView_pimpl.C: view->resize() change
7962
7963 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7964
7965         * BufferView_pimpl.C: topCursorVisible
7966           prototype change
7967
7968 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7969
7970         * Makefile.am:
7971         * lyx_gui.h:
7972         * lyx_gui.C: move to frontends/
7973
7974         * main.C:
7975         * lyx_main.h:
7976         * lyx_main.C: changes from above
7977
7978 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7979
7980         * intl.C:
7981         * intl.h:
7982         * kbmap.C:
7983         * kbsequence.C:
7984         * lyx_cb.C:
7985         * lyx_main.C: minor tidy
7986
7987 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7988
7989         * BufferView_pimpl.h:
7990         * BufferView_pimpl.C:
7991         * BufferView.h:
7992         * BufferView.C: make painter() const,
7993           remove dead code
7994
7995         * BufferView2.C: use screen() accessor
7996
7997         * lyx_main.h:
7998         * lyx_main.C: some minor cleanup
7999
8000 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8001
8002         * BufferView_pimpl.h:
8003         * BufferView_pimpl.C: remove enter/leaveView,
8004           use workHeight()
8005
8006 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8007
8008         * BufferView.h:
8009         * BufferView.C:
8010         * BufferView2.C:
8011         * BufferView_pimpl.h:
8012         * BufferView_pimpl.C: only construct screen once,
8013           rename
8014
8015         * lyxrc.C: remove pointless comment
8016
8017 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8018
8019         * BufferView.h:
8020         * BufferView.C: remove active() and belowMouse()
8021
8022         * BufferView_pimpl.h:
8023         * BufferView_pimpl.C: use workarea() not workarea_,
8024           and make it use a scoped_ptr instead
8025
8026 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8027
8028         * lyx_gui.C: add debug message on BadWindow
8029
8030 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8031
8032         * sp_spell.C: fdopen is not part of the C++ standard.
8033
8034         * paragraph.C (InsetIterator): use >= instead of ==
8035
8036 2002-06-07  Angus Leeming  <leeming@lyx.org>
8037
8038         Fixes needed to compile with Compaq cxx 6.5.
8039         * BufferView_pimpl.C:
8040         * DepTable.C:
8041         * buffer.C:
8042         * converter.C:
8043         * encoding.C:
8044         * lyx_gui.C:
8045         * lyx_main.C:
8046         * lyxtextclasslist.C:
8047         * minibuffer.C:
8048         * sp_spell.C:
8049         * tabular_funcs.C:
8050         * vc-backend.C:
8051         all c-library variables have been moved into namespace std. Wrap
8052         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8053
8054         * lyxlength.C:
8055         * tabular-old.C:
8056         * tabular.C:
8057         Add a using std::abs declaration.
8058
8059         * kbmap.h (modifier_pair):
8060         * paragraph.h (InsetTable, InsetList):
8061         * lyxfont.h (FontBits):
8062         type definition made public.
8063
8064         * bufferlist.C (emergencyWriteAll): the compiler complains that
8065         there is more than one possible lyx::class_fun template to choose from.
8066         I re-named the void specialisation as lyx::void_class_fun.
8067
8068         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8069
8070         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8071         the compiler is is unable to find tostr in write_attribute.
8072
8073 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8074
8075         * buffer.C (sgmlError): hide #warning
8076
8077 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8078
8079         * xtl/*: get rid of xtl, which is not in use anyway
8080
8081         * LyXAction.C (init):
8082         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8083         were unimplemented xtl experimentation
8084
8085 2002-06-04  André Pönitz <poenitz@gmx.net>
8086
8087         * lyxfunc.C: disable array operation on simple formulae
8088
8089 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8090
8091         * converter.C: constify a bit
8092
8093 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8094
8095         * lyx_gui.C: check xforms version correctly
8096
8097 2002-04-30  Herbert Voss  <voss@lyx.org>
8098
8099         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8100         "keep" option
8101
8102 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8103
8104         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8105           attempt to register it with a VCS)
8106
8107 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8108
8109         * lyx_main.C (init): honor variables LYX_DIR_13x and
8110         LYX_USERDIR_13x
8111
8112 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8113
8114         * buffer.h:
8115         * buffer.C:
8116         * lyx_main.C: fix a crash on bad command line,
8117           and give a useful exit status on error
8118
8119         * lyxfunc.C (doImport): allow -i lyx to work
8120
8121 2002-03-30  André Pönitz <poenitz@gmx.net>
8122
8123         * lyxfunc.C: mathed font changes
8124
8125 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8126
8127         * LaTeX.C:
8128         * importer.h:
8129         * importer.C:
8130         * lyx_sty.h:
8131         * lyx_sty.C:
8132         * lyxlex.C:
8133         * lyxrow.h:
8134         * lyxtext.h:
8135         * paragraph.h:
8136         * paragraph.C:
8137         * texrow.h:
8138         * texrow.C:
8139         * text.C:
8140         * trans_mgr.h: srcdocs, and some minor cleanups
8141
8142 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8143
8144         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8145         call getFont all the time)
8146
8147 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8148
8149         * switch from SigC signals to boost::signals
8150
8151 2002-05-29  André Pönitz <poenitz@gmx.net>
8152
8153         * paragraph_pimpl.C (getChar): don't call size() too often...
8154
8155 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8156
8157         * paragraph_pimpl.C (insertChar): do not try to update tables when
8158         appending (pos == size())
8159
8160         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8161         in order to reduce drastically the number of comparisons needed to
8162         parse a large document
8163
8164 2002-05-29  André Pönitz <poenitz@gmx.net>
8165
8166         * text.C:
8167         * text2.C:
8168         * lyxtextclass.C:
8169         * sp_pspell.h:
8170         * textclasslist.[Ch]:
8171         * sp_ispell.h: whitespace change
8172
8173 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8174
8175         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8176         lyxaction directly now.
8177
8178 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8179
8180         * trans.C:
8181         * lyxfont.C:
8182         * lyxvc.C: remove unused headers
8183
8184 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8185
8186         * Makefile.am:
8187         * buffer.h:
8188         * undostack.h:
8189         * undostack.C:
8190         * undo_funcs.h:
8191         * undo_funcs.C: some cleanups. Use shared_ptr
8192           and a template for the undo stacks.
8193
8194 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8195
8196         * BufferView_pimpl.h:
8197         * BufferView_pimpl.C:
8198         * kbmap.h:
8199         * kbmap.C:
8200         * kbsequence.h:
8201         * kbsequence.C:
8202         * lyxfunc.h:
8203         * lyxfunc.C:
8204         * text2.C: use key_state/mouse_state
8205
8206 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8207
8208         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8209         and LSubstring
8210
8211         * chset.C: change include order
8212         (loadFile): use boost regex and get rid of LRegex and LSubstring
8213
8214         * Makefile.am (BOOST_LIBS): new variable
8215         (lyx_LDADD): use it
8216
8217         * LaTeX.C: change include order.
8218         (scanAuxFile): use boost regex and get rid of LRegex and
8219         LSubstring
8220         (deplog): ditto
8221
8222 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8223
8224         * ColorHandler.h:
8225         * ColorHandler.C:
8226         * FontInfo.h:
8227         * FontInfo.C: moved to frontends/xforms/
8228
8229         * FontLoader.h:
8230         * FontLoader.C: moved into frontends for GUIIzation
8231
8232         * Makefile.am:
8233         * lyx_gui.C:
8234         * lyxfont.C:
8235         * lyxfunc.C: changes from above
8236
8237 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8238
8239         * LColor.C: remove spurious X include
8240
8241         * BufferView_pimpl.C:
8242         * Makefile.am:
8243         * font.h:
8244         * font.C:
8245         * text.C:
8246         * text2.C: move font metrics to frontends/
8247
8248 2002-05-24  Juergen Vigna  <jug@sad.it>
8249
8250         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8251         setting the undo_cursor.
8252
8253         * ParagraphParameters.h: include local includes first.
8254
8255 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8256
8257         * BufferView_pimpl.C:
8258         * BufferView_pimpl.h:
8259         * Makefile.am:
8260         * WorkArea.h:
8261         * WorkArea.C:
8262         * screen.C: move WorkArea into frontends/
8263
8264         * lyxscreen.h:
8265         * screen.C:
8266         * text.C:
8267         * BufferView.C:
8268         * BufferView2.C: move LyXScreen into frontends/
8269
8270         * lyxlookup.h:
8271         * lyxlookup.C:
8272         * lyx_gui.C: move lyxlookup into frontends/xforms/
8273
8274 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8275
8276         * BufferView2.C:
8277         * BufferView_pimpl.C:
8278         * FontLoader.C:
8279         * LyXView.h:
8280         * LyXView.C:
8281         * Makefile.am:
8282         * WorkArea.C:
8283         * XFormsView.h:
8284         * XFormsView.C:
8285         * buffer.C:
8286         * bufferlist.C:
8287         * bufferview_funcs.C:
8288         * converter.C:
8289         * importer.C:
8290         * lyx_cb.C:
8291         * lyx_gui.C:
8292         * lyx_main.C:
8293         * lyx_find.C:
8294         * lyxfunc.C:
8295         * lyxvc.C:
8296         * minibuffer.C:
8297         * text.C:
8298         * text2.C:
8299         * trans.C:
8300         * vc-backend.C: move LyX/XFormsView into frontends/
8301
8302 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8303
8304         * Makefile.am:
8305         * PainterBase.C:
8306         * PainterBase.h:
8307         * Painter.C:
8308         * Painter.h:
8309         * WorkArea.C:
8310         * WorkArea.h:
8311         * screen.C:
8312         * tabular.C:
8313         * text.C:
8314         * text2.C: move Painter to frontends/
8315
8316 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8317
8318         * buffer.C: comment out some some code that depend upon lyx_format
8319         < 220
8320
8321         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8322         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8323
8324         * buffer.h (NO_COMPABILITY): turn off compability
8325
8326         * ColorHandler.C: include scoped_array.hpp
8327
8328         * font.C: Use more specific smart_ptr header.
8329         * Painter.C: ditto
8330         * gettext.C: ditto
8331         * ShareContainer.h: ditto
8332         * lyx_main.h: ditto
8333         * kbmap.h: ditto
8334         * FontInfo.h: ditto
8335         * BufferView_pimpl.h: ditto
8336         * ColorHandler.h: ditto
8337
8338         * kbmap.C (defkey): change call to shared_ptr::reset
8339
8340 2002-05-21  Juergen Vigna  <jug@sad.it>
8341
8342         * buffer.C (insertErtContents): fix to insert ert asis if it is
8343         non empty. Skip it completely if it contains only whitespaces.
8344
8345 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8346
8347         * BufferView_pimpl.C:
8348         * BufferView2.C: clear selection on paste (bug 393)
8349
8350 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8351
8352         * DepTable.C: include ctime
8353
8354 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8355
8356         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8357
8358 2002-05-14  Juergen Vigna  <jug@sad.it>
8359
8360         * text.C (breakParagraph): fixed function to honor the keepempty
8361         layout in the right maner and also to permit the right breaking
8362         algorithm on empty or non empyt keepempty paragraphs.
8363
8364         * paragraph.C (breakParagraph): we have to check also if the par
8365         is really empty (!size()) for isempty otherwise we do the wrong
8366         paragraph break.
8367
8368 2002-05-10  Juergen Vigna  <jug@sad.it>
8369
8370         * buffer.[Ch] : The following are only changes to the ert
8371         compatibility read reading old LaTeX layout and font stuff and
8372         convert it to ERTInsets.
8373
8374         * buffer.h: added isErtInset().
8375
8376         * buffer.C (struct ErtComp): add a fromlayout bool to check
8377         if we're inside a LaTeX layout.
8378         (isErtInset): new helper function.
8379         (insertErtContents): look for other ert insets before this one
8380         and insert the contents there, so that we don't have subsequent
8381         ERT insets with nothing between them. This way we create only one
8382         inset with multiple paragraphs. Also check if we don't insert only
8383         spaces ' ' as they are ignored anyway afterwards in the .tex file
8384         so if we have only spaces we will ignore this latex part in the
8385         new file.
8386         (parseSingleLyXformat2Token \\layout): better compatibility when
8387         reading layout-latex stuff.
8388         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8389         language tag.
8390         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8391         stuff after reading the inset only get the information back from
8392         the stack.
8393
8394 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8395
8396         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8397
8398         * LaTeXFeatures.C (getBabelOptions): New method.
8399
8400 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8401
8402         * BufferView_pimpl.C (Dispatch): work around missing argument for
8403         'layout'
8404
8405 2002-05-08  Juergen Vigna  <jug@sad.it>
8406
8407         * text.C (leftMargin): handle paragraph leftindent.
8408
8409         * paragraph.C (writeFile): write the new \\leftindent tag.
8410         (validate): handle leftindent code.
8411         (TeXEnvironment): handle paragraphleftindent code again.
8412
8413         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8414
8415         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8416         for paragrap_extra indent code and new token \\leftindent.
8417         (latexParagraphs): handle the leftindent as environment.
8418
8419         * ParameterStruct.h: added leftindent support.
8420
8421         * ParagraphParameters.C (leftIndent): added support functions for
8422         the paragraph left indent.
8423
8424         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8425         more appropriate.
8426
8427 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8428
8429         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8430         inside insetERT.
8431
8432         * text.C (computeBidiTables): No bidi in insetERT.
8433
8434         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8435         in RTL documents.
8436
8437 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8438
8439         * version.C.in: pre 5
8440
8441 2002-05-02  José Matos  <jamatos@fep.up.pt>
8442         * buffer.C (makeDocBookFile): white space changes, add newline to
8443         command styles.
8444         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8445
8446         * tabular.C (docBook): fix typo.
8447
8448 2002-05-03  Juergen Vigna  <jug@sad.it>
8449
8450         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8451         change in LyXText as we can not be sure it was not freed.
8452         (drawOneRow): remove unused code.
8453
8454         * text.C (drawInset): redo the calculation of the need_break_row as
8455         it could have a row which was already freed.
8456         (draw): look at the return value of drawInset and return false if
8457         it also returned false.
8458         (paintRowText): look at the return value of draw and return false if
8459         it also returned false.
8460
8461         * lyxtext.h: added bool return type to drawInset() and draw() so that
8462         if we have a change in the row so that the rowbreak has to be redone
8463         we abort drawing as it will be called again.
8464
8465 2002-05-02  Juergen Vigna  <jug@sad.it>
8466
8467         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8468         a change in the maintext also if we're inside an inset.
8469         (Dispatch): set the cursor again after a break line and after the
8470         screen has been updated as it could be we're in a different row.
8471
8472         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8473         to set the cursor behind the pargraph with > size().
8474         (setCursor): check also for the same paragraph when checking where
8475         to put the cursor if we have a NFR inset.
8476
8477         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8478         parts of layout read further up as it still was in the wrong
8479         position.
8480
8481 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8482
8483         * screen.C (drawFromTo): change sine fullRebreak always return
8484         true.
8485
8486         * buffer.C (parseSingleLyXformat2Token): reindent some
8487
8488         * BufferView_pimpl.C (update): change since fullRebreak always
8489         return true.
8490         (Dispatch): git rid of the last hardcoded "Standard"s.
8491
8492 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8493
8494         * text2.[Ch] (fullRebreak): make it return void now that we always
8495         returned true.
8496
8497 2002-04-30  Juergen Vigna  <jug@sad.it>
8498
8499         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8500         ert compatibility check for "latex" layout.
8501
8502 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8503
8504         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8505         minipages: use col% instead of p%, and also use the current font.
8506         (makeLaTeXFile): Fix use babel condition.
8507         (parseSingleLyXformat2Token): Correct font when reading old floats.
8508
8509 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8510
8511         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8512         inserting list of floats.
8513
8514 2002-04-25  Herbert Voss  <voss@lyx.org>
8515
8516         * MenuBackend.C (expand): don't add the graphics extensions to the
8517         export menu
8518
8519 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8520
8521         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8522         non-existing layout, do not complain if it was the default layout
8523         of the original class (bug #342)
8524
8525 2002-04-24  Juergen Vigna  <jug@sad.it>
8526
8527         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8528         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8529
8530 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8531
8532         * buffer.C (getBibkeyList): If using \bibliography, return the
8533         option field with the reference itself. Enables us to provide natbib
8534         support when using \bibliography.
8535
8536 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8537
8538         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8539
8540         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8541         natbib is provided by the LaTeX class.
8542
8543 2002-04-23  Juergen Vigna  <jug@sad.it>
8544
8545         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8546         Wakeup functions.
8547
8548         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8549
8550 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8551
8552         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8553
8554         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8555         ensuremath around textordmasculine, textordfeminine and
8556         textdegree.
8557
8558 2002-04-19  Juergen Vigna  <jug@sad.it>
8559
8560         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8561         reinitializing the buffer otherwise row-dimensions may be wrong.
8562         (update): reset also the selection cursors if they do exits otherwise
8563         their x/y positions may be wrong.
8564
8565         * text2.C (cursorDown): don't enter the inset if we came from a row
8566         above and are one row over the inset.
8567
8568         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8569         really leaving an inset.
8570
8571 2002-04-18  Juergen Vigna  <jug@sad.it>
8572
8573         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8574         of the selected paragraph does not have the selected layout also if
8575         the last one had!
8576
8577         * text2.C (setLayout): fixed bug which did not change last selected
8578         paragraph.
8579
8580         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8581         changed the read and substituted \\end_float with \\end_inset!
8582
8583         * BufferView_pimpl.C (cursorPrevious):
8584         (cursorNext): fixed to make it work with rows heigher than the work
8585         area without moving the cursor only the draw of the row.
8586         (workAreaMotionNotify): fix jumping over high rows.
8587
8588 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8589
8590         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8591         Ressler.
8592
8593 2002-04-16  Juergen Vigna  <jug@sad.it>
8594
8595         * text2.C (setCursor): set also the irow().
8596         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8597         (cursorUp):
8598         (cursorDown): support for locking an inset if the x_fix value goes
8599         inside it. That way I can transverse insets too with cursor up/down.
8600
8601         * lyxrow.h: added irow helper function same as other (i) functions.
8602
8603         * BufferView_pimpl.C (cursorPrevious):
8604         (cursorNext): fixed for insets!
8605
8606 2002-04-15  Juergen Vigna  <jug@sad.it>
8607
8608         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8609         position otherwise it is wrong in some cases.
8610
8611         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8612         inside the inset before the call.
8613
8614 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8615
8616         * buffer.[Ch] (getBibkeyList): make it const.
8617
8618 2002-04-12  Juergen Vigna  <jug@sad.it>
8619
8620         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8621
8622         * text2.C (getCursorX): new helper function
8623         (setCursor): compute also ix_
8624         (setCursorFromCoordinates): set also ix.
8625
8626         * lyxcursor.h: added ix_ and helper functions.
8627
8628         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8629
8630         * buffer.C (insertStringAsLines): dont break paragraph if the this
8631         paragraph is inside an inset which does not permit it!
8632
8633         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8634         also with no chars on this paragraph.
8635         (paintRowText): only paint stuff if it's inside the workarea!
8636
8637         * paragraph.C (breakParagraph): honor keepempty flag and break the
8638         paragraph always below not above.
8639
8640         * BufferView2.C (unlockInset): update the paragraph layout on inset
8641         unlock as we changed paragraph in such a case.
8642
8643         * lyxfind.C (LyXFind): clear the former selection if not found!
8644
8645         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8646         again called in insertChar().
8647
8648         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8649         an inset which uses the whole row!
8650         (rightMargin): ditto.
8651         (insertChar): force a rebreak if we inserted an inset!
8652
8653 2002-03-28  Herbert Voss  <voss@lyx.org>
8654
8655         * lyxlength.[Ch]: add inBP() to get the right PS-point
8656         units (BigPoint). With inPixels we have rounding errors
8657
8658 2002-04-11  Juergen Vigna  <jug@sad.it>
8659
8660         * text2.C (setCursorFromCoordinates): set iy to the right value.
8661         (setCursor): add check if row->previous exists!
8662
8663         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8664         an old float_type as this was the case in the old code!
8665
8666         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8667
8668         * BufferView2.C (showLockedInsetCursor): use iy
8669         (fitLockedInsetCursor): ditto
8670
8671         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8672         locked insets as there we have the right value now.
8673
8674         * lyxcursor.C: added iy_ variable and iy functions to set to the
8675         baseline of cursor-y of the locked inset.
8676
8677         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8678         (setCursor): fixed for insets which need a full row.
8679
8680         * text.C (rowLastPrintable): don't ignore the last space when before
8681         an inset which needs a full row.
8682         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8683         as last character of a row when before a inset which needs a full row.
8684
8685 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8686
8687         * version.C.in: update date
8688
8689         * text2.C (fullRebreak): try to always return true and see what
8690         happens...
8691
8692 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8693
8694         * MenuBackend.C (expand): use Floating::listName
8695
8696         * FloatList.C (FloatList): add listName argument to the built-in
8697         floats
8698
8699         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8700         text associated with the float.
8701
8702 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8703
8704         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8705
8706 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8707
8708         * ShareContainer.h: add a couple of missing typenames.
8709
8710 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8711
8712         * lyxrc.C (getDescription): use _() correctly rather than N_().
8713
8714 2002-03-28  Herbert Voss  <voss@lyx.org>
8715
8716         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8717         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8718
8719 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8720
8721         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8722         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8723
8724 2002-03-29  Juergen Vigna  <jug@sad.it>
8725
8726         * lyxfunc.C (dispatch): add a missing fitCursor call.
8727
8728         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8729         it was scrolled by a cursor move, so return the bool status.
8730
8731         * BufferView.C (fitCursor): return the bool flag also to the outside
8732         world as this is needed.
8733
8734         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8735
8736         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8737         call the edit() as it is not needed (and wrong) IMO.
8738         (workAreaButtonPress): set the screen_first variable before evt.
8739         unlock the inset as this may change screen_first and then we have
8740         a wrong y position for the click!
8741
8742 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8743
8744         * MenuBackend.C (expand): another translation that I missed
8745
8746 2002-03-28  Juergen Vigna  <jug@sad.it>
8747
8748         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8749
8750         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8751
8752 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8753
8754         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8755
8756         * MenuBackend.C (expand): fix export/view/update when there is no
8757         document open.
8758
8759 2002-03-27  Herbert Voss  <voss@lyx.org>
8760
8761         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8762         and text%
8763
8764 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8765
8766         * bufferview_funcs.C (currentState): only show paragraph number
8767         for is DEVEL_VERSION is set.
8768
8769         * lyxfunc.C (dispatch): put warning in INFO channel
8770
8771         * MenuBackend.C (expand): translate the name of floats
8772
8773         * FloatList.C (FloatList): mark the float names for translation
8774
8775         * converter.C (convert): use LibScriptSearch
8776
8777 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8778
8779         * MenuBackend.C (defaults): fix default menu (we might as well get
8780         rid of it...)
8781
8782 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8783
8784         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8785         directory.
8786
8787 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8788
8789         * lyxvc.C: reorder includes.
8790
8791 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8792
8793         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8794           properly
8795
8796 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8797
8798         * CutAndPaste.C: change layouts earlier on paste
8799           to avoid crashing when calling getFont()
8800
8801 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8802
8803         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8804         irritating #error.
8805
8806 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8807
8808         * WorkArea.C: remove 'Pending' debug message.
8809
8810         * most files: ws cleanup
8811
8812         * buffer.[Ch]: ws changes
8813
8814         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8815
8816 2002-03-21  Juergen Vigna  <jug@sad.it>
8817
8818         * tabular.C (SetMultiColumn): collapse also the contents of the
8819         cells and set the last border right. Added a Buffer const * param.
8820
8821 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8822
8823         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8824         linking or not.
8825
8826 2002-03-19  Juergen Vigna  <jug@sad.it>
8827
8828         * text2.C (clearSelection): reset also xsel_cache.
8829
8830         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8831         where it needs to be called (John tells us to do so too :)
8832         (selectionLost): reset sel_cache.
8833
8834         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8835
8836 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8837
8838         * text2.C (setCursorIntern): put debuging code in INSETS channel
8839
8840 2002-03-19  André Pönitz <poenitz@gmx.net>
8841
8842         * lyxfunc.C: tiny whitespace change
8843
8844 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8845
8846         * ToolbarDefaults.C (init):
8847         * LyXAction.C (init):
8848         * commandtags.h:
8849         * BufferView_pimpl.C (Dispatch):
8850         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8851
8852 2002-03-19  Allan Rae  <rae@lyx.org>
8853
8854         * exporter.C (Export): removeAutoInsets before doing anything else.
8855         While I've just introduced a dependency on BufferView this really is
8856         the best place to clean the buffer otherwise you need to cleanup in
8857         a dozen places before calling export or cleanup in a dozen functions
8858         that export calls.
8859
8860         * converter.C (runLaTeX):
8861         (scanLog): Better handling of removeAutoInsets and screen updates.
8862
8863         * lyxfunc.C (dispatch): small whitespace changes
8864
8865 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8866
8867         * WorkArea.C (C_WorkAreaEvent): return a value.
8868         (event_cb): return 1 if we handled the event, 0 otherwise.
8869
8870         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8871
8872 2002-03-18  Juergen Vigna  <jug@sad.it>
8873
8874         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8875         (GetAdditionalWidth): ditto.
8876         (RightLine): ditto.
8877         (LeftLine): ditto.
8878
8879         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8880         inset if we're there actually (probably not used right now but this
8881         is the direction to go for unifying code).
8882         (paste): disable code to clear the selection.
8883
8884         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8885         inside an InsetText and move the check further up as it is in the
8886         wrong place.
8887
8888         * text2.C (pasteSelection): set a selection over the pasted text.
8889
8890 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8891
8892         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8893         and libgraphics to build on Cygwin.
8894
8895 2002-03-15  Juergen Vigna  <jug@sad.it>
8896
8897         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8898         inserting an Inset into the paragraph. I know this is not the best
8899         fix but we already use current_view in CutAndPaste so we will remove
8900         all of it's using at the same time.
8901
8902         * buffer.C (sgmlError): deactivated function till it is rewritten in
8903         the right mode, now it can create problems.
8904
8905         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8906         before accessing it.
8907
8908 2002-03-14  Juergen Vigna  <jug@sad.it>
8909
8910         * undo_funcs.C (textHandleUndo): do the right thing when updating
8911         the inset after the undo/redo.
8912
8913         * text2.C (setCursor): just some testcode for #44 not ready yet.
8914
8915         * undo_funcs.C (textHandleUndo): set the next() and previous()
8916         pointers of the paragraph to 0 before deleting otherwise we have
8917         problems with the Paragraph::[destructor].
8918
8919         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8920         on a paragraph insertion.
8921
8922 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8923
8924         * buffer.C (asciiParagraph): use += operator for char append to
8925         string.
8926
8927         * paragraph.C (getFontSettings): compare >= not just >
8928         (highestFontInRange): ditto
8929         (setFont): ditto
8930
8931 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8932
8933         * paragraph.C: change several algorithm to be more appripriate for
8934         the problem domain. This is lookip in FontList and in the InsetList.
8935
8936 2002-03-13  André Pönitz <poenitz@gmx.net>
8937
8938         * commandtags.h:
8939         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8940
8941 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8942
8943         * commandtags.h:
8944         * LyXAction.C:
8945         * lyxfunc.C:
8946         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8947
8948 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8949
8950         * Painter.C (display): anon helper function, adjust code for this
8951         change.
8952         (pixmap): remove function.
8953
8954         * Painter.h: remove private display variable.
8955
8956         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8957
8958 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8959
8960         * WorkArea.[Ch]: remove figinset_canvas cruft.
8961
8962 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8963
8964         * lyxtextclass.C (operator): add one item cache optimization.
8965
8966         * bufferlist.h: doxy changes
8967
8968         * bufferlist.C: ws changes
8969
8970         * DepTable.[Ch] (ext_exist): place const in the right spot.
8971
8972         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8973         call resizeInsets.
8974         (workAreaExpose): call resizeInsets when the with BufferView changes.
8975         (Dispatch): adjust for protectedBlank removal
8976         (specialChar): call updateInset if the insert went ok.
8977
8978         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8979         specialChar instead.
8980
8981         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8982
8983         * BufferView.h: doxy change
8984
8985         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8986
8987         * lyxtextclass.C (operator[]): remove non-const version
8988         (defaultLayout): remove non-const version
8989
8990 2002-03-12  Juergen Vigna  <jug@sad.it>
8991
8992         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8993         did resize the LyXText too.
8994
8995         * buffer.C (readLyXformat2): set layout information on newly allocated
8996         paragraphs.
8997
8998         * tabular.C (OldFormatRead): set layout information on the paragraph.
8999
9000 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9001
9002         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9003
9004 2002-03-11  Juergen Vigna  <jug@sad.it>
9005
9006         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9007         plainly wrong.
9008         (resizeCurrentBuffer): force also the insets to resize themselfes.
9009         (moveCursorUpdate): fixed up for InsetText.
9010
9011 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9012
9013         * commandtags.h:
9014         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9015         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9016         value of Dialogs::tooltipsEnabled().
9017         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9018
9019 2002-03-08  Juergen Vigna  <jug@sad.it>
9020
9021         * BufferView_pimpl.C (updateInset): update inset inside inset also
9022         if it isn't inside theLockingInset().
9023
9024 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9025
9026         * buffer.C (asciiParagraph): redo some of the word and line length
9027         handling.
9028         (getLists): look for Caption instead of caption.
9029
9030 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9031
9032         * buffer.C (Buffer): initialize niceFile to true
9033         (makeLaTeXFile):
9034         (makeLinuxDocFile):
9035         (makeDocBookFile): make sure niceFile is true on exit
9036
9037 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9038
9039         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9040
9041 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9042
9043         * LyXSendto.C: remove.
9044         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9045         * lyx_gui.C: remove now-redundant comment.
9046         * ColorHandler.h: remove forward declaration of class WorkArea.
9047         * lyxfunc.C: remove #include "WorkArea.h".
9048
9049 2002-03-07  Juergen Vigna  <jug@sad.it>
9050
9051         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9052         got moved away with the DEPM and also set the inset_owner always
9053         right which before could have been omitted.
9054
9055 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9056
9057         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9058         wanted layout is not found.
9059
9060 2002-03-07  Juergen Vigna  <jug@sad.it>
9061
9062         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9063
9064 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9065
9066         * paragraph.C (breakParagraph): use default layout not layout of
9067         prev paragraph.
9068         (Paragraph): clear ParagraphParameters.
9069
9070 2002-03-06  Juergen Vigna  <jug@sad.it>
9071
9072         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9073         otherwise it would not be a valid lenght. Fixed a special case in
9074         the minipage compatibility read where we end the document with a
9075         minipage.
9076
9077         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9078         was set as it could be 0 for InsetTexts first entry.
9079
9080 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9081
9082         * paragraph.C (writeFile): if layout is empty write out
9083         defaultLayoutName().
9084
9085         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9086         file without named layout we set layout to defaultLayoutName().
9087
9088 2002-03-06  Juergen Vigna  <jug@sad.it>
9089
9090         * CutAndPaste.C (copySelection): set layout for new paragraph.
9091
9092         * text.C (prepareToPrint): leave ERT inset left aligned
9093         (leftMargin): don't indent paragraphs inside ERT insets
9094
9095 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9096
9097         * paragraph.C (breakParagraph): dont call clear do the work manually
9098
9099         * paragraph.[Ch] (clear): remove function
9100
9101 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9102
9103         * paragraph.C (Paragraph): dont call clear, the work has already
9104         been done.
9105
9106         * lyxtextclass.C (operator): assert if n is empty
9107
9108         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9109         work manually instead.
9110
9111 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9112
9113         * BufferView_pimpl.C: protect selectionLost against text == 0
9114
9115 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9116
9117         * text.C (breakParagraph): fix a setting layout to '0' problem.
9118
9119 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9120
9121         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9122         final location of file, for the included files, and graphics.
9123
9124 2002-03-05  Juergen Vigna  <jug@sad.it>
9125
9126         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9127
9128 2002-03-04  Juergen Vigna  <jug@sad.it>
9129
9130         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9131
9132         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9133         last column of multicolumn cells.
9134         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9135
9136 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9137
9138         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9139         file if it doesn't go to a temporary file.
9140
9141         * buffer.C (sgmlOpenTag):
9142         (sgmlCloseTag):  remove extra newline insertion.
9143
9144 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9145
9146         * text.C (getRowNearY): comment out debug msg
9147
9148 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9149
9150         * text2.C: first -> first_y
9151
9152         * text.C (getRowNearY): add some attemts at a possible
9153         optimization, not working.
9154
9155         * tabular.[Ch]: add BufferParams to several function so that newly
9156         created paragraph can be initialized to he default layotu for the
9157         buffers textclass.
9158
9159         * tabular-old.C (ReadOld): add buf->params to call of Init
9160
9161         * screen.C: rename text->first to text->first_y
9162
9163         * paragraph.C (breakParagraph): always set layout in the broken
9164         paragraph
9165
9166         * lyxtextclass.C (Read): remove lowercase
9167         (hasLayout): ditto
9168         (operator): ditto
9169         (delete_layout): ditto
9170
9171         * lyxtext.h: rename first -> first_y
9172
9173         * lyxlayout.C (Read): remove lowercase
9174         (name): ditto
9175         (setName): ditto
9176         (obsoleted_by): ditto
9177
9178         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9179
9180         * buffer.C (insertErtContents): add params are to InsetERT
9181         (parseSingleLyXformat2Token): add code to check if a paragraphs
9182         layout really exist.
9183         (parseSingleLyXformat2Token): add params to several inset
9184         constructors
9185         (asciiParagraph): remove lowercase, do the layout comparisons with
9186         no_case
9187
9188         * BufferView_pimpl.C (cursorNext): first -> first_y
9189         (resizeCurrentBuffer): first -> first_y
9190         (updateScrollbar): first -> first_y
9191         (scrollCB): first -> first_y
9192         (workAreaMotionNotify): first -> first_y
9193         (workAreaButtonPress): first -> first_y
9194         (checkInsetHit): first -> first_y
9195         (cursorPrevious): first -> first_y
9196         (cursorNext): first -> first_y
9197         (Dispatch): add buffer_->params to severl inset contructors
9198
9199 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9200
9201         * lyxlayout.C (Read): remove some debug info that I forgot.
9202
9203         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9204         clean up the code slightly.
9205         (makeLinuxDocFile): ditto
9206         (makeDocBookFile): ditto
9207
9208         * text2.C: layout as string
9209
9210         * text.C: layout as string
9211
9212         * paragraph_pimpl.C: layout as string
9213
9214         * paragraph.[Ch]: layout as string
9215
9216         * lyxtextclasslist.[Ch]: layout as string
9217
9218         * lyxtextclass.[Ch]: layout as string
9219
9220         * lyxtext.h: layout as string
9221
9222         * lyxlayout.[Ch]: layout as string
9223
9224         * lyx_cb.C: layout as string
9225
9226         * bufferview_funcs.C: layout as string
9227
9228         * bufferparams.C: layout as string
9229
9230         * buffer.C: layout as string
9231
9232         * LyXView.[Ch]: layout as string
9233
9234         * LaTeXFeatures.[Ch]: layout as string
9235
9236         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9237
9238         * BufferView_pimpl.C: change current_layout to string, remove
9239         lyx::layout_type.
9240         (Dispatch):
9241         (smartQuote):
9242         (insertInset):
9243         (workAreaButtonRelease): layout as string
9244
9245         * BufferView2.C (unlockInset): adjust
9246
9247         * vspace.C (asLatexCommand): use an explict temp variable.
9248
9249 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9250
9251         * Makefile.am: use FRONTEND_*
9252
9253 2002-03-01  Juergen Vigna  <jug@sad.it>
9254
9255         * tabular.C (SetWidthOfMulticolCell): changed to something better
9256         I hope but still work in progress.
9257         (recalculateMulticolumnsOfColumn): renamed function from
9258         recalculateMulticolCells as it is more appropriate now.
9259         (SetWidthOfCell): calculate multicols better.
9260
9261 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9262
9263         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9264
9265         * lyxfunc.C (processKeySym): print sequence also if it is
9266         `deleted' (complete)
9267
9268         * kbsequence.C (print): print sequence even if it is deleted
9269         (complete would be a better word, actually).
9270
9271         * lyxfunc.C (dispatch): print complete options after a prefix key
9272
9273         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9274
9275 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9276
9277         * text2.C (setCharFont): eliminate setCharFont code duplication.
9278
9279 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9280
9281         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9282         LFUN_TABULAR_FEATURE (bug #177)
9283
9284 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9285
9286         * Makefile.am: remove figure.h
9287
9288 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9289
9290         * Bufferview_pimpl.C:
9291         * CutAndPasteC:
9292         * LaTeX.C:
9293         * LyXSendto.C:
9294         * buffer.C:
9295         * bufferlist.C:
9296         * converter.C:
9297         * language.C:
9298         * lyxfunc.C:
9299         * lyxvc.C:
9300         * paragraph.C:
9301         * text.C:
9302         * text2.C: remove #include "lyx_gui_misc.h".
9303
9304         * LaTeX.C: added #include <cstdio>
9305
9306 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9307
9308         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9309         that the paragraph following this one can have.
9310
9311         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9312
9313         * vspace.C (asLatexCommand): fix bogus gcc warning
9314
9315         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9316
9317 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9318
9319         * text2.C (setLayout): get rid of redundant code
9320
9321 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9322
9323         * text2.C (incDepth): make sure depth cannot be increased beyond
9324         reasonable values.
9325
9326 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9327
9328         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9329         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9330
9331         * PainterBase.h (image):
9332         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9333         a LyXImage const *.
9334
9335 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9336
9337         * BufferView.C:
9338         * BufferView.h:
9339         * BufferView_pimpl.C:
9340         * BufferView_pimpl.h:
9341         * LaTeXFeatures.C:
9342         * LyXAction.C:
9343         * LyXView.C:
9344         * Makefile.am:
9345         * UpdateList.h:
9346         * UpdateList.C:
9347         * buffer.C:
9348         * figure.h:
9349         * figureForm.C:
9350         * figureForm.h:
9351         * figure_form.C:
9352         * figure_form.h:
9353         * lyx_cb.C:
9354         * lyx_gui.C:
9355         * lyx_gui_misc.C:
9356         * lyxfunc.C:
9357         * sp_base.h:
9358         * sp_ispell.h:
9359         * sp_pspell.h:
9360         * sp_spell.C: remove fig inset, and the crap house of
9361           cards that follows it
9362
9363 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9364
9365         * Makefile.am:
9366         * lyxserver.C:
9367         * os2_defines.h:
9368         * os2_errortable.h:
9369         * nt_defines.h: move .h into support/
9370
9371         * vms_defines.h: remove
9372
9373         * WorkArea.C: add space in debug output
9374
9375         * text2.C:
9376         * paragraph.C:
9377         * buffer.C: add WITH_WARNINGS
9378
9379         * vc-backend.h:
9380         * vc-backend.C:
9381         * bufferlist.C: s/retrive/retrieve/, add docs
9382
9383         * vspace.h:
9384         * vspace.C:
9385         * kbmap.h:
9386         * lyxlength.h:
9387         * lyxgluelength.h:
9388         * length_common.h:
9389         * chset.h:
9390         * chset.C: add docs
9391
9392         * lyxgui.C: add ID to X error handler
9393
9394         * lyxtestclass.c: fix typo
9395
9396 2002-02-26  Juergen Vigna  <jug@sad.it>
9397
9398         * tabular_funcs.C (write_attribute): changed so that some default
9399         attributes are not written at all.
9400         (getTokenValue): set default values before trying to read the
9401         value so we have the return value always set as default if we don't
9402         find the token we search for.
9403
9404         * tabular.C (Write): write bools as bools not as strings!
9405
9406 2002-02-22  Juergen Vigna  <jug@sad.it>
9407
9408         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9409         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9410
9411         * text.C (leftMargin): don't add an indent for paragraphs inside
9412         tabular cells (fix #208).
9413
9414 2002-02-21  José Matos  <jamatos@fep.up.pt>
9415
9416         * tabular.C (docBook): fixed support for long tables.
9417
9418 2002-02-20  Juergen Vigna  <jug@sad.it>
9419
9420         * text2.C (getFont): get the drawing font of the Inset if this
9421         paragraph is inside an inset (only important for InsetERT for now).
9422
9423         * buffer.C (insertErtContents): use new lanugage params in ERT
9424         constructor.
9425
9426         * CutAndPaste.C: commenting out seemingly uneeded code.
9427
9428 2002-02-19  Allan Rae  <rae@lyx.org>
9429
9430         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9431         Iterators might be simple to use but they also get invalidated.
9432         (removeAutoInsets): renamed saved cursor tracking variables and added
9433         some comments to clarify what everything does.
9434
9435 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9436
9437         * Chktex.C:
9438         * LaTeX.C:
9439         * LyXSendto.C:
9440         * converter.C:
9441         * lyx_cb.C:
9442         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9443         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9444
9445         * lyxfunc.C:
9446         * vc-backend.h: remove #include "support/syscall.h"
9447
9448         * LaTeX.C:
9449         * LyXSendto.C:
9450         * converter.C: rearrange #includes in Lars' approved fashion.
9451
9452         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9453         forward declare class Timeout in the header file.
9454
9455         * XFormsView.C: changes due to the above.
9456
9457         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9458         similar to LyXView.
9459
9460         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9461         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9462
9463 2002-02-18  José Matos  <jamatos@fep.up.pt>
9464
9465         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9466         insets contents.
9467
9468 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9469
9470         * a lot of small ws changes
9471         * add a lot of using std::XXX
9472         * use std construcs some places where approp.
9473         * use some exisint stuff from lyxfunctional where approp.
9474         * Make file changes to use partial linking (lets test this now...)
9475
9476 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9477
9478         * Chktex.C:
9479         * buffer.C:
9480         remove #include "support/syscontr.h" as it's redundant. Always has been.
9481
9482         * Chktex.C:
9483         * LaTeX.C:
9484         * LyXSendto.C:
9485         * converter.C:
9486         * lyx_cb.C:
9487         * vc-backend.C:
9488         change Systemcalls::System to Systemcalls::Wait and
9489         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9490         No change of functionality, just reflects the stripped down Systemcalls
9491         class.
9492
9493 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9494
9495         * debug.[Ch]: add a GRAPHICS type to the enum.
9496
9497 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9498
9499         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9500
9501         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9502         there is an inset.
9503
9504 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9505
9506         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9507         match the changes below.
9508
9509         * text2.C (toggleInset): if there is not editable inset at cursor
9510         position, try to see if cursor is _inside_ a collapsable inset
9511         and close it.
9512
9513 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9514
9515         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9516         document menu has a nice checkbox
9517
9518 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9519
9520         * lyxlength.C (asLatexString): change PW to output as percent of
9521         \textwidth.
9522
9523         * lengthcommon.C: change '%' to 't%'
9524
9525         * lyxfunc.C (dispatch): a few comments from Martin
9526
9527 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9528
9529         * WorkArea.h:
9530         * WorkArea.C:
9531         * BufferView_pimpl.h:
9532         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9533           the X selection.
9534
9535 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9536
9537         * vspace.C (inPixels): fix compiler warning
9538
9539 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9540
9541         * lyxfunc.C (getStatus): fix status message for disabled commands.
9542
9543 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9544
9545         * BufferView_pimpl.C: fix crash on close buffer
9546         during selection (#227)
9547
9548 2002-01-27  Herbert Voss  <voss@lyx.org>
9549
9550         * buffer.C: link old Figure to new graphic inset
9551
9552 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9553
9554         * FontLoader.C (getFontinfo): Change the latex font names in order
9555         to match the names of type1inst.
9556
9557 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9558
9559         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9560
9561         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9562         (extchanged): ditto
9563         (ext_exist): ditto
9564         (remove_files_with_extension): ditto
9565         (remove_file): ditto
9566         (write): ditto
9567
9568         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9569         document is smaller than the work area height. Do not initialize
9570         static variables to 0.
9571
9572 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9573
9574         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9575
9576         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9577         LFUN_LAYOUT_PARAGRAPHS.
9578
9579         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9580         tabular. It is possible to provide a possible cell, which will
9581         typically be the actcell from the corresponding insettabular
9582
9583         * lyxfunc.C (getStatus): small cleanup; disable
9584         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9585         true
9586
9587 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9588
9589         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9590
9591         * paragraph.C (startTeXParParams):
9592         (endTeXParParams): new methods. The LaTeX code to
9593         start/end paragraph formatting
9594         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9595         empty (fixes bug #200)
9596
9597         * vspace.C (inPixels): adapt to the change below
9598         (inPixels): [later] more cleanups (remove unused variables)
9599
9600         * lyxlength.C (inPixels): change to use a width and a height as
9601         parameter.
9602
9603 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9604
9605         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9606         Replaced with \paperwidth
9607
9608         * DepTable.C (insert): add std:: qualifier
9609
9610 2002-01-18  Allan Rae  <rae@lyx.org>
9611
9612         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9613         updated also?
9614
9615         * text.C (drawInset): Turned out I didn't know enough about how
9616         rebreaking worked.  This fixes most of the redraw problems.  I see
9617         an occasional cursor trail when a line is broken now and the cursor
9618         placement can seem out by a few pixels also after a rebreak.
9619
9620 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9621
9622         * buffer.C (parseSingleLyXformat2Token): update because minipage
9623         width is now a LyXLength
9624
9625         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9626
9627         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9628         math insets
9629
9630 2002-01-17  Juergen Vigna  <jug@sad.it>
9631
9632         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9633
9634         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9635         is set correctly and the inset is updated correctly.
9636
9637 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9638
9639         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9640         the beginning of the loop.
9641
9642 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9643
9644         * lyxrc.C: improve help for use_scalable_fonts
9645
9646 2002-01-17  Allan Rae  <rae@lyx.org>
9647
9648         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9649
9650 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9651
9652         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9653         make sure to set their inset_owner to the right value (bug #171)
9654
9655 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9656
9657         * DepTable.h
9658         * DepTable.C: Implement mtime checking to reduce time spent doing
9659         CRCs.
9660
9661 2002-01-16  Juergen Vigna  <jug@sad.it>
9662
9663         * tabular.C (GetAdditionalHeight): one of error fixed.
9664
9665         * lyxrc.C (output): small fix in writing use_pspell.
9666
9667 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9668
9669         * sp_base.h: #include LString.h
9670
9671 2002-01-16  Allan Rae  <rae@lyx.org>
9672
9673         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9674         Can someone check this please?
9675
9676         * text.C (drawInset): It was possible that p.row would be removed by
9677         breakAgainOneRow upsetting a few other settings.  There may be another
9678         small tweak possible by setting need_break_row = 0 when p.row has been
9679         removed but I don't know enough about the logic here.
9680
9681 2002-01-15  Allan Rae  <rae@lyx.org>
9682
9683         * text.C (insertChar): removed conditional truism.
9684
9685         * BufferView2.C (removeAutoInsets): More tweaks.
9686         cur_par_prev could be a stray pointer.  Check for trailing empty line
9687         in case last line was cur_par and only had an error inset on it.
9688
9689 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9690
9691         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9692         absolute
9693
9694         * vc-backend.C (most methods):
9695         * exporter.C (Export):
9696         * converter.C (convert):
9697         (runLaTeX):
9698         * LyXSendto.C (SendtoApplyCB):
9699         * lyxfunc.C (dispatch):
9700         (menuNew):
9701         (open):
9702         (doImport):
9703         * lyx_cb.C (AutoSave):
9704         (InsertAsciiFile):
9705         * BufferView_pimpl.C (MenuInsertLyXFile):
9706         * buffer.C (runChktex): use Buffer::filePath().
9707
9708         * buffer.h: rename filename to filename_; rename filepath to
9709         filepath_ and make it private
9710         (filePath): new method
9711
9712         * buffer.C (writeFile): use fileName()
9713         (getLatexName):
9714
9715         * lyx_main.C (init): fix starting  of LyX when the binary is a
9716         link from so,ewhere else.
9717
9718         * minibuffer.C: include <cctype> for isprint
9719
9720 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9721
9722         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9723         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9724         name clash with InsetCollapsable's width function.
9725
9726 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9727
9728         * lastfiles.C: include <iterator>
9729
9730 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9731
9732         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9733         std::count.
9734
9735         * buffer.C (makeLaTeXFile): ditto.
9736         Also make loop operation more transparent.
9737
9738 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9739
9740         * ToolbarDefaults.C: remove trailing comma closing namespace.
9741
9742         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9743
9744         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9745         as in WorkArea.
9746
9747         * trans.C (Load): comment out unused variable, allowed.
9748
9749 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9750
9751         * minibuffer.[Ch] (append_char): new method to recieve input from the
9752         drop-down completion browser. If a key was pressed, then recieve this
9753         char and append it to the existing string.
9754         (peek_event): modify the positioning data passed to the completion
9755         browser so that it can be placed above the minibuffer rather than below.
9756 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9757
9758         * LyXAction.C (init): alloe error-next for readonly documents.
9759
9760         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9761         count.
9762
9763 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9764
9765         * bufferlist.C (readFile): create the buffer _after_ checking that
9766         the file exists.
9767
9768         * lyxfunc.C (verboseDispatch): fix handling of arguments
9769
9770         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9771
9772         * lyxrc.C: use string::erase() instead of initializing to "".
9773
9774
9775 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9776
9777         * BufferView_pimpl.h:
9778         * BufferView_pimpl.C:
9779         * WorkArea.h:
9780         * WorkArea.C:
9781         * text2.C: tell X when we have made a selection for copying
9782
9783 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9784
9785         * BufferView_pimpl.C (MenuInsertLyXFile):
9786         * lyxfunc.C (menuNew):
9787         (open):
9788         (doImport): add shortcuts to directory buttons
9789
9790         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9791         open a float)
9792
9793         * lyxfunc.C (setStatusMessage):
9794         (getStatusMessage): new methods
9795         (getStatus):use setStatusMessage instead of setErrorMessage
9796         (dispatch): when function is disabled, set error message here
9797         [instead of in getStatus previously]
9798
9799         * BufferView_pimpl.C (workAreaButtonRelease): update
9800         toolbar/menubar here too.
9801
9802 2002-01-13  Allan Rae  <rae@lyx.org>
9803
9804         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9805         Now seems indestructible.  Remaining task is to audit all other
9806         code affected by deleteEmptyParagraphMechanism.  One small quirk
9807         left is that an empty document with an error in the preamble can
9808         be made to report an error but no error box appears.  I don't know
9809         where it goes.
9810         (removeAutoInsets): Improved comments.
9811
9812 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9813
9814         * Thesaurus.h:
9815         * Thesaurus.C: update for Aiksaurus 0.14
9816
9817 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9818
9819         * text2.C (firstParagraph): removed member function, all uses
9820         replaces with ownerParagraph
9821         (redoParagraphs): here
9822         (updateInset): here
9823         (toggleAppendix): here
9824         * BufferView2.C (insertErrors): here
9825         (setCursorFromRow): here
9826
9827 2002-01-13  Allan Rae  <rae@lyx.org>
9828
9829         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9830         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9831         There is still a way to segfault this although you may have to do this
9832         multiple times: Have an InsetERT with an unknown command in it.
9833         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9834         <down-arrow>, <Enter> again, View->DVI, BANG!
9835
9836         * text2.C (setCursor):
9837         (deleteEmptyParagraphMechanism):
9838         * lyxtext.h (setCursor):
9839         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9840         Making use of the return value may help fix other bugs.
9841
9842 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9843
9844         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9845
9846         * LyXView.C (updateMenubar): call MenuBar::update here
9847         (updateToolbar): but not here
9848         (showState): do not update toolbar/menubar
9849
9850         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9851         should need to care about that.
9852
9853         * lyxfunc.C (verboseDispatch): simplify a bit
9854         (getStatus): have a version which takes a pseudoaction, and
9855         another which requires a (kb_action,string).
9856
9857         * LyXAction.C (retrieveActionArg): make it work also when action
9858         is not a pseudo-action.
9859         (getActionName): simplify a bit
9860         (helpText):
9861
9862 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9863
9864         * lyxfunc.C (verboseDispatch): new families of methods with
9865         several ways to specify a command and a bool to indicate whether
9866         the command name and shortcut should be displayed in minibuffer
9867         (eventually, we could extend that to a finer bitmask like
9868         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9869         (dispatch): the pristine dispatch command which just, well,
9870         dispatchs! Note it still sets its result to minibuffer; I'm not
9871         sure we want that.
9872
9873         * lyxfunc.h: remove setHintMessage
9874
9875         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9876
9877 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9878
9879         * BufferView_pimpl.C (specialChar): delete new inset if we have
9880         not been able to insert it.
9881
9882         * kbmap.C: revert to using int instead of kb_action, since all we
9883         are dealing with is pseudo-actions.
9884
9885         * LyXAction.C (searchActionArg): change to return int instead of
9886         kb_action, since the result is a pseudoaction.
9887
9888 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9889
9890         * buffer.C (insertErtContents): Fix (partially) the font bug.
9891
9892 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9893
9894         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9895         as the other one is broken on my machine!
9896
9897 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9898
9899         * commandtags.h:
9900         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9901
9902 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9903
9904         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9905         reflect their actual use. Provide compatibility code for older lyxrc
9906         files.
9907
9908         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9909         FL_NORMAL_STYLE.
9910         change names of popup font variables in line with the changes to lyxrc.C
9911
9912 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9913
9914         * buffer.C (asciiParagraph): avoid outputing a word twice after
9915         an inset.
9916
9917         * lyxrc.C (getDescription): document that document_path and
9918         template_path can be empty.
9919
9920 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9921
9922         * LaTeXFeatures.C (getMacros):
9923         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9924
9925         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9926
9927         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9928         getPackages.
9929         (getPackages): rename feature "floats" to "float". Use an array to
9930         iterate over 'simple' features (i.e. just a \usepackage). Add
9931         handling of "amsmath" (renamed from "amsstyle").
9932
9933 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9934
9935         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9936         features list.
9937
9938 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9939
9940         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9941         FuncStaus::FuncStatus & FuncStaus::some_method().
9942
9943 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9944
9945         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9946         of the func_satus stuff. Edited and massaged in various ways by
9947         JMarc.
9948
9949         * lyxfunc.C (getStatus): use FuncStatus
9950
9951 2002-01-08  Juergen Vigna  <jug@sad.it>
9952
9953         * text.C (nextBreakPoint): use function Inset::isChar().
9954
9955         * paragraph.C (TeXOnePar): use function
9956         Inset::forceDefaultParagraphs.
9957
9958         * buffer.C (latexParagraphs): use function
9959         Inset::forceDefaultParagraphs.
9960
9961 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9962
9963         * lyx_gui.C (init): set the style of the menu popups to
9964         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9965
9966 2002-01-07  Juergen Vigna  <jug@sad.it>
9967
9968         * text.C (setHeightOfRow): small fix
9969         (prepareToPrint): don't look at alignment if we don't have the place
9970         for doing it.
9971
9972 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9973
9974         * box.C: New file. Move the Box methods and functions out of box.h,
9975         following Lars' suggestion.
9976
9977 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9978
9979         * box.h: #include "support/LOstream.h", needed for inlined function.
9980
9981         * lyxtextclass.C:
9982         * lyxtextclasslist.C: added some using std declarations.
9983
9984 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9985
9986         * box.h: make signed dimensions to allow insets wider than
9987           the screen (bug #162)
9988
9989         * BufferView_pimpl.C: add some insetHit debug
9990
9991 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9992
9993         * vc-backend.C: add FIXME
9994
9995 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9996
9997         * lyxfunc.C (getStatus): enable code for showing math font status
9998         in toolbar/menu.
9999
10000 2002-01-07  Juergen Vigna  <jug@sad.it>
10001
10002         * text.C (nextBreakPoint): removed debug output not needed anymore.
10003
10004 2002-01-06  Juergen Vigna  <jug@sad.it>
10005
10006         * text.C (nextBreakPoint): fixed up this function we had this bug
10007         since ever but now hopefully we break row better.
10008         (insertChar): we have to check if an inset is the next char as it
10009         could now happen that a large inset is causing a break.
10010
10011 2002-01-05  Juergen Vigna  <jug@sad.it>
10012
10013         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10014         if it doesn't like to be drawed.
10015
10016 2002-01-04  Juergen Vigna  <jug@sad.it>
10017
10018         * BufferView2.C (lockInset): forgot to set a cursor.
10019
10020         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10021
10022 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10023
10024         * FormMathsPanel.C:
10025         * FormMathsPanel.h
10026         * MathsSymbols.C:
10027         * form_maths_panel.C:
10028         * form_maths_panel.h:
10029         * form_maths_panel.fd: implemented sub- and super- buttons in math
10030         panel.
10031
10032         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10033         (or ^ space) to be used as in TeX (req'd by André).
10034
10035         * lyxfunc.C: Allow ^ and _ again to be used both as
10036         super/subscript (mathed) and as themselves (in text).
10037
10038 2002-01-03  Allan Rae  <rae@lyx.org>
10039
10040         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10041         "LyX" or the filename of the current buffer if it has one.  This is a
10042         modified form of John Levon's patch.
10043
10044         * XFormsView.C (setWindowTitle): also set icon title.
10045
10046         * LyXView.h (setWindowTitle): signature changed.
10047         * XFormsView.h (setWindowTitle): ditto.
10048
10049 2002-01-02  Juergen Vigna  <jug@sad.it>
10050
10051         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10052
10053 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10054
10055         * screen.C (topCursorVisible): introduce a temp var for
10056         text->cursor.row(), handle the case where this row is null. (kindo
10057         hachish)
10058
10059         * text2.C (setCursor): add a couple of asserts.
10060
10061         * paragraph.h (inset_iterator): add -> operator
10062
10063         * paragraph.[Ch] (autoDeleteInsets): remove member function
10064
10065         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10066         cursor pos correctly and handle inset deletion by itself.
10067         (insertErrors): move iterator declaration out of for expression
10068
10069         * lyxtextclass.C: add <algorithm>
10070
10071         * Makefile.am: added the new files to sources, removed layout.C
10072
10073         * layout.C: removed file
10074
10075         * layout.h: remove LYX_DUMMY_LAYOUT
10076
10077         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10078         layout.
10079
10080         * lyxlayout.[Ch]:
10081         * lyxtextclass.[Ch]:
10082         * lyxtextclasslist.[Ch]: new files
10083
10084         * include order changes to a lot of files, also changes because of
10085         the six new files.
10086
10087 2001-12-27  Juergen Vigna  <jug@sad.it>
10088
10089         * buffer.C (asciiParagraph): more fixes.
10090
10091         * tabular.C (ascii): make ascii export support export of only the
10092         data separated by a column-delimiter.
10093         (ascii): better support for ascii export.
10094
10095         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10096
10097 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10098
10099         * tabular_funcs.C: use a "using std::getline" instead of the
10100         previous fix from Angus (necessary for cxx + lyxstring)
10101
10102 2001-12-24  Juergen Vigna  <jug@sad.it>
10103
10104         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10105
10106         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10107         problems. First check a minipage also if we have some ert-contents
10108         (not only on par->size(), second set the right depth of the paragraph
10109         on the relink to the root-paragraph-list!
10110
10111         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10112         which then did not anymore update the main paragraphs on undo/redo!
10113
10114 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10115
10116         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10117         code. Support all font-changing funcs (even those which are not in
10118         menu currently). Support for reporting font settings in
10119         mathed (disabled until Andre provides a function on mathed's side).
10120
10121         * func_status.h (toggle): small helper function to set toggle
10122         state on a flag.
10123
10124 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10125
10126         * tabular_funcs.C: getline -> std::getline
10127
10128 2001-12-21  Juergen Vigna  <jug@sad.it>
10129
10130         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10131         accessed and could be 0 (I couldn't generate this but it seems
10132         Michael could!).
10133
10134 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10135
10136         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10137         * tabular_funcs.h: here and include iosfwd
10138
10139 2001-12-20  Juergen Vigna  <jug@sad.it>
10140
10141         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10142         inside inset but undo_par was.
10143
10144 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10145
10146         * Thesaurus.C: always include <config.h> in sources.
10147
10148         * Painter.h:
10149         * lyxlookup.h:
10150         * box.h: do not include <config.h> in header files
10151
10152         * text.C (paintLastRow): remove unused variable
10153
10154         * text.C (transformChar):
10155         (insertChar):
10156         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10157
10158         * Painter.C (text):
10159         * font.C (width): rewrite to use uppercase() instead of
10160         islower/toupper.
10161
10162         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10163
10164 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10165
10166         * lyxfind.C: clean up of find failure position change
10167
10168 2001-12-20  Juergen Vigna  <jug@sad.it>
10169
10170         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10171
10172         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10173         (TeXRow): added to LaTeX a single tabular row.
10174         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10175         (Latex): simplified and finally good LT-h/f support.
10176         (various_functions): just small adaptions for LT-h/f support.
10177
10178         * tabular_funcs.[hC]: added and moved here all not classfunctions
10179         of LyXTabular.
10180
10181 2001-12-19  Juergen Vigna  <jug@sad.it>
10182
10183         * tabular.[Ch]: better support for longtabular options (not finished
10184         yet!)
10185
10186 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10187
10188         * text.C (paintLastRow): use the label font instead of the font of
10189         the last character to compute the size of *_BOX. This makes more
10190         sense and avoids a crash with empty paragraphs.
10191         Use Painter::rectangle to draw EMPTY_BOX.
10192
10193 2001-12-19  Juergen Vigna  <jug@sad.it>
10194
10195         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10196         the paragraphs if the replaced paragraph is not the first one!
10197         Tried to delete not used paragraphs but does not work yet so for
10198         now it's inside #ifdef's and by default off!
10199
10200 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10201
10202         * MenuBackend.C: include "lyx_main.h" instead of declaring
10203         lastfiles (actually was declared as LastFiles* instead of a
10204         scoped_ptr).
10205
10206 2001-12-17  Juergen Vigna  <jug@sad.it>
10207
10208         * tabular.C (AppendColumn): applied John's fix
10209
10210 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10211
10212         * BufferView.h:
10213         * BufferView.C:
10214         * BufferView_pimpl.h:
10215         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10216
10217         * Makefile.am:
10218         * box.h: new start of class for above
10219
10220         * lyxfunc.C: ignore space-only minibuffer dispatches.
10221           Show the command name when it doesn't exist
10222
10223         * minibuffer.C: don't add empty lines to the history
10224
10225         * minibuffer.C: add a space on dropdown completion
10226
10227 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10228
10229         * text.C: fix line above/below drawing in insets
10230
10231 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10232
10233         * lyxlength.C (LyXLength): Initialize private variables.
10234
10235 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10236
10237         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10238         when inserting error insets.
10239
10240 2001-12-13  Juergen Vigna  <jug@sad.it>
10241
10242         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10243         actually sometimes the before-paragraph.
10244         (setUndo): don't clear the redostack if we're not actually undoing!
10245
10246 2001-12-06  Juergen Vigna  <jug@sad.it>
10247
10248         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10249         and fixed redoing of main paragraph, so we can use it now ;)
10250
10251         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10252
10253 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10254
10255         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10256         Juergen's request
10257
10258 2001-12-13  André Pönitz <poenitz@gmx.net>
10259
10260         * undostack.[Ch]:
10261         * undo_func.C: minor cleanup
10262
10263 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10264
10265         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10266         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10267         font in urw-fonts package which is marked as -urw-fontspecific and
10268         does not work (incidentally, changing the encoding in the
10269         fonts.dir of this package to -adobe-fontspecific fixes the
10270         problem).
10271
10272         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10273         is a crash when undoing first paragraph (Juergen, please take a
10274         look). THis does not mean the undo fix is wrong, just that it
10275         uncovers problems.
10276
10277         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10278         the (Paragraph*) version when needed instead of duplicating the
10279         code.
10280
10281         * text.C (workWidth): use Inset::parOwner to find out where the
10282         inset has been inserted. This is a huge performance gain for large
10283         documents with lots of insets. If Inset::parOwner is not set, fall
10284         back on the brute force method
10285
10286         * paragraph_pimpl.C (insertInset):
10287         * paragraph.C (Paragraph):
10288         (cutIntoMinibuffer): set parOwner of insets when
10289         inserting/removing them
10290
10291         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10292
10293 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10294
10295         * commandtags.h:
10296         * LyXAction.C:
10297         * lyx_main.C:
10298         * lyxfunc.C:
10299         * mathed/formulabase.C:
10300         * mathed/math_cursor.[Ch]:
10301         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10302
10303
10304 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10305
10306         * lyxlength.[Ch] (operator!=): new function
10307
10308 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10309
10310         * text.C (workWidth): use Inset::parOwner to find out where the
10311         inset has been inserted. This is a huge performance gain for large
10312         documents with lots of insets. If Inset::parOwner is not set, fall
10313         back on the brute force method
10314
10315         * paragraph_pimpl.C (insertInset):
10316         * paragraph.C (Paragraph):
10317         (cutIntoMinibuffer): set parOwner of insets when
10318         inserting/removing them
10319
10320         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10321
10322 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10323
10324         * tabular-old.C (getTokenValue):
10325         * tabular.C (getTokenValue):
10326         (write_attribute): new versions for LyXLength
10327         (everywhere): adjust the use of widths
10328
10329         * tabular.h: change the type of widths from string to LyXLength
10330
10331 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10332
10333         * paragraph.C: fixed missing line number count when exporting
10334         Environments to LaTeX file
10335
10336         * buffer.C: added informational message for checking line numbers.
10337
10338 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10339
10340         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10341         paragraph, do the 'double space' part, but not the 'empty
10342         paragraph' one.
10343
10344         * text.C (workWidth): small optimization
10345         (getLengthMarkerHeight): use minimal size for negative lengths.
10346
10347 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10348
10349         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10350
10351         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10352
10353 2001-12-11  André Pönitz <poenitz@gmx.net>
10354
10355         * FontLoader.C:
10356         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10357
10358 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10359
10360         * text2.C: keep selection on a setFont()
10361
10362 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10363
10364         * lyx_cb.C: another bv->text misuse, from insert label
10365
10366 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10367
10368         * kbsequence.h:
10369         * kbsequence.C: re-instate nmodifier mask
10370
10371 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10372
10373         * lyx_main.h: make lyxGUI private.
10374
10375 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10376
10377         * lyxfind.C: place the cursor correctly on failed search
10378
10379 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10380
10381         * text.C (getLengthMarkerHeight): for small heights, the arrows
10382         are not always on top/bottom of the text
10383         (drawLengthMarker): smaller arrows; take the left margin in
10384         account; draw also vfills.
10385         (paintFirstRow):
10386         (paintLastRow): remove special code for vfill and standard spaces,
10387         since everything is handled in drawLengthMarker now.
10388
10389 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10390
10391         * buffer.C (insertErtContents): try to handle font and language
10392         interaction a bit better.g
10393
10394         * ColorHandler.C (updateColor): change the hash to cover the whole
10395         LColor enum, ws cleanup
10396         (getGCLinepars): ditto
10397         (getGCLinepars): only lookup in the linecache once.
10398
10399 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10400
10401         * iterators.C (operator++): Make the iterator more robust
10402
10403         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10404         (John's patch)
10405         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10406
10407 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10408
10409         * lyxtext.h:
10410         * text.C: better added space drawing
10411
10412 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10413
10414         * LyXView.C:
10415         * BufferView2.C: fix layout combo update on inset unlock
10416
10417 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10418
10419         * Makefile.am: don't compile unused files
10420
10421 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10422
10423         * lyxfunc.C:
10424         * commandtags.h:
10425         * LyXAction.C: remove old LFUN_LAYOUTNO
10426
10427 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10428
10429         * paragraph_pimpl.h:
10430         * paragraph_pimpl.C: isTextAt() doesn't need font param
10431
10432 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10433
10434         * lyxlex.h:
10435         * lyxlex.C: little cleanup
10436
10437 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10438
10439         * BufferView_pimpl.C: fix insertAscii for insets
10440
10441 2001-12-05  Juergen Vigna  <jug@sad.it>
10442
10443         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10444         set the right font on the "multi" paragraph paste!
10445
10446 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10447
10448         * trans_decl.h:
10449         * trans_mgr.[Ch]:
10450         * trans.[Ch]:
10451         * lyxgluelength.C:
10452         * lyxlength.C: remove out-commented code.
10453
10454         * BufferView_pimpl:
10455         * CutAndPaste.C:
10456         * DepTable.C:
10457         * buffer.C:
10458         * chset.C:
10459         * lastfiles.C:
10460         * lyxlex.C:
10461         * lyxlex_pimpl.C:
10462         * lyxserver.C:
10463         * screen.C:
10464         * tabular-old.C:
10465         * tabular.C:
10466         * text.C:
10467         * trans_mgr.C:
10468         * vc-backend.C: change "while(" to "while ("
10469
10470         * lyxlength.[Ch]: add zero function to check if length is zero or
10471         not
10472         * lyxgluelength.C: use it
10473
10474 2001-12-05  Allan Rae  <rae@lyx.org>
10475
10476         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10477         Works for 2.95.3, from what I understand of Garst's reports this should
10478         work for other g++ versions.  We're screwed if the abs(int) definition
10479         changed between bugfix releases of gcc.
10480
10481 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10482
10483         * text.C: fix chapter label offset !
10484
10485 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10486
10487         * lyxtext.h:
10488         * text.C: fix hfill at end of line, clean up
10489
10490 2001-12-04  Juergen Vigna  <jug@sad.it>
10491
10492         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10493         that we force an update of the inset and it's owners if neccessary.
10494
10495 2001-12-03  Juergen Vigna  <jug@sad.it>
10496
10497         * text.C (rowLast): simplified code
10498
10499 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10500
10501         * lyxfunc.C: fix show options on timeout
10502
10503 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10504
10505         * screen.C (topCursorVisible): scroll half a page when the cursor
10506         reached top of bottom of screen
10507
10508 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10509
10510         * minibuffer.C: deactivate on loss of focus
10511
10512 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10513
10514         * vspace.[Ch] (operator!=): add operator.
10515
10516 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10517
10518         * BufferView_pimpl.C: refuse to open an inset when
10519         there's a selection.
10520
10521 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10522
10523         * BufferView_pimpl.C: allow to click on RHS of full row insets
10524
10525 2001-11-30  Juergen Vigna  <jug@sad.it>
10526
10527         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10528         insets for undo reasons.
10529
10530 2001-11-28  André Pönitz <poenitz@gmx.net>
10531
10532         * vspace.[Ch]: cosmetical changes
10533
10534 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10535
10536         * LyXAction.h:
10537         * LyXAction.C:
10538         * lyxfunc.h:
10539         * lyxfunc.C:
10540         * kbmap.h:
10541         * kbmap.C:
10542         * lyxrc.C:
10543         * kbsequence.h:
10544         * kbsequence.C: part re-write of old kb code
10545
10546         * Painter.C:
10547         * WorkArea.C: remove Lgb_bug_find_hack
10548
10549 2001-11-30  José Matos <jamatos@fep.up.pt>
10550
10551         * buffer.C (makeDocBookFile): add a comment to point a hack.
10552         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10553         Fixed a double write of labels.
10554
10555 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10556
10557         * LaTeX.C:
10558         * LaTeX.h Fixed bug in LaTeX class where it would not
10559         re-run latex if no depfiles were changed, but the .dvi was removed.
10560
10561 2001-11-28  André Pönitz <poenitz@gmx.net>
10562
10563         * all the files from the change on 2001/11/26:
10564         use lyx::layout_type instead of LyXTextClass::size_type
10565         use lyx::textclass_type instead of LyXTextClassList::size_type
10566
10567 2001-11-29  Juergen Vigna  <jug@sad.it>
10568
10569         * text.C: added support for paragraph::isFreeSpacing()
10570
10571         * buffer.C: same as above
10572
10573         * paragraph.h: inserted isFreeSpacing() function to enable
10574         FreeSpacing inside InsetERT.
10575
10576         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10577         of the paragraph's in the cut/copy buffer to 0!
10578
10579         * text2.C (removeRow): remove the assert as it can!
10580
10581         * lyxtext.h: added helper function firstRow returning firstrow and
10582         made firstrow private again.
10583
10584         * BufferView2.C (lockInset): don't relock if we're already locked!
10585
10586         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10587         the only paragraph.
10588         (removeRow): added Assert::(firstrow)
10589
10590         * debug.C: forgot to add INSETTEXT here.
10591
10592 2001-11-28  Juergen Vigna  <jug@sad.it>
10593
10594         * sp_spell.C (initialize): changed error text to more general
10595         spellchecker command use (not only ispell!)
10596
10597         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10598
10599         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10600
10601 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10602
10603         * vspace.C: initialise lyxgluelength on failure
10604
10605 2001-11-28  Allan Rae  <rae@lyx.org>
10606
10607         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10608         declaration & definition that looks like a function declaration.
10609
10610 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10611
10612         * BufferView2.C (copy):
10613         (copyEnvironment): do not clear the selection when doing a copy.
10614
10615         * text.C (paintFirstRow): compilation fix
10616
10617 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10618
10619         * tabular.C (Latex): correct line count when writing latex.
10620
10621 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10622
10623         * paragraph_pimpl.h:
10624         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10625           bug a bit
10626
10627 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10628
10629         * text.C:
10630         * LColor.h:
10631         * LColor.C: change vfillline->added_space
10632
10633         * text.C: add markers and text for added space
10634
10635         * vspace.C: fix comment
10636
10637 2001-11-28  André Pönitz <poenitz@gmx.net>
10638
10639         * paragraph.C: whitespace changes
10640         * all the other files from the change on 2001/11/26:
10641         change *::pos_type into lyx::pos_type
10642
10643 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10644
10645         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10646         language of the document when inserting error insets.
10647
10648 2001-11-26  André Pönitz <poenitz@gmx.net>
10649
10650         * BufferView_pimpl.[Ch]:
10651         *       CutAndPaste.C:
10652         * buffer.[Ch]:
10653         * lyxcursor.[Ch]:
10654         * lyxfind.C:
10655         * lyxfunc.C:
10656         * lyxrow.[Ch]:
10657         * paragraph.[Ch]:
10658         * paragraph_pimpl.[Ch]:
10659         * sp_spell.C:
10660         * text.C:
10661         * text2.C: reduce header dependencies, introduce type for positions
10662
10663 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10664
10665         * <various>: change to use Alert.h
10666
10667 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10668
10669         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10670         when encountering an unknown token.
10671         (readLyXformat2): Show an error message if there were unknown tokens.
10672
10673 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10674
10675         * BufferView2.C:
10676         * BufferView_pimpl.C:
10677         * buffer.C:
10678         * paragraph.h:
10679         * text.C:
10680         * text2.C: use par->isInset()
10681
10682 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10683
10684         * paragraph_pimpl.h:
10685         * paragraph_pimpl.C: cleanup
10686
10687 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10688
10689         * text2.C (removeRow):
10690         * text.C (setHeightOfRow): remove useless (and costly) call to
10691         getRow.
10692
10693 2001-11-20  Allan Rae  <rae@lyx.org>
10694
10695         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10696         Now need Inset*::checkInsertChar() to return true for appropriate
10697         cases so that the characters in the minibuffer will actually be
10698         inserted.
10699
10700 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10701
10702         * text.C: change the order of the includes.
10703         (workWidth): initialize it at once.
10704         (workWidth): make maxw unsigned
10705         (setHeightOfRow): remove unused variable (inset)
10706         (selectSelectedWord): remove unused variable (inset)
10707         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10708
10709 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10710
10711         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10712         server is not running.
10713         (openConnection):
10714         (closeConnection): add debug info when server is disabled.
10715
10716         * ColorHandler.C (getGCForeground): send debug message to GUI
10717         channel.
10718
10719         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10720
10721         * kbmap.C (bind): modify because return conventions of
10722         kb_sequence::parse have changed.
10723
10724         * kbsequence.C (parse): only ignore spaces and not any stupid
10725         control character. This avoids tests like s[i] <= ' ', which are
10726         guaranteed to fail with 8bit characters and signed chars.
10727         Change return code to string::npos when there have been no error
10728         (0 was a bad idea when error is at first character)
10729
10730 2001-11-14  José Matos  <jamatos@fep.up.pt>
10731
10732         * buffer.h:
10733         * buffer.C (simpleDocBookOnePar): removed unused argument.
10734
10735 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10736
10737         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10738         insets which are part of a word. Paragraph::isLetter takes care of
10739         that now. Use Paragraph::isInset to identify insets.
10740         (selectSelectedWord): do not test for hyphenation break.
10741
10742         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10743         that protected spaces are considered as spaces.
10744
10745         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10746         Inset::isLetter.
10747
10748 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10749
10750         * lyxserver.h:
10751         * lyxserver.C: fix it. and small cleanup.
10752
10753 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10754
10755         * BufferView_pimpl.C: use inline helpers
10756
10757         * LaTeXFeatures.h:
10758         * LaTeXFeatures.C: fix typos
10759
10760         * Spacing.h:
10761         * Spacing.C: move spacing_string into class
10762
10763         * ToolbarDefaults.C: move stuff into namespace anon
10764
10765         * layout.h: update enum
10766
10767         * lyxfunc.C: use better debug
10768
10769         * minibuffer.h: fix typo
10770
10771         * debug.h:
10772         * debug.C:
10773         * WorkArea.C: add and use Debug::WORKAREA
10774
10775         * lyxtext.h:
10776         * text.C:
10777         * text2.C: code re-organisation, inline helpers
10778
10779 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10780
10781         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10782         std::vector.empty().
10783
10784 2001-11-09  Allan Rae  <rae@lyx.org>
10785
10786         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10787         '\n's after tables.  Tabular and ERT inset work now makes this no
10788         longer necessary.
10789
10790 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10791
10792         * minibuffer.h:
10793         * minibuffer.C: fix crash, improve drop-down completion
10794
10795 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10796
10797         * lyxserver.h:
10798         * lyxserver.C: invalidate fd's when doing endPipe()
10799
10800 2001-11-08  José Matos  <jamatos@fep.up.pt>
10801
10802         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10803         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10804
10805         * paragraph.h:
10806         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10807
10808 2001-11-07  José Matos  <jamatos@fep.up.pt>
10809
10810         * buffer.h:
10811         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10812         const qualifier.
10813
10814         * buffer.C (sgmlOpenTag):
10815         * buffer.C (sgmlCloseTag): removed debug info.
10816
10817         * buffer.h (sgmlOpenTag):
10818         * buffer.h (sgmlCloseTag): made public.
10819
10820 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10821
10822         * buffer.C (saveParamsAsDefaults):
10823         * lyx_cb.C (MenuLayoutSave): remove
10824
10825         * LyXAction.C (init):
10826         * commandtags.h:
10827         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10828
10829 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10830
10831         * buffer.C (setPaperStuff): removed from here...
10832
10833         * bufferparams.C (setPaperStuff): ... and moved there.
10834
10835 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10836
10837         * minibuffer.h:
10838         * minibuffer.C:
10839         * XFormsView.C: add support for drop-down completion
10840
10841 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10842
10843         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10844         commands.
10845
10846 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10847
10848         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10849         disabled.
10850
10851 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10852
10853         * lyx_main.C: change ref to known bugs
10854
10855 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10856
10857         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10858         to work around older babel problems.
10859
10860 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10861
10862         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10863
10864 2001-10-24  Juergen Vigna  <jug@sad.it>
10865
10866         * tabular-old.C (ReadOld): below variable changes reflected.
10867
10868         * tabular.[Ch]: added ltType struct for longtable header/footer
10869         defines and changed all instances where they are used. Added
10870         future support for double top/bottom rows.
10871
10872 2001-10-24  José Matos  <jamatos@fep.up.pt>
10873
10874         * buffer.h (docbookHandleCaption):
10875         * buffer.C (docbookHandleCaption): removed unused function.
10876         (makeDocBookFile): moved docbook supported version to v4.1.
10877
10878 2001-10-24  José Matos  <jamatos@fep.up.pt>
10879
10880         * tabular.h:
10881         * tabular.C (docbookRow): new function to export docbook code of a row.
10882         (DocBook): now honors the longtable flags.
10883
10884 2001-10-23  José Matos  <jamatos@fep.up.pt>
10885
10886         * LaTeXFeatures.h:
10887         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10888         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10889
10890         * buffer.C (makeLinuxDocFile):
10891         (makeDocBookFile): reworked the preamble, more clean, and with
10892         support for lyx defined entities. Changed the document declaration
10893         to be more XML friendly.
10894
10895         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10896         if we need to output XML that should be done with a filter.
10897
10898 2001-10-22  Juergen Vigna  <jug@sad.it>
10899
10900         * sp_pspell.h (class PSpell): add alive function needed in the
10901         controller to see if the spellchecker could be started.
10902
10903 2001-10-22  Juergen Vigna  <jug@sad.it>
10904
10905         * buffer.C (insertStringAsLines): modify the font for inserting
10906         chars in certain conditions by calling checkInsertChar(font).
10907
10908 2001-10-19  Juergen Vigna  <jug@sad.it>
10909
10910         * text.C (workWidth): use getRow instead of wrong algorithm.
10911         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10912
10913 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10914
10915         * lyxserver.h:
10916         * lyxserver.C:
10917         * lyx_main.h:
10918         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10919
10920 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10921
10922         * text.C (workWidth): do not search for the exact row when
10923         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10924         optimization for big documents.
10925
10926 2001-10-18  Juergen Vigna  <jug@sad.it>
10927
10928         * text.C (workWidth): new function with added Inset * parameter.
10929
10930 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10931
10932         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10933
10934         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10935         change return type of getColumnNearX.
10936
10937
10938         * text.C (changeRegionCase): use uppercase/lowercase instead of
10939         toupper/tolower.
10940         (leftMargin):
10941         (rightMargin): simplify code by factoring out the uses of
10942         textclasslist.
10943         (labelFill):
10944         (numberOfHfills):
10945         (setHeightOfRow):
10946         (appendParagraph): use Paragraph::size_type
10947
10948 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10949
10950         * vspace.C (asLatexString): add a missing break
10951
10952 2001-10-15  Herbert Voss  <voss@perce.de>
10953
10954         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10955
10956 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10957
10958         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10959         is not available.
10960
10961 2001-10-10  André Pönitz <poenitz@gmx.net>
10962
10963         * lyxfunc.C: removed greek_kb_flag.
10964
10965 2001-10-10  Herbert Voss  <voss@perce.de>
10966
10967         * lyx_main.C: delete global string help_lyxdir.
10968
10969 2001-10-09  Herbert Voss  <voss@perce.de>
10970
10971         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10972
10973         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10974
10975         * lyx_main.C: added global string help_lyxdir.
10976
10977         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10978
10979 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10980
10981         * lyxrc.C (set_font_norm_type): support iso8859-4
10982
10983 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10984
10985         * LaTeX.C (deplog): add another regex for MikTeX
10986
10987 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10988
10989         * lyxrc.C (set_font_norm_type): support iso8859-3
10990
10991 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10992
10993         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10994
10995         * LaTeXFeatures.C: remove special case of french and index
10996
10997         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10998         before \begin{document}). This solves several incompatibilities.
10999
11000 2001-10-03  Garst Reese  <reese@isn.net>
11001
11002         * lyx_cb.C: change CheckTex error msg.
11003
11004 2001-10-03  José Matos  <jamatos@fep.up.pt>
11005
11006         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11007
11008 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11009
11010         * .cvsignore: update
11011
11012         * lyx_main.C (commandLineVersionInfo): use new style version info.
11013
11014         * buffer.C (writeFile):
11015         (makeLaTeXFile):
11016         (makeLinuxDocFile):
11017         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11018
11019         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11020
11021         * version.h: update to use stuff in version.C
11022
11023         * version.C.in: new file. Contains version information determined
11024         at compile time. This is a merging of version.h and
11025         version_info.h.in.
11026
11027 2001-10-03  Juergen Vigna  <jug@sad.it>
11028
11029         * BufferView_pimpl.C (update): don't change "dirty" status in
11030         updateInset call.
11031
11032 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11033
11034         * WorkArea.C (c-tor): re-position version string slightly.
11035
11036 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11037
11038         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11039         revert to previous code.
11040
11041         WorkArea.[Ch]: (show, destroySplash): methods removed.
11042
11043         WorkArea.C: rework code so that it's an amalgam of the codes before and
11044         after the splash screen was moved to WorkArea.
11045
11046 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11047
11048         * lyxrc.C (read):
11049         * vspace.C (inPixels):
11050         (lyx_advance):
11051         * kbmap.C (bind):
11052         * buffer.C (insertStringAsLines):
11053         (asciiParagraph): fix types to be large enough
11054
11055         * lyxlex_pimpl.h: change member status from short to int
11056
11057         * layout.h: fix type of endlabeltype
11058
11059         * kbmap.C (bind):
11060         * kbsequence.C (parse): change return type to string::size_type
11061
11062         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11063         variable
11064
11065         * Bullet.C (bulletSize):
11066         (bulletEntry): do not use short ints as parameters
11067
11068         * BufferView2.C (insertLyXFile): change a char to an int.
11069
11070         * WorkArea.C (WorkArea): remove unneeded floats in computation
11071
11072 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11073
11074         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11075
11076         * paragraph.C (asString): Do not ignore newline/hfill chars when
11077         copying to the clipboard.
11078
11079 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11080
11081         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11082         after a multi-line inset.
11083
11084 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11085
11086         * paragraph.C (validate): Set NeedLyXFootnoteCode
11087
11088 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11089
11090         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11091         and decrease-error to decrease.
11092
11093 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11094
11095         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11096         it more readable (should be equivalent)
11097
11098 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11099
11100         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11101
11102 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11103
11104         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11105         of a cursor (row, etc.) after a character has been deleted
11106         (deleteEmptyParagraphMechanism): call the method above on _all_
11107         cursors held by the LyXText when a double space has been
11108         detected/deleted.
11109
11110 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11111
11112         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11113         pixmap.
11114         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11115
11116         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11117         background. Use greyOut() and the new show() methods to toggle between
11118         the foreground and background. Add code to remove the splash after
11119         its initial showing.
11120
11121         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11122         (create_forms): no longer call Dialogs::showSplash.
11123
11124 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11125
11126         * .cvsignore: add version_info.h
11127
11128 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11129
11130         * version_info.h.in: new file
11131
11132         * Makefile.am: add version_info.h.in
11133
11134         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11135         version_info.h instead of VERSION_INFO
11136
11137 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11138
11139         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11140         The ERT inset now returns string().
11141
11142 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11143
11144         * lyxtext.h, text.C (selectNextWord): renamed as
11145         selectNextWordToSpellcheck.
11146
11147         * text.C (selectNextWordToSpellcheck): Modified to not select
11148         words inside an ERT inset.
11149
11150 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11151
11152         * lyx_cb.C (MenuLayoutSave): change a bit the question
11153
11154         * sp_base.h: include <sys/types.h>
11155
11156 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11157
11158         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11159
11160 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11161
11162         * several files: fix typos in user-visible strings
11163
11164 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11165
11166         * text2.C (pasteSelection): do not set the selection, since it
11167         will be cleared later. Actually, the intent was to fix the way the
11168         selection was set, but I figured rmoving the code was just as good.
11169
11170 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11171
11172         * FontLoader.C (available): Check if font is available without
11173         loading the font.
11174
11175 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11176
11177         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11178
11179 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11180
11181         * lyxrc.[Ch]: added display_graphics variable and associated code.
11182
11183 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11184
11185         * bufferparams.C (hasClassDefaults): new method. Returns true if
11186         the buffer parameters correspond to known class defaults
11187
11188 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11189
11190         * XFormsView.C (show): set minimum size to the main window.
11191
11192 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11193
11194         * text2.C (copySelection):
11195         (cutSelection):
11196         * lyxfind.C (LyXReplace):
11197         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11198         LyXText::selectionAsString.
11199
11200         * paragraph.C (asString): add "label" argument to the second form
11201
11202         * text2.C (selectionAsString): add "label" argument and pass it to
11203         Paragraph::asString.
11204
11205 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11206
11207         * lyx_main.C (commandLineHelp): remove version information
11208
11209 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11210
11211         * lyx_main.C: add -version commandline option
11212
11213 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11214
11215         * paragraph.h: make the optional constructor arg required instead.
11216         some modifications to other files because of this.
11217
11218         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11219
11220         * lyxserver.C (C_LyXComm_callback): make it static
11221
11222         * lyx_main.C (error_handler): make it static
11223
11224         * lyx_gui.C (LyX_XErrHandler): make it static
11225
11226         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11227
11228         * WorkArea.C: make the extern "C" methods static.
11229
11230         * Makefile.am (lyx_LDADD): simplify
11231
11232 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11233
11234         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11235         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11236
11237         * LyXAction.C (init):
11238         * lyxfunc.C (dispatch): associated code removal.
11239
11240 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11241
11242         * lyxfont.h (isSymbolFont): shut off warning
11243
11244         * text.C (setHeightOfRow):
11245         (getVisibleRow): fix crash with empty paragraphs which have a
11246         bottom line
11247
11248 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11249
11250         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11251         code.
11252
11253 2001-09-04  José Matos  <jamatos@fep.up.pt>
11254         * buffer.C
11255         * buffer.h
11256         * tabular.C (docbook): rename docBook method to docbook.
11257
11258 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11259
11260         * Makefile.am: add dependencies to main.o.
11261
11262 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11263
11264         * FontLoader.C (available): Return false if !lyxrc.use_gui
11265
11266 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11267
11268         * FontInfo.C (query):
11269         * converter.C (view):
11270         * importer.C (Import):
11271         * exporter.C (Export): Can not -> cannot.
11272
11273 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11274
11275         * BufferView_pimpl.C: allow to create index inset even if
11276           string is empty
11277
11278 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11279
11280         * buffer.C (getLists): replace boost::tie code with an explicit pair
11281         as boost::tie can break some compilers.
11282
11283         * iterators.h: Added a std:: declaration to the return type of
11284         ParIterator::size.
11285
11286 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11287
11288         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11289           case.
11290
11291 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11292
11293         * iterators.[Ch]: New files. Provide paragraph iterators.
11294
11295         * buffer.C (changeLanguage): Use paragraph iterators.
11296         (isMultiLingual): ditto
11297
11298         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11299
11300 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11301
11302         * FontLoader.C: Support for cmr font.
11303
11304 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11305
11306         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11307         (available): New method.
11308
11309         * FontInfo.C (getFontname): Use scalable fonts even when
11310         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11311         found.
11312
11313 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11314
11315         * converter.C (Formats::view): reverted! Incorrect fix.
11316
11317 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11318
11319         * converter.C (Formats::view): only output the -paper option
11320         if the dvi viewer is xdvi, thereby fixing bug #233429.
11321
11322 2001-08-23  Herbert Voss  <voss@perce>
11323
11324         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11325
11326 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11327
11328         * Spacing.h (Spacing): Set space to Default on in the default
11329         constructor.
11330
11331 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11332
11333         * vc-backend.h (RCS::versionString): add RCS to version
11334         (CVS::versionString): add CVS to version
11335
11336         * vc-backend.C (scanMaster): do not add CVS to version.
11337         (scanMaster): do not add RCS to version
11338
11339         * lyxvc.C (versionString): new method
11340
11341         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11342
11343 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11344
11345         * Spacing.C (set): initialize fval
11346
11347 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11348
11349         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11350         " or \.
11351
11352 2001-08-16  Juergen Vigna  <jug@sad.it>
11353
11354         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11355
11356 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11357
11358         * BufferView_pimpl.C:
11359         * figureForm.C:
11360         * lyxtext.h:
11361         * text2.C: setParagraph takes linespacing now
11362
11363 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11364
11365         * LyxAction.C: add internal LFUN_CITATION_INSERT
11366
11367         * LyXView.C: actually apply fix
11368
11369         * bufferlist.C: fix open non-existent file
11370
11371         * lyxfind.C: fix indentation
11372
11373         * lyxfunc.C: remove unneeded assert, fix typo
11374
11375 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11376
11377         * MenuBackend.C: use "Floatname List"
11378
11379 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11380
11381         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11382         when converting LaTeX layout to insetERT.
11383         Generate a non-collapsed float when reading old float
11384
11385 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11386
11387         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11388         ERT insets.
11389
11390 2001-08-13  Juergen Vigna  <jug@sad.it>
11391
11392         * text.C (fill): return 0 instead of 20 as this seems to be the more
11393         correct value.
11394
11395 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11396
11397         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11398         lyxrc.font_norm.
11399
11400 2001-08-13  Juergen Vigna  <jug@sad.it>
11401
11402         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11403         casesensitive off.
11404         (SearchBackward): comment out the unlocking of the inset_owner this
11405         should not be needed!
11406
11407 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11408
11409         * Many files: Remove inherit_language, and add latex_language
11410
11411         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11412         collapsible insets.
11413
11414 2001-08-10  Juergen Vigna  <jug@sad.it>
11415
11416         * text.C (prepareToPrint): fixed hfill-width in draw!
11417
11418         * BufferView2.C (selectLastWord): save the selection cursor as this
11419         now is cleared in the function LyXText::clearSelection!
11420
11421 2001-08-08  Juergen Vigna  <jug@sad.it>
11422
11423         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11424         BACKSPACE type functions.
11425
11426         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11427         is only cutted from the document but not put in the cut-buffer, where
11428         still the old stuff should be.
11429
11430         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11431
11432         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11433
11434         * tabular.C (SetWidthOfCell): fixed special case where the width
11435         was not updated!
11436         (LeftLine): handle '|' in align_special.
11437         (RightLine): ditto
11438         (LeftAlreadyDrawed): ditto
11439         (SetWidthOfCell): ditto
11440
11441 2001-08-07  Juergen Vigna  <jug@sad.it>
11442
11443         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11444
11445 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11446
11447         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11448         * lyxlex.[hC]: ditto
11449
11450 2001-08-06  Juergen Vigna  <jug@sad.it>
11451
11452         * text.C (getVisibleRow): fix up row clearing a bit.
11453
11454 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11455
11456         * minibuffer.C: make sure the X server sees the changes in the input.
11457
11458 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11459
11460         * paragraph.C (getFont): split into...
11461         (getLabelFont): this
11462         (getLayoutFont): and this
11463         * paragraph_pimpl.C (realizeFont): calling this
11464
11465         * text2.C (getFont): split into...
11466         (getLayoutFont): this
11467         (getLabelFont): and this
11468         (realizeFont): all three calling this
11469
11470         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11471         files where used.
11472
11473 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11474
11475         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11476
11477 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11478
11479         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11480         layouts from the Quote inset insertion.
11481
11482 2001-08-03  Juergen Vigna  <jug@sad.it>
11483
11484         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11485
11486         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11487         only if status not is already CHANGED_IN_DRAW (second level).
11488
11489         * text.C (draw): don't set the need_break_row when inside an
11490         InsetText LyXText.
11491
11492 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11493
11494         * buffer.C (parseSingleLyXformat2Token): handle more latex
11495         conversion cases.
11496
11497         * bufferview_funcs.[hC]: change function names to
11498         begin with small char, adjust other files.
11499
11500 2001-08-02  André Pönitz <poenitz@gmx.net>
11501
11502         * lyxfunc.C:
11503         BufferView_pimpl.C: remove broken special code for math-greek
11504
11505 2001-08-02  Juergen Vigna  <jug@sad.it>
11506
11507         * BufferView_pimpl.C (update): redone this function so that we
11508         update the text again if there was a CHANGE_IN_DRAW.
11509
11510         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11511         (drawFromTo): added a new internal bool which is used by draw() and
11512         redraw() function.
11513         (general): some cursor drawing problems fixed.
11514
11515 2001-08-01  Juergen Vigna  <jug@sad.it>
11516
11517         * lyxfind.C (LyXFind): fixed
11518         (SearchForward): ditto
11519         (SearchBackward): ditto
11520
11521         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11522         spurius drawing of the cursor in the main area.
11523
11524         * text2.C (status): small fix which could lead to a segfault!
11525         (clearSelection): remove unneeded BufferView param.
11526
11527 2001-08-01  André Pönitz <poenitz@gmx.net>
11528
11529         * lyxfunc.C: small change due to changed mathed interface
11530
11531 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11532
11533         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11534
11535 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11536
11537         * lyxfunc.c: fail gracefully if file doesn't exist
11538
11539         * LyXSendto.C:
11540         * buffer.C:
11541         * lyxfunc.C:
11542         * BufferView_pimpl.C: IsDirWriteable() proto changed
11543
11544         * LyXView.C: fix updateWindowTitle() to store the last title
11545
11546 2001-07-31  Juergen Vigna  <jug@sad.it>
11547
11548         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11549         the font (wrong since using of Paragraph::highestFontInRange).
11550
11551         * paragraph.C (highestFontInRange): added a default_size parameter.
11552
11553         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11554         (setHeightOfRow): reformat
11555
11556 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11557
11558         * converter.[hC] + affected files: move to (inital-char)lowercase
11559         function names.
11560
11561         * ParagraphParameters.C (ParagraphParameters): remove commented code
11562
11563         * PainterBase.[Ch]: remove commented code
11564
11565         * LaTeXFeatures.h: add "bool floats" for float.sty
11566
11567         * LaTeXFeatures.C (LaTeXFeatures): init floats
11568         (require): handle float
11569         (getPackages): do it with floats
11570
11571 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11572
11573         * BufferView_pimpl.C (Dispatch): improve handling of
11574         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11575
11576         * commandtags.h: #include lyxfont.h here temporarily to avoid
11577         keybinding bug.
11578
11579         * bufferlist.h: include LString.h here.
11580
11581 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11582
11583         * text2.C (getStringToIndex): new method.
11584
11585 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11586
11587         * *: Reduced header file dependencies all over.
11588
11589 2001-07-30  Baruch Even  <baruch@lyx.org>
11590
11591         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11592
11593 2001-07-29  Baruch Even  <baruch@lyx.org>
11594
11595         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11596
11597 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11598
11599         * ParameterStruct.h (endif): add a default constructor to make
11600         sure that all variables is initialized.
11601
11602         * ParagraphParameters.C (ParagraphParameters): adjust
11603
11604 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11605
11606         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11607         index; also, check that there is something to index, and that it
11608         does not span over several paragraphs.
11609         (doubleClick): use WHOLE_WORD_STRICT for double click.
11610
11611         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11612
11613         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11614         scheme.
11615
11616 2001-07-26  Baruch Even  <baruch@lyx.org>
11617
11618         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11619         an InsetFig figure, backwards compatible reading of old figure code.
11620
11621 2001-07-27  Juergen Vigna  <jug@sad.it>
11622
11623         * text2.C: font.realize function adaption.
11624
11625         * text.C (draw): add a warnings lyxerr text if needed.
11626
11627         * layout.C: font.realize function adaption.
11628
11629         * language.C: add inherit_language and implement it's handlings
11630
11631         * bufferview_funcs.C (StyleReset): remove language parameter from
11632         font creation (should be language_inherit now).
11633
11634         * bufferparams.C (writeFile): handle ignore_language.
11635
11636         * paragraph.C (getFontSettings): the language has to be resolved
11637         otherwise we have problems in LyXFont!
11638
11639         * lyxfont.C (lyxWriteChanges): added document_language parameter
11640         (update): removed unneeded language parameter
11641
11642         * paragraph.C (validate): fixed wrong output of color-package when
11643         using interface colors for certain fonts in certain environments,
11644         which should not seen as that on the final output.
11645
11646 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11647
11648         * BufferView_pimpl.C:
11649         * Thesaurus.h:
11650         * Thesaurus.C:
11651         * Makefile.am:
11652         * commandtags.h:
11653         * LyXAction.C: add thesaurus support
11654
11655         * lyxfind.h:
11656         * lyxfind.C: add "once" parameter, for thesaurus, to not
11657           move to the next match
11658
11659 2001-07-26  Juergen Vigna  <jug@sad.it>
11660
11661         * lyxfont.C (realize): honor ignore_language too!
11662         (resolved): ditto.
11663
11664         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11665
11666         * text.C (draw): one place more for ignore_language to not draw
11667         itself!
11668
11669 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11670
11671         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11672
11673 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11674
11675         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11676         the minipage conversion problem.
11677
11678 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11679
11680         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11681         insert an inset.
11682
11683 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11684
11685         * BufferView.h: don't forward declare WorkArea
11686
11687         * BufferView.C: don't include WorkArea.h
11688
11689 2001-07-25  André Pönitz <poenitz@gmx.net>
11690
11691         * commandtags.h:
11692         * LyXAction.C:
11693         * lyxfunc.C:  new LFUN 'math-space'
11694
11695         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11696
11697 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11698
11699         * text2.C (toggleInset): call open/close
11700
11701 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11702
11703         * lyxfunc.C (dispatch): add debug for the disabled case
11704
11705         * font.C (buttonText): make similar to rectText
11706
11707         * buffer.C (readInset): comment out parsing of insetlist and
11708         insttheorem
11709
11710         * PainterBase.C (rectText): small correction
11711
11712         * BufferView_pimpl.C: comment out insettheorem and insetlist
11713         * LyXAction.C: ditto
11714         * commandtags.h: ditto
11715
11716 2001-07-24  Juergen Vigna  <jug@sad.it>
11717
11718         * text.C (draw): honor the ignore_language.
11719
11720         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11721
11722 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11723
11724         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11725         char inset.
11726
11727 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11728
11729         * lyxtext.h: remove unused (and unimplemented) methods
11730
11731 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11732
11733         * text.C (getVisibleRow): honor background color
11734
11735         * PainterBase.h:
11736         * Painter.h: remove default color argument for fillRectangle
11737
11738         * text.C (backgroundColor): new method
11739
11740 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11741
11742         * text.C (getVisibleRow): adjust
11743
11744         * font.[Ch] (rectText): new method, metrics
11745         (buttonText): new method, metrics
11746
11747         * PainterBase.[hC]: make rectText and buttonText always draw and take
11748         fewer paramteres.
11749
11750 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11751
11752         * ToolbarDefaults.C (read):
11753         * MenuBackend.C (read): allow escaping in all strings
11754
11755         * BufferView_pimpl.C (insertAndEditInset): new method.
11756         (Dispatch): use insertAndEditInset whenever appropriate.
11757
11758         * BufferView_pimpl.C (insertNote): removed
11759
11760         * BufferView_pimpl.C (smartQuote): new method, moved from
11761         BufferView; if an insetquote cannot be inserted, insert a '"'
11762         character instead.
11763
11764         * BufferView2.C: remove insertCorrectQuote();
11765
11766         * lyxfunc.C (getStatus): Add support for all remaingin
11767         inset-insert lfuns.
11768
11769         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11770
11771         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11772         command (necessary to pass " as parameter of self-insert.
11773
11774         * text.C (selectWordWhenUnderCursor):
11775         (selectWord): add word_location parameter
11776         (selectWordWhenUnderCursor): same + remove special code for word
11777         boundary.
11778         (selectNextWord): use kind() to guess type of insetspecialchar,
11779         not latex().
11780
11781         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11782         (insertErtContents): create ert insets as collapsed.
11783         (readInset): better compatibility code for Info inset.
11784
11785 2001-07-20  Juergen Vigna  <jug@sad.it>
11786
11787         * lyxfunc.C (dispatch): use always LyXFind now!
11788
11789         * text2.C (init): add a reinit flag so that the LyXText can be
11790         reinited instead of deleted and reallocated (used in InsetText).
11791
11792         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11793
11794         * text.C: ditto
11795
11796         * text2.C: ditto
11797
11798 2001-07-18  Juergen Vigna  <jug@sad.it>
11799
11800         * text.C (selectNextWord): handle insets inside inset by calling
11801         always the bv->text functions so that we can go up the_locking_inset!
11802
11803         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11804         in strange locations when inside an inset!
11805
11806         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11807         handling to include insets.
11808
11809         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11810
11811 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11812
11813         * LyXAction.C (init):
11814         * commandtags.h:
11815         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11816         LIGATURE_BREAK, since the name is so stupid.
11817
11818 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11819
11820         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11821         InsetInfos.
11822
11823         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11824
11825         * sp_form.[Ch]: remove.
11826
11827         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11828
11829         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11830         InsetInfo.
11831
11832         * src/buffer.C (readInset): ditto.
11833
11834 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11835
11836         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11837         menuSeparator(), endOfSentenceDot(), ldots() and
11838         hyphenationPoint(), which are therefore removed.
11839         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11840
11841         * LyXAction.C (init):
11842         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11843
11844         * paragraph.C (getWord): removed.
11845
11846         * BufferView_pimpl.C (Dispatch): use last word or selection for
11847         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11848
11849         * lyx_main.C (queryUserLyXDir): do not ask before creating
11850         user_dir, except if it has been named explicitely.
11851
11852 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11853
11854         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11855         a document of zero size.
11856
11857 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11858
11859         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11860         approriately in the c-tor and in require().
11861         (getPackages): output the appropriate LaTeX for natbib support.
11862
11863         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11864         variables "use_natbib" and "use_numerical_citations" when reading the
11865         LyX file.
11866         (readInset): read the various natbib cite commands.
11867         (validate): white-space change.
11868
11869         * bufferparams.[Ch]: new variables "bool use_natbib" and
11870         "bool use_numerical_citations".
11871         (writeFile): output them in the LyX file.
11872
11873 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11874
11875         * lyxfunc.C (getStatus): add support for all the inset insertion
11876         commands.
11877
11878         * text2.C (insertInset):
11879         * paragraph.C (insetAllowed):
11880         * BufferView_pimpl.C (insertInset): update to take in account the
11881         renaming of insertInsetAllowed
11882
11883         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11884
11885         * text2.C (getInset): new method. returns inset at cursor position.
11886
11887         * BufferView_pimpl.C (Dispatch): changes because of this.
11888
11889         * LyXAction.C (init): rename open-stuff to inset-toggle.
11890
11891         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11892
11893         * text2.C (toggleInset): renamed from openStuff; use
11894         Inset::open().
11895
11896 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11897
11898         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11899
11900         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11901
11902 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11903
11904         * buffer.C (readLyXformat2): Add filename to the error dialog
11905
11906 2001-07-18  Juergen Vigna  <jug@sad.it>
11907
11908         * tabular.C (GetCellNumber): put an assert here instead of the check!
11909
11910 2001-07-17  Juergen Vigna  <jug@sad.it>
11911
11912         * BufferView_pimpl.C (toggleSelection): adapted too.
11913
11914         * text.C (selectNextWord): adapted for use with insets.
11915         (selectSelectedWord): ditto
11916
11917 2001-07-17  Juergen Vigna  <jug@sad.it>
11918
11919         * sp_spell.C (PSpell): fix initialitation order.
11920
11921 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11922
11923         * paragraph.C: spacing
11924
11925 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11926
11927         * sp_spell.C: repair language selection for pspell
11928
11929 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11930
11931         * lyxfunc.h: change more methods to begin with lower char.
11932
11933 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11934
11935         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11936         for unknown layouts.
11937
11938 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11939
11940         * buffer.C (readLyXformat2): Generate an error dialog if there are
11941         unknown layouts.
11942
11943 2001-07-16  Juergen Vigna  <jug@sad.it>
11944
11945         * sp_spell.C: always compile ISpell part.
11946
11947         * lyxrc.C: added use_pspell entry and it's handling.
11948
11949 2001-07-13  Juergen Vigna  <jug@sad.it>
11950
11951         * sp_spell.C: removed double includes.
11952
11953 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11954
11955         Consistent use of Lsstream.h:
11956         * Lsstream.h: added using std::stringstream for consistencies sake.
11957
11958         * buffer.C: removed using std::stringstream
11959
11960         * lyxfont.C (stateText):
11961         * paragraph.C (asString):
11962         * text.C (selectNextWord, selectSelectedWord):
11963         * text2.C (setCounter):
11964         * vspace.C (asString, asLatexString):
11965         std::ostringstream -> ostringstream.
11966
11967 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11968
11969         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11970         * commandtags.h: add LFUN_HELP_ABOUTLYX
11971         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11972
11973 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11974
11975         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11976         cursorToggle()
11977         * lyx_gui_misc.C: remove spellchecker
11978         * lyxfunc.C: showSpellchecker
11979         * sp_base.h: added
11980         * sp_ispell.h: added
11981         * sp_pspell.h: added
11982         * sp_spell.C: added
11983         * sp_form.[Ch]: removed
11984         * spellchecker.[Ch]: removed
11985
11986 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11987
11988         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11989         is set.
11990         (simpleTeXSpecialChars): Simply print the input character without
11991         any special translation if pass_thru is set.
11992
11993         * layout.h: Added bool pass_thru to layout class for being able to
11994         implement pass through of a paragraph for Literate Programming.
11995
11996         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11997         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11998         * layout.C (Read): add "passthru" to list of layout tags and add
11999         code to set the pass_thru boolean when it is read.
12000
12001 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12002
12003         * trans_decl.h: remove allowed from KmodInfo
12004
12005         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12006         remove allowed code
12007         (Load): adjust
12008
12009         * paragraph_pimpl.C (erase): use boost::prior
12010
12011         * Painter.C (text): use data() instead of c_str() when length is
12012         also provided.
12013         * WorkArea.C (putClipboard): ditto
12014         * font.h (width): ditto
12015
12016         * BufferView2.C: use it-> instead of (*it). for iterators
12017         * texrow.C: ditto
12018         * paragraph_pimpl.C: ditto
12019         * paragraph.C: ditto
12020         * minibuffer.C: ditto
12021         * language.C: ditto
12022         * kbmap.C: ditto
12023         * encoding.C: ditto
12024         * counters.C: ditto
12025         * converter.C: ditto
12026         * chset.C: ditto
12027         * Variables.C: ditto
12028         * TextCache.C: ditto
12029         * MenuBackend.C: ditto
12030         * LyXAction.C: ditto
12031         * LColor.C: ditto
12032         * FloatList.C: ditto
12033         * DepTable.C: ditto
12034         * ColorHandler.C (LyXColorHandler): ditto
12035
12036 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12037
12038         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12039
12040         * text2.C (openStuff): reintroduce this method (which had been
12041         nuked in NEW_INSETS frenzy).
12042
12043         * lyxfunc.C (Dispatch): when an action has not been handled, use
12044         its name in the error message, not its number.
12045
12046         * paragraph.C (inInset): change method name to begin with lowercase.
12047
12048         * undo_funcs.C:
12049         * text2.C: updates because of this.
12050
12051 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12052
12053         * ToolbarDefaults.C (add): add spaces in error message
12054
12055 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12056
12057         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12058         (readLyXformat2): rename return_par to first_par, use lyxlex's
12059         pushToken and remove the manual push handling.
12060         (parseSingleLyXformat2Token): add another ert comp. variable:
12061         in_tabular, rename return_par to first_par. handle newlines better
12062
12063 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12064
12065         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12066
12067 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12068
12069         * text2.C (getParFromID): removed
12070
12071         * buffer.C (getParFromID): new method moved form lyxtext.
12072         * BufferView2.C (insertErrors): adjust
12073         (setCursorFromRow): adjust
12074         * BufferView_pimpl.C (restorePosition): adjust
12075         * lyxfunc.C (Dispatch): adjust
12076         * undo_funcs.C (textUndo): adjust
12077         (textRedo): adjust
12078         (textHandleUndo): adjust
12079         (textHandleUndo): adjust
12080
12081 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12082
12083         * buffer.C: up' the LYX_FORMAT
12084
12085         * lyxfont.h: turn NO_LATEX on as default
12086
12087         * buffer.C (insertErtContents): new methods of tex style compability.
12088         (parseSingleLyXformat2Token): use it several places.
12089         * tabular.C (OldFormatRead): and here
12090
12091 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12092
12093         * text2.C: remove some commented code.
12094         reindent file.
12095
12096         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12097         * trans.C: changes because of the above.
12098
12099 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12100
12101         * text2.C (setCounter): Fix counters bug with bibliography layout.
12102
12103 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12104
12105         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12106         own member functions
12107         (simpleTeXSpecialChars): ditto
12108
12109 2001-07-06  Juergen Vigna  <jug@sad.it>
12110
12111         * a lot of files: changed the access to LyXText::status and the
12112         call of undo-functions.
12113
12114         * undo.[Ch]: added a inset_id to the undo informations.
12115
12116         * undo_funcs.[Ch]: added and moved here all undo functions.
12117
12118         * lyxtext.h: give the status enum a weight, made status_ a private
12119         variable and made accessor functions for it, removed the whole bunch
12120         of undo-functions as they are now in their own file, make some
12121         functions publically available. Added function ownerParagraph with
12122         int parameter.
12123
12124         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12125         made InInset() a const function, added getParFromID() function.
12126
12127         * buffer.[Ch]: added const version for inset_iterator functions,
12128         added getInsetFromID() function.
12129
12130         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12131         changed undo functions for new version.
12132
12133 2001-07-05  Juergen Vigna  <jug@sad.it>
12134
12135         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12136         unknow mechanism does not call the proper constructor but only this
12137         one also if I request the other!?
12138
12139 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12140
12141         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12142
12143         * text2.C (LyXText): use initialization lists.
12144
12145         * lyxtext.h (Selection): initialize set_ and mark_
12146         (init): remove method
12147
12148 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12149
12150         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12151
12152 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12153
12154         * screen.[Ch]: change method names to begin with lowercase
12155
12156         * BufferView_pimpl.C (updateScrollbar): simplify further and
12157         hopefully make it a bit faster.
12158
12159 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12160
12161         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12162         calling directly xforms functions.
12163
12164         * Painter.C (Painter):
12165         * lyx_cb.C (MenuWrite):
12166         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12167         fl_display.
12168
12169         * lyx_gui.C: remove bogus guiruntime extern declaration.
12170
12171 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12172
12173         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12174         in NEW_INSETS
12175         (redoDrawingOfParagraph): ditto
12176         (redoParagraphs): ditto
12177         (cutSelection): don't create a object for CutAndPaste use the
12178         static method directly
12179         (pasteSelection): ditto
12180
12181         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12182         LyXview (+ rename)
12183
12184 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12185
12186         * modifications to some other files because of this.
12187
12188         * Makefile.am (lyx_SOURCES): add XFormsView
12189
12190         * XFormsView.[Ch]: new files
12191
12192         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12193         the main window. Move the gui dependent stuff to XFormsView
12194
12195 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12196
12197         * tabular.C (GetCellInset): update cur_cell also in the row/col
12198         version of this function.
12199
12200         * lyxfunc.C: no need to include figure_form.h here.
12201
12202         * FontLoader.h:
12203         * lyxfunc.h:
12204         * lyxscreen.h:
12205         * text2.C:
12206         * lyxvc.C: no need to include forms.h here.
12207
12208 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12209
12210         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12211
12212         * lyxfunc.C (Dispatch):
12213         * Spacing.C (set):
12214         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12215         constructor argument.
12216
12217 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12218
12219         * paragraph.C (Paragraph): dont't clear, and just set layout.
12220         (makeSameLayout): use params's copy contructor.
12221
12222         * ParagraphParameters.[Ch] (makeSame): delete method
12223
12224 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12225
12226         * Variables.[Ch]: fix indentation, rename set to isSet
12227
12228 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12229
12230         * lyxfunc.C (Dispatch): fix typo
12231
12232 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12233
12234         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12235         upper_bound.
12236
12237         * bufferlist.C: include assert.h for emergencyWrite().
12238
12239 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12240
12241         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12242           give up at last (bug #425202) !
12243
12244 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12245
12246         * lyx_gui_misc.C:
12247         * sp_form.h:
12248         * sp_form.C:
12249         * spellchecker.h:
12250         * spellchecker.C: strip spellchecker options and bring up
12251           preferences tab instead
12252
12253 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12254
12255         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12256         the istringstream constructor
12257
12258 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12259
12260         * paragraph.C (getLayout): fix return value
12261
12262         * paragraph.h: do not declare getLayout as inline.
12263
12264         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12265
12266 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12267
12268         * lyxcursor.h (operator<): new func
12269         (operator>): new func
12270         (operator>=): new func
12271         (operator<=): new func
12272
12273         * text.C (changeCase): use selection.start and selection.end
12274         (changeRegionCase): require from to be <= to. Require par to be a
12275         valid paragraph.
12276
12277         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12278
12279 2001-06-27  Juergen Vigna  <jug@sad.it>
12280
12281         * text.C (cursorLeftOneWord): changed to return the cursor and added
12282         overlay with BufferView * parameter which calls this one.
12283         (getWord): added
12284         (selectWord): use new getWord function.
12285         (changeCase): renamed from changeWordCase as and extended to work
12286         also on selections.
12287
12288         * lyxtext.h: added enum word_location
12289
12290         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12291         changeCase as this operates now also on selections.
12292
12293 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12294
12295         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12296
12297         * many files: send debug output to Debug::INFO instead of
12298         Debug::ANY.
12299
12300         * converter.C (View):
12301         (Convert):
12302         (Move): send debug output to Debug::FILES instead of console.
12303
12304 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12305
12306         * lyxfunc.C (getStatus): use func_status
12307
12308         * func_status.h: new header, describing the results of
12309         LyXFunc::getStatus;
12310
12311         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12312         LFUN_MATH_HALIGN.
12313
12314 2001-06-25  The LyX Project  <jug@sad.it>
12315
12316         * buffer.C (sgmlOpenTag):
12317         (sgmlCloseTag):
12318         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12319
12320 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12321
12322         * text2.C: remove some dead code
12323
12324         * tabular.C (GetCellInset): store the last cell checked (gotten)
12325
12326         * tabular.h: add the helper for the speedup
12327
12328         * lyxtext.h: remove some dead code
12329
12330 2001-06-26  The LyX Project  <Asger>
12331
12332         * paragraph.C: Change export to LaTeX of alignment to
12333         \begin{center} and family for better roundtrip work with reLyX.
12334
12335         * Tune the math drawing a bit.
12336
12337 2001-06-25  The LyX Project  <Asger>
12338
12339         * LColor.C (LColor): New color for math background. New color
12340         for buttons.
12341
12342 2001-06-25  The LyX Project  <jug@sad.it>
12343
12344         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12345
12346         * lyxfunc.C (Open):
12347         * bufferlist.C (newFile): do not restrict to files ending with
12348         .lyx
12349
12350         * BufferView_pimpl.C (MenuInsertLyXFile):
12351
12352 2001-06-24  The LyX Project  <jug@sad.it>
12353
12354         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12355         of compare_no_case
12356
12357 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12358
12359         * lyxtext.h: rename most methods to begin with a small char.
12360         Lots of changes because of this.
12361
12362         * paragraph.C (Paragraph): do not call fitToSize
12363         (erase): call Pimpl::erase
12364         (insertChar): call Pimpl::insertChar
12365         (insertInset): call Pipl::insertInset
12366         (breakParagraph): do not call fitToSize
12367         (breakParagraphConservative): do not call fitToSize
12368         (fitToSize): remove method
12369
12370         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12371
12372 2001-06-24  The LyX Project  <Asger>
12373
12374         * Fix Qt compilation^2
12375
12376 2001-06-24  The LyX Project  <jug@sad.it>
12377
12378         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12379         depthHook(getDepth()-1).
12380
12381         * paragraph.h:
12382         * ParagraphParameters.h:
12383         * ParameterStruct.h: change type of depth to unsigned int ==
12384         depth_type. Many adaptations to other files before of that.
12385
12386 2001-06-24  The LyX Project  <Asger>
12387
12388         * Fix Qt compilation.
12389
12390 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12391
12392         * paragraph.h: renamed several methods to begin with small letter.
12393         several changes to many parts of the code because of this.
12394
12395 2001-06-23  The LyX Project  <jug@sad.it>
12396
12397         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12398         rewritten to discard all double spaces when KeepEmpty is off
12399         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12400         to only handle newlines but not fiddle with spaces and friends.
12401
12402         * lyxfunc.C (MenuNew): when doing 'new from template', use
12403         template_path as default directory
12404
12405 2001-06-23  The LyX Project  <Asger>
12406
12407         * Clean-up of header file includes all over
12408         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12409
12410 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12411
12412         * paragraph.h: renamed from lyxparagraph.h
12413
12414 2001-06-23  Asger  <lyx@violet.home.sad.it>
12415
12416         * Buffer.h: Removed Buffer::resize
12417         * BufferList.h: Removed BufferList::resize
12418         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12419         the document lazily when we change the width, or the font settings.
12420
12421 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12422
12423         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12424
12425 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12426
12427         * buffer.h: remove out of date comment
12428
12429 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12430
12431         * lyxscreen.h:
12432         * screen.C: fix "theoretical" GC leak
12433
12434 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12435
12436         * LaTeX.C (scanAuxFile):
12437         (deplog): remove trailing \r when reading stream (useful under
12438         win32)
12439
12440 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12441
12442         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12443         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12444         and BufferView::theLockingInset(Inset*), so should use them and not
12445         access bv_->text->the_locking_inset directly.
12446
12447         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12448
12449 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12450
12451         * Makefile.am:
12452         * tex-defs.h: remove old unused file
12453
12454 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12455
12456         * BufferView_pimpl.C: fix typo, remove minibuffer message
12457           when buffer has loaded
12458
12459 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12460
12461         * lyxfunc.C (Dispatch): use stringstream
12462         (MenuNew): use stringstream
12463         (Open): use stringstream
12464
12465         * importer.C (Import): use stringstream
12466
12467         * bufferview_funcs.C (CurrentState): use stringstream
12468
12469         * LaTeX.C (run): use stringstream
12470
12471         * BufferView_pimpl.C (savePosition): use stringstream
12472         (restorePosition): use stringstream
12473         (MenuInsertLyXFile): use stringstream
12474
12475 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12476
12477         * BufferView.C:
12478         * Bullet.C:
12479         * ColorHandler.C:
12480         * FontInfo.C:
12481         * FontLoader.C:
12482         * LColor.C:
12483         * LaTeXFeatures.C:
12484         * Painter.C:
12485         * gettext.C:
12486         * lyx_gui_misc.C:
12487         * lyxserver.C:
12488         * vspace.C: removed // -*- C++ -*- as first line.
12489
12490         * lyxfind.h:
12491         * version.h: added // -*- C++ -*- as first line.
12492
12493 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12494
12495         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12496
12497         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12498         of string
12499
12500 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12501
12502         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12503         of floats.
12504
12505 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12506
12507         * gettext.C: include LString.h even when --disable-nls is on.
12508
12509 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12510
12511         * converter.h (Get): changed argument type from int to
12512         FormatList::size_type to avoid unnecessary conversion.
12513
12514         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12515         before using it.
12516
12517 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12518
12519         * gettext.h: include LString.h even when --disable-nls is on.
12520
12521 2001-06-07  Juergen Vigna  <jug@sad.it>
12522
12523         * text.C (BreakAgain): subst spaces with tabs.
12524
12525         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12526         (resizeInsetsLyXText): set force on resizeLyXText.
12527
12528 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12529
12530         * gettext.h (gettext_init):
12531         (locale_init): use a real definition instead of a macro
12532
12533 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12534
12535         * Bufferview_pimpl.C:
12536         * LColor.h:
12537         * LColor.C: further lcolor tidies
12538
12539 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12540
12541         * BufferView_pimpl.C (updateScrollbar): simplify.
12542
12543         * BufferView2.C: don't include insets/insetinfo.h, change
12544         prototype for insertInset and call the Pimpl version. let
12545         updateInset call Pimpl version.
12546
12547         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12548         gotoInset to BufferView::Pimpl
12549
12550 2001-06-01  Juergen Vigna  <jug@sad.it>
12551
12552         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12553         inside a LockingInset (is the update needed at all?).
12554
12555 2001-05-31  Juergen Vigna  <jug@sad.it>
12556
12557         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12558         here not the old one otherwise how should we compare it afterwards
12559         if it's the same!
12560
12561 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12562
12563         * lyxfont.C:
12564         * tabular.C:
12565         * tabular-old.C:
12566         * FontInfo.C: bring C functions into global namespace when
12567         necessary
12568
12569 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12570
12571         * LString.h: make sure config.h has been loaded before LString.h.
12572
12573         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12574         (one for each char read by EatLine!).
12575
12576         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12577         variables.
12578
12579 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12580
12581         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12582         to the same as the par we break from
12583
12584 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12585
12586         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12587
12588         * MenuBackend.C (expand): also create menu entries for wide
12589         versions of the floats.
12590
12591         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12592
12593         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12594
12595         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12596         frontends/Makefile.am
12597
12598         * text2.C: adjust
12599         * text.C: adjust
12600
12601
12602         * tabular.C (getTokenValue): add std::
12603
12604         * tabular-old.C (getTokenValue): add std::
12605         (getTokenValue): ditto
12606         (getTokenValue): ditto
12607
12608         * screen.C (ToggleSelection): adjust
12609
12610         * lyxtext.h: put selection cursors inside a Selection struct.
12611
12612         * lyxfunc.C (moveCursorUpdate): adjust
12613
12614         * lyxfont.C (latexWriteStartChanges): add std::
12615
12616         * lyxfind.C: adjust
12617
12618         * font.h: delete with(char const *, LyXFont const &)
12619
12620         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12621
12622         * FontInfo.C (getFontname): add std::
12623
12624         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12625         (workAreaButtonPress): adjust
12626         (tripleClick): adjust
12627         (update): adjust
12628         (moveCursorUpdate): adjust
12629         (Dispatch): adjust
12630
12631         * BufferView2.C (gotoInset): adjust
12632
12633 2001-05-30  Juergen Vigna  <jug@sad.it>
12634
12635         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12636         to check pspell I add this as default as I now have new pspell
12637         libraries and they seem to use this.
12638
12639 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12640
12641         * text2.C (CutSelection): make the cursor valid before the call to
12642         ClearSelection.
12643
12644 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12645
12646         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12647         relied on 0 terminated strings and other horrors. Bug found due to
12648         the new assert in lyxstring!
12649
12650         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12651         KP_ keys.
12652
12653 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12654
12655         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12656         to latinkeys.bind.
12657
12658         * lyxfunc.C (processKeySym): change method of getting to the
12659         self-insert char.
12660
12661         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12662         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12663         * BufferView_pimpl.[Ch]: here as private methods.
12664
12665 2001-05-28  Juergen Vigna  <jug@sad.it>
12666
12667         * text.C (SetHeightOfRow): added the update() call again as it is
12668         needed to initialize inset dimensions!
12669
12670 2001-05-16  Juergen Vigna  <jug@sad.it>
12671
12672         * text2.C (SetCharFont): Add new function with BufferView * and
12673         bool toggleall parameters for setting insets internal fonts.
12674         (SetFont): Freeze the undo as we may change fonts in Insets and
12675         all this change should be inside only one Undo!
12676
12677         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12678         setting font's in insets as for them we have the SetFont function!
12679
12680 2001-05-15  Juergen Vigna  <jug@sad.it>
12681
12682         * text2.C (ClearSelection): to be sure we REALLY don't have any
12683         selection anymore!
12684
12685         * tabular.C (TeXCellPreamble): fixed the left border problem for
12686         multicolumn cells.
12687
12688 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12689
12690         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12691         dependancy file
12692
12693 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12694
12695         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12696         LFUN_BREAKPARAGRAPH.
12697
12698         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12699         help test to "internal only", similar for LFUN_INSERT_URL
12700
12701         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12702         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12703         auto_region_delete and deadkeys.
12704
12705 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12706
12707         * LColor.h:
12708         * LColor.C: remove some dead entries, tidy a little
12709
12710 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12711
12712         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12713         commented code.
12714         (Dispatch): implement LFUN_ESCAPE
12715
12716         * commandtags.h: add LFUN_ESCAPE
12717
12718         * LyXAction.C (init): add entry for LFUN_ESCAPE
12719
12720         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12721         Remove commented code.
12722         (insertNote): moved here
12723         (open_new_inset): moved here
12724
12725         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12726         BufferView_pimpl
12727
12728 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12729
12730         * kbmap.C (findbinding): clean it up and make it work correctly.
12731
12732         * lyx_main.C (init): do not pass argc and argv as parameters
12733
12734 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12735
12736         * buffer.C: fix path for OS/2 & Win32
12737
12738         * lyx_gui.C:
12739         * lyx_main:
12740         * lyx_main.C: Added os:: class.
12741
12742         * os2_defines.h: update
12743
12744 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12745
12746         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12747         better by trying again with reduced state.
12748
12749 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12750
12751         * lyxrc.C (read): print error about invalid key sequence only when
12752         debugging (because not all latinX keysyms are known to some X
12753         servers)
12754
12755         * kbsequence.C (getiso): add a few std:: qualifiers
12756         (getiso): comment out extra return statement.
12757
12758 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12759
12760         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12761         handling.
12762         (Dispatch): enhance the accent inset a bit. (not perfect)
12763
12764 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12765
12766         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12767
12768 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12769
12770         * bufferlist.C (emergencyWrite): fix assert() call
12771
12772 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12773
12774         * text.C (InsertChar): Added trivial patch to only send the "you
12775         can not do multiple spaces this way" message once during a
12776         session.
12777
12778 2001-05-08  Baruch Even  <baruch@lyx.org>
12779
12780         * Makefile.am: Changed order of libraries to get LyX to link properly
12781         with the gnome frontend.
12782
12783 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12784
12785         * LaTeXFeatures.h: add a std:: qualifier
12786
12787 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12788
12789         * paragraph.C (String): use stringstream
12790
12791 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12792
12793         * paragraph.C (writeFile): remove footflag arg
12794
12795         * buffer.C (makeLaTeXFile): use stringstream
12796         (latexParagraphs): remove footnot gurba
12797
12798         * LaTeXFeatures.C (getPackages): use stringstream
12799         (getMacros): likewise
12800         (getTClassPreamble): likewise
12801         (getFloatDefinitions): new method
12802
12803         * paragraph.C (writeFile): reindent
12804         (Erase): reindent
12805
12806         * WorkArea.h: revert the xpos + etc changes.
12807
12808         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12809
12810         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12811
12812         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12813         (pasteSelection): likewise
12814         * text2.C (CreateUndo): likewise
12815
12816 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12817
12818         * minibuffer.C (peek_event): temporarily reduce the functionality
12819         of the minibuffer (to allow args on lfuns)
12820
12821         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12822         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12823
12824         * buffer.C (readInset): add compability reading of old float
12825         lists, add reading of new style float list.
12826         (readInset): avoid reevaluation of inscmd.getCmdName()
12827         (getLists): reindent
12828
12829         * MenuBackend.C (MenuItem): implement parsing of
12830         md_floatlistinsert and md_floatinsert.
12831         (expand::LastFiles): move initalizaton of iterators out of loop,
12832         avoid reevaluation.
12833         (expand::Documents): introduce typdedef vector<string> Strings,
12834         and use it.
12835         (expand::ExportFormats): introduce typedef vector<Format const *>
12836         Formats, and use it.
12837         (expand): implement FloatListInsert and FloatInsert.
12838
12839         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12840         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12841         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12842
12843         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12844         handling.
12845         (Dispatch::LFUN_FLOAT_LIST): implement
12846
12847 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12848
12849         * LaTeX.C (run): Fix problem with --export code.
12850
12851 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12852
12853         * BufferView.[Ch] (workarea): removed.
12854         (getClipboard) new method; wrapper for workarea()->getClipboard()
12855
12856         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12857         bug.
12858
12859         * WorkArea.h (width, height, xpos, ypos): These methods all
12860         returned the dimensions of the work_area sub-area of WorkArea,
12861         resulting in a position error if the WorkArea were resized. Now
12862         return the dimensions of the entire WorkArea.
12863
12864         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12865
12866 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12867
12868         * LaTeX.C (deplog): correct the syntax of regex reg1
12869
12870 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12871
12872         * undo.C: remove !NEW_INSETS cruft
12873
12874 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12875
12876         * text2.C: remove !NEW_INSETS cruft
12877
12878         * text.C: remove !NEW_INSETS cruft
12879
12880         * tabular.C: remove !NEW_INSETS cruft
12881
12882         * spellchecker.C: remove !NEW_INSETS cruft
12883
12884         * lyxtext.h: remove !NEW_INSETS cruft
12885
12886         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12887
12888         * lyxfunc.C: remove !NEW_INSETS cruft
12889
12890         * lyxfind.C: remove !NEW_INSETS cruft
12891
12892         * lyx_cb.C: remove !NEW_INSETS cruft
12893
12894         * figureForm.C: remove  !NEW_INSETS cruft
12895
12896         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12897
12898         * buffer.[Ch]: remove !NEW_INSETS cruft
12899
12900         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12901
12902         * CutAndPaste.C: remove !NEW_INSETS cruft
12903
12904         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12905
12906         * BufferView2.C: remove !NEW_INSETS cruft
12907
12908         * BufferView.h: remove !NEW_INSETS cruft
12909
12910 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12911
12912         * Lsstream.h: include LString.h before the sstream headers to
12913         fix problem with gcc 2.95.3 and lyxstring
12914
12915 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12916
12917         * lyx_main.C: add using directives when needed for C functions
12918         declared in std:: namespace.
12919
12920 2001-04-27  Juergen Vigna  <jug@sad.it>
12921
12922         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12923         (SetHeightOfRow): comment out the update call should not be needed!
12924
12925 2001-04-13  Juergen Vigna  <jug@sad.it>
12926
12927         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12928         (LyXTabular): tried to minimize operator= operations (and realized
12929         hopfully Lars wish).
12930
12931 2001-04-27  Juergen Vigna  <jug@sad.it>
12932
12933         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12934
12935 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12936
12937         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12938
12939         * buffer.C (readInset): hack to make listof algorithm work
12940
12941         * BufferView_pimpl.C: hack to make listof algorithm work
12942
12943 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12944
12945         * LyXAction.C: removed all !NEW_INSETS cruft
12946         (init): moved lfun_item in method
12947
12948         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12949
12950 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12951
12952         * BufferView2.C (theLockingInset): white space.
12953
12954 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12955
12956         * minibuffer.C: include <iostream>
12957
12958         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12959
12960         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12961
12962         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12963
12964         * text.[Ch] (TransposeChars): new method
12965
12966 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12967
12968         * call message directly through LyXView instead of through LyXFunc
12969         * BufferView2.C: adjust
12970         * BufferView_pimpl.C: adjust
12971         * FontLoader.C: adjust
12972         * buffer.C: adjust
12973         * bufferview_funcs.C: adjust
12974         * converter.C: adjust
12975         * figureForm.C: adjust
12976         * importer.C: adjust
12977         * lyx_cb.C: adjust
12978         * lyx_gui_misc.C: adjust
12979         * lyxfunc.C: adjust
12980         * lyxvc.C: adjust
12981         * text2.C: adjust
12982         + more files in subdirs
12983
12984         * lyxparagraph.h (size): move up int file
12985         (GetLayout): ditto
12986
12987         * adjust all uses of Assert to lyx::Assert.
12988
12989         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12990         lyxfunctional in namespace lyx
12991         * layout.C (hasLayout): ditto
12992         (GetLayout): ditto
12993         (GetLayout): ditto
12994         (delete_layout): ditto
12995         (NumberOfClass): ditto
12996         * converter.C (GetFormat): ditto
12997         (GetNumber): ditto
12998         (Add): ditto
12999         (Delete): ditto
13000         (SetViewer): ditto
13001         * bufferlist.C (getFileNames): ditto
13002         (emergencyWriteAll): ditto
13003         (exists): ditto
13004         (getBuffer): ditto
13005         * MenuBackend.C (hasSubmenu): ditto
13006         (hasMenu): ditto
13007         (getMenu): ditto
13008         * BufferView_pimpl.C (getInsetByCode): ditto
13009
13010 2001-04-18  Juergen Vigna  <jug@sad.it>
13011
13012         * vspace.C (asLatexString): fixed the 100% problem.
13013
13014 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13015
13016         * lyxfunc.C (Dispatch):
13017         * minibuffer.C:
13018         * minibuffer.h: add a few std:: qualifiers
13019
13020 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13021
13022         * minibuffer.[Ch]: reimplement so that commands is initiated and
13023         run from lyxfunc, simplified som handling, and made the completion
13024         and history code for complete. wip.
13025
13026         * lyxfunc.C (processKeySym): call message
13027         (miniDispatch): new temporary method
13028         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13029         (LFUN_MESSAGE): implement
13030         (LFUN_MESSAGE_PUSH): implement
13031         (LFUN_MESSAGE_POP): implement
13032         (initMiniBuffer): the initial/defualt minibuffer message.
13033
13034         * lyxfont.[Ch]: inline some more getters
13035
13036         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13037
13038         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13039
13040         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13041         (AutoSave): use LFUN_MESSAGE
13042         (Reconfigure): ditto
13043
13044         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13045
13046         * figureForm.C: use LFUN_MESSAGE
13047
13048         * converter.C (runLaTeX): use LFUN_MESSAGE
13049
13050         * bufferview_funcs.C: use LFUN_MESSAGE
13051         (Melt): ditto
13052         (changeDepth): ditto
13053
13054         * bufferparams.h: use boost::
13055
13056         * bufferlist.h: inherit privately from noncopyable
13057
13058         * bufferlist.C (loadLyXFile): remove some commented code.
13059
13060         * buffer.C (runChktex): use LFUN_MESSAGE
13061
13062         * ShareContainer.h: inherit privately from noncopyable
13063
13064         * ParagraphParameters.[hC] (depth): inline it.
13065
13066         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13067         methods.
13068         (message): new method
13069         (messagePush): ditto
13070         (messagePop): ditto
13071         (show): init minibuffer
13072         (showState): direct call
13073
13074         * LaTeX.[Ch]: inherit privately from noncopyable
13075         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13076         instead of WriteStatus.
13077
13078         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13079
13080         * BufferView_pimpl.C (buffer): don't init minibuffer
13081         (workAreaButtonPress): use LFUN_MESSAGE
13082         (workAreaButtonRelease): ditto
13083         (savePosition): ditto
13084         (restorePosition): ditto
13085         (MenuInsertLyXFile): ditto
13086         (workAreaExpose): don't init minibuffer
13087         (update): remove commented code, simplify
13088
13089         * BufferView2.C (openStuff): use LFUN_MESSAGE
13090         (toggleFloat): ditto
13091         (menuUndo): ditto
13092         (menuRedo): ditto
13093         (copyEnvironment): ditto
13094         (pasteEnvironment): ditto
13095         (copy): ditto
13096         (cut): ditto
13097         (paste): ditto
13098         (gotoInset): ditto
13099         (updateInset): remove some commented code
13100
13101         * lastfiles.h: inherit privately from noncopyable
13102         * layout.h: ditto
13103         * lyx_gui.h: ditto
13104         * lyx_main.h: ditto
13105         * lyxlex.h: ditto
13106         * lyxlex_pimpl.h: ditto
13107
13108         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13109         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13110         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13111
13112         * LyXAction.h: inherit privately from noncopyable, add methods
13113         func_begin, func_end, returning iterators to the func map.
13114
13115         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13116         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13117         (func_begin): new method
13118         (func_end): new method
13119
13120         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13121         and not)
13122         (copySelection): ditto
13123         (pasteSelection): ditto
13124
13125         * BufferView.C: whitespace change
13126         * BufferView.h: inherit privately from noncopyable
13127
13128 2001-04-16  Allan Rae  <rae@lyx.org>
13129
13130         * tabular-old.C (l_getline):
13131         * spellchecker.C (sc_check_word):
13132         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13133         an unrecognised preprocessor directive.  So ensure they're wrapped.
13134
13135 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13136
13137         * src/exporter.C (Export): Give an error message when path to file
13138         contains spaces.
13139
13140 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13141
13142         * LaTeX.C (deplog): Always check that foundfile exists.
13143
13144 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13145
13146         * lyx_main.h:
13147         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13148
13149 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13150
13151         * tabular.[Ch] (getLabelList): implement new method
13152
13153         * minibuffer.h: comment ouf setTiimer
13154
13155         * minibuffer.C (ExecutingCB): constify res
13156         (peek_event): constify s
13157         (Set): constify ntext
13158         (Init): constify nicename
13159
13160         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13161
13162         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13163         (savePosition): use two params to Minibuffer::Set
13164         (restorePosition): ditto
13165
13166 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13167
13168         * lyx_main.C: include language.h
13169
13170         * Makefile.am (lyx_main.o): add language.h
13171
13172 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13173
13174         * exporter.C:
13175         * paragraph.C:
13176         * screen.C:
13177         * tabular.C:
13178         * CutAndPaste.C: include gettext.h
13179
13180         * lyxfont.h: remove old hack with ON and OFF.
13181
13182         * lyxparagraph.h:
13183         * lyxfont.h: do not include language.h...
13184
13185         * BufferView2.C:
13186         * LaTeXFeatures.C:
13187         * Painter.C:
13188         * bufferview_funcs.C:
13189         * font.C:
13190         * lyxfont.C:
13191         * text.C:
13192         * text2.C:
13193         * trans_mgr.C:
13194         * paragraph.C: ... but do it here instead
13195
13196 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13197
13198         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13199
13200         * tabular.C: small reformat
13201
13202         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13203         NEW_INSETS version
13204         (GetChar): ditto
13205         (BreakParagraph): ditto
13206         (SetOnlyLayout): ditto
13207         (SetLayout): ditto
13208
13209         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13210         with one arg less.
13211
13212         * lastfiles.C: removed most using decl, add std:: where needed
13213
13214         * buffer.C: ws changes
13215
13216         * MenuBackend.C (class compare_format): put into anon namespace
13217         (expand): constify label, names, action, action2
13218         (expand):
13219
13220         * text.C (SingleWidth): constify font
13221         (IsBoundary): constify rtl2
13222         (GetVisibleRow): constify ww
13223
13224         * LaTeX.C (deplog): constify logfile
13225
13226         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13227         start_x, end_x
13228         (workAreaExpose): constify widthChange, heightChange
13229
13230         * lyxrow.C (par): moved
13231         (height): moved
13232         (next): moved
13233         * lyxrow.h: as inlines here
13234
13235         * lyxfont.h (shape): moved from lyxfont.C
13236         (emph): moved from lyxfont.C
13237
13238         * lyxfont.C (LyXFont): use initialization list for all
13239         constructors
13240         (shape): move to lyxfont.h as inline
13241         (emph): move to lyxfont.h as inline
13242
13243
13244 2001-04-04  Juergen Vigna  <jug@sad.it>
13245
13246         * vspace.C: had to include stdio.h for use of sscanf
13247
13248 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13249
13250         * BufferView.h:
13251         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13252         independent of xforms.
13253
13254 2001-04-02  Juergen Vigna  <jug@sad.it>
13255
13256         * spellchecker.C: fixed namespace placing!
13257
13258 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13259
13260         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13261         the LyXParagraph * is 0.
13262
13263 2001-03-29  Juergen Vigna  <jug@sad.it>
13264
13265         * vspace.C: added support for %, c%, p%, l%.
13266         (stringFromUnit): added helper function.
13267         (asLatexString): changed to give right results for the %-values.
13268
13269         * buffer.C: convert the widthp in a width%.
13270
13271 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13272
13273         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13274         figureForm.[Ch].
13275
13276         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13277         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13278
13279         * lyx_cb.[Ch]: see above.
13280
13281         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13282         form1.[Ch].
13283
13284         * form1.[Ch]:
13285         * lyx.[Ch]: replaced by figure_form.[Ch].
13286
13287         * lyx_gui.C:
13288         * lyx_gui_misc.C:
13289         * lyxfunc.C: changed headers associated with above changes.
13290
13291 2001-03-27  Juergen Vigna  <jug@sad.it>
13292
13293         * BufferView_pimpl.C: set the temporary cursor right!
13294
13295 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13296
13297         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13298
13299 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13300
13301         * LString.h: removed "using std::getline"!
13302
13303         * BufferView_pimpl.C (Dispatch): changes due to changes in
13304         InsetInclude::Params.
13305
13306         * buffer.C (tag_name): removed redundant break statements as they were
13307         producing lots of warnings with my compiler.
13308
13309 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13310
13311         * LString.h: add "using std::getline" when using the real <string>.
13312
13313 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13314
13315         * buffer.C: removed bitset usage.
13316         PAR_TAG moved to an anonymous name space.
13317         (tag_name): new funtion, also in the anonymous namespace.
13318         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13319         (makeDocBookFile): clean code. Completed transition from string arrays
13320         to string vectors.
13321         (SimpleDocBookOnePar): code clean.
13322
13323 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13324
13325         * tabular.C: add some comments.
13326
13327 2001-03-22  Juergen Vigna  <jug@sad.it>
13328
13329         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13330         compatibility read a bit and fixed bug with minipage in different
13331         depth.
13332
13333 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13334
13335         * buffer.C (pop_tag): removed.
13336         (push_tag): removed.
13337         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13338         array replaced with vector. Added support for CDATA sections.
13339         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13340         at any nest level.
13341         (makeDocBookFile): XML conformant declaration of CDATA section,
13342         fixed bug related to <emphasis> in the first paragraph char.
13343         (sgmlOpenTag): exclude empty tags.
13344         (sgmlCloseTag): ditto.
13345
13346         * buffer.h (pop_tag): removed.
13347         (push_tag): removed.
13348
13349 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13350
13351         * language.h (Languages): added size_type and size().
13352
13353 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13354
13355         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13356         response on compability reading of minipages. One probliem is that
13357         the old usage of minipages was «flertydig»
13358
13359         * several files here and in subdirs: don't use static at file
13360         scope use anon namespaces instead.
13361
13362 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13363
13364         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13365         LaTeX output. This is necessary for Literate document
13366         processing.
13367
13368 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13369
13370         * buffer.C: insert hfill when needed.
13371
13372         * tabular.C (l_getline): use string::erase, small whitespace change.
13373
13374         * BufferView_pimpl.C: try the anon namespace.
13375         * WorkArea.C: ditto
13376
13377 2001-03-16  Juergen Vigna  <jug@sad.it>
13378
13379         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13380         otherwise it won't open options-dialogs.
13381
13382         * buffer.C: honor pextraWidth(p) on converting minipages.
13383
13384         * tabular.C (l_getline): changed the functions to strip trailing \r.
13385
13386 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13387
13388         * BufferView_pimpl.C:
13389         * minibuffer..C: added "using SigC::slot" declaration.
13390
13391 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13392
13393         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13394
13395         * text2.C: ditto
13396
13397         * text.C: ditto
13398
13399         * paragraph.C: ditto
13400
13401         * lyxtext.h: NO_PEXTRA
13402
13403         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13404
13405         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13406         * ParameterStruct.h: ditto
13407         * ParagraphParameters.h: ditto
13408         * lyxparagraph.h: ditto
13409
13410 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13411
13412         * buffer.C: add compability for minipage alignment.
13413         (latexParagraphs): remove unwanted pextra check.
13414
13415         * several files: remove CXX_WORKING_NAMESPACES
13416
13417         * buffer.C (pop_tag): tie is in namespace boost
13418
13419         * BufferView.h: noncopyable is in namespace boost
13420         * lyxlex.h: ditto
13421         * lyx_main.h: ditto
13422         * lyx_gui.h: ditto
13423         * layout.h: ditto
13424         * lastfiles.h: ditto
13425         * bufferlist.h: ditto
13426         * ShareContainer.h: ditto
13427         * LyXView.h: ditto
13428         * LyXAction.h: ditto
13429         * LaTeX.h: ditto
13430
13431 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13432
13433         * Merging changes from BRANCH_MVC back into HEAD.
13434
13435         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13436
13437 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13438
13439         * BufferView_pimpl.C: change from intl.C
13440
13441         * combox.h:
13442         * combox.C:
13443         * Makefile.am: move combox.*
13444
13445         * form1.h:
13446         * form1.C:
13447         * lyx_gui.C:
13448         * intl.h:
13449         * intl.C: remove dialog (covered by prefs)
13450
13451 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13452
13453         * lyxfunc.C (Dispatch): removed redundant break statement.
13454
13455 2001-03-14  Juergen Vigna  <jug@sad.it>
13456
13457         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13458
13459 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13460
13461         * buffer.C: add hack to fix compability reading of minipages.
13462
13463 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13464
13465         * buffer.C (getLists): Cleanup.
13466
13467 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13468
13469         * lyxfont.C (update): don't honor toggleall on font size.
13470
13471 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13472
13473         * bmtable.c:
13474         * bmtable.h:
13475         * Makefile.am: moved to frontends/xforms/
13476
13477         * lyx_gui_misc.C:
13478         * lyxfunc.C:
13479         * BufferView_pimpl.C: changes for moved mathpanel
13480
13481 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13482
13483         * gettext.h: fix gettext_init() in --disable-nls
13484
13485 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13486
13487         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13488
13489 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13490
13491         * lyx.C:
13492         * lyx.h: strip external form
13493
13494 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13495
13496         * BufferView_pimpl.C: add comment, destroySplash()
13497
13498 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13499
13500         * BufferView_pimpl.C:
13501         * LyXAction.C:
13502         * buffer.C:
13503         * commandtags.h:
13504         * lyxfunc.C: use re-worked insetinclude
13505
13506 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13507
13508         * buffer.C: add using std::stringstream.
13509
13510         * lyx_cb.C: readd using std::ios.
13511
13512         * buffer.C: add using std::map.
13513
13514         * BufferView_pimpl.C: add using std::vector.
13515
13516         * ShareContainer.h: add std:: to swap.
13517
13518         * buffer.h: add some typedefs
13519         * buffer.C (getLists): use them
13520         (getLists): renamed from getTocList.
13521         add a counter for the different float types and use it in the
13522         generated string.
13523         (getLists): use the same counter for the NEW_INSETS and the "non"
13524         NEW_INSETS
13525
13526         * lyx_cb.h: remove unused items, includes, using etc.
13527
13528         * ShareContainer.h: remove some commented code, add more comments
13529         and "documentation".
13530
13531 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13532
13533         * buffer.C (getTocList): make the list also when NEW_INSETS is
13534         defined.
13535
13536         * buffer.h: remove TocType
13537
13538         * buffer.C (getTocList): change to return a map<string,
13539         vector<TocItem> >, implement for dynamic number of list.
13540
13541         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13542         * text2.C (PasteSelection): adjust
13543         * CutAndPaste.C (pasteSelection): adjust
13544
13545         * FloatList.C (FloatList): update from the new_insets branch.
13546         * Floating.[Ch]: ditto
13547         * LaTeXFeatures.C: ditto
13548         * buffer.C: ditto
13549         * lyxlex_pimpl.C: ditto
13550
13551         * paragraph.C (Last): remove when NEW_INSETS is defined.
13552
13553         * other file: changes because of the above.
13554
13555 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13556
13557         * lyxparagraph.h: rename next to next_, previous to previous_,
13558         make them private for NEW_INSETS. Rename Next() to next(),
13559         Previous() to previous().
13560
13561         * other files: changes because of the above.
13562
13563 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13564
13565         * BufferView.h:
13566         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13567         problem.
13568
13569 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13570
13571         * main.C (main): pass lyx_localedir to gettext_init().
13572
13573         * gettext.h: remove locale_init and gettext_init macros
13574
13575         * gettext.C (locale_init): new function
13576         (gettext_init): new function
13577
13578         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13579         setlocale().
13580
13581 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13582
13583         * Moved credits to frontends:
13584         * credits.[Ch]: removed
13585         * credits_form.[Ch]: removed
13586         * lyx_gui_misc.C: remove credits stuff
13587         * Makefile.am:
13588
13589 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13590
13591         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13592
13593         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13594         unneeded destructor.
13595
13596         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13597         a standalone pointer again.
13598
13599         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13600
13601 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13602
13603         * Makefile.am:
13604         * filedlg.h:
13605         * filedlg.C:
13606         * LyXAction.C:
13607         * ToolbarDefaults.C:
13608         * bufferlist.C:
13609         * commandtags.h:
13610         * form1.C:
13611         * form1.h:
13612         * lyx_cb.C:
13613         * lyx_cb.h:
13614         * lyxfunc.h:
13615         * lyxfunc.C:
13616         * BufferView_pimpl.C: use new file dialog in GUII
13617
13618         * lyx_cb.h:
13619         * lyx_cb.C: remove LayoutsCB to Toolbar
13620
13621 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13622
13623         * ShareContainer.h (get): add std:: qualifier
13624
13625 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13626
13627         * ShareContainer.h: define a proper ShareContainer::value_type
13628         type (and use typename to please compaq cxx)
13629
13630 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13631
13632         * lyxparagraph.h: move serveral local vars to
13633         ParameterStruct/ParagraphParameters., use ShareContainer in
13634         FontTable., make vars in FontTable private and add getter and
13635         setter.
13636
13637         * paragraph.C: changes because of the above.
13638
13639         * lyxfont.h: remove copy constructor and copy assignment. (the
13640         default ones is ok), move number inside FontBits. move inlines to
13641         lyxfont.C
13642
13643         * lyxfont.C: add number to initializaton of statics, move several
13644         inlines here. constify several local vars. some whitespace
13645         cleanup. Dont hide outerscope variables.
13646
13647         * Spacing.h: add two new constructors to match the set methods.
13648
13649         * ShareContainer.h: new file, will perhaps be moved to support
13650
13651         * ParameterStruct.h: new file
13652
13653         * ParagraphParameters.h: new file
13654
13655         * ParagraphParameters.C: new file
13656
13657         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13658         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13659
13660         * BufferView_pimpl.C: ParagraphParameter changes.
13661         * buffer.C: Likewise.
13662         * bufferview_funcs.C: Likewise.
13663         * text.C: Likewise.
13664         * text2.C: Likewise.
13665
13666 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13667
13668         * lyxfind.C (LyXReplace): do not redefine default argument in
13669         implementation.
13670         (IsStringInText): ditto
13671         (SearchForward): ditto
13672         (SearchBackward): ditto
13673
13674 2001-03-06  Juergen Vigna  <jug@sad.it>
13675
13676         * lyxfind.C (IsStringInText): put parentes around expressions.
13677
13678 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13679
13680         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13681
13682 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13683
13684         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13685
13686         * stl_string_fwd.h: add comment
13687
13688         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13689
13690         * tabular.h:
13691         * tabular.C: remove unused DocBook methods
13692
13693         * intl.C:
13694         * language.C:
13695         * paragraph.C:
13696         * buffer.C:
13697         killed DO_USE_DEFAULT_LANGUAGE
13698
13699 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13700
13701         * lyx_gui.C: do not include language.h.
13702
13703         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13704         arguments in function implementation.
13705
13706 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13707
13708         * BufferView_pimpl.C: add <ctime>
13709
13710 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13711
13712         * BufferView_pimpl.C: add using std::find_if
13713
13714 2001-02-27  José Matos  <jamatos@fep.up.pt>
13715
13716         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13717         by OnlyPath.
13718
13719 2001-02-11  José Matos  <jamatos@fep.up.pt>
13720
13721         * buffer.C (makeDocBookFile): command styles now have a parameter as
13722         "title" by default.
13723
13724 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13725
13726         * layout_forms.[Ch]: removed
13727         * lyx_cb.[Ch]: out character
13728         * lyx_gui.C: out character
13729         * lyx_gui_misc.C: out character
13730         * bufferview_funcs.C: : out character,
13731         added toggleall as parameter in ToggleAndShow
13732
13733 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13734
13735         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13736
13737         * text2.C (SetCurrentFont): Disable number property at boundary.
13738
13739 2001-02-26  Juergen Vigna  <jug@sad.it>
13740
13741         * lyxfunc.C (getStatus): added a string argument override function so
13742         that this is correctly called from LyXFunc::Dispatch if it contains a
13743         do_not_use_argument which is used!
13744         (Dispatch): added check for "custom" export and call appropriate func.
13745
13746 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13747
13748         * lyxrc.C: Add language_command_local, language_use_babel and
13749         language_global_options.
13750
13751         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13752
13753         * buffer.C (makeLaTeXFile): Use language_use_babel and
13754         language_global_options.
13755
13756 2001-02-23  Juergen Vigna  <jug@sad.it>
13757
13758         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13759         which works with LyXText and putted it inside BufferView. Here now we
13760         only call for that part the BufferView::Dispatch() function.
13761
13762         * BufferView.C (Dispatch): added.
13763
13764         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13765         functions which needs to use a LyXText over from LyXFunc.
13766         (MenuInsertLyXFile): added
13767         (getInsetByCode): added
13768         (moveCursorUpdate): added
13769         (static TEXT): added
13770
13771 2001-02-22  Juergen Vigna  <jug@sad.it>
13772
13773         * BufferView_pimpl.C (update): call a status update to see if LyXText
13774         needs it.
13775
13776 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13777
13778         * vc-backend.C (revert): implement for CVS
13779         (getLog): implement for CVS
13780
13781 2001-02-20  Juergen Vigna  <jug@sad.it>
13782
13783         * text2.C (ClearSelection): added BufferView param for inset_owner call
13784
13785         * lyxfunc.C (TEXT): added this function and use it instead of
13786         directly owner->view()-text of getLyXText().
13787
13788 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13789
13790         * src/layout_forms.C: out preamble
13791         * src/layout_forms.h: out preamble
13792         * src/lyx_cb.C: out preamble
13793         * src/lyx_cb.h: out preamble
13794         * src/lyx_gui.C: out preamble
13795         * src/lyx_gui_misc.C: out preamble
13796         * src/lyxfunc.C: connect with guii preamble
13797
13798 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13799
13800         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13801
13802 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13803
13804         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13805         whether to run bibtex.
13806
13807 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13808
13809         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13810
13811 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13812
13813         * Makefile.am (lyx_SOURCES): removed bibforms.h
13814
13815         * vspace.h: doxygen
13816
13817         * text.C (GetVisibleRow): make several local vars const
13818
13819         * tabular.C: small cleanup.
13820
13821         * lyxserver.C (callback): use compare instead of strncmp
13822
13823         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13824         inlines to after class or to paragraph.C
13825
13826         * lyxfont.h: remove friend operator!=
13827
13828         * converter.h: move friend bool operator< to non friend and after
13829         class def.
13830
13831         * combox.h: small cleanup
13832
13833         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13834         to inlines after class def.
13835
13836         * buffer.C (pop_tag): use string operations instead of strcmp
13837
13838         * bmtable.c: doxygen, small cleanup
13839
13840         * LaTeX.h: remove friend operator==
13841
13842 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13843
13844         * screen.C:
13845         * lyxrc.[Ch]:
13846         * lyxfunc.C:
13847         * lyxfont.[Ch]:
13848         * lyx_cb.C:
13849         * intl.[Ch]:
13850         * commandtags.h:
13851         * buffer.C:
13852         * WorkArea.[Ch]:
13853         * LyXAction.C:
13854         * BufferView_pimpl.C:
13855         * BufferView.[Ch]: remove cruft
13856
13857 2001-02-14  Juergen Vigna  <jug@sad.it>
13858
13859         * lyxfunc.C: removed #if 0 unused code
13860
13861         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13862
13863         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13864
13865         * text2.C (SetSelection): added a BufferView * parameter
13866
13867 2001-02-13  Juergen Vigna  <jug@sad.it>
13868
13869         * lyxfunc.C (Dispatch): fixed protected blank problem.
13870         * BufferView2.C (protectedBlank): added LyxText * parameter.
13871
13872         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13873         (AppendColumn): same as above for column_info.
13874
13875         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13876         (moveCursorUpdate): use a LyXText param for support of InsetText.
13877
13878         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13879         (tripleClick): ditto
13880
13881         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13882
13883         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13884
13885         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13886
13887         * text2.C (SetSelection): set correct update status if inset_owner
13888         (ToggleFree): ditto
13889
13890 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13891
13892         * tabular.C: remove some commented code.
13893
13894 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13895
13896         * BufferView_pimpl.C: call hideSplash()
13897
13898         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13899
13900         * include_form.h:
13901         * bibforms.h: remove
13902
13903         * lyxfunc.C:
13904         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13905           add LFUN_CHILD_CREATE
13906
13907         * counters.h: fix tiny typo
13908
13909         * lyx_cb.C:
13910         * lyx.h:
13911         * lyx_gui.C:
13912         * lyx.C: move splash to frontends/xforms/
13913
13914         * lyx_gui_misc.C: move Include and Bibform to frontends
13915
13916         * lyxvc.h: clarify comment
13917
13918         * vspace.C: tiny housekeeping
13919
13920 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13921
13922         * text.C (PrepareToPrint): RTL Fix.
13923
13924         * paragraph.C (GetUChar): New method.
13925         (String):  Use GetUChar.
13926
13927         * buffer.C (asciiParagraph): Use GetUChar.
13928
13929 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13930
13931         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13932
13933 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13934
13935         * buffer.h:
13936         * buffer.C: rename to getLogName(), handle
13937           build log / latex log nicely
13938
13939 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13940
13941         * MenuBackend.C:
13942         * MenuBackend.h: remove support for reference menuitem type.
13943
13944 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13945
13946         * BufferView_pimpl.C: housekeeping
13947         * BufferView_pimpl.h:
13948         * LyXView.h:
13949         * Makefile.am:
13950         * Timeout.C:
13951         * Timeout.h:
13952         * minibuffer.h: move Timeout GUI-I
13953
13954 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13955
13956         * lyxrc.C (read): Update converters data-structures.
13957
13958 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13959
13960         * LaTeX.h (operator!=): add operator != for Aux_Info
13961
13962 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13963
13964         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13965
13966         * LaTeXLog.C: deleted, useful code moved to Buffer
13967
13968         * buffer.h:
13969         * buffer.C: new function getLatexLogName()
13970
13971         * lyx_gui_misc.C:
13972         * lyx_gui.C:
13973         * lyxvc.C:
13974         * lyxvc.h:
13975         * lyxfunc.C: use frontends for LaTeX and VC logs
13976
13977 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13978
13979         * LaTeX.h: yet another std:: that Allan forgot.
13980
13981         * Variables.C (set): renamed from isset(), because this clashes
13982         with some HP-UX macros (grr).
13983
13984 2001-02-06  Allan Rae  <rae@lyx.org>
13985
13986         * LaTeX.h: Another bug fix.  Missing std:: this time.
13987
13988 2001-02-04  Allan Rae  <rae@lyx.org>
13989
13990         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13991         floats problem. I've left it commented out because it's not quite
13992         correct.  It should also test that the current object is a table or
13993         figure inset.  But I haven't gotten around to figuring out how to do
13994         that.  I *think* it'll be something like: "table" == inset.type()
13995
13996         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13997         bool.
13998
13999 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14000
14001         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14002         all the citation/databases/styles in the auxilary file.
14003         (run): Rerun latex if there was a babel language error.
14004
14005 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14006
14007         * text.C (Backspace): Preserve the font when changing newline char
14008         with a space.
14009         (BreakParagraph): If the cursor is before a space, delete the space.
14010
14011         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14012
14013 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14014
14015         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14016         new argument (code).
14017         (ChangeCitationsIfUnique): New method.
14018
14019         * paragraph.C (GetPositionOfInset): Handle bibkey.
14020
14021 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14022
14023         * BufferView_pimpl.h: change type of Position::par_pos to
14024         LyXParagraph::size_type.
14025
14026 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14027
14028         * BufferView_pimpl.C (savePosition, restorePosition): Write
14029         messages to minibuffer.
14030
14031 2001-01-28  José Matos  <jamatos@fep.up.pt>
14032
14033         * buffer.C (makeDocBookFile): adds support for document language.
14034         A silly restriction on the name of LatexCommand types where removed.
14035         Added support for CDATA sections, allows to chars unescaped, used
14036         among others in code, to avoid escape < and >.
14037
14038 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14039
14040         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14041         saved positions instrad of a stack. Furthermore, a position is
14042         stored using paragraph id/paragraph position.
14043
14044         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14045         Remove LFUN_REF_BACK.
14046
14047 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14048
14049         * converter.C (dvipdfm_options): New method.
14050
14051 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14052
14053         * vspace.C (isValidLength): Fix for empty input string.
14054
14055 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14056
14057         * LyXAction.C (init): change description of LFUN_FIGURE to
14058         "Insert Graphics"
14059
14060 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14061
14062         * LaTeX.C: add using directive
14063
14064 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14065
14066         * MenuBackend.C (expand): Fix the sorting of the formats.
14067
14068 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14069
14070         * lyx_main.C: tiny error message fix
14071
14072 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14073
14074         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14075         calling fl_initialize(). This fixes the problem with ',' as
14076         decimal separator in text files.
14077
14078 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14079
14080         * trans.C (process): Fix the keymap bug.
14081
14082 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14083
14084         * LaTeX.C (scanAuxFiles): New method. Provides support for
14085         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14086         (scanLogFile) Scan for "run BibTeX" messages.
14087
14088         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14089         OT1 font encoding. Also, load the aecompl package if the ae
14090         package is loaded.
14091
14092         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14093
14094 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14095
14096         * texrow.C (increasePos): turn two error messages into debug
14097         messages.
14098
14099 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14100
14101         * LaTeX.C (scanAux): Handle the \@input macro.
14102         (runBibTeX): Use scanAux().
14103
14104         * language.C (latex_options_): New field.
14105
14106         * LaTeXFeatures.C (getMacros): Add language macros.
14107
14108         * buffer.C (makeLaTeXFile): Small fix.
14109
14110 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14111
14112         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14113
14114         * text2.C: add a using directive.
14115
14116 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14117
14118         * BufferView2.C:
14119         * lyx_gui_misc.h:
14120         * lyxfr1.C:
14121         * lyxfunc.C: kill LyXBell.
14122
14123 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14124
14125         * text.C (IsBoundary): Remove the error message
14126
14127         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14128
14129         * lyxrc.C (setDefaults): Correct initialization value for
14130         font_norm_type.
14131
14132 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14133
14134         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14135         gotoError().
14136
14137         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14138         and GotoNextNote().
14139
14140         * src/LyXAction.C: Added reference-next.
14141
14142         * text.C (InsertChar): Use contains instead of strchr.
14143
14144         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14145
14146 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14147
14148         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14149         alignment commands (when needed).
14150
14151         * text.C (InsertChar): Add ':' to number separator chars.