]> git.lyx.org Git - features.git/blob - src/ChangeLog
fix cursor positioning at the end of lyxfunc::dispatch
[features.git] / src / ChangeLog
1 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2
3         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4         cursor position after e.g. inset insert)
5
6 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
7
8         * lyxfind.C (replace): adjust to locking removal + some
9         code simplification
10
11 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
12
13         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
14         of the path
15
16 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
17
18         * lyxlayout.[Ch]: 
19         * output_docbook.C: XML sanitation: new layout 
20         parameters InnerTag and CommandDepth
21
22 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
23
24         * BufferView_pimpl.C:
25         * factory.C:
26         * text3.C: Fix the insertion and modification of button-style
27         insets
28
29 2003-11-13  André Pönitz  <poenitz@gmx.net>
30
31         * InsetList.[Ch]: remove deleteLyXText
32
33         * paragraph.[Ch]: cache beginOfBody position
34
35         * Bidi.C:
36         * text.C:
37         * text2.C:
38         * text3.C: remove superfluous update() calls
39
40         * vspace.C: cleanup
41
42 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
43
44         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
45         * BufferView.C (fitLockedInsetCursor): remove
46         * cursor.[Ch] (getDim): add
47         * text.C (getRowNearY): add faster version
48         * text3.C: remove some update calls
49
50 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
51
52         * LaTeXFeatures.C:
53         * LyXAction.C:
54         * MenuBackend.C:
55         * MenuBackend.h:
56         * dispatchresult.h:
57         * factory.C:
58         * lfuns.h:
59         * lyxfunc.C:
60         * lyxtextclass.C:
61         * lyxtextclass.h:
62         * text3.C: The Character Style /XML short element patch.
63
64 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
65
66         * text3.C:
67         * factory.C: Small step to solving 'unable to insert some insets'
68         problem
69
70 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
71
72         * cursor.[Ch] (updatePos): new function for updating the y
73         position of the tip inset
74         * bufferview_funcs.C (put_selection_at): 
75         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
76
77 2003-11-11  André Pönitz  <poenitz@gmx.net>
78
79         * text.C: remove big comment on invalid Paragraph pointers as it is
80         not valid anymore
81
82 2003-11-11  André Pönitz  <poenitz@gmx.net>
83
84         * text_funcs.[Ch]: merge with ...
85
86         * text.C: ... this
87
88         * lyxtext.h:
89         * text2.C:
90         * text3.C: adjust
91
92         * Makefile.am: remove text_funcs.[Ch]
93
94 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
95
96         * cursor.C (getPos): return absolute cached y coord
97
98         * BufferView_pimpl.C (fitCursor): new simplistic code
99         (workAreaDispatch): add a fitCursor call
100
101 2003-11-10  André Pönitz  <poenitz@gmx.net>
102
103         * BufferView.[Ch]:
104         * BufferView_pimpl.[Ch]: merge update() and updateInset()
105
106 2003-11-10  André Pönitz  <poenitz@gmx.net>
107
108         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
109         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
110         indicate that the cursor needs to leave an inset
111
112         * lyxtext.h: remove inset locking
113
114         * cursor.[Ch]: re-implement functionality provided by inset locking
115
116         * BufferView.[Ch]:
117         * BufferView_pimpl.[Ch]:
118         * LyXAction.C:
119         * bufferview_funcs.[Ch]:
120         * factory.C:
121         * funcrequest.[Ch]:
122         * iterators.C:
123         * lyx_cb.C:
124         * lyxfind.C:
125         * lyxfunc.C:
126         * text.C:
127         * text2.C:
128         * text3.C:
129         * undo.C: adjust
130
131 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
132
133         * PosIterator.[Ch]: replace the stack with a vector, add inset 
134         accesor
135         * iterators.[C]: adjust
136
137 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
138
139         * lyxfind.C (replaceAll): mark the buffer dirty if something was
140         replaced
141         * paragraph_funcs.C (readParToken): put the correct id in the
142         error item, not the id of the top paragraph
143
144 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
145
146         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
147         * bufferview_funcs.C (put_selection_at): use the above
148
149 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
150
151         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
152
153 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
154
155         * output_linuxdoc.h: 
156         * output_plaintext.h: 
157         * output.h: 
158         * output_docbook.h: add #include statements
159
160 2003-11-05  José Matos  <jamatos@lyx.org>
161
162         * output_docbook.[Ch]:
163         * output_latex.[Ch]:
164         * output_linuxdoc.[Ch]:
165         * output_plaintext.[Ch]: New files for output formats.
166         * output.[Ch]: New file for helper functions.
167
168         * buffer.[Ch]:
169         * paragraph_funcs.[Ch]: output functions moved to new files.
170
171         * outputparams.h: rename of latexrunparams.h
172
173         * LaTeX.[Ch]:
174         * buffer.[Ch]:
175         * bufferlist.[Ch]:
176         * converter.[Ch]:
177         * exporter.C:
178         * paragraph.[Ch]:
179         * paragraph_funcs.[Ch]:
180         * paragraph_pimpl.[Ch]:
181         * tabular.[Ch]: rename ascii to plaintext
182         and LatexRunParams to OutputParams.
183         
184 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
185
186         * iterators.[Ch] (text): require bv argument
187         * undo.C (recordUndo): 
188         * lyxfunc.C (dispatch): 
189         * bufferview_funcs.C (put_selection_at): adjust
190
191 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
192
193         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
194
195 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
196
197         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
198         nestings
199
200 2003-11-04  André Pönitz  <poenitz@gmx.net>
201
202         * cursor.[Ch]: restructure
203
204         * BufferView.[Ch]:
205         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
206
207         * iterators.[Ch] (asCursor): remove
208
209         * lfuns.h: remove LFUN_INSET_EDIT
210
211         * lyxfunc.C:
212         * tabular.C:
213         * text.C:
214         * text2.C:
215         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
216
217 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
218
219         * lyxfind.[Ch]: complete overhaul
220         * BufferView_pimpl.C:
221         * lyxfunc.C: adjust
222         * paragraph.[Ch] (insert): add
223
224 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
225
226         * BufferView.[Ch]:
227         * lyxtext.h:
228         * text.C: remove dead spellcheck code
229         
230 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
231
232         * dispatchresult.h: add a val setter
233
234         * cursor.C (dispatch): use a tempvar for data_[i]
235
236 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
237
238         * PosIterator.[Ch]: compile fix
239
240 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
241
242         * text.C (cursorPar): deactivate the cursor cache
243
244 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
245
246         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
247
248 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
249
250         * text3.C (dispatch): adjust for new DisptchResult semantics.
251
252         * lyxfunc.C (dispatch): handle update when return from
253         Cursor::dispatch, adjust for new DispatchResult semantics.
254
255         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
256         DispatchResult(true) mean to not update. Add class functions for
257         setting dispatched and update, as well as reading.
258
259         * cursor.C (dispatch): don't handle update here
260
261 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
262
263         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
264         * trans_mgr.C: adjust
265
266         * paragraph_funcs.C (readParToken): exception safety
267
268         * lyxvc.h: store the vcs pointer in a scoped_ptr
269         * lyxvc.C: adjust
270
271         * lyxsocket.C (serverCallback): exception safety
272
273         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
274
275         * ispell.C (clone): make it return a auto_ptr
276
277         * factory.C (createInset): exception safety
278         (readInset): exception safety
279
280         * bufferlist.C (newBuffer): exception safety
281
282         * Thesaurus.C (Thesaurus): use initialization for aik_
283
284         * MenuBackend.C (expandToc): exception safety.
285
286 2003-11-03  André Pönitz  <poenitz@gmx.net>
287
288         * buffer.C:
289         * buffer.h:
290         * bufferview_funcs.C: remove getInsetFromId()
291
292         * lyxcursor.[Ch]:
293         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
294
295         * lyxfunc.C:
296         * text2.C:
297         * text3.C: adjust
298
299 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
300
301         * PosIterator.C (distance, advance): new
302         * bufferview_funcs.[Ch] (put_selection_at): new
303         * iterators.[Ch] (lockPath): new
304
305 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
306
307         * iterators.[Ch] (asPosIterator): added
308         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
309         * PosIterator.[Ch]: added
310
311 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
312
313         * text3.C:
314         * lyxfunc.C:
315         * cursor.C (dispatch):
316         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
317
318         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
319         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
320         contructor, add a class function dispatched. Remove operator>=
321
322 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
323
324         * debug.C: only use the default constructor for debugstream
325         (lyxerr) here.
326
327         * main.C (main): include debug.h and setup the lyxerr streambuf
328         here.
329
330 2003-10-31  José Matos  <jamatos@lyx.org>
331
332         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
333
334         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
335         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
336         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
337         * paragraph_pimpl.C (simpleTeXSpecialC):
338         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
339         add LatexRunParams argument.
340
341         * exporter.C (Export): change call accordingly.
342
343         * latexrunparams.h: add new member to take care of the other backends.
344 2003-10-30  José Matos  <jamatos@lyx.org>
345
346         * buffer.C (makeLinuxDocFile, makeDocBookFile):
347         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
348         factorise code for paragraph output.
349         * buffer.[Ch]:
350         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
351         move functions.
352
353 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
354
355         * text3.C (dispatch):
356         * lyxfunc.C (dispatch):
357         * cursor.C (dispatch):
358         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
359
360         * dispatchresult.h: make the dispatch_result_t ctor explicit
361
362 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
363
364         * sgml.[Ch]:
365         * buffer.C: small refactoring of docbook stuff
366
367 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
368
369         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
370         meaning.
371
372 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
373
374         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
375         operator dispatch_result_t, and operators for == != and >=
376
377         * cursor.C (dispatch): adjust for operator dispatch_result_t
378         removal. comment out call to update
379
380         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
381
382 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
383
384         * text3.C:
385         * text2.C:
386         * text.C:
387         * lyxtext.h:
388         * lyxfunc.C:
389         * cursor.C:
390         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
391         (dispatch):
392
393         * dispatchresult.h: new file, DispatchResult broken out of
394         insets/insetbase.h
395
396         * Makefile.am (lyx_SOURCES): add dispatchresult.h
397
398 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
399
400         * text.C (rowBreakPoint): put a hack inside #if 0
401
402 2003-10-28  André Pönitz  <poenitz@gmx.net>
403
404         * lyxtext.h:
405         * metricsinfo.C:
406         * paragraph_funcs.C:
407         * rowpainter.C:
408         * text.C:
409         * text2.C: general cleanup (lots of small stuff)
410
411 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
412
413         * text2.C (cursorEnd): simple fix to the "end key goes to one
414         before the end on last row" bug
415
416 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
417
418         * text.C (backspace): fix the "zombie characters"
419
420 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
421
422         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
423
424 2003-10-27  André Pönitz  <poenitz@gmx.net>
425
426         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
427
428         * factory.C: handle new InsetPagebreak, InsetLine
429
430         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
431         and move handling into new InsetPagebreak, InsetLine
432
433         * BufferView_pimpl.C:
434         * LyXAction.C:
435         * ParagraphParameters.C:
436         * ParameterStruct.h:
437         * lyxfunc.C:
438         * lyxtext.h:
439         * paragraph.C:
440         * paragraph.h:
441         * paragraph_funcs.C:
442         * paragraph_pimpl.C:
443         * rowpainter.C:
444         * text.C:
445         * text2.C:
446         * text3.C: adjust
447
448 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
449
450         * text.C:
451         * lyxrow_funcs.[Ch]:
452         * Bidi.C:
453         * paragraph.C:
454         * lyxtext.h:
455         * rowpainter.C:
456         * text2.C:
457         * text3.C: remove lastPos uses in favour of Row::endpos
458
459 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
460
461         * undo.C (performUndoOrRedo): fix two crashes by setting a
462         cursor by hand and reordering some calls. Use bv->lockInset instead
463         of inset->edit because the latter loses cursor information
464
465 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
466
467         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
468         by Martin
469         (rowBreakPoint): fix width. change point to point + 1.
470         Add a missing check.
471
472 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
473
474         * MenuBackend.C:
475         * lyxfunc.C: fix (at least partly) the problems
476         with the Nav menu and headers inside branch insets
477         reported by Kayvan
478
479 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
480
481         * paragraph.C (getChar): add strong asserts
482
483         * lyxrow_funcs.C (lastPos): remove hideous hack
484
485         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
486         (fill): adjust to that (avoid an infinite loop)
487
488 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
489
490         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
491
492 2003-10-23  André Pönitz  <poenitz@gmx.net>
493
494         * RowList_fwd.h: change list<> to vector<> to gain speed
495         after suggestion from Alfredo
496
497 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
498
499         * lyxtext.h: move the bidi stuff from here...
500         * text.C: and here
501         * text2.C: and here
502         * Bidi.[Ch]: ... to here
503
504 2003-10-23  André Pönitz  <poenitz@gmx.net>
505
506         * lyxtext.h:
507         * text.C (isLastRow, isFirstRow): new functions
508
509         * paragraph.h: new width cache member
510
511         * rowpainter.C: replace RowList::iterator with Row & where possible
512
513         * lyxfunc.C: replace several view()->text with a single call
514
515         * toc.C: fix 'unused' warning
516
517 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
518
519         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
520         when woring with stream::pos_type
521         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
522
523 2003-10-22  André Pönitz  <poenitz@gmx.net>
524
525         * lyxtext.h:
526         * text.C: use Row & instead of RowList::iterator
527
528         * lyxrow.h: rename end() to endpos()
529
530         * rowpainter.C:
531         * text.C:
532         * text2.C: adjust
533
534 2003-10-22  Angus Leeming  <leeming@lyx.org>
535
536         * buffer.[Ch] (fully_loaded): new member function, returning true
537         only when the file has been loaded fully.
538         Used to prevent the premature generation of previews and by the
539         citation inset to prevent computation of the natbib-style label.
540
541         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
542         templates are all set up.
543
544         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
545
546 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
547
548         * text.C: fixed an "oops" in the "is a bit silly"
549         bug fix
550
551 2003-10-21  André Pönitz  <poenitz@gmx.net>
552
553         * FuncStatus.[Ch]: small stuff, whitespace
554
555         * lyxfont.[Ch]: operator<<() for debug reasons
556
557         * lyxfunc.C:
558         * lyxrow_funcs.C:
559         * lyxtext.h: whitespace, spelling
560
561         * paragraph.C: naming of variables
562
563         * text.C:
564         * text2.C: small stuff
565
566
567 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
568
569         * text.C: (1) finish off the inset display() work;
570         (2) fix the "is a bit silly" bug (accessing char
571         past end of par).
572
573 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
574
575         * text.C: re-introduce display() for insets, fixing the
576         various bugs (stretch of line above, math inset
577         positioning, ...)
578
579 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
580
581         * text.C (rightMargin): remove spurious semicolon
582
583         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
584         1415)
585
586 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
587
588         * text3.C: fix one crash due to wrong cursor def
589
590 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
591
592         * vc-backend.C (scanMaster): make the regex static
593
594         * LaTeX.C (scanAuxFile): make the regexs static
595
596         * text3.C (doInsertInset, dispatch, dispatch):
597         * text2.C (cursorUp, cursorDown):
598         * text.C (selectNextWordToSpellcheck):
599         * BufferView_pimpl.C (dispatch):
600         * lyxfunc.C (dispatch):  localDispatch -> dispatch
601
602 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
603
604         * lyxsocket.C: include <cerrno>
605
606 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
607
608         * lyxfunc.C (dispatch): remove textcache stuff
609
610         * bufferlist.C (release): remove textcache stuff
611         (closeAll): ditto
612
613         * TextCache.C: delete file
614         * TextCache.h: delete file
615
616         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
617
618         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
619         delete of the bv_->text.
620         (resizeCurrentBuffer): remove texcache stuff
621         (workAreaResize): ditto
622
623 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
624
625         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
626         action.
627
628 2003-10-16  André Pönitz  <poenitz@gmx.net>
629
630         * lyxrow.[Ch]:
631         * paragraph.h:
632         * rowpainter.C:
633         * text.C:
634         * text2.C:
635         * text3.C: speed up by storing y positions per paragraph plus per-row
636         offset instead of having a 'full' y position in the row.
637
638 2003-10-15  André Pönitz  <poenitz@gmx.net>
639
640         * iterators.[Ch]:
641         * iterators.[Ch]:
642         * undo.[Ch]: make undo aware of inner insets
643
644 2003-10-14  Angus Leeming  <leeming@lyx.org>
645
646         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
647         static member functions LyX::ref() and LyX::cref.
648         (lastfiles): new accessor functions for the new lastfiles_ member var.
649         (addLyXView, views_): add a new LyXView to the list of views_.
650         (updateInset): loop over all LyXViews to call their own updateInset
651         member function, returning a pointer to the Buffer owning the inset.
652
653         * BufferView_pimpl.C (loadLyXFile):
654         * MenuBackend.C (expandLastfiles):
655         * bufferlist.C (MenuWrite, QuitLyX):
656         lastfiles is no longer a global variable.
657         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
658
659         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
660         static function. Access through LyX::cref().emergencyCleanup().
661
662 2003-10-14  André Pönitz  <poenitz@gmx.net>
663
664         * iterators.[Ch]: new direct access to innermost LyXText and Inset
665
666         * undo.[Ch]: restoring part of 'undo in insets'
667
668         * Makefile.am:
669         * undo_funcs.[Ch]: merge with undo.[Ch]
670
671         * tabular.C: small cleansing stuff
672
673 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
674
675         * paragraph_funcs.C (readParToken): report unknown insets as error
676         boxes. Use the outer paragraph as location (also for unknown
677         tokens).
678
679         * factory.C (readInset): do not abort on reading an unknown inset.
680         Eat it and return 0.
681
682 2003-10-13  Angus Leeming  <leeming@lyx.org>
683
684         * lyx_main.C (LyX): remove call to setDisplayTranslator().
685
686         * lyxrc.C: displayTranslator is now a function,
687         declared in GraphicsTypes.h.
688
689 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
690
691         * format.C: new placeholder $$a to pass the socket address.
692
693         * bufferlist.[Ch]: new function getBufferFromTmp.
694
695         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
696           files in the temporary dir.
697
698 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
699
700         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
701
702         * Makefile.am: add lyxsocket.[Ch].
703
704         * lyx_main.C (error_handler): handle SIGPIPE.
705
706 2003-10-13  André Pönitz  <poenitz@gmx.net>
707
708         * BufferView_pimpl.C:
709         * lyxtext.h:
710         * text.C:
711         * text2.C:
712         * text3.C:
713         * undo_funcs.[Ch]: use paroffset_type instead of
714           ParagraphList::iterators to prevent multiple conversion
715           (and get a more robust interface)
716
717 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
718
719         * lyxfunc.C (dispatch): RESULT -> dispatch_result
720         * lyxtext.h: ditto
721         * text3.C (dispatch): ditto
722
723 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
724
725         * LaTeX.C (handleFoundFile): move the static to smaller scope,
726         move the onlyfile, use onlyfile instead of foundfile in a couple
727         of places.
728
729         * DepTable.C (update): flush the error stream a bit more
730
731 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
732
733         * lyxserver.C (callback): adjust
734
735         * lyxfunc.C (getStatus): add a missing brace in commented code
736         (ensureBufferClean): reindent
737         (dispatch): delete version taking a string
738
739 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
740
741         * LaTeX.C (deplog): move found file handlig from here...
742         (handleFoundFile): .. to new function here.
743         (deplog): make sure to discover several files mentioned on the
744         same log line.
745
746 2003-10-10  André Pönitz  <poenitz@gmx.net>
747
748         * lyxfunc.C:
749         * lyxtext.h:
750         * tabular.C:
751         * text.C:
752         * text2.C:
753         * text3.C: fix some of the tabular crashes
754
755 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
756
757         * MenuBackend.C (binding): put debug message into Debug::KBMAP
758
759         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
760
761 2003-10-09  André Pönitz  <poenitz@gmx.net>
762
763         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
764
765         * BufferView.C:
766         * BufferView_pimpl.C:
767         * bufferview_funcs.C:
768         * lyx_cb.C:
769         * lyxcursor.C:
770         * lyxfind.C:
771         * lyxfunc.C:
772         * lyxtext.h:
773         * text.C:
774         * text2.C:
775         * text3.C:
776         * text_funcs.[Ch]:
777         * textcursor.[Ch]:
778         * undo_funcs.C: adjust
779
780 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
781
782         * text2.C (incrementItemDepth): new function, use a backtracking
783         algorithm to discover the correct item depth.
784         (resetEnumCounterIfNeeded): new function, use a backtracking
785         algorithm to discover if counter reset is needed.
786         (setCounter): use them. Simplify a bit. Add different labels for
787         different item depths for itemize.
788
789         * paragraph.C (Paragraph): remove initialization of enumdepth
790         (operator=): ditto
791
792         * paragraph.h: get rid of enumdepth, and use itemdepth both for
793         enumerate and itemize. Change the type of itemdepth to signed char.
794
795 2003-10-08  André Pönitz  <poenitz@gmx.net>
796
797         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
798           thing assignable.
799         * text.C:
800         * text2.C: adjust
801
802         * tabular.[Ch]: fix crash after 'row-insert'
803
804 2003-10-08  Angus Leeming  <leeming@lyx.org>
805
806         Fix doxygen warnings.
807
808         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
809         Remove CutAndPaste:: prefix from header file declaration.
810
811         * LColor.h (fill): remove LColor:: prefix from declaration.
812
813         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
814         use lyx::depth_type rather than Paragraph::depth_type so that
815         header file and .C file match.
816
817         * converter.h (intToFormat): remove Converters:: prefix from declaration.
818
819         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
820         * aspell.C: \file aspell_local.C -> \file aspell.C
821         * gettext.C: \file gettext.C -> \file src/gettext.C
822         * gettext.h: \file gettext.h -> \file src/gettext.h
823         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
824         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
825         * text.C: \file text.C -> \file src/text.C
826
827         * toc.C: move comment so that doxygen is not confused.
828
829 2003-10-07  Angus Leeming  <leeming@lyx.org>
830
831         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
832
833 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
834
835         * aspell.C:
836         * aspell_local.h: add forgotten std::string's.
837
838 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
839
840         * LaTeXFeatures.C:
841         * LyXAction.C:
842         * factory.C:
843         * lfuns.h:
844         * lyxfunc.C:
845         * text3.C: The Box patch. Fancybox support, minipage, parbox
846
847 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
848
849         * CutAndPaste.h:
850         * DepTable.h:
851         * FloatList.h:
852         * LaTeXFeatures.h:
853         * ParagraphParameters.h:
854         * TextCache.h:
855         * Thesaurus.h:
856         * bufferlist.h:
857         * exporter.h:
858         * importer.h:
859         * lastfiles.h:
860         * lyxfind.h:
861         * lyxfont.h:
862         * lyxlex.h:
863         * lyxtextclasslist.h:
864         * messages.h:
865         * paragraph.h:
866         * paragraph_pimpl.C:
867         * textcursor.h: add <string> and other small fixes to make Lars'
868         std::string patch compile with STLport.
869
870 2003-10-06  Angus Leeming  <leeming@lyx.org>
871
872         * LColor.h: Add missing #include <string>.
873
874 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
875
876         * All most all file in all subdirs: Make <string> be the prefered
877         way of getting to std::string, add using declarations.
878
879 2003-10-06  André Pönitz  <poenitz@gmx.net>
880
881         * metricsinfo.C: initialize LyXFont before changing attribute.
882         (fixes the 'math in \emph is upright' bug)
883
884 2003-10-06  André Pönitz  <poenitz@gmx.net>
885
886         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
887
888 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
889
890         * graph.C:
891         * paragraph_pimpl.C: Small fixes to build using STLport
892
893 2003-10-02  André Pönitz  <poenitz@gmx.net>
894
895         * lyxfunc.C:
896         * text3.C: move handling of LFUN_DEPTH *; fix #1360
897
898 2003-10-01  André Pönitz  <poenitz@gmx.net>
899
900         * factory.C: assert early
901
902 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
903
904         * lyx_main.C: remove the global debug object
905
906         * debug.h: adjust for new debugstream
907
908         * debug.C: adjust for new debugstream and keep the global debug
909         object here.
910
911 2003-09-22  Angus Leeming  <leeming@lyx.org>
912
913         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
914         of g++ which otherwise complain that the scoped_ptr destructor can't delete
915         an incomplete class LyXFont.
916
917 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
918
919         * factory.C: bug fix in branches
920
921 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
922
923         * lyxfunc.C (processKeySym): adjust
924         (dispatch): adjust
925         (dispatch): change arg name from ev to func, adjust
926         (sendDispatchMessage): ditto
927
928         * lyx_main.C (defaultKeyBindings): adjust keybindings
929         (deadKeyBindings): ditto
930
931         * kbsequence.C (addkey): return a FuncRequest
932
933         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
934
935         * kbmap.C (bind): take a FuncRequest as arg, adjust
936         (read): adjust
937         (lookup): adjust
938         (defkey): change to take a FuncRequest as arg, adjust
939         (findbinding): take a FuncRequest as arg, adjust.
940
941         * funcrequest.h (operator=): added
942
943         * funcrequest.C (FuncRequest): default kb_action changed from
944         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
945
946         * buffer.C (dispatch): simplify
947         (dispatch): adjust to take a FuncRequest as arg, adjust
948
949         * boost.C (assertion_failed): change assertion message slightly
950
951         * ToolbarBackend.C (read): simplify
952
953         * MenuBackend.C (binding): adjust call to findbinding, add a
954         message if no binding is found.
955         (read): simplify
956         (expandToc): correct by adding a empty FuncRequest
957
958         * LyXAction.C: include <boost/assert.hpp>
959         (isPseudoAction): delete function
960         (LookupFunc): change name to...
961         (lookupFunc): this. change return type to FuncRequest.
962         (getActionName): take kb_action as arg, simplify
963         (funcHasFlag): add an assert, simplify.
964
965 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
966
967         * toc.C (action): return a FuncRequest, simplify
968
969         * lyxfunc.C (processKeySym): adjust
970         (getStatus): delete version that takes an int.
971         (getStatus): adjust
972         (dispatch): delete version that takes action as int
973         (dispatch): adjust
974         (sendDispatchMessage): simplify and adjust
975
976         * funcrequest.C (getArg): take unsigned int as arg
977
978         * ToolbarBackend.C (read): adjust
979         (add): delete version that takes func as a string.
980         (getIton): take a FuncRequest as arg
981
982         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
983         action.
984
985         * MenuBackend.C (MenuItem): add a new construct that only takes a
986         Kind, simplify the constructor use for submenus.
987         (add): adjust
988         (expandLastfiles): adjust
989         (expandDocuments): adjust
990         (expandFormats): adjust
991         (expandFloatListInsert): adjust
992         (expandFloatInsert): adjust
993         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
994
995         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
996         Remove class variables lyx_pseudo_map and lyx_arg_map
997
998         * LyXAction.C (searchActionArg): delete function
999         (getPseudoAction): delete function
1000         (retrieveActionArg): delete function
1001         (LookupFunc): make it return kb_action, simplify.
1002         (getActionName): simplify
1003
1004         * factory.C (createInset): fix new bug
1005
1006 2003-09-19  Angus Leeming  <leeming@lyx.org>
1007
1008         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1009         masterFilename_ parameter in the include inset.
1010
1011         * factory.C (createInset): changes due to the changes to InsetInclude.
1012
1013 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1014
1015         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1016
1017 2003-09-18  Angus Leeming  <leeming@lyx.org>
1018
1019         * buffer.C:
1020         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1021         Inset::fillWithBibKeys.
1022         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1023
1024 2003-09-18  Angus Leeming  <leeming@lyx.org>
1025
1026         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1027         variables.
1028         (ctor): pass and store a 'Buffer const &'
1029         (buffer): new member function.
1030
1031         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1032         '*this' to the LaTeXFeatures ctor.
1033
1034 2003-09-18  Angus Leeming  <leeming@lyx.org>
1035
1036         * LColor.h:
1037         * lyxfont.C:
1038         * lyxfont.h:
1039         * lyxtext.h:
1040         * text.C: rename EnumLColor as LColor_color.
1041
1042 2003-09-18  Angus Leeming  <leeming@lyx.org>
1043
1044         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1045         remove #include "insets/insetbase.h" from cursor.h.
1046
1047 2003-09-18  Angus Leeming  <leeming@lyx.org>
1048
1049         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1050         InsetOld_code to remove #include "inset.h".
1051
1052         * iterators.C: add #include "insets/inset.h"
1053
1054 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1055
1056         * BufferView.C: remove more locking stuff that apparently doesn't
1057         do anything sensible.
1058
1059 2003-09-16  André Pönitz  <poenitz@gmx.net>
1060
1061         * paragraph.[Ch]:
1062         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1063           performance boost.
1064
1065 2003-09-16  Angus Leeming  <leeming@lyx.org>
1066
1067         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1068
1069         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1070         arg/return type.
1071
1072         * paragraph.h: remove #include "lyxfont.h". Forward declare
1073         LyXFont_size.
1074
1075 2003-09-16  Angus Leeming  <leeming@lyx.org>
1076
1077         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1078         of support/textutils.h.
1079         (isWord): move the contents of support/textutils.h's IsWordChar here.
1080
1081         * buffer.C:
1082         * lyxfind.C:
1083         * rowpainter.C:
1084         * text.C:
1085         * text2.C: add #include "paragraph.h".
1086
1087         * rowpainter.C:
1088         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1089
1090 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1091
1092         * main.C:
1093         * lyx_main.C:
1094         * lyx_cb.C:
1095         * buffer.C:
1096         * LaTeX.C: use namespace alias for lyx::support::os
1097
1098 2003-09-16  Angus Leeming  <leeming@lyx.org>
1099
1100         * bufferparams.C:
1101         * bufferview_funcs.C:
1102         * factory.C:
1103         * lyxfunc.C:
1104         * paragraph_pimpl.C:
1105         * rowpainter.C:
1106         * text.C: add #include "LColor.h".
1107
1108 2003-09-16  Angus Leeming  <leeming@lyx.org>
1109
1110         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1111         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1112         return LyXFont &.
1113         Store the FontBits::color variable as an int rather than as an
1114         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1115         file.
1116
1117         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1118         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1119         string calls together.
1120
1121         * lyxrc.C: add #include "LColor.h".
1122
1123 2003-09-15  Angus Leeming  <leeming@lyx.org>
1124
1125         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1126         a cow_ptr.
1127
1128 2003-09-15  Angus Leeming  <leeming@lyx.org>
1129
1130         * LColor.h: add an EnumLColor wrapper for LColor::color.
1131
1132         * lyxfont.[Ch] (color, setColor, realColor):
1133         * lyxtext.h, text.C (backgroundColor):
1134         pass EnumLColor args to/from the functions, rather than LColor::color
1135         ones.
1136
1137         * lyxfont.h:
1138         * lyxtext.h: forward declare EnumLColor.
1139
1140         * lyx_main.C: add #include "LColor.h".
1141
1142 2003-09-15  Angus Leeming  <leeming@lyx.org>
1143
1144         * .cvsignore: add lyx-gtk.
1145
1146 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1147
1148         * Chktex.C
1149         * LaTeX.C
1150         * LaTeXFeatures.C
1151         * ParagraphParameters.C
1152         * Spacing.C
1153         * buffer.C
1154         * bufferparams.C
1155         * bufferview_funcs.C
1156         * chset.C
1157         * counters.C
1158         * funcrequest.C
1159         * lyxfont.C
1160         * lyxgluelength.C
1161         * lyxlength.C
1162         * paragraph.C
1163         * paragraph_funcs.C
1164         * text3.C
1165         * vc-backend.C: remove usage of STRCONV
1166
1167 2003-09-15  Angus Leeming  <leeming@lyx.org>
1168
1169         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1170         explicitly define the color passed to the painter.
1171
1172 2003-09-15  Angus Leeming  <leeming@lyx.org>
1173
1174         * bufferparams.C (BufferParams): reorder member initializers to avoid
1175         compiler warning.
1176
1177 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1178
1179         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1180         * text.C (updateRowPositions): remove an unusual nop
1181
1182 2003-09-12  André Pönitz  <poenitz@gmx.net>
1183
1184         * BufferView_pimpl.C:
1185         * Bullet.C:
1186         * layout.h:
1187         * lyxfunc.C:
1188         * lyxlayout.[Ch]:
1189         * lyxtextclass.C:
1190         * rowpainter.C:
1191         * text.C:
1192         * text2.C:
1193         * Counters.[Ch]: finish the 'automatic counters' job
1194
1195 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1196
1197         * aspell.C: include <boost/assert.cpp> (compile fix)
1198
1199 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1200
1201         * boost.C (assertion_failed): use lyx::support::abort instead of
1202         assert.
1203
1204 2003-09-10  Angus Leeming  <leeming@lyx.org>
1205
1206         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1207         with their _fwd progeny.
1208
1209 2003-09-09  Angus Leeming  <leeming@lyx.org>
1210
1211         134 files throughtout the source tree: replace 'using namespace abc;'
1212         directives with the appropriate 'using abc::xyz;' declarations.
1213
1214 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1215
1216         * boost.C (emergencyCleanup): moved here from LAssert.c
1217         (assertion_failed): new function, called by BOOST_ASSERT
1218
1219         * several files: change Assert to BOOST_ASSERT
1220
1221 2003-09-09  Angus Leeming  <leeming@lyx.org>
1222
1223         * buffer.[Ch]: Add an Impl class and move Buffer's member
1224         variables into it. As a result move several header files out of
1225         buffer.h.
1226
1227         Add header files to lots of .C files all over the tree as a result.
1228
1229 2003-09-09  Angus Leeming  <leeming@lyx.org>
1230
1231         * buffer.[Ch]: make Buffer's member variables private. Add
1232         accessor functions.
1233
1234         Lots of changes all over the tree as a result.
1235
1236 2003-09-08  Angus Leeming  <leeming@lyx.org>
1237
1238         * graph.C: #include <config.h>.
1239
1240 2003-09-08  Angus Leeming  <leeming@lyx.org>
1241
1242         * BranchList.C:
1243         * BufferView.C:
1244         * BufferView_pimpl.C:
1245         * CutAndPaste.C:
1246         * DepTable.C:
1247         * LaTeX.C:
1248         * LaTeXFeatures.C:
1249         * LyXAction.C:
1250         * MenuBackend.C:
1251         * TextCache.C:
1252         * aspell.C:
1253         * buffer.C:
1254         * bufferlist.C:
1255         * changes.C:
1256         * chset.C:
1257         * converter.C:
1258         * counters.C:
1259         * debug.C:
1260         * graph.C:
1261         * ispell.C:
1262         * lyx_cb.C:
1263         * lyxfind.C:
1264         * lyxfunc.C:
1265         * lyxlex_pimpl.C:
1266         * lyxrc.C:
1267         * lyxrow.C:
1268         * paragraph.C:
1269         * rowpainter.C:
1270         * texrow.C:
1271         * text.C:
1272         * text2.C:
1273         * toc.C: remove redundant using directives.
1274
1275 2003-09-07  Angus Leeming  <leeming@lyx.org>
1276
1277         * LaTeXFeatures.h: remove #include "support/types.h".
1278         * ToolbarBackend.h: remove #include <algorithm>.
1279         * changes.h: remove #include <ctime>.
1280         * debug.h: remove #include <iosfwd>.
1281         * graph.h: remove #include "support/std_string.h".
1282         * lyx_main.h: remove #include <csignal>.
1283         * lyxlex_pimpl.h: remove #include <fstream>.
1284         * sgml.h: remove #include <algorithm>, <utility>.
1285         * toc.h: remove #include "support/std_ostream.h".
1286         Add #include <iosfwd>.
1287
1288 2003-09-07  Angus Leeming  <leeming@lyx.org>
1289
1290         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1291
1292         * converter.h: forward declare LatexRunParams.
1293         * encoding.h: remove #include "lyxrc.h".
1294         * lyxtext.h: remove #include "LColor.h".
1295         * lyxtextclass.h: remove #include "support/types.h".
1296         * trans.h: remove #include "tex-accent.h".
1297         * trans_mgr.h: remove #include "tex-accent.h".
1298         * insets/inset.h: remove #include "support/types.h", <vector>.
1299         * insets/insetcollapsable.h: remove #include "LColor.h".
1300         * insets/insetinclude.h: remove #include "dimension.h".
1301         * insets/insetlatexaccent.h: remove #include "dimension.h".
1302         * insets/insetoptarg.h:: remove #include "insettext.h".
1303         * insets/insettext.h: remove #include "dimension.h",
1304         <boost/shared_ptr.hpp>
1305
1306         * insets/renderers.h: add #include "dimension.h".
1307         * insets/updatableinset.h: add #include "support/types.h".
1308
1309         * many .C files: Associated changes.
1310
1311 2003-09-06  Angus Leeming  <leeming@lyx.org>
1312
1313         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1314         one, inside testInvariant.
1315
1316         * PrinterParams.C: new file.
1317         * PrinterParams.[Ch]: move the function bodies out of line.
1318
1319 2003-09-06  Angus Leeming  <leeming@lyx.org>
1320
1321         * ParagraphParameters.h: forward declare ParameterStruct rather than
1322         including its header file.
1323         (depth): moved out-of-line.
1324
1325 2003-09-06  Angus Leeming  <leeming@lyx.org>
1326
1327         * BufferView_pimpl.h:
1328         * kbmap.h:
1329         * kbsequence.h:
1330         * lyxfunc.h: forward declare LyXKeySym rather than
1331         #include "frontends/LyXKeySym.h".
1332
1333         * BufferView_pimpl.C:
1334         * kbmap.C:
1335         * kbsequence.C:
1336         * lyxfunc.C: associated changes.
1337
1338 2003-09-06  Angus Leeming  <leeming@lyx.org>
1339
1340         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1341         As a result, can remove the #include "insets/inset.h" from BufferView.h
1342
1343 2003-09-06  Angus Leeming  <leeming@lyx.org>
1344
1345         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1346         As a result, can remove the #include "insets/inset.h" from BufferView.h
1347
1348 2003-09-06  Angus Leeming  <leeming@lyx.org>
1349
1350         * buffer_funcs.C:
1351         * buffer.h:
1352         * bufferlist.C:
1353         * BufferView.C:
1354         * bufferview_funcs.C:
1355         * BufferView_pimpl.C:
1356         * CutAndPaste.C:
1357         * lyx_cb.C:
1358         * lyxfunc.C:
1359         * paragraph.h:
1360         * ParagraphParameters.C:
1361         * tabular.C:
1362         * text3.C:
1363         * toc.C:
1364         * undo_funcs.C:
1365         * frontends/controllers/ControlDocument.C:
1366         * insets/insetcaption.C: rearrange the #includes into some sort of
1367         coherent order.
1368
1369         * buffer.h: remove #includes ErrorList.h, undo.h
1370
1371 2003-09-06  Angus Leeming  <leeming@lyx.org>
1372
1373         * support/types.h: add a 'depth_type' typedef, used to store the
1374         nesting depth of a paragraph.
1375
1376         * paragraph.h:
1377         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1378         defining explicitly.
1379
1380         * buffer.h:
1381         * paragraph_funcs.h:
1382         * ParagraphParameters.h:
1383         * sgml.h: use lyx::depth_type rather than Paragraph or
1384         ParameterStruct's depth_type.
1385
1386         * buffer.h
1387         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1388
1389         * BufferView.C:
1390         * BufferView_pimpl.C:
1391         * CutAndPaste.C:
1392         * ParagraphParameters.C:
1393         * buffer_funcs.C:
1394         * bufferlist.C:
1395         * bufferview_funcs.C:
1396         * lyx_cb.C:
1397         * lyxfunc.C:
1398         * tabular.C:
1399         * text3.C:
1400         * toc.C:
1401         * undo_funcs.C:
1402         * frontends/LyXView.C:
1403         * frontends/controllers/ControlDocument.C:
1404         * frontends/controllers/ControlErrorList.C:
1405         * insets/insetbibitem.C:
1406         * insets/insetbranch.C:
1407         * insets/insetcaption.C:
1408         * insets/insetcollapsable.C:
1409         * insets/insetenv.C:
1410         * insets/insetert.C:
1411         * insets/insetfloat.C:
1412         * insets/insetfoot.C:
1413         * insets/insetfootlike.C:
1414         * insets/insetnewline.C:
1415         * insets/insetquotes.C:
1416         * insets/insettabular.C:
1417         * insets/insettext.C:
1418         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1419
1420         * frontends/controllers/ControlChanges.C: #include "changes.h".
1421
1422 2003-09-06  Angus Leeming  <leeming@lyx.org>
1423
1424         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1425         than #including paragraph.h.
1426
1427         * ParagraphList.h:
1428         * RowList.h: deleted. Superfluous.
1429
1430         * CutAndPaste.h:
1431         * iterators.h:
1432         * lyxcursor.h:
1433         * lyxtext.h:
1434         * text_funcs.h:
1435         * undo.h:
1436         * undo_funcs.h:
1437         * insets/inset.h:
1438         * insets/insettext.h: use ParagraphList_fwd.h rather than
1439         ParagraphList.h.
1440
1441         * paragraph.h: don't forward declare ParagraphList.
1442
1443         * buffer.h:
1444         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1445         rather than ParagraphList.h. paragraph.h is still needed for the
1446         Paragraph::depth_type parameters.
1447
1448         * textcursor.h: enable it to compile stand-alone in light of the
1449         above changes.
1450
1451         * bufferview_funcs.C:
1452         * iterators.C:
1453         * lyxfunc.C:
1454         * lyxrow_funcs.C:
1455         * paragraph.C:
1456         * rowpainter.C:
1457         * text.C:
1458         * text2.C:
1459         * text3.C:
1460         * text_funcs.C:
1461         * textcursor.C:
1462         * undo.C:
1463         * frontends/controllers/ControlParagraph.C:
1464         * frontends/controllers/ControlTabular.C:
1465         * insets/insetmarginal.C:
1466         * insets/insetminipage.C:
1467         * insets/insetnote.C:
1468         * insets/insetoptarg.C: add header files needed to compile again.
1469
1470 2003-09-06  Angus Leeming  <leeming@lyx.org>
1471
1472         * RowList_fwd.h: new file, forward-declaring Row rather than
1473         #including lyxrow.h.
1474
1475         * lyxrow_funcs.h:
1476         * lyxtext.h:
1477         * paragraph.h:
1478         * insets/insettext.h: use it instead of RowList.h
1479
1480         * bufferview_funcs.C:
1481         * lyxfunc.C:
1482         * lyxrow_funcs.C:
1483         * paragraph.C:
1484         * rowpainter.C:
1485         * text.C:
1486         * text2.C:
1487         * text3.C: #include "RowList.h".
1488
1489 2003-09-05  Angus Leeming  <leeming@lyx.org>
1490
1491         * factory.C (createInset):
1492         * vspace.C (c-tor): replace sscanf call with an istringstream.
1493         * ispell.C: re-add missing HP/UX headers.
1494         * lyxserver.C: re-add missing  os2 headers.
1495
1496 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1497
1498         * BranchList.C:
1499         * graph.C:
1500         * ispell.C:
1501         * lastfiles.C:
1502         * lyx_cb.C:
1503         * lyxserver.C:
1504         * texrow.C:
1505         * text3.C: re-add missing system headers, needed for 2.95.2.
1506
1507 2003-09-05  Angus Leeming  <leeming@lyx.org>
1508
1509         Changes most place everywhere due to the removal of using directives
1510         from support/std_sstream.h.
1511
1512 2003-09-05  Angus Leeming  <leeming@lyx.org>
1513
1514         Replace LString.h with support/std_string.h,
1515         Lsstream.h with support/std_sstream.h,
1516         support/LIstream.h with support/std_istream.h,
1517         support/LOstream.h with support/std_ostream.h.
1518
1519         Changes resulting throughout the tree.
1520
1521 2003-09-05  Angus Leeming  <leeming@lyx.org>
1522
1523         * sgml.h: ensure that the header file can be compiled stand-alone.
1524         * *.C: strip out redundant #includes. (320 in total.)
1525
1526 2003-09-04  Angus Leeming  <leeming@lyx.org>
1527
1528         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1529         here (from getPackages).
1530
1531         * debug.[Ch]: add a new EXTERNAL tag.
1532
1533 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1534
1535         * text2.C (cursorEnd): simplify
1536         (setCursor): adjust
1537         (getColumnNearX): adjust
1538
1539         * text.C (computeBidiTables): adjust
1540         (fill): adjust
1541
1542         * rowpainter.C (paintChars): adjust
1543         (paintSelection): adjust
1544         (paintChangeBar): adjust
1545         (paintText): adjust
1546
1547         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1548         lastPos instead.
1549         (numberOfSeparators): adjust
1550
1551 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1552
1553         * LyXAction.C:
1554         * box.[Ch]:
1555         * lfuns.h:
1556         * lyxfunc.C:
1557         * text3.C: Restricts the mouse click functionality
1558         of insets like bibtex, include, toc and floatlist to the visible
1559         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1560         up the dialogs. Cursor has to be in front of the inset (i.e.
1561         start of row) for this to function.
1562
1563 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1564
1565         * bufferview_funcs.C (currentState): output row information
1566
1567 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1568
1569         * bufferview_funcs.C (currentState): output paragraph position
1570
1571 2003-09-04  Angus Leeming  <leeming@lyx.org>
1572
1573         * FloatList.h: move out #include "Floating.h".
1574         * LaTeX.h: move out #include "DepTable.h".
1575         * LyXAction.h: move out #include "funcrequest.h".
1576         * buffer.h: move out #include "author.h", "iterators.h".
1577         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1578         * lyx_main.h: move out #include "errorlist.h".
1579         * lyxfunc.h: move out #include "FuncStatus.h".
1580         * lyxtext: move out #include "lyxcursor.h".
1581         * paragraph_pimpl.h: move out #include "counters.h".
1582
1583 2003-09-03  Angus Leeming  <leeming@lyx.org>
1584
1585         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1586         preamble_snippets list, enabling us to add snippets to the preamble
1587         only if the snippet was not there already.
1588
1589 2003-09-04  Angus Leeming  <leeming@lyx.org>
1590
1591         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1592
1593 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1594
1595         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1596         update
1597
1598 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1599
1600         * BranchList.C: point fix, earlier forgotten
1601
1602 2003-09-02  Angus Leeming  <leeming@lyx.org>
1603
1604         * box.C (contains): renamed from 'contained' after a fantastic
1605         amount of hot air.
1606
1607 2003-09-02  John Levon  <levon@movementarian.org>
1608
1609         * BufferView.C:
1610         * lyxcursor.h:
1611         * lyxcursor.C:
1612         * lyxfunc.C:
1613         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1614
1615 2003-09-02  John Levon  <levon@movementarian.org>
1616
1617         * text2.C: simplification of cursorEnd(), including partial
1618         fix for bug 1376
1619
1620 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1621
1622         * buffer.C (readFile): add a space
1623
1624 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1625
1626         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1627
1628 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1629
1630         * buffer.C (readFile): new function, take a filename and a
1631         ParagraphList::iterator
1632         (readFile): adjust
1633         (readFile): adjust, make it private. don't use setStream, make
1634         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1635         always contain the filename.
1636
1637         * BufferView.C (insertLyXFile): simplify and make it work for
1638         gzipped files.
1639
1640 2003-08-30  John Levon  <levon@movementarian.org>
1641
1642         * Makefile.am: fix dist (from Kayvan)
1643
1644 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1645
1646         * most files: change to use const Buffer refs
1647
1648 2003-08-27  André Pönitz  <poenitz@gmx.net>
1649
1650         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1651         on top of ownerPar().
1652
1653 2003-08-27  John Levon  <levon@movementarian.org>
1654
1655         * funcrequest.C: properly initialise POD members
1656
1657 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1658
1659         * lyxtext.h (top_y): move top_y from here
1660         * text.C:
1661         * text2.C:
1662         * text3.C:
1663         * BufferView.[Ch]:
1664         * BufferView_pimpl.[Ch]: to here
1665         * frontends/screen.C:
1666         * insets/insettabular.C:
1667         * insets/insettext.C: adjust
1668         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1669
1670 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1671
1672         * BufferView.[Ch]:
1673         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1674
1675 2003-08-26  André Pönitz  <poenitz@gmx.net>
1676
1677         * paragraph_func.[Ch] (outerPar): new function
1678
1679         * paragraph.C:
1680         * paragraph_funcs.C:
1681         * paragraph_funcs.h:
1682         * paragraph_pimpl.C:
1683         * text2.C: remove Inset::par_owner
1684
1685 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1686
1687         * lyxrow_funcs.C:
1688         * lyxtext.h:
1689         * text.C:
1690         * text2.C: eliminates the needFullRow/display() stuff
1691         altogether, putting the logic in metrics/draw in the insets.
1692
1693 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1694
1695         * text2.C (redoParagraphInternal, redoParagraphs):
1696         * text.C (redoParagraph): add a call to updateRowPositions at the
1697         end of each 'metrics-like' call. Remove all others.
1698         (getRow): remove the 'y-computing' version.
1699         (getRowNearY): do not compute nor return the real y. Solve the
1700         'y < 0' problem and simplify.
1701
1702 2003-08-22  Angus Leeming  <leeming@lyx.org>
1703
1704         * *.[Ch]: clean-up of licence and author blurbs.
1705         Also move config.h out of a few .h files and into a few .C files.
1706
1707 2003-08-22  André Pönitz  <poenitz@gmx.net>
1708
1709         * lyxrow.[Ch]: add x_ and *fill_ members
1710
1711         * lyxtext.h:
1712         * text.C:
1713         * rowpainter.C:
1714         * text2.C: adjust/remove prepareToPrint() calls
1715
1716 2003-08-22  André Pönitz  <poenitz@gmx.net>
1717
1718         * lyxrow.[Ch]: add  end_ member
1719
1720         * lyxrow_funcs.C: use LyXRow::end_
1721
1722         * lyxtext.h (singleWidth): add LyXFont parameter
1723
1724         * rowpainter.C:
1725         * text2.C: adjust LyXText::singleWidth() calls
1726
1727         * text.C (redoParagraph): simplify row breaking logic
1728
1729
1730 2003-08-19  André Pönitz  <poenitz@gmx.net>
1731
1732         * funcrequest.C: initialize button_ member
1733
1734         * text3.C:
1735         * rowpainter.[Ch]: interface consolidation
1736
1737 2003-08-18  André Pönitz  <poenitz@gmx.net>
1738
1739         * BufferView.C:
1740         * BufferView_pimpl.C:
1741         * lyxfind.C:
1742         * paragraph_funcs.C:
1743         * rowpainter.C:
1744         * text3.C: remove LyXScreen::draw() and fitCursor calls
1745
1746         * BranchList.h: remove spurious semicolons
1747
1748         * MenuBackend.C: fix branchlist related crash
1749
1750 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1751
1752         * BranchList.[Ch]:
1753         * InsetList.[Ch]:
1754         * LColor.[Ch]:
1755         * LyXAction.C:
1756         * Makefile.am:
1757         * MenuBackend.[Ch]:
1758         * bufferparams.[Ch]:
1759         * factory.C:
1760         * lfuns.h:
1761         * lyxfunc.C:
1762         * text3.C: implements the 'branch inset'
1763         idea. This allows the output of various versions of a document
1764         from a single source version, selectively outputing or suppressing
1765         output of parts of the text.
1766         This implementation contains a 'branch list editor' in a separate
1767         tab of the document settings dialog. Branches are user definable
1768         and have a "display colour" to distinguish them on-screen.
1769
1770         ColorHandler was somewhat cleaned up.
1771         (1) make possible a dynamically growing LColor list by allowing
1772         the graphic context cache to grow along (vector);
1773         (2) eliminate an IMHO unnecessary step in colour allocation.
1774
1775 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1776
1777         * BufferView_pimpl.C: compile fix
1778
1779 2003-08-15  André Pönitz  <poenitz@gmx.net>
1780
1781         * rowpainter.C: remove extra metrics calls
1782
1783         * lyxtext.h: merge the two constructors into a single one,
1784           pass reference to owner's par list
1785
1786         * BufferView_pimpl.C:
1787         * text.C:
1788         * text2.C: adjust
1789
1790 2003-08-15  André Pönitz  <poenitz@gmx.net>
1791
1792         * lyxrow_funcs.[Ch]:
1793         * lyxtext.h:
1794         * paragraph.h:
1795         * paragraph_funcs.C:
1796         * rowpainter.C:
1797         * text.C:
1798         * text2.C:
1799         * text3.C:
1800         * text_funcs.C: split LyXText::rowlist_ into individual
1801         Paragraph::rows_ chunks
1802
1803         * BufferView.[Ch]:
1804         * BufferView_pimpl.[Ch]:
1805         * lyxfind.C:
1806         * lyxtext.h:
1807         * text3.C: remove toggleSelection()
1808
1809 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1810
1811         * bufferlist.C: beautify two alerts (shorter text of buttons)
1812         * buffer.C: Remove redundant ' ' from message
1813         * tabular.h:
1814         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1815         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1816         rename VALIGN_CENTER to VALIGN_MIDDLE
1817
1818 2003-08-11  André Pönitz  <poenitz@gmx.net>
1819
1820         * lyxtext.h (getPar):
1821         * text.C: new function
1822
1823 2003-08-11  André Pönitz  <poenitz@gmx.net>
1824
1825         * Makefile.am:
1826         * tracer.[Ch]: remove unneeded files
1827
1828         * InsetList.[Ch]: remove resizeInsetsLyXText()
1829
1830         * lyxtext.h:
1831         * text.C:
1832         * text2.C:
1833         * text3.C: merge insertParagraphs() and appendParagraph()
1834         remove breakAgain(), update()
1835
1836         * BufferView_pimpl.[Ch]:
1837         * bufferview_funcs.[Ch]:
1838         * lyxfunc.C:
1839         * paragraph.[Ch]:
1840         * rowpainter.C:
1841         * tabular.C: adjust after text & InsetList changes.
1842
1843 2003-08-08  André Pönitz  <poenitz@gmx.net>
1844
1845         * text.C (insertChar, backspace): replace rowlist fiddling
1846         with rebreak of full par
1847
1848         * lyxtext.h:
1849         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1850         checkParagraph, updateInset): removed
1851
1852 2003-08-07  André Pönitz  <poenitz@gmx.net>
1853
1854         * paragraph.C:
1855         * text3.C: merge some LFUN handlers, remove dead code
1856
1857 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1858
1859         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1860
1861 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1862
1863         * text2.C (DEPM): fix part of bug 1255 and 1256
1864
1865 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1866
1867         * BufferView_pimpl.C (workAreaDispatch): change to use
1868         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1869         that are no mouse related.
1870
1871 2003-08-05  André Pönitz  <poenitz@gmx.net>
1872
1873         * BufferView.[Ch]:
1874         * BufferView_pimpl.[Ch]:
1875         * bufferview_funcs.C:
1876         * text2.C:
1877         * text3.C: rip out "deep update"
1878
1879         * textcursor.[Ch] (last_sel_cursor): remove unused member
1880
1881 2003-08-04  André Pönitz  <poenitz@gmx.net>
1882
1883         * BufferView.[Ch]:
1884         * BufferView_pimpl.[Ch]:
1885         * ParagraphParameters.C:
1886         * bufferview_funcs.C:
1887         * lyx_cb.C:
1888         * lyxfind.C:
1889         * lyxfunc.C:
1890         * text.C:
1891         * text2.C:
1892         * text3.C: replace "complicated" BufferView::update(...) calls with
1893         simpler ones.
1894
1895         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1896
1897 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1898
1899         * Makefile.am (lyx_SOURCES): add paper.h
1900
1901 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1902
1903         * Makefile.am: move things around so that both lyx-qt and
1904         lyx-xforms can be built (according to --with-frontend). Then lyx
1905         is a symbolic link to lyx-[firstfrontend]
1906
1907 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1908
1909         * Always use std::endl with lyxerr
1910
1911 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1912
1913         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1914
1915 2003-08-01  André Pönitz  <poenitz@gmx.net>
1916
1917         * BufferView.[Ch]:
1918         * BufferView_pimpl.[Ch]:
1919         * lyxfunc.C:
1920         * text3.C: merge BufferView::repaint() and BufferView::update()
1921
1922 2003-08-01  José Matos  <jamatos@lyx.org>
1923
1924         * buffer.[Ch]: file_format is no longer a buffer data element.
1925
1926 2003-08-01  André Pönitz  <poenitz@gmx.net>
1927
1928         * BufferView.C:
1929         * lyxtext.h:
1930         * text.C:
1931         * text2.C: make redoParagraph more independent of current cursor
1932
1933         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1934         * text.C:
1935         * text2.C: remove unneeded members
1936
1937 2003-07-30  André Pönitz  <poenitz@gmx.net>
1938
1939         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1940
1941         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1942           create a single function...
1943
1944         * paragraph_funcs.C (moveItem): ... here.
1945
1946         * text.C:
1947           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1948
1949 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1950
1951         * LColor.[Ch]: Add comment and greyedout logical colors.
1952
1953 2003-07-30  André Pönitz  <poenitz@gmx.net>
1954
1955         * tabular.C: don't use Assert too heavily. This crashes where it
1956           shouldn't
1957
1958 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1959
1960         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1961         is disabled (bug 1232)
1962
1963 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1964
1965         * factory.C: limited 'arg' scope
1966
1967 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1968
1969         * factory.C: fixed Note submenu issues
1970
1971 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1972
1973         * factory.C: submenu for Note/Comment/Greyedout
1974
1975 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1976
1977         * lyx_main.C (LyX):
1978         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1979
1980 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1981
1982         * LaTeXFeatures.C:
1983         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1984         greyedout. Patch provided by Jürgen Spitzmüller.
1985
1986 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1987
1988         * kbmap.C (read): fix error message when reading bind files
1989
1990 2003-07-29  Angus Leeming  <leeming@lyx.org>
1991
1992         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1993         certainly does not do what it purports to do. I am doing it, and
1994         us, a favour by killing it.
1995
1996 2003-07-28  José Matos  <jamatos@lyx.org>
1997
1998         * buffer.C (readBody, do_writeFile):
1999         * paragraph.C(readParagraph): \end_document replaces \the_end.
2000
2001 2003-07-29  André Pönitz  <poenitz@gmx.net>
2002
2003         * BufferView.[Ch]:
2004         * BufferView_pimpl.[Ch]:
2005         * lyxfunc.C:
2006         * text2.C:
2007         * text3.C:
2008         * textcursor.[Ch]: remove toggleToggle & Co
2009
2010 2003-07-28  José Matos  <jamatos@fep.up.pt>
2011
2012         * buffer.C (readParagraph):
2013         * params_func (readParToken, readParagraph):
2014         * paragraph.C (write): \layout -> \begin_layout.
2015
2016 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2017
2018         * lyxlex_pimpl.C (setFile): clean up slightly.
2019
2020         * bufferparams.h: add compressed var
2021
2022         * buffer_funcs.C (readFile): adjust for LyXLex change
2023         (newFile): ditto + simplify
2024
2025         * buffer.C (writeFile): handle writing of compressed files
2026
2027         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2028         Check if the file is compressed and set a bufferparm if so.
2029
2030         * Makefile.am (lyx_LDADD): remove explicit -lz
2031
2032 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2033
2034         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2035         makeDocBookFile): put the real LyX version in the first line of
2036         the file
2037
2038         * version.h:
2039         * version.C.in: remove lyx_docversion
2040
2041         * tabular.C (write_attribute): add a template-based version to
2042         write enums properly
2043
2044 2003-07-28  André Pönitz  <poenitz@gmx.net>
2045
2046         * lyxtext.h:
2047         * text.C:
2048         * text2.C:
2049         * text3.C: use doubles again for x-coordinates. They are needed.
2050
2051 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2052
2053         * messages.C (getLocaleDir): use lyx_localedir()
2054
2055         * lyxlex_pimpl.C (setFile): compress stuff
2056
2057         * buffer.C (writeFile): add some compression stuff
2058         (do_writeFile): new func, dont call expliti close... will this
2059         breake anything?
2060
2061         * Makefile.am (lyx_LDADD): add -lz
2062
2063 2003-07-28  José Matos  <jamatos@fep.up.pt>
2064
2065         * buffer.C: increment file format.
2066         * paragraph_funcs (readParagraph, readParToken):
2067         * paragraph.C (readParagraph): add \end_layout.
2068
2069 2003-07-27  Angus Leeming  <leeming@lyx.org>
2070
2071         * Makefile.am: remove special casing for configure-time setting of
2072         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2073
2074         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2075         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2076
2077 2003-07-26  André Pönitz  <poenitz@gmx.net>
2078
2079         * paragraph_func.[Ch]:
2080         * paragraph.C (realizeFont): inline it whereever it is used
2081
2082         * rowpainter.C:
2083         * text.C:
2084         * text2.C:
2085         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2086
2087
2088 2003-07-26  André Pönitz  <poenitz@gmx.net>
2089
2090         *       lyxtext.h:
2091         * text.C:
2092         * text2.C: get rid of LyXText::need_break_row
2093
2094 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2095
2096         * toc.[Ch]: put namespace toc inside namespace lyx
2097
2098         * MenuBackend.C (expandToc2): adjust for lyx::toc
2099         (expandToc): ditto
2100
2101         * lyxfunc.C (dispatch): adjust for lyx::find
2102
2103         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2104         lyx::find instead. Reorganize a bit.
2105         (LyXReplace): rename to replace
2106         (LyXFind): rename to find
2107
2108         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2109         (dispatch): ditto
2110
2111 2003-07-26  André Pönitz  <poenitz@gmx.net>
2112
2113         * text.C (setHeightOfRow): restrict scope of temporary variable
2114
2115         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2116           code (never has been used?)
2117
2118 2003-07-27  Asger Alstrup  <alstrup@local>
2119
2120         * text.C (fill): Optimise algorithm to exploit that we can reuse
2121         the LyXFont for many characters.
2122         (setHeightOfRow): Same thing.
2123         (rowBreakPoint): Same thing.
2124
2125 2003-07-26  Asger Alstrup  <alstrup@local>
2126
2127         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2128
2129         * text.C (singleWidth): Spurious font copying in hot-spot
2130         singleWidth avoided. Reorder tests for arabic for efficiency.
2131
2132         * text.C (fill): handle empty paragraphs better.
2133
2134 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2135
2136         * ispell.C:
2137         * encoding.h: add includes
2138
2139         * lyxrc.C: remove reading of bind files
2140
2141         * lyx_main.C (init): setup bindings and menus only if we have a
2142         gui.
2143
2144         * kbmap.C (read): new method. Do the actual reading of bind
2145         files.
2146
2147         * converter.C (dvipdfm_options):
2148         * bufferparams.C:
2149         * lyxrc.C (read):
2150         (output): adapt PAPER_* enums.
2151
2152         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2153
2154         * bufferparams.h: remove paper-related enums from there
2155
2156         * paper.h: New file. A trivial header file to hold paper-related
2157         enums. It should later expand to contain many paper-related
2158         horrors access.
2159
2160         * lyxrc.C: declare extern displayTranslator
2161
2162 2003-07-27  José Matos  <jamatos@fep.up.pt>
2163
2164         * tabular.[Ch] (linuxdoc): add support for tables and figures
2165         (linuxdoc).
2166
2167 2003-07-27  José Matos  <jamatos@fep.up.pt>
2168
2169         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2170         consistency in both functions.
2171         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2172
2173 2003-07-26  Asger Alstrup  <alstrup@local>
2174
2175         * rowpainter.C (paintRows): Change algorithm to work directly on
2176         the insets rather than asking every character in the document
2177         whether its an inset.
2178
2179 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2180
2181         * buffer.C (openFileWrite): factorize some code
2182
2183 2003-07-26  Angus Leeming  <leeming@lyx.org>
2184
2185         * lyx_cb.C:
2186         * lyx_main.[Ch]: replace occurances of system_tempdir with
2187         os::getTmpDir().
2188
2189 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2190
2191         * rename Inset to InsetOld
2192
2193 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2194
2195         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2196         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2197         which I think is a bit clearer. EDIT is gone, since it was
2198         premature optimisation, and broken for mathed anyway.
2199         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2200         with cursor positioning in insets as well (math insets still do not
2201         work, but that's a different story anyway.) It mysteriously
2202         crashes sometimes with undo in the first paragraph, but I'm fairly
2203         confident that this is a compiler bug.
2204
2205 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2206
2207         * paragraph.C (Paragraph): adjust for new clone return type
2208         (operator==): ditto
2209         (copyIntoMinibuffer): ditto
2210
2211 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2212
2213         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2214         by not having a special case, and always doing a full rebreak of
2215         the document after undo.
2216
2217 2003-07-23  Angus Leeming  <leeming@lyx.org>
2218
2219         * factory.C (createInset): InsetExternal::setParams now takes a
2220         Buffer const * arg.
2221
2222 2003-07-23  Angus Leeming  <leeming@lyx.org>
2223
2224         * factory.C (createInset): changed interface to the external and
2225         graphics mailers' string2params functions.
2226
2227 2003-07-23  Angus Leeming  <leeming@lyx.org>
2228
2229         * factory.C (createInset): pass a
2230         Buffer const * parameter to InsetExternalMailer's string2params.
2231
2232 2003-07-22  John Levon  <levon@movementarian.org>
2233
2234         * Thesaurus.h: include the right aiksaurus header
2235
2236 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2237
2238         * MenuBackend.C (expand): check menu shortcuts unconditionally
2239
2240 2003-07-21  Angus Leeming  <leeming@lyx.org>
2241
2242         * factory.C (createInset): pass a
2243         buffer_path parameter to InsetGraphicsMailer's string2params.
2244
2245 2003-07-21  Angus Leeming  <leeming@lyx.org>
2246
2247         * BufferView_pimpl.C (buffer):
2248         * buffer.C (d-tor):
2249         * lyx_main.C (LyX):
2250         * lyxfunc.C (dispatch):
2251         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2252         rather than the grfx shortcut.
2253
2254 2003-07-21  André Pönitz  <poenitz@gmx.net>
2255
2256         * rowpainter.C: remove unused variables
2257
2258         * tabular_funcs.C:
2259         * tabular_funcs.h: move to tabular.C
2260         * Makefile.am: adjust
2261
2262         * tabular.[Ch]: basic optical cleaning
2263
2264         * author.h: pass references, not values
2265
2266 2003-07-18  André Pönitz  <poenitz@gmx.net>
2267
2268         * lyxtext.h:
2269         * metricsinfo.C:
2270         * metricsinfo.h:
2271         * rowpainter.C:
2272         * text.C:
2273         * text2.C:
2274         * text3.C: two-phase drawing for InsetText and InsetTabular
2275         some float -> int changes.
2276
2277 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2278
2279         * lyx_main.C: fix the fix
2280
2281 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2282
2283         * lyx_main.C: fix a crash in batch mode if no files specified
2284         * converter.C: ws
2285
2286 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2287
2288         * format.[Ch] (papersize): moved to BufferParams
2289         * converter.[Ch] (dvips_options): moved to BufferParams
2290         (dvipdfm_options): moved to anon namespace
2291         * bufferparams.[Ch]: added above functions.
2292
2293 2003-07-17  André Pönitz  <poenitz@gmx.net>
2294
2295         * lyxtext.h:
2296         * rowpainter.C:
2297         * text2.C: don't call inset->update() anymore
2298
2299         * metricsinfo.[Ch]: add convenience constructor
2300
2301 2003-07-16  André Pönitz  <poenitz@gmx.net>
2302
2303         * lyxcursor.[Ch]:
2304         * lyxfunc.[Ch]:
2305         * text.C:
2306         * text2.C: replace the LyXCursor::irow_ member with
2307          on-demand computation of the value
2308
2309 2003-07-16  John Levon  <levon@movementarian.org>
2310
2311         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2312
2313 2003-07-15  André Pönitz  <poenitz@gmx.net>
2314
2315         * text.C:
2316         * text2.C: remove no more needed refresh_row
2317
2318 2003-07-15  André Pönitz  <poenitz@gmx.net>
2319
2320         * lyxtext.h:
2321         * rowpainter.C:
2322         * text2.C:
2323         * text3.C: refresh_status tristate -> need_update bool
2324
2325 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2326
2327         * lyxtext.h (init): remove reinit argument (act as if always true)
2328         * text2.C: adjust to that
2329
2330 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2331
2332         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2333         * text3.C: use it to delete selections in some cases
2334         (bugs 441, 673, 702, 954).
2335
2336 2003-07-14  André Pönitz  <poenitz@gmx.net>
2337
2338         * rowpainter.[Ch]: reduce interface
2339
2340 2003-07-14  André Pönitz  <poenitz@gmx.net>
2341
2342         * BufferView_pimpl.C:
2343         * text2.C: adjust after removing unused BufferView * argument
2344
2345 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2346
2347         * text2.C (init): fix a crash fired on resize
2348
2349 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2350
2351         * buffer.[Ch]: added new closing signal
2352         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2353         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2354         BufferView::Pimpl via the closing the signal
2355
2356 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2357
2358         * buffer.[Ch]: take out all bv-related from buffer
2359         * BufferView.C:
2360         * BufferView_pimpl.[Ch]: connect to new signals
2361         * CutAndPaste.C: removed useless asserts
2362         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2363         * lyxvc.[Ch]:
2364         * vc-backend.[Ch]:
2365         * lyxfunc.C: moved view-related funciontality from vc here
2366         * paragraph.C: removed outdated comments
2367         * text.C: ws
2368
2369 2003-07-10  André Pönitz  <poenitz@gmx.net>
2370
2371         * BufferView_pimpl.C:
2372         * tabular.h:
2373         * tabular_funcs.C:
2374         * text.C:
2375         * text2.C: remove InsetText::InnerCache, clean up consequences
2376
2377 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2378
2379         * ispell.C: fix two typos in error messages
2380
2381 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2382
2383         * Extend Note inset to other forms of annotation like Comment
2384         and Greyedout. Right button click gives dialog.
2385
2386         Files modified or added (+):
2387
2388         * insetnote.[Ch]
2389         * FormNote.[Ch]      +
2390         * ControlNote.[Ch]   +
2391         * form_note.fd       +
2392         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2393         frontends/controllers
2394         * xforms/Dialogs.C
2395         * factory.C
2396
2397 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2398
2399         * aspell.C: add missing namespace lyx::support
2400
2401 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2402
2403         * BufferView.[Ch] (newFile): Add
2404         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2405         * LaTeX.[Ch] (message): added this signal and use it
2406         * buffer.[Ch] (busy, message): added these signals and use them
2407         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2408         * converter.C:
2409         * exporter.C:
2410         * format.C:
2411         * importer.C: use buffer signals instead of direct bv calling
2412         * lyx_cb.[Ch] (ShowMessage): removed
2413         * lyx_main.C:
2414         * lyxfunc.C:
2415         * paragraph_funcs.C:
2416         * text2.C: use buffer signals
2417
2418 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2419
2420         * introduce namespace lyx::graphics
2421
2422 2003-07-02  André Pönitz  <poenitz@gmx.net>
2423
2424         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2425
2426 2003-07-01  André Pönitz  <poenitz@gmx.net>
2427
2428         * text.C:
2429         * text2.C:
2430         * text3.C:
2431         * text_funcs.[Ch]:
2432         * textcursor.h:
2433         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2434           text*.C to text_func.C
2435
2436 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2437
2438         * introduce namespace lyx::support
2439
2440 2003-06-30  André Pönitz  <poenitz@gmx.net>
2441
2442         * Chktex.C:
2443         * funcrequest.C:
2444         * lyxtext.h:
2445         * text.C: re-enable --with-included-string
2446
2447 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2448
2449         * textcursor.C: add <config.h>
2450
2451         * text.C (getWord): remove const from word_location arg
2452
2453         * lyxvc.C (getLogFile): fix const type order
2454
2455         * lyxtext.h: remove const from word_location arg, add arg name
2456
2457         * lyxlayout.h: currect type on labeltype.
2458
2459         * importer.C: correct \file
2460
2461         * converter.C (intToFormat): use std:: on ret val, ws changes
2462
2463         * bufferlist.h: correct \file
2464
2465         * buffer.C (makeLinuxDocFile): fix const type order
2466         (makeDocBookFile): ditto
2467         (fillWithBibKeys): use std:: on stdlib args.
2468
2469         * CutAndPaste.C: fix authors.
2470         (availableSelections): use std:: on return vector
2471
2472 2003-06-27  André Pönitz  <poenitz@gmx.net>
2473
2474         * BufferView_pimpl.C:
2475         * bufferview_funcs.C:
2476         * lyxcursor.C:
2477         * lyxcursor.h:
2478         * lyxfunc.C:
2479         * lyxtext.h:
2480         * rowpainter.C:
2481         * text.C:
2482         * text2.C:
2483         * text3.C: remove LyXCursor::row_ member
2484
2485         * lyxtext.h:
2486         * text.C: rename fullRebreak() to partialRebreak() and implement
2487           a fullRebreak() that really bereks fully
2488
2489         * textcursor.h: new struct for cursor-related data
2490
2491 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2492
2493         * lyx_main.C (LyX): get full path of document loaded on the
2494         command line
2495
2496 2003-06-26  André Pönitz  <poenitz@gmx.net>
2497
2498         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2499           remove unused/broken operator>,<,>=.
2500
2501         *       text.C: remove only use of broken operator<= in an Assert().
2502
2503 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2504
2505         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2506         moved errorlist_.clear to showErrorList
2507
2508 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2509
2510         * converter.C (scanLog, runLaTeX):
2511         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2512         move the bv->showErrorList call to the callers
2513         * lyxfunc.C: i.e. here...
2514         * text2.C: and here
2515         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2516         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2517         namespace, the second to...
2518         * buffer_funcs (BufferFormat, parseErrors): added
2519         * errorlist.C (ErrorList(TeXErrors const &)): removed
2520
2521 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2522
2523         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2524
2525 2003-06-24  "Garst R. Reese" <reese@isn.net>
2526
2527         * debug.C: fix typo
2528
2529 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2530
2531         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2532
2533         * version.C.in: change docversion to 1.4
2534
2535 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2536
2537         * buffer.C: fix a bug just introduced
2538
2539 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2540
2541         * buffer.[Ch]: added the parseError signal and use it, removed
2542         sgmlError
2543         * BufferView.[Ch] (addError): moved to ...
2544         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2545         to the Buffer::parseError signal to catch (guess what) parse errors
2546         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2547
2548 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2549
2550         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2551         ability to create a buffer and to return an existing one from
2552         the list. Moved these functions to...
2553         * buffer_funcs.[Ch]: added
2554         * BufferView.[Ch] (loadLyXFile): added
2555         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2556         job removed from bufferlist::loadLyXFile.
2557         * buffer.C (setReadOnly): make it work without view
2558         (i.e added an if (users))
2559
2560 2003-06-19  Angus Leeming  <leeming@lyx.org>
2561
2562         * lfuns.h:
2563         * LyXAction.C (init):
2564         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2565         with LFUN_DIALOG_SHOW <name> <data>.
2566
2567 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2568
2569         * CutAndPaste.C (availableSelections): small compilation fix for
2570         ancient (gcc 2.9x) compilers
2571
2572 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2573
2574         * text3.C (cursorNext): add tmp var
2575
2576         * text2.C (updateCounters): for function calling out of for clause
2577         (replaceSelectionWithString): ditto
2578         (insertStringAsParagraphs): ditto
2579         (getColumnNearX): add tmp var
2580         (setCursorFromCoordinates): add tmp var
2581         (cursorDownParagraph): add tmp var
2582         (deleteEmptyParagraphMechanism): add tmp var
2583
2584         * text.C (insertChar): add tmp var
2585
2586         * rowpainter.C (paintDepthBar): add tmp var
2587
2588         * CutAndPaste.C (availableSelections): potentially check all
2589         paragraphs in a cut to fill the shown strings.
2590
2591 2003-06-18  André Pönitz  <poenitz@gmx.net>
2592
2593         * kbmap.[Ch]: use vector<> instead of list<>
2594
2595 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2596
2597         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2598         pasteSelection with index
2599
2600         * text2.C (pasteSelection): modify, call pasteSelection with index
2601
2602         * paragraph.C (asString): reimplement version with no interval to
2603         call the one with interval.
2604
2605         * lyxtext.h: add index arg to pasteSelection
2606
2607         * MenuBackend.C (MenuItem): handle PasteRecent
2608         (Menu::read::Menutags): add md_pasterecent
2609         (read): handle it
2610         (expandPasteRecent): new function
2611         (expand): use it
2612
2613         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2614
2615         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2616         the limited stack
2617         (availableSelections): new function
2618
2619 2003-06-17  Angus Leeming  <leeming@lyx.org>
2620
2621         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2622
2623 2003-06-17  Angus Leeming  <leeming@lyx.org>
2624
2625         * lfuns.h:
2626         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2627
2628         * lyxfunc.C (dispatch): invoke it.
2629
2630 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2631
2632         * iterators.C (operator++, ParPosition): reintroduce some
2633         const_cast for the benefit of older compilers.
2634
2635 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2636
2637         * text3.C (dispatch): do not modify clipboard when doing
2638         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2639         LFUN_DELETE_SKIP on a selection selection
2640
2641 2003-06-16  André Pönitz  <poenitz@gmx.net>
2642
2643         * BufferView.C:
2644         * buffer.C:
2645         * buffer.h:
2646         * paragraph.C:
2647         * tabular.[Ch]: IU of clone() and getLabelList();
2648
2649 2003-06-13  André Pönitz  <poenitz@gmx.net>
2650
2651         * tabular.h: compactification
2652
2653 2003-06-12  André Pönitz  <poenitz@gmx.net>
2654
2655         * tabular.C:
2656         * tabular.h:
2657         * tabular_funcs.h: some renaming plus whitespace
2658
2659 2003-06-12  André Pönitz  <poenitz@gmx.net>
2660
2661         * BufferView.C:
2662         * BufferView_pimpl.C:
2663         * CutAndPaste.C:
2664         * buffer.C:
2665         * iterators.[Ch]:
2666         * lyxfunc.C:
2667         * text.C:
2668         * toc.C: Return a Paragraph & for ParIterator::operator*()
2669
2670 2003-06-11  John Levon  <levon@movementarian.org>
2671
2672         * lyx_main.C:
2673         * ToolbarBackend.h:
2674         * ToolbarBackend.C: add "Toolbars" section and
2675         put the flags there
2676
2677 2003-06-10  Angus Leeming  <leeming@lyx.org>
2678
2679         * lfuns.h:
2680         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2681
2682         * lyxfunc.C (dispatch): invoke it.
2683
2684 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2685
2686         * main.C: protect <ios> with HAVE_IOS
2687         (main): protect sync_with_stdio with HAVE_IOS
2688
2689 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2690
2691         * text2.C (cutSelection): adjust
2692         (pasteSelection): adjust
2693
2694         * messages.C: handle get of empty string
2695
2696         * main.C (main): use sync_with_stdio(false)
2697
2698         * lyxfunc.C (dispatch): adjust
2699
2700         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2701         (WriteAs): remove unneeded BufferView arg.
2702
2703         * bufferparams.h: use correct types on papersize, papersize2 and
2704         paperpackage.
2705
2706         * bufferparams.C (readToken): adjust for type
2707         (writeLaTeX): add missing cases to switch.
2708
2709         * bufferlist.C (quitWriteBuffer): adjust
2710         (close): adjust
2711
2712         * buffer.C (asciiParagraph): remove some commented code.
2713
2714         * CutAndPaste.C: remove current_view extern variable.
2715         (cutSelection): add BufferParams arg.
2716         (eraseSelection): add BufferParams arg.
2717         (pasteSelection): add Buffer const & arg
2718
2719 2003-06-07  John Levon  <levon@movementarian.org>
2720
2721         * buffer.C:
2722         * paragraph_funcs.C:
2723         * paragraph_pimpl.C:
2724         * text.C:
2725         * text2.C:
2726         * paragraph.h:
2727         * paragraph.C: allow InsetERT to freely space lines,
2728         and some consolidation of code
2729
2730 2003-06-06  José Matos  <jamatos@fep.up.pt>
2731
2732         * buffer.C (makeDocBookFile): fix bug #821
2733
2734 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2735
2736         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2737
2738 2003-06-04  Angus Leeming  <leeming@lyx.org>
2739
2740         * buffer.C: bump format to 224.
2741
2742 2003-06-05  André Pönitz  <poenitz@gmx.net>
2743
2744         * text2.C (redoParagraphs): remove two const_cast<>
2745
2746 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2747
2748         * ParagraphList.h: remove last remnants of NO_STD_LIST
2749
2750 2003-06-03  Angus Leeming  <leeming@lyx.org>
2751
2752         * factory.C (createInset): small change to the way InsetExternal's params
2753         are set.
2754
2755 2003-06-04  André Pönitz  <poenitz@gmx.net>
2756
2757         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2758
2759         * paragraph_pimpl.h:
2760         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2761
2762         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2763
2764         * undo_funcs.C: make some simple cases of undo work again
2765
2766 2003-06-03  John Levon  <levon@movementarian.org>
2767
2768         * ispell.C: HPUX doesn't have sys/select.h
2769         (from Albert Chin)
2770
2771 2003-06-03  John Levon  <levon@movementarian.org>
2772
2773         * CutAndPaste.C: update tabular and include inset
2774         buffer references
2775
2776         * buffer.h:
2777         * paragraph.h:
2778         * paragraph.C: remove owningBuffer(), don't pass Buffer
2779         to clone()
2780
2781         * factory.C: insetGraphicsParams changed
2782
2783 2003-06-02  John Levon  <levon@movementarian.org>
2784
2785         * LyXAction.C:
2786         * factory.C:
2787         * lfuns.h:
2788         * lyxfunc.C:
2789         * text3.C: remove insetparent
2790
2791 2003-06-02  John Levon  <levon@movementarian.org>
2792
2793         * buffer.h:
2794         * buffer.C: fix inset_iterator.end(), move out of line
2795         (bug 1149)
2796
2797 2003-06-01  John Levon  <levon@movementarian.org>
2798
2799         * text3.C: use a proper cut/paste when doing inset
2800         insert (from Jürgen Spitzmüller)
2801
2802 2003-06-01  John Levon  <levon@movementarian.org>
2803
2804         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2805
2806 2003-05-30  André Pönitz  <poenitz@gmx.net>
2807
2808         * rowpainter.C: unify second drawing phase
2809
2810 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2811
2812         * trans_mgr.C: remove one case of current_view
2813
2814         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2815
2816         * paragraph_funcs.h: remove paragraph.h include
2817
2818         * paragraph.h: delete NO_STD_LIST stuff
2819
2820         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2821
2822         * buffer.h: remove paragraph.h include
2823
2824         * ParagraphList.C: delete file
2825
2826         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2827
2828         * toc.C (getTocList): adjust
2829
2830         * paragraph_pimpl.C (validate): adjust
2831
2832         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2833
2834         * paragraph.C (Paragraph): adjust
2835         (getPositionOfInset): use const_iterator, adjust
2836         (bibitem): use const_iterator, adjust
2837         (setInsetOwner): adjust
2838
2839         * iterators.C (operator++): adjust
2840
2841         * InsetList.[Ch]: Replace selfmade iterator with standard
2842         vector::iterator also introduce const_iterator. Remove getPos,
2843         getInset and setInset from InsetTable. Adjust accordingly.
2844
2845         * BufferView.C (lockInset): adjust
2846         (ChangeInsets): adjust
2847
2848         * tabular.[Ch]: delete commented same_id functions
2849
2850 2003-05-28  John Levon  <levon@movementarian.org>
2851
2852         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2853
2854 2003-05-28  André Pönitz  <poenitz@gmx.net>
2855
2856         * metricsinfo.[Ch]: remove 'fullredraw' member
2857
2858 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2859
2860         * lyxtextclass.C (operator): remove caching.
2861
2862 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2863
2864         * text3.C: adjust
2865
2866         * text2.C (cursorBottom): adjust
2867         (setCounter): use ParagraphList::find, adjust
2868
2869         * text.C (workWidth): use ParagraphList::find, adjust
2870
2871         * lyxcursor.C (LyXCursor): adjust
2872
2873         * buffer.C (inset_iterator): adjust
2874
2875         * ParagraphList.h: make iterator(value_type) private, make
2876         ParagraphList a friend of iterator.
2877
2878         * ParagraphList.C (find): new function
2879
2880         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2881
2882 2003-05-27  André Pönitz  <poenitz@gmx.net>
2883
2884         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2885
2886 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2887
2888         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2889
2890 2003-05-26  John Levon  <levon@movementarian.org>
2891
2892         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2893
2894 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2895
2896         * remove same_id from function signatures, adjust.
2897
2898 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2899
2900         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2901
2902         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2903
2904         * paragraph.C (Paragraph): get rid of same_ids parameter
2905
2906         * ParagraphList.C (insert): adjust
2907         (push_back): adjust
2908
2909 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2910
2911         * paragraph_funcs.C (breakParagraph): adjust
2912         (breakParagraphConservative): adjust
2913
2914         * buffer.C (readParagraph): adjust
2915
2916         * ParagraphList.C (insert): take a reference instead of a pointer
2917         (insert): adjust
2918
2919         * paragraph.[Ch] (id): new function
2920
2921         * bufferlist.C (newFile): adjust
2922
2923         * ParagraphList.C (ParagraphList): adjust
2924         (assign): adjust
2925         (push_back): take a reference instead of a pointer.
2926
2927         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2928
2929         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2930         instead.
2931
2932         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2933         set else use old code.
2934
2935         * ParagraphList.C: remove all NO_NEXT code and only compile this
2936         code of NO_STD_LIST is set.
2937
2938 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2939
2940         * BufferView_pimpl.C:
2941         * TextCache.C:
2942         * TextCache.h:
2943         * bufferlist.C:
2944         * errorlist.h:
2945         * format.C:
2946         * format.h:
2947         * graph.C:
2948         * lyxfunc.C:
2949         * lyxrc.C:
2950         * graphics/GraphicsConverter.C:
2951         * graphics/PreviewLoader.C: header adjustment
2952
2953 2003-05-23  Angus Leeming  <leeming@lyx.org>
2954
2955         * LaTeXFeatures.[Ch] (useBabel): new method.
2956         * bufferparams.C (writeLaTeX): use it.
2957
2958 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2959
2960         * ParagraphList.h (set): remove unused function.
2961
2962 2003-05-23  André Pönitz  <poenitz@gmx.net>
2963
2964         * BufferView.C:
2965         * BufferView_pimpl.C:
2966         * buffer.C:
2967         * buffer.h:
2968         * lyxfunc.C:
2969         * undo_funcs.C: setUndo reworked
2970
2971         * iterators.[Ch]: add access to topmost ParagraphList
2972
2973         * lyxtext.[Ch] (workWidth): add a const
2974
2975 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2976
2977         * texrow.[Ch] (increasePos): remove function
2978         * exporter.C (export): removed unused var and outdated comment
2979
2980 2003-05-23  Angus Leeming  <leeming@lyx.org>
2981
2982         * latexrunparams.h: rename fragile as moving_arg.
2983         * paragraph.C (simpleTeXOnePar): ditto.
2984         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2985
2986 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2987
2988         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2989         (createUndo): ditto
2990         (textUndoOrRedo): comment out a currently unused var.
2991
2992         * paragraph.h (NO_NEXT): enable NO_NEXT
2993
2994         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2995
2996         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2997
2998         * exporter.C (Export): adjust for removeAutoInsets removal.
2999
3000         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3001
3002         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3003
3004         * BufferView.[Ch] (removeAutoInsets): delete function
3005
3006 2003-05-22  Angus Leeming  <leeming@lyx.org>
3007
3008         * latexrunparams.h: add a free_spacing variable.
3009
3010         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3011         to pass moving_arg, as the data is stored in runparams.fragile.
3012
3013         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3014         to Inset::latexOptional or to simpleTeXOnePar.
3015
3016         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3017         free_spacing arg to Inset::latexOptional.
3018
3019         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3020         free_spacing arg.
3021
3022 2003-05-22  Angus Leeming  <leeming@lyx.org>
3023
3024         * latexrunparams.h: add fragile and use_babel variables.
3025
3026         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3027         * buffer.C (makeLaTeXFile): store this returned value in
3028         runparams.use_babel, thus passing it to the inset::latex methods.
3029
3030         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3031         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3032
3033         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3034         longer has a fragile arg, as it is stored in runparams.fragile.
3035
3036         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3037         moving_arg parameter as the data is stored in runparams.fragile.
3038
3039         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3040         a fragile parameter as the data is stored in runparams.fragile.
3041
3042 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3043
3044         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3045
3046 2003-05-22  Angus Leeming  <leeming@lyx.org>
3047
3048         * latexrunparams.h: add a 'bool nice' which defaults to false.
3049
3050         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3051         now encapsulated within runparams.
3052
3053         * bufferlist.C (updateIncludedTeXfiles):
3054         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3055
3056 2003-05-22  Angus Leeming  <leeming@lyx.org>
3057
3058         * latexrunparams.h: new file containing struct LatexRunParams.
3059         * Makefile.am: add new file.
3060
3061         * LaTeX.[Ch] (c-tor, run):
3062         * buffer.[Ch] (makeLaTeXFile):
3063         * bufferlist.[Ch] (updateIncludedTeXfiles):
3064         * converter.C (convert, scanLog):
3065         * converter.[Ch] (runLaTeX):
3066         * exporter.C (Export):
3067         * paragraph.[Ch] (simpleTeXOnePar):
3068         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3069         * paragraph_funcs.[Ch] (latexParagraphs):
3070         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3071         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3072         pass around a LatexRunParams parameter.
3073
3074 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3075
3076         * paragraph.[Ch]: remove unused constructor
3077
3078         * ParagraphList.C (erase): new function, taking two iterators
3079
3080 2003-05-22  André Pönitz  <poenitz@gmx.net>
3081
3082         * undo_funcs.C: remove duplicated code
3083
3084         * iterator.[Ch]: operator=
3085
3086 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3087
3088         * tabular.C (SetMultiColumn): ws changes
3089
3090         * rowpainter.C (paintFirst): get rid of a ->previous
3091
3092         * lyx_cb.C (getPossibleLabel): parlist simplification
3093
3094         * BufferView.C (ChangeInsets): simplify slightly.
3095
3096 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3097
3098         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3099         * lfuns.h: new LFUN_SPACE
3100         * lyxfunc.C: protected space has a new lfun
3101         * paragraph_funcs.C: read new space insets
3102         * text3.C:
3103         * factory.C: handle new space insets
3104
3105 2003-05-22  André Pönitz  <poenitz@gmx.net>
3106
3107         * BufferView.C:
3108         * BufferView_pimpl.C:
3109         * buffer.[Ch]:
3110         * lyxfunc.C:
3111         * undo_funcs.C: return a ParIterator from getParFromID.
3112
3113         * iterators.[Ch]: add two const's
3114
3115 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3116
3117         * toc.C (getTocList): adjust
3118
3119         * iterators.[Ch]: rework for parlist
3120
3121         * buffer.C (par_iterator_begin): adjust
3122         (par_iterator_end): adjust
3123
3124         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3125
3126         * BufferView.C (removeAutoInsets): adjust
3127         (ChangeInsets): adjust
3128
3129 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3130
3131         * text.C (top_y): fix bug 1110
3132
3133 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3134
3135         * errorlist.[Ch]: added
3136         * buffer.C:
3137         * BufferView.[Ch]:
3138         * BufferView_pimpl.C:
3139         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3140         instead
3141
3142 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3143
3144         * Makefile.am: ensure that lyx is relinked upon changes to the
3145         various "convenience" libs.
3146
3147 2003-05-20  Angus Leeming  <leeming@lyx.org>
3148
3149         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3150         files are compiled in alphabetical order again.
3151
3152         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3153
3154 2003-05-19  Angus Leeming  <leeming@lyx.org>
3155
3156         * gettext.[Ch]: remove "char const * _(char const *)".
3157
3158 2003-05-19  André Pönitz  <poenitz@gmx.net>
3159
3160         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3161
3162         * Makefile.am:
3163         * BufferView.C:
3164         * DepTable.h:
3165         * LaTeXFeatures.C:
3166         * buffer.C:
3167         * lyxfont.C:
3168         * lyxlex.h:
3169         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3170
3171 2003-05-19  André Pönitz  <poenitz@gmx.net>
3172
3173         * buffer.C:
3174         * lyxlayout.[Ch]:
3175         * lyxtextclass.[Ch]:
3176         * paragraph.C:
3177         * paragraph_funcs.[Ch]:
3178         * text2.C:
3179         * text3.C: more insetenv work
3180
3181 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3182
3183         * ParagraphParameters.C (params2string): small bug fixed
3184
3185 2003-05-16  André Pönitz  <poenitz@gmx.net>
3186
3187         * debug.C:
3188         * bufferview_funcs.C: patch from Kornel Benko to prevent
3189           crash when _(...) is called twice in a statement
3190
3191 2003-05-16  André Pönitz  <poenitz@gmx.net>
3192
3193         * BufferView.C:
3194         * lyxfunc.C:
3195         * text.C:
3196         * text2.C:
3197         * text3.C:
3198         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3199
3200 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3201
3202         * lyx_main.C (init): remove spurious static_cast
3203
3204 2003-05-14  André Pönitz  <poenitz@gmx.net>
3205
3206         * BufferView.C: fix format string
3207
3208 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3209
3210         * BufferView.[Ch] (insertErrors): removed
3211         * BufferView.[Ch] (showErrorList): added
3212         * buffer.C (runChkTeX):
3213         * converter.C (scanLog): call showErrorList instead of inserterrors
3214
3215 2003-05-13  André Pönitz  <poenitz@gmx.net>
3216
3217         * BufferView_pimpl.C:
3218         * buffer.C:
3219         * bufferview_func.C:
3220         * MenuBackend.C:
3221         * lyxfunc.C:
3222         * lyxrc.C:
3223         * tex-accent.C:
3224         * text3.C:
3225         * toc.C:
3226         * tabular_funcs.h: tostr() from its own header
3227
3228         * ParagraphParameters.C:
3229         * ToolbarBackend.C:
3230         * bufferparams.C:
3231         * format.C:
3232         * lyxlex_pimpl.C:
3233         * text3.C: STRCONV()
3234
3235 2003-05-12  André Pönitz  <poenitz@gmx.net>
3236
3237         * BufferView.C:
3238         * BufferView_pimpl.C:
3239         * CutAndPaste.C:
3240         * LaTeX.C:
3241         * LaTeXFeatures.C:
3242         * ParagraphParameters.C:
3243         * buffer.C:
3244         * bufferlist.C:
3245         * bufferparams.C:
3246         * bufferview_funcs.C:
3247         * converter.C:
3248         * counters.C:
3249         * debug.C:
3250         * exporter.C:
3251         * format.C:
3252         * importer.C:
3253         * lyx_cb.C:
3254         * lyx_main.C:
3255         * lyxfont.C:
3256         * lyxfunc.C:
3257         * lyxvc.C:
3258         * paragraph.C:
3259         * paragraph_funcs.C:
3260         * tabular.C:
3261         * tabular_funcs.C:
3262         * text2.C:
3263         * text3.C:  boost::format -> bformat  all over the place
3264
3265
3266 2003-05-09  André Pönitz  <poenitz@gmx.net>
3267
3268         * LColor.[Ch]: Pimpl the #include <map> away
3269
3270 2003-05-09  John Levon  <levon@movementarian.org>
3271
3272         * bufferlist.C: never remove emergency saves
3273
3274 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3275
3276         * Makefile.am: better lib building
3277
3278 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3279
3280         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3281         instead.
3282         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3283         (simpleTeXSpecialChars): adjust
3284         (simpleTeXSpecialChars): adjust
3285         * paragraph.C (simpleTeXOnePar): adjust
3286         * buffer.C (makeLaTeXFile): adjust
3287
3288         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3289
3290         * text2.C (changeDepth): parlist cleanup
3291         (getColumnNearX): ditto
3292
3293         * rowpainter.C (getLabelFont): parlist cleanup
3294
3295         * bufferlist.C (newFile): parlist cleanup
3296
3297         * CutAndPaste.C (eraseSelection): parlist cleanup
3298
3299         * BufferView_pimpl.C (trackChanges): parlist cleanup
3300         (dispatch): ditto
3301
3302         * BufferView.C (lockInset): parlist cleanup.
3303         (ChangeInsets): ditto
3304
3305 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3306
3307         * CutAndPaste.h: Update file header.
3308
3309         * CutAndPaste.C: Update file header.
3310         Store the parts cut out of the Document in a limited_stack.
3311         (copySelection): adjust
3312         (pasteSelection): new function, takes the index in the limited stack.
3313         (nrOfParagraphs): adjust
3314         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3315         simplify error inset insertion.
3316         (checkPastePossible): adjust
3317
3318 2003-05-06  John Levon  <levon@movementarian.org>
3319
3320         * text2.C: don't cast wrap inset to float
3321
3322 2003-05-05  André Pönitz  <poenitz@gmx.net>
3323
3324         * iterator.C:
3325         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3326
3327         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3328           few naked Paragraph *.
3329
3330 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3331
3332         * bufferparams.C: Output warning if a document with missing
3333         TeX document class is loaded
3334         * exporter.C: Disable TeX exports if the document class is missing
3335         * lyxtextclass.C:
3336         * lyxtextclass.h:
3337         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3338         isTeXClassAvailable()
3339
3340 2003-05-03  John Levon  <levon@movementarian.org>
3341
3342         * BufferView.h:
3343         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3344         explicit cursor show/hide
3345
3346         * BufferView_pimpl.h:
3347         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3348         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3349
3350         * lyxfunc.C: hide cursor before dispatching.
3351
3352         * lyx_cb.C:
3353         * lyxfind.C:
3354         * text.C:
3355         * text3.C: remove explicit cursor hides
3356
3357 2003-05-02  André Pönitz  <poenitz@gmx.net>
3358
3359         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3360
3361         * undo_funcs.C:
3362         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3363           linked lists
3364
3365         * text2.C: tiny whitespace
3366
3367 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3368
3369         * undo_funcs.C: almost only ws changes.
3370
3371         * ParagraphList.C (splice): just return if pl is empty.
3372
3373 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3374
3375         * ParagraphList.C (splice): new function.
3376
3377         * CutAndPaste.C (pasteSelection): use it
3378
3379 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3380
3381         * CutAndPaste.C (pasteSelection): remove the last next and
3382         previous from this file.
3383
3384 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3385
3386         * CutAndPaste.C (pasteSelection): more clean up, user proper
3387         ParagraphList functions for pasteing.
3388
3389         * ParagraphList.C (insert): new function, three arg insert
3390
3391 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3392
3393         * ParagraphList.C (insert): new function, three arg insert
3394
3395         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3396         not on paragraphs.
3397
3398 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3399
3400         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3401
3402 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3403
3404         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3405
3406 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3407
3408         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3409         (copySelection): clean up a bit.
3410         (pasteSelection): use make_pair
3411
3412         * ParagraphList.C (ParagraphList): implement copy constructor
3413         (operator=): implement, base on copy constructor.
3414         (assign): new func
3415
3416         * paragraph.C (erase): return a bool
3417
3418         * paragraph_pimpl.C (erasePos): remove function, move contents...
3419         (erase): ... here. Return a bool.
3420         (erase): call erase instead of erasePos.
3421
3422 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3423
3424         * ParagraphList.h: define PitPosPair
3425         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3426         ParagraphList, fix a bug on pasting multiple pars
3427         * text2.C: change interface to C&P
3428
3429 2003-04-30  André Pönitz  <poenitz@gmx.net>
3430
3431         * undo_func.C: revert part of yesterday's patch 2
3432
3433 2003-04-30  John Levon  <levon@movementarian.org>
3434
3435         * LColor.C: s/tabular/table/
3436
3437 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3438
3439         * text3.C (dispatch): do not convert iterator -> pointer
3440         * undo_funcs.C (setCursorParUndo): ditto
3441         * text_funcs.C (transposeChars): ditto
3442
3443         * text2.C (setLayout): ws changes only
3444
3445         * text.C (breakParagraph): do not convert iterator -> pointer
3446         (insertChar): ditto
3447         (acceptChange): ditto
3448         (rejectChange): ditto
3449         (changeCase): ditto
3450         (Delete): ditto
3451         (backspace): ditto
3452
3453         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3454         pointer
3455
3456 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3457
3458         * text3.C (gotoInset): YABG (yet another bad getChar)
3459
3460 2003-04-29  André Pönitz  <poenitz@gmx.net>
3461
3462         * paragraph.h: make operator= private unimplemented as long as
3463           it is unusable
3464
3465         * ParagraphList.C: whitespace
3466
3467         * paragraph.[Ch]:
3468         * paragraph_pimpl.[Ch]:
3469         * paragraph_funcs.C:
3470         * CutAndPaste.C:
3471         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3472
3473         * text2.C:
3474           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3475
3476 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3477
3478         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3479         * paragraph.[Ch] (erase):
3480         * paragraph_pimpl.[Ch] (erase): change return type and value
3481         * text2.C (cutSelection): some rework
3482
3483 2003-04-28  John Levon  <levon@movementarian.org>
3484
3485         * bufferlist.C: changes for unsaved changes dialog
3486
3487 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3488
3489         * bufferlist.C (newFile): set language (messages_) for new
3490         documents also.
3491
3492         * buffer.C (readFile): ws changes only.
3493
3494 2003-04-28  André Pönitz  <poenitz@gmx.net>
3495
3496         * undo_funcs.C:
3497         * lyxfunc.C:
3498         * buffer.[Ch]:
3499         * BufferView_pimpl.C:
3500         * BufferView.C: getParFromID related ParagraphList::iterator changes
3501
3502 2003-04-28  André Pönitz  <poenitz@gmx.net>
3503
3504         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3505           Changes
3506
3507 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3508
3509         * messages.C: remove one more localedir class variable.
3510
3511 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3512
3513         * messages.C (getLocaleDir): singleton generation function
3514         (Pimpl): use it.
3515         (Messages): add a default constructor.
3516
3517         * main.C (main): do not setup localedir here, do not call
3518         gettext_init.
3519
3520         * gettext.C (_): use it.
3521         (gettext_init): delete funciton
3522
3523 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3524
3525         * gettext.C (getLyXMessages): new singleton generating function.
3526
3527         * buffer.C (updateDocLang): adjust
3528
3529         * Makefile.am (messages.o): add target
3530         (main.o): remove target
3531
3532 2003-04-27  John Levon  <levon@movementarian.org>
3533
3534         * bufferlist.C:
3535         * lyx_cb.C:
3536         * lyxfunc.C:
3537         * lyxvc.C: specify cancel button in Alert::prompt
3538
3539 2003-04-26  John Levon  <levon@movementarian.org>
3540
3541         * text3.C:
3542         * lyxfunc.C:
3543         * lfuns.h:
3544         * LyXAction.C: add LFUN_INSET_SETTINGS
3545
3546         * lyxfunc.C: don't enable tabular-feature when there's
3547         just any locking inset
3548
3549 2003-04-26  John Levon  <levon@movementarian.org>
3550
3551         * bufferlist.C: re-add Cancel to buffer close question
3552
3553         * lyxfunc.C: fix import UI a bit
3554
3555 2003-04-25  John Levon  <levon@movementarian.org>
3556
3557         * gettext.C: remove the broken asserts for now
3558
3559 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3560
3561         * messages.C: make case where setlocale cannot comply work better.
3562
3563         * buffer.C (updateDocLang): new function
3564         (changeLanguage): use it
3565         (readFile): use it
3566
3567         * text2.C (setCounter): use B_ a bit.
3568
3569         * lyxlayout.C (Read): be sure to trim the label strings.
3570
3571         * messages.C (Messages): fix typo in comment
3572
3573         * buffer.C (readFile): set message_ after file is loaded.
3574         (makeDocBookFile): remove double return
3575         (changeLanguage): reset message_ upon language change.
3576         (B_): new func, use this to get translated buffer strings.
3577
3578         * main.C: add myself and Jean Marc as authors.
3579
3580 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3581
3582         * messages.[hC]: pimplify Messages, and three different pimpls to be
3583         used in different circumstances.
3584
3585         * gettext.[Ch]: change for use with new message code.
3586
3587 2003-04-24 André Pönitz <poenitz@gmx.net>
3588
3589         * factory.C: support for eqref
3590
3591 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3592
3593         * messages.[Ch]: add missing char
3594
3595         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3596
3597         * messages.[Ch]: New files
3598
3599 2003-04-18  John Levon  <levon@movementarian.org>
3600
3601         * BufferView.h:
3602         * BufferView.C:
3603         * BufferView_pimpl.C:
3604         * lfuns.h:
3605         * LyXAction.C:
3606         * lyxtext.h:
3607         * text2.C: remove layout-copy/paste (bug 778)
3608
3609 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3610
3611         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3612
3613 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3614
3615         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3616         if they succeed. Act accordingly.
3617
3618 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3619
3620         * text2.C (setCharFont): adjust
3621         (setCounter): adjust
3622         (insertStringAsLines): adjust
3623
3624         * text.C (leftMargin): adjust
3625         (setHeightOfRow): adjust
3626
3627         * rowpainter.C (paintFirst): adjust
3628         (paintLast): adjust
3629
3630         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3631         (outerHook): ditto
3632         (isFirstInSequence): ditto
3633         (getEndLabel): ditto
3634         (outerFont): adjust
3635
3636         * paragraph.C (getParLanguage): comment out some hard stuff.
3637
3638         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3639         (sgmlError): ditto
3640         (simpleDocBookOnePar): ditto
3641         (makeDocBookFile): use ParagraphList::iterator
3642
3643         * CutAndPaste.C (pasteSelection): adjust
3644
3645 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3646
3647         * text2.C (getFont): adjust
3648         (getLayoutFont): adjust
3649         (getLabelFont): adjust
3650
3651         * paragraph_funcs.C (TeXOnePar): adjust
3652
3653         * buffer.C (simpleLinuxDocOnePar): adjust
3654         (simpleDocBookOnePar): adjust
3655
3656         * CutAndPaste.C (pasteSelection): adjust
3657
3658         * BufferView.C (getEncoding): adjust
3659
3660         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3661
3662 2003-04-16  John Levon  <levon@movementarian.org>
3663
3664         * lyxfind.C: use parlist stuff for search/changes
3665
3666 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3667
3668         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3669
3670         * text2.C (deleteEmptyParagraphMechanism): adjust
3671
3672         * text2.[Ch] (ownerParagraph): delete func (both of them
3673
3674 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3675
3676         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3677
3678 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3679
3680         * ParagraphList.C: prepare for NO_NEXT
3681
3682 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3683
3684         * text2.C (getFont): adjust
3685         (getLayoutFont): adjust
3686         (getLabelFont): adjust
3687
3688         * paragraph.C (getFont): adjust
3689         (getLabelFont): adjust
3690         (getLayoutFont): adjust
3691
3692         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3693
3694 2003-04-15  John Levon  <levon@movementarian.org>
3695
3696         From Angus Leeming
3697
3698         * lyx_main.C: handle Include in .ui files
3699
3700 2003-04-15  John Levon  <levon@movementarian.org>
3701
3702         * MenuBackend.C: make the doc files length shorter
3703
3704         * ToolbarBackend.h:
3705         * ToolbarBackend.C: handle toolbar placement flags,
3706         Minibuffer
3707
3708 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3709
3710         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3711         adjust
3712
3713         * paragraph_funcs.C (TeXOnePar): adjust
3714
3715         * paragraph.C (getLabelFont): add outerfont arg, adjust
3716         (getLayoutFont): ditto
3717         (simpleTeXOnePar): adjust
3718
3719         * paragraph_pimpl.C (realizeFont): delete func
3720
3721 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3722
3723         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3724         row argument, constify cur argument.
3725
3726 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3727
3728         * text2.C (getFont): adjust
3729         (getLayoutFont): adjust
3730         (getLabelFont): adjust
3731
3732         * paragraph_funcs.C (TeXOnePar): adjust
3733         (outerFont): new func...
3734         (realizeFont): ...moved out from here, changed this to facilitate
3735         transition
3736
3737         * paragraph.C (getFont): take outerfont as arg, adjust
3738         (simpleTeXOnePar): add outerfont arg, adjust
3739
3740         * buffer.C (simpleLinuxDocOnePar): adjust
3741         (simpleDocBookOnePar): adjust
3742
3743         * CutAndPaste.C (pasteSelection): adjust
3744
3745         * BufferView.C (getEncoding): adjust
3746
3747 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3748
3749         * text2.C (setCharFont): adjust
3750         (setCounter): adjust
3751
3752         * text.C (leftMargin): adjust
3753         (setHeightOfRow): adjust
3754
3755         * rowpainter.C (paintFirst): adjust
3756         (paintLast): adjust
3757
3758         * paragraph_pimpl.C (realizeFont): adjust
3759
3760         * paragraph.C (isFirstInSequence): move from here...
3761         * paragraph_funcs.C (isFirstInSequence): ...to here
3762
3763         * paragraph.C (outerHook): move from here...
3764         * paragraph_funcs.C (outerHook): ...to here
3765
3766         * paragraph.C (depthHook): move from here...
3767         * paragraph_funcs.C (depthHook): ...to here
3768
3769         * paragraph.C (getEndLabel): move from here...
3770         * paragraph_funcs.C (getEndLabel): ...to here
3771
3772         * text2.C (realizeFont): move from here...
3773         * paragraph_funcs.C (realizeFont): ...to here
3774
3775 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3776
3777         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3778
3779 2003-04-14  Angus Leeming  <leeming@lyx.org>
3780
3781         * LColor.[Ch]: scrap LColor mathcursor.
3782
3783 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3784
3785         * lyxlex.[Ch] (text): delete function
3786         * trans.C (Load): adjust
3787         * paragraph_funcs.C (readParToken): adjust
3788
3789 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3790
3791         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3792         vector<char> instead of a char[].
3793
3794         * lyxlex_pimpl.C (getString): adjust
3795         (next): adjust
3796         (lex): use getString
3797         (eatLine): adjust
3798         (nextToken): adjust
3799
3800         * lyxlex.C (text): use pimpl_->getString()
3801         (getBool): ditto
3802         (findToken): ditto
3803
3804 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3805
3806         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3807         (makeFontEntriesLayoutSpecific): temp var for par.size()
3808         (setLayout): temp var for ownerParagraphs().end()
3809         (fullRebreak): temp var for rows().end()
3810         (selectionAsString): temp var for boost::next(startpit), realize
3811         that the while really is a regular for loop.
3812         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3813         setCursor in one place.
3814         (setParagraph): temp vr for ownerParagraphs().end()
3815         (updateCounters): make the while loop a for loop
3816         (cutSelection): temp var for ownerParagraphs().end()
3817         (updateInset): make the do {} while() a regular for loop
3818         (getCursorX): use temp vars
3819         (setCurrentFont): use temp vars
3820         (getColumnNearX): use temp vars
3821
3822 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3823
3824         * text.C (transformChar): use temp var for getChar
3825         (computeBidiTables): use temp var for row->par()
3826         (fill): move temp vars for row->par() and pit->layout() earlier in
3827         the function.
3828         (labelFill): use temp var for row->par()
3829         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3830         asc and desc, realize that pit never changes and that firstpit is
3831         just a duplicate and not needed. Exchange rit->par() with pit in a
3832         lot of places.
3833         (breakAgain): use a temp var for boost::next(rit)
3834         (breakAgainOneRow): ditto
3835         (breakParagraph): use a temp var for rows().begin()
3836         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3837         (cursorRightOneWord): use temp var for cursor.par() and
3838         cursor.pos(), remove usage of tmpcursor.
3839         (cursorLeftOneWord): use temp var for cursor.par() and
3840         cursor.pos() only set cur at end of function.
3841
3842 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3843
3844         * text.C, text2.C: exchange all usage of Paragraph::next with
3845         boost::next(ParagraphList::iterator)
3846
3847         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3848
3849         * text2.C (cursorTop): simplify implementation
3850         (cursorBottom): ditto
3851         (setParagraph): use ParagraphList::iterator
3852         (setCurrentFont): adjust
3853         (getColumnNearX): adjust
3854         (cursorRight): adjust
3855         (cursorLeft): remove usage of Paragraph::previous
3856         (cursorUpParagraph): ditto
3857         (deleteEmptyParagraphMechanism): slight cleanup
3858
3859         * text.C (isBoundary): take a Paragraph const & instead of a
3860         pointer as arg.
3861         (addressBreakPoint): ditto
3862         (leftMargin): remove usage of Paragraph::previous.
3863         (setHeightOfRow): ditto
3864         (cursorLeftOneWord): ditto
3865         (selectNextWordToSpellcheck): ditto
3866         (Delete): ditto
3867         (backspace): ditto
3868         (breakParagraph): remove one usage of Paragraph::next
3869         (redoParagraph): ditto
3870         (acceptChange): ditto
3871         (insertChar): adjust
3872         (rowBreakPoint): adjust
3873
3874         * bufferview_funcs.C (toggleAndShow): adjust
3875
3876 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3877
3878         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3879         methods to access it.
3880         * lyxtext.h:
3881         * text.C: Added updateRowPositions to compute all row positions.
3882         Make top_y and getRowNearY() to use the cached y position
3883
3884 2003-04-11  John Levon  <levon@movementarian.org>
3885
3886         * text.C (rowBreakPoint): reintroduce the labelEnd
3887         checks, code copied from the row fill stuff. Deep voodoo.
3888
3889         * text.C (fill): add a comment and debugging for the
3890         next poor soul.
3891
3892 2003-04-11  John Levon  <levon@movementarian.org>
3893
3894         * text.C: make sure fullrow insets get wrapped to the next line,
3895         even when they're in a manual label
3896
3897 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3898
3899         * text2.C (insertParagraph): make it take ParagraphList::iterator
3900         as arg.
3901         (setLayout): make it return ParagraphList::iterator
3902         (redoParagraphs): ditto
3903         (setCounter): ditto
3904         (checkParagraph): ditto
3905
3906         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3907
3908         * text2.C: adjust several funcs.
3909         (realizeFont): take a ParagraphList::iterator as arg.
3910         (getLayoutFont): ditto
3911         (getLabelFont): ditto
3912         (setCharFont): ditto
3913
3914         * text.C: adjust several funcs.
3915
3916 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3917
3918         * text.C (selectNextWordToSpellcheck): don't accidentally
3919         skip insets
3920
3921 2003-04-10  John Levon  <levon@movementarian.org>
3922
3923         * ToolbarBackend.C (getIcon): special handling for
3924         LFUN_MATH_DELIM
3925
3926 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3927
3928         * text2.C (cursorRight): a getChar assert fixed
3929
3930 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3931
3932         * text2.C (getFont): change to take a ParagraphList::iterator
3933         instead of Paragraph*
3934         Adjust several functions.
3935
3936         * text.C (transformChar): change to take a ParagraphList::iterator
3937         instead of Paragraph*
3938         (singleWidth): ditto
3939         Adjust several functions.
3940
3941         * rowpainter.C: adjust several functions
3942         * rowpainter.h:store a ParagraphList::iterator and not a
3943         Paragraph&.
3944
3945
3946 2003-04-09  John Levon  <levon@movementarian.org>
3947
3948         * lyxfunc.C:
3949         * lfuns.h:
3950         * LyXAction.h:
3951         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3952         and the "help" bits as well
3953
3954 2003-04-09  John Levon  <levon@movementarian.org>
3955
3956         * ToolbarBackend.h:
3957         * ToolbarBackend.C: allow multiple toolbars
3958
3959 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3960
3961         * undo_funcs.C (setCursorParUndo): adjust
3962
3963         * text_funcs.C (transposeChars): adjust
3964
3965         * text3.C (gotoNextInset): adjust
3966         (dispatch): adjust
3967
3968         * text2.C (setLayout): adjust
3969         (changeDepth): adjust
3970         (setFont): adjust
3971         (redoParagraphs): adjust
3972         (selectionAsString): adjust
3973         (setParagraph): adjust
3974         (insertInset): adjust
3975         (cutSelection): adjust
3976         (copySelection): adjust
3977         (pasteSelection): adjust
3978         (insertStringAsLines): adjust
3979         (updateInset): adjust
3980         (setCursor): change to take a ParagraphList::iterator parameter
3981         (setCursorIntern): change to take a ParagraphList::iterator parameter
3982         (setCurrentFont): adjust
3983         (cursorLeft): adjust
3984         (cursorRight): adjust
3985         (deleteEmptyParagraphMechanism): adjust
3986
3987         * text.C (breakParagraph): adjust
3988         (insertChar): adjust
3989         (acceptChange): adjust
3990         (rejectChange): adjust
3991         (selectNextWordToSpellcheck): adjust
3992         (changeCase): adjust
3993         (Delete): adjust
3994         (backspace): adjust
3995
3996         * lyxfind.C (SearchForward): adjust
3997         (SearchBackward): adjust
3998         (nextChange): adjust
3999
4000         * lyxcursor.C (par): adjust
4001
4002         * lyxcursor.h: store a ParagraphList::iterator instead of a
4003         Paragraph*
4004
4005         * lyx_cb.C (getPossibleLabel): adjust
4006
4007         * bufferview_funcs.C (toggleAndShow): adjust
4008
4009         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4010         (dispatch): adjust
4011
4012         * BufferView.C (removeAutoInsets): adjust
4013         (lockedInsetStoreUndo): adjust
4014
4015 2003-04-09  John Levon  <levon@movementarian.org>
4016
4017         * ToolbarBackend.C: try icon without argument
4018         if with argument fails
4019
4020 2003-04-08  John Levon  <levon@movementarian.org>
4021
4022         * ToolbarBackend.h:
4023         * ToolbarBackend.C: add getIcon(), handle tooltip,
4024         and change from "Icon" to "Item".
4025
4026 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4027
4028         * BufferView.C (lockInset): another bad getchar crunched
4029
4030 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4031
4032         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4033         again)
4034
4035 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4036
4037         * lyxfind.C (searchForward, searchBackwards): bug 782
4038
4039 2003-04-07  John Levon  <levon@movementarian.org>
4040
4041         * paragraph.C: remove dead comment
4042
4043         * text.C: remove troublesome depth-fiddling code
4044         in leftMargin() and rightMargin() (bug 1017)
4045
4046         * text.C: fix breaking of rows in nested lists
4047         (bug 1004)
4048
4049         * text2.C (updateCounters): fix up depth values
4050         (bug 1013)
4051
4052 2003-04-07  John Levon  <levon@movementarian.org>
4053
4054         * BufferView_pimpl.C: clear message when doc finishes resizing,
4055         and after a mouse event
4056
4057         * lyxfunc.C: clear message after exiting inset
4058
4059 2003-04-07  John Levon  <levon@movementarian.org>
4060
4061         * bufferview_funcs.C: show math status not outside
4062         status in the statusbar
4063
4064 2003-04-07  John Levon  <levon@movementarian.org>
4065
4066         * lyxfunc.C: note status changed after a depth change
4067
4068 2003-04-04  Angus Leeming  <leeming@lyx.org>
4069
4070         * LaTeX.h: move AuxInfo operator==, != out of line.
4071         Remove LaTeX virtual destructor; nothing derives from it.
4072         Move operator()() out of public area and rename it startscript().
4073         Change protected for private.
4074
4075 2003-04-04  Angus Leeming  <leeming@lyx.org>
4076
4077         * lyxfunc.C:
4078         * text2.C: remove unneeded #includes.
4079
4080 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4081
4082         * text2.C (dEPM): fix the heigth of the next row
4083
4084 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4085
4086         * text.C: squashed an invalid getChar requester + some ws changes
4087
4088 2003-04-03  John Levon  <levon@movementarian.org>
4089
4090         * bufferview_funcs.h:
4091         * bufferview_funcs.C:
4092         * lyxfunc.C:
4093         * lyxtext.h:
4094         * text2.C: make getStatus work for the env depth lfuns
4095
4096 2003-04-03  John Levon  <levon@movementarian.org>
4097
4098         * bufferview_funcs.h:
4099         * bufferview_funcs.C:
4100         * lyxfunc.C:
4101         * lyxtext.h:
4102         * text2.C: parlistize decDepth(), by merging it with incDepth()
4103
4104 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4105
4106         * lyxrow.h: store a ParagraphList::iterator instead of a
4107         Paragraph* and adjust other class functions to suit.
4108
4109         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4110         above.
4111
4112 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4113
4114         * text2.C (setCursor): do not anchor to cursor row for the time being
4115
4116 2003-04-02  John Levon  <levon@movementarian.org>
4117
4118         * LyXAction.C:
4119         * lfuns.h:
4120         * lyx_main.C:
4121         * lyxtext.h:
4122         * text.C:
4123         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4124
4125 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4126
4127         * paragraph.h: make ParagraphList and ParagraphList::iterator
4128         friends of Paragraph.
4129
4130         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4131
4132         * ParagraphList.C: Use the private next_ and previous_ from
4133         Paragraph.
4134
4135 2003-04-01  John Levon  <levon@movementarian.org>
4136
4137         * ToolbarBackend.h:
4138         * ToolbarBackend.C:
4139         * Makefile.am: rename, remove defaults gunk
4140
4141         * MenuBackend.h:
4142         * MenuBackend.C: remove defaults gunk
4143
4144         * Languages.h:
4145         * Languages.C: remove defaults gunk
4146
4147         * lyx_main.h:
4148         * lyx_main.C: error out if files couldn't be found.
4149
4150 2003-04-02  John Levon  <levon@movementarian.org>
4151
4152         * text2.C: make incDepth() use parlist
4153
4154 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4155
4156         * undo_funcs.C (firstUndoParagraph): adjust
4157
4158         * text3.C (gotoInset): adjust
4159         (dispatch): adjust, and rewrite loop.
4160
4161         * text2.C (init): adjust, and rewrite loop.
4162         (redoParagraphs): adjust
4163         (updateInset): adjust, and rewrite loop.
4164         (deleteEmptyParagraphMechanism): adjust
4165
4166         * tabular.C (LyXTabular): adjust
4167         (SetMultiColumn): adjust
4168         (TeXRow): adjust
4169
4170         * lyxtext.[Ch] (ownerParagraph): delete function
4171         (ownerParagraphs): new function returns a ParagraphList.
4172
4173         * BufferView.C (removeAutoInsets): adjust
4174         (insertErrors): adjust
4175         (setCursorFromRow): adjust
4176
4177 2003-04-01  Angus Leeming  <leeming@lyx.org>
4178
4179         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4180         in the frontends.
4181
4182 2003-04-02  John Levon  <levon@movementarian.org>
4183
4184         * lyxtext.h:
4185         * text.C:
4186         * Makefile.am:
4187         * text_funcs.h:
4188         * text_funcs.C: make transposeChars a free function
4189
4190         * lyxrow_funcs.C: remove wrong comment
4191
4192 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4193
4194         * lyxtext.h: adjust
4195         * rowpainter.C: adjust
4196         * text.C: adjust
4197         * text2.C: adjust
4198         * text3.C: adjust
4199
4200         * lyxrow_funcs. [Ch]: new files
4201
4202         * lyxrow.[Ch]: remove next and previous pointers
4203         (next,previous): remove accessor functions
4204         (isParEnd): move to lyxrow_funcs
4205         (lastPos): move to lyxrow_funcs
4206         (nextRowIsAllInset): move to lyxrow_funcs
4207         (lastPrintablePos): move to lyxrow_funcs
4208         (numberOfSeparators): move to lyxrow_funcs
4209         (numberOfHfills): move to lyxrow_funcs
4210         (numberOfLabelHfills): move to lyxrow_funcs
4211         (hfillExpansion): move to lyxrow_funcs
4212
4213         * lyxfunc.C: adjust
4214
4215         * bufferview_funcs.C (toggleAndShow): adjust
4216
4217         * RowList.h: Remove class RowList from file leave just a
4218         std::list<Row>.
4219
4220         * RowList.C: delete file
4221
4222         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4223         and lyxrow_funcs.h
4224
4225 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4226
4227         * text3.C (cursorPrevious): adjust
4228         (cursorNext): adjust
4229         (dispatch): adjust
4230
4231         * text2.C (redoHeightOfParagraph): adjust
4232         (redoDrawingOfParagraph): adjust
4233         (setCursor): adjust
4234
4235         * text.C (breakParagraph): adjust
4236         (insertChar): adjust
4237         (backspace): adjust
4238
4239         * rowpainter.C (RowPainter): adjust
4240         (leftMargin): simplify and adjust
4241         (most rowpainter functions): adjust.
4242
4243         * rowpainter.h: store the row as RowList::iterator not as Row*
4244
4245         * lyxcursor.C (row): taka RowList::iterator as arg
4246         (irow): ditto
4247
4248         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4249         of Row*.
4250
4251 2003-04-01  Angus Leeming  <leeming@lyx.org>
4252
4253         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4254         stuff like bool Bool.
4255
4256 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4257
4258         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4259         rewrite a loop
4260
4261 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4262
4263         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4264         RowList::iterator.
4265
4266         * lyxtext.h (rows): drop one version and leve a const variant that
4267         returns a RowList::iterator.
4268
4269 2003-03-31  Angus Leeming  <leeming@lyx.org>
4270
4271         * text.C (fill): ensure that the signature is the same as that in the
4272         header file.
4273
4274 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4275
4276         * text2.C (redoParagraphs): adjust
4277         (updateCounters): adjust
4278         (checkParagraph): adjust
4279         (getColumnNearX): adjust and reformat a bit.
4280
4281         * text.C (top_y): adjust
4282         (workWidth): adjust
4283         (leftMargin): adjust
4284         (prepareToPrint): adjust
4285         (getRow): adjust
4286         (getRowNearY): adjust
4287
4288         * lyxtext.h: make rowlist_ mutable.
4289
4290         * RowList.h: add const_iterator
4291         * RowList.C: adjust for RowList::const_iterator.
4292
4293         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4294         adjust.
4295
4296 2003-03-31  John Levon  <levon@movementarian.org>
4297
4298         * lyxrc.h:
4299         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4300
4301         * lyx_main.C: set default fonts from using lyx_gui funcs
4302
4303         * exporter.C: pdf_mode moved from lyxrc
4304
4305         * lyx_cb.C:
4306         * lyxfunc.C: changes from above
4307
4308 2003-03-31  John Levon  <levon@movementarian.org>
4309
4310         * lyx_main.C: fix to the last fix
4311
4312 2003-03-31  John Levon  <levon@movementarian.org>
4313
4314         * bufferlist.C: "Load original" -> "Load Original"
4315
4316         * converter.C:
4317         * exporter.C:
4318         * importer.C:
4319         * lyx_main.C:
4320         * format.C: more Alert cleanups
4321
4322 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4323
4324         * text2.C (removeParagraph): make it take a RowList::iterator as
4325         arg, adjust.
4326         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4327         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4328
4329         * text.C (anchor_row): make it take a RowList::iterator as arg,
4330         adjust.
4331         (computeBidiTables): make it take a const reference to Row instead
4332         of Row pointer, adjust.
4333         (leftMargin): make it take a RowList::iterator as arg, adjust.
4334         (rowBreakPoint): adjust
4335         (breakAgainOneRow): make it take a RowList::iterator as arg,
4336         adjust.
4337         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4338
4339         * bufferview_funcs.C (toggleAndShow): adjust
4340
4341 2003-03-30  John Levon  <levon@movementarian.org>
4342
4343         * Makefile.am:
4344         * BoostFormat.h:
4345         * boost-inst.C: moved to support
4346
4347         * several files: changes as a result
4348
4349 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4350
4351         * text2.C (LyXText): adjust.
4352         (init): adjust
4353         (removeRow): make it take a RowList::iterator as arg, adjust.
4354         (fullRebreak): adjust
4355         (deleteEmptyParagraphMechanism): adjust
4356         (clearPaint): adjust
4357         (postPaint): adjust
4358
4359         * text.C (top_y): adjust
4360         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4361         (breakAgain): make it take a RowList::iterator as arg, adjust.
4362         (breakParagraph): adjust
4363         (insertChar): adjust
4364         (backspace): adjust
4365
4366         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4367         need_break_row, and refresh_row.
4368
4369         * text3.C (dispatch): adjust
4370
4371         * text2.C (checkParagraph): adjust
4372         (setCursor): adjust
4373         (setCursorFromCoordinates): adjust
4374
4375         * text.C (top_y): adjust
4376         (workWidth): adjust
4377         (getRow): make it return a RowList::iterator, adjust
4378         (getRowNearY): make it return a RowList::iterator, adjust
4379
4380         * text2.C (init): adjust
4381         (insertRow): remove function
4382         (insertParagraph): adjust
4383         (redoParagraphs): adjust
4384         (fullRebreak): adjust
4385         (updateCounters): adjust
4386
4387         * text.C (top_y): rewrite to use RowList iterators.
4388         (top_y): adjust
4389         (setHeightOfRow): rewrite to sue RowList iterators.
4390         (appendParagraph): adjust
4391         (breakAgain): adjust
4392         (breakAgainOneRow): adjust
4393         (breakParagraph): adjust
4394         (getRow): adjust
4395         (getRowNearY): adjust, and remove commented code.
4396
4397         * lyxtext.h (firstRow): delete function
4398         (lastRow): delete function
4399         (rows): new function (const and non-const versions.)
4400         (insertRow): delete function
4401
4402         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4403
4404 2003-03-29  John Levon  <levon@movementarian.org>
4405
4406         * BufferView_pimpl.C: always update scrollbar top
4407         because pasting text when we're anchored could mean we
4408         miss an update altogether
4409
4410 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4411
4412         * text2.C (init): use rowlist_.end() and not 0.
4413         (insertRow): change to take a RowList::iterator as arg, adjust
4414         for this.
4415         (insertParagraph): change to take a RowList::iterator as arg,
4416         adjust for this.
4417         (redoParagraphs): remove some debug msgs.
4418
4419         * text.C (appendParagraph): change to take a RowList::iterator
4420         arg, adjust for this.
4421         (breakAgain): add an assert
4422         (breakAgainOneRow): ditto
4423
4424 2003-03-29  John Levon  <levon@movementarian.org>
4425
4426         * text2.C: do not clear selection after inc/decDepth
4427         (bug 550)
4428
4429 2003-03-29  John Levon  <levon@movementarian.org>
4430
4431         * BufferView.C:
4432         * buffer.C: fix broken strerrors according to Lars
4433
4434 2003-03-29  John Levon  <levon@movementarian.org>
4435
4436         * converters.C: more Alert cleanups
4437
4438 2003-03-29  John Levon  <levon@movementarian.org>
4439
4440         * bufferview_funcs.C: remove pointless Alert
4441
4442         * buffer.C: fix confusing error message when
4443         a template is chmoded 000
4444
4445 2003-03-29  John Levon  <levon@movementarian.org>
4446
4447         * BufferView.C:
4448         * BufferView.h:
4449         * BufferView_pimpl.C: Alert fixes
4450
4451         * Makefile.am:
4452         * tabular.C:
4453         * tabular-old.C: remove unused table compat reading
4454
4455 2003-03-29  John Levon  <levon@movementarian.org>
4456
4457         * BufferView.C:
4458         * buffer.C:
4459         * lyx_cb.h:
4460         * lyx_cb.C: more Alert cleanups
4461
4462         * lyxfunc.C: don't allow chktex if not latex document
4463
4464 2003-03-29  John Levon  <levon@movementarian.org>
4465
4466         * lyx_cb.C:
4467         * BufferView.C:
4468         * buffer.C: warnings pushed down from support/,
4469         kill err_alert
4470
4471 2003-03-29  John Levon  <levon@movementarian.org>
4472
4473         * lyxfunc.C: safety check for C-r (revert)
4474
4475 2003-03-29  John Levon  <levon@movementarian.org>
4476
4477         * bufferlist.h:
4478         * bufferlist.C: several UI fixes using Alert::prompt.
4479         Fix the pointless looping quit code. Fix stupid revert
4480         behaviour (bug 938)
4481
4482         * lyxvc.h:
4483         * lyxvc.C:
4484         * lyx_cb.C: use Alert::prompt
4485
4486         * lyx_main.C: remove a silly question
4487
4488         * lyxfunc.C: remove a couple of silly questions,
4489         use Alert::prompt
4490
4491 2003-03-28  John Levon  <levon@movementarian.org>
4492
4493         * text2.C: fix bug 974 (End on empty par)
4494
4495 2003-03-28  John Levon  <levon@movementarian.org>
4496
4497         * BufferView_pimpl.C:
4498         * LyXAction.C:
4499         * lfuns.h: remove do-nothing math greek lfuns
4500
4501 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4502
4503         * lyxgluelength.h (isValidGlueLength): add default arg on
4504         parameter 2. Remove default arg from friend in class.
4505
4506         * lyxlength.h (isValidLength): add default arg on parameter 2.
4507         Remove default arg from friend in class.
4508
4509         * text2.C (LyXText): adjust, initialize refresh_row.
4510         (init): adjust
4511         (removeRow): adjust
4512         (insertRow): adjust
4513         (insertParagraph): adjst
4514         (redoParagraphs): adjust
4515         (fullRebreak): adjust
4516         (updateCounters): adjust
4517         (deleteEmptyParagraphMechanism): first attempt at fixing a
4518         crashing bug.
4519
4520         * text.C (top_y): adjust
4521         (setHeightOfRow): adjust
4522         (getRow): adjust
4523         (getRowNearY): adjust
4524
4525         * lyxtext.h: include RowList.h
4526         (~LyXText): not needed anymore, deleted.
4527         (firstRow): modify for RowList
4528         (lastRow): new function
4529         Delete firstrow and lastrow class variables, add a Rowlist
4530         rowlist_ class variable.
4531
4532         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4533         paragraph is empty.
4534
4535         * RowList.C (insert): fix case where it == begin().
4536
4537 2003-03-26  Angus Leeming  <leeming@lyx.org>
4538
4539         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4540         the thesaurus dialog.
4541
4542 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4543
4544         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4545
4546         * RowList.[Ch]: new files
4547
4548         * ParagraphList.C (erase): handle the case where it == begin
4549         correctly.
4550
4551 2003-03-25  John Levon  <levon@movementarian.org>
4552
4553         * Makefile.am:
4554         * aspell_local.h:
4555         * aspell.C: add new aspell support
4556
4557         * lyxrc.h:
4558         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4559         have it accessible.
4560
4561 2003-03-25  Angus Leeming  <leeming@lyx.org>
4562
4563         * lfuns.h:
4564         * LyXAction.C (init): new LFUN_INSET_INSERT.
4565
4566         * BufferView_pimpl.C (dispatch): split out part of the
4567         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4568
4569         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4570         LFUN_INSET_APPLY.
4571
4572 2003-03-25  Angus Leeming  <leeming@lyx.org>
4573
4574         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4575
4576 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4577
4578         * text2.C:
4579         * text3.C: remove useless row->height(0)
4580
4581 2003-03-25  John Levon  <levon@movementarian.org>
4582
4583         * lyxtext.h:
4584         * text2.C:
4585         * text3.C: rename the refreshing stuff to better names
4586
4587 2003-03-24  John Levon  <levon@movementarian.org>
4588
4589         * BufferView_pimpl.h:
4590         * BufferView_pimpl.C: update layout choice on a mouse
4591         press/release
4592
4593 2003-03-23  John Levon  <levon@movementarian.org>
4594
4595         * Makefile.am: fix commandtags.h reference
4596
4597 2003-03-22  John Levon  <levon@movementarian.org>
4598
4599         * BufferView_pimpl.C:
4600         * lyxtext.h:
4601         * rowpainter.C:
4602         * rowpainter.h:
4603         * text.C:
4604         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4605
4606 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4607
4608         * lyxtext.h:
4609         * text.C: take the rtl methods out of line
4610
4611 2003-03-21 André Pönitz <poenitz@gmx.net>
4612
4613         * metricsinfo.[Ch]: new files containing structures to be passed around
4614         during the two-phase-drawing...
4615
4616 2003-03-21 André Pönitz <poenitz@gmx.net>
4617
4618         * lyxtextclass.C: read 'environment' tag.
4619
4620 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4621
4622         * text2.C (removeRow): fix bug 964
4623
4624 2003-03-20  John Levon  <levon@movementarian.org>
4625
4626         * rowpainter.C:
4627         * text.C:
4628         * text2.C: paint cleanups. Inset::update() dropped font
4629         parameter
4630
4631 2003-03-19  John Levon  <levon@movementarian.org>
4632
4633         * lyxfunc.C: only fitcursor/markDirty if available()
4634
4635 2003-03-19  John Levon  <levon@movementarian.org>
4636
4637         * commandtags.h: rename to ...
4638
4639         * lfuns.h: ... this, and renumber / cleanup
4640
4641 2003-03-19  John Levon  <levon@movementarian.org>
4642
4643         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4644         fit the cursor after an lfun
4645
4646         * BufferView.h:
4647         * BufferView.C:
4648         * BufferView_pimpl.h:
4649         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4650
4651         * LyXAction.C: layout-character should have ReadOnly
4652
4653         * ParagraphParameters.C:
4654         * buffer.C:
4655         * bufferview_funcs.C:
4656         * lyx_cb.C:
4657         * lyxfind.C:
4658         * lyxtext.h:
4659         * text.C:
4660         * text2.C:
4661         * text3.C:
4662         * undo_funcs.C: changes from above
4663
4664 2003-03-18  John Levon  <levon@movementarian.org>
4665
4666         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4667         remove it from update()
4668
4669         * lyxfunc.C: update layout choice after an lfun
4670
4671         * text3.C: remove extra updateLayoutChoice()s
4672
4673 2003-03-18  John Levon  <levon@movementarian.org>
4674
4675         * text.C: top_y change means full repaint, fix
4676         a drawing bug with cursor movement
4677
4678 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4679
4680         * lyxtext.h:
4681         * text.C:
4682         * text2.C: anchor row on setCursor
4683
4684 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4685
4686         * lyxtext.h: remove almost all mutable keywords
4687         * text.C:
4688         * text2.C:
4689         * text3.C: remove const keywords accordingly
4690
4691 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4692
4693         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4694         anon namespace
4695         (TeXEnvironment): ditto
4696         (TeXOnePar): ditto
4697
4698 2003-03-17  John Levon  <levon@movementarian.org>
4699
4700         * text.C (rowBreakPoint): remove attempt to fix displayed
4701         math insets inside a manual label
4702
4703 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4704
4705         * lyxtext.h: remove BufferView* as first arg from almost all class
4706         functions.
4707         * other files: adjust.
4708
4709 2003-03-17  John Levon  <levon@movementarian.org>
4710
4711         * lyxtext.h:
4712         * undo_funcs.C:
4713         * text2.C: more paint cleanups
4714
4715         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4716
4717         * rowpainter.h:
4718         * rowpainter.C: remove "smart" background painting code
4719
4720 2003-03-16  John Levon  <levon@movementarian.org>
4721
4722         * lyxtext.h:
4723         * text.C:
4724         * text2.C:
4725         * text3.C: add helper functions for setting refresh_row/y
4726
4727 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4728
4729         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4730         newline inset which *can* get inserted in the pass_thru layouts.
4731         This is primarily for literate documents.
4732
4733 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4734
4735         * buffer.C: increment LYX_FORMAT to 223
4736
4737 2003-03-14 André Pönitz <poenitz@gmx.net>
4738
4739         * textclass.h: prepare for environment handling, ws changes
4740         * lyxlayout.C: read latexheader and latexfooter tags
4741
4742 2003-03-14  John Levon  <levon@movementarian.org>
4743
4744         * text2.C: rewrite ::status() a bit
4745
4746 2003-03-13  John Levon  <levon@movementarian.org>
4747
4748         * lyxtext.h: add some docs
4749
4750 2003-03-13  John Levon  <levon@movementarian.org>
4751
4752         * lyxtext.h:
4753         * text.C:
4754         * text2.C:
4755         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4756
4757 2003-03-13  John Levon  <levon@movementarian.org>
4758
4759         * text3.C: fix appendix redrawing
4760
4761 2003-03-13  John Levon  <levon@movementarian.org>
4762
4763         * text.C (setHeightOfRow):
4764         * rowpainter.h:
4765         * rowpainter.C: make appendix mark have the text
4766           "Appendix" so the user knows what it is
4767
4768         * LColor.h:
4769         * LColor.C: s/appendixline/appendix/ from above
4770
4771 2003-03-13  John Levon  <levon@movementarian.org>
4772
4773         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4774
4775         * text.C: fix a getChar(pos) bug properly
4776
4777 2003-03-13  Angus Leeming  <leeming@lyx.org>
4778
4779         * commandtags.h:
4780         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4781         Probably only temporary. Let's see how things pan out.
4782
4783         * BufferView.C (unlockInset):
4784         * BufferView_pimpl.C (fitCursor):
4785         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4786
4787         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4788         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4789
4790         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4791         new functions that convert ParagraphParameters to and from a string.
4792
4793         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4794         BufferView::Pimpl's dispatch.
4795         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4796
4797 2003-03-13 André Pönitz <poenitz@gmx.net>
4798
4799         * lyxfunc.C:
4800         * text3.C:
4801         * factory.C: make it aware of InsetEnv
4802
4803 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4804
4805         * text2.C (setCursor): never ask for one past last
4806         (setCursor): add some debugging messages.
4807
4808         * text.C (singleWidth): never ask for one past last
4809         (singleWidth): ditto
4810         (leftMargin): ditto
4811         (rightMargin): ditto
4812         (rowBreakPoint): ditto
4813         (setHeightOfRow): ditto
4814         (prepareToPrint): ditto
4815
4816         * rowpainter.C (paintBackground): never ask for one past last
4817         (paintText): never ask for one past last
4818
4819         * paragraph_pimpl.C (getChar): make the assert stricter, never
4820         allow the one past last pos to be taken
4821
4822         * paragraph.C (getChar): ws changes only
4823
4824         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4825         (numberOfSeparators): ditto
4826         (numberOfHfills): ditto
4827
4828 2003-03-12  John Levon  <levon@movementarian.org>
4829
4830         * author.h:
4831         * author.C:
4832         * bufferparams.h:
4833         * bufferparams.C:
4834         * paragraph_funcs.C: fix per-buffer authorlists
4835
4836 2003-03-12  John Levon  <levon@movementarian.org>
4837
4838         * text.C: fix newline in right address
4839
4840 2003-03-12  Angus Leeming  <leeming@lyx.org>
4841
4842         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4843         duplicate those in LyXFunc::dispatch.
4844
4845         * commandtags.h:
4846         * LyXAction.C:
4847         * ToolbarDefaults.C:
4848         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4849         Add LFUN_FONTFREE_UPDATE.
4850
4851         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4852         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4853
4854         * bufferview_func.[Ch]: several new functions to facilliate
4855         transfer of data to and from the character dialog.
4856
4857 2003-03-12  John Levon  <levon@movementarian.org>
4858
4859         * buffer.C:
4860         * paragraph.h:
4861         * paragraph.C:
4862         * paragraph_funcs.C:
4863         * paragraph_pimpl.C:
4864         * sgml.C:
4865         * tabular.C:
4866         * text.C:
4867         * text3.C: remove META_NEWLINE in favour of an inset
4868
4869         * rowpainter.h:
4870         * rowpainter.C: remove paintNewline (done by inset)
4871
4872 2003-03-12  John Levon  <levon@movementarian.org>
4873
4874         * paragraph_pimpl.C: complain about bad getChar()s
4875         for a while at least
4876
4877 2003-03-12  John Levon  <levon@movementarian.org>
4878
4879         * buffer.h:
4880         * buffer.C: move paragraph read into a separate function,
4881         a little renaming to reflect that.
4882
4883         * bufferparams.h:
4884         * bufferparams.C: remove the author_ids map, not necessary now
4885
4886         * factory.h:
4887         * factory.C: moved Buffer::readInset to here
4888
4889         * paragraph_funcs.h:
4890         * paragraph_funcs.C: readParagraph free function moved from
4891         buffer.C
4892
4893         * tabular.C: name change
4894
4895 2003-03-12  John Levon  <levon@movementarian.org>
4896
4897         * buffer.C:
4898         * ParagraphParameters.C: move par params input to
4899         a read() method
4900
4901         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4902         behave like a normal read from the stream wrt reading
4903         a line vs. a \\token
4904
4905 2003-03-12  John Levon  <levon@movementarian.org>
4906
4907         * paragraph.C:
4908         * ParagraphParameters.h:
4909         * ParagraphParameters.C: move output code to a
4910         ::write() method
4911
4912 2003-03-12  John Levon  <levon@movementarian.org>
4913
4914         * BufferView.C (insertLyXFile):
4915         * buffer.h:
4916         * buffer.C:
4917         * tabular.C: use a parlist iterator for creating the
4918           document.
4919
4920 2003-03-12  John Levon  <levon@movementarian.org>
4921
4922         * buffer.C: make current_change static local not
4923           static file-scope
4924
4925 2003-03-12  John Levon  <levon@movementarian.org>
4926
4927         * buffer.C: fix insertStringAsLines for change tracking
4928
4929 2003-03-12  John Levon  <levon@movementarian.org>
4930
4931         * BufferView.C:
4932         * tabular.C:
4933         * buffer.h:
4934         * buffer.C:
4935         * bufferparams.h:
4936         * bufferparams.C: move author list into params. Rename some
4937           functions. Move the header reading into a separate token
4938           loop. Move the header token reading into BufferParams.
4939
4940 2003-03-12  John Levon  <levon@movementarian.org>
4941
4942         * changes.C: put debug inside lyxerr.debugging() checks
4943
4944 2003-03-11 André Pönitz <poenitz@gmx.net>
4945
4946         * factory.C: make it aware of InsetHFill
4947
4948 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4949
4950         * buffer.C (latexParagraphs): move function from here...
4951         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4952         args.
4953
4954 2003-03-10  Angus Leeming  <leeming@lyx.org>
4955
4956         * LyXAction.C (init): fix bug in poplating array with multiple entries
4957         with the same LFUN (spotted by JMarc).
4958
4959 2003-03-10  John Levon  <levon@movementarian.org>
4960
4961         * text.C:
4962         * text2.C: move getColumnNearX() near its
4963         only call site
4964
4965 2003-03-10  John Levon  <levon@movementarian.org>
4966
4967         * text.C: fix break before a minipage
4968
4969 2003-03-10  John Levon  <levon@movementarian.org>
4970
4971         * text.C: fix the last commit
4972
4973 2003-03-09  John Levon  <levon@movementarian.org>
4974
4975         * lyxtext.h:
4976         * text.C:
4977         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4978         bug 365 (don't break before insets unless needed). Don't
4979         return a value > last under any circumstances.
4980
4981 2003-03-09  Angus Leeming  <leeming@lyx.org>
4982
4983         * BufferView_pimpl.C (trackChanges, dispatch): call
4984         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4985
4986 2003-03-09  Angus Leeming  <leeming@lyx.org>
4987
4988         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4989         than Dialogs::showAboutlyx().
4990
4991 2003-03-09  Angus Leeming  <leeming@lyx.org>
4992
4993         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4994         than Dialogs::showTabularCreate().
4995
4996 2003-03-09  John Levon  <levon@movementarian.org>
4997
4998         * lyxtext.h:
4999         * text.C:
5000         * text2.C: 3rd arg to nextBreakPoint was always the same.
5001           Use references.
5002
5003 2003-03-08  John Levon  <levon@movementarian.org>
5004
5005         * lyxrow.C:
5006         * paragraph.C:
5007         * paragraph.h:
5008         * rowpainter.C:
5009         * text.C:
5010         * text2.C: Remove the "main" bit from the "main body"
5011           notion.
5012
5013 2003-03-08  John Levon  <levon@movementarian.org>
5014
5015         * text.C (leftMargin): The left margin of an empty
5016         manual label paragraph should not include the label width
5017         string length.
5018
5019         * text.C (prepareToPrint): don't attempt to measure hfills
5020         for empty manual label paragraphs - the answer should be 0
5021
5022 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5023
5024         * CutAndPaste.C: remove commented code and reindent.
5025
5026 2003-03-08  John Levon  <levon@movementarian.org>
5027
5028         * lyxfunc.h:
5029         * lyxfunc.C: move reloadBuffer()
5030
5031         * BufferView.h:
5032         * BufferView.C: to here
5033
5034         * lyxvc.C: add comment
5035
5036         * vc-backend.h:
5037         * vc-backend.C: call bv->reload() to avoid
5038           getStatus() check on MENURELOAD
5039
5040 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5041
5042         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5043         to an old format .dep file.
5044
5045 2003-03-07  Angus Leeming  <leeming@lyx.org>
5046
5047         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5048         when the LFUN_MOUSE_RELEASE should have been handled by
5049         inset->localDispatch.
5050
5051 2003-03-07  Angus Leeming  <leeming@lyx.org>
5052
5053         * BufferView_pimpl.C (dispatch):
5054         * LyXAction.C (init):
5055         * ToolbarDefaults.C (init):
5056         * commandtags.h:
5057         * lyxfunc.C (getStatus):
5058         remove LFUN_INSET_GRAPHICS.
5059
5060         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5061
5062 2003-03-07  Angus Leeming  <leeming@lyx.org>
5063
5064         * commandtags.h:
5065         * LyXAction.C (init):
5066         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5067
5068         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5069
5070         * commandtags.h:
5071         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5072
5073         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5074         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5075
5076 2003-03-07  Angus Leeming  <leeming@lyx.org>
5077
5078         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5079         remove "ert".
5080
5081 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5082
5083         * ParagraphList.C (front): new function
5084         (back): implement
5085
5086 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5087
5088         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5089         and top_row_offset_. removed var first_y.
5090         * text.C (top_y):
5091         * text2.C (LyXText, removeRow):
5092         * text3.C:
5093         * BufferView_pimpl.C:
5094         use these methods instead of using first_y
5095
5096 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5097
5098         * text2.C (pasteSelection): adjust for checkPastePossible
5099
5100         * CutAndPaste.C: remove Paragraph * buf and replace with
5101         ParagraphList paragraphs.
5102         (DeleteBuffer): delete
5103         (cutSelection): change the tc type to textclass_type
5104         (copySelection): change the tc type to textclass_type
5105         (copySelection): adjust for ParagraphList
5106         (pasteSelection): change the tc type to textclass_type
5107         (pasteSelection): adjust for Paragraphlist
5108         (nrOfParagraphs): simplify for ParagraphList
5109         (checkPastePossible): simplify for ParagraphList
5110         (checkPastePossible): remove unused arg
5111
5112         * ParagraphList.C (insert): handle the case where there are no
5113         paragraphs yet.
5114
5115         * CutAndPaste.h: make CutAndPaste a namespace.
5116
5117         * text3.C (dispatch): adjust
5118
5119         * text.C (breakParagraph): add a ParagraphList as arg
5120
5121         * paragraph_funcs.C (breakParagraph): change to take a
5122         BufferParams and a ParagraphList as args.
5123         (breakParagraphConservative): ditto
5124         (mergeParagraph): ditto
5125         (TeXDeeper): add a ParagraphList arg
5126         (TeXEnvironment): ditto
5127         (TeXOnePar): ditto
5128
5129         * buffer.C (readLyXformat2): adjust
5130         (insertStringAsLines): adjust
5131         (latexParagraphs): adjust
5132
5133         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5134         (cutSelection): adjust
5135         (pasteSelection): adjust
5136
5137         * BufferView_pimpl.C (insertInset): adjust
5138
5139 2003-03-05  Angus Leeming  <leeming@lyx.org>
5140
5141         * commandtags.h:
5142         * LyXAction.C (init):
5143         * BufferView_pimpl.C (dispatch):
5144         * lyxfunc.C (getStatus):
5145         remove LFUN_CHILD_INSERT.
5146
5147         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5148
5149 2003-03-05  Angus Leeming  <leeming@lyx.org>
5150
5151         * commandtags.h:
5152         * LyXAction.C (init):
5153         * src/factory.C (createInset):
5154         * lyxfunc.C (getStatus):
5155         * text3.C (dispatch):
5156         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5157
5158         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5159
5160 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5161
5162         * ParagraphList.C (insert): handle insert right before end()
5163         (erase): fix cases where it can be first or last paragraph.
5164
5165 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5166
5167         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5168         Paragraph::next and Paragraph::previous
5169         (TeXOnePar): ditto
5170
5171         * text.C (breakParagraph): adjust
5172
5173         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5174         BufferParams& as arg.
5175         (breakParagraph): use ParagraphList::insert
5176         (breakParagraphConservative): take a Buffer* instead of a
5177         BufferParams& as arg.
5178         (breakParagraphConservative): use ParagraphList::insert.
5179
5180         * buffer.C (insertStringAsLines): un-const it
5181         (insertStringAsLines): adjust
5182
5183         * ParagraphList.C (insert): new function
5184
5185         * CutAndPaste.C (pasteSelection): adjust
5186
5187         * text.C (backspace): adjust
5188
5189         * tabular.C (SetMultiColumn): adjust
5190
5191         * CutAndPaste.C (cutSelection): adjust
5192         (pasteSelection): adjust
5193
5194         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5195         Buffer const * as arg
5196
5197         * ParagraphList.C (erase): new function
5198         * paragraph_funcs.C (mergeParagraph): use it
5199         (mergeParagraph): make it take a Buffer* instead of a
5200         BufferParams* as arg
5201
5202         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5203         as arg
5204         (breakParagraphConservative): ditto
5205
5206         * paragraph.h: remove the breakParagraph friend
5207
5208         * paragraph.C (eraseIntern): new function
5209         (setChange): new function
5210
5211         * paragraph_funcs.C (mergeParagraph): make it take a
5212         ParagraphList::iterator instead of a Paragraph *, adjust
5213         accordingly.
5214
5215         * paragraph.h: move an #endif so that the change tracking stuff
5216         also works in the NO_NEXT case.
5217
5218 2003-03-04  Angus Leeming  <leeming@lyx.org>
5219
5220         * commandtags.h:
5221         * LyXAction.C: new LFUN_INSET_MODIFY.
5222
5223         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5224         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5225
5226 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5227
5228         * several files: ws changes only
5229
5230         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5231         (TeXEnvironment): ditto
5232         (TeXDeeper): ditto
5233
5234         * buffer.C (makeLaTeXFile): adjust
5235         (latexParagraphs): make it take ParagraphList::iterator as args
5236
5237 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5238
5239         * buffer.C (latexParagraphs): adjust
5240
5241         * paragraph.C (TeXOnePar): move function...
5242         (optArgInset): move function...
5243         (TeXEnvironment): move function...
5244         * paragraph_pimpl.C (TeXDeeper): move function...
5245         * paragraph_funcs.C: ...here
5246
5247         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5248
5249 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5250
5251         * buffer.C (readInset): remove compability code for old Figure and
5252         InsetInfo insets
5253
5254 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5255
5256         * buffer.C: ws changes
5257         (readInset):
5258
5259         * BufferView_pimpl.C: ditto
5260         * author.C: ditto
5261         * buffer.h: ditto
5262         * bufferlist.h: ditto
5263         * changes.h: ditto
5264         * lyxfunc.C: ditto
5265
5266 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5267
5268         * converter.[Ch]: split into itself +
5269         * graph.[Ch]
5270         * format.[Ch]
5271         * Makefile.am: += graph.[Ch] + format.[Ch]
5272         * MenuBackend.C
5273         * buffer.C
5274         * exporter.C
5275         * importer.C
5276         * lyx_main.C
5277         * lyxfunc.C
5278         * lyxrc.C: added #include "format.h"
5279
5280 2003-02-27  Angus Leeming  <leeming@lyx.org>
5281
5282         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5283           a label.
5284
5285         * factory.C (createInset): add "label" to the factory.
5286
5287         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5288           string and do no more.
5289
5290 2003-02-27  Angus Leeming  <leeming@lyx.org>
5291
5292         * commandtags.h:
5293         * LyXAction.C (init):
5294         * factory.C (createInset):
5295         * BufferView_pimpl.C (dispatch):
5296           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5297
5298         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5299
5300         * lyxfunc.C (dispatch):
5301         * text3.C (dispatch): pass name to params2string.
5302
5303 2003-02-26  Angus Leeming  <leeming@lyx.org>
5304
5305         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5306           blocks together.
5307           Rearrange the ~includes. Strip out the unnecessary ones.
5308
5309         * factory.C (createInset): reformat.
5310           create new insets for the various LFUN_XYZ_APPLY lfuns.
5311
5312 2003-02-26  John Levon  <levon@movementarian.org>
5313
5314         * lyxrow.h:
5315         * lyxrow.C: add isParStart,isParEnd helpers
5316
5317         * paragraph.h: make isInserted/DeletedText take refs
5318
5319         * paragraph_funcs.h:
5320         * paragraph_funcs.C: remove #if 0'd code
5321
5322         * lyxtext.h:
5323         * text3.C:
5324         * text2.C:
5325         * text.C: use lyxrow helpers above.
5326           Move draw and paint routines to RowPainter.
5327           Make several methods use refs not pointers.
5328           Make backgroundColor() const.
5329           Add markChangeInDraw(), isInInset().
5330           Merge changeRegionCase into changeCase.
5331           Make workWidth() shouldn't-happen code into an Assert.
5332
5333         * rowpainter.h:
5334         * rowpainter.C: new class for painting a row.
5335
5336         * vspace.h:
5337         * vspace.C: make inPixels take a ref
5338
5339 2003-02-26  Angus Leeming  <leeming@lyx.org>
5340
5341         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5342         LFUN_REF_APPLY.
5343
5344 2003-02-25  John Levon  <levon@movementarian.org>
5345
5346         * ispell.C: give the forked command a more accurate name
5347
5348 2003-02-22  John Levon  <levon@movementarian.org>
5349
5350         * toc.h:
5351         * toc.C: make TocItem store an id not a Paragraph *
5352           (bug #913)
5353
5354 2003-02-21  Angus Leeming  <leeming@lyx.org>
5355
5356         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5357           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5358           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5359           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5360           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5361           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5362
5363         * BufferView_pimpl.C (dispatch):
5364         * LyXAction.C (init):
5365         * factory.C (createInset):
5366         * lyxfunc.C (getStatus, dispatch):
5367         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5368
5369 2003-02-21  Angus Leeming  <leeming@lyx.org>
5370
5371         * BufferView_pimpl.C (MenuInsertLyXFile):
5372         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5373         * lyxfunc.C (menuNew, open, doImport):
5374           no longer pass a LyXView & to fileDlg.
5375
5376 2003-02-21  Angus Leeming  <leeming@lyx.org>
5377
5378         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5379         * LyXAction.C: change, BIBKEY to BIBITEM.
5380         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5381         Change InsetBibKey to InsetBibitem.
5382         Change BIBKEY_CODE to BIBITEM_CODE.
5383         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5384         * factory.C: replace insetbib.h with insetbibitem.h.
5385         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5386         * paragraph.C: replace insetbib.h with insetbibitem.h.
5387         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5388         Change bibkey() to bibitem().
5389         * text.C: remove insetbib.h.
5390         * text2.C: replace insetbib.h with insetbibitem.h.
5391         change bibkey() to bibitem().
5392         * text3.C: remove insetbib.h.
5393         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5394
5395 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5396
5397         * lyxrc.C (output): enclose user email in quotes (in case there are
5398         several words)
5399
5400 2003-02-18  John Levon  <levon@movementarian.org>
5401
5402         * buffer.h: add std::
5403
5404 2003-02-17  John Levon  <levon@movementarian.org>
5405
5406         * SpellBase.h:
5407         * ispell.h:
5408         * ispell.C:
5409         * pspell.h:
5410         * pspell.C: reworking. Especially in ispell, a large
5411           number of clean ups and bug fixes.
5412
5413         * lyxfunc.C: fix revert to behave sensibly
5414
5415 2003-02-17 André Pönitz <poenitz@gmx.net>
5416
5417         * LyXAction.C:
5418         * commandtags.h: new LFUN_INSERT_BIBKEY
5419
5420         * layout.h:
5421         * lyxlayout.C:
5422         * buffer.C:
5423         * factory.C:
5424         * text.C:
5425         * text2.C:
5426         * text3.C:
5427         * paragraph.[Ch]:
5428         * paragraph_func.C: remove special bibkey handling
5429
5430 2003-02-17  John Levon  <levon@movementarian.org>
5431
5432         * text.C (Delete): fix case where delete at the end of
5433           the very first paragraph would not merge the pars
5434
5435 2003-02-17  John Levon  <levon@movementarian.org>
5436
5437         * lyxrow.C: fix lastPrintablePos()
5438
5439 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5440
5441         * bufferparams.C (writeLaTeX): add a std:here
5442
5443         * buffer.C: and remove a using directive there
5444
5445 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5446
5447         * buffer.C (makeLaTeXFile): move the code that generates the
5448           preamble...
5449
5450         * bufferparams.C (writeLaTeX): ... in this new method
5451
5452         * LaTeXFeatures.C (getEncodingSet): make const
5453           (getLanguages): make const
5454
5455         * MenuBackend.C (binding): returns the binding associated to this
5456           action
5457           (add): sets the status of each item by calling getStatus. Adds
5458           some intelligence.
5459           (read): add support for OptSubMenu
5460           (expand): remove extra separator at the end of expanded menu
5461
5462 2003-02-15  John Levon  <levon@movementarian.org>
5463
5464         * BufferView.C:
5465         * BufferView_pimpl.C:
5466         * bufferlist.h:
5467         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5468           inset code that had no actual effect. Remove unneeded status
5469           code.
5470
5471 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5472
5473         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5474           in preamble
5475
5476 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5477
5478         * text.C (drawLengthMarker): also draw an arrow marker for
5479           symbolic lengths (medskip...)
5480
5481 2003-02-14  John Levon  <levon@movementarian.org>
5482
5483         * tabular.h:
5484         * tabular.C: better method names
5485
5486 2003-02-14  John Levon  <levon@movementarian.org>
5487
5488         * BufferView_pimpl.C:
5489         * bufferlist.C:
5490         * buffer.C:
5491         * converter.C:
5492         * lyx_cb.C:
5493         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5494           it's a more accurate name. Remove some pointless uses.
5495
5496 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5497
5498         * text2.C (LyXText): change order of initilizers to shut off
5499           warnings
5500
5501 2003-02-14  John Levon  <levon@movementarian.org>
5502
5503         * buffer.C: use ParIterator for getParFromID()
5504
5505         * paragraph.h:
5506         * paragraph.C:
5507         * paragraph_pimpl.h:
5508         * paragraph_pimpl.C: remove unused getParFromID()
5509
5510 2003-02-14  John Levon  <levon@movementarian.org>
5511
5512         * buffer.C: remove some very old #if 0'd parse code
5513
5514 2003-02-13  John Levon  <levon@movementarian.org>
5515
5516         * text.h:
5517         * text.C:
5518         * text2.C: move hfillExpansion(), numberOfSeparators(),
5519           rowLast(), rowLastPrintable(), numberofHfills(),
5520           numberOfLabelHfills() ...
5521
5522         * lyxrow.h:
5523         * lyxrow.C: ... to member functions here.
5524
5525         * paragraph.h:
5526         * paragraph.C:
5527         * lyxtext.h:
5528         * text.C: remove LyXText::beginningOfMainBody(), and call
5529           p->beginningOfMainBody() directly. Move the check for
5530           LABEL_MANUAL into the latter.
5531
5532         * text.h:
5533         * text.C:
5534         * text2.C:
5535         * vspace.C:
5536         * BufferView.h:
5537         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5538
5539         * text.h:
5540         * text.C:
5541         * text2.C:
5542         * text3.C:
5543         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5544           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5545
5546 2003-02-13  John Levon  <levon@movementarian.org>
5547
5548         * CutAndPaste.C: remove debug
5549
5550 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5551
5552         * paragraph.C (asString): remove two unused variables
5553
5554         * lyxtextclass.C (readTitleType):
5555           (Read):
5556           (LyXTextClass): handle new members titletype_ and titlename_
5557
5558         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5559
5560 2003-02-09  John Levon  <levon@movementarian.org>
5561
5562         * buffer.h:
5563         * buffer.C: replace hand-coded list with a map for the dep clean
5564
5565 2003-02-08  John Levon  <levon@movementarian.org>
5566
5567         * LaTeX.C: consolidate code into showRunMessage() helper
5568
5569 2003-02-08  John Levon  <levon@movementarian.org>
5570
5571         * lyxfind.C:
5572         * lyxtext.h:
5573         * text2.C:
5574         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5575           and pass the size in explicitly
5576
5577         * BufferView_pimpl.h:
5578         * BufferView_pimpl.C:
5579         * BufferView.h:
5580         * BufferView.C: add getCurrentChange()
5581
5582         * BufferView_pimpl.h:
5583         * BufferView_pimpl.C: handle change lfuns
5584
5585         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5586           for changes. Mark pasted paragraphs as new.
5587
5588         * support/lyxtime.h:
5589         * support/lyxtime.C:
5590         * DepTable.C: abstract time_t as lyx::time_type
5591
5592         * LColor.h:
5593         * LColor.C: add colours for new text, deleted text, changebars
5594
5595         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5596           package use "usenames" option.
5597
5598         * commandtags.h:
5599         * lyxfunc.C:
5600         * LyXAction.C: add change lfuns
5601
5602         * Makefile.am:
5603         * author.h:
5604         * author.C: author handling
5605
5606         * buffer.h:
5607         * buffer.C: add a per-buffer author list, with first entry as
5608           current author. Handle new .lyx tokens for change tracking. Output
5609           author list to .lyx file. Output dvipost stuff to .tex preamble.
5610           Bump lyx format to 222.
5611
5612         * bufferlist.h:
5613         * bufferlist.C: add setCurrentAuthor() to reset current author details
5614           in all buffers.
5615
5616         * bufferparams.h:
5617         * bufferparams.C: add param for tracking
5618
5619         * bufferview_funcs.C: output change info in minibuffer
5620
5621         * Makefile.am:
5622         * changes.h:
5623         * changes.C: add change-tracking structure
5624
5625         * debug.h:
5626         * debug.C: add CHANGES debug flag
5627
5628         * lyxfind.h:
5629         * lyxfind.C: add code for finding the next change piece
5630
5631         * lyxrc.h:
5632         * lyxrc.C: add user_name and user_email
5633
5634         * lyxrow.h:
5635         * lyxrow.C: add a metric for the top of the text line
5636
5637         * lyxtext.h:
5638         * text.C: implement accept/rejectChange()
5639
5640         * lyxtext.h:
5641         * text.C: paint changebars. Paint new/deleted text in the chosen
5642         colours. Strike through deleted text.
5643
5644         * paragraph.h:
5645         * paragraph.C:
5646         * paragraph_pimpl.h:
5647         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5648           in the current change to the insert functions. Rework erase to
5649           mark text as deleted, adding an eraseIntern() and a range-based
5650           erase(). Implement per-paragraph change lookup and
5651           accept/reject.
5652
5653         * paragraph_funcs.C: Fixup paste for change tracking.
5654
5655         * tabular.C: mark added row/columns as new.
5656
5657         * text.C: fix rowLast() to never return -1. Don't allow
5658           spellchecking of deleted text. Track transpose changes. Don't
5659           allow paragraph break or merge where appropriate.
5660
5661         * text2.C: leave cursor at end of selection after a cut.
5662
5663 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5664
5665         * text.C (getLengthMarkerHeight):
5666         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5667         visible on screen too.
5668
5669 2003-02-07  John Levon  <levon@movementarian.org>
5670
5671         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5672
5673 2003-02-05  Angus Leeming  <leeming@lyx.org>
5674
5675         * lyxserver.C (read_ready): revert my patch of 11 September last year
5676         as it sends PC cpu through the roof. Presumably this means that
5677         the lyxserver will no longer run on an Alpha...
5678
5679 2003-01-30  Angus Leeming  <leeming@lyx.org>
5680
5681         * factory.C (createInset): create an InsetCommandParam of type "index"
5682         and use it to 'do the right thing'.
5683
5684         * text2.C (getStringToIndex): ensure that cursor position is always
5685         reset to the reset_cursor position.
5686
5687 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5688
5689         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5690         disabled.
5691
5692 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5693
5694         * bufferview.C:
5695         * lyxcb.C:
5696         * lyxfunc.C: Output messages with identical spelling, punctuation,
5697         and spaces
5698
5699 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5700
5701         * MenuBackend.C (expandFormats): List only viewable export formats
5702         in "View" menu
5703
5704         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5705         message
5706
5707         * lyxfunc.C (getStatus): Make sure that formats other than
5708         "fax" can also be disabled
5709
5710 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5711
5712         * text3.C (dispatch): put the lfuns that insert insets in 3
5713         groups, and call doInsertInset with appropriate arguments.
5714         (doInsertInset): new function, that creates an inset and inserts
5715         it according to some boolean parameters.
5716
5717 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5718
5719         * buffer.C (readFile): remember to pass on 'par' when calling
5720         readFile recursively.
5721
5722 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5723
5724         * MenuBackend.C (expandFormats): add "..." to import formats.
5725
5726 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5727
5728         * paragraph.C (asString): Remove XForms RTL hacks.
5729
5730 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5731         * buffer.C: fix typo
5732
5733 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5734
5735         * Makefile.am (LIBS): delete var
5736         (lyx_LDADD): add @LIBS@ here instead.
5737
5738 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5739
5740         * Clarify the meaning of "wheel mouse jump"
5741
5742 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5743
5744         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5745         tabular in a float
5746
5747 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5748
5749         * importer.C (Loaders): do not preallocate 3 elements in the
5750         vector, since one ends up with 6 elements otherwise
5751
5752 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5753
5754         * DepTable.C (write): write the file name as last element of the
5755         .dep file (because it may contain spaces)
5756         (read): read info in the right order
5757
5758 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5759
5760         * paragraph_pimpl.C (simpleTeXBlanks):
5761         (simpleTeXSpecialChars):
5762         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5763
5764         * tabular.C (latex): add some missing case statements. Reindent.
5765
5766         * MenuBackend.C (expandToc): remove unused variable.
5767
5768 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5769
5770         * LColor.C:
5771         * LaTeX.C:
5772         * LyXAction.C:
5773         * MenuBackend.C:
5774         * buffer.C:
5775         * exporter.C:
5776         * lyxfunc.C:
5777         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5778         and the like.
5779
5780 2003-01-05  John Levon  <levon@movementarian.org>
5781
5782         * BufferView.h:
5783         * BufferView.C: add getEncoding()
5784
5785         * kbsequence.h:
5786         * kbsequence.C: do not store last keypress
5787
5788         * lyxfunc.h:
5789         * lyxfunc.C: store last keypress here instead. Pass encoding
5790           to getISOEncoded()
5791
5792 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5793
5794         * lyx_main.C (init): remove annoying error message when following
5795         symbolic links (bug #780)
5796
5797 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5798
5799         * text.C (insertChar):
5800         * lyxrc.C (getDescription): remove extra spaces
5801
5802 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5803
5804         * lyxrc.C (getDescription): remove extra spaces
5805
5806 2002-12-20  John Levon  <levon@movementarian.org>
5807
5808         * text3.C: hack fix for page up/down across tall rows
5809
5810 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5811
5812         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5813         not been invoked
5814
5815 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5816
5817         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5818         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5819         thesaurus is not compiled in
5820
5821 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5822
5823         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5824
5825 2002-12-16  Angus Leeming  <leeming@lyx.org>
5826
5827         * lyxrc.[Ch]:
5828         * lyx_main.C (init): remove override_x_deadkeys stuff.
5829
5830 2002-12-12  John Levon  <levon@movementarian.org>
5831
5832         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5833           insert. Only remove shift modifier under strict
5834           circumstances.
5835
5836 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5837
5838         * MenuBackend.C (expandToc): fix crash.
5839
5840 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5841
5842         * MenuBackend.C (expandToc): gettext on float names.
5843
5844 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5845
5846         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5847         implement bool empty() [bug 490]
5848
5849 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5850
5851         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5852
5853 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5854
5855         * several files: ws changes
5856
5857 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5858
5859         * text2.C (setCounter): clean up a bit, use boost.format.
5860         (updateCounters): initialize par upon declaration.
5861
5862         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5863         if the layout exists. We do not just store the layout any more.
5864         (SwitchLayoutsBetweenClasses): use boost.format
5865
5866 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5867
5868         * converter.C (convert): if from and to files are the same, use a
5869         temporary files as intermediary
5870
5871 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5872
5873         * commandtags.h:
5874         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5875
5876 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5877
5878         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5879
5880 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5881
5882         * tabular.C (asciiPrintCell): use string(size, char) instead of
5883         explicit loop.
5884
5885         * sgml.C (openTag): fix order of arguments to string constructor
5886         (closeTag): ditto
5887
5888         * lyxfunc.C (dispatch): use boost.format
5889
5890         * lots of files: change "c" -> 'c'
5891
5892 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5893
5894         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5895
5896 2002-11-25  Angus Leeming  <leeming@lyx.org>
5897
5898         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5899
5900         * lyx_main.C (init): compile fix.
5901
5902 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5903
5904         * lyx_cb.C (start): boost.formatify
5905         do not include <iostream>
5906
5907         * lengthcommon.C: ws only
5908
5909         * boost-inst.C,BoostFormat.h: add more explict instantations
5910
5911 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5912
5913         * lots of files: handle USE_BOOST_FORMAT
5914
5915 2002-11-21  John Levon  <levon@movementarian.org>
5916
5917         * pspell.C: fix compile
5918
5919 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5920
5921         * lyxfunc.C (dispatch): use boost::format
5922         (open): ditto
5923         (doImport): ditto
5924
5925         * lyxfont.C (stateText): use boost::format
5926
5927         * lyx_main.C (LyX): use boost::format
5928         (init): ditto
5929         (queryUserLyXDir): ditto
5930         (readRcFile): ditto
5931         (parse_dbg): ditto
5932         (typedef boost::function): use the recommened syntax.
5933
5934         * importer.C (Import): use boost::format
5935
5936         * debug.C (showLevel): use boost::format
5937
5938         * converter.C (view): use boost::format
5939         (convert): ditto
5940         (move): ditto
5941         (scanLog): ditto
5942
5943         * bufferview_funcs.C (currentState): use boost::format
5944
5945         * bufferlist.C (emergencyWrite): use boost::format
5946
5947         * buffer.C (readLyXformat2): use boost::format
5948         (parseSingleLyXformat2Token): ditto
5949
5950         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5951
5952         * LaTeX.C (run): use boost::format
5953
5954         * Chktex.C (scanLogFile): use boost::format
5955
5956         * BufferView_pimpl.C (savePosition): use boost::format
5957         (restorePosition): ditto
5958         (MenuInsertLyXFile): ditto
5959
5960         * BoostFormat.h: help file for explicit instation.
5961
5962 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5963
5964         * tabular.C (latex): Support for block alignment in fixed width
5965         columns.
5966
5967 2002-11-17  John Levon  <levon@movementarian.org>
5968
5969         * BufferView_pimpl.C:
5970         * lyx_cb.C:
5971         * lyxfunc.C: split filedialog into open/save
5972
5973 2002-11-08  Juergen Vigna  <jug@sad.it>
5974
5975         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5976         by my last patch (hopefully).
5977
5978 2002-11-08  John Levon  <levon@movementarian.org>
5979
5980         * iterators.h:
5981         * iterators.C:
5982         * buffer.h:
5983         * buffer.C:
5984         * paragraph.h:
5985         * paragraph.C:
5986         * toc.h:
5987         * toc.C: ParConstIterator, and use it (from Lars)
5988
5989 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5990
5991         * lyxtextclass.[Ch]: revise and add doxygen comments
5992
5993 2002-11-07  John Levon  <levon@movementarian.org>
5994
5995         * text.C: fix progress value for spellchecker
5996
5997         * toc.C: fix navigate menu for insetwrap inside minipage
5998
5999         * paragraph_funcs.C: added FIXME for suspect code
6000
6001 2002-11-07  John Levon  <levon@movementarian.org>
6002
6003         * BufferView_pimpl.C: fix redrawing of insets
6004           on buffer switch
6005
6006 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6007
6008         * text2.C (updateCounters): fix bug 668
6009
6010 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6011
6012         * text3.C (dispatch): Do not make the buffer dirty when moving the
6013         cursor.
6014
6015 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6016
6017         * vc-backend.C: STRCONV
6018         (scanMaster): ditto
6019
6020         * text2.C (setCounter): STRCONV
6021
6022         * paragraph.C (asString): STRCONV
6023
6024         * lyxlength.C (asString): STRCONV
6025         (asLatexString): ditto
6026
6027         * lyxgluelength.C (asString): STRCONV
6028         (asLatexString): ditto
6029
6030         * lyxfunc.C (dispatch): STRCONV
6031         (open): ditto
6032
6033         * lyxfont.C (stateText): STRCONV
6034
6035         * importer.C (Import): STRCONV
6036
6037         * counters.C (labelItem): STRCONV
6038         (numberLabel): ditto
6039         (numberLabel): remove unused ostringstream o
6040
6041         * chset.C: STRCONV
6042         (loadFile): ditto
6043
6044         * bufferview_funcs.C (currentState): STRCONV
6045
6046         * buffer.C (readFile): STRCONV
6047         (asciiParagraph): ditto
6048         (makeLaTeXFile): ditto
6049
6050         * Spacing.C (writeEnvirBegin): STRCONV
6051
6052         * LaTeXFeatures.C (getLanguages): STRCONV
6053         (getPackages): ditto
6054         (getMacros): ditto
6055         (getBabelOptions): ditto
6056         (getTClassPreamble): ditto
6057         (getLyXSGMLEntities): ditto
6058         (getIncludedFiles): ditto
6059
6060         * LaTeX.C: STRCONV
6061         (run): ditto
6062         (scanAuxFile): ditto
6063         (deplog): ditto
6064
6065         * LString.h: add the STRCONV macros
6066
6067         * BufferView_pimpl.C (savePosition): STRCONV
6068         (restorePosition): ditto
6069         (MenuInsertLyXFile): ditto
6070
6071         * vc-backend.C (scanMaster): change from submatch[...] to
6072         submatch.str(...)
6073
6074         * funcrequest.C: include config.h
6075
6076         * factory.C: include config.h
6077
6078         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6079
6080         * box.C: include config.h
6081
6082         * LaTeX.C (scanAuxFile): change from submatch[...] to
6083         submatch.str(...)
6084         (deplog): ditto
6085
6086 2002-10-25  Angus Leeming  <leeming@lyx.org>
6087
6088         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6089
6090         * ispell.[Ch] (setError): new method.
6091         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6092         Use setError() insetead of goto END.
6093
6094         * lyx_cb.C (AutoSave): move out child process into new class
6095         AutoSaveBuffer.
6096
6097 2002-10-30  John Levon  <levon@movementarian.org>
6098
6099         * text3.C: make start appendix undoable
6100
6101 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6102
6103         * lyxlength.C (inPixels): Fix returned value.
6104
6105         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6106         environment.
6107
6108 2002-10-24  Angus Leeming  <leeming@lyx.org>
6109
6110         * lyxgluelength.h: no need to forward declare BufferParams
6111         or BufferView, so don't.
6112
6113 2002-10-21  John Levon  <levon@movementarian.org>
6114
6115         * BufferView.C: menuUndo ->undo, redo
6116
6117         * BufferView.h: document, remove dead, make some methods private
6118
6119         * paragraph_funcs.h:
6120         * paragraph_funcs.C:
6121         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6122
6123         * buffer.h:
6124         * buffer.C:
6125         * sgml.h:
6126         * sgml.C: move sgml open/close tag into sgml.C
6127
6128         * bufferview_funcs.h: unused prototype
6129
6130         * lyxfunc.h:
6131         * lyxfunc.C: remove unused
6132
6133         * lyxtext.h:
6134         * text.C: remove unused
6135
6136 2002-10-21  John Levon  <levon@movementarian.org>
6137
6138         * BufferView.h:
6139         * BufferView.C:
6140         * BufferView_pimpl.h:
6141         * BufferView_pimpl.C: fix mouse wheel handling based on
6142           patch from Darren Freeman
6143
6144 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6145
6146         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6147
6148 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6149
6150         * lyxlength.C (inPixels): Fix hanfling of negative length.
6151         Fix LyXLength::MU case.
6152
6153 2002-10-16  John Levon  <levon@movementarian.org>
6154
6155         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6156
6157 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6158
6159         * converter.C (view): add support for $$i (file name) and $$p
6160         (file path) for the viewer command. If $$i is not specified, then
6161         it is appended to the command (for compatibility with old syntax)
6162
6163 2002-10-14  Juergen Vigna  <jug@sad.it>
6164
6165         * undo_funcs.C (textHandleUndo): alter the order in which the
6166         new undopar is added to the LyXText, as we have to set first
6167         the right prev/next and then add it as otherwise the rebuild of
6168         LyXText is not correct. Also reset the cursor to the right paragraph,
6169         with this IMO we could remove the hack in "redoParagraphs()".
6170
6171 2002-10-09  Angus Leeming  <leeming@lyx.org>
6172
6173         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6174         to turn off an optimisation if a new inset is to be inserted.
6175
6176 2002-10-11 André Pönitz <poenitz@gmx.net>
6177
6178         * lyxtext.h: make some functions public to allow access
6179         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6180
6181 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6182
6183         * text3.C (dispatch): when changing layout, avoid an infinite loop
6184         [bug #652]
6185
6186 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6187
6188         * lyxrc.C (read): treat a viewer or converter command of "none" as
6189         if it were empty.
6190
6191         * MenuBackend.C (expandFormats): for an update, also allow the
6192         formats that are not viewable
6193
6194         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6195         script if it is newer than the lyxrc.defaults in user directory
6196
6197 2002-10-07 André Pönitz <poenitz@gmx.net>
6198
6199         * text.C: Vitaly Lipatov's small i18n fix
6200
6201 2002-09-25  Angus Leeming  <leeming@lyx.org>
6202
6203         * ispell.h: doxygen fix.
6204
6205 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6206
6207         * buffer.h (readFile): Add a new argument to the method, to allow
6208         reading of old-format templates.
6209
6210 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6211
6212         * toc.C (getTocList): Get TOC from InsetWrap.
6213
6214 2002-09-16  John Levon  <levon@movementarian.org>
6215
6216         * lyxfunc.C: check tabular for cut/copy too
6217
6218 2002-09-12  John Levon  <levon@movementarian.org>
6219
6220         * LyXAction.C: tidy
6221
6222         * factory.h:
6223         * factory.C: add header
6224
6225         * paragraph_funcs.h:
6226         * paragraph_funcs.C: cleanup
6227
6228 2002-09-11  John Levon  <levon@movementarian.org>
6229
6230         * PrinterParams.h: odd/even default to true
6231
6232 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6233
6234         * PrinterParams.h: update printer parameters for new xforms dialog
6235
6236 2002-09-11  Angus Leeming  <leeming@lyx.org>
6237
6238         * lyxserver.C (read_ready): re-write to make it more transparent
6239         and to make it work in coherent fashion under Tru64 Unix.
6240
6241 2002-09-11  André Pönitz <poenitz@gmx.net>
6242
6243         * commandtags.h:
6244         * LyXAction.C:
6245         * text3.C: implement LFUN_WORDSEL
6246
6247 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6248
6249         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6250         make floatlist_ a boost::shared_ptr<FloatList>
6251
6252         * lyxtextclass.C: include FloatList.h
6253         (LyXTextClass): initialize floatlist_
6254         (TextClassTags): add TC_NOFLOAT
6255         (Read): match "nofloat" to TC_NOFLOAT and use it.
6256         (readFloat): modify call to floatlist_
6257         (floats): ditto
6258         (floats): ditto
6259
6260         * FloatList.[Ch] (FloatList): remove commented out float
6261         initialization.
6262         (erase): new function
6263
6264 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6265
6266         * MenuBackend.C (expandToc): fix crash when there is no document
6267         open
6268
6269 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6270
6271         * many files: Add insetwrap.
6272
6273 2002-09-09  John Levon  <levon@movementarian.org>
6274
6275         * text2.C: remove confusing and awkward depth wraparound
6276
6277 2002-09-09  John Levon  <levon@movementarian.org>
6278
6279         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6280
6281         * buffer.h:
6282         * buffer.C: remove getIncludeonlyList()
6283
6284         * paragraph.C:
6285         * lyxfunc.C: remove headers
6286
6287 2002-09-09  Juergen Vigna  <jug@sad.it>
6288
6289         * text.C (getColumnNearX): fix form Michael this is most
6290         probably a cut&paste bug.
6291
6292 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6293
6294         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6295
6296         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6297         references, ws changes.
6298
6299         * text2.C (init): update counters after init
6300         (insertParagraph): no need to set counter on idividual paragraphs.
6301         (setCounter): access the counters object in the textclass object
6302         on in the buffer object.
6303         (updateCounters): ditto
6304
6305         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6306         shared_ptr<Counters> to avoid loading counters.h in all
6307         compilation units.
6308         (LyXTextClass): initialize ctrs_
6309         (TextClassTags): add TC_COUNTER, and ...
6310         (Read): use it here.
6311         (CounterTags): new tags
6312         (readCounter): new function
6313         (counters): new funtion
6314         (defaultLayoutName): return a const reference
6315
6316         * counters.C (Counters): remove contructor
6317         (newCounter): remove a couple of unneeded statements.
6318         (newCounter): simplify a bit.
6319         (numberLabel): some small formatting changes.
6320
6321         * buffer.[Ch]: remove all traces of counters, move the Counters
6322         object to the LyXTextClass.
6323
6324 2002-09-06  Alain Castera  <castera@in2p3.fr>
6325
6326         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6327         package to set the horizontal alignment on fixed width columns.
6328
6329         * lyx_sty.C:
6330         * lyx_sty.h: added tabularnewline macro def.
6331
6332         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6333
6334 2002-09-06  John Levon  <levon@movementarian.org>
6335
6336         * LyXAction.C: tooltips for sub/superscript
6337
6338         * MenuBackend.C: a bit more verbose
6339
6340         * lyxfunc.C: tiny clean
6341
6342         * undo_funcs.C: document undo_frozen
6343
6344 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6345
6346         * counters.C (Counters): add missing algorithm counter.
6347
6348         * text2.C (setCounter): lookup the counter with layouts latexname
6349         instead of by section number.
6350         (setCounter): use a hackish way to lookup the correct enum
6351         counter.
6352         a float name->type change
6353         reset enum couners with counter name directly instead of depth value.
6354
6355         * counters.C (Counters): remove the push_backs, change to use the
6356         float type not the float name.
6357         (labelItem): remove unused string, float name->type change
6358
6359         * counters.h: don't include vector, loose the enums and sects vectors
6360
6361 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6362
6363         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6364         (Read): add float->TC_FLOAT to textclassTags
6365         (Read): and handle it in the switch
6366         (readFloat): new function
6367
6368         * FloatList.C (FloatList): comment out the hardcoded float
6369         definitions.
6370
6371         * lyxlayout.h: ws change.
6372
6373 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6374
6375         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6376
6377 2002-09-03  Angus Leeming  <leeming@lyx.org>
6378
6379         * BufferView_pimpl.h: qualified name is not allowed in member
6380         declaration: WorkArea & Pimpl::workarea() const;
6381
6382         * factory.C: added using std::endl directive.
6383
6384         * text3.C: added using std::find and std::vector directives.
6385
6386 2002-08-29  André Pönitz <poenitz@gmx.net>
6387
6388         * lyxtext.h:
6389         * text2.C: remove unused member number_of_rows
6390
6391         * Makefile.am:
6392         * BufferView2.C: remove file, move contents to...
6393         * BufferView.C: ... here
6394
6395         * BufferView_pimpl.C:
6396         * factory.C: move more inset creation to factory
6397
6398         * vspace.C: avoid direct usage of LyXText, ws changes
6399
6400         * BufferView.[Ch]:
6401                 don't provide direct access to WorkArea, use two simple
6402                 acessors haveSelction() and workHeight() instead
6403
6404
6405 2002-08-29  John Levon  <levon@movementarian.org>
6406
6407         * BufferView_pimpl.C (dispatch): do not continue when
6408           no buffer
6409
6410 2002-08-28  André Pönitz <poenitz@gmx.net>
6411
6412         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6413
6414         * BufferView.h:
6415         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6416
6417 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6418
6419         * buffer.C: increment LYX_FORMAT to 221
6420
6421         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6422         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6423
6424         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6425
6426         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6427
6428 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6429
6430         * factory.C (createInset): use LyXTextClass::floats
6431
6432         * MenuBackend.C (expandFloatListInsert):
6433         (expandFloatInsert):
6434         (expandToc):
6435
6436         * text2.C (setCounter):
6437
6438         * LaTeXFeatures.C (useFloat):
6439         (getFloatDefinitions):
6440
6441         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6442
6443         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6444         floatlist_, with accessor floats().
6445
6446         * FloatList.h: remove global FloatList
6447
6448 2002-08-26  André Pönitz <poenitz@gmx.net>
6449
6450         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6451
6452         * BufferView.h:
6453         * BufferView2.C:
6454         * BufferView_pimpl.C:
6455         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6456
6457 2002-08-25  John Levon  <levon@movementarian.org>
6458
6459         * LyXAction.C: fix margin note description
6460
6461 2002-08-24  John Levon  <levon@movementarian.org>
6462
6463         * buffer.C:
6464         * bufferlist.C:
6465         * bufferview_funcs.C:
6466         * lyxfont.C:
6467         * undo_funcs.C: cleanups
6468
6469         * lyxfunc.C: disable CUT/COPY when no selection
6470
6471 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6472
6473         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6474         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6475
6476         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6477         Add backward compatibility to "mono", "gray" and "no".
6478
6479 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6480
6481         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6482         (and file_format >= 200).
6483
6484 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6485
6486         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6487
6488 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6489
6490         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6491
6492 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6493
6494         * BufferView_pimpl.C:
6495         * LyXAction.C:
6496         * buffer.C:
6497         * commandtags.h:
6498         * lyxfunc.C:
6499         * paragraph.[Ch]:
6500         * text2.C:
6501         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6502         inset and code to make it  work with the paragraph code. The inset
6503         can be anywhere in the paragraph, but will only do the expected
6504         thing in LaTeX if the layout file contains the parameter line
6505                         OptionalArgs    1
6506         (or more generally, a nonzero value) for that layout.
6507
6508 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6509
6510         * paragraph.h: remove the declaration of undefined counters class
6511         function.
6512
6513 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6514
6515         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6516         Dr. Richard Hawkins.
6517
6518 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6519
6520         * paragraph_funcs.h: remove some unneeded includes
6521
6522         * text.C (backspace): pasteParagraph now in global scipe
6523
6524         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6525         (pasteSelection): ditto
6526
6527         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6528         * paragraph_funcs.C (pasteParagraph): ... here
6529
6530 2002-08-20  André Pönitz <poenitz@gmx.net>
6531
6532         * commandtags.h: new LFUNs for swapping/copying table row/colums
6533
6534         * LyXAction.C:
6535         * lyxfunc.C: support for new lfuns
6536
6537 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6538
6539         * tabular.C:
6540         * buffer.[Ch]: remove NO_COMPABILITY stuff
6541
6542 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6543
6544         * boost.C (throw_exception): new file, with helper function for
6545         boost compiled without exceptions.
6546
6547         * paragraph.h:
6548         * lyxlength.C:
6549         * buffer.C:
6550         * ParameterStruct.h:
6551         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6552
6553         * bufferlist.C (emergencyWriteAll): use boost bind
6554
6555         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6556
6557         * text.C: include paragraph_funcs.h
6558         (breakParagraph): breakParagraph is now in global scope
6559
6560         * paragraph_funcs.[Ch]: new files
6561
6562         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6563         global scope
6564
6565         * buffer.C: include paragraph_funcs.h
6566         (insertStringAsLines): breakParagraph is now in global scope
6567
6568         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6569         paragraph_funcs.C
6570
6571         * CutAndPaste.C: include paragraph_funcs.h
6572         (cutSelection): breakParagraphConservative is now in global scope
6573         (pasteSelection): ditto
6574
6575         * buffer.h: declare oprator== and operator!= for
6576         Buffer::inset_iterator
6577
6578         * bufferlist.C (emergencyWrite): don't use fmt(...)
6579
6580         * text3.C: add using std::endl
6581
6582         * BufferView.C (moveCursorUpdate): remove default arg
6583
6584 2002-08-20  André Pönitz <poenitz@gmx.net>
6585
6586         * buffer.[Ch]: move inline functions to .C
6587
6588         * BufferView2.C:
6589         * BufferView_pimpl.C:
6590         * text.C:
6591         * buffer.[Ch]: use improved inset_iterator
6592
6593         * buffer.C:
6594         * paragraph.[Ch]: write one paragraph at a time
6595
6596 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6597
6598         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6599         style if style is not specified.
6600
6601 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6602
6603         * text2.C (setCounter): when searching for right label for a
6604         caption, make sure to recurse to parent insets (so that a caption
6605         in a minipage in a figure float works) (bug #568)
6606
6607 2002-08-20  André Pönitz <poenitz@gmx.net>
6608
6609         * text3.C: new file for LyXText::dispatch() and helpers
6610
6611         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6612
6613         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6614
6615 2002-08-19  André Pönitz <poenitz@gmx.net>
6616
6617         * lyxtext.h:
6618         * text.C: new LyXText::dispatch()
6619
6620         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6621
6622 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6623
6624         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6625
6626         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6627         Hebrew text.
6628
6629 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6630
6631         * Makefile.am: use $(variables) instead of @substitutions@
6632
6633 2002-08-15  André Pönitz <poenitz@gmx.net>
6634
6635         * lyxfunc.C:
6636         * BufferView_pimpl.C: streamlining mathed <-> outer world
6637         interaction
6638
6639         * commandtags.h:
6640         * LyXAction.C: remove unused LFUN_MATH
6641
6642 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6643
6644         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6645
6646 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6647
6648         * paragraph.C (Paragraph): reformat a bit
6649         (cutIntoMinibuffer): use builtin InsetList function instad of
6650         doing it manually.
6651         (getInset): ditto
6652
6653         * buffer.C: include boost/bind.hpp, add using std::for_each
6654         (writeFileAscii): use ParagraphList iterators
6655         (validate): use for_each for validate traversal of paragraphs
6656         (getBibkeyList): use ParagraphList iterators
6657         (resizeInsets): use for_each to resizeInsetsLyXText for all
6658         paragraphs.
6659         (getParFromID): use ParagraphList iterators
6660
6661         * BufferView2.C (lockInset): use paragraph list and iterators
6662
6663 2002-08-14  John Levon  <levon@movementarian.org>
6664
6665         * lyxserver.C: remove spurious xforms include
6666
6667 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6668
6669         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6670
6671 2002-08-13  André Pönitz <poenitz@gmx.net>
6672
6673         * LyXAction.[Ch]:
6674         * lyxfunc.C: further cleaning
6675
6676 2002-08-13  André Pönitz <poenitz@gmx.net>
6677
6678         * funcrequest.h: new constructor
6679
6680         * funcrequest.C: move stuff here from .h
6681
6682         * Makefile.am:
6683         * BufferView_pimpl.C:
6684         * LyXAction.C:
6685         * toc.C:
6686         * lyxfunc.C: subsequent changes
6687
6688         * lyxfunc.h: new view() member function
6689
6690         * lyxfunc.C: subsequent changes
6691
6692 2002-08-13  Angus Leeming  <leeming@lyx.org>
6693
6694         * BufferView2.C:
6695         * BufferView_pimpl.C:
6696         * buffer.C:
6697         * converter.C:
6698         * importer.C:
6699         * lyxfunc.C:
6700         * lyxvc.C:
6701         * toc.C:
6702         * vc-backend.C:
6703         changes due to the changed LyXView interface that now returns references
6704         to member variables not pointers.
6705
6706 2002-08-13  Angus Leeming  <leeming@lyx.org>
6707
6708         * WordLangTuple (word, lang_code): return references to strings,
6709         not strings.
6710
6711         * BufferView.h:
6712         * SpellBase.h:
6713         * lyxtext.h: forward-declare WordLangTuple.
6714
6715         * BufferView2.C:
6716         * ispell.C:
6717         * pspell.C:
6718         * text.C: #include "WordLangTuple.h".
6719
6720         * lyxtext.h:
6721         * text.C: (selectNextWordToSpellcheck): constify return type.
6722
6723 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6724
6725         * buffer.C:
6726         * buffer.h:
6727         * lyxtext.h:
6728         * paragraph.C:
6729         * paragraph_pimpl.h:
6730         * text.C:
6731         * text2.C:
6732         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6733         suggested by Angus.
6734         Made updateCounter always count from start of buffer, and removed
6735         second argument (par).
6736         Reverted floats number display to '#'. Perhaps I'll try again when the
6737         code base is sanitized a bit.
6738
6739 2002-08-12  Angus Leeming  <leeming@lyx.org>
6740
6741         * buffer.[Ch] (getLabelList): constify.
6742
6743 2002-08-07  André Pönitz <poenitz@gmx.net>
6744
6745         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6746
6747         * funcrequest.h: extension to keep mouse (x,y) position
6748
6749 2002-08-12  Juergen Vigna  <jug@sad.it>
6750
6751         * BufferView2.C (insertErrors): forbid undo when inserting error
6752         insets.
6753
6754         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6755
6756 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6757
6758         * ParagraphList.[Ch]: new files
6759
6760         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6761
6762         * BufferView2.C (lockInset): ParagraphList changes
6763         * toc.C: ditto
6764         * text2.C: ditto
6765         * bufferlist.C: ditto
6766         * buffer.h: ditto
6767         * buffer.C: ditto
6768
6769 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6770
6771         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6772         unused class variable counter_,
6773
6774         * paragraph.[Ch] (getFirstCounter): delete unused function
6775
6776         * counters.C: include LAssert.h
6777         (reset): add a new function with no arg, change other version to
6778         not have def. arg and to not allow empty arg.
6779
6780         * text2.C (setCounter): remove empty arg from call to Counters::reset
6781
6782 2002-08-11  John Levon  <levon@movementarian.org>
6783
6784         * Makefile.am: add WordLangTuple.h
6785
6786 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6787
6788         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6789         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6790
6791         * insets/insettext.C: InsetList changes
6792
6793         * graphics/GraphicsSupport.C (operator()): InsetList changes
6794
6795         * toc.C (getTocList): InsetList changes
6796
6797         * paragraph_pimpl.[Ch]: InsetList changes
6798
6799         * paragraph.[Ch]: InsetList changes
6800
6801         * buffer.C (inset_iterator): InsetList changes
6802         (setParagraph): ditto
6803         * buffer.h (inset_iterator): ditto
6804         * iterators.C (operator++): ditto
6805         * iterators.h: ditto
6806
6807         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6808
6809         * InsetList.[Ch]: new files, most InsetList handling moved out of
6810         paragraph.C.
6811
6812         * BufferView2.C (removeAutoInsets): InsetList changes
6813         (lockInset): ditto
6814         (ChangeInsets): ditto
6815
6816 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6817
6818         * paragraph_pimpl.h (empty): new function
6819
6820         * paragraph.[Ch] (empty): new function
6821
6822         * other files: use the new Paragraph::empty function
6823
6824 2002-08-09  John Levon  <levon@movementarian.org>
6825
6826         * lyxtext.h: remove unused refresh_height
6827
6828 2002-08-09  John Levon  <levon@movementarian.org>
6829
6830         * Makefile.am:
6831         * sgml.h:
6832         * sgml.C:
6833         * buffer.C:
6834         * paragraph.h:
6835         * paragraph.C: move sgml char escaping out of paragraph
6836
6837         * paragraph.h:
6838         * paragraph.C: remove id setter
6839
6840         * buffer.C:
6841         * paragraph.C:
6842         * paragraph_pimpl.C: remove dead tex_code_break_column
6843
6844         * bufferview_funcs.C: small cleanup
6845
6846         * lyxfunc.C: remove dead proto
6847
6848         * lyxtext.h: make some stuff private. Remove some dead stuff.
6849
6850         * lyxgluelength.C: make as[LyX]String() readable
6851
6852 2002-08-08  John Levon  <levon@movementarian.org>
6853
6854         * LyXAction.h:
6855         * LyXAction.C:
6856         * MenuBackend.C:
6857         * ToolbarDefaults.C:
6858         * lyxfunc.C:
6859         * lyxrc.C:
6860         * toc.C: lyxaction cleanup
6861
6862 2002-08-08  John Levon  <levon@movementarian.org>
6863
6864         * BufferView2.C: small cleanup
6865
6866         * lyxfind.h:
6867         * lyxfind.C: move unnecessary header into the .C
6868
6869 2002-08-08  John Levon  <levon@movementarian.org>
6870
6871         * funcrequest.h: just tedious nonsense
6872
6873         * lyx_main.h:
6874         * lyx_main.C: cleanups
6875
6876         * buffer.C:
6877         * vspace.C: remove dead header lyx_main.h
6878
6879 2002-08-07  Angus Leeming  <leeming@lyx.org>
6880
6881         * Paragraph.[Ch]:
6882         * paragraph_pimpl.h:
6883         Forward declare class Counters in paragraph.h by moving the ctrs member
6884         variable into Paragraph::Pimpl.
6885         (counters): new method, returning a reference to pimpl_->ctrs.
6886
6887         * text2.C: ensuing changes.
6888
6889 2002-08-07  John Levon  <levon@movementarian.org>
6890
6891         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6892
6893         * BufferView_pimpl.C: announce X selection on double/triple
6894           click
6895
6896         * lyx_main.C: use correct bool in batch dispatch
6897
6898         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6899
6900 2002-08-07  André Pönitz <poenitz@gmx.net>
6901
6902         * funcrequest.h: new class to wrap a kb_action and its argument
6903
6904         * BufferView.[Ch]:
6905         * BufferView_pimpl[Ch]:
6906         * LaTeX.C:
6907         * LyXAction.[Ch]:
6908         * lyxfunc.[Ch]:
6909         * lyxrc.C: subsequent changes
6910
6911
6912 2002-08-07  John Levon  <levon@movementarian.org>
6913
6914         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6915           document options change.
6916
6917 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6918
6919         * counters.[Ch]
6920         * text2.C
6921         * paragraph.[Ch]
6922         * makefile.am: move counters functionality over from
6923         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6924
6925 2002-08-06  John Levon  <levon@movementarian.org>
6926
6927         * WordLangTuple.h: new file for word + language code tuple
6928
6929         * SpellBase.h:
6930         * pspell.h:
6931         * pspell.C:
6932         * ispell.h:
6933         * ispell.C:
6934         * lyxtext.h:
6935         * text.C:
6936         * text2.C:
6937         * BufferView.h:
6938         * BufferView2.C: use WordLangTuple
6939
6940         * layout.h:
6941         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6942
6943 2002-08-06  John Levon  <levon@movementarian.org>
6944
6945         * lyx_main.C: fix cmdline batch handling
6946
6947 2002-08-06  André Pönitz <poenitz@gmx.net>
6948
6949         * lyxrc.C: set default for show_banner to true
6950
6951 2002-08-06  John Levon  <levon@movementarian.org>
6952
6953         * pspell.C: fix a crash, and allow new aspell to work
6954
6955 2002-08-06  John Levon  <levon@movementarian.org>
6956
6957         * lyxfunc.C:
6958         * kbmap.C: small cleanup
6959
6960         * vspace.h:
6961         * vspace.C: add const
6962
6963 2002-08-05  John Levon  <levon@movementarian.org>
6964
6965         * LyXAction.C: back to tabular-insert
6966
6967 2002-08-04  John Levon  <levon@movementarian.org>
6968
6969         * BufferView.h:
6970         * BufferView.C: cosmetic change
6971
6972         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6973
6974         * bufferlist.C:
6975         * buffer.h:
6976         * buffer.C:
6977         * lyxcb.h:
6978         * lyxcb.C:
6979         * lyxserver.C:
6980         * lyxvc.C:
6981         * vc-backend.C:
6982         * BufferView2.C: purge all "Lyx" not "LyX" strings
6983
6984         * lyxcursor.h:
6985         * lyxcursor.C: attempt to add some documentation
6986
6987         * lyxfunc.C:
6988         * commandtags.h:
6989         * LyXAction.C:
6990         * ToolbarDefaults.C:
6991         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6992           merge with LFUN_TABULAR_INSERT
6993
6994         * Makefile.am:
6995         * SpellBase.h:
6996         * ispell.h:
6997         * ispell.C:
6998         * pspell.h:
6999         * pspell.C: split up i/pspell implementations into separate
7000           files, many cleanups
7001
7002         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7003
7004         * text2.C: some cleanup
7005
7006         * lyxfunc.C: don't check for isp_command == "none" any more, it
7007           didn't make any sense
7008
7009 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7010
7011         * counters.[Ch]
7012         * text2.C
7013         * paragraph.[Ch]
7014         * makefile.am: move counters functionality over
7015         from text2.C/paragraph.[Ch] to counters.[Ch], and
7016         make proper C++.
7017 2002-08-02  John Levon  <levon@movementarian.org>
7018
7019         * buffer.C: s/lyxconvert/lyx2lyx/
7020
7021 2002-08-02  Angus Leeming  <leeming@lyx.org>
7022
7023         * lyxlex.C: revert John's change as it breaks reading of the user
7024         preamble.
7025
7026 2002-08-02  Angus Leeming  <leeming@lyx.org>
7027
7028         * importer.C (Import):
7029         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7030         changes due to LyXView::view() now returning a boost::shared_ptr.
7031
7032 2002-08-02  John Levon  <levon@movementarian.org>
7033
7034         * lyxlex.C: small cleanup
7035
7036 2002-08-02  John Levon  <levon@movementarian.org>
7037
7038         * text2.C (status): small cleanup, no logic change
7039
7040 2002-08-01  John Levon  <levon@movementarian.org>
7041
7042         * buffer.h:
7043         * buffer.C (writeFile): don't output alerts, caller
7044           handles this
7045
7046         * bufferlist.C:
7047         * lyx_cb.C: from above
7048
7049         * lyxfunc.C: allow to open non-existent files
7050
7051 2002-07-31  John Levon  <levon@movementarian.org>
7052
7053         * lyxserver.C: don't let incidental errors get
7054           in the way (errno)
7055
7056 2002-07-30  John Levon  <levon@movementarian.org>
7057
7058         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7059
7060 2002-07-30  John Levon  <levon@movementarian.org>
7061
7062         * lyxserver.h:
7063         * lyxserver.C: remove I/O callback too
7064
7065 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7066
7067         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7068         log.
7069
7070 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7071
7072         * many files: strip,frontStrip -> trim,ltrim,rtrim
7073
7074 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7075
7076         * PrinterParams.h: remove extern containsOnly, and include
7077         support/lstrings.h instead.
7078
7079         * LaTeX.C (scanAuxFile): modify because of strip changes
7080         (deplog): ditto
7081         * buffer.C (makeLaTeXFile): ditto
7082         * bufferparams.C (writeFile): ditt
7083         * lyxfont.C (stateText): ditto
7084         * lyxserver.C (read_ready): ditto
7085         * vc-backend.C (scanMaster): ditto
7086
7087         * BufferView_pimpl.h: ws changes
7088
7089         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7090
7091 2002-07-26  André Pönitz <poenitz@gmx.net>
7092
7093         * kb_sequence.C: remove unnedred usings
7094
7095 2002-07-26  Juergen Vigna  <jug@sad.it>
7096
7097         * lyxfind.C (LyXReplace): we have to check better if the returned
7098         text is not of theLockingInset()->getLockingInset().
7099
7100 2002-07-25  Juergen Vigna  <jug@sad.it>
7101
7102         * lyxfind.C (LyXReplace): don't replace if we don't get the
7103         right LyXText.
7104
7105         * undo_funcs.C (createUndo): remove debugging code.
7106
7107 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7108
7109         * buffer.C (parseSingleLyXformat2Token): Use default placement
7110         when reading old floats.
7111
7112         * FloatList.C (FloatList): Change the default placement of figure
7113         and tables to "tbp".
7114
7115 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7116
7117         * MenuBackend.C: using std::max
7118
7119 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7120
7121         * MenuBackend.C (expandToc):
7122         (expandToc2): code moved from xforms menu frontend. It is now
7123         generic and TOCs are transparent to menu frontends.
7124
7125 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7126
7127         * toc.C (getTocList): protect against buf=0
7128
7129         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7130         Menu as first parameter. Now, this calls itself recursively to
7131         expand a whole tree (this will be useful for TOC handling)
7132         (expandFloatInsert): remove 'wide' version of floats
7133
7134         * MenuBackend.h (submenuname): returns the name of the submenu.
7135         (submenu): returns the submenu itself, provided it has been
7136         created by MenuBackend::expand
7137
7138 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7139
7140         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7141         insets which have noFontChange == true. (bug #172)
7142
7143 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7144
7145         * BufferView_pimpl.C: add connection objects and use them...
7146         (Pimpl): here.
7147
7148 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7149
7150         * MenuBackend.C (expandLastfiles):
7151         (expandDocuments):
7152         (expandFormats):
7153         (expandFloatListInsert):
7154         (expandFloatInsert):
7155         (expand): split expand in parts
7156
7157 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7158
7159         * lyx_gui.C: use lyx_gui::exit()
7160
7161 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7162
7163         * LyXAction.C: show the failing pseudo action
7164
7165 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7166
7167         * buffer.C (readFile): Run the lyxconvert script in order to read
7168         old files.
7169
7170 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7171
7172         * LyXAction.C:
7173         * commandtags.h:
7174         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7175
7176 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7177
7178         * LyXAction.C:
7179         * commandtags.h:
7180         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7181
7182 2002-07-22  Herbert Voss  <voss@lyx.org>
7183
7184         * lengthcommon.C:
7185         * lyxlength.[Ch]: add support for the vertical lengths
7186
7187 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7188
7189         * toc.[Ch]: std:: fixes
7190
7191 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7192
7193         * lyxrc.C: do not include lyx_main.h
7194
7195         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7196         for layouts
7197
7198         * lyxrc.C:
7199         * encoding.C:
7200         * bufferlist.C:
7201         * BufferView2.C: include "lyxlex.h"
7202
7203         * tabular.h:
7204         * bufferparams.h: do not #include "lyxlex.h"
7205
7206         * lyxtextclasslist.C (Add): remove method
7207         (classlist): renamed to classlist_
7208
7209         * paragraph_pimpl.C:
7210         * paragraph.C:
7211         * text2.C:
7212         * CutAndPaste.C:
7213         * bufferview_funcs.C:
7214         * bufferlist.C:
7215         * text.C:
7216         * LaTeXFeatures.C:
7217         * buffer.C:
7218         * toc.C (getTocList): use BufferParams::getLyXTextClass
7219
7220         * toc.C (getTocList): use InsetFloat::addToToc
7221
7222         * toc.[Ch]: new files, containing helper functions to handle table
7223         of contents
7224
7225         * lyxfunc.C (dispatch): no need to remove spaces around command
7226         given as a string
7227         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7228         first command of the sequence; it is not very clever, but I do not
7229         have a better idea, actually
7230
7231         * LyXAction.C (LookupFunc): make sure to remove space at the
7232         beginning and end of the command
7233
7234 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7235
7236         * MenuBackend.C (getMenubar): new method: return the menubar of
7237         this menu set
7238         (read): treat differently reading of menu and menubar (in
7239         particular, the menubar has no name now)
7240         (Menu::menubar): remove
7241
7242         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7243         saving is finished
7244
7245 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7246
7247         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7248         a bibitem inset in a RTL paragraph.
7249
7250 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7251
7252         * paragraph_pimpl.C: constify
7253
7254         * BufferView_pimpl.C:
7255         * LaTeX.C:
7256         * lyxfunc.C: fix dispatch in a nicer way
7257
7258 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7259
7260         * lyxfunc.C (dispatch):
7261         * BufferView_pimpl.C:
7262         * BufferView_pimpl.h:
7263         * BufferView.C:
7264         * BufferView.h: rename Dispatch() to dispatch()
7265
7266         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7267
7268         * lyxlayout.C (Read): honor DependsOn tag
7269
7270         * lyxlayout.[Ch] (depends_on): new method
7271
7272         * version.C.in: update lyx_docversion
7273
7274         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7275
7276         * paragraph.C (validate): remove from here...
7277         * paragraph_pimpl.C (validate): ... and move here
7278         (isTextAt): make it const
7279
7280         * buffer.C (getLists): ws cleanup
7281
7282 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7283
7284         * language.C (read): Use iso8859-1 encoding in latex_lang
7285         (this prevents LyX from crashing when using iso10646-1 encoding).
7286
7287 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7288
7289         * text2.C (toggleInset): if cursor is inside an inset, close the
7290         inset and leave cursor _after_ it
7291
7292 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7293
7294         * lyxfunc.C: move minibuffer completion handling out of here
7295
7296 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7297
7298         * BufferView_pimpl.C:
7299         * LaTeX.C: fix dispatch calls
7300
7301 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7302
7303         * text.C (drawChars): Fix Arabic text rendering.
7304
7305 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7306
7307         * LyXAction.C:
7308         * commandtags.h:
7309         * lyxfunc.C: remove message-push/pop
7310
7311         * lyxserver.C:
7312         * lyxfunc.h:
7313         * lyxfunc.C: rationalise some code by removing verboseDispatch
7314           in favour of a bool argument to dispatch()
7315
7316 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7317
7318         * lyx_main.C (init): make sure to read symlinks as absolute paths
7319
7320 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7321
7322         * lyxfunc.h:
7323         * lyxfunc.C: no need for commandshortcut to be a member
7324
7325 2002-07-15  André Pönitz <poenitz@gmx.net>
7326
7327         * converter.C: add support for $$s (scripts from lib/scripts dir)
7328         * lyx_main.C: white space
7329
7330 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7331
7332         * bufferlist.C:
7333         * lyxrc.h:
7334         * lyxrc.C: remove second exit confirmation
7335
7336 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7337
7338         * BufferView.h:
7339         * BufferView.C:
7340         * BufferView2.C:
7341         * BufferView_pimpl.h:
7342         * BufferView_pimpl.C:
7343         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7344
7345 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7346
7347         * MenuBackend.C (expand): add numeric shortcuts to document menu
7348
7349         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7350
7351 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7352
7353         * lyxfont.C (setLyXFamily):
7354         (setLyXSeries):
7355         (setLyXShape):
7356         (setLyXSize):
7357         (setLyXMisc):
7358         (lyxRead):
7359         * debug.C (value):
7360         * buffer.C (asciiParagraph): use ascii_lowercase
7361
7362 2002-07-15  Mike Fabian  <mfabian@suse.de>
7363
7364         * lyxlex_pimpl.C (search_kw):
7365         * lyxlex.C (getLongString):
7366         * converter.h (operator<):
7367         * converter.C (operator<):
7368         * buffer.C (parseSingleLyXformat2Token):
7369         (asciiParagraph):
7370         * ToolbarDefaults.C (read):
7371         * MenuBackend.C (checkShortcuts):
7372         (read):
7373         * LColor.C (getFromGUIName):
7374         (getFromLyXName): use the compare_ascii_no_case instead of
7375         compare_no_case, because in turkish, 'i' is not the lowercase
7376         version of 'I', and thus turkish locale breaks parsing of tags.
7377
7378 2002-07-16  Angus Leeming  <leeming@lyx.org>
7379
7380         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7381         now takes a Buffer const & argument.
7382
7383 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7384
7385         * BufferView.C (resize): check there's a buffer to resize
7386
7387 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7388
7389         * lyxfunc.C: remove dead code
7390
7391         * lyxserver.h:
7392         * lyxserver.C: use lyx_guii::set_read_callback
7393
7394 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7395
7396         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7397         an inset in a RTL paragraph.
7398
7399 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7400
7401         * lyxfunc.C: repaint after a font size update
7402
7403 2002-07-15  André Pönitz <poenitz@gmx.net>
7404
7405         * lyxlength.C: inBP should be able to return negative values
7406
7407 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7408
7409         * lyxfunc.C: use lyx_gui::update_fonts()
7410
7411 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7412
7413         * lyxfunc.C: use lyx_gui::update_color()
7414
7415 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7416
7417         * bufferlist.C:
7418         * lyxfunc.h:
7419         * lyxfunc.C:
7420         * lyxrc.h:
7421         * lyxrc.C: remove file->new asks for name option, and let
7422           buffer-new take an argument
7423
7424 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7425
7426         * BufferView_pimpl.C: remove unneeded extra repaint()
7427
7428 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7429
7430         * LyXAction.C: allow command-sequence with NoBuffer
7431
7432         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7433
7434 2002-07-10  Angus Leeming  <leeming@lyx.org>
7435
7436         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7437
7438 2002-07-09  Angus Leeming  <leeming@lyx.org>
7439
7440         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7441
7442 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7443
7444         * lengthcommon.h: whitespace
7445
7446         * lyxfunc.C: update scrollbar after goto paragraph
7447
7448         * lyxtext.h: factor out page break drawing, and fix it so
7449           page break/added space paints as selected nicely
7450
7451 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7452
7453         * BufferView_pimpl.C: add FIXMEs, clean up a little
7454
7455 2002-07-09  André Pönitz <poenitz@gmx.net>
7456
7457         * lyxfont.[Ch]: support for wasy symbols
7458
7459 2002-07-08  André Pönitz <poenitz@gmx.net>
7460
7461         * BufferView_pimpl.C: apply John's patch for #93.
7462
7463 2002-07-05  Angus Leeming  <leeming@lyx.org>
7464
7465         * BufferView_pimpl.C (buffer): generate previews if desired.
7466
7467         * LColor.h: add "preview" to the color enum.
7468
7469         * LColor.C (LColor): add a corresponding entry to the items array.
7470
7471         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7472         with this buffer.
7473
7474 2002-07-05  Angus Leeming  <leeming@lyx.org>
7475
7476         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7477         The body of the code is now in the method that is passed an ostream &
7478         rather than a file name.
7479         Pass an additional only_preamble parameter, useful for the forthcoming
7480         preview stuff.
7481
7482 2002-07-03  André Pönitz <poenitz@gmx.net>
7483
7484         * lyxfunc.C: simplify getStatus() a bit for math stuff
7485
7486 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7487
7488         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7489
7490 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7491
7492         * text.C (changeRegionCase): do not change case of all the
7493         document when region ends at paragraph end (bug #461)
7494
7495 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7496
7497         * paragraph.C (startTeXParParams):
7498         (endTeXParParams): add \protect when necessary
7499
7500 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7501
7502         * BufferView_pimpl.C (workAreaExpose): remove warning
7503
7504 2002-06-27  Angus Leeming  <leeming@lyx.org>
7505
7506         * Makefile.am: add lyxlayout_ptr_fwd.h.
7507
7508 2002-06-26  André Pönitz <poenitz@gmx.net>
7509
7510         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7511
7512 2002-06-25  Angus Leeming  <leeming@lyx.org>
7513
7514         * lyxfunc.C (dispatch): Comment out the call to
7515         grfx::GCache::changeDisplay. The method no longer exists now that the
7516         pixmap generation part of the graphics loader has been moved into
7517         InsetGraphics.
7518
7519 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7520
7521         * text2.C: layout as layout
7522
7523         * text.C: layout as layout
7524
7525         * tabular.C (OldFormatRead): layout as layout
7526
7527         * paragraph_pimpl.C (TeXDeeper): layout as layout
7528         (realizeFont): layout as layout
7529
7530         * paragraph.C (writeFile): layout as layout
7531         (validate): layout as layout
7532         (getFont): layout as layout
7533         (getLabelFont): layout as layout
7534         (getLayoutFont): layout as layout
7535         (breakParagraph): layout as layout
7536         (stripLeadingSpaces): layout as layout
7537         (getEndLabel): layout as layout
7538         (getMaxDepthAfter): layout as layout
7539         (applyLayout): layout as layout
7540         (TeXOnePar): layout as layout
7541         (simpleTeXOnePar): layout as layout
7542         (TeXEnvironment): layout as layout
7543         (layout): layout as layout
7544         (layout): layout as layout
7545
7546         * lyxtextclass.C (compare_name): new functor to work with
7547         shared_ptr, layout as layout
7548         (Read): layout as layout
7549         (hasLayout): layout as layout
7550         (operator): layout as layout
7551         (delete_layout): layout as layout
7552         (defaultLayout): layout as layout
7553
7554         * lyxlayout_ptr_fwd.h: new file
7555
7556         * lyxlayout.C (Read): layout as layout
7557
7558         * lyx_cb.C (MenuInsertLabel): layout as layout
7559
7560         * bufferlist.C (newFile): layout as layout
7561
7562         * buffer.C (readLyXformat2): layout as layout
7563         (parseSingleLyXformat2Token): layout as layout
7564         (insertStringAsLines): layout as layout
7565         (asciiParagraph): layout as layout
7566         (latexParagraphs): layout as layout
7567         (makeLinuxDocFile): layout as layout
7568         (simpleLinuxDocOnePar): layout as layout
7569         (makeDocBookFile): layout as layout
7570         (simpleDocBookOnePar): layout as layout
7571         (getLists): layout as layout
7572
7573         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7574
7575         * CutAndPaste.C (cutSelection): layout as layout
7576         (pasteSelection): layout as layout
7577         (SwitchLayoutsBetweenClasses): layout as layout
7578
7579         * BufferView_pimpl.C (Dispatch): layout as layout
7580         (smartQuote): layout as layout
7581
7582         * BufferView2.C (unlockInset): layout as layout
7583
7584 2002-06-24  André Pönitz <poenitz@gmx.net>
7585
7586         * lyxfunc.C: fix #487
7587
7588 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7589
7590         * lyxrc.h:
7591         * lyxrc.C:
7592         * lyxfunc.C: remove display_shortcuts, show_banner
7593
7594 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7595
7596         * Buffer_pimpl.C: oops, update on resize
7597
7598 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7599
7600         * buffer.C:
7601         * converter.C:
7602         * exporter.C:
7603         * lyxfunc.C:
7604         * BufferView.h:
7605         * BufferView.C: use repaint()
7606
7607         * BufferView_pimpl.h:
7608         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7609           as it's a clearer description. Remove superfluous
7610           redraws.
7611
7612 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7613
7614         * text.C: fix bug 488. Not ideal, but getting
7615           getWord() to work properly for the insets that
7616           matter is more difficult ...
7617
7618 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7619
7620         * BufferView_pimpl.C:
7621         * LyXAction.C:
7622         * commandtags.h:
7623         * lyxfunc.C: remove the six million index lyxfuncs to just
7624           one, and DTRT (bug 458)
7625
7626 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7627
7628         * BufferView.h:
7629         * BufferView.C:
7630         * BufferView_pimpl.h:
7631         * BufferView_pimpl.C: clean up resize() stuff,
7632           and unnecessary updateScreen()s
7633
7634 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7635
7636         * BufferView.h:
7637         * BufferView.C:
7638         * BufferView_pimpl.h:
7639         * BufferView_pimpl.C:
7640         * lyxfind.h:
7641         * lyxfind.C:
7642         * minibuffer.C: remove focus management of workarea,
7643           not needed. Use screen's greyOut()
7644
7645 2002-06-17  Herbert Voss  <voss@lyx.org>
7646
7647         * converter.C: (convert) do not post a message, when converting
7648         fails, let the calling function decide what to do in this case
7649
7650 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7651
7652         * lyxfunc.C: tidy up a little
7653
7654 2002-06-16    <alstrup@diku.dk>
7655
7656         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7657         Got rid of FORMS_H_LOCATION include. Now we are
7658         GUII.
7659
7660 2002-06-15  LyX Development team  <lyx@rilke>
7661
7662         * buffer.[Ch] (sgmlOpenTag):
7663         (sgmlCloseTag): Added support for avoiding pernicious mixed
7664         content. Return number of lines written.
7665
7666         (makeLinuxDocFile):
7667         (makeDocBookFile): Fixed calls to sgml*Tag.
7668         Simple white space clean.
7669
7670         (simpleDocBookOnePar): Simple white space clean.
7671
7672         * tabular.[Ch] (docBook): Renamed to docbook and got another
7673         argument to related with the pernicious mixed content.
7674
7675         (docbookRow): Fixed calls for docbook inset method.
7676
7677 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7678
7679         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7680         so it's X11 independent.
7681
7682         * kb*.[Ch]: ditto.
7683
7684         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7685
7686 2002-06-15  Lyx Development team  <lyx@electronia>
7687
7688         * intl.h: Renamed getTrans to getTransManager.
7689
7690 2002-06-14  Angus Leeming  <leeming@lyx.org>
7691
7692         * Makefile.am: nuke forgotten stl_string_fwd.h.
7693
7694 2002-06-12  Angus Leeming  <leeming@lyx.org>
7695
7696         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7697
7698 2002-06-13  Angus Leeming  <leeming@lyx.org>
7699
7700         * LaTeX.C:
7701         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7702
7703 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7704
7705         * kbmap.C (getiso): add support for cyrillic and greek
7706
7707 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7708
7709         * BufferView.h:
7710         * BufferView.C:
7711         * BufferView_pimpl.h:
7712         * BufferView_pimpl.C: move bogus scrolling logic
7713           to xforms
7714
7715 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7716
7717         * lyxfunc.C:
7718         * BufferView_pimpl.C: view->resize() change
7719
7720 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7721
7722         * BufferView_pimpl.C: topCursorVisible
7723           prototype change
7724
7725 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7726
7727         * Makefile.am:
7728         * lyx_gui.h:
7729         * lyx_gui.C: move to frontends/
7730
7731         * main.C:
7732         * lyx_main.h:
7733         * lyx_main.C: changes from above
7734
7735 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7736
7737         * intl.C:
7738         * intl.h:
7739         * kbmap.C:
7740         * kbsequence.C:
7741         * lyx_cb.C:
7742         * lyx_main.C: minor tidy
7743
7744 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7745
7746         * BufferView_pimpl.h:
7747         * BufferView_pimpl.C:
7748         * BufferView.h:
7749         * BufferView.C: make painter() const,
7750           remove dead code
7751
7752         * BufferView2.C: use screen() accessor
7753
7754         * lyx_main.h:
7755         * lyx_main.C: some minor cleanup
7756
7757 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7758
7759         * BufferView_pimpl.h:
7760         * BufferView_pimpl.C: remove enter/leaveView,
7761           use workHeight()
7762
7763 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7764
7765         * BufferView.h:
7766         * BufferView.C:
7767         * BufferView2.C:
7768         * BufferView_pimpl.h:
7769         * BufferView_pimpl.C: only construct screen once,
7770           rename
7771
7772         * lyxrc.C: remove pointless comment
7773
7774 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7775
7776         * BufferView.h:
7777         * BufferView.C: remove active() and belowMouse()
7778
7779         * BufferView_pimpl.h:
7780         * BufferView_pimpl.C: use workarea() not workarea_,
7781           and make it use a scoped_ptr instead
7782
7783 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7784
7785         * lyx_gui.C: add debug message on BadWindow
7786
7787 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7788
7789         * sp_spell.C: fdopen is not part of the C++ standard.
7790
7791         * paragraph.C (InsetIterator): use >= instead of ==
7792
7793 2002-06-07  Angus Leeming  <leeming@lyx.org>
7794
7795         Fixes needed to compile with Compaq cxx 6.5.
7796         * BufferView_pimpl.C:
7797         * DepTable.C:
7798         * buffer.C:
7799         * converter.C:
7800         * encoding.C:
7801         * lyx_gui.C:
7802         * lyx_main.C:
7803         * lyxtextclasslist.C:
7804         * minibuffer.C:
7805         * sp_spell.C:
7806         * tabular_funcs.C:
7807         * vc-backend.C:
7808         all c-library variables have been moved into namespace std. Wrap
7809         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7810
7811         * lyxlength.C:
7812         * tabular-old.C:
7813         * tabular.C:
7814         Add a using std::abs declaration.
7815
7816         * kbmap.h (modifier_pair):
7817         * paragraph.h (InsetTable, InsetList):
7818         * lyxfont.h (FontBits):
7819         type definition made public.
7820
7821         * bufferlist.C (emergencyWriteAll): the compiler complains that
7822         there is more than one possible lyx::class_fun template to choose from.
7823         I re-named the void specialisation as lyx::void_class_fun.
7824
7825         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7826
7827         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7828         the compiler is is unable to find tostr in write_attribute.
7829
7830 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7831
7832         * buffer.C (sgmlError): hide #warning
7833
7834 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7835
7836         * xtl/*: get rid of xtl, which is not in use anyway
7837
7838         * LyXAction.C (init):
7839         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7840         were unimplemented xtl experimentation
7841
7842 2002-06-04  André Pönitz <poenitz@gmx.net>
7843
7844         * lyxfunc.C: disable array operation on simple formulae
7845
7846 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7847
7848         * converter.C: constify a bit
7849
7850 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7851
7852         * lyx_gui.C: check xforms version correctly
7853
7854 2002-04-30  Herbert Voss  <voss@lyx.org>
7855
7856         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7857         "keep" option
7858
7859 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7860
7861         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7862           attempt to register it with a VCS)
7863
7864 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7865
7866         * lyx_main.C (init): honor variables LYX_DIR_13x and
7867         LYX_USERDIR_13x
7868
7869 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7870
7871         * buffer.h:
7872         * buffer.C:
7873         * lyx_main.C: fix a crash on bad command line,
7874           and give a useful exit status on error
7875
7876         * lyxfunc.C (doImport): allow -i lyx to work
7877
7878 2002-03-30  André Pönitz <poenitz@gmx.net>
7879
7880         * lyxfunc.C: mathed font changes
7881
7882 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7883
7884         * LaTeX.C:
7885         * importer.h:
7886         * importer.C:
7887         * lyx_sty.h:
7888         * lyx_sty.C:
7889         * lyxlex.C:
7890         * lyxrow.h:
7891         * lyxtext.h:
7892         * paragraph.h:
7893         * paragraph.C:
7894         * texrow.h:
7895         * texrow.C:
7896         * text.C:
7897         * trans_mgr.h: srcdocs, and some minor cleanups
7898
7899 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7900
7901         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7902         call getFont all the time)
7903
7904 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7905
7906         * switch from SigC signals to boost::signals
7907
7908 2002-05-29  André Pönitz <poenitz@gmx.net>
7909
7910         * paragraph_pimpl.C (getChar): don't call size() too often...
7911
7912 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7913
7914         * paragraph_pimpl.C (insertChar): do not try to update tables when
7915         appending (pos == size())
7916
7917         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7918         in order to reduce drastically the number of comparisons needed to
7919         parse a large document
7920
7921 2002-05-29  André Pönitz <poenitz@gmx.net>
7922
7923         * text.C:
7924         * text2.C:
7925         * lyxtextclass.C:
7926         * sp_pspell.h:
7927         * textclasslist.[Ch]:
7928         * sp_ispell.h: whitespace change
7929
7930 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7931
7932         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7933         lyxaction directly now.
7934
7935 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7936
7937         * trans.C:
7938         * lyxfont.C:
7939         * lyxvc.C: remove unused headers
7940
7941 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7942
7943         * Makefile.am:
7944         * buffer.h:
7945         * undostack.h:
7946         * undostack.C:
7947         * undo_funcs.h:
7948         * undo_funcs.C: some cleanups. Use shared_ptr
7949           and a template for the undo stacks.
7950
7951 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7952
7953         * BufferView_pimpl.h:
7954         * BufferView_pimpl.C:
7955         * kbmap.h:
7956         * kbmap.C:
7957         * kbsequence.h:
7958         * kbsequence.C:
7959         * lyxfunc.h:
7960         * lyxfunc.C:
7961         * text2.C: use key_state/mouse_state
7962
7963 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7964
7965         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7966         and LSubstring
7967
7968         * chset.C: change include order
7969         (loadFile): use boost regex and get rid of LRegex and LSubstring
7970
7971         * Makefile.am (BOOST_LIBS): new variable
7972         (lyx_LDADD): use it
7973
7974         * LaTeX.C: change include order.
7975         (scanAuxFile): use boost regex and get rid of LRegex and
7976         LSubstring
7977         (deplog): ditto
7978
7979 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7980
7981         * ColorHandler.h:
7982         * ColorHandler.C:
7983         * FontInfo.h:
7984         * FontInfo.C: moved to frontends/xforms/
7985
7986         * FontLoader.h:
7987         * FontLoader.C: moved into frontends for GUIIzation
7988
7989         * Makefile.am:
7990         * lyx_gui.C:
7991         * lyxfont.C:
7992         * lyxfunc.C: changes from above
7993
7994 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7995
7996         * LColor.C: remove spurious X include
7997
7998         * BufferView_pimpl.C:
7999         * Makefile.am:
8000         * font.h:
8001         * font.C:
8002         * text.C:
8003         * text2.C: move font metrics to frontends/
8004
8005 2002-05-24  Juergen Vigna  <jug@sad.it>
8006
8007         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8008         setting the undo_cursor.
8009
8010         * ParagraphParameters.h: include local includes first.
8011
8012 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8013
8014         * BufferView_pimpl.C:
8015         * BufferView_pimpl.h:
8016         * Makefile.am:
8017         * WorkArea.h:
8018         * WorkArea.C:
8019         * screen.C: move WorkArea into frontends/
8020
8021         * lyxscreen.h:
8022         * screen.C:
8023         * text.C:
8024         * BufferView.C:
8025         * BufferView2.C: move LyXScreen into frontends/
8026
8027         * lyxlookup.h:
8028         * lyxlookup.C:
8029         * lyx_gui.C: move lyxlookup into frontends/xforms/
8030
8031 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8032
8033         * BufferView2.C:
8034         * BufferView_pimpl.C:
8035         * FontLoader.C:
8036         * LyXView.h:
8037         * LyXView.C:
8038         * Makefile.am:
8039         * WorkArea.C:
8040         * XFormsView.h:
8041         * XFormsView.C:
8042         * buffer.C:
8043         * bufferlist.C:
8044         * bufferview_funcs.C:
8045         * converter.C:
8046         * importer.C:
8047         * lyx_cb.C:
8048         * lyx_gui.C:
8049         * lyx_main.C:
8050         * lyx_find.C:
8051         * lyxfunc.C:
8052         * lyxvc.C:
8053         * minibuffer.C:
8054         * text.C:
8055         * text2.C:
8056         * trans.C:
8057         * vc-backend.C: move LyX/XFormsView into frontends/
8058
8059 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8060
8061         * Makefile.am:
8062         * PainterBase.C:
8063         * PainterBase.h:
8064         * Painter.C:
8065         * Painter.h:
8066         * WorkArea.C:
8067         * WorkArea.h:
8068         * screen.C:
8069         * tabular.C:
8070         * text.C:
8071         * text2.C: move Painter to frontends/
8072
8073 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8074
8075         * buffer.C: comment out some some code that depend upon lyx_format
8076         < 220
8077
8078         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8079         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8080
8081         * buffer.h (NO_COMPABILITY): turn off compability
8082
8083         * ColorHandler.C: include scoped_array.hpp
8084
8085         * font.C: Use more specific smart_ptr header.
8086         * Painter.C: ditto
8087         * gettext.C: ditto
8088         * ShareContainer.h: ditto
8089         * lyx_main.h: ditto
8090         * kbmap.h: ditto
8091         * FontInfo.h: ditto
8092         * BufferView_pimpl.h: ditto
8093         * ColorHandler.h: ditto
8094
8095         * kbmap.C (defkey): change call to shared_ptr::reset
8096
8097 2002-05-21  Juergen Vigna  <jug@sad.it>
8098
8099         * buffer.C (insertErtContents): fix to insert ert asis if it is
8100         non empty. Skip it completely if it contains only whitespaces.
8101
8102 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8103
8104         * BufferView_pimpl.C:
8105         * BufferView2.C: clear selection on paste (bug 393)
8106
8107 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8108
8109         * DepTable.C: include ctime
8110
8111 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8112
8113         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8114
8115 2002-05-14  Juergen Vigna  <jug@sad.it>
8116
8117         * text.C (breakParagraph): fixed function to honor the keepempty
8118         layout in the right maner and also to permit the right breaking
8119         algorithm on empty or non empyt keepempty paragraphs.
8120
8121         * paragraph.C (breakParagraph): we have to check also if the par
8122         is really empty (!size()) for isempty otherwise we do the wrong
8123         paragraph break.
8124
8125 2002-05-10  Juergen Vigna  <jug@sad.it>
8126
8127         * buffer.[Ch] : The following are only changes to the ert
8128         compatibility read reading old LaTeX layout and font stuff and
8129         convert it to ERTInsets.
8130
8131         * buffer.h: added isErtInset().
8132
8133         * buffer.C (struct ErtComp): add a fromlayout bool to check
8134         if we're inside a LaTeX layout.
8135         (isErtInset): new helper function.
8136         (insertErtContents): look for other ert insets before this one
8137         and insert the contents there, so that we don't have subsequent
8138         ERT insets with nothing between them. This way we create only one
8139         inset with multiple paragraphs. Also check if we don't insert only
8140         spaces ' ' as they are ignored anyway afterwards in the .tex file
8141         so if we have only spaces we will ignore this latex part in the
8142         new file.
8143         (parseSingleLyXformat2Token \\layout): better compatibility when
8144         reading layout-latex stuff.
8145         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8146         language tag.
8147         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8148         stuff after reading the inset only get the information back from
8149         the stack.
8150
8151 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8152
8153         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8154
8155         * LaTeXFeatures.C (getBabelOptions): New method.
8156
8157 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8158
8159         * BufferView_pimpl.C (Dispatch): work around missing argument for
8160         'layout'
8161
8162 2002-05-08  Juergen Vigna  <jug@sad.it>
8163
8164         * text.C (leftMargin): handle paragraph leftindent.
8165
8166         * paragraph.C (writeFile): write the new \\leftindent tag.
8167         (validate): handle leftindent code.
8168         (TeXEnvironment): handle paragraphleftindent code again.
8169
8170         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8171
8172         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8173         for paragrap_extra indent code and new token \\leftindent.
8174         (latexParagraphs): handle the leftindent as environment.
8175
8176         * ParameterStruct.h: added leftindent support.
8177
8178         * ParagraphParameters.C (leftIndent): added support functions for
8179         the paragraph left indent.
8180
8181         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8182         more appropriate.
8183
8184 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8185
8186         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8187         inside insetERT.
8188
8189         * text.C (computeBidiTables): No bidi in insetERT.
8190
8191         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8192         in RTL documents.
8193
8194 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8195
8196         * version.C.in: pre 5
8197
8198 2002-05-02  José Matos  <jamatos@fep.up.pt>
8199         * buffer.C (makeDocBookFile): white space changes, add newline to
8200         command styles.
8201         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8202
8203         * tabular.C (docBook): fix typo.
8204
8205 2002-05-03  Juergen Vigna  <jug@sad.it>
8206
8207         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8208         change in LyXText as we can not be sure it was not freed.
8209         (drawOneRow): remove unused code.
8210
8211         * text.C (drawInset): redo the calculation of the need_break_row as
8212         it could have a row which was already freed.
8213         (draw): look at the return value of drawInset and return false if
8214         it also returned false.
8215         (paintRowText): look at the return value of draw and return false if
8216         it also returned false.
8217
8218         * lyxtext.h: added bool return type to drawInset() and draw() so that
8219         if we have a change in the row so that the rowbreak has to be redone
8220         we abort drawing as it will be called again.
8221
8222 2002-05-02  Juergen Vigna  <jug@sad.it>
8223
8224         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8225         a change in the maintext also if we're inside an inset.
8226         (Dispatch): set the cursor again after a break line and after the
8227         screen has been updated as it could be we're in a different row.
8228
8229         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8230         to set the cursor behind the pargraph with > size().
8231         (setCursor): check also for the same paragraph when checking where
8232         to put the cursor if we have a NFR inset.
8233
8234         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8235         parts of layout read further up as it still was in the wrong
8236         position.
8237
8238 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8239
8240         * screen.C (drawFromTo): change sine fullRebreak always return
8241         true.
8242
8243         * buffer.C (parseSingleLyXformat2Token): reindent some
8244
8245         * BufferView_pimpl.C (update): change since fullRebreak always
8246         return true.
8247         (Dispatch): git rid of the last hardcoded "Standard"s.
8248
8249 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8250
8251         * text2.[Ch] (fullRebreak): make it return void now that we always
8252         returned true.
8253
8254 2002-04-30  Juergen Vigna  <jug@sad.it>
8255
8256         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8257         ert compatibility check for "latex" layout.
8258
8259 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8260
8261         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8262         minipages: use col% instead of p%, and also use the current font.
8263         (makeLaTeXFile): Fix use babel condition.
8264         (parseSingleLyXformat2Token): Correct font when reading old floats.
8265
8266 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8267
8268         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8269         inserting list of floats.
8270
8271 2002-04-25  Herbert Voss  <voss@lyx.org>
8272
8273         * MenuBackend.C (expand): don't add the graphics extensions to the
8274         export menu
8275
8276 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8277
8278         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8279         non-existing layout, do not complain if it was the default layout
8280         of the original class (bug #342)
8281
8282 2002-04-24  Juergen Vigna  <jug@sad.it>
8283
8284         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8285         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8286
8287 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8288
8289         * buffer.C (getBibkeyList): If using \bibliography, return the
8290         option field with the reference itself. Enables us to provide natbib
8291         support when using \bibliography.
8292
8293 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8294
8295         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8296
8297         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8298         natbib is provided by the LaTeX class.
8299
8300 2002-04-23  Juergen Vigna  <jug@sad.it>
8301
8302         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8303         Wakeup functions.
8304
8305         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8306
8307 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8308
8309         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8310
8311         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8312         ensuremath around textordmasculine, textordfeminine and
8313         textdegree.
8314
8315 2002-04-19  Juergen Vigna  <jug@sad.it>
8316
8317         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8318         reinitializing the buffer otherwise row-dimensions may be wrong.
8319         (update): reset also the selection cursors if they do exits otherwise
8320         their x/y positions may be wrong.
8321
8322         * text2.C (cursorDown): don't enter the inset if we came from a row
8323         above and are one row over the inset.
8324
8325         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8326         really leaving an inset.
8327
8328 2002-04-18  Juergen Vigna  <jug@sad.it>
8329
8330         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8331         of the selected paragraph does not have the selected layout also if
8332         the last one had!
8333
8334         * text2.C (setLayout): fixed bug which did not change last selected
8335         paragraph.
8336
8337         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8338         changed the read and substituted \\end_float with \\end_inset!
8339
8340         * BufferView_pimpl.C (cursorPrevious):
8341         (cursorNext): fixed to make it work with rows heigher than the work
8342         area without moving the cursor only the draw of the row.
8343         (workAreaMotionNotify): fix jumping over high rows.
8344
8345 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8346
8347         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8348         Ressler.
8349
8350 2002-04-16  Juergen Vigna  <jug@sad.it>
8351
8352         * text2.C (setCursor): set also the irow().
8353         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8354         (cursorUp):
8355         (cursorDown): support for locking an inset if the x_fix value goes
8356         inside it. That way I can transverse insets too with cursor up/down.
8357
8358         * lyxrow.h: added irow helper function same as other (i) functions.
8359
8360         * BufferView_pimpl.C (cursorPrevious):
8361         (cursorNext): fixed for insets!
8362
8363 2002-04-15  Juergen Vigna  <jug@sad.it>
8364
8365         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8366         position otherwise it is wrong in some cases.
8367
8368         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8369         inside the inset before the call.
8370
8371 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8372
8373         * buffer.[Ch] (getBibkeyList): make it const.
8374
8375 2002-04-12  Juergen Vigna  <jug@sad.it>
8376
8377         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8378
8379         * text2.C (getCursorX): new helper function
8380         (setCursor): compute also ix_
8381         (setCursorFromCoordinates): set also ix.
8382
8383         * lyxcursor.h: added ix_ and helper functions.
8384
8385         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8386
8387         * buffer.C (insertStringAsLines): dont break paragraph if the this
8388         paragraph is inside an inset which does not permit it!
8389
8390         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8391         also with no chars on this paragraph.
8392         (paintRowText): only paint stuff if it's inside the workarea!
8393
8394         * paragraph.C (breakParagraph): honor keepempty flag and break the
8395         paragraph always below not above.
8396
8397         * BufferView2.C (unlockInset): update the paragraph layout on inset
8398         unlock as we changed paragraph in such a case.
8399
8400         * lyxfind.C (LyXFind): clear the former selection if not found!
8401
8402         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8403         again called in insertChar().
8404
8405         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8406         an inset which uses the whole row!
8407         (rightMargin): ditto.
8408         (insertChar): force a rebreak if we inserted an inset!
8409
8410 2002-03-28  Herbert Voss  <voss@lyx.org>
8411
8412         * lyxlength.[Ch]: add inBP() to get the right PS-point
8413         units (BigPoint). With inPixels we have rounding errors
8414
8415 2002-04-11  Juergen Vigna  <jug@sad.it>
8416
8417         * text2.C (setCursorFromCoordinates): set iy to the right value.
8418         (setCursor): add check if row->previous exists!
8419
8420         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8421         an old float_type as this was the case in the old code!
8422
8423         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8424
8425         * BufferView2.C (showLockedInsetCursor): use iy
8426         (fitLockedInsetCursor): ditto
8427
8428         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8429         locked insets as there we have the right value now.
8430
8431         * lyxcursor.C: added iy_ variable and iy functions to set to the
8432         baseline of cursor-y of the locked inset.
8433
8434         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8435         (setCursor): fixed for insets which need a full row.
8436
8437         * text.C (rowLastPrintable): don't ignore the last space when before
8438         an inset which needs a full row.
8439         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8440         as last character of a row when before a inset which needs a full row.
8441
8442 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8443
8444         * version.C.in: update date
8445
8446         * text2.C (fullRebreak): try to always return true and see what
8447         happens...
8448
8449 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8450
8451         * MenuBackend.C (expand): use Floating::listName
8452
8453         * FloatList.C (FloatList): add listName argument to the built-in
8454         floats
8455
8456         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8457         text associated with the float.
8458
8459 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8460
8461         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8462
8463 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8464
8465         * ShareContainer.h: add a couple of missing typenames.
8466
8467 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8468
8469         * lyxrc.C (getDescription): use _() correctly rather than N_().
8470
8471 2002-03-28  Herbert Voss  <voss@lyx.org>
8472
8473         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8474         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8475
8476 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8477
8478         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8479         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8480
8481 2002-03-29  Juergen Vigna  <jug@sad.it>
8482
8483         * lyxfunc.C (dispatch): add a missing fitCursor call.
8484
8485         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8486         it was scrolled by a cursor move, so return the bool status.
8487
8488         * BufferView.C (fitCursor): return the bool flag also to the outside
8489         world as this is needed.
8490
8491         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8492
8493         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8494         call the edit() as it is not needed (and wrong) IMO.
8495         (workAreaButtonPress): set the screen_first variable before evt.
8496         unlock the inset as this may change screen_first and then we have
8497         a wrong y position for the click!
8498
8499 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8500
8501         * MenuBackend.C (expand): another translation that I missed
8502
8503 2002-03-28  Juergen Vigna  <jug@sad.it>
8504
8505         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8506
8507         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8508
8509 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8510
8511         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8512
8513         * MenuBackend.C (expand): fix export/view/update when there is no
8514         document open.
8515
8516 2002-03-27  Herbert Voss  <voss@lyx.org>
8517
8518         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8519         and text%
8520
8521 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8522
8523         * bufferview_funcs.C (currentState): only show paragraph number
8524         for is DEVEL_VERSION is set.
8525
8526         * lyxfunc.C (dispatch): put warning in INFO channel
8527
8528         * MenuBackend.C (expand): translate the name of floats
8529
8530         * FloatList.C (FloatList): mark the float names for translation
8531
8532         * converter.C (convert): use LibScriptSearch
8533
8534 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8535
8536         * MenuBackend.C (defaults): fix default menu (we might as well get
8537         rid of it...)
8538
8539 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8540
8541         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8542         directory.
8543
8544 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8545
8546         * lyxvc.C: reorder includes.
8547
8548 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8549
8550         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8551           properly
8552
8553 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8554
8555         * CutAndPaste.C: change layouts earlier on paste
8556           to avoid crashing when calling getFont()
8557
8558 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8559
8560         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8561         irritating #error.
8562
8563 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8564
8565         * WorkArea.C: remove 'Pending' debug message.
8566
8567         * most files: ws cleanup
8568
8569         * buffer.[Ch]: ws changes
8570
8571         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8572
8573 2002-03-21  Juergen Vigna  <jug@sad.it>
8574
8575         * tabular.C (SetMultiColumn): collapse also the contents of the
8576         cells and set the last border right. Added a Buffer const * param.
8577
8578 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8579
8580         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8581         linking or not.
8582
8583 2002-03-19  Juergen Vigna  <jug@sad.it>
8584
8585         * text2.C (clearSelection): reset also xsel_cache.
8586
8587         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8588         where it needs to be called (John tells us to do so too :)
8589         (selectionLost): reset sel_cache.
8590
8591         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8592
8593 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8594
8595         * text2.C (setCursorIntern): put debuging code in INSETS channel
8596
8597 2002-03-19  André Pönitz <poenitz@gmx.net>
8598
8599         * lyxfunc.C: tiny whitespace change
8600
8601 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8602
8603         * ToolbarDefaults.C (init):
8604         * LyXAction.C (init):
8605         * commandtags.h:
8606         * BufferView_pimpl.C (Dispatch):
8607         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8608
8609 2002-03-19  Allan Rae  <rae@lyx.org>
8610
8611         * exporter.C (Export): removeAutoInsets before doing anything else.
8612         While I've just introduced a dependency on BufferView this really is
8613         the best place to clean the buffer otherwise you need to cleanup in
8614         a dozen places before calling export or cleanup in a dozen functions
8615         that export calls.
8616
8617         * converter.C (runLaTeX):
8618         (scanLog): Better handling of removeAutoInsets and screen updates.
8619
8620         * lyxfunc.C (dispatch): small whitespace changes
8621
8622 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8623
8624         * WorkArea.C (C_WorkAreaEvent): return a value.
8625         (event_cb): return 1 if we handled the event, 0 otherwise.
8626
8627         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8628
8629 2002-03-18  Juergen Vigna  <jug@sad.it>
8630
8631         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8632         (GetAdditionalWidth): ditto.
8633         (RightLine): ditto.
8634         (LeftLine): ditto.
8635
8636         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8637         inset if we're there actually (probably not used right now but this
8638         is the direction to go for unifying code).
8639         (paste): disable code to clear the selection.
8640
8641         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8642         inside an InsetText and move the check further up as it is in the
8643         wrong place.
8644
8645         * text2.C (pasteSelection): set a selection over the pasted text.
8646
8647 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8648
8649         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8650         and libgraphics to build on Cygwin.
8651
8652 2002-03-15  Juergen Vigna  <jug@sad.it>
8653
8654         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8655         inserting an Inset into the paragraph. I know this is not the best
8656         fix but we already use current_view in CutAndPaste so we will remove
8657         all of it's using at the same time.
8658
8659         * buffer.C (sgmlError): deactivated function till it is rewritten in
8660         the right mode, now it can create problems.
8661
8662         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8663         before accessing it.
8664
8665 2002-03-14  Juergen Vigna  <jug@sad.it>
8666
8667         * undo_funcs.C (textHandleUndo): do the right thing when updating
8668         the inset after the undo/redo.
8669
8670         * text2.C (setCursor): just some testcode for #44 not ready yet.
8671
8672         * undo_funcs.C (textHandleUndo): set the next() and previous()
8673         pointers of the paragraph to 0 before deleting otherwise we have
8674         problems with the Paragraph::[destructor].
8675
8676         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8677         on a paragraph insertion.
8678
8679 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8680
8681         * buffer.C (asciiParagraph): use += operator for char append to
8682         string.
8683
8684         * paragraph.C (getFontSettings): compare >= not just >
8685         (highestFontInRange): ditto
8686         (setFont): ditto
8687
8688 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8689
8690         * paragraph.C: change several algorithm to be more appripriate for
8691         the problem domain. This is lookip in FontList and in the InsetList.
8692
8693 2002-03-13  André Pönitz <poenitz@gmx.net>
8694
8695         * commandtags.h:
8696         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8697
8698 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8699
8700         * commandtags.h:
8701         * LyXAction.C:
8702         * lyxfunc.C:
8703         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8704
8705 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8706
8707         * Painter.C (display): anon helper function, adjust code for this
8708         change.
8709         (pixmap): remove function.
8710
8711         * Painter.h: remove private display variable.
8712
8713         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8714
8715 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8716
8717         * WorkArea.[Ch]: remove figinset_canvas cruft.
8718
8719 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8720
8721         * lyxtextclass.C (operator): add one item cache optimization.
8722
8723         * bufferlist.h: doxy changes
8724
8725         * bufferlist.C: ws changes
8726
8727         * DepTable.[Ch] (ext_exist): place const in the right spot.
8728
8729         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8730         call resizeInsets.
8731         (workAreaExpose): call resizeInsets when the with BufferView changes.
8732         (Dispatch): adjust for protectedBlank removal
8733         (specialChar): call updateInset if the insert went ok.
8734
8735         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8736         specialChar instead.
8737
8738         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8739
8740         * BufferView.h: doxy change
8741
8742         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8743
8744         * lyxtextclass.C (operator[]): remove non-const version
8745         (defaultLayout): remove non-const version
8746
8747 2002-03-12  Juergen Vigna  <jug@sad.it>
8748
8749         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8750         did resize the LyXText too.
8751
8752         * buffer.C (readLyXformat2): set layout information on newly allocated
8753         paragraphs.
8754
8755         * tabular.C (OldFormatRead): set layout information on the paragraph.
8756
8757 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8758
8759         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8760
8761 2002-03-11  Juergen Vigna  <jug@sad.it>
8762
8763         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8764         plainly wrong.
8765         (resizeCurrentBuffer): force also the insets to resize themselfes.
8766         (moveCursorUpdate): fixed up for InsetText.
8767
8768 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8769
8770         * commandtags.h:
8771         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8772         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8773         value of Dialogs::tooltipsEnabled().
8774         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8775
8776 2002-03-08  Juergen Vigna  <jug@sad.it>
8777
8778         * BufferView_pimpl.C (updateInset): update inset inside inset also
8779         if it isn't inside theLockingInset().
8780
8781 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8782
8783         * buffer.C (asciiParagraph): redo some of the word and line length
8784         handling.
8785         (getLists): look for Caption instead of caption.
8786
8787 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8788
8789         * buffer.C (Buffer): initialize niceFile to true
8790         (makeLaTeXFile):
8791         (makeLinuxDocFile):
8792         (makeDocBookFile): make sure niceFile is true on exit
8793
8794 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8795
8796         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8797
8798 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8799
8800         * LyXSendto.C: remove.
8801         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8802         * lyx_gui.C: remove now-redundant comment.
8803         * ColorHandler.h: remove forward declaration of class WorkArea.
8804         * lyxfunc.C: remove #include "WorkArea.h".
8805
8806 2002-03-07  Juergen Vigna  <jug@sad.it>
8807
8808         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8809         got moved away with the DEPM and also set the inset_owner always
8810         right which before could have been omitted.
8811
8812 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8813
8814         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8815         wanted layout is not found.
8816
8817 2002-03-07  Juergen Vigna  <jug@sad.it>
8818
8819         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8820
8821 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8822
8823         * paragraph.C (breakParagraph): use default layout not layout of
8824         prev paragraph.
8825         (Paragraph): clear ParagraphParameters.
8826
8827 2002-03-06  Juergen Vigna  <jug@sad.it>
8828
8829         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8830         otherwise it would not be a valid lenght. Fixed a special case in
8831         the minipage compatibility read where we end the document with a
8832         minipage.
8833
8834         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8835         was set as it could be 0 for InsetTexts first entry.
8836
8837 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8838
8839         * paragraph.C (writeFile): if layout is empty write out
8840         defaultLayoutName().
8841
8842         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8843         file without named layout we set layout to defaultLayoutName().
8844
8845 2002-03-06  Juergen Vigna  <jug@sad.it>
8846
8847         * CutAndPaste.C (copySelection): set layout for new paragraph.
8848
8849         * text.C (prepareToPrint): leave ERT inset left aligned
8850         (leftMargin): don't indent paragraphs inside ERT insets
8851
8852 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8853
8854         * paragraph.C (breakParagraph): dont call clear do the work manually
8855
8856         * paragraph.[Ch] (clear): remove function
8857
8858 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8859
8860         * paragraph.C (Paragraph): dont call clear, the work has already
8861         been done.
8862
8863         * lyxtextclass.C (operator): assert if n is empty
8864
8865         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8866         work manually instead.
8867
8868 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8869
8870         * BufferView_pimpl.C: protect selectionLost against text == 0
8871
8872 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8873
8874         * text.C (breakParagraph): fix a setting layout to '0' problem.
8875
8876 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8877
8878         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8879         final location of file, for the included files, and graphics.
8880
8881 2002-03-05  Juergen Vigna  <jug@sad.it>
8882
8883         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8884
8885 2002-03-04  Juergen Vigna  <jug@sad.it>
8886
8887         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8888
8889         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8890         last column of multicolumn cells.
8891         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8892
8893 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8894
8895         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8896         file if it doesn't go to a temporary file.
8897
8898         * buffer.C (sgmlOpenTag):
8899         (sgmlCloseTag):  remove extra newline insertion.
8900
8901 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8902
8903         * text.C (getRowNearY): comment out debug msg
8904
8905 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8906
8907         * text2.C: first -> first_y
8908
8909         * text.C (getRowNearY): add some attemts at a possible
8910         optimization, not working.
8911
8912         * tabular.[Ch]: add BufferParams to several function so that newly
8913         created paragraph can be initialized to he default layotu for the
8914         buffers textclass.
8915
8916         * tabular-old.C (ReadOld): add buf->params to call of Init
8917
8918         * screen.C: rename text->first to text->first_y
8919
8920         * paragraph.C (breakParagraph): always set layout in the broken
8921         paragraph
8922
8923         * lyxtextclass.C (Read): remove lowercase
8924         (hasLayout): ditto
8925         (operator): ditto
8926         (delete_layout): ditto
8927
8928         * lyxtext.h: rename first -> first_y
8929
8930         * lyxlayout.C (Read): remove lowercase
8931         (name): ditto
8932         (setName): ditto
8933         (obsoleted_by): ditto
8934
8935         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8936
8937         * buffer.C (insertErtContents): add params are to InsetERT
8938         (parseSingleLyXformat2Token): add code to check if a paragraphs
8939         layout really exist.
8940         (parseSingleLyXformat2Token): add params to several inset
8941         constructors
8942         (asciiParagraph): remove lowercase, do the layout comparisons with
8943         no_case
8944
8945         * BufferView_pimpl.C (cursorNext): first -> first_y
8946         (resizeCurrentBuffer): first -> first_y
8947         (updateScrollbar): first -> first_y
8948         (scrollCB): first -> first_y
8949         (workAreaMotionNotify): first -> first_y
8950         (workAreaButtonPress): first -> first_y
8951         (checkInsetHit): first -> first_y
8952         (cursorPrevious): first -> first_y
8953         (cursorNext): first -> first_y
8954         (Dispatch): add buffer_->params to severl inset contructors
8955
8956 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8957
8958         * lyxlayout.C (Read): remove some debug info that I forgot.
8959
8960         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8961         clean up the code slightly.
8962         (makeLinuxDocFile): ditto
8963         (makeDocBookFile): ditto
8964
8965         * text2.C: layout as string
8966
8967         * text.C: layout as string
8968
8969         * paragraph_pimpl.C: layout as string
8970
8971         * paragraph.[Ch]: layout as string
8972
8973         * lyxtextclasslist.[Ch]: layout as string
8974
8975         * lyxtextclass.[Ch]: layout as string
8976
8977         * lyxtext.h: layout as string
8978
8979         * lyxlayout.[Ch]: layout as string
8980
8981         * lyx_cb.C: layout as string
8982
8983         * bufferview_funcs.C: layout as string
8984
8985         * bufferparams.C: layout as string
8986
8987         * buffer.C: layout as string
8988
8989         * LyXView.[Ch]: layout as string
8990
8991         * LaTeXFeatures.[Ch]: layout as string
8992
8993         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8994
8995         * BufferView_pimpl.C: change current_layout to string, remove
8996         lyx::layout_type.
8997         (Dispatch):
8998         (smartQuote):
8999         (insertInset):
9000         (workAreaButtonRelease): layout as string
9001
9002         * BufferView2.C (unlockInset): adjust
9003
9004         * vspace.C (asLatexCommand): use an explict temp variable.
9005
9006 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9007
9008         * Makefile.am: use FRONTEND_*
9009
9010 2002-03-01  Juergen Vigna  <jug@sad.it>
9011
9012         * tabular.C (SetWidthOfMulticolCell): changed to something better
9013         I hope but still work in progress.
9014         (recalculateMulticolumnsOfColumn): renamed function from
9015         recalculateMulticolCells as it is more appropriate now.
9016         (SetWidthOfCell): calculate multicols better.
9017
9018 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9019
9020         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9021
9022         * lyxfunc.C (processKeySym): print sequence also if it is
9023         `deleted' (complete)
9024
9025         * kbsequence.C (print): print sequence even if it is deleted
9026         (complete would be a better word, actually).
9027
9028         * lyxfunc.C (dispatch): print complete options after a prefix key
9029
9030         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9031
9032 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9033
9034         * text2.C (setCharFont): eliminate setCharFont code duplication.
9035
9036 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9037
9038         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9039         LFUN_TABULAR_FEATURE (bug #177)
9040
9041 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9042
9043         * Makefile.am: remove figure.h
9044
9045 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9046
9047         * Bufferview_pimpl.C:
9048         * CutAndPasteC:
9049         * LaTeX.C:
9050         * LyXSendto.C:
9051         * buffer.C:
9052         * bufferlist.C:
9053         * converter.C:
9054         * language.C:
9055         * lyxfunc.C:
9056         * lyxvc.C:
9057         * paragraph.C:
9058         * text.C:
9059         * text2.C: remove #include "lyx_gui_misc.h".
9060
9061         * LaTeX.C: added #include <cstdio>
9062
9063 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9064
9065         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9066         that the paragraph following this one can have.
9067
9068         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9069
9070         * vspace.C (asLatexCommand): fix bogus gcc warning
9071
9072         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9073
9074 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9075
9076         * text2.C (setLayout): get rid of redundant code
9077
9078 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9079
9080         * text2.C (incDepth): make sure depth cannot be increased beyond
9081         reasonable values.
9082
9083 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9084
9085         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9086         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9087
9088         * PainterBase.h (image):
9089         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9090         a LyXImage const *.
9091
9092 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9093
9094         * BufferView.C:
9095         * BufferView.h:
9096         * BufferView_pimpl.C:
9097         * BufferView_pimpl.h:
9098         * LaTeXFeatures.C:
9099         * LyXAction.C:
9100         * LyXView.C:
9101         * Makefile.am:
9102         * UpdateList.h:
9103         * UpdateList.C:
9104         * buffer.C:
9105         * figure.h:
9106         * figureForm.C:
9107         * figureForm.h:
9108         * figure_form.C:
9109         * figure_form.h:
9110         * lyx_cb.C:
9111         * lyx_gui.C:
9112         * lyx_gui_misc.C:
9113         * lyxfunc.C:
9114         * sp_base.h:
9115         * sp_ispell.h:
9116         * sp_pspell.h:
9117         * sp_spell.C: remove fig inset, and the crap house of
9118           cards that follows it
9119
9120 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9121
9122         * Makefile.am:
9123         * lyxserver.C:
9124         * os2_defines.h:
9125         * os2_errortable.h:
9126         * nt_defines.h: move .h into support/
9127
9128         * vms_defines.h: remove
9129
9130         * WorkArea.C: add space in debug output
9131
9132         * text2.C:
9133         * paragraph.C:
9134         * buffer.C: add WITH_WARNINGS
9135
9136         * vc-backend.h:
9137         * vc-backend.C:
9138         * bufferlist.C: s/retrive/retrieve/, add docs
9139
9140         * vspace.h:
9141         * vspace.C:
9142         * kbmap.h:
9143         * lyxlength.h:
9144         * lyxgluelength.h:
9145         * length_common.h:
9146         * chset.h:
9147         * chset.C: add docs
9148
9149         * lyxgui.C: add ID to X error handler
9150
9151         * lyxtestclass.c: fix typo
9152
9153 2002-02-26  Juergen Vigna  <jug@sad.it>
9154
9155         * tabular_funcs.C (write_attribute): changed so that some default
9156         attributes are not written at all.
9157         (getTokenValue): set default values before trying to read the
9158         value so we have the return value always set as default if we don't
9159         find the token we search for.
9160
9161         * tabular.C (Write): write bools as bools not as strings!
9162
9163 2002-02-22  Juergen Vigna  <jug@sad.it>
9164
9165         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9166         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9167
9168         * text.C (leftMargin): don't add an indent for paragraphs inside
9169         tabular cells (fix #208).
9170
9171 2002-02-21  José Matos  <jamatos@fep.up.pt>
9172
9173         * tabular.C (docBook): fixed support for long tables.
9174
9175 2002-02-20  Juergen Vigna  <jug@sad.it>
9176
9177         * text2.C (getFont): get the drawing font of the Inset if this
9178         paragraph is inside an inset (only important for InsetERT for now).
9179
9180         * buffer.C (insertErtContents): use new lanugage params in ERT
9181         constructor.
9182
9183         * CutAndPaste.C: commenting out seemingly uneeded code.
9184
9185 2002-02-19  Allan Rae  <rae@lyx.org>
9186
9187         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9188         Iterators might be simple to use but they also get invalidated.
9189         (removeAutoInsets): renamed saved cursor tracking variables and added
9190         some comments to clarify what everything does.
9191
9192 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9193
9194         * Chktex.C:
9195         * LaTeX.C:
9196         * LyXSendto.C:
9197         * converter.C:
9198         * lyx_cb.C:
9199         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9200         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9201
9202         * lyxfunc.C:
9203         * vc-backend.h: remove #include "support/syscall.h"
9204
9205         * LaTeX.C:
9206         * LyXSendto.C:
9207         * converter.C: rearrange #includes in Lars' approved fashion.
9208
9209         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9210         forward declare class Timeout in the header file.
9211
9212         * XFormsView.C: changes due to the above.
9213
9214         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9215         similar to LyXView.
9216
9217         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9218         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9219
9220 2002-02-18  José Matos  <jamatos@fep.up.pt>
9221
9222         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9223         insets contents.
9224
9225 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9226
9227         * a lot of small ws changes
9228         * add a lot of using std::XXX
9229         * use std construcs some places where approp.
9230         * use some exisint stuff from lyxfunctional where approp.
9231         * Make file changes to use partial linking (lets test this now...)
9232
9233 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9234
9235         * Chktex.C:
9236         * buffer.C:
9237         remove #include "support/syscontr.h" as it's redundant. Always has been.
9238
9239         * Chktex.C:
9240         * LaTeX.C:
9241         * LyXSendto.C:
9242         * converter.C:
9243         * lyx_cb.C:
9244         * vc-backend.C:
9245         change Systemcalls::System to Systemcalls::Wait and
9246         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9247         No change of functionality, just reflects the stripped down Systemcalls
9248         class.
9249
9250 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9251
9252         * debug.[Ch]: add a GRAPHICS type to the enum.
9253
9254 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9255
9256         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9257
9258         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9259         there is an inset.
9260
9261 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9262
9263         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9264         match the changes below.
9265
9266         * text2.C (toggleInset): if there is not editable inset at cursor
9267         position, try to see if cursor is _inside_ a collapsable inset
9268         and close it.
9269
9270 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9271
9272         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9273         document menu has a nice checkbox
9274
9275 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9276
9277         * lyxlength.C (asLatexString): change PW to output as percent of
9278         \textwidth.
9279
9280         * lengthcommon.C: change '%' to 't%'
9281
9282         * lyxfunc.C (dispatch): a few comments from Martin
9283
9284 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9285
9286         * WorkArea.h:
9287         * WorkArea.C:
9288         * BufferView_pimpl.h:
9289         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9290           the X selection.
9291
9292 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9293
9294         * vspace.C (inPixels): fix compiler warning
9295
9296 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9297
9298         * lyxfunc.C (getStatus): fix status message for disabled commands.
9299
9300 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9301
9302         * BufferView_pimpl.C: fix crash on close buffer
9303         during selection (#227)
9304
9305 2002-01-27  Herbert Voss  <voss@lyx.org>
9306
9307         * buffer.C: link old Figure to new graphic inset
9308
9309 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9310
9311         * FontLoader.C (getFontinfo): Change the latex font names in order
9312         to match the names of type1inst.
9313
9314 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9315
9316         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9317
9318         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9319         (extchanged): ditto
9320         (ext_exist): ditto
9321         (remove_files_with_extension): ditto
9322         (remove_file): ditto
9323         (write): ditto
9324
9325         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9326         document is smaller than the work area height. Do not initialize
9327         static variables to 0.
9328
9329 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9330
9331         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9332
9333         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9334         LFUN_LAYOUT_PARAGRAPHS.
9335
9336         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9337         tabular. It is possible to provide a possible cell, which will
9338         typically be the actcell from the corresponding insettabular
9339
9340         * lyxfunc.C (getStatus): small cleanup; disable
9341         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9342         true
9343
9344 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9345
9346         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9347
9348         * paragraph.C (startTeXParParams):
9349         (endTeXParParams): new methods. The LaTeX code to
9350         start/end paragraph formatting
9351         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9352         empty (fixes bug #200)
9353
9354         * vspace.C (inPixels): adapt to the change below
9355         (inPixels): [later] more cleanups (remove unused variables)
9356
9357         * lyxlength.C (inPixels): change to use a width and a height as
9358         parameter.
9359
9360 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9361
9362         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9363         Replaced with \paperwidth
9364
9365         * DepTable.C (insert): add std:: qualifier
9366
9367 2002-01-18  Allan Rae  <rae@lyx.org>
9368
9369         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9370         updated also?
9371
9372         * text.C (drawInset): Turned out I didn't know enough about how
9373         rebreaking worked.  This fixes most of the redraw problems.  I see
9374         an occasional cursor trail when a line is broken now and the cursor
9375         placement can seem out by a few pixels also after a rebreak.
9376
9377 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9378
9379         * buffer.C (parseSingleLyXformat2Token): update because minipage
9380         width is now a LyXLength
9381
9382         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9383
9384         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9385         math insets
9386
9387 2002-01-17  Juergen Vigna  <jug@sad.it>
9388
9389         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9390
9391         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9392         is set correctly and the inset is updated correctly.
9393
9394 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9395
9396         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9397         the beginning of the loop.
9398
9399 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9400
9401         * lyxrc.C: improve help for use_scalable_fonts
9402
9403 2002-01-17  Allan Rae  <rae@lyx.org>
9404
9405         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9406
9407 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9408
9409         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9410         make sure to set their inset_owner to the right value (bug #171)
9411
9412 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9413
9414         * DepTable.h
9415         * DepTable.C: Implement mtime checking to reduce time spent doing
9416         CRCs.
9417
9418 2002-01-16  Juergen Vigna  <jug@sad.it>
9419
9420         * tabular.C (GetAdditionalHeight): one of error fixed.
9421
9422         * lyxrc.C (output): small fix in writing use_pspell.
9423
9424 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9425
9426         * sp_base.h: #include LString.h
9427
9428 2002-01-16  Allan Rae  <rae@lyx.org>
9429
9430         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9431         Can someone check this please?
9432
9433         * text.C (drawInset): It was possible that p.row would be removed by
9434         breakAgainOneRow upsetting a few other settings.  There may be another
9435         small tweak possible by setting need_break_row = 0 when p.row has been
9436         removed but I don't know enough about the logic here.
9437
9438 2002-01-15  Allan Rae  <rae@lyx.org>
9439
9440         * text.C (insertChar): removed conditional truism.
9441
9442         * BufferView2.C (removeAutoInsets): More tweaks.
9443         cur_par_prev could be a stray pointer.  Check for trailing empty line
9444         in case last line was cur_par and only had an error inset on it.
9445
9446 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9447
9448         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9449         absolute
9450
9451         * vc-backend.C (most methods):
9452         * exporter.C (Export):
9453         * converter.C (convert):
9454         (runLaTeX):
9455         * LyXSendto.C (SendtoApplyCB):
9456         * lyxfunc.C (dispatch):
9457         (menuNew):
9458         (open):
9459         (doImport):
9460         * lyx_cb.C (AutoSave):
9461         (InsertAsciiFile):
9462         * BufferView_pimpl.C (MenuInsertLyXFile):
9463         * buffer.C (runChktex): use Buffer::filePath().
9464
9465         * buffer.h: rename filename to filename_; rename filepath to
9466         filepath_ and make it private
9467         (filePath): new method
9468
9469         * buffer.C (writeFile): use fileName()
9470         (getLatexName):
9471
9472         * lyx_main.C (init): fix starting  of LyX when the binary is a
9473         link from so,ewhere else.
9474
9475         * minibuffer.C: include <cctype> for isprint
9476
9477 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9478
9479         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9480         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9481         name clash with InsetCollapsable's width function.
9482
9483 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9484
9485         * lastfiles.C: include <iterator>
9486
9487 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9488
9489         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9490         std::count.
9491
9492         * buffer.C (makeLaTeXFile): ditto.
9493         Also make loop operation more transparent.
9494
9495 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9496
9497         * ToolbarDefaults.C: remove trailing comma closing namespace.
9498
9499         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9500
9501         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9502         as in WorkArea.
9503
9504         * trans.C (Load): comment out unused variable, allowed.
9505
9506 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9507
9508         * minibuffer.[Ch] (append_char): new method to recieve input from the
9509         drop-down completion browser. If a key was pressed, then recieve this
9510         char and append it to the existing string.
9511         (peek_event): modify the positioning data passed to the completion
9512         browser so that it can be placed above the minibuffer rather than below.
9513 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9514
9515         * LyXAction.C (init): alloe error-next for readonly documents.
9516
9517         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9518         count.
9519
9520 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9521
9522         * bufferlist.C (readFile): create the buffer _after_ checking that
9523         the file exists.
9524
9525         * lyxfunc.C (verboseDispatch): fix handling of arguments
9526
9527         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9528
9529         * lyxrc.C: use string::erase() instead of initializing to "".
9530
9531
9532 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9533
9534         * BufferView_pimpl.h:
9535         * BufferView_pimpl.C:
9536         * WorkArea.h:
9537         * WorkArea.C:
9538         * text2.C: tell X when we have made a selection for copying
9539
9540 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9541
9542         * BufferView_pimpl.C (MenuInsertLyXFile):
9543         * lyxfunc.C (menuNew):
9544         (open):
9545         (doImport): add shortcuts to directory buttons
9546
9547         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9548         open a float)
9549
9550         * lyxfunc.C (setStatusMessage):
9551         (getStatusMessage): new methods
9552         (getStatus):use setStatusMessage instead of setErrorMessage
9553         (dispatch): when function is disabled, set error message here
9554         [instead of in getStatus previously]
9555
9556         * BufferView_pimpl.C (workAreaButtonRelease): update
9557         toolbar/menubar here too.
9558
9559 2002-01-13  Allan Rae  <rae@lyx.org>
9560
9561         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9562         Now seems indestructible.  Remaining task is to audit all other
9563         code affected by deleteEmptyParagraphMechanism.  One small quirk
9564         left is that an empty document with an error in the preamble can
9565         be made to report an error but no error box appears.  I don't know
9566         where it goes.
9567         (removeAutoInsets): Improved comments.
9568
9569 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9570
9571         * Thesaurus.h:
9572         * Thesaurus.C: update for Aiksaurus 0.14
9573
9574 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9575
9576         * text2.C (firstParagraph): removed member function, all uses
9577         replaces with ownerParagraph
9578         (redoParagraphs): here
9579         (updateInset): here
9580         (toggleAppendix): here
9581         * BufferView2.C (insertErrors): here
9582         (setCursorFromRow): here
9583
9584 2002-01-13  Allan Rae  <rae@lyx.org>
9585
9586         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9587         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9588         There is still a way to segfault this although you may have to do this
9589         multiple times: Have an InsetERT with an unknown command in it.
9590         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9591         <down-arrow>, <Enter> again, View->DVI, BANG!
9592
9593         * text2.C (setCursor):
9594         (deleteEmptyParagraphMechanism):
9595         * lyxtext.h (setCursor):
9596         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9597         Making use of the return value may help fix other bugs.
9598
9599 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9600
9601         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9602
9603         * LyXView.C (updateMenubar): call MenuBar::update here
9604         (updateToolbar): but not here
9605         (showState): do not update toolbar/menubar
9606
9607         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9608         should need to care about that.
9609
9610         * lyxfunc.C (verboseDispatch): simplify a bit
9611         (getStatus): have a version which takes a pseudoaction, and
9612         another which requires a (kb_action,string).
9613
9614         * LyXAction.C (retrieveActionArg): make it work also when action
9615         is not a pseudo-action.
9616         (getActionName): simplify a bit
9617         (helpText):
9618
9619 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9620
9621         * lyxfunc.C (verboseDispatch): new families of methods with
9622         several ways to specify a command and a bool to indicate whether
9623         the command name and shortcut should be displayed in minibuffer
9624         (eventually, we could extend that to a finer bitmask like
9625         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9626         (dispatch): the pristine dispatch command which just, well,
9627         dispatchs! Note it still sets its result to minibuffer; I'm not
9628         sure we want that.
9629
9630         * lyxfunc.h: remove setHintMessage
9631
9632         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9633
9634 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9635
9636         * BufferView_pimpl.C (specialChar): delete new inset if we have
9637         not been able to insert it.
9638
9639         * kbmap.C: revert to using int instead of kb_action, since all we
9640         are dealing with is pseudo-actions.
9641
9642         * LyXAction.C (searchActionArg): change to return int instead of
9643         kb_action, since the result is a pseudoaction.
9644
9645 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9646
9647         * buffer.C (insertErtContents): Fix (partially) the font bug.
9648
9649 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9650
9651         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9652         as the other one is broken on my machine!
9653
9654 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9655
9656         * commandtags.h:
9657         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9658
9659 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9660
9661         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9662         reflect their actual use. Provide compatibility code for older lyxrc
9663         files.
9664
9665         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9666         FL_NORMAL_STYLE.
9667         change names of popup font variables in line with the changes to lyxrc.C
9668
9669 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9670
9671         * buffer.C (asciiParagraph): avoid outputing a word twice after
9672         an inset.
9673
9674         * lyxrc.C (getDescription): document that document_path and
9675         template_path can be empty.
9676
9677 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9678
9679         * LaTeXFeatures.C (getMacros):
9680         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9681
9682         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9683
9684         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9685         getPackages.
9686         (getPackages): rename feature "floats" to "float". Use an array to
9687         iterate over 'simple' features (i.e. just a \usepackage). Add
9688         handling of "amsmath" (renamed from "amsstyle").
9689
9690 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9691
9692         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9693         features list.
9694
9695 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9696
9697         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9698         FuncStaus::FuncStatus & FuncStaus::some_method().
9699
9700 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9701
9702         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9703         of the func_satus stuff. Edited and massaged in various ways by
9704         JMarc.
9705
9706         * lyxfunc.C (getStatus): use FuncStatus
9707
9708 2002-01-08  Juergen Vigna  <jug@sad.it>
9709
9710         * text.C (nextBreakPoint): use function Inset::isChar().
9711
9712         * paragraph.C (TeXOnePar): use function
9713         Inset::forceDefaultParagraphs.
9714
9715         * buffer.C (latexParagraphs): use function
9716         Inset::forceDefaultParagraphs.
9717
9718 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9719
9720         * lyx_gui.C (init): set the style of the menu popups to
9721         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9722
9723 2002-01-07  Juergen Vigna  <jug@sad.it>
9724
9725         * text.C (setHeightOfRow): small fix
9726         (prepareToPrint): don't look at alignment if we don't have the place
9727         for doing it.
9728
9729 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9730
9731         * box.C: New file. Move the Box methods and functions out of box.h,
9732         following Lars' suggestion.
9733
9734 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9735
9736         * box.h: #include "support/LOstream.h", needed for inlined function.
9737
9738         * lyxtextclass.C:
9739         * lyxtextclasslist.C: added some using std declarations.
9740
9741 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9742
9743         * box.h: make signed dimensions to allow insets wider than
9744           the screen (bug #162)
9745
9746         * BufferView_pimpl.C: add some insetHit debug
9747
9748 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9749
9750         * vc-backend.C: add FIXME
9751
9752 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9753
9754         * lyxfunc.C (getStatus): enable code for showing math font status
9755         in toolbar/menu.
9756
9757 2002-01-07  Juergen Vigna  <jug@sad.it>
9758
9759         * text.C (nextBreakPoint): removed debug output not needed anymore.
9760
9761 2002-01-06  Juergen Vigna  <jug@sad.it>
9762
9763         * text.C (nextBreakPoint): fixed up this function we had this bug
9764         since ever but now hopefully we break row better.
9765         (insertChar): we have to check if an inset is the next char as it
9766         could now happen that a large inset is causing a break.
9767
9768 2002-01-05  Juergen Vigna  <jug@sad.it>
9769
9770         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9771         if it doesn't like to be drawed.
9772
9773 2002-01-04  Juergen Vigna  <jug@sad.it>
9774
9775         * BufferView2.C (lockInset): forgot to set a cursor.
9776
9777         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9778
9779 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9780
9781         * FormMathsPanel.C:
9782         * FormMathsPanel.h
9783         * MathsSymbols.C:
9784         * form_maths_panel.C:
9785         * form_maths_panel.h:
9786         * form_maths_panel.fd: implemented sub- and super- buttons in math
9787         panel.
9788
9789         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9790         (or ^ space) to be used as in TeX (req'd by André).
9791
9792         * lyxfunc.C: Allow ^ and _ again to be used both as
9793         super/subscript (mathed) and as themselves (in text).
9794
9795 2002-01-03  Allan Rae  <rae@lyx.org>
9796
9797         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9798         "LyX" or the filename of the current buffer if it has one.  This is a
9799         modified form of John Levon's patch.
9800
9801         * XFormsView.C (setWindowTitle): also set icon title.
9802
9803         * LyXView.h (setWindowTitle): signature changed.
9804         * XFormsView.h (setWindowTitle): ditto.
9805
9806 2002-01-02  Juergen Vigna  <jug@sad.it>
9807
9808         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9809
9810 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9811
9812         * screen.C (topCursorVisible): introduce a temp var for
9813         text->cursor.row(), handle the case where this row is null. (kindo
9814         hachish)
9815
9816         * text2.C (setCursor): add a couple of asserts.
9817
9818         * paragraph.h (inset_iterator): add -> operator
9819
9820         * paragraph.[Ch] (autoDeleteInsets): remove member function
9821
9822         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9823         cursor pos correctly and handle inset deletion by itself.
9824         (insertErrors): move iterator declaration out of for expression
9825
9826         * lyxtextclass.C: add <algorithm>
9827
9828         * Makefile.am: added the new files to sources, removed layout.C
9829
9830         * layout.C: removed file
9831
9832         * layout.h: remove LYX_DUMMY_LAYOUT
9833
9834         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9835         layout.
9836
9837         * lyxlayout.[Ch]:
9838         * lyxtextclass.[Ch]:
9839         * lyxtextclasslist.[Ch]: new files
9840
9841         * include order changes to a lot of files, also changes because of
9842         the six new files.
9843
9844 2001-12-27  Juergen Vigna  <jug@sad.it>
9845
9846         * buffer.C (asciiParagraph): more fixes.
9847
9848         * tabular.C (ascii): make ascii export support export of only the
9849         data separated by a column-delimiter.
9850         (ascii): better support for ascii export.
9851
9852         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9853
9854 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9855
9856         * tabular_funcs.C: use a "using std::getline" instead of the
9857         previous fix from Angus (necessary for cxx + lyxstring)
9858
9859 2001-12-24  Juergen Vigna  <jug@sad.it>
9860
9861         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9862
9863         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9864         problems. First check a minipage also if we have some ert-contents
9865         (not only on par->size(), second set the right depth of the paragraph
9866         on the relink to the root-paragraph-list!
9867
9868         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9869         which then did not anymore update the main paragraphs on undo/redo!
9870
9871 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9872
9873         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9874         code. Support all font-changing funcs (even those which are not in
9875         menu currently). Support for reporting font settings in
9876         mathed (disabled until Andre provides a function on mathed's side).
9877
9878         * func_status.h (toggle): small helper function to set toggle
9879         state on a flag.
9880
9881 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9882
9883         * tabular_funcs.C: getline -> std::getline
9884
9885 2001-12-21  Juergen Vigna  <jug@sad.it>
9886
9887         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9888         accessed and could be 0 (I couldn't generate this but it seems
9889         Michael could!).
9890
9891 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9892
9893         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9894         * tabular_funcs.h: here and include iosfwd
9895
9896 2001-12-20  Juergen Vigna  <jug@sad.it>
9897
9898         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9899         inside inset but undo_par was.
9900
9901 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9902
9903         * Thesaurus.C: always include <config.h> in sources.
9904
9905         * Painter.h:
9906         * lyxlookup.h:
9907         * box.h: do not include <config.h> in header files
9908
9909         * text.C (paintLastRow): remove unused variable
9910
9911         * text.C (transformChar):
9912         (insertChar):
9913         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9914
9915         * Painter.C (text):
9916         * font.C (width): rewrite to use uppercase() instead of
9917         islower/toupper.
9918
9919         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9920
9921 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9922
9923         * lyxfind.C: clean up of find failure position change
9924
9925 2001-12-20  Juergen Vigna  <jug@sad.it>
9926
9927         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9928
9929         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9930         (TeXRow): added to LaTeX a single tabular row.
9931         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9932         (Latex): simplified and finally good LT-h/f support.
9933         (various_functions): just small adaptions for LT-h/f support.
9934
9935         * tabular_funcs.[hC]: added and moved here all not classfunctions
9936         of LyXTabular.
9937
9938 2001-12-19  Juergen Vigna  <jug@sad.it>
9939
9940         * tabular.[Ch]: better support for longtabular options (not finished
9941         yet!)
9942
9943 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9944
9945         * text.C (paintLastRow): use the label font instead of the font of
9946         the last character to compute the size of *_BOX. This makes more
9947         sense and avoids a crash with empty paragraphs.
9948         Use Painter::rectangle to draw EMPTY_BOX.
9949
9950 2001-12-19  Juergen Vigna  <jug@sad.it>
9951
9952         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9953         the paragraphs if the replaced paragraph is not the first one!
9954         Tried to delete not used paragraphs but does not work yet so for
9955         now it's inside #ifdef's and by default off!
9956
9957 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9958
9959         * MenuBackend.C: include "lyx_main.h" instead of declaring
9960         lastfiles (actually was declared as LastFiles* instead of a
9961         scoped_ptr).
9962
9963 2001-12-17  Juergen Vigna  <jug@sad.it>
9964
9965         * tabular.C (AppendColumn): applied John's fix
9966
9967 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9968
9969         * BufferView.h:
9970         * BufferView.C:
9971         * BufferView_pimpl.h:
9972         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9973
9974         * Makefile.am:
9975         * box.h: new start of class for above
9976
9977         * lyxfunc.C: ignore space-only minibuffer dispatches.
9978           Show the command name when it doesn't exist
9979
9980         * minibuffer.C: don't add empty lines to the history
9981
9982         * minibuffer.C: add a space on dropdown completion
9983
9984 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9985
9986         * text.C: fix line above/below drawing in insets
9987
9988 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9989
9990         * lyxlength.C (LyXLength): Initialize private variables.
9991
9992 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9993
9994         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9995         when inserting error insets.
9996
9997 2001-12-13  Juergen Vigna  <jug@sad.it>
9998
9999         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10000         actually sometimes the before-paragraph.
10001         (setUndo): don't clear the redostack if we're not actually undoing!
10002
10003 2001-12-06  Juergen Vigna  <jug@sad.it>
10004
10005         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10006         and fixed redoing of main paragraph, so we can use it now ;)
10007
10008         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10009
10010 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10011
10012         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10013         Juergen's request
10014
10015 2001-12-13  André Pönitz <poenitz@gmx.net>
10016
10017         * undostack.[Ch]:
10018         * undo_func.C: minor cleanup
10019
10020 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10021
10022         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10023         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10024         font in urw-fonts package which is marked as -urw-fontspecific and
10025         does not work (incidentally, changing the encoding in the
10026         fonts.dir of this package to -adobe-fontspecific fixes the
10027         problem).
10028
10029         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10030         is a crash when undoing first paragraph (Juergen, please take a
10031         look). THis does not mean the undo fix is wrong, just that it
10032         uncovers problems.
10033
10034         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10035         the (Paragraph*) version when needed instead of duplicating the
10036         code.
10037
10038         * text.C (workWidth): use Inset::parOwner to find out where the
10039         inset has been inserted. This is a huge performance gain for large
10040         documents with lots of insets. If Inset::parOwner is not set, fall
10041         back on the brute force method
10042
10043         * paragraph_pimpl.C (insertInset):
10044         * paragraph.C (Paragraph):
10045         (cutIntoMinibuffer): set parOwner of insets when
10046         inserting/removing them
10047
10048         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10049
10050 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10051
10052         * commandtags.h:
10053         * LyXAction.C:
10054         * lyx_main.C:
10055         * lyxfunc.C:
10056         * mathed/formulabase.C:
10057         * mathed/math_cursor.[Ch]:
10058         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10059
10060
10061 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10062
10063         * lyxlength.[Ch] (operator!=): new function
10064
10065 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10066
10067         * text.C (workWidth): use Inset::parOwner to find out where the
10068         inset has been inserted. This is a huge performance gain for large
10069         documents with lots of insets. If Inset::parOwner is not set, fall
10070         back on the brute force method
10071
10072         * paragraph_pimpl.C (insertInset):
10073         * paragraph.C (Paragraph):
10074         (cutIntoMinibuffer): set parOwner of insets when
10075         inserting/removing them
10076
10077         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10078
10079 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10080
10081         * tabular-old.C (getTokenValue):
10082         * tabular.C (getTokenValue):
10083         (write_attribute): new versions for LyXLength
10084         (everywhere): adjust the use of widths
10085
10086         * tabular.h: change the type of widths from string to LyXLength
10087
10088 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10089
10090         * paragraph.C: fixed missing line number count when exporting
10091         Environments to LaTeX file
10092
10093         * buffer.C: added informational message for checking line numbers.
10094
10095 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10096
10097         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10098         paragraph, do the 'double space' part, but not the 'empty
10099         paragraph' one.
10100
10101         * text.C (workWidth): small optimization
10102         (getLengthMarkerHeight): use minimal size for negative lengths.
10103
10104 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10105
10106         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10107
10108         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10109
10110 2001-12-11  André Pönitz <poenitz@gmx.net>
10111
10112         * FontLoader.C:
10113         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10114
10115 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10116
10117         * text2.C: keep selection on a setFont()
10118
10119 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10120
10121         * lyx_cb.C: another bv->text misuse, from insert label
10122
10123 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10124
10125         * kbsequence.h:
10126         * kbsequence.C: re-instate nmodifier mask
10127
10128 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10129
10130         * lyx_main.h: make lyxGUI private.
10131
10132 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10133
10134         * lyxfind.C: place the cursor correctly on failed search
10135
10136 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10137
10138         * text.C (getLengthMarkerHeight): for small heights, the arrows
10139         are not always on top/bottom of the text
10140         (drawLengthMarker): smaller arrows; take the left margin in
10141         account; draw also vfills.
10142         (paintFirstRow):
10143         (paintLastRow): remove special code for vfill and standard spaces,
10144         since everything is handled in drawLengthMarker now.
10145
10146 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10147
10148         * buffer.C (insertErtContents): try to handle font and language
10149         interaction a bit better.g
10150
10151         * ColorHandler.C (updateColor): change the hash to cover the whole
10152         LColor enum, ws cleanup
10153         (getGCLinepars): ditto
10154         (getGCLinepars): only lookup in the linecache once.
10155
10156 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10157
10158         * iterators.C (operator++): Make the iterator more robust
10159
10160         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10161         (John's patch)
10162         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10163
10164 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10165
10166         * lyxtext.h:
10167         * text.C: better added space drawing
10168
10169 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10170
10171         * LyXView.C:
10172         * BufferView2.C: fix layout combo update on inset unlock
10173
10174 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10175
10176         * Makefile.am: don't compile unused files
10177
10178 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10179
10180         * lyxfunc.C:
10181         * commandtags.h:
10182         * LyXAction.C: remove old LFUN_LAYOUTNO
10183
10184 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10185
10186         * paragraph_pimpl.h:
10187         * paragraph_pimpl.C: isTextAt() doesn't need font param
10188
10189 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10190
10191         * lyxlex.h:
10192         * lyxlex.C: little cleanup
10193
10194 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10195
10196         * BufferView_pimpl.C: fix insertAscii for insets
10197
10198 2001-12-05  Juergen Vigna  <jug@sad.it>
10199
10200         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10201         set the right font on the "multi" paragraph paste!
10202
10203 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10204
10205         * trans_decl.h:
10206         * trans_mgr.[Ch]:
10207         * trans.[Ch]:
10208         * lyxgluelength.C:
10209         * lyxlength.C: remove out-commented code.
10210
10211         * BufferView_pimpl:
10212         * CutAndPaste.C:
10213         * DepTable.C:
10214         * buffer.C:
10215         * chset.C:
10216         * lastfiles.C:
10217         * lyxlex.C:
10218         * lyxlex_pimpl.C:
10219         * lyxserver.C:
10220         * screen.C:
10221         * tabular-old.C:
10222         * tabular.C:
10223         * text.C:
10224         * trans_mgr.C:
10225         * vc-backend.C: change "while(" to "while ("
10226
10227         * lyxlength.[Ch]: add zero function to check if length is zero or
10228         not
10229         * lyxgluelength.C: use it
10230
10231 2001-12-05  Allan Rae  <rae@lyx.org>
10232
10233         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10234         Works for 2.95.3, from what I understand of Garst's reports this should
10235         work for other g++ versions.  We're screwed if the abs(int) definition
10236         changed between bugfix releases of gcc.
10237
10238 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10239
10240         * text.C: fix chapter label offset !
10241
10242 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10243
10244         * lyxtext.h:
10245         * text.C: fix hfill at end of line, clean up
10246
10247 2001-12-04  Juergen Vigna  <jug@sad.it>
10248
10249         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10250         that we force an update of the inset and it's owners if neccessary.
10251
10252 2001-12-03  Juergen Vigna  <jug@sad.it>
10253
10254         * text.C (rowLast): simplified code
10255
10256 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10257
10258         * lyxfunc.C: fix show options on timeout
10259
10260 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10261
10262         * screen.C (topCursorVisible): scroll half a page when the cursor
10263         reached top of bottom of screen
10264
10265 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10266
10267         * minibuffer.C: deactivate on loss of focus
10268
10269 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10270
10271         * vspace.[Ch] (operator!=): add operator.
10272
10273 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10274
10275         * BufferView_pimpl.C: refuse to open an inset when
10276         there's a selection.
10277
10278 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10279
10280         * BufferView_pimpl.C: allow to click on RHS of full row insets
10281
10282 2001-11-30  Juergen Vigna  <jug@sad.it>
10283
10284         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10285         insets for undo reasons.
10286
10287 2001-11-28  André Pönitz <poenitz@gmx.net>
10288
10289         * vspace.[Ch]: cosmetical changes
10290
10291 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10292
10293         * LyXAction.h:
10294         * LyXAction.C:
10295         * lyxfunc.h:
10296         * lyxfunc.C:
10297         * kbmap.h:
10298         * kbmap.C:
10299         * lyxrc.C:
10300         * kbsequence.h:
10301         * kbsequence.C: part re-write of old kb code
10302
10303         * Painter.C:
10304         * WorkArea.C: remove Lgb_bug_find_hack
10305
10306 2001-11-30  José Matos <jamatos@fep.up.pt>
10307
10308         * buffer.C (makeDocBookFile): add a comment to point a hack.
10309         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10310         Fixed a double write of labels.
10311
10312 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10313
10314         * LaTeX.C:
10315         * LaTeX.h Fixed bug in LaTeX class where it would not
10316         re-run latex if no depfiles were changed, but the .dvi was removed.
10317
10318 2001-11-28  André Pönitz <poenitz@gmx.net>
10319
10320         * all the files from the change on 2001/11/26:
10321         use lyx::layout_type instead of LyXTextClass::size_type
10322         use lyx::textclass_type instead of LyXTextClassList::size_type
10323
10324 2001-11-29  Juergen Vigna  <jug@sad.it>
10325
10326         * text.C: added support for paragraph::isFreeSpacing()
10327
10328         * buffer.C: same as above
10329
10330         * paragraph.h: inserted isFreeSpacing() function to enable
10331         FreeSpacing inside InsetERT.
10332
10333         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10334         of the paragraph's in the cut/copy buffer to 0!
10335
10336         * text2.C (removeRow): remove the assert as it can!
10337
10338         * lyxtext.h: added helper function firstRow returning firstrow and
10339         made firstrow private again.
10340
10341         * BufferView2.C (lockInset): don't relock if we're already locked!
10342
10343         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10344         the only paragraph.
10345         (removeRow): added Assert::(firstrow)
10346
10347         * debug.C: forgot to add INSETTEXT here.
10348
10349 2001-11-28  Juergen Vigna  <jug@sad.it>
10350
10351         * sp_spell.C (initialize): changed error text to more general
10352         spellchecker command use (not only ispell!)
10353
10354         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10355
10356         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10357
10358 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10359
10360         * vspace.C: initialise lyxgluelength on failure
10361
10362 2001-11-28  Allan Rae  <rae@lyx.org>
10363
10364         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10365         declaration & definition that looks like a function declaration.
10366
10367 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10368
10369         * BufferView2.C (copy):
10370         (copyEnvironment): do not clear the selection when doing a copy.
10371
10372         * text.C (paintFirstRow): compilation fix
10373
10374 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10375
10376         * tabular.C (Latex): correct line count when writing latex.
10377
10378 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10379
10380         * paragraph_pimpl.h:
10381         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10382           bug a bit
10383
10384 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10385
10386         * text.C:
10387         * LColor.h:
10388         * LColor.C: change vfillline->added_space
10389
10390         * text.C: add markers and text for added space
10391
10392         * vspace.C: fix comment
10393
10394 2001-11-28  André Pönitz <poenitz@gmx.net>
10395
10396         * paragraph.C: whitespace changes
10397         * all the other files from the change on 2001/11/26:
10398         change *::pos_type into lyx::pos_type
10399
10400 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10401
10402         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10403         language of the document when inserting error insets.
10404
10405 2001-11-26  André Pönitz <poenitz@gmx.net>
10406
10407         * BufferView_pimpl.[Ch]:
10408         *       CutAndPaste.C:
10409         * buffer.[Ch]:
10410         * lyxcursor.[Ch]:
10411         * lyxfind.C:
10412         * lyxfunc.C:
10413         * lyxrow.[Ch]:
10414         * paragraph.[Ch]:
10415         * paragraph_pimpl.[Ch]:
10416         * sp_spell.C:
10417         * text.C:
10418         * text2.C: reduce header dependencies, introduce type for positions
10419
10420 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10421
10422         * <various>: change to use Alert.h
10423
10424 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10425
10426         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10427         when encountering an unknown token.
10428         (readLyXformat2): Show an error message if there were unknown tokens.
10429
10430 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10431
10432         * BufferView2.C:
10433         * BufferView_pimpl.C:
10434         * buffer.C:
10435         * paragraph.h:
10436         * text.C:
10437         * text2.C: use par->isInset()
10438
10439 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10440
10441         * paragraph_pimpl.h:
10442         * paragraph_pimpl.C: cleanup
10443
10444 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10445
10446         * text2.C (removeRow):
10447         * text.C (setHeightOfRow): remove useless (and costly) call to
10448         getRow.
10449
10450 2001-11-20  Allan Rae  <rae@lyx.org>
10451
10452         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10453         Now need Inset*::checkInsertChar() to return true for appropriate
10454         cases so that the characters in the minibuffer will actually be
10455         inserted.
10456
10457 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10458
10459         * text.C: change the order of the includes.
10460         (workWidth): initialize it at once.
10461         (workWidth): make maxw unsigned
10462         (setHeightOfRow): remove unused variable (inset)
10463         (selectSelectedWord): remove unused variable (inset)
10464         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10465
10466 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10467
10468         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10469         server is not running.
10470         (openConnection):
10471         (closeConnection): add debug info when server is disabled.
10472
10473         * ColorHandler.C (getGCForeground): send debug message to GUI
10474         channel.
10475
10476         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10477
10478         * kbmap.C (bind): modify because return conventions of
10479         kb_sequence::parse have changed.
10480
10481         * kbsequence.C (parse): only ignore spaces and not any stupid
10482         control character. This avoids tests like s[i] <= ' ', which are
10483         guaranteed to fail with 8bit characters and signed chars.
10484         Change return code to string::npos when there have been no error
10485         (0 was a bad idea when error is at first character)
10486
10487 2001-11-14  José Matos  <jamatos@fep.up.pt>
10488
10489         * buffer.h:
10490         * buffer.C (simpleDocBookOnePar): removed unused argument.
10491
10492 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10493
10494         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10495         insets which are part of a word. Paragraph::isLetter takes care of
10496         that now. Use Paragraph::isInset to identify insets.
10497         (selectSelectedWord): do not test for hyphenation break.
10498
10499         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10500         that protected spaces are considered as spaces.
10501
10502         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10503         Inset::isLetter.
10504
10505 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10506
10507         * lyxserver.h:
10508         * lyxserver.C: fix it. and small cleanup.
10509
10510 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10511
10512         * BufferView_pimpl.C: use inline helpers
10513
10514         * LaTeXFeatures.h:
10515         * LaTeXFeatures.C: fix typos
10516
10517         * Spacing.h:
10518         * Spacing.C: move spacing_string into class
10519
10520         * ToolbarDefaults.C: move stuff into namespace anon
10521
10522         * layout.h: update enum
10523
10524         * lyxfunc.C: use better debug
10525
10526         * minibuffer.h: fix typo
10527
10528         * debug.h:
10529         * debug.C:
10530         * WorkArea.C: add and use Debug::WORKAREA
10531
10532         * lyxtext.h:
10533         * text.C:
10534         * text2.C: code re-organisation, inline helpers
10535
10536 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10537
10538         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10539         std::vector.empty().
10540
10541 2001-11-09  Allan Rae  <rae@lyx.org>
10542
10543         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10544         '\n's after tables.  Tabular and ERT inset work now makes this no
10545         longer necessary.
10546
10547 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10548
10549         * minibuffer.h:
10550         * minibuffer.C: fix crash, improve drop-down completion
10551
10552 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10553
10554         * lyxserver.h:
10555         * lyxserver.C: invalidate fd's when doing endPipe()
10556
10557 2001-11-08  José Matos  <jamatos@fep.up.pt>
10558
10559         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10560         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10561
10562         * paragraph.h:
10563         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10564
10565 2001-11-07  José Matos  <jamatos@fep.up.pt>
10566
10567         * buffer.h:
10568         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10569         const qualifier.
10570
10571         * buffer.C (sgmlOpenTag):
10572         * buffer.C (sgmlCloseTag): removed debug info.
10573
10574         * buffer.h (sgmlOpenTag):
10575         * buffer.h (sgmlCloseTag): made public.
10576
10577 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10578
10579         * buffer.C (saveParamsAsDefaults):
10580         * lyx_cb.C (MenuLayoutSave): remove
10581
10582         * LyXAction.C (init):
10583         * commandtags.h:
10584         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10585
10586 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10587
10588         * buffer.C (setPaperStuff): removed from here...
10589
10590         * bufferparams.C (setPaperStuff): ... and moved there.
10591
10592 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10593
10594         * minibuffer.h:
10595         * minibuffer.C:
10596         * XFormsView.C: add support for drop-down completion
10597
10598 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10599
10600         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10601         commands.
10602
10603 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10604
10605         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10606         disabled.
10607
10608 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10609
10610         * lyx_main.C: change ref to known bugs
10611
10612 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10613
10614         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10615         to work around older babel problems.
10616
10617 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10618
10619         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10620
10621 2001-10-24  Juergen Vigna  <jug@sad.it>
10622
10623         * tabular-old.C (ReadOld): below variable changes reflected.
10624
10625         * tabular.[Ch]: added ltType struct for longtable header/footer
10626         defines and changed all instances where they are used. Added
10627         future support for double top/bottom rows.
10628
10629 2001-10-24  José Matos  <jamatos@fep.up.pt>
10630
10631         * buffer.h (docbookHandleCaption):
10632         * buffer.C (docbookHandleCaption): removed unused function.
10633         (makeDocBookFile): moved docbook supported version to v4.1.
10634
10635 2001-10-24  José Matos  <jamatos@fep.up.pt>
10636
10637         * tabular.h:
10638         * tabular.C (docbookRow): new function to export docbook code of a row.
10639         (DocBook): now honors the longtable flags.
10640
10641 2001-10-23  José Matos  <jamatos@fep.up.pt>
10642
10643         * LaTeXFeatures.h:
10644         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10645         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10646
10647         * buffer.C (makeLinuxDocFile):
10648         (makeDocBookFile): reworked the preamble, more clean, and with
10649         support for lyx defined entities. Changed the document declaration
10650         to be more XML friendly.
10651
10652         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10653         if we need to output XML that should be done with a filter.
10654
10655 2001-10-22  Juergen Vigna  <jug@sad.it>
10656
10657         * sp_pspell.h (class PSpell): add alive function needed in the
10658         controller to see if the spellchecker could be started.
10659
10660 2001-10-22  Juergen Vigna  <jug@sad.it>
10661
10662         * buffer.C (insertStringAsLines): modify the font for inserting
10663         chars in certain conditions by calling checkInsertChar(font).
10664
10665 2001-10-19  Juergen Vigna  <jug@sad.it>
10666
10667         * text.C (workWidth): use getRow instead of wrong algorithm.
10668         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10669
10670 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10671
10672         * lyxserver.h:
10673         * lyxserver.C:
10674         * lyx_main.h:
10675         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10676
10677 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10678
10679         * text.C (workWidth): do not search for the exact row when
10680         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10681         optimization for big documents.
10682
10683 2001-10-18  Juergen Vigna  <jug@sad.it>
10684
10685         * text.C (workWidth): new function with added Inset * parameter.
10686
10687 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10688
10689         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10690
10691         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10692         change return type of getColumnNearX.
10693
10694
10695         * text.C (changeRegionCase): use uppercase/lowercase instead of
10696         toupper/tolower.
10697         (leftMargin):
10698         (rightMargin): simplify code by factoring out the uses of
10699         textclasslist.
10700         (labelFill):
10701         (numberOfHfills):
10702         (setHeightOfRow):
10703         (appendParagraph): use Paragraph::size_type
10704
10705 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10706
10707         * vspace.C (asLatexString): add a missing break
10708
10709 2001-10-15  Herbert Voss  <voss@perce.de>
10710
10711         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10712
10713 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10714
10715         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10716         is not available.
10717
10718 2001-10-10  André Pönitz <poenitz@gmx.net>
10719
10720         * lyxfunc.C: removed greek_kb_flag.
10721
10722 2001-10-10  Herbert Voss  <voss@perce.de>
10723
10724         * lyx_main.C: delete global string help_lyxdir.
10725
10726 2001-10-09  Herbert Voss  <voss@perce.de>
10727
10728         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10729
10730         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10731
10732         * lyx_main.C: added global string help_lyxdir.
10733
10734         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10735
10736 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10737
10738         * lyxrc.C (set_font_norm_type): support iso8859-4
10739
10740 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10741
10742         * LaTeX.C (deplog): add another regex for MikTeX
10743
10744 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10745
10746         * lyxrc.C (set_font_norm_type): support iso8859-3
10747
10748 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10749
10750         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10751
10752         * LaTeXFeatures.C: remove special case of french and index
10753
10754         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10755         before \begin{document}). This solves several incompatibilities.
10756
10757 2001-10-03  Garst Reese  <reese@isn.net>
10758
10759         * lyx_cb.C: change CheckTex error msg.
10760
10761 2001-10-03  José Matos  <jamatos@fep.up.pt>
10762
10763         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10764
10765 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10766
10767         * .cvsignore: update
10768
10769         * lyx_main.C (commandLineVersionInfo): use new style version info.
10770
10771         * buffer.C (writeFile):
10772         (makeLaTeXFile):
10773         (makeLinuxDocFile):
10774         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10775
10776         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10777
10778         * version.h: update to use stuff in version.C
10779
10780         * version.C.in: new file. Contains version information determined
10781         at compile time. This is a merging of version.h and
10782         version_info.h.in.
10783
10784 2001-10-03  Juergen Vigna  <jug@sad.it>
10785
10786         * BufferView_pimpl.C (update): don't change "dirty" status in
10787         updateInset call.
10788
10789 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10790
10791         * WorkArea.C (c-tor): re-position version string slightly.
10792
10793 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10794
10795         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10796         revert to previous code.
10797
10798         WorkArea.[Ch]: (show, destroySplash): methods removed.
10799
10800         WorkArea.C: rework code so that it's an amalgam of the codes before and
10801         after the splash screen was moved to WorkArea.
10802
10803 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10804
10805         * lyxrc.C (read):
10806         * vspace.C (inPixels):
10807         (lyx_advance):
10808         * kbmap.C (bind):
10809         * buffer.C (insertStringAsLines):
10810         (asciiParagraph): fix types to be large enough
10811
10812         * lyxlex_pimpl.h: change member status from short to int
10813
10814         * layout.h: fix type of endlabeltype
10815
10816         * kbmap.C (bind):
10817         * kbsequence.C (parse): change return type to string::size_type
10818
10819         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10820         variable
10821
10822         * Bullet.C (bulletSize):
10823         (bulletEntry): do not use short ints as parameters
10824
10825         * BufferView2.C (insertLyXFile): change a char to an int.
10826
10827         * WorkArea.C (WorkArea): remove unneeded floats in computation
10828
10829 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10830
10831         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10832
10833         * paragraph.C (asString): Do not ignore newline/hfill chars when
10834         copying to the clipboard.
10835
10836 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10837
10838         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10839         after a multi-line inset.
10840
10841 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10842
10843         * paragraph.C (validate): Set NeedLyXFootnoteCode
10844
10845 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10846
10847         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10848         and decrease-error to decrease.
10849
10850 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10851
10852         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10853         it more readable (should be equivalent)
10854
10855 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10856
10857         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10858
10859 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10860
10861         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10862         of a cursor (row, etc.) after a character has been deleted
10863         (deleteEmptyParagraphMechanism): call the method above on _all_
10864         cursors held by the LyXText when a double space has been
10865         detected/deleted.
10866
10867 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10868
10869         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10870         pixmap.
10871         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10872
10873         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10874         background. Use greyOut() and the new show() methods to toggle between
10875         the foreground and background. Add code to remove the splash after
10876         its initial showing.
10877
10878         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10879         (create_forms): no longer call Dialogs::showSplash.
10880
10881 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10882
10883         * .cvsignore: add version_info.h
10884
10885 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10886
10887         * version_info.h.in: new file
10888
10889         * Makefile.am: add version_info.h.in
10890
10891         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10892         version_info.h instead of VERSION_INFO
10893
10894 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10895
10896         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10897         The ERT inset now returns string().
10898
10899 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10900
10901         * lyxtext.h, text.C (selectNextWord): renamed as
10902         selectNextWordToSpellcheck.
10903
10904         * text.C (selectNextWordToSpellcheck): Modified to not select
10905         words inside an ERT inset.
10906
10907 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10908
10909         * lyx_cb.C (MenuLayoutSave): change a bit the question
10910
10911         * sp_base.h: include <sys/types.h>
10912
10913 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10914
10915         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10916
10917 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10918
10919         * several files: fix typos in user-visible strings
10920
10921 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10922
10923         * text2.C (pasteSelection): do not set the selection, since it
10924         will be cleared later. Actually, the intent was to fix the way the
10925         selection was set, but I figured rmoving the code was just as good.
10926
10927 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10928
10929         * FontLoader.C (available): Check if font is available without
10930         loading the font.
10931
10932 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10933
10934         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10935
10936 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10937
10938         * lyxrc.[Ch]: added display_graphics variable and associated code.
10939
10940 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10941
10942         * bufferparams.C (hasClassDefaults): new method. Returns true if
10943         the buffer parameters correspond to known class defaults
10944
10945 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10946
10947         * XFormsView.C (show): set minimum size to the main window.
10948
10949 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10950
10951         * text2.C (copySelection):
10952         (cutSelection):
10953         * lyxfind.C (LyXReplace):
10954         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10955         LyXText::selectionAsString.
10956
10957         * paragraph.C (asString): add "label" argument to the second form
10958
10959         * text2.C (selectionAsString): add "label" argument and pass it to
10960         Paragraph::asString.
10961
10962 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10963
10964         * lyx_main.C (commandLineHelp): remove version information
10965
10966 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10967
10968         * lyx_main.C: add -version commandline option
10969
10970 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10971
10972         * paragraph.h: make the optional constructor arg required instead.
10973         some modifications to other files because of this.
10974
10975         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10976
10977         * lyxserver.C (C_LyXComm_callback): make it static
10978
10979         * lyx_main.C (error_handler): make it static
10980
10981         * lyx_gui.C (LyX_XErrHandler): make it static
10982
10983         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10984
10985         * WorkArea.C: make the extern "C" methods static.
10986
10987         * Makefile.am (lyx_LDADD): simplify
10988
10989 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10990
10991         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10992         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10993
10994         * LyXAction.C (init):
10995         * lyxfunc.C (dispatch): associated code removal.
10996
10997 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10998
10999         * lyxfont.h (isSymbolFont): shut off warning
11000
11001         * text.C (setHeightOfRow):
11002         (getVisibleRow): fix crash with empty paragraphs which have a
11003         bottom line
11004
11005 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11006
11007         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11008         code.
11009
11010 2001-09-04  José Matos  <jamatos@fep.up.pt>
11011         * buffer.C
11012         * buffer.h
11013         * tabular.C (docbook): rename docBook method to docbook.
11014
11015 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11016
11017         * Makefile.am: add dependencies to main.o.
11018
11019 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11020
11021         * FontLoader.C (available): Return false if !lyxrc.use_gui
11022
11023 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11024
11025         * FontInfo.C (query):
11026         * converter.C (view):
11027         * importer.C (Import):
11028         * exporter.C (Export): Can not -> cannot.
11029
11030 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11031
11032         * BufferView_pimpl.C: allow to create index inset even if
11033           string is empty
11034
11035 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11036
11037         * buffer.C (getLists): replace boost::tie code with an explicit pair
11038         as boost::tie can break some compilers.
11039
11040         * iterators.h: Added a std:: declaration to the return type of
11041         ParIterator::size.
11042
11043 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11044
11045         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11046           case.
11047
11048 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11049
11050         * iterators.[Ch]: New files. Provide paragraph iterators.
11051
11052         * buffer.C (changeLanguage): Use paragraph iterators.
11053         (isMultiLingual): ditto
11054
11055         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11056
11057 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11058
11059         * FontLoader.C: Support for cmr font.
11060
11061 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11062
11063         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11064         (available): New method.
11065
11066         * FontInfo.C (getFontname): Use scalable fonts even when
11067         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11068         found.
11069
11070 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11071
11072         * converter.C (Formats::view): reverted! Incorrect fix.
11073
11074 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11075
11076         * converter.C (Formats::view): only output the -paper option
11077         if the dvi viewer is xdvi, thereby fixing bug #233429.
11078
11079 2001-08-23  Herbert Voss  <voss@perce>
11080
11081         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11082
11083 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11084
11085         * Spacing.h (Spacing): Set space to Default on in the default
11086         constructor.
11087
11088 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11089
11090         * vc-backend.h (RCS::versionString): add RCS to version
11091         (CVS::versionString): add CVS to version
11092
11093         * vc-backend.C (scanMaster): do not add CVS to version.
11094         (scanMaster): do not add RCS to version
11095
11096         * lyxvc.C (versionString): new method
11097
11098         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11099
11100 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11101
11102         * Spacing.C (set): initialize fval
11103
11104 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11105
11106         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11107         " or \.
11108
11109 2001-08-16  Juergen Vigna  <jug@sad.it>
11110
11111         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11112
11113 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11114
11115         * BufferView_pimpl.C:
11116         * figureForm.C:
11117         * lyxtext.h:
11118         * text2.C: setParagraph takes linespacing now
11119
11120 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11121
11122         * LyxAction.C: add internal LFUN_CITATION_INSERT
11123
11124         * LyXView.C: actually apply fix
11125
11126         * bufferlist.C: fix open non-existent file
11127
11128         * lyxfind.C: fix indentation
11129
11130         * lyxfunc.C: remove unneeded assert, fix typo
11131
11132 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11133
11134         * MenuBackend.C: use "Floatname List"
11135
11136 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11137
11138         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11139         when converting LaTeX layout to insetERT.
11140         Generate a non-collapsed float when reading old float
11141
11142 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11143
11144         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11145         ERT insets.
11146
11147 2001-08-13  Juergen Vigna  <jug@sad.it>
11148
11149         * text.C (fill): return 0 instead of 20 as this seems to be the more
11150         correct value.
11151
11152 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11153
11154         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11155         lyxrc.font_norm.
11156
11157 2001-08-13  Juergen Vigna  <jug@sad.it>
11158
11159         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11160         casesensitive off.
11161         (SearchBackward): comment out the unlocking of the inset_owner this
11162         should not be needed!
11163
11164 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11165
11166         * Many files: Remove inherit_language, and add latex_language
11167
11168         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11169         collapsible insets.
11170
11171 2001-08-10  Juergen Vigna  <jug@sad.it>
11172
11173         * text.C (prepareToPrint): fixed hfill-width in draw!
11174
11175         * BufferView2.C (selectLastWord): save the selection cursor as this
11176         now is cleared in the function LyXText::clearSelection!
11177
11178 2001-08-08  Juergen Vigna  <jug@sad.it>
11179
11180         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11181         BACKSPACE type functions.
11182
11183         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11184         is only cutted from the document but not put in the cut-buffer, where
11185         still the old stuff should be.
11186
11187         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11188
11189         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11190
11191         * tabular.C (SetWidthOfCell): fixed special case where the width
11192         was not updated!
11193         (LeftLine): handle '|' in align_special.
11194         (RightLine): ditto
11195         (LeftAlreadyDrawed): ditto
11196         (SetWidthOfCell): ditto
11197
11198 2001-08-07  Juergen Vigna  <jug@sad.it>
11199
11200         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11201
11202 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11203
11204         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11205         * lyxlex.[hC]: ditto
11206
11207 2001-08-06  Juergen Vigna  <jug@sad.it>
11208
11209         * text.C (getVisibleRow): fix up row clearing a bit.
11210
11211 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11212
11213         * minibuffer.C: make sure the X server sees the changes in the input.
11214
11215 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11216
11217         * paragraph.C (getFont): split into...
11218         (getLabelFont): this
11219         (getLayoutFont): and this
11220         * paragraph_pimpl.C (realizeFont): calling this
11221
11222         * text2.C (getFont): split into...
11223         (getLayoutFont): this
11224         (getLabelFont): and this
11225         (realizeFont): all three calling this
11226
11227         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11228         files where used.
11229
11230 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11231
11232         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11233
11234 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11235
11236         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11237         layouts from the Quote inset insertion.
11238
11239 2001-08-03  Juergen Vigna  <jug@sad.it>
11240
11241         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11242
11243         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11244         only if status not is already CHANGED_IN_DRAW (second level).
11245
11246         * text.C (draw): don't set the need_break_row when inside an
11247         InsetText LyXText.
11248
11249 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11250
11251         * buffer.C (parseSingleLyXformat2Token): handle more latex
11252         conversion cases.
11253
11254         * bufferview_funcs.[hC]: change function names to
11255         begin with small char, adjust other files.
11256
11257 2001-08-02  André Pönitz <poenitz@gmx.net>
11258
11259         * lyxfunc.C:
11260         BufferView_pimpl.C: remove broken special code for math-greek
11261
11262 2001-08-02  Juergen Vigna  <jug@sad.it>
11263
11264         * BufferView_pimpl.C (update): redone this function so that we
11265         update the text again if there was a CHANGE_IN_DRAW.
11266
11267         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11268         (drawFromTo): added a new internal bool which is used by draw() and
11269         redraw() function.
11270         (general): some cursor drawing problems fixed.
11271
11272 2001-08-01  Juergen Vigna  <jug@sad.it>
11273
11274         * lyxfind.C (LyXFind): fixed
11275         (SearchForward): ditto
11276         (SearchBackward): ditto
11277
11278         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11279         spurius drawing of the cursor in the main area.
11280
11281         * text2.C (status): small fix which could lead to a segfault!
11282         (clearSelection): remove unneeded BufferView param.
11283
11284 2001-08-01  André Pönitz <poenitz@gmx.net>
11285
11286         * lyxfunc.C: small change due to changed mathed interface
11287
11288 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11289
11290         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11291
11292 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11293
11294         * lyxfunc.c: fail gracefully if file doesn't exist
11295
11296         * LyXSendto.C:
11297         * buffer.C:
11298         * lyxfunc.C:
11299         * BufferView_pimpl.C: IsDirWriteable() proto changed
11300
11301         * LyXView.C: fix updateWindowTitle() to store the last title
11302
11303 2001-07-31  Juergen Vigna  <jug@sad.it>
11304
11305         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11306         the font (wrong since using of Paragraph::highestFontInRange).
11307
11308         * paragraph.C (highestFontInRange): added a default_size parameter.
11309
11310         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11311         (setHeightOfRow): reformat
11312
11313 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11314
11315         * converter.[hC] + affected files: move to (inital-char)lowercase
11316         function names.
11317
11318         * ParagraphParameters.C (ParagraphParameters): remove commented code
11319
11320         * PainterBase.[Ch]: remove commented code
11321
11322         * LaTeXFeatures.h: add "bool floats" for float.sty
11323
11324         * LaTeXFeatures.C (LaTeXFeatures): init floats
11325         (require): handle float
11326         (getPackages): do it with floats
11327
11328 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11329
11330         * BufferView_pimpl.C (Dispatch): improve handling of
11331         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11332
11333         * commandtags.h: #include lyxfont.h here temporarily to avoid
11334         keybinding bug.
11335
11336         * bufferlist.h: include LString.h here.
11337
11338 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11339
11340         * text2.C (getStringToIndex): new method.
11341
11342 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11343
11344         * *: Reduced header file dependencies all over.
11345
11346 2001-07-30  Baruch Even  <baruch@lyx.org>
11347
11348         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11349
11350 2001-07-29  Baruch Even  <baruch@lyx.org>
11351
11352         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11353
11354 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11355
11356         * ParameterStruct.h (endif): add a default constructor to make
11357         sure that all variables is initialized.
11358
11359         * ParagraphParameters.C (ParagraphParameters): adjust
11360
11361 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11362
11363         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11364         index; also, check that there is something to index, and that it
11365         does not span over several paragraphs.
11366         (doubleClick): use WHOLE_WORD_STRICT for double click.
11367
11368         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11369
11370         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11371         scheme.
11372
11373 2001-07-26  Baruch Even  <baruch@lyx.org>
11374
11375         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11376         an InsetFig figure, backwards compatible reading of old figure code.
11377
11378 2001-07-27  Juergen Vigna  <jug@sad.it>
11379
11380         * text2.C: font.realize function adaption.
11381
11382         * text.C (draw): add a warnings lyxerr text if needed.
11383
11384         * layout.C: font.realize function adaption.
11385
11386         * language.C: add inherit_language and implement it's handlings
11387
11388         * bufferview_funcs.C (StyleReset): remove language parameter from
11389         font creation (should be language_inherit now).
11390
11391         * bufferparams.C (writeFile): handle ignore_language.
11392
11393         * paragraph.C (getFontSettings): the language has to be resolved
11394         otherwise we have problems in LyXFont!
11395
11396         * lyxfont.C (lyxWriteChanges): added document_language parameter
11397         (update): removed unneeded language parameter
11398
11399         * paragraph.C (validate): fixed wrong output of color-package when
11400         using interface colors for certain fonts in certain environments,
11401         which should not seen as that on the final output.
11402
11403 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11404
11405         * BufferView_pimpl.C:
11406         * Thesaurus.h:
11407         * Thesaurus.C:
11408         * Makefile.am:
11409         * commandtags.h:
11410         * LyXAction.C: add thesaurus support
11411
11412         * lyxfind.h:
11413         * lyxfind.C: add "once" parameter, for thesaurus, to not
11414           move to the next match
11415
11416 2001-07-26  Juergen Vigna  <jug@sad.it>
11417
11418         * lyxfont.C (realize): honor ignore_language too!
11419         (resolved): ditto.
11420
11421         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11422
11423         * text.C (draw): one place more for ignore_language to not draw
11424         itself!
11425
11426 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11427
11428         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11429
11430 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11431
11432         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11433         the minipage conversion problem.
11434
11435 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11436
11437         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11438         insert an inset.
11439
11440 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11441
11442         * BufferView.h: don't forward declare WorkArea
11443
11444         * BufferView.C: don't include WorkArea.h
11445
11446 2001-07-25  André Pönitz <poenitz@gmx.net>
11447
11448         * commandtags.h:
11449         * LyXAction.C:
11450         * lyxfunc.C:  new LFUN 'math-space'
11451
11452         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11453
11454 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11455
11456         * text2.C (toggleInset): call open/close
11457
11458 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11459
11460         * lyxfunc.C (dispatch): add debug for the disabled case
11461
11462         * font.C (buttonText): make similar to rectText
11463
11464         * buffer.C (readInset): comment out parsing of insetlist and
11465         insttheorem
11466
11467         * PainterBase.C (rectText): small correction
11468
11469         * BufferView_pimpl.C: comment out insettheorem and insetlist
11470         * LyXAction.C: ditto
11471         * commandtags.h: ditto
11472
11473 2001-07-24  Juergen Vigna  <jug@sad.it>
11474
11475         * text.C (draw): honor the ignore_language.
11476
11477         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11478
11479 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11480
11481         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11482         char inset.
11483
11484 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11485
11486         * lyxtext.h: remove unused (and unimplemented) methods
11487
11488 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11489
11490         * text.C (getVisibleRow): honor background color
11491
11492         * PainterBase.h:
11493         * Painter.h: remove default color argument for fillRectangle
11494
11495         * text.C (backgroundColor): new method
11496
11497 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11498
11499         * text.C (getVisibleRow): adjust
11500
11501         * font.[Ch] (rectText): new method, metrics
11502         (buttonText): new method, metrics
11503
11504         * PainterBase.[hC]: make rectText and buttonText always draw and take
11505         fewer paramteres.
11506
11507 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11508
11509         * ToolbarDefaults.C (read):
11510         * MenuBackend.C (read): allow escaping in all strings
11511
11512         * BufferView_pimpl.C (insertAndEditInset): new method.
11513         (Dispatch): use insertAndEditInset whenever appropriate.
11514
11515         * BufferView_pimpl.C (insertNote): removed
11516
11517         * BufferView_pimpl.C (smartQuote): new method, moved from
11518         BufferView; if an insetquote cannot be inserted, insert a '"'
11519         character instead.
11520
11521         * BufferView2.C: remove insertCorrectQuote();
11522
11523         * lyxfunc.C (getStatus): Add support for all remaingin
11524         inset-insert lfuns.
11525
11526         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11527
11528         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11529         command (necessary to pass " as parameter of self-insert.
11530
11531         * text.C (selectWordWhenUnderCursor):
11532         (selectWord): add word_location parameter
11533         (selectWordWhenUnderCursor): same + remove special code for word
11534         boundary.
11535         (selectNextWord): use kind() to guess type of insetspecialchar,
11536         not latex().
11537
11538         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11539         (insertErtContents): create ert insets as collapsed.
11540         (readInset): better compatibility code for Info inset.
11541
11542 2001-07-20  Juergen Vigna  <jug@sad.it>
11543
11544         * lyxfunc.C (dispatch): use always LyXFind now!
11545
11546         * text2.C (init): add a reinit flag so that the LyXText can be
11547         reinited instead of deleted and reallocated (used in InsetText).
11548
11549         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11550
11551         * text.C: ditto
11552
11553         * text2.C: ditto
11554
11555 2001-07-18  Juergen Vigna  <jug@sad.it>
11556
11557         * text.C (selectNextWord): handle insets inside inset by calling
11558         always the bv->text functions so that we can go up the_locking_inset!
11559
11560         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11561         in strange locations when inside an inset!
11562
11563         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11564         handling to include insets.
11565
11566         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11567
11568 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11569
11570         * LyXAction.C (init):
11571         * commandtags.h:
11572         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11573         LIGATURE_BREAK, since the name is so stupid.
11574
11575 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11576
11577         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11578         InsetInfos.
11579
11580         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11581
11582         * sp_form.[Ch]: remove.
11583
11584         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11585
11586         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11587         InsetInfo.
11588
11589         * src/buffer.C (readInset): ditto.
11590
11591 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11592
11593         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11594         menuSeparator(), endOfSentenceDot(), ldots() and
11595         hyphenationPoint(), which are therefore removed.
11596         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11597
11598         * LyXAction.C (init):
11599         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11600
11601         * paragraph.C (getWord): removed.
11602
11603         * BufferView_pimpl.C (Dispatch): use last word or selection for
11604         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11605
11606         * lyx_main.C (queryUserLyXDir): do not ask before creating
11607         user_dir, except if it has been named explicitely.
11608
11609 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11610
11611         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11612         a document of zero size.
11613
11614 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11615
11616         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11617         approriately in the c-tor and in require().
11618         (getPackages): output the appropriate LaTeX for natbib support.
11619
11620         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11621         variables "use_natbib" and "use_numerical_citations" when reading the
11622         LyX file.
11623         (readInset): read the various natbib cite commands.
11624         (validate): white-space change.
11625
11626         * bufferparams.[Ch]: new variables "bool use_natbib" and
11627         "bool use_numerical_citations".
11628         (writeFile): output them in the LyX file.
11629
11630 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11631
11632         * lyxfunc.C (getStatus): add support for all the inset insertion
11633         commands.
11634
11635         * text2.C (insertInset):
11636         * paragraph.C (insetAllowed):
11637         * BufferView_pimpl.C (insertInset): update to take in account the
11638         renaming of insertInsetAllowed
11639
11640         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11641
11642         * text2.C (getInset): new method. returns inset at cursor position.
11643
11644         * BufferView_pimpl.C (Dispatch): changes because of this.
11645
11646         * LyXAction.C (init): rename open-stuff to inset-toggle.
11647
11648         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11649
11650         * text2.C (toggleInset): renamed from openStuff; use
11651         Inset::open().
11652
11653 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11654
11655         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11656
11657         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11658
11659 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11660
11661         * buffer.C (readLyXformat2): Add filename to the error dialog
11662
11663 2001-07-18  Juergen Vigna  <jug@sad.it>
11664
11665         * tabular.C (GetCellNumber): put an assert here instead of the check!
11666
11667 2001-07-17  Juergen Vigna  <jug@sad.it>
11668
11669         * BufferView_pimpl.C (toggleSelection): adapted too.
11670
11671         * text.C (selectNextWord): adapted for use with insets.
11672         (selectSelectedWord): ditto
11673
11674 2001-07-17  Juergen Vigna  <jug@sad.it>
11675
11676         * sp_spell.C (PSpell): fix initialitation order.
11677
11678 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11679
11680         * paragraph.C: spacing
11681
11682 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11683
11684         * sp_spell.C: repair language selection for pspell
11685
11686 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11687
11688         * lyxfunc.h: change more methods to begin with lower char.
11689
11690 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11691
11692         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11693         for unknown layouts.
11694
11695 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11696
11697         * buffer.C (readLyXformat2): Generate an error dialog if there are
11698         unknown layouts.
11699
11700 2001-07-16  Juergen Vigna  <jug@sad.it>
11701
11702         * sp_spell.C: always compile ISpell part.
11703
11704         * lyxrc.C: added use_pspell entry and it's handling.
11705
11706 2001-07-13  Juergen Vigna  <jug@sad.it>
11707
11708         * sp_spell.C: removed double includes.
11709
11710 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11711
11712         Consistent use of Lsstream.h:
11713         * Lsstream.h: added using std::stringstream for consistencies sake.
11714
11715         * buffer.C: removed using std::stringstream
11716
11717         * lyxfont.C (stateText):
11718         * paragraph.C (asString):
11719         * text.C (selectNextWord, selectSelectedWord):
11720         * text2.C (setCounter):
11721         * vspace.C (asString, asLatexString):
11722         std::ostringstream -> ostringstream.
11723
11724 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11725
11726         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11727         * commandtags.h: add LFUN_HELP_ABOUTLYX
11728         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11729
11730 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11731
11732         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11733         cursorToggle()
11734         * lyx_gui_misc.C: remove spellchecker
11735         * lyxfunc.C: showSpellchecker
11736         * sp_base.h: added
11737         * sp_ispell.h: added
11738         * sp_pspell.h: added
11739         * sp_spell.C: added
11740         * sp_form.[Ch]: removed
11741         * spellchecker.[Ch]: removed
11742
11743 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11744
11745         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11746         is set.
11747         (simpleTeXSpecialChars): Simply print the input character without
11748         any special translation if pass_thru is set.
11749
11750         * layout.h: Added bool pass_thru to layout class for being able to
11751         implement pass through of a paragraph for Literate Programming.
11752
11753         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11754         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11755         * layout.C (Read): add "passthru" to list of layout tags and add
11756         code to set the pass_thru boolean when it is read.
11757
11758 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11759
11760         * trans_decl.h: remove allowed from KmodInfo
11761
11762         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11763         remove allowed code
11764         (Load): adjust
11765
11766         * paragraph_pimpl.C (erase): use boost::prior
11767
11768         * Painter.C (text): use data() instead of c_str() when length is
11769         also provided.
11770         * WorkArea.C (putClipboard): ditto
11771         * font.h (width): ditto
11772
11773         * BufferView2.C: use it-> instead of (*it). for iterators
11774         * texrow.C: ditto
11775         * paragraph_pimpl.C: ditto
11776         * paragraph.C: ditto
11777         * minibuffer.C: ditto
11778         * language.C: ditto
11779         * kbmap.C: ditto
11780         * encoding.C: ditto
11781         * counters.C: ditto
11782         * converter.C: ditto
11783         * chset.C: ditto
11784         * Variables.C: ditto
11785         * TextCache.C: ditto
11786         * MenuBackend.C: ditto
11787         * LyXAction.C: ditto
11788         * LColor.C: ditto
11789         * FloatList.C: ditto
11790         * DepTable.C: ditto
11791         * ColorHandler.C (LyXColorHandler): ditto
11792
11793 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11794
11795         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11796
11797         * text2.C (openStuff): reintroduce this method (which had been
11798         nuked in NEW_INSETS frenzy).
11799
11800         * lyxfunc.C (Dispatch): when an action has not been handled, use
11801         its name in the error message, not its number.
11802
11803         * paragraph.C (inInset): change method name to begin with lowercase.
11804
11805         * undo_funcs.C:
11806         * text2.C: updates because of this.
11807
11808 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11809
11810         * ToolbarDefaults.C (add): add spaces in error message
11811
11812 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11813
11814         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11815         (readLyXformat2): rename return_par to first_par, use lyxlex's
11816         pushToken and remove the manual push handling.
11817         (parseSingleLyXformat2Token): add another ert comp. variable:
11818         in_tabular, rename return_par to first_par. handle newlines better
11819
11820 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11821
11822         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11823
11824 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11825
11826         * text2.C (getParFromID): removed
11827
11828         * buffer.C (getParFromID): new method moved form lyxtext.
11829         * BufferView2.C (insertErrors): adjust
11830         (setCursorFromRow): adjust
11831         * BufferView_pimpl.C (restorePosition): adjust
11832         * lyxfunc.C (Dispatch): adjust
11833         * undo_funcs.C (textUndo): adjust
11834         (textRedo): adjust
11835         (textHandleUndo): adjust
11836         (textHandleUndo): adjust
11837
11838 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11839
11840         * buffer.C: up' the LYX_FORMAT
11841
11842         * lyxfont.h: turn NO_LATEX on as default
11843
11844         * buffer.C (insertErtContents): new methods of tex style compability.
11845         (parseSingleLyXformat2Token): use it several places.
11846         * tabular.C (OldFormatRead): and here
11847
11848 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11849
11850         * text2.C: remove some commented code.
11851         reindent file.
11852
11853         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11854         * trans.C: changes because of the above.
11855
11856 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11857
11858         * text2.C (setCounter): Fix counters bug with bibliography layout.
11859
11860 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11861
11862         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11863         own member functions
11864         (simpleTeXSpecialChars): ditto
11865
11866 2001-07-06  Juergen Vigna  <jug@sad.it>
11867
11868         * a lot of files: changed the access to LyXText::status and the
11869         call of undo-functions.
11870
11871         * undo.[Ch]: added a inset_id to the undo informations.
11872
11873         * undo_funcs.[Ch]: added and moved here all undo functions.
11874
11875         * lyxtext.h: give the status enum a weight, made status_ a private
11876         variable and made accessor functions for it, removed the whole bunch
11877         of undo-functions as they are now in their own file, make some
11878         functions publically available. Added function ownerParagraph with
11879         int parameter.
11880
11881         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11882         made InInset() a const function, added getParFromID() function.
11883
11884         * buffer.[Ch]: added const version for inset_iterator functions,
11885         added getInsetFromID() function.
11886
11887         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11888         changed undo functions for new version.
11889
11890 2001-07-05  Juergen Vigna  <jug@sad.it>
11891
11892         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11893         unknow mechanism does not call the proper constructor but only this
11894         one also if I request the other!?
11895
11896 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11897
11898         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11899
11900         * text2.C (LyXText): use initialization lists.
11901
11902         * lyxtext.h (Selection): initialize set_ and mark_
11903         (init): remove method
11904
11905 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11906
11907         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11908
11909 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11910
11911         * screen.[Ch]: change method names to begin with lowercase
11912
11913         * BufferView_pimpl.C (updateScrollbar): simplify further and
11914         hopefully make it a bit faster.
11915
11916 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11917
11918         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11919         calling directly xforms functions.
11920
11921         * Painter.C (Painter):
11922         * lyx_cb.C (MenuWrite):
11923         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11924         fl_display.
11925
11926         * lyx_gui.C: remove bogus guiruntime extern declaration.
11927
11928 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11929
11930         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11931         in NEW_INSETS
11932         (redoDrawingOfParagraph): ditto
11933         (redoParagraphs): ditto
11934         (cutSelection): don't create a object for CutAndPaste use the
11935         static method directly
11936         (pasteSelection): ditto
11937
11938         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11939         LyXview (+ rename)
11940
11941 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11942
11943         * modifications to some other files because of this.
11944
11945         * Makefile.am (lyx_SOURCES): add XFormsView
11946
11947         * XFormsView.[Ch]: new files
11948
11949         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11950         the main window. Move the gui dependent stuff to XFormsView
11951
11952 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11953
11954         * tabular.C (GetCellInset): update cur_cell also in the row/col
11955         version of this function.
11956
11957         * lyxfunc.C: no need to include figure_form.h here.
11958
11959         * FontLoader.h:
11960         * lyxfunc.h:
11961         * lyxscreen.h:
11962         * text2.C:
11963         * lyxvc.C: no need to include forms.h here.
11964
11965 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11966
11967         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11968
11969         * lyxfunc.C (Dispatch):
11970         * Spacing.C (set):
11971         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11972         constructor argument.
11973
11974 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11975
11976         * paragraph.C (Paragraph): dont't clear, and just set layout.
11977         (makeSameLayout): use params's copy contructor.
11978
11979         * ParagraphParameters.[Ch] (makeSame): delete method
11980
11981 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11982
11983         * Variables.[Ch]: fix indentation, rename set to isSet
11984
11985 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11986
11987         * lyxfunc.C (Dispatch): fix typo
11988
11989 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11990
11991         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11992         upper_bound.
11993
11994         * bufferlist.C: include assert.h for emergencyWrite().
11995
11996 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11997
11998         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11999           give up at last (bug #425202) !
12000
12001 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12002
12003         * lyx_gui_misc.C:
12004         * sp_form.h:
12005         * sp_form.C:
12006         * spellchecker.h:
12007         * spellchecker.C: strip spellchecker options and bring up
12008           preferences tab instead
12009
12010 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12011
12012         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12013         the istringstream constructor
12014
12015 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12016
12017         * paragraph.C (getLayout): fix return value
12018
12019         * paragraph.h: do not declare getLayout as inline.
12020
12021         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12022
12023 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12024
12025         * lyxcursor.h (operator<): new func
12026         (operator>): new func
12027         (operator>=): new func
12028         (operator<=): new func
12029
12030         * text.C (changeCase): use selection.start and selection.end
12031         (changeRegionCase): require from to be <= to. Require par to be a
12032         valid paragraph.
12033
12034         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12035
12036 2001-06-27  Juergen Vigna  <jug@sad.it>
12037
12038         * text.C (cursorLeftOneWord): changed to return the cursor and added
12039         overlay with BufferView * parameter which calls this one.
12040         (getWord): added
12041         (selectWord): use new getWord function.
12042         (changeCase): renamed from changeWordCase as and extended to work
12043         also on selections.
12044
12045         * lyxtext.h: added enum word_location
12046
12047         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12048         changeCase as this operates now also on selections.
12049
12050 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12051
12052         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12053
12054         * many files: send debug output to Debug::INFO instead of
12055         Debug::ANY.
12056
12057         * converter.C (View):
12058         (Convert):
12059         (Move): send debug output to Debug::FILES instead of console.
12060
12061 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12062
12063         * lyxfunc.C (getStatus): use func_status
12064
12065         * func_status.h: new header, describing the results of
12066         LyXFunc::getStatus;
12067
12068         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12069         LFUN_MATH_HALIGN.
12070
12071 2001-06-25  The LyX Project  <jug@sad.it>
12072
12073         * buffer.C (sgmlOpenTag):
12074         (sgmlCloseTag):
12075         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12076
12077 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12078
12079         * text2.C: remove some dead code
12080
12081         * tabular.C (GetCellInset): store the last cell checked (gotten)
12082
12083         * tabular.h: add the helper for the speedup
12084
12085         * lyxtext.h: remove some dead code
12086
12087 2001-06-26  The LyX Project  <Asger>
12088
12089         * paragraph.C: Change export to LaTeX of alignment to
12090         \begin{center} and family for better roundtrip work with reLyX.
12091
12092         * Tune the math drawing a bit.
12093
12094 2001-06-25  The LyX Project  <Asger>
12095
12096         * LColor.C (LColor): New color for math background. New color
12097         for buttons.
12098
12099 2001-06-25  The LyX Project  <jug@sad.it>
12100
12101         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12102
12103         * lyxfunc.C (Open):
12104         * bufferlist.C (newFile): do not restrict to files ending with
12105         .lyx
12106
12107         * BufferView_pimpl.C (MenuInsertLyXFile):
12108
12109 2001-06-24  The LyX Project  <jug@sad.it>
12110
12111         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12112         of compare_no_case
12113
12114 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12115
12116         * lyxtext.h: rename most methods to begin with a small char.
12117         Lots of changes because of this.
12118
12119         * paragraph.C (Paragraph): do not call fitToSize
12120         (erase): call Pimpl::erase
12121         (insertChar): call Pimpl::insertChar
12122         (insertInset): call Pipl::insertInset
12123         (breakParagraph): do not call fitToSize
12124         (breakParagraphConservative): do not call fitToSize
12125         (fitToSize): remove method
12126
12127         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12128
12129 2001-06-24  The LyX Project  <Asger>
12130
12131         * Fix Qt compilation^2
12132
12133 2001-06-24  The LyX Project  <jug@sad.it>
12134
12135         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12136         depthHook(getDepth()-1).
12137
12138         * paragraph.h:
12139         * ParagraphParameters.h:
12140         * ParameterStruct.h: change type of depth to unsigned int ==
12141         depth_type. Many adaptations to other files before of that.
12142
12143 2001-06-24  The LyX Project  <Asger>
12144
12145         * Fix Qt compilation.
12146
12147 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12148
12149         * paragraph.h: renamed several methods to begin with small letter.
12150         several changes to many parts of the code because of this.
12151
12152 2001-06-23  The LyX Project  <jug@sad.it>
12153
12154         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12155         rewritten to discard all double spaces when KeepEmpty is off
12156         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12157         to only handle newlines but not fiddle with spaces and friends.
12158
12159         * lyxfunc.C (MenuNew): when doing 'new from template', use
12160         template_path as default directory
12161
12162 2001-06-23  The LyX Project  <Asger>
12163
12164         * Clean-up of header file includes all over
12165         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12166
12167 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12168
12169         * paragraph.h: renamed from lyxparagraph.h
12170
12171 2001-06-23  Asger  <lyx@violet.home.sad.it>
12172
12173         * Buffer.h: Removed Buffer::resize
12174         * BufferList.h: Removed BufferList::resize
12175         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12176         the document lazily when we change the width, or the font settings.
12177
12178 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12179
12180         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12181
12182 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12183
12184         * buffer.h: remove out of date comment
12185
12186 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12187
12188         * lyxscreen.h:
12189         * screen.C: fix "theoretical" GC leak
12190
12191 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12192
12193         * LaTeX.C (scanAuxFile):
12194         (deplog): remove trailing \r when reading stream (useful under
12195         win32)
12196
12197 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12198
12199         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12200         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12201         and BufferView::theLockingInset(Inset*), so should use them and not
12202         access bv_->text->the_locking_inset directly.
12203
12204         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12205
12206 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12207
12208         * Makefile.am:
12209         * tex-defs.h: remove old unused file
12210
12211 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12212
12213         * BufferView_pimpl.C: fix typo, remove minibuffer message
12214           when buffer has loaded
12215
12216 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12217
12218         * lyxfunc.C (Dispatch): use stringstream
12219         (MenuNew): use stringstream
12220         (Open): use stringstream
12221
12222         * importer.C (Import): use stringstream
12223
12224         * bufferview_funcs.C (CurrentState): use stringstream
12225
12226         * LaTeX.C (run): use stringstream
12227
12228         * BufferView_pimpl.C (savePosition): use stringstream
12229         (restorePosition): use stringstream
12230         (MenuInsertLyXFile): use stringstream
12231
12232 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12233
12234         * BufferView.C:
12235         * Bullet.C:
12236         * ColorHandler.C:
12237         * FontInfo.C:
12238         * FontLoader.C:
12239         * LColor.C:
12240         * LaTeXFeatures.C:
12241         * Painter.C:
12242         * gettext.C:
12243         * lyx_gui_misc.C:
12244         * lyxserver.C:
12245         * vspace.C: removed // -*- C++ -*- as first line.
12246
12247         * lyxfind.h:
12248         * version.h: added // -*- C++ -*- as first line.
12249
12250 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12251
12252         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12253
12254         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12255         of string
12256
12257 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12258
12259         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12260         of floats.
12261
12262 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12263
12264         * gettext.C: include LString.h even when --disable-nls is on.
12265
12266 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12267
12268         * converter.h (Get): changed argument type from int to
12269         FormatList::size_type to avoid unnecessary conversion.
12270
12271         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12272         before using it.
12273
12274 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12275
12276         * gettext.h: include LString.h even when --disable-nls is on.
12277
12278 2001-06-07  Juergen Vigna  <jug@sad.it>
12279
12280         * text.C (BreakAgain): subst spaces with tabs.
12281
12282         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12283         (resizeInsetsLyXText): set force on resizeLyXText.
12284
12285 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12286
12287         * gettext.h (gettext_init):
12288         (locale_init): use a real definition instead of a macro
12289
12290 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12291
12292         * Bufferview_pimpl.C:
12293         * LColor.h:
12294         * LColor.C: further lcolor tidies
12295
12296 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12297
12298         * BufferView_pimpl.C (updateScrollbar): simplify.
12299
12300         * BufferView2.C: don't include insets/insetinfo.h, change
12301         prototype for insertInset and call the Pimpl version. let
12302         updateInset call Pimpl version.
12303
12304         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12305         gotoInset to BufferView::Pimpl
12306
12307 2001-06-01  Juergen Vigna  <jug@sad.it>
12308
12309         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12310         inside a LockingInset (is the update needed at all?).
12311
12312 2001-05-31  Juergen Vigna  <jug@sad.it>
12313
12314         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12315         here not the old one otherwise how should we compare it afterwards
12316         if it's the same!
12317
12318 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12319
12320         * lyxfont.C:
12321         * tabular.C:
12322         * tabular-old.C:
12323         * FontInfo.C: bring C functions into global namespace when
12324         necessary
12325
12326 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12327
12328         * LString.h: make sure config.h has been loaded before LString.h.
12329
12330         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12331         (one for each char read by EatLine!).
12332
12333         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12334         variables.
12335
12336 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12337
12338         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12339         to the same as the par we break from
12340
12341 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12342
12343         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12344
12345         * MenuBackend.C (expand): also create menu entries for wide
12346         versions of the floats.
12347
12348         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12349
12350         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12351
12352         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12353         frontends/Makefile.am
12354
12355         * text2.C: adjust
12356         * text.C: adjust
12357
12358
12359         * tabular.C (getTokenValue): add std::
12360
12361         * tabular-old.C (getTokenValue): add std::
12362         (getTokenValue): ditto
12363         (getTokenValue): ditto
12364
12365         * screen.C (ToggleSelection): adjust
12366
12367         * lyxtext.h: put selection cursors inside a Selection struct.
12368
12369         * lyxfunc.C (moveCursorUpdate): adjust
12370
12371         * lyxfont.C (latexWriteStartChanges): add std::
12372
12373         * lyxfind.C: adjust
12374
12375         * font.h: delete with(char const *, LyXFont const &)
12376
12377         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12378
12379         * FontInfo.C (getFontname): add std::
12380
12381         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12382         (workAreaButtonPress): adjust
12383         (tripleClick): adjust
12384         (update): adjust
12385         (moveCursorUpdate): adjust
12386         (Dispatch): adjust
12387
12388         * BufferView2.C (gotoInset): adjust
12389
12390 2001-05-30  Juergen Vigna  <jug@sad.it>
12391
12392         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12393         to check pspell I add this as default as I now have new pspell
12394         libraries and they seem to use this.
12395
12396 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12397
12398         * text2.C (CutSelection): make the cursor valid before the call to
12399         ClearSelection.
12400
12401 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12402
12403         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12404         relied on 0 terminated strings and other horrors. Bug found due to
12405         the new assert in lyxstring!
12406
12407         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12408         KP_ keys.
12409
12410 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12411
12412         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12413         to latinkeys.bind.
12414
12415         * lyxfunc.C (processKeySym): change method of getting to the
12416         self-insert char.
12417
12418         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12419         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12420         * BufferView_pimpl.[Ch]: here as private methods.
12421
12422 2001-05-28  Juergen Vigna  <jug@sad.it>
12423
12424         * text.C (SetHeightOfRow): added the update() call again as it is
12425         needed to initialize inset dimensions!
12426
12427 2001-05-16  Juergen Vigna  <jug@sad.it>
12428
12429         * text2.C (SetCharFont): Add new function with BufferView * and
12430         bool toggleall parameters for setting insets internal fonts.
12431         (SetFont): Freeze the undo as we may change fonts in Insets and
12432         all this change should be inside only one Undo!
12433
12434         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12435         setting font's in insets as for them we have the SetFont function!
12436
12437 2001-05-15  Juergen Vigna  <jug@sad.it>
12438
12439         * text2.C (ClearSelection): to be sure we REALLY don't have any
12440         selection anymore!
12441
12442         * tabular.C (TeXCellPreamble): fixed the left border problem for
12443         multicolumn cells.
12444
12445 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12446
12447         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12448         dependancy file
12449
12450 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12451
12452         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12453         LFUN_BREAKPARAGRAPH.
12454
12455         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12456         help test to "internal only", similar for LFUN_INSERT_URL
12457
12458         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12459         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12460         auto_region_delete and deadkeys.
12461
12462 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12463
12464         * LColor.h:
12465         * LColor.C: remove some dead entries, tidy a little
12466
12467 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12468
12469         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12470         commented code.
12471         (Dispatch): implement LFUN_ESCAPE
12472
12473         * commandtags.h: add LFUN_ESCAPE
12474
12475         * LyXAction.C (init): add entry for LFUN_ESCAPE
12476
12477         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12478         Remove commented code.
12479         (insertNote): moved here
12480         (open_new_inset): moved here
12481
12482         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12483         BufferView_pimpl
12484
12485 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12486
12487         * kbmap.C (findbinding): clean it up and make it work correctly.
12488
12489         * lyx_main.C (init): do not pass argc and argv as parameters
12490
12491 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12492
12493         * buffer.C: fix path for OS/2 & Win32
12494
12495         * lyx_gui.C:
12496         * lyx_main:
12497         * lyx_main.C: Added os:: class.
12498
12499         * os2_defines.h: update
12500
12501 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12502
12503         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12504         better by trying again with reduced state.
12505
12506 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12507
12508         * lyxrc.C (read): print error about invalid key sequence only when
12509         debugging (because not all latinX keysyms are known to some X
12510         servers)
12511
12512         * kbsequence.C (getiso): add a few std:: qualifiers
12513         (getiso): comment out extra return statement.
12514
12515 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12516
12517         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12518         handling.
12519         (Dispatch): enhance the accent inset a bit. (not perfect)
12520
12521 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12522
12523         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12524
12525 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12526
12527         * bufferlist.C (emergencyWrite): fix assert() call
12528
12529 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12530
12531         * text.C (InsertChar): Added trivial patch to only send the "you
12532         can not do multiple spaces this way" message once during a
12533         session.
12534
12535 2001-05-08  Baruch Even  <baruch@lyx.org>
12536
12537         * Makefile.am: Changed order of libraries to get LyX to link properly
12538         with the gnome frontend.
12539
12540 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12541
12542         * LaTeXFeatures.h: add a std:: qualifier
12543
12544 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12545
12546         * paragraph.C (String): use stringstream
12547
12548 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12549
12550         * paragraph.C (writeFile): remove footflag arg
12551
12552         * buffer.C (makeLaTeXFile): use stringstream
12553         (latexParagraphs): remove footnot gurba
12554
12555         * LaTeXFeatures.C (getPackages): use stringstream
12556         (getMacros): likewise
12557         (getTClassPreamble): likewise
12558         (getFloatDefinitions): new method
12559
12560         * paragraph.C (writeFile): reindent
12561         (Erase): reindent
12562
12563         * WorkArea.h: revert the xpos + etc changes.
12564
12565         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12566
12567         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12568
12569         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12570         (pasteSelection): likewise
12571         * text2.C (CreateUndo): likewise
12572
12573 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12574
12575         * minibuffer.C (peek_event): temporarily reduce the functionality
12576         of the minibuffer (to allow args on lfuns)
12577
12578         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12579         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12580
12581         * buffer.C (readInset): add compability reading of old float
12582         lists, add reading of new style float list.
12583         (readInset): avoid reevaluation of inscmd.getCmdName()
12584         (getLists): reindent
12585
12586         * MenuBackend.C (MenuItem): implement parsing of
12587         md_floatlistinsert and md_floatinsert.
12588         (expand::LastFiles): move initalizaton of iterators out of loop,
12589         avoid reevaluation.
12590         (expand::Documents): introduce typdedef vector<string> Strings,
12591         and use it.
12592         (expand::ExportFormats): introduce typedef vector<Format const *>
12593         Formats, and use it.
12594         (expand): implement FloatListInsert and FloatInsert.
12595
12596         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12597         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12598         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12599
12600         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12601         handling.
12602         (Dispatch::LFUN_FLOAT_LIST): implement
12603
12604 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12605
12606         * LaTeX.C (run): Fix problem with --export code.
12607
12608 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12609
12610         * BufferView.[Ch] (workarea): removed.
12611         (getClipboard) new method; wrapper for workarea()->getClipboard()
12612
12613         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12614         bug.
12615
12616         * WorkArea.h (width, height, xpos, ypos): These methods all
12617         returned the dimensions of the work_area sub-area of WorkArea,
12618         resulting in a position error if the WorkArea were resized. Now
12619         return the dimensions of the entire WorkArea.
12620
12621         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12622
12623 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12624
12625         * LaTeX.C (deplog): correct the syntax of regex reg1
12626
12627 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12628
12629         * undo.C: remove !NEW_INSETS cruft
12630
12631 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12632
12633         * text2.C: remove !NEW_INSETS cruft
12634
12635         * text.C: remove !NEW_INSETS cruft
12636
12637         * tabular.C: remove !NEW_INSETS cruft
12638
12639         * spellchecker.C: remove !NEW_INSETS cruft
12640
12641         * lyxtext.h: remove !NEW_INSETS cruft
12642
12643         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12644
12645         * lyxfunc.C: remove !NEW_INSETS cruft
12646
12647         * lyxfind.C: remove !NEW_INSETS cruft
12648
12649         * lyx_cb.C: remove !NEW_INSETS cruft
12650
12651         * figureForm.C: remove  !NEW_INSETS cruft
12652
12653         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12654
12655         * buffer.[Ch]: remove !NEW_INSETS cruft
12656
12657         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12658
12659         * CutAndPaste.C: remove !NEW_INSETS cruft
12660
12661         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12662
12663         * BufferView2.C: remove !NEW_INSETS cruft
12664
12665         * BufferView.h: remove !NEW_INSETS cruft
12666
12667 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12668
12669         * Lsstream.h: include LString.h before the sstream headers to
12670         fix problem with gcc 2.95.3 and lyxstring
12671
12672 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12673
12674         * lyx_main.C: add using directives when needed for C functions
12675         declared in std:: namespace.
12676
12677 2001-04-27  Juergen Vigna  <jug@sad.it>
12678
12679         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12680         (SetHeightOfRow): comment out the update call should not be needed!
12681
12682 2001-04-13  Juergen Vigna  <jug@sad.it>
12683
12684         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12685         (LyXTabular): tried to minimize operator= operations (and realized
12686         hopfully Lars wish).
12687
12688 2001-04-27  Juergen Vigna  <jug@sad.it>
12689
12690         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12691
12692 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12693
12694         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12695
12696         * buffer.C (readInset): hack to make listof algorithm work
12697
12698         * BufferView_pimpl.C: hack to make listof algorithm work
12699
12700 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12701
12702         * LyXAction.C: removed all !NEW_INSETS cruft
12703         (init): moved lfun_item in method
12704
12705         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12706
12707 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12708
12709         * BufferView2.C (theLockingInset): white space.
12710
12711 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12712
12713         * minibuffer.C: include <iostream>
12714
12715         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12716
12717         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12718
12719         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12720
12721         * text.[Ch] (TransposeChars): new method
12722
12723 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12724
12725         * call message directly through LyXView instead of through LyXFunc
12726         * BufferView2.C: adjust
12727         * BufferView_pimpl.C: adjust
12728         * FontLoader.C: adjust
12729         * buffer.C: adjust
12730         * bufferview_funcs.C: adjust
12731         * converter.C: adjust
12732         * figureForm.C: adjust
12733         * importer.C: adjust
12734         * lyx_cb.C: adjust
12735         * lyx_gui_misc.C: adjust
12736         * lyxfunc.C: adjust
12737         * lyxvc.C: adjust
12738         * text2.C: adjust
12739         + more files in subdirs
12740
12741         * lyxparagraph.h (size): move up int file
12742         (GetLayout): ditto
12743
12744         * adjust all uses of Assert to lyx::Assert.
12745
12746         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12747         lyxfunctional in namespace lyx
12748         * layout.C (hasLayout): ditto
12749         (GetLayout): ditto
12750         (GetLayout): ditto
12751         (delete_layout): ditto
12752         (NumberOfClass): ditto
12753         * converter.C (GetFormat): ditto
12754         (GetNumber): ditto
12755         (Add): ditto
12756         (Delete): ditto
12757         (SetViewer): ditto
12758         * bufferlist.C (getFileNames): ditto
12759         (emergencyWriteAll): ditto
12760         (exists): ditto
12761         (getBuffer): ditto
12762         * MenuBackend.C (hasSubmenu): ditto
12763         (hasMenu): ditto
12764         (getMenu): ditto
12765         * BufferView_pimpl.C (getInsetByCode): ditto
12766
12767 2001-04-18  Juergen Vigna  <jug@sad.it>
12768
12769         * vspace.C (asLatexString): fixed the 100% problem.
12770
12771 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12772
12773         * lyxfunc.C (Dispatch):
12774         * minibuffer.C:
12775         * minibuffer.h: add a few std:: qualifiers
12776
12777 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12778
12779         * minibuffer.[Ch]: reimplement so that commands is initiated and
12780         run from lyxfunc, simplified som handling, and made the completion
12781         and history code for complete. wip.
12782
12783         * lyxfunc.C (processKeySym): call message
12784         (miniDispatch): new temporary method
12785         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12786         (LFUN_MESSAGE): implement
12787         (LFUN_MESSAGE_PUSH): implement
12788         (LFUN_MESSAGE_POP): implement
12789         (initMiniBuffer): the initial/defualt minibuffer message.
12790
12791         * lyxfont.[Ch]: inline some more getters
12792
12793         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12794
12795         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12796
12797         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12798         (AutoSave): use LFUN_MESSAGE
12799         (Reconfigure): ditto
12800
12801         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12802
12803         * figureForm.C: use LFUN_MESSAGE
12804
12805         * converter.C (runLaTeX): use LFUN_MESSAGE
12806
12807         * bufferview_funcs.C: use LFUN_MESSAGE
12808         (Melt): ditto
12809         (changeDepth): ditto
12810
12811         * bufferparams.h: use boost::
12812
12813         * bufferlist.h: inherit privately from noncopyable
12814
12815         * bufferlist.C (loadLyXFile): remove some commented code.
12816
12817         * buffer.C (runChktex): use LFUN_MESSAGE
12818
12819         * ShareContainer.h: inherit privately from noncopyable
12820
12821         * ParagraphParameters.[hC] (depth): inline it.
12822
12823         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12824         methods.
12825         (message): new method
12826         (messagePush): ditto
12827         (messagePop): ditto
12828         (show): init minibuffer
12829         (showState): direct call
12830
12831         * LaTeX.[Ch]: inherit privately from noncopyable
12832         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12833         instead of WriteStatus.
12834
12835         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12836
12837         * BufferView_pimpl.C (buffer): don't init minibuffer
12838         (workAreaButtonPress): use LFUN_MESSAGE
12839         (workAreaButtonRelease): ditto
12840         (savePosition): ditto
12841         (restorePosition): ditto
12842         (MenuInsertLyXFile): ditto
12843         (workAreaExpose): don't init minibuffer
12844         (update): remove commented code, simplify
12845
12846         * BufferView2.C (openStuff): use LFUN_MESSAGE
12847         (toggleFloat): ditto
12848         (menuUndo): ditto
12849         (menuRedo): ditto
12850         (copyEnvironment): ditto
12851         (pasteEnvironment): ditto
12852         (copy): ditto
12853         (cut): ditto
12854         (paste): ditto
12855         (gotoInset): ditto
12856         (updateInset): remove some commented code
12857
12858         * lastfiles.h: inherit privately from noncopyable
12859         * layout.h: ditto
12860         * lyx_gui.h: ditto
12861         * lyx_main.h: ditto
12862         * lyxlex.h: ditto
12863         * lyxlex_pimpl.h: ditto
12864
12865         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12866         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12867         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12868
12869         * LyXAction.h: inherit privately from noncopyable, add methods
12870         func_begin, func_end, returning iterators to the func map.
12871
12872         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12873         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12874         (func_begin): new method
12875         (func_end): new method
12876
12877         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12878         and not)
12879         (copySelection): ditto
12880         (pasteSelection): ditto
12881
12882         * BufferView.C: whitespace change
12883         * BufferView.h: inherit privately from noncopyable
12884
12885 2001-04-16  Allan Rae  <rae@lyx.org>
12886
12887         * tabular-old.C (l_getline):
12888         * spellchecker.C (sc_check_word):
12889         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12890         an unrecognised preprocessor directive.  So ensure they're wrapped.
12891
12892 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12893
12894         * src/exporter.C (Export): Give an error message when path to file
12895         contains spaces.
12896
12897 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12898
12899         * LaTeX.C (deplog): Always check that foundfile exists.
12900
12901 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12902
12903         * lyx_main.h:
12904         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12905
12906 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12907
12908         * tabular.[Ch] (getLabelList): implement new method
12909
12910         * minibuffer.h: comment ouf setTiimer
12911
12912         * minibuffer.C (ExecutingCB): constify res
12913         (peek_event): constify s
12914         (Set): constify ntext
12915         (Init): constify nicename
12916
12917         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12918
12919         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12920         (savePosition): use two params to Minibuffer::Set
12921         (restorePosition): ditto
12922
12923 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12924
12925         * lyx_main.C: include language.h
12926
12927         * Makefile.am (lyx_main.o): add language.h
12928
12929 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12930
12931         * exporter.C:
12932         * paragraph.C:
12933         * screen.C:
12934         * tabular.C:
12935         * CutAndPaste.C: include gettext.h
12936
12937         * lyxfont.h: remove old hack with ON and OFF.
12938
12939         * lyxparagraph.h:
12940         * lyxfont.h: do not include language.h...
12941
12942         * BufferView2.C:
12943         * LaTeXFeatures.C:
12944         * Painter.C:
12945         * bufferview_funcs.C:
12946         * font.C:
12947         * lyxfont.C:
12948         * text.C:
12949         * text2.C:
12950         * trans_mgr.C:
12951         * paragraph.C: ... but do it here instead
12952
12953 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12954
12955         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12956
12957         * tabular.C: small reformat
12958
12959         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12960         NEW_INSETS version
12961         (GetChar): ditto
12962         (BreakParagraph): ditto
12963         (SetOnlyLayout): ditto
12964         (SetLayout): ditto
12965
12966         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12967         with one arg less.
12968
12969         * lastfiles.C: removed most using decl, add std:: where needed
12970
12971         * buffer.C: ws changes
12972
12973         * MenuBackend.C (class compare_format): put into anon namespace
12974         (expand): constify label, names, action, action2
12975         (expand):
12976
12977         * text.C (SingleWidth): constify font
12978         (IsBoundary): constify rtl2
12979         (GetVisibleRow): constify ww
12980
12981         * LaTeX.C (deplog): constify logfile
12982
12983         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12984         start_x, end_x
12985         (workAreaExpose): constify widthChange, heightChange
12986
12987         * lyxrow.C (par): moved
12988         (height): moved
12989         (next): moved
12990         * lyxrow.h: as inlines here
12991
12992         * lyxfont.h (shape): moved from lyxfont.C
12993         (emph): moved from lyxfont.C
12994
12995         * lyxfont.C (LyXFont): use initialization list for all
12996         constructors
12997         (shape): move to lyxfont.h as inline
12998         (emph): move to lyxfont.h as inline
12999
13000
13001 2001-04-04  Juergen Vigna  <jug@sad.it>
13002
13003         * vspace.C: had to include stdio.h for use of sscanf
13004
13005 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13006
13007         * BufferView.h:
13008         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13009         independent of xforms.
13010
13011 2001-04-02  Juergen Vigna  <jug@sad.it>
13012
13013         * spellchecker.C: fixed namespace placing!
13014
13015 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13016
13017         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13018         the LyXParagraph * is 0.
13019
13020 2001-03-29  Juergen Vigna  <jug@sad.it>
13021
13022         * vspace.C: added support for %, c%, p%, l%.
13023         (stringFromUnit): added helper function.
13024         (asLatexString): changed to give right results for the %-values.
13025
13026         * buffer.C: convert the widthp in a width%.
13027
13028 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13029
13030         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13031         figureForm.[Ch].
13032
13033         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13034         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13035
13036         * lyx_cb.[Ch]: see above.
13037
13038         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13039         form1.[Ch].
13040
13041         * form1.[Ch]:
13042         * lyx.[Ch]: replaced by figure_form.[Ch].
13043
13044         * lyx_gui.C:
13045         * lyx_gui_misc.C:
13046         * lyxfunc.C: changed headers associated with above changes.
13047
13048 2001-03-27  Juergen Vigna  <jug@sad.it>
13049
13050         * BufferView_pimpl.C: set the temporary cursor right!
13051
13052 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13053
13054         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13055
13056 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13057
13058         * LString.h: removed "using std::getline"!
13059
13060         * BufferView_pimpl.C (Dispatch): changes due to changes in
13061         InsetInclude::Params.
13062
13063         * buffer.C (tag_name): removed redundant break statements as they were
13064         producing lots of warnings with my compiler.
13065
13066 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13067
13068         * LString.h: add "using std::getline" when using the real <string>.
13069
13070 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13071
13072         * buffer.C: removed bitset usage.
13073         PAR_TAG moved to an anonymous name space.
13074         (tag_name): new funtion, also in the anonymous namespace.
13075         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13076         (makeDocBookFile): clean code. Completed transition from string arrays
13077         to string vectors.
13078         (SimpleDocBookOnePar): code clean.
13079
13080 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13081
13082         * tabular.C: add some comments.
13083
13084 2001-03-22  Juergen Vigna  <jug@sad.it>
13085
13086         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13087         compatibility read a bit and fixed bug with minipage in different
13088         depth.
13089
13090 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13091
13092         * buffer.C (pop_tag): removed.
13093         (push_tag): removed.
13094         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13095         array replaced with vector. Added support for CDATA sections.
13096         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13097         at any nest level.
13098         (makeDocBookFile): XML conformant declaration of CDATA section,
13099         fixed bug related to <emphasis> in the first paragraph char.
13100         (sgmlOpenTag): exclude empty tags.
13101         (sgmlCloseTag): ditto.
13102
13103         * buffer.h (pop_tag): removed.
13104         (push_tag): removed.
13105
13106 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13107
13108         * language.h (Languages): added size_type and size().
13109
13110 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13111
13112         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13113         response on compability reading of minipages. One probliem is that
13114         the old usage of minipages was «flertydig»
13115
13116         * several files here and in subdirs: don't use static at file
13117         scope use anon namespaces instead.
13118
13119 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13120
13121         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13122         LaTeX output. This is necessary for Literate document
13123         processing.
13124
13125 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13126
13127         * buffer.C: insert hfill when needed.
13128
13129         * tabular.C (l_getline): use string::erase, small whitespace change.
13130
13131         * BufferView_pimpl.C: try the anon namespace.
13132         * WorkArea.C: ditto
13133
13134 2001-03-16  Juergen Vigna  <jug@sad.it>
13135
13136         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13137         otherwise it won't open options-dialogs.
13138
13139         * buffer.C: honor pextraWidth(p) on converting minipages.
13140
13141         * tabular.C (l_getline): changed the functions to strip trailing \r.
13142
13143 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13144
13145         * BufferView_pimpl.C:
13146         * minibuffer..C: added "using SigC::slot" declaration.
13147
13148 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13149
13150         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13151
13152         * text2.C: ditto
13153
13154         * text.C: ditto
13155
13156         * paragraph.C: ditto
13157
13158         * lyxtext.h: NO_PEXTRA
13159
13160         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13161
13162         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13163         * ParameterStruct.h: ditto
13164         * ParagraphParameters.h: ditto
13165         * lyxparagraph.h: ditto
13166
13167 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13168
13169         * buffer.C: add compability for minipage alignment.
13170         (latexParagraphs): remove unwanted pextra check.
13171
13172         * several files: remove CXX_WORKING_NAMESPACES
13173
13174         * buffer.C (pop_tag): tie is in namespace boost
13175
13176         * BufferView.h: noncopyable is in namespace boost
13177         * lyxlex.h: ditto
13178         * lyx_main.h: ditto
13179         * lyx_gui.h: ditto
13180         * layout.h: ditto
13181         * lastfiles.h: ditto
13182         * bufferlist.h: ditto
13183         * ShareContainer.h: ditto
13184         * LyXView.h: ditto
13185         * LyXAction.h: ditto
13186         * LaTeX.h: ditto
13187
13188 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13189
13190         * Merging changes from BRANCH_MVC back into HEAD.
13191
13192         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13193
13194 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13195
13196         * BufferView_pimpl.C: change from intl.C
13197
13198         * combox.h:
13199         * combox.C:
13200         * Makefile.am: move combox.*
13201
13202         * form1.h:
13203         * form1.C:
13204         * lyx_gui.C:
13205         * intl.h:
13206         * intl.C: remove dialog (covered by prefs)
13207
13208 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13209
13210         * lyxfunc.C (Dispatch): removed redundant break statement.
13211
13212 2001-03-14  Juergen Vigna  <jug@sad.it>
13213
13214         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13215
13216 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13217
13218         * buffer.C: add hack to fix compability reading of minipages.
13219
13220 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13221
13222         * buffer.C (getLists): Cleanup.
13223
13224 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13225
13226         * lyxfont.C (update): don't honor toggleall on font size.
13227
13228 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13229
13230         * bmtable.c:
13231         * bmtable.h:
13232         * Makefile.am: moved to frontends/xforms/
13233
13234         * lyx_gui_misc.C:
13235         * lyxfunc.C:
13236         * BufferView_pimpl.C: changes for moved mathpanel
13237
13238 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13239
13240         * gettext.h: fix gettext_init() in --disable-nls
13241
13242 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13243
13244         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13245
13246 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13247
13248         * lyx.C:
13249         * lyx.h: strip external form
13250
13251 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13252
13253         * BufferView_pimpl.C: add comment, destroySplash()
13254
13255 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13256
13257         * BufferView_pimpl.C:
13258         * LyXAction.C:
13259         * buffer.C:
13260         * commandtags.h:
13261         * lyxfunc.C: use re-worked insetinclude
13262
13263 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13264
13265         * buffer.C: add using std::stringstream.
13266
13267         * lyx_cb.C: readd using std::ios.
13268
13269         * buffer.C: add using std::map.
13270
13271         * BufferView_pimpl.C: add using std::vector.
13272
13273         * ShareContainer.h: add std:: to swap.
13274
13275         * buffer.h: add some typedefs
13276         * buffer.C (getLists): use them
13277         (getLists): renamed from getTocList.
13278         add a counter for the different float types and use it in the
13279         generated string.
13280         (getLists): use the same counter for the NEW_INSETS and the "non"
13281         NEW_INSETS
13282
13283         * lyx_cb.h: remove unused items, includes, using etc.
13284
13285         * ShareContainer.h: remove some commented code, add more comments
13286         and "documentation".
13287
13288 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13289
13290         * buffer.C (getTocList): make the list also when NEW_INSETS is
13291         defined.
13292
13293         * buffer.h: remove TocType
13294
13295         * buffer.C (getTocList): change to return a map<string,
13296         vector<TocItem> >, implement for dynamic number of list.
13297
13298         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13299         * text2.C (PasteSelection): adjust
13300         * CutAndPaste.C (pasteSelection): adjust
13301
13302         * FloatList.C (FloatList): update from the new_insets branch.
13303         * Floating.[Ch]: ditto
13304         * LaTeXFeatures.C: ditto
13305         * buffer.C: ditto
13306         * lyxlex_pimpl.C: ditto
13307
13308         * paragraph.C (Last): remove when NEW_INSETS is defined.
13309
13310         * other file: changes because of the above.
13311
13312 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13313
13314         * lyxparagraph.h: rename next to next_, previous to previous_,
13315         make them private for NEW_INSETS. Rename Next() to next(),
13316         Previous() to previous().
13317
13318         * other files: changes because of the above.
13319
13320 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13321
13322         * BufferView.h:
13323         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13324         problem.
13325
13326 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13327
13328         * main.C (main): pass lyx_localedir to gettext_init().
13329
13330         * gettext.h: remove locale_init and gettext_init macros
13331
13332         * gettext.C (locale_init): new function
13333         (gettext_init): new function
13334
13335         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13336         setlocale().
13337
13338 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13339
13340         * Moved credits to frontends:
13341         * credits.[Ch]: removed
13342         * credits_form.[Ch]: removed
13343         * lyx_gui_misc.C: remove credits stuff
13344         * Makefile.am:
13345
13346 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13347
13348         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13349
13350         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13351         unneeded destructor.
13352
13353         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13354         a standalone pointer again.
13355
13356         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13357
13358 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13359
13360         * Makefile.am:
13361         * filedlg.h:
13362         * filedlg.C:
13363         * LyXAction.C:
13364         * ToolbarDefaults.C:
13365         * bufferlist.C:
13366         * commandtags.h:
13367         * form1.C:
13368         * form1.h:
13369         * lyx_cb.C:
13370         * lyx_cb.h:
13371         * lyxfunc.h:
13372         * lyxfunc.C:
13373         * BufferView_pimpl.C: use new file dialog in GUII
13374
13375         * lyx_cb.h:
13376         * lyx_cb.C: remove LayoutsCB to Toolbar
13377
13378 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13379
13380         * ShareContainer.h (get): add std:: qualifier
13381
13382 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13383
13384         * ShareContainer.h: define a proper ShareContainer::value_type
13385         type (and use typename to please compaq cxx)
13386
13387 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13388
13389         * lyxparagraph.h: move serveral local vars to
13390         ParameterStruct/ParagraphParameters., use ShareContainer in
13391         FontTable., make vars in FontTable private and add getter and
13392         setter.
13393
13394         * paragraph.C: changes because of the above.
13395
13396         * lyxfont.h: remove copy constructor and copy assignment. (the
13397         default ones is ok), move number inside FontBits. move inlines to
13398         lyxfont.C
13399
13400         * lyxfont.C: add number to initializaton of statics, move several
13401         inlines here. constify several local vars. some whitespace
13402         cleanup. Dont hide outerscope variables.
13403
13404         * Spacing.h: add two new constructors to match the set methods.
13405
13406         * ShareContainer.h: new file, will perhaps be moved to support
13407
13408         * ParameterStruct.h: new file
13409
13410         * ParagraphParameters.h: new file
13411
13412         * ParagraphParameters.C: new file
13413
13414         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13415         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13416
13417         * BufferView_pimpl.C: ParagraphParameter changes.
13418         * buffer.C: Likewise.
13419         * bufferview_funcs.C: Likewise.
13420         * text.C: Likewise.
13421         * text2.C: Likewise.
13422
13423 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13424
13425         * lyxfind.C (LyXReplace): do not redefine default argument in
13426         implementation.
13427         (IsStringInText): ditto
13428         (SearchForward): ditto
13429         (SearchBackward): ditto
13430
13431 2001-03-06  Juergen Vigna  <jug@sad.it>
13432
13433         * lyxfind.C (IsStringInText): put parentes around expressions.
13434
13435 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13436
13437         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13438
13439 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13440
13441         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13442
13443         * stl_string_fwd.h: add comment
13444
13445         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13446
13447         * tabular.h:
13448         * tabular.C: remove unused DocBook methods
13449
13450         * intl.C:
13451         * language.C:
13452         * paragraph.C:
13453         * buffer.C:
13454         killed DO_USE_DEFAULT_LANGUAGE
13455
13456 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13457
13458         * lyx_gui.C: do not include language.h.
13459
13460         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13461         arguments in function implementation.
13462
13463 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13464
13465         * BufferView_pimpl.C: add <ctime>
13466
13467 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13468
13469         * BufferView_pimpl.C: add using std::find_if
13470
13471 2001-02-27  José Matos  <jamatos@fep.up.pt>
13472
13473         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13474         by OnlyPath.
13475
13476 2001-02-11  José Matos  <jamatos@fep.up.pt>
13477
13478         * buffer.C (makeDocBookFile): command styles now have a parameter as
13479         "title" by default.
13480
13481 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13482
13483         * layout_forms.[Ch]: removed
13484         * lyx_cb.[Ch]: out character
13485         * lyx_gui.C: out character
13486         * lyx_gui_misc.C: out character
13487         * bufferview_funcs.C: : out character,
13488         added toggleall as parameter in ToggleAndShow
13489
13490 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13491
13492         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13493
13494         * text2.C (SetCurrentFont): Disable number property at boundary.
13495
13496 2001-02-26  Juergen Vigna  <jug@sad.it>
13497
13498         * lyxfunc.C (getStatus): added a string argument override function so
13499         that this is correctly called from LyXFunc::Dispatch if it contains a
13500         do_not_use_argument which is used!
13501         (Dispatch): added check for "custom" export and call appropriate func.
13502
13503 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13504
13505         * lyxrc.C: Add language_command_local, language_use_babel and
13506         language_global_options.
13507
13508         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13509
13510         * buffer.C (makeLaTeXFile): Use language_use_babel and
13511         language_global_options.
13512
13513 2001-02-23  Juergen Vigna  <jug@sad.it>
13514
13515         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13516         which works with LyXText and putted it inside BufferView. Here now we
13517         only call for that part the BufferView::Dispatch() function.
13518
13519         * BufferView.C (Dispatch): added.
13520
13521         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13522         functions which needs to use a LyXText over from LyXFunc.
13523         (MenuInsertLyXFile): added
13524         (getInsetByCode): added
13525         (moveCursorUpdate): added
13526         (static TEXT): added
13527
13528 2001-02-22  Juergen Vigna  <jug@sad.it>
13529
13530         * BufferView_pimpl.C (update): call a status update to see if LyXText
13531         needs it.
13532
13533 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13534
13535         * vc-backend.C (revert): implement for CVS
13536         (getLog): implement for CVS
13537
13538 2001-02-20  Juergen Vigna  <jug@sad.it>
13539
13540         * text2.C (ClearSelection): added BufferView param for inset_owner call
13541
13542         * lyxfunc.C (TEXT): added this function and use it instead of
13543         directly owner->view()-text of getLyXText().
13544
13545 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13546
13547         * src/layout_forms.C: out preamble
13548         * src/layout_forms.h: out preamble
13549         * src/lyx_cb.C: out preamble
13550         * src/lyx_cb.h: out preamble
13551         * src/lyx_gui.C: out preamble
13552         * src/lyx_gui_misc.C: out preamble
13553         * src/lyxfunc.C: connect with guii preamble
13554
13555 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13556
13557         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13558
13559 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13560
13561         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13562         whether to run bibtex.
13563
13564 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13565
13566         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13567
13568 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13569
13570         * Makefile.am (lyx_SOURCES): removed bibforms.h
13571
13572         * vspace.h: doxygen
13573
13574         * text.C (GetVisibleRow): make several local vars const
13575
13576         * tabular.C: small cleanup.
13577
13578         * lyxserver.C (callback): use compare instead of strncmp
13579
13580         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13581         inlines to after class or to paragraph.C
13582
13583         * lyxfont.h: remove friend operator!=
13584
13585         * converter.h: move friend bool operator< to non friend and after
13586         class def.
13587
13588         * combox.h: small cleanup
13589
13590         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13591         to inlines after class def.
13592
13593         * buffer.C (pop_tag): use string operations instead of strcmp
13594
13595         * bmtable.c: doxygen, small cleanup
13596
13597         * LaTeX.h: remove friend operator==
13598
13599 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13600
13601         * screen.C:
13602         * lyxrc.[Ch]:
13603         * lyxfunc.C:
13604         * lyxfont.[Ch]:
13605         * lyx_cb.C:
13606         * intl.[Ch]:
13607         * commandtags.h:
13608         * buffer.C:
13609         * WorkArea.[Ch]:
13610         * LyXAction.C:
13611         * BufferView_pimpl.C:
13612         * BufferView.[Ch]: remove cruft
13613
13614 2001-02-14  Juergen Vigna  <jug@sad.it>
13615
13616         * lyxfunc.C: removed #if 0 unused code
13617
13618         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13619
13620         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13621
13622         * text2.C (SetSelection): added a BufferView * parameter
13623
13624 2001-02-13  Juergen Vigna  <jug@sad.it>
13625
13626         * lyxfunc.C (Dispatch): fixed protected blank problem.
13627         * BufferView2.C (protectedBlank): added LyxText * parameter.
13628
13629         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13630         (AppendColumn): same as above for column_info.
13631
13632         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13633         (moveCursorUpdate): use a LyXText param for support of InsetText.
13634
13635         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13636         (tripleClick): ditto
13637
13638         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13639
13640         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13641
13642         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13643
13644         * text2.C (SetSelection): set correct update status if inset_owner
13645         (ToggleFree): ditto
13646
13647 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13648
13649         * tabular.C: remove some commented code.
13650
13651 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13652
13653         * BufferView_pimpl.C: call hideSplash()
13654
13655         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13656
13657         * include_form.h:
13658         * bibforms.h: remove
13659
13660         * lyxfunc.C:
13661         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13662           add LFUN_CHILD_CREATE
13663
13664         * counters.h: fix tiny typo
13665
13666         * lyx_cb.C:
13667         * lyx.h:
13668         * lyx_gui.C:
13669         * lyx.C: move splash to frontends/xforms/
13670
13671         * lyx_gui_misc.C: move Include and Bibform to frontends
13672
13673         * lyxvc.h: clarify comment
13674
13675         * vspace.C: tiny housekeeping
13676
13677 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13678
13679         * text.C (PrepareToPrint): RTL Fix.
13680
13681         * paragraph.C (GetUChar): New method.
13682         (String):  Use GetUChar.
13683
13684         * buffer.C (asciiParagraph): Use GetUChar.
13685
13686 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13687
13688         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13689
13690 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13691
13692         * buffer.h:
13693         * buffer.C: rename to getLogName(), handle
13694           build log / latex log nicely
13695
13696 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13697
13698         * MenuBackend.C:
13699         * MenuBackend.h: remove support for reference menuitem type.
13700
13701 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13702
13703         * BufferView_pimpl.C: housekeeping
13704         * BufferView_pimpl.h:
13705         * LyXView.h:
13706         * Makefile.am:
13707         * Timeout.C:
13708         * Timeout.h:
13709         * minibuffer.h: move Timeout GUI-I
13710
13711 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13712
13713         * lyxrc.C (read): Update converters data-structures.
13714
13715 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13716
13717         * LaTeX.h (operator!=): add operator != for Aux_Info
13718
13719 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13720
13721         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13722
13723         * LaTeXLog.C: deleted, useful code moved to Buffer
13724
13725         * buffer.h:
13726         * buffer.C: new function getLatexLogName()
13727
13728         * lyx_gui_misc.C:
13729         * lyx_gui.C:
13730         * lyxvc.C:
13731         * lyxvc.h:
13732         * lyxfunc.C: use frontends for LaTeX and VC logs
13733
13734 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13735
13736         * LaTeX.h: yet another std:: that Allan forgot.
13737
13738         * Variables.C (set): renamed from isset(), because this clashes
13739         with some HP-UX macros (grr).
13740
13741 2001-02-06  Allan Rae  <rae@lyx.org>
13742
13743         * LaTeX.h: Another bug fix.  Missing std:: this time.
13744
13745 2001-02-04  Allan Rae  <rae@lyx.org>
13746
13747         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13748         floats problem. I've left it commented out because it's not quite
13749         correct.  It should also test that the current object is a table or
13750         figure inset.  But I haven't gotten around to figuring out how to do
13751         that.  I *think* it'll be something like: "table" == inset.type()
13752
13753         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13754         bool.
13755
13756 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13757
13758         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13759         all the citation/databases/styles in the auxilary file.
13760         (run): Rerun latex if there was a babel language error.
13761
13762 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13763
13764         * text.C (Backspace): Preserve the font when changing newline char
13765         with a space.
13766         (BreakParagraph): If the cursor is before a space, delete the space.
13767
13768         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13769
13770 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13771
13772         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13773         new argument (code).
13774         (ChangeCitationsIfUnique): New method.
13775
13776         * paragraph.C (GetPositionOfInset): Handle bibkey.
13777
13778 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13779
13780         * BufferView_pimpl.h: change type of Position::par_pos to
13781         LyXParagraph::size_type.
13782
13783 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13784
13785         * BufferView_pimpl.C (savePosition, restorePosition): Write
13786         messages to minibuffer.
13787
13788 2001-01-28  José Matos  <jamatos@fep.up.pt>
13789
13790         * buffer.C (makeDocBookFile): adds support for document language.
13791         A silly restriction on the name of LatexCommand types where removed.
13792         Added support for CDATA sections, allows to chars unescaped, used
13793         among others in code, to avoid escape < and >.
13794
13795 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13796
13797         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13798         saved positions instrad of a stack. Furthermore, a position is
13799         stored using paragraph id/paragraph position.
13800
13801         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13802         Remove LFUN_REF_BACK.
13803
13804 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13805
13806         * converter.C (dvipdfm_options): New method.
13807
13808 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13809
13810         * vspace.C (isValidLength): Fix for empty input string.
13811
13812 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13813
13814         * LyXAction.C (init): change description of LFUN_FIGURE to
13815         "Insert Graphics"
13816
13817 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13818
13819         * LaTeX.C: add using directive
13820
13821 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13822
13823         * MenuBackend.C (expand): Fix the sorting of the formats.
13824
13825 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13826
13827         * lyx_main.C: tiny error message fix
13828
13829 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13830
13831         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13832         calling fl_initialize(). This fixes the problem with ',' as
13833         decimal separator in text files.
13834
13835 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13836
13837         * trans.C (process): Fix the keymap bug.
13838
13839 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13840
13841         * LaTeX.C (scanAuxFiles): New method. Provides support for
13842         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13843         (scanLogFile) Scan for "run BibTeX" messages.
13844
13845         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13846         OT1 font encoding. Also, load the aecompl package if the ae
13847         package is loaded.
13848
13849         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13850
13851 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13852
13853         * texrow.C (increasePos): turn two error messages into debug
13854         messages.
13855
13856 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13857
13858         * LaTeX.C (scanAux): Handle the \@input macro.
13859         (runBibTeX): Use scanAux().
13860
13861         * language.C (latex_options_): New field.
13862
13863         * LaTeXFeatures.C (getMacros): Add language macros.
13864
13865         * buffer.C (makeLaTeXFile): Small fix.
13866
13867 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13868
13869         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13870
13871         * text2.C: add a using directive.
13872
13873 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13874
13875         * BufferView2.C:
13876         * lyx_gui_misc.h:
13877         * lyxfr1.C:
13878         * lyxfunc.C: kill LyXBell.
13879
13880 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13881
13882         * text.C (IsBoundary): Remove the error message
13883
13884         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13885
13886         * lyxrc.C (setDefaults): Correct initialization value for
13887         font_norm_type.
13888
13889 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13890
13891         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13892         gotoError().
13893
13894         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13895         and GotoNextNote().
13896
13897         * src/LyXAction.C: Added reference-next.
13898
13899         * text.C (InsertChar): Use contains instead of strchr.
13900
13901         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13902
13903 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13904
13905         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13906         alignment commands (when needed).
13907
13908         * text.C (InsertChar): Add ':' to number separator chars.