]> git.lyx.org Git - features.git/blob - src/ChangeLog
no need for three calls to update() in a row...
[features.git] / src / ChangeLog
1
2 2003-11-13  André Pönitz  <poenitz@gmx.net>
3
4         * InsetList.[Ch]: remove deleteLyXText
5
6         * paragraph.[Ch]: cache beginOfBody position
7
8         * Bidi.C:
9         * text.C:
10         * text2.C:
11         * text3.C: remove superfluous update() calls
12
13         * vspace.C: cleanup
14
15 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
16
17         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
18         * BufferView.C (fitLockedInsetCursor): remove
19         * cursor.[Ch] (getDim): add
20         * text.C (getRowNearY): add faster version
21         * text3.C: remove some update calls
22
23 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
24
25         * LaTeXFeatures.C:
26         * LyXAction.C:
27         * MenuBackend.C:
28         * MenuBackend.h:
29         * dispatchresult.h:
30         * factory.C:
31         * lfuns.h:
32         * lyxfunc.C:
33         * lyxtextclass.C:
34         * lyxtextclass.h:
35         * text3.C: The Character Style /XML short element patch.
36
37 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
38
39         * text3.C:
40         * factory.C: Small step to solving 'unable to insert some insets'
41         problem
42
43 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
44
45         * cursor.[Ch] (updatePos): new function for updating the y
46         position of the tip inset
47         * bufferview_funcs.C (put_selection_at): 
48         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
49
50 2003-11-11  André Pönitz  <poenitz@gmx.net>
51
52         * text.C: remove big comment on invalid Paragraph pointers as it is
53         not valid anymore
54
55 2003-11-11  André Pönitz  <poenitz@gmx.net>
56
57         * text_funcs.[Ch]: merge with ...
58
59         * text.C: ... this
60
61         * lyxtext.h:
62         * text2.C:
63         * text3.C: adjust
64
65         * Makefile.am: remove text_funcs.[Ch]
66
67 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
68
69         * cursor.C (getPos): return absolute cached y coord
70
71         * BufferView_pimpl.C (fitCursor): new simplistic code
72         (workAreaDispatch): add a fitCursor call
73
74 2003-11-10  André Pönitz  <poenitz@gmx.net>
75
76         * BufferView.[Ch]:
77         * BufferView_pimpl.[Ch]: merge update() and updateInset()
78
79 2003-11-10  André Pönitz  <poenitz@gmx.net>
80
81         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
82         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
83         indicate that the cursor needs to leave an inset
84
85         * lyxtext.h: remove inset locking
86
87         * cursor.[Ch]: re-implement functionality provided by inset locking
88
89         * BufferView.[Ch]:
90         * BufferView_pimpl.[Ch]:
91         * LyXAction.C:
92         * bufferview_funcs.[Ch]:
93         * factory.C:
94         * funcrequest.[Ch]:
95         * iterators.C:
96         * lyx_cb.C:
97         * lyxfind.C:
98         * lyxfunc.C:
99         * text.C:
100         * text2.C:
101         * text3.C:
102         * undo.C: adjust
103
104 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
105
106         * PosIterator.[Ch]: replace the stack with a vector, add inset 
107         accesor
108         * iterators.[C]: adjust
109
110 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
111
112         * lyxfind.C (replaceAll): mark the buffer dirty if something was
113         replaced
114         * paragraph_funcs.C (readParToken): put the correct id in the
115         error item, not the id of the top paragraph
116
117 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
118
119         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
120         * bufferview_funcs.C (put_selection_at): use the above
121
122 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
123
124         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
125
126 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
127
128         * output_linuxdoc.h: 
129         * output_plaintext.h: 
130         * output.h: 
131         * output_docbook.h: add #include statements
132
133 2003-11-05  José Matos  <jamatos@lyx.org>
134
135         * output_docbook.[Ch]:
136         * output_latex.[Ch]:
137         * output_linuxdoc.[Ch]:
138         * output_plaintext.[Ch]: New files for output formats.
139         * output.[Ch]: New file for helper functions.
140
141         * buffer.[Ch]:
142         * paragraph_funcs.[Ch]: output functions moved to new files.
143
144         * outputparams.h: rename of latexrunparams.h
145
146         * LaTeX.[Ch]:
147         * buffer.[Ch]:
148         * bufferlist.[Ch]:
149         * converter.[Ch]:
150         * exporter.C:
151         * paragraph.[Ch]:
152         * paragraph_funcs.[Ch]:
153         * paragraph_pimpl.[Ch]:
154         * tabular.[Ch]: rename ascii to plaintext
155         and LatexRunParams to OutputParams.
156         
157 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
158
159         * iterators.[Ch] (text): require bv argument
160         * undo.C (recordUndo): 
161         * lyxfunc.C (dispatch): 
162         * bufferview_funcs.C (put_selection_at): adjust
163
164 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
165
166         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
167
168 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
169
170         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
171         nestings
172
173 2003-11-04  André Pönitz  <poenitz@gmx.net>
174
175         * cursor.[Ch]: restructure
176
177         * BufferView.[Ch]:
178         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
179
180         * iterators.[Ch] (asCursor): remove
181
182         * lfuns.h: remove LFUN_INSET_EDIT
183
184         * lyxfunc.C:
185         * tabular.C:
186         * text.C:
187         * text2.C:
188         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
189
190 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
191
192         * lyxfind.[Ch]: complete overhaul
193         * BufferView_pimpl.C:
194         * lyxfunc.C: adjust
195         * paragraph.[Ch] (insert): add
196
197 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
198
199         * BufferView.[Ch]:
200         * lyxtext.h:
201         * text.C: remove dead spellcheck code
202         
203 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
204
205         * dispatchresult.h: add a val setter
206
207         * cursor.C (dispatch): use a tempvar for data_[i]
208
209 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
210
211         * PosIterator.[Ch]: compile fix
212
213 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
214
215         * text.C (cursorPar): deactivate the cursor cache
216
217 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
218
219         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
220
221 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
222
223         * text3.C (dispatch): adjust for new DisptchResult semantics.
224
225         * lyxfunc.C (dispatch): handle update when return from
226         Cursor::dispatch, adjust for new DispatchResult semantics.
227
228         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
229         DispatchResult(true) mean to not update. Add class functions for
230         setting dispatched and update, as well as reading.
231
232         * cursor.C (dispatch): don't handle update here
233
234 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
235
236         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
237         * trans_mgr.C: adjust
238
239         * paragraph_funcs.C (readParToken): exception safety
240
241         * lyxvc.h: store the vcs pointer in a scoped_ptr
242         * lyxvc.C: adjust
243
244         * lyxsocket.C (serverCallback): exception safety
245
246         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
247
248         * ispell.C (clone): make it return a auto_ptr
249
250         * factory.C (createInset): exception safety
251         (readInset): exception safety
252
253         * bufferlist.C (newBuffer): exception safety
254
255         * Thesaurus.C (Thesaurus): use initialization for aik_
256
257         * MenuBackend.C (expandToc): exception safety.
258
259 2003-11-03  André Pönitz  <poenitz@gmx.net>
260
261         * buffer.C:
262         * buffer.h:
263         * bufferview_funcs.C: remove getInsetFromId()
264
265         * lyxcursor.[Ch]:
266         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
267
268         * lyxfunc.C:
269         * text2.C:
270         * text3.C: adjust
271
272 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
273
274         * PosIterator.C (distance, advance): new
275         * bufferview_funcs.[Ch] (put_selection_at): new
276         * iterators.[Ch] (lockPath): new
277
278 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
279
280         * iterators.[Ch] (asPosIterator): added
281         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
282         * PosIterator.[Ch]: added
283
284 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
285
286         * text3.C:
287         * lyxfunc.C:
288         * cursor.C (dispatch):
289         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
290
291         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
292         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
293         contructor, add a class function dispatched. Remove operator>=
294
295 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
296
297         * debug.C: only use the default constructor for debugstream
298         (lyxerr) here.
299
300         * main.C (main): include debug.h and setup the lyxerr streambuf
301         here.
302
303 2003-10-31  José Matos  <jamatos@lyx.org>
304
305         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
306
307         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
308         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
309         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
310         * paragraph_pimpl.C (simpleTeXSpecialC):
311         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
312         add LatexRunParams argument.
313
314         * exporter.C (Export): change call accordingly.
315
316         * latexrunparams.h: add new member to take care of the other backends.
317 2003-10-30  José Matos  <jamatos@lyx.org>
318
319         * buffer.C (makeLinuxDocFile, makeDocBookFile):
320         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
321         factorise code for paragraph output.
322         * buffer.[Ch]:
323         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
324         move functions.
325
326 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
327
328         * text3.C (dispatch):
329         * lyxfunc.C (dispatch):
330         * cursor.C (dispatch):
331         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
332
333         * dispatchresult.h: make the dispatch_result_t ctor explicit
334
335 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
336
337         * sgml.[Ch]:
338         * buffer.C: small refactoring of docbook stuff
339
340 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
341
342         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
343         meaning.
344
345 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
346
347         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
348         operator dispatch_result_t, and operators for == != and >=
349
350         * cursor.C (dispatch): adjust for operator dispatch_result_t
351         removal. comment out call to update
352
353         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
354
355 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
356
357         * text3.C:
358         * text2.C:
359         * text.C:
360         * lyxtext.h:
361         * lyxfunc.C:
362         * cursor.C:
363         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
364         (dispatch):
365
366         * dispatchresult.h: new file, DispatchResult broken out of
367         insets/insetbase.h
368
369         * Makefile.am (lyx_SOURCES): add dispatchresult.h
370
371 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
372
373         * text.C (rowBreakPoint): put a hack inside #if 0
374
375 2003-10-28  André Pönitz  <poenitz@gmx.net>
376
377         * lyxtext.h:
378         * metricsinfo.C:
379         * paragraph_funcs.C:
380         * rowpainter.C:
381         * text.C:
382         * text2.C: general cleanup (lots of small stuff)
383
384 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
385
386         * text2.C (cursorEnd): simple fix to the "end key goes to one
387         before the end on last row" bug
388
389 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
390
391         * text.C (backspace): fix the "zombie characters"
392
393 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
394
395         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
396
397 2003-10-27  André Pönitz  <poenitz@gmx.net>
398
399         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
400
401         * factory.C: handle new InsetPagebreak, InsetLine
402
403         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
404         and move handling into new InsetPagebreak, InsetLine
405
406         * BufferView_pimpl.C:
407         * LyXAction.C:
408         * ParagraphParameters.C:
409         * ParameterStruct.h:
410         * lyxfunc.C:
411         * lyxtext.h:
412         * paragraph.C:
413         * paragraph.h:
414         * paragraph_funcs.C:
415         * paragraph_pimpl.C:
416         * rowpainter.C:
417         * text.C:
418         * text2.C:
419         * text3.C: adjust
420
421 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
422
423         * text.C:
424         * lyxrow_funcs.[Ch]:
425         * Bidi.C:
426         * paragraph.C:
427         * lyxtext.h:
428         * rowpainter.C:
429         * text2.C:
430         * text3.C: remove lastPos uses in favour of Row::endpos
431
432 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
433
434         * undo.C (performUndoOrRedo): fix two crashes by setting a
435         cursor by hand and reordering some calls. Use bv->lockInset instead
436         of inset->edit because the latter loses cursor information
437
438 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
439
440         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
441         by Martin
442         (rowBreakPoint): fix width. change point to point + 1.
443         Add a missing check.
444
445 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
446
447         * MenuBackend.C:
448         * lyxfunc.C: fix (at least partly) the problems
449         with the Nav menu and headers inside branch insets
450         reported by Kayvan
451
452 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
453
454         * paragraph.C (getChar): add strong asserts
455
456         * lyxrow_funcs.C (lastPos): remove hideous hack
457
458         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
459         (fill): adjust to that (avoid an infinite loop)
460
461 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
462
463         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
464
465 2003-10-23  André Pönitz  <poenitz@gmx.net>
466
467         * RowList_fwd.h: change list<> to vector<> to gain speed
468         after suggestion from Alfredo
469
470 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
471
472         * lyxtext.h: move the bidi stuff from here...
473         * text.C: and here
474         * text2.C: and here
475         * Bidi.[Ch]: ... to here
476
477 2003-10-23  André Pönitz  <poenitz@gmx.net>
478
479         * lyxtext.h:
480         * text.C (isLastRow, isFirstRow): new functions
481
482         * paragraph.h: new width cache member
483
484         * rowpainter.C: replace RowList::iterator with Row & where possible
485
486         * lyxfunc.C: replace several view()->text with a single call
487
488         * toc.C: fix 'unused' warning
489
490 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
491
492         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
493         when woring with stream::pos_type
494         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
495
496 2003-10-22  André Pönitz  <poenitz@gmx.net>
497
498         * lyxtext.h:
499         * text.C: use Row & instead of RowList::iterator
500
501         * lyxrow.h: rename end() to endpos()
502
503         * rowpainter.C:
504         * text.C:
505         * text2.C: adjust
506
507 2003-10-22  Angus Leeming  <leeming@lyx.org>
508
509         * buffer.[Ch] (fully_loaded): new member function, returning true
510         only when the file has been loaded fully.
511         Used to prevent the premature generation of previews and by the
512         citation inset to prevent computation of the natbib-style label.
513
514         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
515         templates are all set up.
516
517         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
518
519 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
520
521         * text.C: fixed an "oops" in the "is a bit silly"
522         bug fix
523
524 2003-10-21  André Pönitz  <poenitz@gmx.net>
525
526         * FuncStatus.[Ch]: small stuff, whitespace
527
528         * lyxfont.[Ch]: operator<<() for debug reasons
529
530         * lyxfunc.C:
531         * lyxrow_funcs.C:
532         * lyxtext.h: whitespace, spelling
533
534         * paragraph.C: naming of variables
535
536         * text.C:
537         * text2.C: small stuff
538
539
540 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
541
542         * text.C: (1) finish off the inset display() work;
543         (2) fix the "is a bit silly" bug (accessing char
544         past end of par).
545
546 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
547
548         * text.C: re-introduce display() for insets, fixing the
549         various bugs (stretch of line above, math inset
550         positioning, ...)
551
552 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
553
554         * text.C (rightMargin): remove spurious semicolon
555
556         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
557         1415)
558
559 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
560
561         * text3.C: fix one crash due to wrong cursor def
562
563 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
564
565         * vc-backend.C (scanMaster): make the regex static
566
567         * LaTeX.C (scanAuxFile): make the regexs static
568
569         * text3.C (doInsertInset, dispatch, dispatch):
570         * text2.C (cursorUp, cursorDown):
571         * text.C (selectNextWordToSpellcheck):
572         * BufferView_pimpl.C (dispatch):
573         * lyxfunc.C (dispatch):  localDispatch -> dispatch
574
575 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
576
577         * lyxsocket.C: include <cerrno>
578
579 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
580
581         * lyxfunc.C (dispatch): remove textcache stuff
582
583         * bufferlist.C (release): remove textcache stuff
584         (closeAll): ditto
585
586         * TextCache.C: delete file
587         * TextCache.h: delete file
588
589         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
590
591         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
592         delete of the bv_->text.
593         (resizeCurrentBuffer): remove texcache stuff
594         (workAreaResize): ditto
595
596 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
597
598         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
599         action.
600
601 2003-10-16  André Pönitz  <poenitz@gmx.net>
602
603         * lyxrow.[Ch]:
604         * paragraph.h:
605         * rowpainter.C:
606         * text.C:
607         * text2.C:
608         * text3.C: speed up by storing y positions per paragraph plus per-row
609         offset instead of having a 'full' y position in the row.
610
611 2003-10-15  André Pönitz  <poenitz@gmx.net>
612
613         * iterators.[Ch]:
614         * iterators.[Ch]:
615         * undo.[Ch]: make undo aware of inner insets
616
617 2003-10-14  Angus Leeming  <leeming@lyx.org>
618
619         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
620         static member functions LyX::ref() and LyX::cref.
621         (lastfiles): new accessor functions for the new lastfiles_ member var.
622         (addLyXView, views_): add a new LyXView to the list of views_.
623         (updateInset): loop over all LyXViews to call their own updateInset
624         member function, returning a pointer to the Buffer owning the inset.
625
626         * BufferView_pimpl.C (loadLyXFile):
627         * MenuBackend.C (expandLastfiles):
628         * bufferlist.C (MenuWrite, QuitLyX):
629         lastfiles is no longer a global variable.
630         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
631
632         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
633         static function. Access through LyX::cref().emergencyCleanup().
634
635 2003-10-14  André Pönitz  <poenitz@gmx.net>
636
637         * iterators.[Ch]: new direct access to innermost LyXText and Inset
638
639         * undo.[Ch]: restoring part of 'undo in insets'
640
641         * Makefile.am:
642         * undo_funcs.[Ch]: merge with undo.[Ch]
643
644         * tabular.C: small cleansing stuff
645
646 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
647
648         * paragraph_funcs.C (readParToken): report unknown insets as error
649         boxes. Use the outer paragraph as location (also for unknown
650         tokens).
651
652         * factory.C (readInset): do not abort on reading an unknown inset.
653         Eat it and return 0.
654
655 2003-10-13  Angus Leeming  <leeming@lyx.org>
656
657         * lyx_main.C (LyX): remove call to setDisplayTranslator().
658
659         * lyxrc.C: displayTranslator is now a function,
660         declared in GraphicsTypes.h.
661
662 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
663
664         * format.C: new placeholder $$a to pass the socket address.
665
666         * bufferlist.[Ch]: new function getBufferFromTmp.
667
668         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
669           files in the temporary dir.
670
671 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
672
673         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
674
675         * Makefile.am: add lyxsocket.[Ch].
676
677         * lyx_main.C (error_handler): handle SIGPIPE.
678
679 2003-10-13  André Pönitz  <poenitz@gmx.net>
680
681         * BufferView_pimpl.C:
682         * lyxtext.h:
683         * text.C:
684         * text2.C:
685         * text3.C:
686         * undo_funcs.[Ch]: use paroffset_type instead of
687           ParagraphList::iterators to prevent multiple conversion
688           (and get a more robust interface)
689
690 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
691
692         * lyxfunc.C (dispatch): RESULT -> dispatch_result
693         * lyxtext.h: ditto
694         * text3.C (dispatch): ditto
695
696 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
697
698         * LaTeX.C (handleFoundFile): move the static to smaller scope,
699         move the onlyfile, use onlyfile instead of foundfile in a couple
700         of places.
701
702         * DepTable.C (update): flush the error stream a bit more
703
704 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
705
706         * lyxserver.C (callback): adjust
707
708         * lyxfunc.C (getStatus): add a missing brace in commented code
709         (ensureBufferClean): reindent
710         (dispatch): delete version taking a string
711
712 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
713
714         * LaTeX.C (deplog): move found file handlig from here...
715         (handleFoundFile): .. to new function here.
716         (deplog): make sure to discover several files mentioned on the
717         same log line.
718
719 2003-10-10  André Pönitz  <poenitz@gmx.net>
720
721         * lyxfunc.C:
722         * lyxtext.h:
723         * tabular.C:
724         * text.C:
725         * text2.C:
726         * text3.C: fix some of the tabular crashes
727
728 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
729
730         * MenuBackend.C (binding): put debug message into Debug::KBMAP
731
732         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
733
734 2003-10-09  André Pönitz  <poenitz@gmx.net>
735
736         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
737
738         * BufferView.C:
739         * BufferView_pimpl.C:
740         * bufferview_funcs.C:
741         * lyx_cb.C:
742         * lyxcursor.C:
743         * lyxfind.C:
744         * lyxfunc.C:
745         * lyxtext.h:
746         * text.C:
747         * text2.C:
748         * text3.C:
749         * text_funcs.[Ch]:
750         * textcursor.[Ch]:
751         * undo_funcs.C: adjust
752
753 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
754
755         * text2.C (incrementItemDepth): new function, use a backtracking
756         algorithm to discover the correct item depth.
757         (resetEnumCounterIfNeeded): new function, use a backtracking
758         algorithm to discover if counter reset is needed.
759         (setCounter): use them. Simplify a bit. Add different labels for
760         different item depths for itemize.
761
762         * paragraph.C (Paragraph): remove initialization of enumdepth
763         (operator=): ditto
764
765         * paragraph.h: get rid of enumdepth, and use itemdepth both for
766         enumerate and itemize. Change the type of itemdepth to signed char.
767
768 2003-10-08  André Pönitz  <poenitz@gmx.net>
769
770         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
771           thing assignable.
772         * text.C:
773         * text2.C: adjust
774
775         * tabular.[Ch]: fix crash after 'row-insert'
776
777 2003-10-08  Angus Leeming  <leeming@lyx.org>
778
779         Fix doxygen warnings.
780
781         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
782         Remove CutAndPaste:: prefix from header file declaration.
783
784         * LColor.h (fill): remove LColor:: prefix from declaration.
785
786         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
787         use lyx::depth_type rather than Paragraph::depth_type so that
788         header file and .C file match.
789
790         * converter.h (intToFormat): remove Converters:: prefix from declaration.
791
792         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
793         * aspell.C: \file aspell_local.C -> \file aspell.C
794         * gettext.C: \file gettext.C -> \file src/gettext.C
795         * gettext.h: \file gettext.h -> \file src/gettext.h
796         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
797         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
798         * text.C: \file text.C -> \file src/text.C
799
800         * toc.C: move comment so that doxygen is not confused.
801
802 2003-10-07  Angus Leeming  <leeming@lyx.org>
803
804         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
805
806 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
807
808         * aspell.C:
809         * aspell_local.h: add forgotten std::string's.
810
811 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
812
813         * LaTeXFeatures.C:
814         * LyXAction.C:
815         * factory.C:
816         * lfuns.h:
817         * lyxfunc.C:
818         * text3.C: The Box patch. Fancybox support, minipage, parbox
819
820 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
821
822         * CutAndPaste.h:
823         * DepTable.h:
824         * FloatList.h:
825         * LaTeXFeatures.h:
826         * ParagraphParameters.h:
827         * TextCache.h:
828         * Thesaurus.h:
829         * bufferlist.h:
830         * exporter.h:
831         * importer.h:
832         * lastfiles.h:
833         * lyxfind.h:
834         * lyxfont.h:
835         * lyxlex.h:
836         * lyxtextclasslist.h:
837         * messages.h:
838         * paragraph.h:
839         * paragraph_pimpl.C:
840         * textcursor.h: add <string> and other small fixes to make Lars'
841         std::string patch compile with STLport.
842
843 2003-10-06  Angus Leeming  <leeming@lyx.org>
844
845         * LColor.h: Add missing #include <string>.
846
847 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
848
849         * All most all file in all subdirs: Make <string> be the prefered
850         way of getting to std::string, add using declarations.
851
852 2003-10-06  André Pönitz  <poenitz@gmx.net>
853
854         * metricsinfo.C: initialize LyXFont before changing attribute.
855         (fixes the 'math in \emph is upright' bug)
856
857 2003-10-06  André Pönitz  <poenitz@gmx.net>
858
859         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
860
861 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
862
863         * graph.C:
864         * paragraph_pimpl.C: Small fixes to build using STLport
865
866 2003-10-02  André Pönitz  <poenitz@gmx.net>
867
868         * lyxfunc.C:
869         * text3.C: move handling of LFUN_DEPTH *; fix #1360
870
871 2003-10-01  André Pönitz  <poenitz@gmx.net>
872
873         * factory.C: assert early
874
875 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
876
877         * lyx_main.C: remove the global debug object
878
879         * debug.h: adjust for new debugstream
880
881         * debug.C: adjust for new debugstream and keep the global debug
882         object here.
883
884 2003-09-22  Angus Leeming  <leeming@lyx.org>
885
886         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
887         of g++ which otherwise complain that the scoped_ptr destructor can't delete
888         an incomplete class LyXFont.
889
890 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
891
892         * factory.C: bug fix in branches
893
894 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
895
896         * lyxfunc.C (processKeySym): adjust
897         (dispatch): adjust
898         (dispatch): change arg name from ev to func, adjust
899         (sendDispatchMessage): ditto
900
901         * lyx_main.C (defaultKeyBindings): adjust keybindings
902         (deadKeyBindings): ditto
903
904         * kbsequence.C (addkey): return a FuncRequest
905
906         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
907
908         * kbmap.C (bind): take a FuncRequest as arg, adjust
909         (read): adjust
910         (lookup): adjust
911         (defkey): change to take a FuncRequest as arg, adjust
912         (findbinding): take a FuncRequest as arg, adjust.
913
914         * funcrequest.h (operator=): added
915
916         * funcrequest.C (FuncRequest): default kb_action changed from
917         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
918
919         * buffer.C (dispatch): simplify
920         (dispatch): adjust to take a FuncRequest as arg, adjust
921
922         * boost.C (assertion_failed): change assertion message slightly
923
924         * ToolbarBackend.C (read): simplify
925
926         * MenuBackend.C (binding): adjust call to findbinding, add a
927         message if no binding is found.
928         (read): simplify
929         (expandToc): correct by adding a empty FuncRequest
930
931         * LyXAction.C: include <boost/assert.hpp>
932         (isPseudoAction): delete function
933         (LookupFunc): change name to...
934         (lookupFunc): this. change return type to FuncRequest.
935         (getActionName): take kb_action as arg, simplify
936         (funcHasFlag): add an assert, simplify.
937
938 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
939
940         * toc.C (action): return a FuncRequest, simplify
941
942         * lyxfunc.C (processKeySym): adjust
943         (getStatus): delete version that takes an int.
944         (getStatus): adjust
945         (dispatch): delete version that takes action as int
946         (dispatch): adjust
947         (sendDispatchMessage): simplify and adjust
948
949         * funcrequest.C (getArg): take unsigned int as arg
950
951         * ToolbarBackend.C (read): adjust
952         (add): delete version that takes func as a string.
953         (getIton): take a FuncRequest as arg
954
955         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
956         action.
957
958         * MenuBackend.C (MenuItem): add a new construct that only takes a
959         Kind, simplify the constructor use for submenus.
960         (add): adjust
961         (expandLastfiles): adjust
962         (expandDocuments): adjust
963         (expandFormats): adjust
964         (expandFloatListInsert): adjust
965         (expandFloatInsert): adjust
966         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
967
968         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
969         Remove class variables lyx_pseudo_map and lyx_arg_map
970
971         * LyXAction.C (searchActionArg): delete function
972         (getPseudoAction): delete function
973         (retrieveActionArg): delete function
974         (LookupFunc): make it return kb_action, simplify.
975         (getActionName): simplify
976
977         * factory.C (createInset): fix new bug
978
979 2003-09-19  Angus Leeming  <leeming@lyx.org>
980
981         * CutAndPaste.C (pasteSelection): remove fudge used to set the
982         masterFilename_ parameter in the include inset.
983
984         * factory.C (createInset): changes due to the changes to InsetInclude.
985
986 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
987
988         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
989
990 2003-09-18  Angus Leeming  <leeming@lyx.org>
991
992         * buffer.C:
993         * BufferView.C: pass the buffer when calling Inset::getLabelList,
994         Inset::fillWithBibKeys.
995         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
996
997 2003-09-18  Angus Leeming  <leeming@lyx.org>
998
999         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1000         variables.
1001         (ctor): pass and store a 'Buffer const &'
1002         (buffer): new member function.
1003
1004         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1005         '*this' to the LaTeXFeatures ctor.
1006
1007 2003-09-18  Angus Leeming  <leeming@lyx.org>
1008
1009         * LColor.h:
1010         * lyxfont.C:
1011         * lyxfont.h:
1012         * lyxtext.h:
1013         * text.C: rename EnumLColor as LColor_color.
1014
1015 2003-09-18  Angus Leeming  <leeming@lyx.org>
1016
1017         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1018         remove #include "insets/insetbase.h" from cursor.h.
1019
1020 2003-09-18  Angus Leeming  <leeming@lyx.org>
1021
1022         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1023         InsetOld_code to remove #include "inset.h".
1024
1025         * iterators.C: add #include "insets/inset.h"
1026
1027 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1028
1029         * BufferView.C: remove more locking stuff that apparently doesn't
1030         do anything sensible.
1031
1032 2003-09-16  André Pönitz  <poenitz@gmx.net>
1033
1034         * paragraph.[Ch]:
1035         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1036           performance boost.
1037
1038 2003-09-16  Angus Leeming  <leeming@lyx.org>
1039
1040         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1041
1042         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1043         arg/return type.
1044
1045         * paragraph.h: remove #include "lyxfont.h". Forward declare
1046         LyXFont_size.
1047
1048 2003-09-16  Angus Leeming  <leeming@lyx.org>
1049
1050         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1051         of support/textutils.h.
1052         (isWord): move the contents of support/textutils.h's IsWordChar here.
1053
1054         * buffer.C:
1055         * lyxfind.C:
1056         * rowpainter.C:
1057         * text.C:
1058         * text2.C: add #include "paragraph.h".
1059
1060         * rowpainter.C:
1061         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1062
1063 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1064
1065         * main.C:
1066         * lyx_main.C:
1067         * lyx_cb.C:
1068         * buffer.C:
1069         * LaTeX.C: use namespace alias for lyx::support::os
1070
1071 2003-09-16  Angus Leeming  <leeming@lyx.org>
1072
1073         * bufferparams.C:
1074         * bufferview_funcs.C:
1075         * factory.C:
1076         * lyxfunc.C:
1077         * paragraph_pimpl.C:
1078         * rowpainter.C:
1079         * text.C: add #include "LColor.h".
1080
1081 2003-09-16  Angus Leeming  <leeming@lyx.org>
1082
1083         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1084         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1085         return LyXFont &.
1086         Store the FontBits::color variable as an int rather than as an
1087         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1088         file.
1089
1090         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1091         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1092         string calls together.
1093
1094         * lyxrc.C: add #include "LColor.h".
1095
1096 2003-09-15  Angus Leeming  <leeming@lyx.org>
1097
1098         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1099         a cow_ptr.
1100
1101 2003-09-15  Angus Leeming  <leeming@lyx.org>
1102
1103         * LColor.h: add an EnumLColor wrapper for LColor::color.
1104
1105         * lyxfont.[Ch] (color, setColor, realColor):
1106         * lyxtext.h, text.C (backgroundColor):
1107         pass EnumLColor args to/from the functions, rather than LColor::color
1108         ones.
1109
1110         * lyxfont.h:
1111         * lyxtext.h: forward declare EnumLColor.
1112
1113         * lyx_main.C: add #include "LColor.h".
1114
1115 2003-09-15  Angus Leeming  <leeming@lyx.org>
1116
1117         * .cvsignore: add lyx-gtk.
1118
1119 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1120
1121         * Chktex.C
1122         * LaTeX.C
1123         * LaTeXFeatures.C
1124         * ParagraphParameters.C
1125         * Spacing.C
1126         * buffer.C
1127         * bufferparams.C
1128         * bufferview_funcs.C
1129         * chset.C
1130         * counters.C
1131         * funcrequest.C
1132         * lyxfont.C
1133         * lyxgluelength.C
1134         * lyxlength.C
1135         * paragraph.C
1136         * paragraph_funcs.C
1137         * text3.C
1138         * vc-backend.C: remove usage of STRCONV
1139
1140 2003-09-15  Angus Leeming  <leeming@lyx.org>
1141
1142         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1143         explicitly define the color passed to the painter.
1144
1145 2003-09-15  Angus Leeming  <leeming@lyx.org>
1146
1147         * bufferparams.C (BufferParams): reorder member initializers to avoid
1148         compiler warning.
1149
1150 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1151
1152         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1153         * text.C (updateRowPositions): remove an unusual nop
1154
1155 2003-09-12  André Pönitz  <poenitz@gmx.net>
1156
1157         * BufferView_pimpl.C:
1158         * Bullet.C:
1159         * layout.h:
1160         * lyxfunc.C:
1161         * lyxlayout.[Ch]:
1162         * lyxtextclass.C:
1163         * rowpainter.C:
1164         * text.C:
1165         * text2.C:
1166         * Counters.[Ch]: finish the 'automatic counters' job
1167
1168 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1169
1170         * aspell.C: include <boost/assert.cpp> (compile fix)
1171
1172 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1173
1174         * boost.C (assertion_failed): use lyx::support::abort instead of
1175         assert.
1176
1177 2003-09-10  Angus Leeming  <leeming@lyx.org>
1178
1179         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1180         with their _fwd progeny.
1181
1182 2003-09-09  Angus Leeming  <leeming@lyx.org>
1183
1184         134 files throughtout the source tree: replace 'using namespace abc;'
1185         directives with the appropriate 'using abc::xyz;' declarations.
1186
1187 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1188
1189         * boost.C (emergencyCleanup): moved here from LAssert.c
1190         (assertion_failed): new function, called by BOOST_ASSERT
1191
1192         * several files: change Assert to BOOST_ASSERT
1193
1194 2003-09-09  Angus Leeming  <leeming@lyx.org>
1195
1196         * buffer.[Ch]: Add an Impl class and move Buffer's member
1197         variables into it. As a result move several header files out of
1198         buffer.h.
1199
1200         Add header files to lots of .C files all over the tree as a result.
1201
1202 2003-09-09  Angus Leeming  <leeming@lyx.org>
1203
1204         * buffer.[Ch]: make Buffer's member variables private. Add
1205         accessor functions.
1206
1207         Lots of changes all over the tree as a result.
1208
1209 2003-09-08  Angus Leeming  <leeming@lyx.org>
1210
1211         * graph.C: #include <config.h>.
1212
1213 2003-09-08  Angus Leeming  <leeming@lyx.org>
1214
1215         * BranchList.C:
1216         * BufferView.C:
1217         * BufferView_pimpl.C:
1218         * CutAndPaste.C:
1219         * DepTable.C:
1220         * LaTeX.C:
1221         * LaTeXFeatures.C:
1222         * LyXAction.C:
1223         * MenuBackend.C:
1224         * TextCache.C:
1225         * aspell.C:
1226         * buffer.C:
1227         * bufferlist.C:
1228         * changes.C:
1229         * chset.C:
1230         * converter.C:
1231         * counters.C:
1232         * debug.C:
1233         * graph.C:
1234         * ispell.C:
1235         * lyx_cb.C:
1236         * lyxfind.C:
1237         * lyxfunc.C:
1238         * lyxlex_pimpl.C:
1239         * lyxrc.C:
1240         * lyxrow.C:
1241         * paragraph.C:
1242         * rowpainter.C:
1243         * texrow.C:
1244         * text.C:
1245         * text2.C:
1246         * toc.C: remove redundant using directives.
1247
1248 2003-09-07  Angus Leeming  <leeming@lyx.org>
1249
1250         * LaTeXFeatures.h: remove #include "support/types.h".
1251         * ToolbarBackend.h: remove #include <algorithm>.
1252         * changes.h: remove #include <ctime>.
1253         * debug.h: remove #include <iosfwd>.
1254         * graph.h: remove #include "support/std_string.h".
1255         * lyx_main.h: remove #include <csignal>.
1256         * lyxlex_pimpl.h: remove #include <fstream>.
1257         * sgml.h: remove #include <algorithm>, <utility>.
1258         * toc.h: remove #include "support/std_ostream.h".
1259         Add #include <iosfwd>.
1260
1261 2003-09-07  Angus Leeming  <leeming@lyx.org>
1262
1263         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1264
1265         * converter.h: forward declare LatexRunParams.
1266         * encoding.h: remove #include "lyxrc.h".
1267         * lyxtext.h: remove #include "LColor.h".
1268         * lyxtextclass.h: remove #include "support/types.h".
1269         * trans.h: remove #include "tex-accent.h".
1270         * trans_mgr.h: remove #include "tex-accent.h".
1271         * insets/inset.h: remove #include "support/types.h", <vector>.
1272         * insets/insetcollapsable.h: remove #include "LColor.h".
1273         * insets/insetinclude.h: remove #include "dimension.h".
1274         * insets/insetlatexaccent.h: remove #include "dimension.h".
1275         * insets/insetoptarg.h:: remove #include "insettext.h".
1276         * insets/insettext.h: remove #include "dimension.h",
1277         <boost/shared_ptr.hpp>
1278
1279         * insets/renderers.h: add #include "dimension.h".
1280         * insets/updatableinset.h: add #include "support/types.h".
1281
1282         * many .C files: Associated changes.
1283
1284 2003-09-06  Angus Leeming  <leeming@lyx.org>
1285
1286         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1287         one, inside testInvariant.
1288
1289         * PrinterParams.C: new file.
1290         * PrinterParams.[Ch]: move the function bodies out of line.
1291
1292 2003-09-06  Angus Leeming  <leeming@lyx.org>
1293
1294         * ParagraphParameters.h: forward declare ParameterStruct rather than
1295         including its header file.
1296         (depth): moved out-of-line.
1297
1298 2003-09-06  Angus Leeming  <leeming@lyx.org>
1299
1300         * BufferView_pimpl.h:
1301         * kbmap.h:
1302         * kbsequence.h:
1303         * lyxfunc.h: forward declare LyXKeySym rather than
1304         #include "frontends/LyXKeySym.h".
1305
1306         * BufferView_pimpl.C:
1307         * kbmap.C:
1308         * kbsequence.C:
1309         * lyxfunc.C: associated changes.
1310
1311 2003-09-06  Angus Leeming  <leeming@lyx.org>
1312
1313         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1314         As a result, can remove the #include "insets/inset.h" from BufferView.h
1315
1316 2003-09-06  Angus Leeming  <leeming@lyx.org>
1317
1318         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1319         As a result, can remove the #include "insets/inset.h" from BufferView.h
1320
1321 2003-09-06  Angus Leeming  <leeming@lyx.org>
1322
1323         * buffer_funcs.C:
1324         * buffer.h:
1325         * bufferlist.C:
1326         * BufferView.C:
1327         * bufferview_funcs.C:
1328         * BufferView_pimpl.C:
1329         * CutAndPaste.C:
1330         * lyx_cb.C:
1331         * lyxfunc.C:
1332         * paragraph.h:
1333         * ParagraphParameters.C:
1334         * tabular.C:
1335         * text3.C:
1336         * toc.C:
1337         * undo_funcs.C:
1338         * frontends/controllers/ControlDocument.C:
1339         * insets/insetcaption.C: rearrange the #includes into some sort of
1340         coherent order.
1341
1342         * buffer.h: remove #includes ErrorList.h, undo.h
1343
1344 2003-09-06  Angus Leeming  <leeming@lyx.org>
1345
1346         * support/types.h: add a 'depth_type' typedef, used to store the
1347         nesting depth of a paragraph.
1348
1349         * paragraph.h:
1350         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1351         defining explicitly.
1352
1353         * buffer.h:
1354         * paragraph_funcs.h:
1355         * ParagraphParameters.h:
1356         * sgml.h: use lyx::depth_type rather than Paragraph or
1357         ParameterStruct's depth_type.
1358
1359         * buffer.h
1360         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1361
1362         * BufferView.C:
1363         * BufferView_pimpl.C:
1364         * CutAndPaste.C:
1365         * ParagraphParameters.C:
1366         * buffer_funcs.C:
1367         * bufferlist.C:
1368         * bufferview_funcs.C:
1369         * lyx_cb.C:
1370         * lyxfunc.C:
1371         * tabular.C:
1372         * text3.C:
1373         * toc.C:
1374         * undo_funcs.C:
1375         * frontends/LyXView.C:
1376         * frontends/controllers/ControlDocument.C:
1377         * frontends/controllers/ControlErrorList.C:
1378         * insets/insetbibitem.C:
1379         * insets/insetbranch.C:
1380         * insets/insetcaption.C:
1381         * insets/insetcollapsable.C:
1382         * insets/insetenv.C:
1383         * insets/insetert.C:
1384         * insets/insetfloat.C:
1385         * insets/insetfoot.C:
1386         * insets/insetfootlike.C:
1387         * insets/insetnewline.C:
1388         * insets/insetquotes.C:
1389         * insets/insettabular.C:
1390         * insets/insettext.C:
1391         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1392
1393         * frontends/controllers/ControlChanges.C: #include "changes.h".
1394
1395 2003-09-06  Angus Leeming  <leeming@lyx.org>
1396
1397         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1398         than #including paragraph.h.
1399
1400         * ParagraphList.h:
1401         * RowList.h: deleted. Superfluous.
1402
1403         * CutAndPaste.h:
1404         * iterators.h:
1405         * lyxcursor.h:
1406         * lyxtext.h:
1407         * text_funcs.h:
1408         * undo.h:
1409         * undo_funcs.h:
1410         * insets/inset.h:
1411         * insets/insettext.h: use ParagraphList_fwd.h rather than
1412         ParagraphList.h.
1413
1414         * paragraph.h: don't forward declare ParagraphList.
1415
1416         * buffer.h:
1417         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1418         rather than ParagraphList.h. paragraph.h is still needed for the
1419         Paragraph::depth_type parameters.
1420
1421         * textcursor.h: enable it to compile stand-alone in light of the
1422         above changes.
1423
1424         * bufferview_funcs.C:
1425         * iterators.C:
1426         * lyxfunc.C:
1427         * lyxrow_funcs.C:
1428         * paragraph.C:
1429         * rowpainter.C:
1430         * text.C:
1431         * text2.C:
1432         * text3.C:
1433         * text_funcs.C:
1434         * textcursor.C:
1435         * undo.C:
1436         * frontends/controllers/ControlParagraph.C:
1437         * frontends/controllers/ControlTabular.C:
1438         * insets/insetmarginal.C:
1439         * insets/insetminipage.C:
1440         * insets/insetnote.C:
1441         * insets/insetoptarg.C: add header files needed to compile again.
1442
1443 2003-09-06  Angus Leeming  <leeming@lyx.org>
1444
1445         * RowList_fwd.h: new file, forward-declaring Row rather than
1446         #including lyxrow.h.
1447
1448         * lyxrow_funcs.h:
1449         * lyxtext.h:
1450         * paragraph.h:
1451         * insets/insettext.h: use it instead of RowList.h
1452
1453         * bufferview_funcs.C:
1454         * lyxfunc.C:
1455         * lyxrow_funcs.C:
1456         * paragraph.C:
1457         * rowpainter.C:
1458         * text.C:
1459         * text2.C:
1460         * text3.C: #include "RowList.h".
1461
1462 2003-09-05  Angus Leeming  <leeming@lyx.org>
1463
1464         * factory.C (createInset):
1465         * vspace.C (c-tor): replace sscanf call with an istringstream.
1466         * ispell.C: re-add missing HP/UX headers.
1467         * lyxserver.C: re-add missing  os2 headers.
1468
1469 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1470
1471         * BranchList.C:
1472         * graph.C:
1473         * ispell.C:
1474         * lastfiles.C:
1475         * lyx_cb.C:
1476         * lyxserver.C:
1477         * texrow.C:
1478         * text3.C: re-add missing system headers, needed for 2.95.2.
1479
1480 2003-09-05  Angus Leeming  <leeming@lyx.org>
1481
1482         Changes most place everywhere due to the removal of using directives
1483         from support/std_sstream.h.
1484
1485 2003-09-05  Angus Leeming  <leeming@lyx.org>
1486
1487         Replace LString.h with support/std_string.h,
1488         Lsstream.h with support/std_sstream.h,
1489         support/LIstream.h with support/std_istream.h,
1490         support/LOstream.h with support/std_ostream.h.
1491
1492         Changes resulting throughout the tree.
1493
1494 2003-09-05  Angus Leeming  <leeming@lyx.org>
1495
1496         * sgml.h: ensure that the header file can be compiled stand-alone.
1497         * *.C: strip out redundant #includes. (320 in total.)
1498
1499 2003-09-04  Angus Leeming  <leeming@lyx.org>
1500
1501         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1502         here (from getPackages).
1503
1504         * debug.[Ch]: add a new EXTERNAL tag.
1505
1506 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1507
1508         * text2.C (cursorEnd): simplify
1509         (setCursor): adjust
1510         (getColumnNearX): adjust
1511
1512         * text.C (computeBidiTables): adjust
1513         (fill): adjust
1514
1515         * rowpainter.C (paintChars): adjust
1516         (paintSelection): adjust
1517         (paintChangeBar): adjust
1518         (paintText): adjust
1519
1520         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1521         lastPos instead.
1522         (numberOfSeparators): adjust
1523
1524 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1525
1526         * LyXAction.C:
1527         * box.[Ch]:
1528         * lfuns.h:
1529         * lyxfunc.C:
1530         * text3.C: Restricts the mouse click functionality
1531         of insets like bibtex, include, toc and floatlist to the visible
1532         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1533         up the dialogs. Cursor has to be in front of the inset (i.e.
1534         start of row) for this to function.
1535
1536 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1537
1538         * bufferview_funcs.C (currentState): output row information
1539
1540 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1541
1542         * bufferview_funcs.C (currentState): output paragraph position
1543
1544 2003-09-04  Angus Leeming  <leeming@lyx.org>
1545
1546         * FloatList.h: move out #include "Floating.h".
1547         * LaTeX.h: move out #include "DepTable.h".
1548         * LyXAction.h: move out #include "funcrequest.h".
1549         * buffer.h: move out #include "author.h", "iterators.h".
1550         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1551         * lyx_main.h: move out #include "errorlist.h".
1552         * lyxfunc.h: move out #include "FuncStatus.h".
1553         * lyxtext: move out #include "lyxcursor.h".
1554         * paragraph_pimpl.h: move out #include "counters.h".
1555
1556 2003-09-03  Angus Leeming  <leeming@lyx.org>
1557
1558         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1559         preamble_snippets list, enabling us to add snippets to the preamble
1560         only if the snippet was not there already.
1561
1562 2003-09-04  Angus Leeming  <leeming@lyx.org>
1563
1564         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1565
1566 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1567
1568         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1569         update
1570
1571 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1572
1573         * BranchList.C: point fix, earlier forgotten
1574
1575 2003-09-02  Angus Leeming  <leeming@lyx.org>
1576
1577         * box.C (contains): renamed from 'contained' after a fantastic
1578         amount of hot air.
1579
1580 2003-09-02  John Levon  <levon@movementarian.org>
1581
1582         * BufferView.C:
1583         * lyxcursor.h:
1584         * lyxcursor.C:
1585         * lyxfunc.C:
1586         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1587
1588 2003-09-02  John Levon  <levon@movementarian.org>
1589
1590         * text2.C: simplification of cursorEnd(), including partial
1591         fix for bug 1376
1592
1593 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1594
1595         * buffer.C (readFile): add a space
1596
1597 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1598
1599         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1600
1601 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1602
1603         * buffer.C (readFile): new function, take a filename and a
1604         ParagraphList::iterator
1605         (readFile): adjust
1606         (readFile): adjust, make it private. don't use setStream, make
1607         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1608         always contain the filename.
1609
1610         * BufferView.C (insertLyXFile): simplify and make it work for
1611         gzipped files.
1612
1613 2003-08-30  John Levon  <levon@movementarian.org>
1614
1615         * Makefile.am: fix dist (from Kayvan)
1616
1617 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1618
1619         * most files: change to use const Buffer refs
1620
1621 2003-08-27  André Pönitz  <poenitz@gmx.net>
1622
1623         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1624         on top of ownerPar().
1625
1626 2003-08-27  John Levon  <levon@movementarian.org>
1627
1628         * funcrequest.C: properly initialise POD members
1629
1630 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1631
1632         * lyxtext.h (top_y): move top_y from here
1633         * text.C:
1634         * text2.C:
1635         * text3.C:
1636         * BufferView.[Ch]:
1637         * BufferView_pimpl.[Ch]: to here
1638         * frontends/screen.C:
1639         * insets/insettabular.C:
1640         * insets/insettext.C: adjust
1641         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1642
1643 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1644
1645         * BufferView.[Ch]:
1646         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1647
1648 2003-08-26  André Pönitz  <poenitz@gmx.net>
1649
1650         * paragraph_func.[Ch] (outerPar): new function
1651
1652         * paragraph.C:
1653         * paragraph_funcs.C:
1654         * paragraph_funcs.h:
1655         * paragraph_pimpl.C:
1656         * text2.C: remove Inset::par_owner
1657
1658 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1659
1660         * lyxrow_funcs.C:
1661         * lyxtext.h:
1662         * text.C:
1663         * text2.C: eliminates the needFullRow/display() stuff
1664         altogether, putting the logic in metrics/draw in the insets.
1665
1666 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1667
1668         * text2.C (redoParagraphInternal, redoParagraphs):
1669         * text.C (redoParagraph): add a call to updateRowPositions at the
1670         end of each 'metrics-like' call. Remove all others.
1671         (getRow): remove the 'y-computing' version.
1672         (getRowNearY): do not compute nor return the real y. Solve the
1673         'y < 0' problem and simplify.
1674
1675 2003-08-22  Angus Leeming  <leeming@lyx.org>
1676
1677         * *.[Ch]: clean-up of licence and author blurbs.
1678         Also move config.h out of a few .h files and into a few .C files.
1679
1680 2003-08-22  André Pönitz  <poenitz@gmx.net>
1681
1682         * lyxrow.[Ch]: add x_ and *fill_ members
1683
1684         * lyxtext.h:
1685         * text.C:
1686         * rowpainter.C:
1687         * text2.C: adjust/remove prepareToPrint() calls
1688
1689 2003-08-22  André Pönitz  <poenitz@gmx.net>
1690
1691         * lyxrow.[Ch]: add  end_ member
1692
1693         * lyxrow_funcs.C: use LyXRow::end_
1694
1695         * lyxtext.h (singleWidth): add LyXFont parameter
1696
1697         * rowpainter.C:
1698         * text2.C: adjust LyXText::singleWidth() calls
1699
1700         * text.C (redoParagraph): simplify row breaking logic
1701
1702
1703 2003-08-19  André Pönitz  <poenitz@gmx.net>
1704
1705         * funcrequest.C: initialize button_ member
1706
1707         * text3.C:
1708         * rowpainter.[Ch]: interface consolidation
1709
1710 2003-08-18  André Pönitz  <poenitz@gmx.net>
1711
1712         * BufferView.C:
1713         * BufferView_pimpl.C:
1714         * lyxfind.C:
1715         * paragraph_funcs.C:
1716         * rowpainter.C:
1717         * text3.C: remove LyXScreen::draw() and fitCursor calls
1718
1719         * BranchList.h: remove spurious semicolons
1720
1721         * MenuBackend.C: fix branchlist related crash
1722
1723 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1724
1725         * BranchList.[Ch]:
1726         * InsetList.[Ch]:
1727         * LColor.[Ch]:
1728         * LyXAction.C:
1729         * Makefile.am:
1730         * MenuBackend.[Ch]:
1731         * bufferparams.[Ch]:
1732         * factory.C:
1733         * lfuns.h:
1734         * lyxfunc.C:
1735         * text3.C: implements the 'branch inset'
1736         idea. This allows the output of various versions of a document
1737         from a single source version, selectively outputing or suppressing
1738         output of parts of the text.
1739         This implementation contains a 'branch list editor' in a separate
1740         tab of the document settings dialog. Branches are user definable
1741         and have a "display colour" to distinguish them on-screen.
1742
1743         ColorHandler was somewhat cleaned up.
1744         (1) make possible a dynamically growing LColor list by allowing
1745         the graphic context cache to grow along (vector);
1746         (2) eliminate an IMHO unnecessary step in colour allocation.
1747
1748 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1749
1750         * BufferView_pimpl.C: compile fix
1751
1752 2003-08-15  André Pönitz  <poenitz@gmx.net>
1753
1754         * rowpainter.C: remove extra metrics calls
1755
1756         * lyxtext.h: merge the two constructors into a single one,
1757           pass reference to owner's par list
1758
1759         * BufferView_pimpl.C:
1760         * text.C:
1761         * text2.C: adjust
1762
1763 2003-08-15  André Pönitz  <poenitz@gmx.net>
1764
1765         * lyxrow_funcs.[Ch]:
1766         * lyxtext.h:
1767         * paragraph.h:
1768         * paragraph_funcs.C:
1769         * rowpainter.C:
1770         * text.C:
1771         * text2.C:
1772         * text3.C:
1773         * text_funcs.C: split LyXText::rowlist_ into individual
1774         Paragraph::rows_ chunks
1775
1776         * BufferView.[Ch]:
1777         * BufferView_pimpl.[Ch]:
1778         * lyxfind.C:
1779         * lyxtext.h:
1780         * text3.C: remove toggleSelection()
1781
1782 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1783
1784         * bufferlist.C: beautify two alerts (shorter text of buttons)
1785         * buffer.C: Remove redundant ' ' from message
1786         * tabular.h:
1787         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1788         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1789         rename VALIGN_CENTER to VALIGN_MIDDLE
1790
1791 2003-08-11  André Pönitz  <poenitz@gmx.net>
1792
1793         * lyxtext.h (getPar):
1794         * text.C: new function
1795
1796 2003-08-11  André Pönitz  <poenitz@gmx.net>
1797
1798         * Makefile.am:
1799         * tracer.[Ch]: remove unneeded files
1800
1801         * InsetList.[Ch]: remove resizeInsetsLyXText()
1802
1803         * lyxtext.h:
1804         * text.C:
1805         * text2.C:
1806         * text3.C: merge insertParagraphs() and appendParagraph()
1807         remove breakAgain(), update()
1808
1809         * BufferView_pimpl.[Ch]:
1810         * bufferview_funcs.[Ch]:
1811         * lyxfunc.C:
1812         * paragraph.[Ch]:
1813         * rowpainter.C:
1814         * tabular.C: adjust after text & InsetList changes.
1815
1816 2003-08-08  André Pönitz  <poenitz@gmx.net>
1817
1818         * text.C (insertChar, backspace): replace rowlist fiddling
1819         with rebreak of full par
1820
1821         * lyxtext.h:
1822         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1823         checkParagraph, updateInset): removed
1824
1825 2003-08-07  André Pönitz  <poenitz@gmx.net>
1826
1827         * paragraph.C:
1828         * text3.C: merge some LFUN handlers, remove dead code
1829
1830 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1831
1832         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1833
1834 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1835
1836         * text2.C (DEPM): fix part of bug 1255 and 1256
1837
1838 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1839
1840         * BufferView_pimpl.C (workAreaDispatch): change to use
1841         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1842         that are no mouse related.
1843
1844 2003-08-05  André Pönitz  <poenitz@gmx.net>
1845
1846         * BufferView.[Ch]:
1847         * BufferView_pimpl.[Ch]:
1848         * bufferview_funcs.C:
1849         * text2.C:
1850         * text3.C: rip out "deep update"
1851
1852         * textcursor.[Ch] (last_sel_cursor): remove unused member
1853
1854 2003-08-04  André Pönitz  <poenitz@gmx.net>
1855
1856         * BufferView.[Ch]:
1857         * BufferView_pimpl.[Ch]:
1858         * ParagraphParameters.C:
1859         * bufferview_funcs.C:
1860         * lyx_cb.C:
1861         * lyxfind.C:
1862         * lyxfunc.C:
1863         * text.C:
1864         * text2.C:
1865         * text3.C: replace "complicated" BufferView::update(...) calls with
1866         simpler ones.
1867
1868         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1869
1870 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1871
1872         * Makefile.am (lyx_SOURCES): add paper.h
1873
1874 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1875
1876         * Makefile.am: move things around so that both lyx-qt and
1877         lyx-xforms can be built (according to --with-frontend). Then lyx
1878         is a symbolic link to lyx-[firstfrontend]
1879
1880 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1881
1882         * Always use std::endl with lyxerr
1883
1884 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1885
1886         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1887
1888 2003-08-01  André Pönitz  <poenitz@gmx.net>
1889
1890         * BufferView.[Ch]:
1891         * BufferView_pimpl.[Ch]:
1892         * lyxfunc.C:
1893         * text3.C: merge BufferView::repaint() and BufferView::update()
1894
1895 2003-08-01  José Matos  <jamatos@lyx.org>
1896
1897         * buffer.[Ch]: file_format is no longer a buffer data element.
1898
1899 2003-08-01  André Pönitz  <poenitz@gmx.net>
1900
1901         * BufferView.C:
1902         * lyxtext.h:
1903         * text.C:
1904         * text2.C: make redoParagraph more independent of current cursor
1905
1906         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1907         * text.C:
1908         * text2.C: remove unneeded members
1909
1910 2003-07-30  André Pönitz  <poenitz@gmx.net>
1911
1912         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1913
1914         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1915           create a single function...
1916
1917         * paragraph_funcs.C (moveItem): ... here.
1918
1919         * text.C:
1920           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1921
1922 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1923
1924         * LColor.[Ch]: Add comment and greyedout logical colors.
1925
1926 2003-07-30  André Pönitz  <poenitz@gmx.net>
1927
1928         * tabular.C: don't use Assert too heavily. This crashes where it
1929           shouldn't
1930
1931 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1932
1933         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1934         is disabled (bug 1232)
1935
1936 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1937
1938         * factory.C: limited 'arg' scope
1939
1940 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1941
1942         * factory.C: fixed Note submenu issues
1943
1944 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1945
1946         * factory.C: submenu for Note/Comment/Greyedout
1947
1948 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1949
1950         * lyx_main.C (LyX):
1951         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1952
1953 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1954
1955         * LaTeXFeatures.C:
1956         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1957         greyedout. Patch provided by Jürgen Spitzmüller.
1958
1959 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1960
1961         * kbmap.C (read): fix error message when reading bind files
1962
1963 2003-07-29  Angus Leeming  <leeming@lyx.org>
1964
1965         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1966         certainly does not do what it purports to do. I am doing it, and
1967         us, a favour by killing it.
1968
1969 2003-07-28  José Matos  <jamatos@lyx.org>
1970
1971         * buffer.C (readBody, do_writeFile):
1972         * paragraph.C(readParagraph): \end_document replaces \the_end.
1973
1974 2003-07-29  André Pönitz  <poenitz@gmx.net>
1975
1976         * BufferView.[Ch]:
1977         * BufferView_pimpl.[Ch]:
1978         * lyxfunc.C:
1979         * text2.C:
1980         * text3.C:
1981         * textcursor.[Ch]: remove toggleToggle & Co
1982
1983 2003-07-28  José Matos  <jamatos@fep.up.pt>
1984
1985         * buffer.C (readParagraph):
1986         * params_func (readParToken, readParagraph):
1987         * paragraph.C (write): \layout -> \begin_layout.
1988
1989 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1990
1991         * lyxlex_pimpl.C (setFile): clean up slightly.
1992
1993         * bufferparams.h: add compressed var
1994
1995         * buffer_funcs.C (readFile): adjust for LyXLex change
1996         (newFile): ditto + simplify
1997
1998         * buffer.C (writeFile): handle writing of compressed files
1999
2000         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2001         Check if the file is compressed and set a bufferparm if so.
2002
2003         * Makefile.am (lyx_LDADD): remove explicit -lz
2004
2005 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2006
2007         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2008         makeDocBookFile): put the real LyX version in the first line of
2009         the file
2010
2011         * version.h:
2012         * version.C.in: remove lyx_docversion
2013
2014         * tabular.C (write_attribute): add a template-based version to
2015         write enums properly
2016
2017 2003-07-28  André Pönitz  <poenitz@gmx.net>
2018
2019         * lyxtext.h:
2020         * text.C:
2021         * text2.C:
2022         * text3.C: use doubles again for x-coordinates. They are needed.
2023
2024 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2025
2026         * messages.C (getLocaleDir): use lyx_localedir()
2027
2028         * lyxlex_pimpl.C (setFile): compress stuff
2029
2030         * buffer.C (writeFile): add some compression stuff
2031         (do_writeFile): new func, dont call expliti close... will this
2032         breake anything?
2033
2034         * Makefile.am (lyx_LDADD): add -lz
2035
2036 2003-07-28  José Matos  <jamatos@fep.up.pt>
2037
2038         * buffer.C: increment file format.
2039         * paragraph_funcs (readParagraph, readParToken):
2040         * paragraph.C (readParagraph): add \end_layout.
2041
2042 2003-07-27  Angus Leeming  <leeming@lyx.org>
2043
2044         * Makefile.am: remove special casing for configure-time setting of
2045         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2046
2047         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2048         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2049
2050 2003-07-26  André Pönitz  <poenitz@gmx.net>
2051
2052         * paragraph_func.[Ch]:
2053         * paragraph.C (realizeFont): inline it whereever it is used
2054
2055         * rowpainter.C:
2056         * text.C:
2057         * text2.C:
2058         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2059
2060
2061 2003-07-26  André Pönitz  <poenitz@gmx.net>
2062
2063         *       lyxtext.h:
2064         * text.C:
2065         * text2.C: get rid of LyXText::need_break_row
2066
2067 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2068
2069         * toc.[Ch]: put namespace toc inside namespace lyx
2070
2071         * MenuBackend.C (expandToc2): adjust for lyx::toc
2072         (expandToc): ditto
2073
2074         * lyxfunc.C (dispatch): adjust for lyx::find
2075
2076         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2077         lyx::find instead. Reorganize a bit.
2078         (LyXReplace): rename to replace
2079         (LyXFind): rename to find
2080
2081         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2082         (dispatch): ditto
2083
2084 2003-07-26  André Pönitz  <poenitz@gmx.net>
2085
2086         * text.C (setHeightOfRow): restrict scope of temporary variable
2087
2088         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2089           code (never has been used?)
2090
2091 2003-07-27  Asger Alstrup  <alstrup@local>
2092
2093         * text.C (fill): Optimise algorithm to exploit that we can reuse
2094         the LyXFont for many characters.
2095         (setHeightOfRow): Same thing.
2096         (rowBreakPoint): Same thing.
2097
2098 2003-07-26  Asger Alstrup  <alstrup@local>
2099
2100         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2101
2102         * text.C (singleWidth): Spurious font copying in hot-spot
2103         singleWidth avoided. Reorder tests for arabic for efficiency.
2104
2105         * text.C (fill): handle empty paragraphs better.
2106
2107 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2108
2109         * ispell.C:
2110         * encoding.h: add includes
2111
2112         * lyxrc.C: remove reading of bind files
2113
2114         * lyx_main.C (init): setup bindings and menus only if we have a
2115         gui.
2116
2117         * kbmap.C (read): new method. Do the actual reading of bind
2118         files.
2119
2120         * converter.C (dvipdfm_options):
2121         * bufferparams.C:
2122         * lyxrc.C (read):
2123         (output): adapt PAPER_* enums.
2124
2125         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2126
2127         * bufferparams.h: remove paper-related enums from there
2128
2129         * paper.h: New file. A trivial header file to hold paper-related
2130         enums. It should later expand to contain many paper-related
2131         horrors access.
2132
2133         * lyxrc.C: declare extern displayTranslator
2134
2135 2003-07-27  José Matos  <jamatos@fep.up.pt>
2136
2137         * tabular.[Ch] (linuxdoc): add support for tables and figures
2138         (linuxdoc).
2139
2140 2003-07-27  José Matos  <jamatos@fep.up.pt>
2141
2142         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2143         consistency in both functions.
2144         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2145
2146 2003-07-26  Asger Alstrup  <alstrup@local>
2147
2148         * rowpainter.C (paintRows): Change algorithm to work directly on
2149         the insets rather than asking every character in the document
2150         whether its an inset.
2151
2152 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2153
2154         * buffer.C (openFileWrite): factorize some code
2155
2156 2003-07-26  Angus Leeming  <leeming@lyx.org>
2157
2158         * lyx_cb.C:
2159         * lyx_main.[Ch]: replace occurances of system_tempdir with
2160         os::getTmpDir().
2161
2162 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2163
2164         * rename Inset to InsetOld
2165
2166 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2167
2168         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2169         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2170         which I think is a bit clearer. EDIT is gone, since it was
2171         premature optimisation, and broken for mathed anyway.
2172         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2173         with cursor positioning in insets as well (math insets still do not
2174         work, but that's a different story anyway.) It mysteriously
2175         crashes sometimes with undo in the first paragraph, but I'm fairly
2176         confident that this is a compiler bug.
2177
2178 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2179
2180         * paragraph.C (Paragraph): adjust for new clone return type
2181         (operator==): ditto
2182         (copyIntoMinibuffer): ditto
2183
2184 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2185
2186         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2187         by not having a special case, and always doing a full rebreak of
2188         the document after undo.
2189
2190 2003-07-23  Angus Leeming  <leeming@lyx.org>
2191
2192         * factory.C (createInset): InsetExternal::setParams now takes a
2193         Buffer const * arg.
2194
2195 2003-07-23  Angus Leeming  <leeming@lyx.org>
2196
2197         * factory.C (createInset): changed interface to the external and
2198         graphics mailers' string2params functions.
2199
2200 2003-07-23  Angus Leeming  <leeming@lyx.org>
2201
2202         * factory.C (createInset): pass a
2203         Buffer const * parameter to InsetExternalMailer's string2params.
2204
2205 2003-07-22  John Levon  <levon@movementarian.org>
2206
2207         * Thesaurus.h: include the right aiksaurus header
2208
2209 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2210
2211         * MenuBackend.C (expand): check menu shortcuts unconditionally
2212
2213 2003-07-21  Angus Leeming  <leeming@lyx.org>
2214
2215         * factory.C (createInset): pass a
2216         buffer_path parameter to InsetGraphicsMailer's string2params.
2217
2218 2003-07-21  Angus Leeming  <leeming@lyx.org>
2219
2220         * BufferView_pimpl.C (buffer):
2221         * buffer.C (d-tor):
2222         * lyx_main.C (LyX):
2223         * lyxfunc.C (dispatch):
2224         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2225         rather than the grfx shortcut.
2226
2227 2003-07-21  André Pönitz  <poenitz@gmx.net>
2228
2229         * rowpainter.C: remove unused variables
2230
2231         * tabular_funcs.C:
2232         * tabular_funcs.h: move to tabular.C
2233         * Makefile.am: adjust
2234
2235         * tabular.[Ch]: basic optical cleaning
2236
2237         * author.h: pass references, not values
2238
2239 2003-07-18  André Pönitz  <poenitz@gmx.net>
2240
2241         * lyxtext.h:
2242         * metricsinfo.C:
2243         * metricsinfo.h:
2244         * rowpainter.C:
2245         * text.C:
2246         * text2.C:
2247         * text3.C: two-phase drawing for InsetText and InsetTabular
2248         some float -> int changes.
2249
2250 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2251
2252         * lyx_main.C: fix the fix
2253
2254 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2255
2256         * lyx_main.C: fix a crash in batch mode if no files specified
2257         * converter.C: ws
2258
2259 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2260
2261         * format.[Ch] (papersize): moved to BufferParams
2262         * converter.[Ch] (dvips_options): moved to BufferParams
2263         (dvipdfm_options): moved to anon namespace
2264         * bufferparams.[Ch]: added above functions.
2265
2266 2003-07-17  André Pönitz  <poenitz@gmx.net>
2267
2268         * lyxtext.h:
2269         * rowpainter.C:
2270         * text2.C: don't call inset->update() anymore
2271
2272         * metricsinfo.[Ch]: add convenience constructor
2273
2274 2003-07-16  André Pönitz  <poenitz@gmx.net>
2275
2276         * lyxcursor.[Ch]:
2277         * lyxfunc.[Ch]:
2278         * text.C:
2279         * text2.C: replace the LyXCursor::irow_ member with
2280          on-demand computation of the value
2281
2282 2003-07-16  John Levon  <levon@movementarian.org>
2283
2284         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2285
2286 2003-07-15  André Pönitz  <poenitz@gmx.net>
2287
2288         * text.C:
2289         * text2.C: remove no more needed refresh_row
2290
2291 2003-07-15  André Pönitz  <poenitz@gmx.net>
2292
2293         * lyxtext.h:
2294         * rowpainter.C:
2295         * text2.C:
2296         * text3.C: refresh_status tristate -> need_update bool
2297
2298 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2299
2300         * lyxtext.h (init): remove reinit argument (act as if always true)
2301         * text2.C: adjust to that
2302
2303 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2304
2305         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2306         * text3.C: use it to delete selections in some cases
2307         (bugs 441, 673, 702, 954).
2308
2309 2003-07-14  André Pönitz  <poenitz@gmx.net>
2310
2311         * rowpainter.[Ch]: reduce interface
2312
2313 2003-07-14  André Pönitz  <poenitz@gmx.net>
2314
2315         * BufferView_pimpl.C:
2316         * text2.C: adjust after removing unused BufferView * argument
2317
2318 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2319
2320         * text2.C (init): fix a crash fired on resize
2321
2322 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2323
2324         * buffer.[Ch]: added new closing signal
2325         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2326         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2327         BufferView::Pimpl via the closing the signal
2328
2329 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2330
2331         * buffer.[Ch]: take out all bv-related from buffer
2332         * BufferView.C:
2333         * BufferView_pimpl.[Ch]: connect to new signals
2334         * CutAndPaste.C: removed useless asserts
2335         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2336         * lyxvc.[Ch]:
2337         * vc-backend.[Ch]:
2338         * lyxfunc.C: moved view-related funciontality from vc here
2339         * paragraph.C: removed outdated comments
2340         * text.C: ws
2341
2342 2003-07-10  André Pönitz  <poenitz@gmx.net>
2343
2344         * BufferView_pimpl.C:
2345         * tabular.h:
2346         * tabular_funcs.C:
2347         * text.C:
2348         * text2.C: remove InsetText::InnerCache, clean up consequences
2349
2350 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2351
2352         * ispell.C: fix two typos in error messages
2353
2354 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2355
2356         * Extend Note inset to other forms of annotation like Comment
2357         and Greyedout. Right button click gives dialog.
2358
2359         Files modified or added (+):
2360
2361         * insetnote.[Ch]
2362         * FormNote.[Ch]      +
2363         * ControlNote.[Ch]   +
2364         * form_note.fd       +
2365         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2366         frontends/controllers
2367         * xforms/Dialogs.C
2368         * factory.C
2369
2370 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2371
2372         * aspell.C: add missing namespace lyx::support
2373
2374 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2375
2376         * BufferView.[Ch] (newFile): Add
2377         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2378         * LaTeX.[Ch] (message): added this signal and use it
2379         * buffer.[Ch] (busy, message): added these signals and use them
2380         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2381         * converter.C:
2382         * exporter.C:
2383         * format.C:
2384         * importer.C: use buffer signals instead of direct bv calling
2385         * lyx_cb.[Ch] (ShowMessage): removed
2386         * lyx_main.C:
2387         * lyxfunc.C:
2388         * paragraph_funcs.C:
2389         * text2.C: use buffer signals
2390
2391 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2392
2393         * introduce namespace lyx::graphics
2394
2395 2003-07-02  André Pönitz  <poenitz@gmx.net>
2396
2397         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2398
2399 2003-07-01  André Pönitz  <poenitz@gmx.net>
2400
2401         * text.C:
2402         * text2.C:
2403         * text3.C:
2404         * text_funcs.[Ch]:
2405         * textcursor.h:
2406         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2407           text*.C to text_func.C
2408
2409 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2410
2411         * introduce namespace lyx::support
2412
2413 2003-06-30  André Pönitz  <poenitz@gmx.net>
2414
2415         * Chktex.C:
2416         * funcrequest.C:
2417         * lyxtext.h:
2418         * text.C: re-enable --with-included-string
2419
2420 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2421
2422         * textcursor.C: add <config.h>
2423
2424         * text.C (getWord): remove const from word_location arg
2425
2426         * lyxvc.C (getLogFile): fix const type order
2427
2428         * lyxtext.h: remove const from word_location arg, add arg name
2429
2430         * lyxlayout.h: currect type on labeltype.
2431
2432         * importer.C: correct \file
2433
2434         * converter.C (intToFormat): use std:: on ret val, ws changes
2435
2436         * bufferlist.h: correct \file
2437
2438         * buffer.C (makeLinuxDocFile): fix const type order
2439         (makeDocBookFile): ditto
2440         (fillWithBibKeys): use std:: on stdlib args.
2441
2442         * CutAndPaste.C: fix authors.
2443         (availableSelections): use std:: on return vector
2444
2445 2003-06-27  André Pönitz  <poenitz@gmx.net>
2446
2447         * BufferView_pimpl.C:
2448         * bufferview_funcs.C:
2449         * lyxcursor.C:
2450         * lyxcursor.h:
2451         * lyxfunc.C:
2452         * lyxtext.h:
2453         * rowpainter.C:
2454         * text.C:
2455         * text2.C:
2456         * text3.C: remove LyXCursor::row_ member
2457
2458         * lyxtext.h:
2459         * text.C: rename fullRebreak() to partialRebreak() and implement
2460           a fullRebreak() that really bereks fully
2461
2462         * textcursor.h: new struct for cursor-related data
2463
2464 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2465
2466         * lyx_main.C (LyX): get full path of document loaded on the
2467         command line
2468
2469 2003-06-26  André Pönitz  <poenitz@gmx.net>
2470
2471         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2472           remove unused/broken operator>,<,>=.
2473
2474         *       text.C: remove only use of broken operator<= in an Assert().
2475
2476 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2477
2478         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2479         moved errorlist_.clear to showErrorList
2480
2481 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2482
2483         * converter.C (scanLog, runLaTeX):
2484         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2485         move the bv->showErrorList call to the callers
2486         * lyxfunc.C: i.e. here...
2487         * text2.C: and here
2488         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2489         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2490         namespace, the second to...
2491         * buffer_funcs (BufferFormat, parseErrors): added
2492         * errorlist.C (ErrorList(TeXErrors const &)): removed
2493
2494 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2495
2496         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2497
2498 2003-06-24  "Garst R. Reese" <reese@isn.net>
2499
2500         * debug.C: fix typo
2501
2502 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2503
2504         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2505
2506         * version.C.in: change docversion to 1.4
2507
2508 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2509
2510         * buffer.C: fix a bug just introduced
2511
2512 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2513
2514         * buffer.[Ch]: added the parseError signal and use it, removed
2515         sgmlError
2516         * BufferView.[Ch] (addError): moved to ...
2517         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2518         to the Buffer::parseError signal to catch (guess what) parse errors
2519         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2520
2521 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2522
2523         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2524         ability to create a buffer and to return an existing one from
2525         the list. Moved these functions to...
2526         * buffer_funcs.[Ch]: added
2527         * BufferView.[Ch] (loadLyXFile): added
2528         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2529         job removed from bufferlist::loadLyXFile.
2530         * buffer.C (setReadOnly): make it work without view
2531         (i.e added an if (users))
2532
2533 2003-06-19  Angus Leeming  <leeming@lyx.org>
2534
2535         * lfuns.h:
2536         * LyXAction.C (init):
2537         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2538         with LFUN_DIALOG_SHOW <name> <data>.
2539
2540 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2541
2542         * CutAndPaste.C (availableSelections): small compilation fix for
2543         ancient (gcc 2.9x) compilers
2544
2545 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2546
2547         * text3.C (cursorNext): add tmp var
2548
2549         * text2.C (updateCounters): for function calling out of for clause
2550         (replaceSelectionWithString): ditto
2551         (insertStringAsParagraphs): ditto
2552         (getColumnNearX): add tmp var
2553         (setCursorFromCoordinates): add tmp var
2554         (cursorDownParagraph): add tmp var
2555         (deleteEmptyParagraphMechanism): add tmp var
2556
2557         * text.C (insertChar): add tmp var
2558
2559         * rowpainter.C (paintDepthBar): add tmp var
2560
2561         * CutAndPaste.C (availableSelections): potentially check all
2562         paragraphs in a cut to fill the shown strings.
2563
2564 2003-06-18  André Pönitz  <poenitz@gmx.net>
2565
2566         * kbmap.[Ch]: use vector<> instead of list<>
2567
2568 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2569
2570         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2571         pasteSelection with index
2572
2573         * text2.C (pasteSelection): modify, call pasteSelection with index
2574
2575         * paragraph.C (asString): reimplement version with no interval to
2576         call the one with interval.
2577
2578         * lyxtext.h: add index arg to pasteSelection
2579
2580         * MenuBackend.C (MenuItem): handle PasteRecent
2581         (Menu::read::Menutags): add md_pasterecent
2582         (read): handle it
2583         (expandPasteRecent): new function
2584         (expand): use it
2585
2586         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2587
2588         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2589         the limited stack
2590         (availableSelections): new function
2591
2592 2003-06-17  Angus Leeming  <leeming@lyx.org>
2593
2594         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2595
2596 2003-06-17  Angus Leeming  <leeming@lyx.org>
2597
2598         * lfuns.h:
2599         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2600
2601         * lyxfunc.C (dispatch): invoke it.
2602
2603 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2604
2605         * iterators.C (operator++, ParPosition): reintroduce some
2606         const_cast for the benefit of older compilers.
2607
2608 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2609
2610         * text3.C (dispatch): do not modify clipboard when doing
2611         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2612         LFUN_DELETE_SKIP on a selection selection
2613
2614 2003-06-16  André Pönitz  <poenitz@gmx.net>
2615
2616         * BufferView.C:
2617         * buffer.C:
2618         * buffer.h:
2619         * paragraph.C:
2620         * tabular.[Ch]: IU of clone() and getLabelList();
2621
2622 2003-06-13  André Pönitz  <poenitz@gmx.net>
2623
2624         * tabular.h: compactification
2625
2626 2003-06-12  André Pönitz  <poenitz@gmx.net>
2627
2628         * tabular.C:
2629         * tabular.h:
2630         * tabular_funcs.h: some renaming plus whitespace
2631
2632 2003-06-12  André Pönitz  <poenitz@gmx.net>
2633
2634         * BufferView.C:
2635         * BufferView_pimpl.C:
2636         * CutAndPaste.C:
2637         * buffer.C:
2638         * iterators.[Ch]:
2639         * lyxfunc.C:
2640         * text.C:
2641         * toc.C: Return a Paragraph & for ParIterator::operator*()
2642
2643 2003-06-11  John Levon  <levon@movementarian.org>
2644
2645         * lyx_main.C:
2646         * ToolbarBackend.h:
2647         * ToolbarBackend.C: add "Toolbars" section and
2648         put the flags there
2649
2650 2003-06-10  Angus Leeming  <leeming@lyx.org>
2651
2652         * lfuns.h:
2653         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2654
2655         * lyxfunc.C (dispatch): invoke it.
2656
2657 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2658
2659         * main.C: protect <ios> with HAVE_IOS
2660         (main): protect sync_with_stdio with HAVE_IOS
2661
2662 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2663
2664         * text2.C (cutSelection): adjust
2665         (pasteSelection): adjust
2666
2667         * messages.C: handle get of empty string
2668
2669         * main.C (main): use sync_with_stdio(false)
2670
2671         * lyxfunc.C (dispatch): adjust
2672
2673         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2674         (WriteAs): remove unneeded BufferView arg.
2675
2676         * bufferparams.h: use correct types on papersize, papersize2 and
2677         paperpackage.
2678
2679         * bufferparams.C (readToken): adjust for type
2680         (writeLaTeX): add missing cases to switch.
2681
2682         * bufferlist.C (quitWriteBuffer): adjust
2683         (close): adjust
2684
2685         * buffer.C (asciiParagraph): remove some commented code.
2686
2687         * CutAndPaste.C: remove current_view extern variable.
2688         (cutSelection): add BufferParams arg.
2689         (eraseSelection): add BufferParams arg.
2690         (pasteSelection): add Buffer const & arg
2691
2692 2003-06-07  John Levon  <levon@movementarian.org>
2693
2694         * buffer.C:
2695         * paragraph_funcs.C:
2696         * paragraph_pimpl.C:
2697         * text.C:
2698         * text2.C:
2699         * paragraph.h:
2700         * paragraph.C: allow InsetERT to freely space lines,
2701         and some consolidation of code
2702
2703 2003-06-06  José Matos  <jamatos@fep.up.pt>
2704
2705         * buffer.C (makeDocBookFile): fix bug #821
2706
2707 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2708
2709         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2710
2711 2003-06-04  Angus Leeming  <leeming@lyx.org>
2712
2713         * buffer.C: bump format to 224.
2714
2715 2003-06-05  André Pönitz  <poenitz@gmx.net>
2716
2717         * text2.C (redoParagraphs): remove two const_cast<>
2718
2719 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2720
2721         * ParagraphList.h: remove last remnants of NO_STD_LIST
2722
2723 2003-06-03  Angus Leeming  <leeming@lyx.org>
2724
2725         * factory.C (createInset): small change to the way InsetExternal's params
2726         are set.
2727
2728 2003-06-04  André Pönitz  <poenitz@gmx.net>
2729
2730         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2731
2732         * paragraph_pimpl.h:
2733         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2734
2735         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2736
2737         * undo_funcs.C: make some simple cases of undo work again
2738
2739 2003-06-03  John Levon  <levon@movementarian.org>
2740
2741         * ispell.C: HPUX doesn't have sys/select.h
2742         (from Albert Chin)
2743
2744 2003-06-03  John Levon  <levon@movementarian.org>
2745
2746         * CutAndPaste.C: update tabular and include inset
2747         buffer references
2748
2749         * buffer.h:
2750         * paragraph.h:
2751         * paragraph.C: remove owningBuffer(), don't pass Buffer
2752         to clone()
2753
2754         * factory.C: insetGraphicsParams changed
2755
2756 2003-06-02  John Levon  <levon@movementarian.org>
2757
2758         * LyXAction.C:
2759         * factory.C:
2760         * lfuns.h:
2761         * lyxfunc.C:
2762         * text3.C: remove insetparent
2763
2764 2003-06-02  John Levon  <levon@movementarian.org>
2765
2766         * buffer.h:
2767         * buffer.C: fix inset_iterator.end(), move out of line
2768         (bug 1149)
2769
2770 2003-06-01  John Levon  <levon@movementarian.org>
2771
2772         * text3.C: use a proper cut/paste when doing inset
2773         insert (from Jürgen Spitzmüller)
2774
2775 2003-06-01  John Levon  <levon@movementarian.org>
2776
2777         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2778
2779 2003-05-30  André Pönitz  <poenitz@gmx.net>
2780
2781         * rowpainter.C: unify second drawing phase
2782
2783 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2784
2785         * trans_mgr.C: remove one case of current_view
2786
2787         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2788
2789         * paragraph_funcs.h: remove paragraph.h include
2790
2791         * paragraph.h: delete NO_STD_LIST stuff
2792
2793         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2794
2795         * buffer.h: remove paragraph.h include
2796
2797         * ParagraphList.C: delete file
2798
2799         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2800
2801         * toc.C (getTocList): adjust
2802
2803         * paragraph_pimpl.C (validate): adjust
2804
2805         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2806
2807         * paragraph.C (Paragraph): adjust
2808         (getPositionOfInset): use const_iterator, adjust
2809         (bibitem): use const_iterator, adjust
2810         (setInsetOwner): adjust
2811
2812         * iterators.C (operator++): adjust
2813
2814         * InsetList.[Ch]: Replace selfmade iterator with standard
2815         vector::iterator also introduce const_iterator. Remove getPos,
2816         getInset and setInset from InsetTable. Adjust accordingly.
2817
2818         * BufferView.C (lockInset): adjust
2819         (ChangeInsets): adjust
2820
2821         * tabular.[Ch]: delete commented same_id functions
2822
2823 2003-05-28  John Levon  <levon@movementarian.org>
2824
2825         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2826
2827 2003-05-28  André Pönitz  <poenitz@gmx.net>
2828
2829         * metricsinfo.[Ch]: remove 'fullredraw' member
2830
2831 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2832
2833         * lyxtextclass.C (operator): remove caching.
2834
2835 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2836
2837         * text3.C: adjust
2838
2839         * text2.C (cursorBottom): adjust
2840         (setCounter): use ParagraphList::find, adjust
2841
2842         * text.C (workWidth): use ParagraphList::find, adjust
2843
2844         * lyxcursor.C (LyXCursor): adjust
2845
2846         * buffer.C (inset_iterator): adjust
2847
2848         * ParagraphList.h: make iterator(value_type) private, make
2849         ParagraphList a friend of iterator.
2850
2851         * ParagraphList.C (find): new function
2852
2853         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2854
2855 2003-05-27  André Pönitz  <poenitz@gmx.net>
2856
2857         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2858
2859 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2860
2861         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2862
2863 2003-05-26  John Levon  <levon@movementarian.org>
2864
2865         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2866
2867 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2868
2869         * remove same_id from function signatures, adjust.
2870
2871 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2872
2873         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2874
2875         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2876
2877         * paragraph.C (Paragraph): get rid of same_ids parameter
2878
2879         * ParagraphList.C (insert): adjust
2880         (push_back): adjust
2881
2882 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2883
2884         * paragraph_funcs.C (breakParagraph): adjust
2885         (breakParagraphConservative): adjust
2886
2887         * buffer.C (readParagraph): adjust
2888
2889         * ParagraphList.C (insert): take a reference instead of a pointer
2890         (insert): adjust
2891
2892         * paragraph.[Ch] (id): new function
2893
2894         * bufferlist.C (newFile): adjust
2895
2896         * ParagraphList.C (ParagraphList): adjust
2897         (assign): adjust
2898         (push_back): take a reference instead of a pointer.
2899
2900         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2901
2902         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2903         instead.
2904
2905         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2906         set else use old code.
2907
2908         * ParagraphList.C: remove all NO_NEXT code and only compile this
2909         code of NO_STD_LIST is set.
2910
2911 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2912
2913         * BufferView_pimpl.C:
2914         * TextCache.C:
2915         * TextCache.h:
2916         * bufferlist.C:
2917         * errorlist.h:
2918         * format.C:
2919         * format.h:
2920         * graph.C:
2921         * lyxfunc.C:
2922         * lyxrc.C:
2923         * graphics/GraphicsConverter.C:
2924         * graphics/PreviewLoader.C: header adjustment
2925
2926 2003-05-23  Angus Leeming  <leeming@lyx.org>
2927
2928         * LaTeXFeatures.[Ch] (useBabel): new method.
2929         * bufferparams.C (writeLaTeX): use it.
2930
2931 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2932
2933         * ParagraphList.h (set): remove unused function.
2934
2935 2003-05-23  André Pönitz  <poenitz@gmx.net>
2936
2937         * BufferView.C:
2938         * BufferView_pimpl.C:
2939         * buffer.C:
2940         * buffer.h:
2941         * lyxfunc.C:
2942         * undo_funcs.C: setUndo reworked
2943
2944         * iterators.[Ch]: add access to topmost ParagraphList
2945
2946         * lyxtext.[Ch] (workWidth): add a const
2947
2948 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2949
2950         * texrow.[Ch] (increasePos): remove function
2951         * exporter.C (export): removed unused var and outdated comment
2952
2953 2003-05-23  Angus Leeming  <leeming@lyx.org>
2954
2955         * latexrunparams.h: rename fragile as moving_arg.
2956         * paragraph.C (simpleTeXOnePar): ditto.
2957         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2958
2959 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2960
2961         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2962         (createUndo): ditto
2963         (textUndoOrRedo): comment out a currently unused var.
2964
2965         * paragraph.h (NO_NEXT): enable NO_NEXT
2966
2967         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2968
2969         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2970
2971         * exporter.C (Export): adjust for removeAutoInsets removal.
2972
2973         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2974
2975         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2976
2977         * BufferView.[Ch] (removeAutoInsets): delete function
2978
2979 2003-05-22  Angus Leeming  <leeming@lyx.org>
2980
2981         * latexrunparams.h: add a free_spacing variable.
2982
2983         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2984         to pass moving_arg, as the data is stored in runparams.fragile.
2985
2986         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2987         to Inset::latexOptional or to simpleTeXOnePar.
2988
2989         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2990         free_spacing arg to Inset::latexOptional.
2991
2992         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2993         free_spacing arg.
2994
2995 2003-05-22  Angus Leeming  <leeming@lyx.org>
2996
2997         * latexrunparams.h: add fragile and use_babel variables.
2998
2999         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3000         * buffer.C (makeLaTeXFile): store this returned value in
3001         runparams.use_babel, thus passing it to the inset::latex methods.
3002
3003         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3004         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3005
3006         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3007         longer has a fragile arg, as it is stored in runparams.fragile.
3008
3009         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3010         moving_arg parameter as the data is stored in runparams.fragile.
3011
3012         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3013         a fragile parameter as the data is stored in runparams.fragile.
3014
3015 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3016
3017         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3018
3019 2003-05-22  Angus Leeming  <leeming@lyx.org>
3020
3021         * latexrunparams.h: add a 'bool nice' which defaults to false.
3022
3023         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3024         now encapsulated within runparams.
3025
3026         * bufferlist.C (updateIncludedTeXfiles):
3027         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3028
3029 2003-05-22  Angus Leeming  <leeming@lyx.org>
3030
3031         * latexrunparams.h: new file containing struct LatexRunParams.
3032         * Makefile.am: add new file.
3033
3034         * LaTeX.[Ch] (c-tor, run):
3035         * buffer.[Ch] (makeLaTeXFile):
3036         * bufferlist.[Ch] (updateIncludedTeXfiles):
3037         * converter.C (convert, scanLog):
3038         * converter.[Ch] (runLaTeX):
3039         * exporter.C (Export):
3040         * paragraph.[Ch] (simpleTeXOnePar):
3041         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3042         * paragraph_funcs.[Ch] (latexParagraphs):
3043         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3044         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3045         pass around a LatexRunParams parameter.
3046
3047 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3048
3049         * paragraph.[Ch]: remove unused constructor
3050
3051         * ParagraphList.C (erase): new function, taking two iterators
3052
3053 2003-05-22  André Pönitz  <poenitz@gmx.net>
3054
3055         * undo_funcs.C: remove duplicated code
3056
3057         * iterator.[Ch]: operator=
3058
3059 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3060
3061         * tabular.C (SetMultiColumn): ws changes
3062
3063         * rowpainter.C (paintFirst): get rid of a ->previous
3064
3065         * lyx_cb.C (getPossibleLabel): parlist simplification
3066
3067         * BufferView.C (ChangeInsets): simplify slightly.
3068
3069 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3070
3071         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3072         * lfuns.h: new LFUN_SPACE
3073         * lyxfunc.C: protected space has a new lfun
3074         * paragraph_funcs.C: read new space insets
3075         * text3.C:
3076         * factory.C: handle new space insets
3077
3078 2003-05-22  André Pönitz  <poenitz@gmx.net>
3079
3080         * BufferView.C:
3081         * BufferView_pimpl.C:
3082         * buffer.[Ch]:
3083         * lyxfunc.C:
3084         * undo_funcs.C: return a ParIterator from getParFromID.
3085
3086         * iterators.[Ch]: add two const's
3087
3088 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3089
3090         * toc.C (getTocList): adjust
3091
3092         * iterators.[Ch]: rework for parlist
3093
3094         * buffer.C (par_iterator_begin): adjust
3095         (par_iterator_end): adjust
3096
3097         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3098
3099         * BufferView.C (removeAutoInsets): adjust
3100         (ChangeInsets): adjust
3101
3102 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3103
3104         * text.C (top_y): fix bug 1110
3105
3106 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3107
3108         * errorlist.[Ch]: added
3109         * buffer.C:
3110         * BufferView.[Ch]:
3111         * BufferView_pimpl.C:
3112         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3113         instead
3114
3115 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3116
3117         * Makefile.am: ensure that lyx is relinked upon changes to the
3118         various "convenience" libs.
3119
3120 2003-05-20  Angus Leeming  <leeming@lyx.org>
3121
3122         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3123         files are compiled in alphabetical order again.
3124
3125         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3126
3127 2003-05-19  Angus Leeming  <leeming@lyx.org>
3128
3129         * gettext.[Ch]: remove "char const * _(char const *)".
3130
3131 2003-05-19  André Pönitz  <poenitz@gmx.net>
3132
3133         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3134
3135         * Makefile.am:
3136         * BufferView.C:
3137         * DepTable.h:
3138         * LaTeXFeatures.C:
3139         * buffer.C:
3140         * lyxfont.C:
3141         * lyxlex.h:
3142         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3143
3144 2003-05-19  André Pönitz  <poenitz@gmx.net>
3145
3146         * buffer.C:
3147         * lyxlayout.[Ch]:
3148         * lyxtextclass.[Ch]:
3149         * paragraph.C:
3150         * paragraph_funcs.[Ch]:
3151         * text2.C:
3152         * text3.C: more insetenv work
3153
3154 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3155
3156         * ParagraphParameters.C (params2string): small bug fixed
3157
3158 2003-05-16  André Pönitz  <poenitz@gmx.net>
3159
3160         * debug.C:
3161         * bufferview_funcs.C: patch from Kornel Benko to prevent
3162           crash when _(...) is called twice in a statement
3163
3164 2003-05-16  André Pönitz  <poenitz@gmx.net>
3165
3166         * BufferView.C:
3167         * lyxfunc.C:
3168         * text.C:
3169         * text2.C:
3170         * text3.C:
3171         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3172
3173 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3174
3175         * lyx_main.C (init): remove spurious static_cast
3176
3177 2003-05-14  André Pönitz  <poenitz@gmx.net>
3178
3179         * BufferView.C: fix format string
3180
3181 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3182
3183         * BufferView.[Ch] (insertErrors): removed
3184         * BufferView.[Ch] (showErrorList): added
3185         * buffer.C (runChkTeX):
3186         * converter.C (scanLog): call showErrorList instead of inserterrors
3187
3188 2003-05-13  André Pönitz  <poenitz@gmx.net>
3189
3190         * BufferView_pimpl.C:
3191         * buffer.C:
3192         * bufferview_func.C:
3193         * MenuBackend.C:
3194         * lyxfunc.C:
3195         * lyxrc.C:
3196         * tex-accent.C:
3197         * text3.C:
3198         * toc.C:
3199         * tabular_funcs.h: tostr() from its own header
3200
3201         * ParagraphParameters.C:
3202         * ToolbarBackend.C:
3203         * bufferparams.C:
3204         * format.C:
3205         * lyxlex_pimpl.C:
3206         * text3.C: STRCONV()
3207
3208 2003-05-12  André Pönitz  <poenitz@gmx.net>
3209
3210         * BufferView.C:
3211         * BufferView_pimpl.C:
3212         * CutAndPaste.C:
3213         * LaTeX.C:
3214         * LaTeXFeatures.C:
3215         * ParagraphParameters.C:
3216         * buffer.C:
3217         * bufferlist.C:
3218         * bufferparams.C:
3219         * bufferview_funcs.C:
3220         * converter.C:
3221         * counters.C:
3222         * debug.C:
3223         * exporter.C:
3224         * format.C:
3225         * importer.C:
3226         * lyx_cb.C:
3227         * lyx_main.C:
3228         * lyxfont.C:
3229         * lyxfunc.C:
3230         * lyxvc.C:
3231         * paragraph.C:
3232         * paragraph_funcs.C:
3233         * tabular.C:
3234         * tabular_funcs.C:
3235         * text2.C:
3236         * text3.C:  boost::format -> bformat  all over the place
3237
3238
3239 2003-05-09  André Pönitz  <poenitz@gmx.net>
3240
3241         * LColor.[Ch]: Pimpl the #include <map> away
3242
3243 2003-05-09  John Levon  <levon@movementarian.org>
3244
3245         * bufferlist.C: never remove emergency saves
3246
3247 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3248
3249         * Makefile.am: better lib building
3250
3251 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3252
3253         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3254         instead.
3255         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3256         (simpleTeXSpecialChars): adjust
3257         (simpleTeXSpecialChars): adjust
3258         * paragraph.C (simpleTeXOnePar): adjust
3259         * buffer.C (makeLaTeXFile): adjust
3260
3261         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3262
3263         * text2.C (changeDepth): parlist cleanup
3264         (getColumnNearX): ditto
3265
3266         * rowpainter.C (getLabelFont): parlist cleanup
3267
3268         * bufferlist.C (newFile): parlist cleanup
3269
3270         * CutAndPaste.C (eraseSelection): parlist cleanup
3271
3272         * BufferView_pimpl.C (trackChanges): parlist cleanup
3273         (dispatch): ditto
3274
3275         * BufferView.C (lockInset): parlist cleanup.
3276         (ChangeInsets): ditto
3277
3278 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3279
3280         * CutAndPaste.h: Update file header.
3281
3282         * CutAndPaste.C: Update file header.
3283         Store the parts cut out of the Document in a limited_stack.
3284         (copySelection): adjust
3285         (pasteSelection): new function, takes the index in the limited stack.
3286         (nrOfParagraphs): adjust
3287         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3288         simplify error inset insertion.
3289         (checkPastePossible): adjust
3290
3291 2003-05-06  John Levon  <levon@movementarian.org>
3292
3293         * text2.C: don't cast wrap inset to float
3294
3295 2003-05-05  André Pönitz  <poenitz@gmx.net>
3296
3297         * iterator.C:
3298         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3299
3300         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3301           few naked Paragraph *.
3302
3303 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3304
3305         * bufferparams.C: Output warning if a document with missing
3306         TeX document class is loaded
3307         * exporter.C: Disable TeX exports if the document class is missing
3308         * lyxtextclass.C:
3309         * lyxtextclass.h:
3310         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3311         isTeXClassAvailable()
3312
3313 2003-05-03  John Levon  <levon@movementarian.org>
3314
3315         * BufferView.h:
3316         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3317         explicit cursor show/hide
3318
3319         * BufferView_pimpl.h:
3320         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3321         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3322
3323         * lyxfunc.C: hide cursor before dispatching.
3324
3325         * lyx_cb.C:
3326         * lyxfind.C:
3327         * text.C:
3328         * text3.C: remove explicit cursor hides
3329
3330 2003-05-02  André Pönitz  <poenitz@gmx.net>
3331
3332         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3333
3334         * undo_funcs.C:
3335         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3336           linked lists
3337
3338         * text2.C: tiny whitespace
3339
3340 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3341
3342         * undo_funcs.C: almost only ws changes.
3343
3344         * ParagraphList.C (splice): just return if pl is empty.
3345
3346 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3347
3348         * ParagraphList.C (splice): new function.
3349
3350         * CutAndPaste.C (pasteSelection): use it
3351
3352 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3353
3354         * CutAndPaste.C (pasteSelection): remove the last next and
3355         previous from this file.
3356
3357 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3358
3359         * CutAndPaste.C (pasteSelection): more clean up, user proper
3360         ParagraphList functions for pasteing.
3361
3362         * ParagraphList.C (insert): new function, three arg insert
3363
3364 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3365
3366         * ParagraphList.C (insert): new function, three arg insert
3367
3368         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3369         not on paragraphs.
3370
3371 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3372
3373         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3374
3375 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3376
3377         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3378
3379 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3380
3381         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3382         (copySelection): clean up a bit.
3383         (pasteSelection): use make_pair
3384
3385         * ParagraphList.C (ParagraphList): implement copy constructor
3386         (operator=): implement, base on copy constructor.
3387         (assign): new func
3388
3389         * paragraph.C (erase): return a bool
3390
3391         * paragraph_pimpl.C (erasePos): remove function, move contents...
3392         (erase): ... here. Return a bool.
3393         (erase): call erase instead of erasePos.
3394
3395 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3396
3397         * ParagraphList.h: define PitPosPair
3398         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3399         ParagraphList, fix a bug on pasting multiple pars
3400         * text2.C: change interface to C&P
3401
3402 2003-04-30  André Pönitz  <poenitz@gmx.net>
3403
3404         * undo_func.C: revert part of yesterday's patch 2
3405
3406 2003-04-30  John Levon  <levon@movementarian.org>
3407
3408         * LColor.C: s/tabular/table/
3409
3410 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3411
3412         * text3.C (dispatch): do not convert iterator -> pointer
3413         * undo_funcs.C (setCursorParUndo): ditto
3414         * text_funcs.C (transposeChars): ditto
3415
3416         * text2.C (setLayout): ws changes only
3417
3418         * text.C (breakParagraph): do not convert iterator -> pointer
3419         (insertChar): ditto
3420         (acceptChange): ditto
3421         (rejectChange): ditto
3422         (changeCase): ditto
3423         (Delete): ditto
3424         (backspace): ditto
3425
3426         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3427         pointer
3428
3429 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3430
3431         * text3.C (gotoInset): YABG (yet another bad getChar)
3432
3433 2003-04-29  André Pönitz  <poenitz@gmx.net>
3434
3435         * paragraph.h: make operator= private unimplemented as long as
3436           it is unusable
3437
3438         * ParagraphList.C: whitespace
3439
3440         * paragraph.[Ch]:
3441         * paragraph_pimpl.[Ch]:
3442         * paragraph_funcs.C:
3443         * CutAndPaste.C:
3444         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3445
3446         * text2.C:
3447           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3448
3449 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3450
3451         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3452         * paragraph.[Ch] (erase):
3453         * paragraph_pimpl.[Ch] (erase): change return type and value
3454         * text2.C (cutSelection): some rework
3455
3456 2003-04-28  John Levon  <levon@movementarian.org>
3457
3458         * bufferlist.C: changes for unsaved changes dialog
3459
3460 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3461
3462         * bufferlist.C (newFile): set language (messages_) for new
3463         documents also.
3464
3465         * buffer.C (readFile): ws changes only.
3466
3467 2003-04-28  André Pönitz  <poenitz@gmx.net>
3468
3469         * undo_funcs.C:
3470         * lyxfunc.C:
3471         * buffer.[Ch]:
3472         * BufferView_pimpl.C:
3473         * BufferView.C: getParFromID related ParagraphList::iterator changes
3474
3475 2003-04-28  André Pönitz  <poenitz@gmx.net>
3476
3477         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3478           Changes
3479
3480 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3481
3482         * messages.C: remove one more localedir class variable.
3483
3484 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3485
3486         * messages.C (getLocaleDir): singleton generation function
3487         (Pimpl): use it.
3488         (Messages): add a default constructor.
3489
3490         * main.C (main): do not setup localedir here, do not call
3491         gettext_init.
3492
3493         * gettext.C (_): use it.
3494         (gettext_init): delete funciton
3495
3496 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3497
3498         * gettext.C (getLyXMessages): new singleton generating function.
3499
3500         * buffer.C (updateDocLang): adjust
3501
3502         * Makefile.am (messages.o): add target
3503         (main.o): remove target
3504
3505 2003-04-27  John Levon  <levon@movementarian.org>
3506
3507         * bufferlist.C:
3508         * lyx_cb.C:
3509         * lyxfunc.C:
3510         * lyxvc.C: specify cancel button in Alert::prompt
3511
3512 2003-04-26  John Levon  <levon@movementarian.org>
3513
3514         * text3.C:
3515         * lyxfunc.C:
3516         * lfuns.h:
3517         * LyXAction.C: add LFUN_INSET_SETTINGS
3518
3519         * lyxfunc.C: don't enable tabular-feature when there's
3520         just any locking inset
3521
3522 2003-04-26  John Levon  <levon@movementarian.org>
3523
3524         * bufferlist.C: re-add Cancel to buffer close question
3525
3526         * lyxfunc.C: fix import UI a bit
3527
3528 2003-04-25  John Levon  <levon@movementarian.org>
3529
3530         * gettext.C: remove the broken asserts for now
3531
3532 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3533
3534         * messages.C: make case where setlocale cannot comply work better.
3535
3536         * buffer.C (updateDocLang): new function
3537         (changeLanguage): use it
3538         (readFile): use it
3539
3540         * text2.C (setCounter): use B_ a bit.
3541
3542         * lyxlayout.C (Read): be sure to trim the label strings.
3543
3544         * messages.C (Messages): fix typo in comment
3545
3546         * buffer.C (readFile): set message_ after file is loaded.
3547         (makeDocBookFile): remove double return
3548         (changeLanguage): reset message_ upon language change.
3549         (B_): new func, use this to get translated buffer strings.
3550
3551         * main.C: add myself and Jean Marc as authors.
3552
3553 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3554
3555         * messages.[hC]: pimplify Messages, and three different pimpls to be
3556         used in different circumstances.
3557
3558         * gettext.[Ch]: change for use with new message code.
3559
3560 2003-04-24 André Pönitz <poenitz@gmx.net>
3561
3562         * factory.C: support for eqref
3563
3564 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3565
3566         * messages.[Ch]: add missing char
3567
3568         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3569
3570         * messages.[Ch]: New files
3571
3572 2003-04-18  John Levon  <levon@movementarian.org>
3573
3574         * BufferView.h:
3575         * BufferView.C:
3576         * BufferView_pimpl.C:
3577         * lfuns.h:
3578         * LyXAction.C:
3579         * lyxtext.h:
3580         * text2.C: remove layout-copy/paste (bug 778)
3581
3582 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3583
3584         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3585
3586 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3587
3588         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3589         if they succeed. Act accordingly.
3590
3591 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3592
3593         * text2.C (setCharFont): adjust
3594         (setCounter): adjust
3595         (insertStringAsLines): adjust
3596
3597         * text.C (leftMargin): adjust
3598         (setHeightOfRow): adjust
3599
3600         * rowpainter.C (paintFirst): adjust
3601         (paintLast): adjust
3602
3603         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3604         (outerHook): ditto
3605         (isFirstInSequence): ditto
3606         (getEndLabel): ditto
3607         (outerFont): adjust
3608
3609         * paragraph.C (getParLanguage): comment out some hard stuff.
3610
3611         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3612         (sgmlError): ditto
3613         (simpleDocBookOnePar): ditto
3614         (makeDocBookFile): use ParagraphList::iterator
3615
3616         * CutAndPaste.C (pasteSelection): adjust
3617
3618 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3619
3620         * text2.C (getFont): adjust
3621         (getLayoutFont): adjust
3622         (getLabelFont): adjust
3623
3624         * paragraph_funcs.C (TeXOnePar): adjust
3625
3626         * buffer.C (simpleLinuxDocOnePar): adjust
3627         (simpleDocBookOnePar): adjust
3628
3629         * CutAndPaste.C (pasteSelection): adjust
3630
3631         * BufferView.C (getEncoding): adjust
3632
3633         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3634
3635 2003-04-16  John Levon  <levon@movementarian.org>
3636
3637         * lyxfind.C: use parlist stuff for search/changes
3638
3639 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3640
3641         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3642
3643         * text2.C (deleteEmptyParagraphMechanism): adjust
3644
3645         * text2.[Ch] (ownerParagraph): delete func (both of them
3646
3647 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3648
3649         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3650
3651 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3652
3653         * ParagraphList.C: prepare for NO_NEXT
3654
3655 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3656
3657         * text2.C (getFont): adjust
3658         (getLayoutFont): adjust
3659         (getLabelFont): adjust
3660
3661         * paragraph.C (getFont): adjust
3662         (getLabelFont): adjust
3663         (getLayoutFont): adjust
3664
3665         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3666
3667 2003-04-15  John Levon  <levon@movementarian.org>
3668
3669         From Angus Leeming
3670
3671         * lyx_main.C: handle Include in .ui files
3672
3673 2003-04-15  John Levon  <levon@movementarian.org>
3674
3675         * MenuBackend.C: make the doc files length shorter
3676
3677         * ToolbarBackend.h:
3678         * ToolbarBackend.C: handle toolbar placement flags,
3679         Minibuffer
3680
3681 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3682
3683         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3684         adjust
3685
3686         * paragraph_funcs.C (TeXOnePar): adjust
3687
3688         * paragraph.C (getLabelFont): add outerfont arg, adjust
3689         (getLayoutFont): ditto
3690         (simpleTeXOnePar): adjust
3691
3692         * paragraph_pimpl.C (realizeFont): delete func
3693
3694 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3695
3696         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3697         row argument, constify cur argument.
3698
3699 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3700
3701         * text2.C (getFont): adjust
3702         (getLayoutFont): adjust
3703         (getLabelFont): adjust
3704
3705         * paragraph_funcs.C (TeXOnePar): adjust
3706         (outerFont): new func...
3707         (realizeFont): ...moved out from here, changed this to facilitate
3708         transition
3709
3710         * paragraph.C (getFont): take outerfont as arg, adjust
3711         (simpleTeXOnePar): add outerfont arg, adjust
3712
3713         * buffer.C (simpleLinuxDocOnePar): adjust
3714         (simpleDocBookOnePar): adjust
3715
3716         * CutAndPaste.C (pasteSelection): adjust
3717
3718         * BufferView.C (getEncoding): adjust
3719
3720 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3721
3722         * text2.C (setCharFont): adjust
3723         (setCounter): adjust
3724
3725         * text.C (leftMargin): adjust
3726         (setHeightOfRow): adjust
3727
3728         * rowpainter.C (paintFirst): adjust
3729         (paintLast): adjust
3730
3731         * paragraph_pimpl.C (realizeFont): adjust
3732
3733         * paragraph.C (isFirstInSequence): move from here...
3734         * paragraph_funcs.C (isFirstInSequence): ...to here
3735
3736         * paragraph.C (outerHook): move from here...
3737         * paragraph_funcs.C (outerHook): ...to here
3738
3739         * paragraph.C (depthHook): move from here...
3740         * paragraph_funcs.C (depthHook): ...to here
3741
3742         * paragraph.C (getEndLabel): move from here...
3743         * paragraph_funcs.C (getEndLabel): ...to here
3744
3745         * text2.C (realizeFont): move from here...
3746         * paragraph_funcs.C (realizeFont): ...to here
3747
3748 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3749
3750         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3751
3752 2003-04-14  Angus Leeming  <leeming@lyx.org>
3753
3754         * LColor.[Ch]: scrap LColor mathcursor.
3755
3756 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3757
3758         * lyxlex.[Ch] (text): delete function
3759         * trans.C (Load): adjust
3760         * paragraph_funcs.C (readParToken): adjust
3761
3762 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3763
3764         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3765         vector<char> instead of a char[].
3766
3767         * lyxlex_pimpl.C (getString): adjust
3768         (next): adjust
3769         (lex): use getString
3770         (eatLine): adjust
3771         (nextToken): adjust
3772
3773         * lyxlex.C (text): use pimpl_->getString()
3774         (getBool): ditto
3775         (findToken): ditto
3776
3777 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3778
3779         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3780         (makeFontEntriesLayoutSpecific): temp var for par.size()
3781         (setLayout): temp var for ownerParagraphs().end()
3782         (fullRebreak): temp var for rows().end()
3783         (selectionAsString): temp var for boost::next(startpit), realize
3784         that the while really is a regular for loop.
3785         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3786         setCursor in one place.
3787         (setParagraph): temp vr for ownerParagraphs().end()
3788         (updateCounters): make the while loop a for loop
3789         (cutSelection): temp var for ownerParagraphs().end()
3790         (updateInset): make the do {} while() a regular for loop
3791         (getCursorX): use temp vars
3792         (setCurrentFont): use temp vars
3793         (getColumnNearX): use temp vars
3794
3795 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3796
3797         * text.C (transformChar): use temp var for getChar
3798         (computeBidiTables): use temp var for row->par()
3799         (fill): move temp vars for row->par() and pit->layout() earlier in
3800         the function.
3801         (labelFill): use temp var for row->par()
3802         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3803         asc and desc, realize that pit never changes and that firstpit is
3804         just a duplicate and not needed. Exchange rit->par() with pit in a
3805         lot of places.
3806         (breakAgain): use a temp var for boost::next(rit)
3807         (breakAgainOneRow): ditto
3808         (breakParagraph): use a temp var for rows().begin()
3809         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3810         (cursorRightOneWord): use temp var for cursor.par() and
3811         cursor.pos(), remove usage of tmpcursor.
3812         (cursorLeftOneWord): use temp var for cursor.par() and
3813         cursor.pos() only set cur at end of function.
3814
3815 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3816
3817         * text.C, text2.C: exchange all usage of Paragraph::next with
3818         boost::next(ParagraphList::iterator)
3819
3820         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3821
3822         * text2.C (cursorTop): simplify implementation
3823         (cursorBottom): ditto
3824         (setParagraph): use ParagraphList::iterator
3825         (setCurrentFont): adjust
3826         (getColumnNearX): adjust
3827         (cursorRight): adjust
3828         (cursorLeft): remove usage of Paragraph::previous
3829         (cursorUpParagraph): ditto
3830         (deleteEmptyParagraphMechanism): slight cleanup
3831
3832         * text.C (isBoundary): take a Paragraph const & instead of a
3833         pointer as arg.
3834         (addressBreakPoint): ditto
3835         (leftMargin): remove usage of Paragraph::previous.
3836         (setHeightOfRow): ditto
3837         (cursorLeftOneWord): ditto
3838         (selectNextWordToSpellcheck): ditto
3839         (Delete): ditto
3840         (backspace): ditto
3841         (breakParagraph): remove one usage of Paragraph::next
3842         (redoParagraph): ditto
3843         (acceptChange): ditto
3844         (insertChar): adjust
3845         (rowBreakPoint): adjust
3846
3847         * bufferview_funcs.C (toggleAndShow): adjust
3848
3849 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3850
3851         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3852         methods to access it.
3853         * lyxtext.h:
3854         * text.C: Added updateRowPositions to compute all row positions.
3855         Make top_y and getRowNearY() to use the cached y position
3856
3857 2003-04-11  John Levon  <levon@movementarian.org>
3858
3859         * text.C (rowBreakPoint): reintroduce the labelEnd
3860         checks, code copied from the row fill stuff. Deep voodoo.
3861
3862         * text.C (fill): add a comment and debugging for the
3863         next poor soul.
3864
3865 2003-04-11  John Levon  <levon@movementarian.org>
3866
3867         * text.C: make sure fullrow insets get wrapped to the next line,
3868         even when they're in a manual label
3869
3870 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3871
3872         * text2.C (insertParagraph): make it take ParagraphList::iterator
3873         as arg.
3874         (setLayout): make it return ParagraphList::iterator
3875         (redoParagraphs): ditto
3876         (setCounter): ditto
3877         (checkParagraph): ditto
3878
3879         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3880
3881         * text2.C: adjust several funcs.
3882         (realizeFont): take a ParagraphList::iterator as arg.
3883         (getLayoutFont): ditto
3884         (getLabelFont): ditto
3885         (setCharFont): ditto
3886
3887         * text.C: adjust several funcs.
3888
3889 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3890
3891         * text.C (selectNextWordToSpellcheck): don't accidentally
3892         skip insets
3893
3894 2003-04-10  John Levon  <levon@movementarian.org>
3895
3896         * ToolbarBackend.C (getIcon): special handling for
3897         LFUN_MATH_DELIM
3898
3899 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3900
3901         * text2.C (cursorRight): a getChar assert fixed
3902
3903 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3904
3905         * text2.C (getFont): change to take a ParagraphList::iterator
3906         instead of Paragraph*
3907         Adjust several functions.
3908
3909         * text.C (transformChar): change to take a ParagraphList::iterator
3910         instead of Paragraph*
3911         (singleWidth): ditto
3912         Adjust several functions.
3913
3914         * rowpainter.C: adjust several functions
3915         * rowpainter.h:store a ParagraphList::iterator and not a
3916         Paragraph&.
3917
3918
3919 2003-04-09  John Levon  <levon@movementarian.org>
3920
3921         * lyxfunc.C:
3922         * lfuns.h:
3923         * LyXAction.h:
3924         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3925         and the "help" bits as well
3926
3927 2003-04-09  John Levon  <levon@movementarian.org>
3928
3929         * ToolbarBackend.h:
3930         * ToolbarBackend.C: allow multiple toolbars
3931
3932 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3933
3934         * undo_funcs.C (setCursorParUndo): adjust
3935
3936         * text_funcs.C (transposeChars): adjust
3937
3938         * text3.C (gotoNextInset): adjust
3939         (dispatch): adjust
3940
3941         * text2.C (setLayout): adjust
3942         (changeDepth): adjust
3943         (setFont): adjust
3944         (redoParagraphs): adjust
3945         (selectionAsString): adjust
3946         (setParagraph): adjust
3947         (insertInset): adjust
3948         (cutSelection): adjust
3949         (copySelection): adjust
3950         (pasteSelection): adjust
3951         (insertStringAsLines): adjust
3952         (updateInset): adjust
3953         (setCursor): change to take a ParagraphList::iterator parameter
3954         (setCursorIntern): change to take a ParagraphList::iterator parameter
3955         (setCurrentFont): adjust
3956         (cursorLeft): adjust
3957         (cursorRight): adjust
3958         (deleteEmptyParagraphMechanism): adjust
3959
3960         * text.C (breakParagraph): adjust
3961         (insertChar): adjust
3962         (acceptChange): adjust
3963         (rejectChange): adjust
3964         (selectNextWordToSpellcheck): adjust
3965         (changeCase): adjust
3966         (Delete): adjust
3967         (backspace): adjust
3968
3969         * lyxfind.C (SearchForward): adjust
3970         (SearchBackward): adjust
3971         (nextChange): adjust
3972
3973         * lyxcursor.C (par): adjust
3974
3975         * lyxcursor.h: store a ParagraphList::iterator instead of a
3976         Paragraph*
3977
3978         * lyx_cb.C (getPossibleLabel): adjust
3979
3980         * bufferview_funcs.C (toggleAndShow): adjust
3981
3982         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3983         (dispatch): adjust
3984
3985         * BufferView.C (removeAutoInsets): adjust
3986         (lockedInsetStoreUndo): adjust
3987
3988 2003-04-09  John Levon  <levon@movementarian.org>
3989
3990         * ToolbarBackend.C: try icon without argument
3991         if with argument fails
3992
3993 2003-04-08  John Levon  <levon@movementarian.org>
3994
3995         * ToolbarBackend.h:
3996         * ToolbarBackend.C: add getIcon(), handle tooltip,
3997         and change from "Icon" to "Item".
3998
3999 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4000
4001         * BufferView.C (lockInset): another bad getchar crunched
4002
4003 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4004
4005         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4006         again)
4007
4008 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4009
4010         * lyxfind.C (searchForward, searchBackwards): bug 782
4011
4012 2003-04-07  John Levon  <levon@movementarian.org>
4013
4014         * paragraph.C: remove dead comment
4015
4016         * text.C: remove troublesome depth-fiddling code
4017         in leftMargin() and rightMargin() (bug 1017)
4018
4019         * text.C: fix breaking of rows in nested lists
4020         (bug 1004)
4021
4022         * text2.C (updateCounters): fix up depth values
4023         (bug 1013)
4024
4025 2003-04-07  John Levon  <levon@movementarian.org>
4026
4027         * BufferView_pimpl.C: clear message when doc finishes resizing,
4028         and after a mouse event
4029
4030         * lyxfunc.C: clear message after exiting inset
4031
4032 2003-04-07  John Levon  <levon@movementarian.org>
4033
4034         * bufferview_funcs.C: show math status not outside
4035         status in the statusbar
4036
4037 2003-04-07  John Levon  <levon@movementarian.org>
4038
4039         * lyxfunc.C: note status changed after a depth change
4040
4041 2003-04-04  Angus Leeming  <leeming@lyx.org>
4042
4043         * LaTeX.h: move AuxInfo operator==, != out of line.
4044         Remove LaTeX virtual destructor; nothing derives from it.
4045         Move operator()() out of public area and rename it startscript().
4046         Change protected for private.
4047
4048 2003-04-04  Angus Leeming  <leeming@lyx.org>
4049
4050         * lyxfunc.C:
4051         * text2.C: remove unneeded #includes.
4052
4053 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4054
4055         * text2.C (dEPM): fix the heigth of the next row
4056
4057 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4058
4059         * text.C: squashed an invalid getChar requester + some ws changes
4060
4061 2003-04-03  John Levon  <levon@movementarian.org>
4062
4063         * bufferview_funcs.h:
4064         * bufferview_funcs.C:
4065         * lyxfunc.C:
4066         * lyxtext.h:
4067         * text2.C: make getStatus work for the env depth lfuns
4068
4069 2003-04-03  John Levon  <levon@movementarian.org>
4070
4071         * bufferview_funcs.h:
4072         * bufferview_funcs.C:
4073         * lyxfunc.C:
4074         * lyxtext.h:
4075         * text2.C: parlistize decDepth(), by merging it with incDepth()
4076
4077 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4078
4079         * lyxrow.h: store a ParagraphList::iterator instead of a
4080         Paragraph* and adjust other class functions to suit.
4081
4082         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4083         above.
4084
4085 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4086
4087         * text2.C (setCursor): do not anchor to cursor row for the time being
4088
4089 2003-04-02  John Levon  <levon@movementarian.org>
4090
4091         * LyXAction.C:
4092         * lfuns.h:
4093         * lyx_main.C:
4094         * lyxtext.h:
4095         * text.C:
4096         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4097
4098 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4099
4100         * paragraph.h: make ParagraphList and ParagraphList::iterator
4101         friends of Paragraph.
4102
4103         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4104
4105         * ParagraphList.C: Use the private next_ and previous_ from
4106         Paragraph.
4107
4108 2003-04-01  John Levon  <levon@movementarian.org>
4109
4110         * ToolbarBackend.h:
4111         * ToolbarBackend.C:
4112         * Makefile.am: rename, remove defaults gunk
4113
4114         * MenuBackend.h:
4115         * MenuBackend.C: remove defaults gunk
4116
4117         * Languages.h:
4118         * Languages.C: remove defaults gunk
4119
4120         * lyx_main.h:
4121         * lyx_main.C: error out if files couldn't be found.
4122
4123 2003-04-02  John Levon  <levon@movementarian.org>
4124
4125         * text2.C: make incDepth() use parlist
4126
4127 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4128
4129         * undo_funcs.C (firstUndoParagraph): adjust
4130
4131         * text3.C (gotoInset): adjust
4132         (dispatch): adjust, and rewrite loop.
4133
4134         * text2.C (init): adjust, and rewrite loop.
4135         (redoParagraphs): adjust
4136         (updateInset): adjust, and rewrite loop.
4137         (deleteEmptyParagraphMechanism): adjust
4138
4139         * tabular.C (LyXTabular): adjust
4140         (SetMultiColumn): adjust
4141         (TeXRow): adjust
4142
4143         * lyxtext.[Ch] (ownerParagraph): delete function
4144         (ownerParagraphs): new function returns a ParagraphList.
4145
4146         * BufferView.C (removeAutoInsets): adjust
4147         (insertErrors): adjust
4148         (setCursorFromRow): adjust
4149
4150 2003-04-01  Angus Leeming  <leeming@lyx.org>
4151
4152         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4153         in the frontends.
4154
4155 2003-04-02  John Levon  <levon@movementarian.org>
4156
4157         * lyxtext.h:
4158         * text.C:
4159         * Makefile.am:
4160         * text_funcs.h:
4161         * text_funcs.C: make transposeChars a free function
4162
4163         * lyxrow_funcs.C: remove wrong comment
4164
4165 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4166
4167         * lyxtext.h: adjust
4168         * rowpainter.C: adjust
4169         * text.C: adjust
4170         * text2.C: adjust
4171         * text3.C: adjust
4172
4173         * lyxrow_funcs. [Ch]: new files
4174
4175         * lyxrow.[Ch]: remove next and previous pointers
4176         (next,previous): remove accessor functions
4177         (isParEnd): move to lyxrow_funcs
4178         (lastPos): move to lyxrow_funcs
4179         (nextRowIsAllInset): move to lyxrow_funcs
4180         (lastPrintablePos): move to lyxrow_funcs
4181         (numberOfSeparators): move to lyxrow_funcs
4182         (numberOfHfills): move to lyxrow_funcs
4183         (numberOfLabelHfills): move to lyxrow_funcs
4184         (hfillExpansion): move to lyxrow_funcs
4185
4186         * lyxfunc.C: adjust
4187
4188         * bufferview_funcs.C (toggleAndShow): adjust
4189
4190         * RowList.h: Remove class RowList from file leave just a
4191         std::list<Row>.
4192
4193         * RowList.C: delete file
4194
4195         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4196         and lyxrow_funcs.h
4197
4198 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4199
4200         * text3.C (cursorPrevious): adjust
4201         (cursorNext): adjust
4202         (dispatch): adjust
4203
4204         * text2.C (redoHeightOfParagraph): adjust
4205         (redoDrawingOfParagraph): adjust
4206         (setCursor): adjust
4207
4208         * text.C (breakParagraph): adjust
4209         (insertChar): adjust
4210         (backspace): adjust
4211
4212         * rowpainter.C (RowPainter): adjust
4213         (leftMargin): simplify and adjust
4214         (most rowpainter functions): adjust.
4215
4216         * rowpainter.h: store the row as RowList::iterator not as Row*
4217
4218         * lyxcursor.C (row): taka RowList::iterator as arg
4219         (irow): ditto
4220
4221         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4222         of Row*.
4223
4224 2003-04-01  Angus Leeming  <leeming@lyx.org>
4225
4226         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4227         stuff like bool Bool.
4228
4229 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4230
4231         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4232         rewrite a loop
4233
4234 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4235
4236         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4237         RowList::iterator.
4238
4239         * lyxtext.h (rows): drop one version and leve a const variant that
4240         returns a RowList::iterator.
4241
4242 2003-03-31  Angus Leeming  <leeming@lyx.org>
4243
4244         * text.C (fill): ensure that the signature is the same as that in the
4245         header file.
4246
4247 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4248
4249         * text2.C (redoParagraphs): adjust
4250         (updateCounters): adjust
4251         (checkParagraph): adjust
4252         (getColumnNearX): adjust and reformat a bit.
4253
4254         * text.C (top_y): adjust
4255         (workWidth): adjust
4256         (leftMargin): adjust
4257         (prepareToPrint): adjust
4258         (getRow): adjust
4259         (getRowNearY): adjust
4260
4261         * lyxtext.h: make rowlist_ mutable.
4262
4263         * RowList.h: add const_iterator
4264         * RowList.C: adjust for RowList::const_iterator.
4265
4266         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4267         adjust.
4268
4269 2003-03-31  John Levon  <levon@movementarian.org>
4270
4271         * lyxrc.h:
4272         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4273
4274         * lyx_main.C: set default fonts from using lyx_gui funcs
4275
4276         * exporter.C: pdf_mode moved from lyxrc
4277
4278         * lyx_cb.C:
4279         * lyxfunc.C: changes from above
4280
4281 2003-03-31  John Levon  <levon@movementarian.org>
4282
4283         * lyx_main.C: fix to the last fix
4284
4285 2003-03-31  John Levon  <levon@movementarian.org>
4286
4287         * bufferlist.C: "Load original" -> "Load Original"
4288
4289         * converter.C:
4290         * exporter.C:
4291         * importer.C:
4292         * lyx_main.C:
4293         * format.C: more Alert cleanups
4294
4295 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4296
4297         * text2.C (removeParagraph): make it take a RowList::iterator as
4298         arg, adjust.
4299         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4300         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4301
4302         * text.C (anchor_row): make it take a RowList::iterator as arg,
4303         adjust.
4304         (computeBidiTables): make it take a const reference to Row instead
4305         of Row pointer, adjust.
4306         (leftMargin): make it take a RowList::iterator as arg, adjust.
4307         (rowBreakPoint): adjust
4308         (breakAgainOneRow): make it take a RowList::iterator as arg,
4309         adjust.
4310         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4311
4312         * bufferview_funcs.C (toggleAndShow): adjust
4313
4314 2003-03-30  John Levon  <levon@movementarian.org>
4315
4316         * Makefile.am:
4317         * BoostFormat.h:
4318         * boost-inst.C: moved to support
4319
4320         * several files: changes as a result
4321
4322 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4323
4324         * text2.C (LyXText): adjust.
4325         (init): adjust
4326         (removeRow): make it take a RowList::iterator as arg, adjust.
4327         (fullRebreak): adjust
4328         (deleteEmptyParagraphMechanism): adjust
4329         (clearPaint): adjust
4330         (postPaint): adjust
4331
4332         * text.C (top_y): adjust
4333         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4334         (breakAgain): make it take a RowList::iterator as arg, adjust.
4335         (breakParagraph): adjust
4336         (insertChar): adjust
4337         (backspace): adjust
4338
4339         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4340         need_break_row, and refresh_row.
4341
4342         * text3.C (dispatch): adjust
4343
4344         * text2.C (checkParagraph): adjust
4345         (setCursor): adjust
4346         (setCursorFromCoordinates): adjust
4347
4348         * text.C (top_y): adjust
4349         (workWidth): adjust
4350         (getRow): make it return a RowList::iterator, adjust
4351         (getRowNearY): make it return a RowList::iterator, adjust
4352
4353         * text2.C (init): adjust
4354         (insertRow): remove function
4355         (insertParagraph): adjust
4356         (redoParagraphs): adjust
4357         (fullRebreak): adjust
4358         (updateCounters): adjust
4359
4360         * text.C (top_y): rewrite to use RowList iterators.
4361         (top_y): adjust
4362         (setHeightOfRow): rewrite to sue RowList iterators.
4363         (appendParagraph): adjust
4364         (breakAgain): adjust
4365         (breakAgainOneRow): adjust
4366         (breakParagraph): adjust
4367         (getRow): adjust
4368         (getRowNearY): adjust, and remove commented code.
4369
4370         * lyxtext.h (firstRow): delete function
4371         (lastRow): delete function
4372         (rows): new function (const and non-const versions.)
4373         (insertRow): delete function
4374
4375         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4376
4377 2003-03-29  John Levon  <levon@movementarian.org>
4378
4379         * BufferView_pimpl.C: always update scrollbar top
4380         because pasting text when we're anchored could mean we
4381         miss an update altogether
4382
4383 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4384
4385         * text2.C (init): use rowlist_.end() and not 0.
4386         (insertRow): change to take a RowList::iterator as arg, adjust
4387         for this.
4388         (insertParagraph): change to take a RowList::iterator as arg,
4389         adjust for this.
4390         (redoParagraphs): remove some debug msgs.
4391
4392         * text.C (appendParagraph): change to take a RowList::iterator
4393         arg, adjust for this.
4394         (breakAgain): add an assert
4395         (breakAgainOneRow): ditto
4396
4397 2003-03-29  John Levon  <levon@movementarian.org>
4398
4399         * text2.C: do not clear selection after inc/decDepth
4400         (bug 550)
4401
4402 2003-03-29  John Levon  <levon@movementarian.org>
4403
4404         * BufferView.C:
4405         * buffer.C: fix broken strerrors according to Lars
4406
4407 2003-03-29  John Levon  <levon@movementarian.org>
4408
4409         * converters.C: more Alert cleanups
4410
4411 2003-03-29  John Levon  <levon@movementarian.org>
4412
4413         * bufferview_funcs.C: remove pointless Alert
4414
4415         * buffer.C: fix confusing error message when
4416         a template is chmoded 000
4417
4418 2003-03-29  John Levon  <levon@movementarian.org>
4419
4420         * BufferView.C:
4421         * BufferView.h:
4422         * BufferView_pimpl.C: Alert fixes
4423
4424         * Makefile.am:
4425         * tabular.C:
4426         * tabular-old.C: remove unused table compat reading
4427
4428 2003-03-29  John Levon  <levon@movementarian.org>
4429
4430         * BufferView.C:
4431         * buffer.C:
4432         * lyx_cb.h:
4433         * lyx_cb.C: more Alert cleanups
4434
4435         * lyxfunc.C: don't allow chktex if not latex document
4436
4437 2003-03-29  John Levon  <levon@movementarian.org>
4438
4439         * lyx_cb.C:
4440         * BufferView.C:
4441         * buffer.C: warnings pushed down from support/,
4442         kill err_alert
4443
4444 2003-03-29  John Levon  <levon@movementarian.org>
4445
4446         * lyxfunc.C: safety check for C-r (revert)
4447
4448 2003-03-29  John Levon  <levon@movementarian.org>
4449
4450         * bufferlist.h:
4451         * bufferlist.C: several UI fixes using Alert::prompt.
4452         Fix the pointless looping quit code. Fix stupid revert
4453         behaviour (bug 938)
4454
4455         * lyxvc.h:
4456         * lyxvc.C:
4457         * lyx_cb.C: use Alert::prompt
4458
4459         * lyx_main.C: remove a silly question
4460
4461         * lyxfunc.C: remove a couple of silly questions,
4462         use Alert::prompt
4463
4464 2003-03-28  John Levon  <levon@movementarian.org>
4465
4466         * text2.C: fix bug 974 (End on empty par)
4467
4468 2003-03-28  John Levon  <levon@movementarian.org>
4469
4470         * BufferView_pimpl.C:
4471         * LyXAction.C:
4472         * lfuns.h: remove do-nothing math greek lfuns
4473
4474 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4475
4476         * lyxgluelength.h (isValidGlueLength): add default arg on
4477         parameter 2. Remove default arg from friend in class.
4478
4479         * lyxlength.h (isValidLength): add default arg on parameter 2.
4480         Remove default arg from friend in class.
4481
4482         * text2.C (LyXText): adjust, initialize refresh_row.
4483         (init): adjust
4484         (removeRow): adjust
4485         (insertRow): adjust
4486         (insertParagraph): adjst
4487         (redoParagraphs): adjust
4488         (fullRebreak): adjust
4489         (updateCounters): adjust
4490         (deleteEmptyParagraphMechanism): first attempt at fixing a
4491         crashing bug.
4492
4493         * text.C (top_y): adjust
4494         (setHeightOfRow): adjust
4495         (getRow): adjust
4496         (getRowNearY): adjust
4497
4498         * lyxtext.h: include RowList.h
4499         (~LyXText): not needed anymore, deleted.
4500         (firstRow): modify for RowList
4501         (lastRow): new function
4502         Delete firstrow and lastrow class variables, add a Rowlist
4503         rowlist_ class variable.
4504
4505         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4506         paragraph is empty.
4507
4508         * RowList.C (insert): fix case where it == begin().
4509
4510 2003-03-26  Angus Leeming  <leeming@lyx.org>
4511
4512         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4513         the thesaurus dialog.
4514
4515 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4516
4517         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4518
4519         * RowList.[Ch]: new files
4520
4521         * ParagraphList.C (erase): handle the case where it == begin
4522         correctly.
4523
4524 2003-03-25  John Levon  <levon@movementarian.org>
4525
4526         * Makefile.am:
4527         * aspell_local.h:
4528         * aspell.C: add new aspell support
4529
4530         * lyxrc.h:
4531         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4532         have it accessible.
4533
4534 2003-03-25  Angus Leeming  <leeming@lyx.org>
4535
4536         * lfuns.h:
4537         * LyXAction.C (init): new LFUN_INSET_INSERT.
4538
4539         * BufferView_pimpl.C (dispatch): split out part of the
4540         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4541
4542         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4543         LFUN_INSET_APPLY.
4544
4545 2003-03-25  Angus Leeming  <leeming@lyx.org>
4546
4547         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4548
4549 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4550
4551         * text2.C:
4552         * text3.C: remove useless row->height(0)
4553
4554 2003-03-25  John Levon  <levon@movementarian.org>
4555
4556         * lyxtext.h:
4557         * text2.C:
4558         * text3.C: rename the refreshing stuff to better names
4559
4560 2003-03-24  John Levon  <levon@movementarian.org>
4561
4562         * BufferView_pimpl.h:
4563         * BufferView_pimpl.C: update layout choice on a mouse
4564         press/release
4565
4566 2003-03-23  John Levon  <levon@movementarian.org>
4567
4568         * Makefile.am: fix commandtags.h reference
4569
4570 2003-03-22  John Levon  <levon@movementarian.org>
4571
4572         * BufferView_pimpl.C:
4573         * lyxtext.h:
4574         * rowpainter.C:
4575         * rowpainter.h:
4576         * text.C:
4577         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4578
4579 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4580
4581         * lyxtext.h:
4582         * text.C: take the rtl methods out of line
4583
4584 2003-03-21 André Pönitz <poenitz@gmx.net>
4585
4586         * metricsinfo.[Ch]: new files containing structures to be passed around
4587         during the two-phase-drawing...
4588
4589 2003-03-21 André Pönitz <poenitz@gmx.net>
4590
4591         * lyxtextclass.C: read 'environment' tag.
4592
4593 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4594
4595         * text2.C (removeRow): fix bug 964
4596
4597 2003-03-20  John Levon  <levon@movementarian.org>
4598
4599         * rowpainter.C:
4600         * text.C:
4601         * text2.C: paint cleanups. Inset::update() dropped font
4602         parameter
4603
4604 2003-03-19  John Levon  <levon@movementarian.org>
4605
4606         * lyxfunc.C: only fitcursor/markDirty if available()
4607
4608 2003-03-19  John Levon  <levon@movementarian.org>
4609
4610         * commandtags.h: rename to ...
4611
4612         * lfuns.h: ... this, and renumber / cleanup
4613
4614 2003-03-19  John Levon  <levon@movementarian.org>
4615
4616         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4617         fit the cursor after an lfun
4618
4619         * BufferView.h:
4620         * BufferView.C:
4621         * BufferView_pimpl.h:
4622         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4623
4624         * LyXAction.C: layout-character should have ReadOnly
4625
4626         * ParagraphParameters.C:
4627         * buffer.C:
4628         * bufferview_funcs.C:
4629         * lyx_cb.C:
4630         * lyxfind.C:
4631         * lyxtext.h:
4632         * text.C:
4633         * text2.C:
4634         * text3.C:
4635         * undo_funcs.C: changes from above
4636
4637 2003-03-18  John Levon  <levon@movementarian.org>
4638
4639         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4640         remove it from update()
4641
4642         * lyxfunc.C: update layout choice after an lfun
4643
4644         * text3.C: remove extra updateLayoutChoice()s
4645
4646 2003-03-18  John Levon  <levon@movementarian.org>
4647
4648         * text.C: top_y change means full repaint, fix
4649         a drawing bug with cursor movement
4650
4651 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4652
4653         * lyxtext.h:
4654         * text.C:
4655         * text2.C: anchor row on setCursor
4656
4657 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4658
4659         * lyxtext.h: remove almost all mutable keywords
4660         * text.C:
4661         * text2.C:
4662         * text3.C: remove const keywords accordingly
4663
4664 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4665
4666         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4667         anon namespace
4668         (TeXEnvironment): ditto
4669         (TeXOnePar): ditto
4670
4671 2003-03-17  John Levon  <levon@movementarian.org>
4672
4673         * text.C (rowBreakPoint): remove attempt to fix displayed
4674         math insets inside a manual label
4675
4676 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4677
4678         * lyxtext.h: remove BufferView* as first arg from almost all class
4679         functions.
4680         * other files: adjust.
4681
4682 2003-03-17  John Levon  <levon@movementarian.org>
4683
4684         * lyxtext.h:
4685         * undo_funcs.C:
4686         * text2.C: more paint cleanups
4687
4688         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4689
4690         * rowpainter.h:
4691         * rowpainter.C: remove "smart" background painting code
4692
4693 2003-03-16  John Levon  <levon@movementarian.org>
4694
4695         * lyxtext.h:
4696         * text.C:
4697         * text2.C:
4698         * text3.C: add helper functions for setting refresh_row/y
4699
4700 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4701
4702         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4703         newline inset which *can* get inserted in the pass_thru layouts.
4704         This is primarily for literate documents.
4705
4706 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4707
4708         * buffer.C: increment LYX_FORMAT to 223
4709
4710 2003-03-14 André Pönitz <poenitz@gmx.net>
4711
4712         * textclass.h: prepare for environment handling, ws changes
4713         * lyxlayout.C: read latexheader and latexfooter tags
4714
4715 2003-03-14  John Levon  <levon@movementarian.org>
4716
4717         * text2.C: rewrite ::status() a bit
4718
4719 2003-03-13  John Levon  <levon@movementarian.org>
4720
4721         * lyxtext.h: add some docs
4722
4723 2003-03-13  John Levon  <levon@movementarian.org>
4724
4725         * lyxtext.h:
4726         * text.C:
4727         * text2.C:
4728         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4729
4730 2003-03-13  John Levon  <levon@movementarian.org>
4731
4732         * text3.C: fix appendix redrawing
4733
4734 2003-03-13  John Levon  <levon@movementarian.org>
4735
4736         * text.C (setHeightOfRow):
4737         * rowpainter.h:
4738         * rowpainter.C: make appendix mark have the text
4739           "Appendix" so the user knows what it is
4740
4741         * LColor.h:
4742         * LColor.C: s/appendixline/appendix/ from above
4743
4744 2003-03-13  John Levon  <levon@movementarian.org>
4745
4746         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4747
4748         * text.C: fix a getChar(pos) bug properly
4749
4750 2003-03-13  Angus Leeming  <leeming@lyx.org>
4751
4752         * commandtags.h:
4753         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4754         Probably only temporary. Let's see how things pan out.
4755
4756         * BufferView.C (unlockInset):
4757         * BufferView_pimpl.C (fitCursor):
4758         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4759
4760         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4761         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4762
4763         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4764         new functions that convert ParagraphParameters to and from a string.
4765
4766         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4767         BufferView::Pimpl's dispatch.
4768         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4769
4770 2003-03-13 André Pönitz <poenitz@gmx.net>
4771
4772         * lyxfunc.C:
4773         * text3.C:
4774         * factory.C: make it aware of InsetEnv
4775
4776 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4777
4778         * text2.C (setCursor): never ask for one past last
4779         (setCursor): add some debugging messages.
4780
4781         * text.C (singleWidth): never ask for one past last
4782         (singleWidth): ditto
4783         (leftMargin): ditto
4784         (rightMargin): ditto
4785         (rowBreakPoint): ditto
4786         (setHeightOfRow): ditto
4787         (prepareToPrint): ditto
4788
4789         * rowpainter.C (paintBackground): never ask for one past last
4790         (paintText): never ask for one past last
4791
4792         * paragraph_pimpl.C (getChar): make the assert stricter, never
4793         allow the one past last pos to be taken
4794
4795         * paragraph.C (getChar): ws changes only
4796
4797         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4798         (numberOfSeparators): ditto
4799         (numberOfHfills): ditto
4800
4801 2003-03-12  John Levon  <levon@movementarian.org>
4802
4803         * author.h:
4804         * author.C:
4805         * bufferparams.h:
4806         * bufferparams.C:
4807         * paragraph_funcs.C: fix per-buffer authorlists
4808
4809 2003-03-12  John Levon  <levon@movementarian.org>
4810
4811         * text.C: fix newline in right address
4812
4813 2003-03-12  Angus Leeming  <leeming@lyx.org>
4814
4815         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4816         duplicate those in LyXFunc::dispatch.
4817
4818         * commandtags.h:
4819         * LyXAction.C:
4820         * ToolbarDefaults.C:
4821         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4822         Add LFUN_FONTFREE_UPDATE.
4823
4824         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4825         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4826
4827         * bufferview_func.[Ch]: several new functions to facilliate
4828         transfer of data to and from the character dialog.
4829
4830 2003-03-12  John Levon  <levon@movementarian.org>
4831
4832         * buffer.C:
4833         * paragraph.h:
4834         * paragraph.C:
4835         * paragraph_funcs.C:
4836         * paragraph_pimpl.C:
4837         * sgml.C:
4838         * tabular.C:
4839         * text.C:
4840         * text3.C: remove META_NEWLINE in favour of an inset
4841
4842         * rowpainter.h:
4843         * rowpainter.C: remove paintNewline (done by inset)
4844
4845 2003-03-12  John Levon  <levon@movementarian.org>
4846
4847         * paragraph_pimpl.C: complain about bad getChar()s
4848         for a while at least
4849
4850 2003-03-12  John Levon  <levon@movementarian.org>
4851
4852         * buffer.h:
4853         * buffer.C: move paragraph read into a separate function,
4854         a little renaming to reflect that.
4855
4856         * bufferparams.h:
4857         * bufferparams.C: remove the author_ids map, not necessary now
4858
4859         * factory.h:
4860         * factory.C: moved Buffer::readInset to here
4861
4862         * paragraph_funcs.h:
4863         * paragraph_funcs.C: readParagraph free function moved from
4864         buffer.C
4865
4866         * tabular.C: name change
4867
4868 2003-03-12  John Levon  <levon@movementarian.org>
4869
4870         * buffer.C:
4871         * ParagraphParameters.C: move par params input to
4872         a read() method
4873
4874         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4875         behave like a normal read from the stream wrt reading
4876         a line vs. a \\token
4877
4878 2003-03-12  John Levon  <levon@movementarian.org>
4879
4880         * paragraph.C:
4881         * ParagraphParameters.h:
4882         * ParagraphParameters.C: move output code to a
4883         ::write() method
4884
4885 2003-03-12  John Levon  <levon@movementarian.org>
4886
4887         * BufferView.C (insertLyXFile):
4888         * buffer.h:
4889         * buffer.C:
4890         * tabular.C: use a parlist iterator for creating the
4891           document.
4892
4893 2003-03-12  John Levon  <levon@movementarian.org>
4894
4895         * buffer.C: make current_change static local not
4896           static file-scope
4897
4898 2003-03-12  John Levon  <levon@movementarian.org>
4899
4900         * buffer.C: fix insertStringAsLines for change tracking
4901
4902 2003-03-12  John Levon  <levon@movementarian.org>
4903
4904         * BufferView.C:
4905         * tabular.C:
4906         * buffer.h:
4907         * buffer.C:
4908         * bufferparams.h:
4909         * bufferparams.C: move author list into params. Rename some
4910           functions. Move the header reading into a separate token
4911           loop. Move the header token reading into BufferParams.
4912
4913 2003-03-12  John Levon  <levon@movementarian.org>
4914
4915         * changes.C: put debug inside lyxerr.debugging() checks
4916
4917 2003-03-11 André Pönitz <poenitz@gmx.net>
4918
4919         * factory.C: make it aware of InsetHFill
4920
4921 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4922
4923         * buffer.C (latexParagraphs): move function from here...
4924         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4925         args.
4926
4927 2003-03-10  Angus Leeming  <leeming@lyx.org>
4928
4929         * LyXAction.C (init): fix bug in poplating array with multiple entries
4930         with the same LFUN (spotted by JMarc).
4931
4932 2003-03-10  John Levon  <levon@movementarian.org>
4933
4934         * text.C:
4935         * text2.C: move getColumnNearX() near its
4936         only call site
4937
4938 2003-03-10  John Levon  <levon@movementarian.org>
4939
4940         * text.C: fix break before a minipage
4941
4942 2003-03-10  John Levon  <levon@movementarian.org>
4943
4944         * text.C: fix the last commit
4945
4946 2003-03-09  John Levon  <levon@movementarian.org>
4947
4948         * lyxtext.h:
4949         * text.C:
4950         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4951         bug 365 (don't break before insets unless needed). Don't
4952         return a value > last under any circumstances.
4953
4954 2003-03-09  Angus Leeming  <leeming@lyx.org>
4955
4956         * BufferView_pimpl.C (trackChanges, dispatch): call
4957         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4958
4959 2003-03-09  Angus Leeming  <leeming@lyx.org>
4960
4961         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4962         than Dialogs::showAboutlyx().
4963
4964 2003-03-09  Angus Leeming  <leeming@lyx.org>
4965
4966         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4967         than Dialogs::showTabularCreate().
4968
4969 2003-03-09  John Levon  <levon@movementarian.org>
4970
4971         * lyxtext.h:
4972         * text.C:
4973         * text2.C: 3rd arg to nextBreakPoint was always the same.
4974           Use references.
4975
4976 2003-03-08  John Levon  <levon@movementarian.org>
4977
4978         * lyxrow.C:
4979         * paragraph.C:
4980         * paragraph.h:
4981         * rowpainter.C:
4982         * text.C:
4983         * text2.C: Remove the "main" bit from the "main body"
4984           notion.
4985
4986 2003-03-08  John Levon  <levon@movementarian.org>
4987
4988         * text.C (leftMargin): The left margin of an empty
4989         manual label paragraph should not include the label width
4990         string length.
4991
4992         * text.C (prepareToPrint): don't attempt to measure hfills
4993         for empty manual label paragraphs - the answer should be 0
4994
4995 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4996
4997         * CutAndPaste.C: remove commented code and reindent.
4998
4999 2003-03-08  John Levon  <levon@movementarian.org>
5000
5001         * lyxfunc.h:
5002         * lyxfunc.C: move reloadBuffer()
5003
5004         * BufferView.h:
5005         * BufferView.C: to here
5006
5007         * lyxvc.C: add comment
5008
5009         * vc-backend.h:
5010         * vc-backend.C: call bv->reload() to avoid
5011           getStatus() check on MENURELOAD
5012
5013 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5014
5015         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5016         to an old format .dep file.
5017
5018 2003-03-07  Angus Leeming  <leeming@lyx.org>
5019
5020         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5021         when the LFUN_MOUSE_RELEASE should have been handled by
5022         inset->localDispatch.
5023
5024 2003-03-07  Angus Leeming  <leeming@lyx.org>
5025
5026         * BufferView_pimpl.C (dispatch):
5027         * LyXAction.C (init):
5028         * ToolbarDefaults.C (init):
5029         * commandtags.h:
5030         * lyxfunc.C (getStatus):
5031         remove LFUN_INSET_GRAPHICS.
5032
5033         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5034
5035 2003-03-07  Angus Leeming  <leeming@lyx.org>
5036
5037         * commandtags.h:
5038         * LyXAction.C (init):
5039         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5040
5041         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5042
5043         * commandtags.h:
5044         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5045
5046         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5047         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5048
5049 2003-03-07  Angus Leeming  <leeming@lyx.org>
5050
5051         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5052         remove "ert".
5053
5054 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5055
5056         * ParagraphList.C (front): new function
5057         (back): implement
5058
5059 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5060
5061         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5062         and top_row_offset_. removed var first_y.
5063         * text.C (top_y):
5064         * text2.C (LyXText, removeRow):
5065         * text3.C:
5066         * BufferView_pimpl.C:
5067         use these methods instead of using first_y
5068
5069 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5070
5071         * text2.C (pasteSelection): adjust for checkPastePossible
5072
5073         * CutAndPaste.C: remove Paragraph * buf and replace with
5074         ParagraphList paragraphs.
5075         (DeleteBuffer): delete
5076         (cutSelection): change the tc type to textclass_type
5077         (copySelection): change the tc type to textclass_type
5078         (copySelection): adjust for ParagraphList
5079         (pasteSelection): change the tc type to textclass_type
5080         (pasteSelection): adjust for Paragraphlist
5081         (nrOfParagraphs): simplify for ParagraphList
5082         (checkPastePossible): simplify for ParagraphList
5083         (checkPastePossible): remove unused arg
5084
5085         * ParagraphList.C (insert): handle the case where there are no
5086         paragraphs yet.
5087
5088         * CutAndPaste.h: make CutAndPaste a namespace.
5089
5090         * text3.C (dispatch): adjust
5091
5092         * text.C (breakParagraph): add a ParagraphList as arg
5093
5094         * paragraph_funcs.C (breakParagraph): change to take a
5095         BufferParams and a ParagraphList as args.
5096         (breakParagraphConservative): ditto
5097         (mergeParagraph): ditto
5098         (TeXDeeper): add a ParagraphList arg
5099         (TeXEnvironment): ditto
5100         (TeXOnePar): ditto
5101
5102         * buffer.C (readLyXformat2): adjust
5103         (insertStringAsLines): adjust
5104         (latexParagraphs): adjust
5105
5106         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5107         (cutSelection): adjust
5108         (pasteSelection): adjust
5109
5110         * BufferView_pimpl.C (insertInset): adjust
5111
5112 2003-03-05  Angus Leeming  <leeming@lyx.org>
5113
5114         * commandtags.h:
5115         * LyXAction.C (init):
5116         * BufferView_pimpl.C (dispatch):
5117         * lyxfunc.C (getStatus):
5118         remove LFUN_CHILD_INSERT.
5119
5120         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5121
5122 2003-03-05  Angus Leeming  <leeming@lyx.org>
5123
5124         * commandtags.h:
5125         * LyXAction.C (init):
5126         * src/factory.C (createInset):
5127         * lyxfunc.C (getStatus):
5128         * text3.C (dispatch):
5129         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5130
5131         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5132
5133 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5134
5135         * ParagraphList.C (insert): handle insert right before end()
5136         (erase): fix cases where it can be first or last paragraph.
5137
5138 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5139
5140         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5141         Paragraph::next and Paragraph::previous
5142         (TeXOnePar): ditto
5143
5144         * text.C (breakParagraph): adjust
5145
5146         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5147         BufferParams& as arg.
5148         (breakParagraph): use ParagraphList::insert
5149         (breakParagraphConservative): take a Buffer* instead of a
5150         BufferParams& as arg.
5151         (breakParagraphConservative): use ParagraphList::insert.
5152
5153         * buffer.C (insertStringAsLines): un-const it
5154         (insertStringAsLines): adjust
5155
5156         * ParagraphList.C (insert): new function
5157
5158         * CutAndPaste.C (pasteSelection): adjust
5159
5160         * text.C (backspace): adjust
5161
5162         * tabular.C (SetMultiColumn): adjust
5163
5164         * CutAndPaste.C (cutSelection): adjust
5165         (pasteSelection): adjust
5166
5167         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5168         Buffer const * as arg
5169
5170         * ParagraphList.C (erase): new function
5171         * paragraph_funcs.C (mergeParagraph): use it
5172         (mergeParagraph): make it take a Buffer* instead of a
5173         BufferParams* as arg
5174
5175         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5176         as arg
5177         (breakParagraphConservative): ditto
5178
5179         * paragraph.h: remove the breakParagraph friend
5180
5181         * paragraph.C (eraseIntern): new function
5182         (setChange): new function
5183
5184         * paragraph_funcs.C (mergeParagraph): make it take a
5185         ParagraphList::iterator instead of a Paragraph *, adjust
5186         accordingly.
5187
5188         * paragraph.h: move an #endif so that the change tracking stuff
5189         also works in the NO_NEXT case.
5190
5191 2003-03-04  Angus Leeming  <leeming@lyx.org>
5192
5193         * commandtags.h:
5194         * LyXAction.C: new LFUN_INSET_MODIFY.
5195
5196         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5197         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5198
5199 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5200
5201         * several files: ws changes only
5202
5203         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5204         (TeXEnvironment): ditto
5205         (TeXDeeper): ditto
5206
5207         * buffer.C (makeLaTeXFile): adjust
5208         (latexParagraphs): make it take ParagraphList::iterator as args
5209
5210 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5211
5212         * buffer.C (latexParagraphs): adjust
5213
5214         * paragraph.C (TeXOnePar): move function...
5215         (optArgInset): move function...
5216         (TeXEnvironment): move function...
5217         * paragraph_pimpl.C (TeXDeeper): move function...
5218         * paragraph_funcs.C: ...here
5219
5220         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5221
5222 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5223
5224         * buffer.C (readInset): remove compability code for old Figure and
5225         InsetInfo insets
5226
5227 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5228
5229         * buffer.C: ws changes
5230         (readInset):
5231
5232         * BufferView_pimpl.C: ditto
5233         * author.C: ditto
5234         * buffer.h: ditto
5235         * bufferlist.h: ditto
5236         * changes.h: ditto
5237         * lyxfunc.C: ditto
5238
5239 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5240
5241         * converter.[Ch]: split into itself +
5242         * graph.[Ch]
5243         * format.[Ch]
5244         * Makefile.am: += graph.[Ch] + format.[Ch]
5245         * MenuBackend.C
5246         * buffer.C
5247         * exporter.C
5248         * importer.C
5249         * lyx_main.C
5250         * lyxfunc.C
5251         * lyxrc.C: added #include "format.h"
5252
5253 2003-02-27  Angus Leeming  <leeming@lyx.org>
5254
5255         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5256           a label.
5257
5258         * factory.C (createInset): add "label" to the factory.
5259
5260         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5261           string and do no more.
5262
5263 2003-02-27  Angus Leeming  <leeming@lyx.org>
5264
5265         * commandtags.h:
5266         * LyXAction.C (init):
5267         * factory.C (createInset):
5268         * BufferView_pimpl.C (dispatch):
5269           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5270
5271         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5272
5273         * lyxfunc.C (dispatch):
5274         * text3.C (dispatch): pass name to params2string.
5275
5276 2003-02-26  Angus Leeming  <leeming@lyx.org>
5277
5278         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5279           blocks together.
5280           Rearrange the ~includes. Strip out the unnecessary ones.
5281
5282         * factory.C (createInset): reformat.
5283           create new insets for the various LFUN_XYZ_APPLY lfuns.
5284
5285 2003-02-26  John Levon  <levon@movementarian.org>
5286
5287         * lyxrow.h:
5288         * lyxrow.C: add isParStart,isParEnd helpers
5289
5290         * paragraph.h: make isInserted/DeletedText take refs
5291
5292         * paragraph_funcs.h:
5293         * paragraph_funcs.C: remove #if 0'd code
5294
5295         * lyxtext.h:
5296         * text3.C:
5297         * text2.C:
5298         * text.C: use lyxrow helpers above.
5299           Move draw and paint routines to RowPainter.
5300           Make several methods use refs not pointers.
5301           Make backgroundColor() const.
5302           Add markChangeInDraw(), isInInset().
5303           Merge changeRegionCase into changeCase.
5304           Make workWidth() shouldn't-happen code into an Assert.
5305
5306         * rowpainter.h:
5307         * rowpainter.C: new class for painting a row.
5308
5309         * vspace.h:
5310         * vspace.C: make inPixels take a ref
5311
5312 2003-02-26  Angus Leeming  <leeming@lyx.org>
5313
5314         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5315         LFUN_REF_APPLY.
5316
5317 2003-02-25  John Levon  <levon@movementarian.org>
5318
5319         * ispell.C: give the forked command a more accurate name
5320
5321 2003-02-22  John Levon  <levon@movementarian.org>
5322
5323         * toc.h:
5324         * toc.C: make TocItem store an id not a Paragraph *
5325           (bug #913)
5326
5327 2003-02-21  Angus Leeming  <leeming@lyx.org>
5328
5329         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5330           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5331           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5332           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5333           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5334           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5335
5336         * BufferView_pimpl.C (dispatch):
5337         * LyXAction.C (init):
5338         * factory.C (createInset):
5339         * lyxfunc.C (getStatus, dispatch):
5340         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5341
5342 2003-02-21  Angus Leeming  <leeming@lyx.org>
5343
5344         * BufferView_pimpl.C (MenuInsertLyXFile):
5345         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5346         * lyxfunc.C (menuNew, open, doImport):
5347           no longer pass a LyXView & to fileDlg.
5348
5349 2003-02-21  Angus Leeming  <leeming@lyx.org>
5350
5351         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5352         * LyXAction.C: change, BIBKEY to BIBITEM.
5353         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5354         Change InsetBibKey to InsetBibitem.
5355         Change BIBKEY_CODE to BIBITEM_CODE.
5356         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5357         * factory.C: replace insetbib.h with insetbibitem.h.
5358         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5359         * paragraph.C: replace insetbib.h with insetbibitem.h.
5360         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5361         Change bibkey() to bibitem().
5362         * text.C: remove insetbib.h.
5363         * text2.C: replace insetbib.h with insetbibitem.h.
5364         change bibkey() to bibitem().
5365         * text3.C: remove insetbib.h.
5366         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5367
5368 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5369
5370         * lyxrc.C (output): enclose user email in quotes (in case there are
5371         several words)
5372
5373 2003-02-18  John Levon  <levon@movementarian.org>
5374
5375         * buffer.h: add std::
5376
5377 2003-02-17  John Levon  <levon@movementarian.org>
5378
5379         * SpellBase.h:
5380         * ispell.h:
5381         * ispell.C:
5382         * pspell.h:
5383         * pspell.C: reworking. Especially in ispell, a large
5384           number of clean ups and bug fixes.
5385
5386         * lyxfunc.C: fix revert to behave sensibly
5387
5388 2003-02-17 André Pönitz <poenitz@gmx.net>
5389
5390         * LyXAction.C:
5391         * commandtags.h: new LFUN_INSERT_BIBKEY
5392
5393         * layout.h:
5394         * lyxlayout.C:
5395         * buffer.C:
5396         * factory.C:
5397         * text.C:
5398         * text2.C:
5399         * text3.C:
5400         * paragraph.[Ch]:
5401         * paragraph_func.C: remove special bibkey handling
5402
5403 2003-02-17  John Levon  <levon@movementarian.org>
5404
5405         * text.C (Delete): fix case where delete at the end of
5406           the very first paragraph would not merge the pars
5407
5408 2003-02-17  John Levon  <levon@movementarian.org>
5409
5410         * lyxrow.C: fix lastPrintablePos()
5411
5412 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5413
5414         * bufferparams.C (writeLaTeX): add a std:here
5415
5416         * buffer.C: and remove a using directive there
5417
5418 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5419
5420         * buffer.C (makeLaTeXFile): move the code that generates the
5421           preamble...
5422
5423         * bufferparams.C (writeLaTeX): ... in this new method
5424
5425         * LaTeXFeatures.C (getEncodingSet): make const
5426           (getLanguages): make const
5427
5428         * MenuBackend.C (binding): returns the binding associated to this
5429           action
5430           (add): sets the status of each item by calling getStatus. Adds
5431           some intelligence.
5432           (read): add support for OptSubMenu
5433           (expand): remove extra separator at the end of expanded menu
5434
5435 2003-02-15  John Levon  <levon@movementarian.org>
5436
5437         * BufferView.C:
5438         * BufferView_pimpl.C:
5439         * bufferlist.h:
5440         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5441           inset code that had no actual effect. Remove unneeded status
5442           code.
5443
5444 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5445
5446         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5447           in preamble
5448
5449 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5450
5451         * text.C (drawLengthMarker): also draw an arrow marker for
5452           symbolic lengths (medskip...)
5453
5454 2003-02-14  John Levon  <levon@movementarian.org>
5455
5456         * tabular.h:
5457         * tabular.C: better method names
5458
5459 2003-02-14  John Levon  <levon@movementarian.org>
5460
5461         * BufferView_pimpl.C:
5462         * bufferlist.C:
5463         * buffer.C:
5464         * converter.C:
5465         * lyx_cb.C:
5466         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5467           it's a more accurate name. Remove some pointless uses.
5468
5469 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5470
5471         * text2.C (LyXText): change order of initilizers to shut off
5472           warnings
5473
5474 2003-02-14  John Levon  <levon@movementarian.org>
5475
5476         * buffer.C: use ParIterator for getParFromID()
5477
5478         * paragraph.h:
5479         * paragraph.C:
5480         * paragraph_pimpl.h:
5481         * paragraph_pimpl.C: remove unused getParFromID()
5482
5483 2003-02-14  John Levon  <levon@movementarian.org>
5484
5485         * buffer.C: remove some very old #if 0'd parse code
5486
5487 2003-02-13  John Levon  <levon@movementarian.org>
5488
5489         * text.h:
5490         * text.C:
5491         * text2.C: move hfillExpansion(), numberOfSeparators(),
5492           rowLast(), rowLastPrintable(), numberofHfills(),
5493           numberOfLabelHfills() ...
5494
5495         * lyxrow.h:
5496         * lyxrow.C: ... to member functions here.
5497
5498         * paragraph.h:
5499         * paragraph.C:
5500         * lyxtext.h:
5501         * text.C: remove LyXText::beginningOfMainBody(), and call
5502           p->beginningOfMainBody() directly. Move the check for
5503           LABEL_MANUAL into the latter.
5504
5505         * text.h:
5506         * text.C:
5507         * text2.C:
5508         * vspace.C:
5509         * BufferView.h:
5510         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5511
5512         * text.h:
5513         * text.C:
5514         * text2.C:
5515         * text3.C:
5516         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5517           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5518
5519 2003-02-13  John Levon  <levon@movementarian.org>
5520
5521         * CutAndPaste.C: remove debug
5522
5523 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5524
5525         * paragraph.C (asString): remove two unused variables
5526
5527         * lyxtextclass.C (readTitleType):
5528           (Read):
5529           (LyXTextClass): handle new members titletype_ and titlename_
5530
5531         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5532
5533 2003-02-09  John Levon  <levon@movementarian.org>
5534
5535         * buffer.h:
5536         * buffer.C: replace hand-coded list with a map for the dep clean
5537
5538 2003-02-08  John Levon  <levon@movementarian.org>
5539
5540         * LaTeX.C: consolidate code into showRunMessage() helper
5541
5542 2003-02-08  John Levon  <levon@movementarian.org>
5543
5544         * lyxfind.C:
5545         * lyxtext.h:
5546         * text2.C:
5547         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5548           and pass the size in explicitly
5549
5550         * BufferView_pimpl.h:
5551         * BufferView_pimpl.C:
5552         * BufferView.h:
5553         * BufferView.C: add getCurrentChange()
5554
5555         * BufferView_pimpl.h:
5556         * BufferView_pimpl.C: handle change lfuns
5557
5558         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5559           for changes. Mark pasted paragraphs as new.
5560
5561         * support/lyxtime.h:
5562         * support/lyxtime.C:
5563         * DepTable.C: abstract time_t as lyx::time_type
5564
5565         * LColor.h:
5566         * LColor.C: add colours for new text, deleted text, changebars
5567
5568         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5569           package use "usenames" option.
5570
5571         * commandtags.h:
5572         * lyxfunc.C:
5573         * LyXAction.C: add change lfuns
5574
5575         * Makefile.am:
5576         * author.h:
5577         * author.C: author handling
5578
5579         * buffer.h:
5580         * buffer.C: add a per-buffer author list, with first entry as
5581           current author. Handle new .lyx tokens for change tracking. Output
5582           author list to .lyx file. Output dvipost stuff to .tex preamble.
5583           Bump lyx format to 222.
5584
5585         * bufferlist.h:
5586         * bufferlist.C: add setCurrentAuthor() to reset current author details
5587           in all buffers.
5588
5589         * bufferparams.h:
5590         * bufferparams.C: add param for tracking
5591
5592         * bufferview_funcs.C: output change info in minibuffer
5593
5594         * Makefile.am:
5595         * changes.h:
5596         * changes.C: add change-tracking structure
5597
5598         * debug.h:
5599         * debug.C: add CHANGES debug flag
5600
5601         * lyxfind.h:
5602         * lyxfind.C: add code for finding the next change piece
5603
5604         * lyxrc.h:
5605         * lyxrc.C: add user_name and user_email
5606
5607         * lyxrow.h:
5608         * lyxrow.C: add a metric for the top of the text line
5609
5610         * lyxtext.h:
5611         * text.C: implement accept/rejectChange()
5612
5613         * lyxtext.h:
5614         * text.C: paint changebars. Paint new/deleted text in the chosen
5615         colours. Strike through deleted text.
5616
5617         * paragraph.h:
5618         * paragraph.C:
5619         * paragraph_pimpl.h:
5620         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5621           in the current change to the insert functions. Rework erase to
5622           mark text as deleted, adding an eraseIntern() and a range-based
5623           erase(). Implement per-paragraph change lookup and
5624           accept/reject.
5625
5626         * paragraph_funcs.C: Fixup paste for change tracking.
5627
5628         * tabular.C: mark added row/columns as new.
5629
5630         * text.C: fix rowLast() to never return -1. Don't allow
5631           spellchecking of deleted text. Track transpose changes. Don't
5632           allow paragraph break or merge where appropriate.
5633
5634         * text2.C: leave cursor at end of selection after a cut.
5635
5636 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5637
5638         * text.C (getLengthMarkerHeight):
5639         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5640         visible on screen too.
5641
5642 2003-02-07  John Levon  <levon@movementarian.org>
5643
5644         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5645
5646 2003-02-05  Angus Leeming  <leeming@lyx.org>
5647
5648         * lyxserver.C (read_ready): revert my patch of 11 September last year
5649         as it sends PC cpu through the roof. Presumably this means that
5650         the lyxserver will no longer run on an Alpha...
5651
5652 2003-01-30  Angus Leeming  <leeming@lyx.org>
5653
5654         * factory.C (createInset): create an InsetCommandParam of type "index"
5655         and use it to 'do the right thing'.
5656
5657         * text2.C (getStringToIndex): ensure that cursor position is always
5658         reset to the reset_cursor position.
5659
5660 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5661
5662         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5663         disabled.
5664
5665 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5666
5667         * bufferview.C:
5668         * lyxcb.C:
5669         * lyxfunc.C: Output messages with identical spelling, punctuation,
5670         and spaces
5671
5672 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5673
5674         * MenuBackend.C (expandFormats): List only viewable export formats
5675         in "View" menu
5676
5677         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5678         message
5679
5680         * lyxfunc.C (getStatus): Make sure that formats other than
5681         "fax" can also be disabled
5682
5683 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5684
5685         * text3.C (dispatch): put the lfuns that insert insets in 3
5686         groups, and call doInsertInset with appropriate arguments.
5687         (doInsertInset): new function, that creates an inset and inserts
5688         it according to some boolean parameters.
5689
5690 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5691
5692         * buffer.C (readFile): remember to pass on 'par' when calling
5693         readFile recursively.
5694
5695 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5696
5697         * MenuBackend.C (expandFormats): add "..." to import formats.
5698
5699 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5700
5701         * paragraph.C (asString): Remove XForms RTL hacks.
5702
5703 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5704         * buffer.C: fix typo
5705
5706 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5707
5708         * Makefile.am (LIBS): delete var
5709         (lyx_LDADD): add @LIBS@ here instead.
5710
5711 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5712
5713         * Clarify the meaning of "wheel mouse jump"
5714
5715 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5716
5717         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5718         tabular in a float
5719
5720 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5721
5722         * importer.C (Loaders): do not preallocate 3 elements in the
5723         vector, since one ends up with 6 elements otherwise
5724
5725 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5726
5727         * DepTable.C (write): write the file name as last element of the
5728         .dep file (because it may contain spaces)
5729         (read): read info in the right order
5730
5731 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5732
5733         * paragraph_pimpl.C (simpleTeXBlanks):
5734         (simpleTeXSpecialChars):
5735         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5736
5737         * tabular.C (latex): add some missing case statements. Reindent.
5738
5739         * MenuBackend.C (expandToc): remove unused variable.
5740
5741 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5742
5743         * LColor.C:
5744         * LaTeX.C:
5745         * LyXAction.C:
5746         * MenuBackend.C:
5747         * buffer.C:
5748         * exporter.C:
5749         * lyxfunc.C:
5750         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5751         and the like.
5752
5753 2003-01-05  John Levon  <levon@movementarian.org>
5754
5755         * BufferView.h:
5756         * BufferView.C: add getEncoding()
5757
5758         * kbsequence.h:
5759         * kbsequence.C: do not store last keypress
5760
5761         * lyxfunc.h:
5762         * lyxfunc.C: store last keypress here instead. Pass encoding
5763           to getISOEncoded()
5764
5765 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5766
5767         * lyx_main.C (init): remove annoying error message when following
5768         symbolic links (bug #780)
5769
5770 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5771
5772         * text.C (insertChar):
5773         * lyxrc.C (getDescription): remove extra spaces
5774
5775 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5776
5777         * lyxrc.C (getDescription): remove extra spaces
5778
5779 2002-12-20  John Levon  <levon@movementarian.org>
5780
5781         * text3.C: hack fix for page up/down across tall rows
5782
5783 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5784
5785         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5786         not been invoked
5787
5788 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5789
5790         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5791         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5792         thesaurus is not compiled in
5793
5794 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5795
5796         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5797
5798 2002-12-16  Angus Leeming  <leeming@lyx.org>
5799
5800         * lyxrc.[Ch]:
5801         * lyx_main.C (init): remove override_x_deadkeys stuff.
5802
5803 2002-12-12  John Levon  <levon@movementarian.org>
5804
5805         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5806           insert. Only remove shift modifier under strict
5807           circumstances.
5808
5809 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5810
5811         * MenuBackend.C (expandToc): fix crash.
5812
5813 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5814
5815         * MenuBackend.C (expandToc): gettext on float names.
5816
5817 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5818
5819         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5820         implement bool empty() [bug 490]
5821
5822 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5823
5824         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5825
5826 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5827
5828         * several files: ws changes
5829
5830 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5831
5832         * text2.C (setCounter): clean up a bit, use boost.format.
5833         (updateCounters): initialize par upon declaration.
5834
5835         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5836         if the layout exists. We do not just store the layout any more.
5837         (SwitchLayoutsBetweenClasses): use boost.format
5838
5839 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5840
5841         * converter.C (convert): if from and to files are the same, use a
5842         temporary files as intermediary
5843
5844 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5845
5846         * commandtags.h:
5847         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5848
5849 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5850
5851         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5852
5853 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5854
5855         * tabular.C (asciiPrintCell): use string(size, char) instead of
5856         explicit loop.
5857
5858         * sgml.C (openTag): fix order of arguments to string constructor
5859         (closeTag): ditto
5860
5861         * lyxfunc.C (dispatch): use boost.format
5862
5863         * lots of files: change "c" -> 'c'
5864
5865 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5866
5867         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5868
5869 2002-11-25  Angus Leeming  <leeming@lyx.org>
5870
5871         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5872
5873         * lyx_main.C (init): compile fix.
5874
5875 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5876
5877         * lyx_cb.C (start): boost.formatify
5878         do not include <iostream>
5879
5880         * lengthcommon.C: ws only
5881
5882         * boost-inst.C,BoostFormat.h: add more explict instantations
5883
5884 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5885
5886         * lots of files: handle USE_BOOST_FORMAT
5887
5888 2002-11-21  John Levon  <levon@movementarian.org>
5889
5890         * pspell.C: fix compile
5891
5892 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5893
5894         * lyxfunc.C (dispatch): use boost::format
5895         (open): ditto
5896         (doImport): ditto
5897
5898         * lyxfont.C (stateText): use boost::format
5899
5900         * lyx_main.C (LyX): use boost::format
5901         (init): ditto
5902         (queryUserLyXDir): ditto
5903         (readRcFile): ditto
5904         (parse_dbg): ditto
5905         (typedef boost::function): use the recommened syntax.
5906
5907         * importer.C (Import): use boost::format
5908
5909         * debug.C (showLevel): use boost::format
5910
5911         * converter.C (view): use boost::format
5912         (convert): ditto
5913         (move): ditto
5914         (scanLog): ditto
5915
5916         * bufferview_funcs.C (currentState): use boost::format
5917
5918         * bufferlist.C (emergencyWrite): use boost::format
5919
5920         * buffer.C (readLyXformat2): use boost::format
5921         (parseSingleLyXformat2Token): ditto
5922
5923         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5924
5925         * LaTeX.C (run): use boost::format
5926
5927         * Chktex.C (scanLogFile): use boost::format
5928
5929         * BufferView_pimpl.C (savePosition): use boost::format
5930         (restorePosition): ditto
5931         (MenuInsertLyXFile): ditto
5932
5933         * BoostFormat.h: help file for explicit instation.
5934
5935 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5936
5937         * tabular.C (latex): Support for block alignment in fixed width
5938         columns.
5939
5940 2002-11-17  John Levon  <levon@movementarian.org>
5941
5942         * BufferView_pimpl.C:
5943         * lyx_cb.C:
5944         * lyxfunc.C: split filedialog into open/save
5945
5946 2002-11-08  Juergen Vigna  <jug@sad.it>
5947
5948         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5949         by my last patch (hopefully).
5950
5951 2002-11-08  John Levon  <levon@movementarian.org>
5952
5953         * iterators.h:
5954         * iterators.C:
5955         * buffer.h:
5956         * buffer.C:
5957         * paragraph.h:
5958         * paragraph.C:
5959         * toc.h:
5960         * toc.C: ParConstIterator, and use it (from Lars)
5961
5962 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5963
5964         * lyxtextclass.[Ch]: revise and add doxygen comments
5965
5966 2002-11-07  John Levon  <levon@movementarian.org>
5967
5968         * text.C: fix progress value for spellchecker
5969
5970         * toc.C: fix navigate menu for insetwrap inside minipage
5971
5972         * paragraph_funcs.C: added FIXME for suspect code
5973
5974 2002-11-07  John Levon  <levon@movementarian.org>
5975
5976         * BufferView_pimpl.C: fix redrawing of insets
5977           on buffer switch
5978
5979 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5980
5981         * text2.C (updateCounters): fix bug 668
5982
5983 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5984
5985         * text3.C (dispatch): Do not make the buffer dirty when moving the
5986         cursor.
5987
5988 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5989
5990         * vc-backend.C: STRCONV
5991         (scanMaster): ditto
5992
5993         * text2.C (setCounter): STRCONV
5994
5995         * paragraph.C (asString): STRCONV
5996
5997         * lyxlength.C (asString): STRCONV
5998         (asLatexString): ditto
5999
6000         * lyxgluelength.C (asString): STRCONV
6001         (asLatexString): ditto
6002
6003         * lyxfunc.C (dispatch): STRCONV
6004         (open): ditto
6005
6006         * lyxfont.C (stateText): STRCONV
6007
6008         * importer.C (Import): STRCONV
6009
6010         * counters.C (labelItem): STRCONV
6011         (numberLabel): ditto
6012         (numberLabel): remove unused ostringstream o
6013
6014         * chset.C: STRCONV
6015         (loadFile): ditto
6016
6017         * bufferview_funcs.C (currentState): STRCONV
6018
6019         * buffer.C (readFile): STRCONV
6020         (asciiParagraph): ditto
6021         (makeLaTeXFile): ditto
6022
6023         * Spacing.C (writeEnvirBegin): STRCONV
6024
6025         * LaTeXFeatures.C (getLanguages): STRCONV
6026         (getPackages): ditto
6027         (getMacros): ditto
6028         (getBabelOptions): ditto
6029         (getTClassPreamble): ditto
6030         (getLyXSGMLEntities): ditto
6031         (getIncludedFiles): ditto
6032
6033         * LaTeX.C: STRCONV
6034         (run): ditto
6035         (scanAuxFile): ditto
6036         (deplog): ditto
6037
6038         * LString.h: add the STRCONV macros
6039
6040         * BufferView_pimpl.C (savePosition): STRCONV
6041         (restorePosition): ditto
6042         (MenuInsertLyXFile): ditto
6043
6044         * vc-backend.C (scanMaster): change from submatch[...] to
6045         submatch.str(...)
6046
6047         * funcrequest.C: include config.h
6048
6049         * factory.C: include config.h
6050
6051         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6052
6053         * box.C: include config.h
6054
6055         * LaTeX.C (scanAuxFile): change from submatch[...] to
6056         submatch.str(...)
6057         (deplog): ditto
6058
6059 2002-10-25  Angus Leeming  <leeming@lyx.org>
6060
6061         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6062
6063         * ispell.[Ch] (setError): new method.
6064         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6065         Use setError() insetead of goto END.
6066
6067         * lyx_cb.C (AutoSave): move out child process into new class
6068         AutoSaveBuffer.
6069
6070 2002-10-30  John Levon  <levon@movementarian.org>
6071
6072         * text3.C: make start appendix undoable
6073
6074 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6075
6076         * lyxlength.C (inPixels): Fix returned value.
6077
6078         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6079         environment.
6080
6081 2002-10-24  Angus Leeming  <leeming@lyx.org>
6082
6083         * lyxgluelength.h: no need to forward declare BufferParams
6084         or BufferView, so don't.
6085
6086 2002-10-21  John Levon  <levon@movementarian.org>
6087
6088         * BufferView.C: menuUndo ->undo, redo
6089
6090         * BufferView.h: document, remove dead, make some methods private
6091
6092         * paragraph_funcs.h:
6093         * paragraph_funcs.C:
6094         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6095
6096         * buffer.h:
6097         * buffer.C:
6098         * sgml.h:
6099         * sgml.C: move sgml open/close tag into sgml.C
6100
6101         * bufferview_funcs.h: unused prototype
6102
6103         * lyxfunc.h:
6104         * lyxfunc.C: remove unused
6105
6106         * lyxtext.h:
6107         * text.C: remove unused
6108
6109 2002-10-21  John Levon  <levon@movementarian.org>
6110
6111         * BufferView.h:
6112         * BufferView.C:
6113         * BufferView_pimpl.h:
6114         * BufferView_pimpl.C: fix mouse wheel handling based on
6115           patch from Darren Freeman
6116
6117 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6118
6119         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6120
6121 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6122
6123         * lyxlength.C (inPixels): Fix hanfling of negative length.
6124         Fix LyXLength::MU case.
6125
6126 2002-10-16  John Levon  <levon@movementarian.org>
6127
6128         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6129
6130 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6131
6132         * converter.C (view): add support for $$i (file name) and $$p
6133         (file path) for the viewer command. If $$i is not specified, then
6134         it is appended to the command (for compatibility with old syntax)
6135
6136 2002-10-14  Juergen Vigna  <jug@sad.it>
6137
6138         * undo_funcs.C (textHandleUndo): alter the order in which the
6139         new undopar is added to the LyXText, as we have to set first
6140         the right prev/next and then add it as otherwise the rebuild of
6141         LyXText is not correct. Also reset the cursor to the right paragraph,
6142         with this IMO we could remove the hack in "redoParagraphs()".
6143
6144 2002-10-09  Angus Leeming  <leeming@lyx.org>
6145
6146         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6147         to turn off an optimisation if a new inset is to be inserted.
6148
6149 2002-10-11 André Pönitz <poenitz@gmx.net>
6150
6151         * lyxtext.h: make some functions public to allow access
6152         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6153
6154 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6155
6156         * text3.C (dispatch): when changing layout, avoid an infinite loop
6157         [bug #652]
6158
6159 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6160
6161         * lyxrc.C (read): treat a viewer or converter command of "none" as
6162         if it were empty.
6163
6164         * MenuBackend.C (expandFormats): for an update, also allow the
6165         formats that are not viewable
6166
6167         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6168         script if it is newer than the lyxrc.defaults in user directory
6169
6170 2002-10-07 André Pönitz <poenitz@gmx.net>
6171
6172         * text.C: Vitaly Lipatov's small i18n fix
6173
6174 2002-09-25  Angus Leeming  <leeming@lyx.org>
6175
6176         * ispell.h: doxygen fix.
6177
6178 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6179
6180         * buffer.h (readFile): Add a new argument to the method, to allow
6181         reading of old-format templates.
6182
6183 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6184
6185         * toc.C (getTocList): Get TOC from InsetWrap.
6186
6187 2002-09-16  John Levon  <levon@movementarian.org>
6188
6189         * lyxfunc.C: check tabular for cut/copy too
6190
6191 2002-09-12  John Levon  <levon@movementarian.org>
6192
6193         * LyXAction.C: tidy
6194
6195         * factory.h:
6196         * factory.C: add header
6197
6198         * paragraph_funcs.h:
6199         * paragraph_funcs.C: cleanup
6200
6201 2002-09-11  John Levon  <levon@movementarian.org>
6202
6203         * PrinterParams.h: odd/even default to true
6204
6205 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6206
6207         * PrinterParams.h: update printer parameters for new xforms dialog
6208
6209 2002-09-11  Angus Leeming  <leeming@lyx.org>
6210
6211         * lyxserver.C (read_ready): re-write to make it more transparent
6212         and to make it work in coherent fashion under Tru64 Unix.
6213
6214 2002-09-11  André Pönitz <poenitz@gmx.net>
6215
6216         * commandtags.h:
6217         * LyXAction.C:
6218         * text3.C: implement LFUN_WORDSEL
6219
6220 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6221
6222         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6223         make floatlist_ a boost::shared_ptr<FloatList>
6224
6225         * lyxtextclass.C: include FloatList.h
6226         (LyXTextClass): initialize floatlist_
6227         (TextClassTags): add TC_NOFLOAT
6228         (Read): match "nofloat" to TC_NOFLOAT and use it.
6229         (readFloat): modify call to floatlist_
6230         (floats): ditto
6231         (floats): ditto
6232
6233         * FloatList.[Ch] (FloatList): remove commented out float
6234         initialization.
6235         (erase): new function
6236
6237 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6238
6239         * MenuBackend.C (expandToc): fix crash when there is no document
6240         open
6241
6242 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6243
6244         * many files: Add insetwrap.
6245
6246 2002-09-09  John Levon  <levon@movementarian.org>
6247
6248         * text2.C: remove confusing and awkward depth wraparound
6249
6250 2002-09-09  John Levon  <levon@movementarian.org>
6251
6252         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6253
6254         * buffer.h:
6255         * buffer.C: remove getIncludeonlyList()
6256
6257         * paragraph.C:
6258         * lyxfunc.C: remove headers
6259
6260 2002-09-09  Juergen Vigna  <jug@sad.it>
6261
6262         * text.C (getColumnNearX): fix form Michael this is most
6263         probably a cut&paste bug.
6264
6265 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6266
6267         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6268
6269         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6270         references, ws changes.
6271
6272         * text2.C (init): update counters after init
6273         (insertParagraph): no need to set counter on idividual paragraphs.
6274         (setCounter): access the counters object in the textclass object
6275         on in the buffer object.
6276         (updateCounters): ditto
6277
6278         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6279         shared_ptr<Counters> to avoid loading counters.h in all
6280         compilation units.
6281         (LyXTextClass): initialize ctrs_
6282         (TextClassTags): add TC_COUNTER, and ...
6283         (Read): use it here.
6284         (CounterTags): new tags
6285         (readCounter): new function
6286         (counters): new funtion
6287         (defaultLayoutName): return a const reference
6288
6289         * counters.C (Counters): remove contructor
6290         (newCounter): remove a couple of unneeded statements.
6291         (newCounter): simplify a bit.
6292         (numberLabel): some small formatting changes.
6293
6294         * buffer.[Ch]: remove all traces of counters, move the Counters
6295         object to the LyXTextClass.
6296
6297 2002-09-06  Alain Castera  <castera@in2p3.fr>
6298
6299         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6300         package to set the horizontal alignment on fixed width columns.
6301
6302         * lyx_sty.C:
6303         * lyx_sty.h: added tabularnewline macro def.
6304
6305         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6306
6307 2002-09-06  John Levon  <levon@movementarian.org>
6308
6309         * LyXAction.C: tooltips for sub/superscript
6310
6311         * MenuBackend.C: a bit more verbose
6312
6313         * lyxfunc.C: tiny clean
6314
6315         * undo_funcs.C: document undo_frozen
6316
6317 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6318
6319         * counters.C (Counters): add missing algorithm counter.
6320
6321         * text2.C (setCounter): lookup the counter with layouts latexname
6322         instead of by section number.
6323         (setCounter): use a hackish way to lookup the correct enum
6324         counter.
6325         a float name->type change
6326         reset enum couners with counter name directly instead of depth value.
6327
6328         * counters.C (Counters): remove the push_backs, change to use the
6329         float type not the float name.
6330         (labelItem): remove unused string, float name->type change
6331
6332         * counters.h: don't include vector, loose the enums and sects vectors
6333
6334 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6335
6336         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6337         (Read): add float->TC_FLOAT to textclassTags
6338         (Read): and handle it in the switch
6339         (readFloat): new function
6340
6341         * FloatList.C (FloatList): comment out the hardcoded float
6342         definitions.
6343
6344         * lyxlayout.h: ws change.
6345
6346 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6347
6348         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6349
6350 2002-09-03  Angus Leeming  <leeming@lyx.org>
6351
6352         * BufferView_pimpl.h: qualified name is not allowed in member
6353         declaration: WorkArea & Pimpl::workarea() const;
6354
6355         * factory.C: added using std::endl directive.
6356
6357         * text3.C: added using std::find and std::vector directives.
6358
6359 2002-08-29  André Pönitz <poenitz@gmx.net>
6360
6361         * lyxtext.h:
6362         * text2.C: remove unused member number_of_rows
6363
6364         * Makefile.am:
6365         * BufferView2.C: remove file, move contents to...
6366         * BufferView.C: ... here
6367
6368         * BufferView_pimpl.C:
6369         * factory.C: move more inset creation to factory
6370
6371         * vspace.C: avoid direct usage of LyXText, ws changes
6372
6373         * BufferView.[Ch]:
6374                 don't provide direct access to WorkArea, use two simple
6375                 acessors haveSelction() and workHeight() instead
6376
6377
6378 2002-08-29  John Levon  <levon@movementarian.org>
6379
6380         * BufferView_pimpl.C (dispatch): do not continue when
6381           no buffer
6382
6383 2002-08-28  André Pönitz <poenitz@gmx.net>
6384
6385         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6386
6387         * BufferView.h:
6388         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6389
6390 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6391
6392         * buffer.C: increment LYX_FORMAT to 221
6393
6394         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6395         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6396
6397         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6398
6399         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6400
6401 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6402
6403         * factory.C (createInset): use LyXTextClass::floats
6404
6405         * MenuBackend.C (expandFloatListInsert):
6406         (expandFloatInsert):
6407         (expandToc):
6408
6409         * text2.C (setCounter):
6410
6411         * LaTeXFeatures.C (useFloat):
6412         (getFloatDefinitions):
6413
6414         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6415
6416         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6417         floatlist_, with accessor floats().
6418
6419         * FloatList.h: remove global FloatList
6420
6421 2002-08-26  André Pönitz <poenitz@gmx.net>
6422
6423         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6424
6425         * BufferView.h:
6426         * BufferView2.C:
6427         * BufferView_pimpl.C:
6428         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6429
6430 2002-08-25  John Levon  <levon@movementarian.org>
6431
6432         * LyXAction.C: fix margin note description
6433
6434 2002-08-24  John Levon  <levon@movementarian.org>
6435
6436         * buffer.C:
6437         * bufferlist.C:
6438         * bufferview_funcs.C:
6439         * lyxfont.C:
6440         * undo_funcs.C: cleanups
6441
6442         * lyxfunc.C: disable CUT/COPY when no selection
6443
6444 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6445
6446         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6447         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6448
6449         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6450         Add backward compatibility to "mono", "gray" and "no".
6451
6452 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6453
6454         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6455         (and file_format >= 200).
6456
6457 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6458
6459         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6460
6461 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6462
6463         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6464
6465 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6466
6467         * BufferView_pimpl.C:
6468         * LyXAction.C:
6469         * buffer.C:
6470         * commandtags.h:
6471         * lyxfunc.C:
6472         * paragraph.[Ch]:
6473         * text2.C:
6474         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6475         inset and code to make it  work with the paragraph code. The inset
6476         can be anywhere in the paragraph, but will only do the expected
6477         thing in LaTeX if the layout file contains the parameter line
6478                         OptionalArgs    1
6479         (or more generally, a nonzero value) for that layout.
6480
6481 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6482
6483         * paragraph.h: remove the declaration of undefined counters class
6484         function.
6485
6486 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6487
6488         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6489         Dr. Richard Hawkins.
6490
6491 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6492
6493         * paragraph_funcs.h: remove some unneeded includes
6494
6495         * text.C (backspace): pasteParagraph now in global scipe
6496
6497         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6498         (pasteSelection): ditto
6499
6500         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6501         * paragraph_funcs.C (pasteParagraph): ... here
6502
6503 2002-08-20  André Pönitz <poenitz@gmx.net>
6504
6505         * commandtags.h: new LFUNs for swapping/copying table row/colums
6506
6507         * LyXAction.C:
6508         * lyxfunc.C: support for new lfuns
6509
6510 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6511
6512         * tabular.C:
6513         * buffer.[Ch]: remove NO_COMPABILITY stuff
6514
6515 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6516
6517         * boost.C (throw_exception): new file, with helper function for
6518         boost compiled without exceptions.
6519
6520         * paragraph.h:
6521         * lyxlength.C:
6522         * buffer.C:
6523         * ParameterStruct.h:
6524         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6525
6526         * bufferlist.C (emergencyWriteAll): use boost bind
6527
6528         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6529
6530         * text.C: include paragraph_funcs.h
6531         (breakParagraph): breakParagraph is now in global scope
6532
6533         * paragraph_funcs.[Ch]: new files
6534
6535         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6536         global scope
6537
6538         * buffer.C: include paragraph_funcs.h
6539         (insertStringAsLines): breakParagraph is now in global scope
6540
6541         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6542         paragraph_funcs.C
6543
6544         * CutAndPaste.C: include paragraph_funcs.h
6545         (cutSelection): breakParagraphConservative is now in global scope
6546         (pasteSelection): ditto
6547
6548         * buffer.h: declare oprator== and operator!= for
6549         Buffer::inset_iterator
6550
6551         * bufferlist.C (emergencyWrite): don't use fmt(...)
6552
6553         * text3.C: add using std::endl
6554
6555         * BufferView.C (moveCursorUpdate): remove default arg
6556
6557 2002-08-20  André Pönitz <poenitz@gmx.net>
6558
6559         * buffer.[Ch]: move inline functions to .C
6560
6561         * BufferView2.C:
6562         * BufferView_pimpl.C:
6563         * text.C:
6564         * buffer.[Ch]: use improved inset_iterator
6565
6566         * buffer.C:
6567         * paragraph.[Ch]: write one paragraph at a time
6568
6569 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6570
6571         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6572         style if style is not specified.
6573
6574 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6575
6576         * text2.C (setCounter): when searching for right label for a
6577         caption, make sure to recurse to parent insets (so that a caption
6578         in a minipage in a figure float works) (bug #568)
6579
6580 2002-08-20  André Pönitz <poenitz@gmx.net>
6581
6582         * text3.C: new file for LyXText::dispatch() and helpers
6583
6584         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6585
6586         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6587
6588 2002-08-19  André Pönitz <poenitz@gmx.net>
6589
6590         * lyxtext.h:
6591         * text.C: new LyXText::dispatch()
6592
6593         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6594
6595 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6596
6597         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6598
6599         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6600         Hebrew text.
6601
6602 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6603
6604         * Makefile.am: use $(variables) instead of @substitutions@
6605
6606 2002-08-15  André Pönitz <poenitz@gmx.net>
6607
6608         * lyxfunc.C:
6609         * BufferView_pimpl.C: streamlining mathed <-> outer world
6610         interaction
6611
6612         * commandtags.h:
6613         * LyXAction.C: remove unused LFUN_MATH
6614
6615 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6616
6617         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6618
6619 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6620
6621         * paragraph.C (Paragraph): reformat a bit
6622         (cutIntoMinibuffer): use builtin InsetList function instad of
6623         doing it manually.
6624         (getInset): ditto
6625
6626         * buffer.C: include boost/bind.hpp, add using std::for_each
6627         (writeFileAscii): use ParagraphList iterators
6628         (validate): use for_each for validate traversal of paragraphs
6629         (getBibkeyList): use ParagraphList iterators
6630         (resizeInsets): use for_each to resizeInsetsLyXText for all
6631         paragraphs.
6632         (getParFromID): use ParagraphList iterators
6633
6634         * BufferView2.C (lockInset): use paragraph list and iterators
6635
6636 2002-08-14  John Levon  <levon@movementarian.org>
6637
6638         * lyxserver.C: remove spurious xforms include
6639
6640 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6641
6642         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6643
6644 2002-08-13  André Pönitz <poenitz@gmx.net>
6645
6646         * LyXAction.[Ch]:
6647         * lyxfunc.C: further cleaning
6648
6649 2002-08-13  André Pönitz <poenitz@gmx.net>
6650
6651         * funcrequest.h: new constructor
6652
6653         * funcrequest.C: move stuff here from .h
6654
6655         * Makefile.am:
6656         * BufferView_pimpl.C:
6657         * LyXAction.C:
6658         * toc.C:
6659         * lyxfunc.C: subsequent changes
6660
6661         * lyxfunc.h: new view() member function
6662
6663         * lyxfunc.C: subsequent changes
6664
6665 2002-08-13  Angus Leeming  <leeming@lyx.org>
6666
6667         * BufferView2.C:
6668         * BufferView_pimpl.C:
6669         * buffer.C:
6670         * converter.C:
6671         * importer.C:
6672         * lyxfunc.C:
6673         * lyxvc.C:
6674         * toc.C:
6675         * vc-backend.C:
6676         changes due to the changed LyXView interface that now returns references
6677         to member variables not pointers.
6678
6679 2002-08-13  Angus Leeming  <leeming@lyx.org>
6680
6681         * WordLangTuple (word, lang_code): return references to strings,
6682         not strings.
6683
6684         * BufferView.h:
6685         * SpellBase.h:
6686         * lyxtext.h: forward-declare WordLangTuple.
6687
6688         * BufferView2.C:
6689         * ispell.C:
6690         * pspell.C:
6691         * text.C: #include "WordLangTuple.h".
6692
6693         * lyxtext.h:
6694         * text.C: (selectNextWordToSpellcheck): constify return type.
6695
6696 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6697
6698         * buffer.C:
6699         * buffer.h:
6700         * lyxtext.h:
6701         * paragraph.C:
6702         * paragraph_pimpl.h:
6703         * text.C:
6704         * text2.C:
6705         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6706         suggested by Angus.
6707         Made updateCounter always count from start of buffer, and removed
6708         second argument (par).
6709         Reverted floats number display to '#'. Perhaps I'll try again when the
6710         code base is sanitized a bit.
6711
6712 2002-08-12  Angus Leeming  <leeming@lyx.org>
6713
6714         * buffer.[Ch] (getLabelList): constify.
6715
6716 2002-08-07  André Pönitz <poenitz@gmx.net>
6717
6718         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6719
6720         * funcrequest.h: extension to keep mouse (x,y) position
6721
6722 2002-08-12  Juergen Vigna  <jug@sad.it>
6723
6724         * BufferView2.C (insertErrors): forbid undo when inserting error
6725         insets.
6726
6727         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6728
6729 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6730
6731         * ParagraphList.[Ch]: new files
6732
6733         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6734
6735         * BufferView2.C (lockInset): ParagraphList changes
6736         * toc.C: ditto
6737         * text2.C: ditto
6738         * bufferlist.C: ditto
6739         * buffer.h: ditto
6740         * buffer.C: ditto
6741
6742 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6743
6744         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6745         unused class variable counter_,
6746
6747         * paragraph.[Ch] (getFirstCounter): delete unused function
6748
6749         * counters.C: include LAssert.h
6750         (reset): add a new function with no arg, change other version to
6751         not have def. arg and to not allow empty arg.
6752
6753         * text2.C (setCounter): remove empty arg from call to Counters::reset
6754
6755 2002-08-11  John Levon  <levon@movementarian.org>
6756
6757         * Makefile.am: add WordLangTuple.h
6758
6759 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6760
6761         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6762         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6763
6764         * insets/insettext.C: InsetList changes
6765
6766         * graphics/GraphicsSupport.C (operator()): InsetList changes
6767
6768         * toc.C (getTocList): InsetList changes
6769
6770         * paragraph_pimpl.[Ch]: InsetList changes
6771
6772         * paragraph.[Ch]: InsetList changes
6773
6774         * buffer.C (inset_iterator): InsetList changes
6775         (setParagraph): ditto
6776         * buffer.h (inset_iterator): ditto
6777         * iterators.C (operator++): ditto
6778         * iterators.h: ditto
6779
6780         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6781
6782         * InsetList.[Ch]: new files, most InsetList handling moved out of
6783         paragraph.C.
6784
6785         * BufferView2.C (removeAutoInsets): InsetList changes
6786         (lockInset): ditto
6787         (ChangeInsets): ditto
6788
6789 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6790
6791         * paragraph_pimpl.h (empty): new function
6792
6793         * paragraph.[Ch] (empty): new function
6794
6795         * other files: use the new Paragraph::empty function
6796
6797 2002-08-09  John Levon  <levon@movementarian.org>
6798
6799         * lyxtext.h: remove unused refresh_height
6800
6801 2002-08-09  John Levon  <levon@movementarian.org>
6802
6803         * Makefile.am:
6804         * sgml.h:
6805         * sgml.C:
6806         * buffer.C:
6807         * paragraph.h:
6808         * paragraph.C: move sgml char escaping out of paragraph
6809
6810         * paragraph.h:
6811         * paragraph.C: remove id setter
6812
6813         * buffer.C:
6814         * paragraph.C:
6815         * paragraph_pimpl.C: remove dead tex_code_break_column
6816
6817         * bufferview_funcs.C: small cleanup
6818
6819         * lyxfunc.C: remove dead proto
6820
6821         * lyxtext.h: make some stuff private. Remove some dead stuff.
6822
6823         * lyxgluelength.C: make as[LyX]String() readable
6824
6825 2002-08-08  John Levon  <levon@movementarian.org>
6826
6827         * LyXAction.h:
6828         * LyXAction.C:
6829         * MenuBackend.C:
6830         * ToolbarDefaults.C:
6831         * lyxfunc.C:
6832         * lyxrc.C:
6833         * toc.C: lyxaction cleanup
6834
6835 2002-08-08  John Levon  <levon@movementarian.org>
6836
6837         * BufferView2.C: small cleanup
6838
6839         * lyxfind.h:
6840         * lyxfind.C: move unnecessary header into the .C
6841
6842 2002-08-08  John Levon  <levon@movementarian.org>
6843
6844         * funcrequest.h: just tedious nonsense
6845
6846         * lyx_main.h:
6847         * lyx_main.C: cleanups
6848
6849         * buffer.C:
6850         * vspace.C: remove dead header lyx_main.h
6851
6852 2002-08-07  Angus Leeming  <leeming@lyx.org>
6853
6854         * Paragraph.[Ch]:
6855         * paragraph_pimpl.h:
6856         Forward declare class Counters in paragraph.h by moving the ctrs member
6857         variable into Paragraph::Pimpl.
6858         (counters): new method, returning a reference to pimpl_->ctrs.
6859
6860         * text2.C: ensuing changes.
6861
6862 2002-08-07  John Levon  <levon@movementarian.org>
6863
6864         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6865
6866         * BufferView_pimpl.C: announce X selection on double/triple
6867           click
6868
6869         * lyx_main.C: use correct bool in batch dispatch
6870
6871         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6872
6873 2002-08-07  André Pönitz <poenitz@gmx.net>
6874
6875         * funcrequest.h: new class to wrap a kb_action and its argument
6876
6877         * BufferView.[Ch]:
6878         * BufferView_pimpl[Ch]:
6879         * LaTeX.C:
6880         * LyXAction.[Ch]:
6881         * lyxfunc.[Ch]:
6882         * lyxrc.C: subsequent changes
6883
6884
6885 2002-08-07  John Levon  <levon@movementarian.org>
6886
6887         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6888           document options change.
6889
6890 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6891
6892         * counters.[Ch]
6893         * text2.C
6894         * paragraph.[Ch]
6895         * makefile.am: move counters functionality over from
6896         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6897
6898 2002-08-06  John Levon  <levon@movementarian.org>
6899
6900         * WordLangTuple.h: new file for word + language code tuple
6901
6902         * SpellBase.h:
6903         * pspell.h:
6904         * pspell.C:
6905         * ispell.h:
6906         * ispell.C:
6907         * lyxtext.h:
6908         * text.C:
6909         * text2.C:
6910         * BufferView.h:
6911         * BufferView2.C: use WordLangTuple
6912
6913         * layout.h:
6914         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6915
6916 2002-08-06  John Levon  <levon@movementarian.org>
6917
6918         * lyx_main.C: fix cmdline batch handling
6919
6920 2002-08-06  André Pönitz <poenitz@gmx.net>
6921
6922         * lyxrc.C: set default for show_banner to true
6923
6924 2002-08-06  John Levon  <levon@movementarian.org>
6925
6926         * pspell.C: fix a crash, and allow new aspell to work
6927
6928 2002-08-06  John Levon  <levon@movementarian.org>
6929
6930         * lyxfunc.C:
6931         * kbmap.C: small cleanup
6932
6933         * vspace.h:
6934         * vspace.C: add const
6935
6936 2002-08-05  John Levon  <levon@movementarian.org>
6937
6938         * LyXAction.C: back to tabular-insert
6939
6940 2002-08-04  John Levon  <levon@movementarian.org>
6941
6942         * BufferView.h:
6943         * BufferView.C: cosmetic change
6944
6945         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6946
6947         * bufferlist.C:
6948         * buffer.h:
6949         * buffer.C:
6950         * lyxcb.h:
6951         * lyxcb.C:
6952         * lyxserver.C:
6953         * lyxvc.C:
6954         * vc-backend.C:
6955         * BufferView2.C: purge all "Lyx" not "LyX" strings
6956
6957         * lyxcursor.h:
6958         * lyxcursor.C: attempt to add some documentation
6959
6960         * lyxfunc.C:
6961         * commandtags.h:
6962         * LyXAction.C:
6963         * ToolbarDefaults.C:
6964         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6965           merge with LFUN_TABULAR_INSERT
6966
6967         * Makefile.am:
6968         * SpellBase.h:
6969         * ispell.h:
6970         * ispell.C:
6971         * pspell.h:
6972         * pspell.C: split up i/pspell implementations into separate
6973           files, many cleanups
6974
6975         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6976
6977         * text2.C: some cleanup
6978
6979         * lyxfunc.C: don't check for isp_command == "none" any more, it
6980           didn't make any sense
6981
6982 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6983
6984         * counters.[Ch]
6985         * text2.C
6986         * paragraph.[Ch]
6987         * makefile.am: move counters functionality over
6988         from text2.C/paragraph.[Ch] to counters.[Ch], and
6989         make proper C++.
6990 2002-08-02  John Levon  <levon@movementarian.org>
6991
6992         * buffer.C: s/lyxconvert/lyx2lyx/
6993
6994 2002-08-02  Angus Leeming  <leeming@lyx.org>
6995
6996         * lyxlex.C: revert John's change as it breaks reading of the user
6997         preamble.
6998
6999 2002-08-02  Angus Leeming  <leeming@lyx.org>
7000
7001         * importer.C (Import):
7002         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7003         changes due to LyXView::view() now returning a boost::shared_ptr.
7004
7005 2002-08-02  John Levon  <levon@movementarian.org>
7006
7007         * lyxlex.C: small cleanup
7008
7009 2002-08-02  John Levon  <levon@movementarian.org>
7010
7011         * text2.C (status): small cleanup, no logic change
7012
7013 2002-08-01  John Levon  <levon@movementarian.org>
7014
7015         * buffer.h:
7016         * buffer.C (writeFile): don't output alerts, caller
7017           handles this
7018
7019         * bufferlist.C:
7020         * lyx_cb.C: from above
7021
7022         * lyxfunc.C: allow to open non-existent files
7023
7024 2002-07-31  John Levon  <levon@movementarian.org>
7025
7026         * lyxserver.C: don't let incidental errors get
7027           in the way (errno)
7028
7029 2002-07-30  John Levon  <levon@movementarian.org>
7030
7031         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7032
7033 2002-07-30  John Levon  <levon@movementarian.org>
7034
7035         * lyxserver.h:
7036         * lyxserver.C: remove I/O callback too
7037
7038 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7039
7040         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7041         log.
7042
7043 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7044
7045         * many files: strip,frontStrip -> trim,ltrim,rtrim
7046
7047 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7048
7049         * PrinterParams.h: remove extern containsOnly, and include
7050         support/lstrings.h instead.
7051
7052         * LaTeX.C (scanAuxFile): modify because of strip changes
7053         (deplog): ditto
7054         * buffer.C (makeLaTeXFile): ditto
7055         * bufferparams.C (writeFile): ditt
7056         * lyxfont.C (stateText): ditto
7057         * lyxserver.C (read_ready): ditto
7058         * vc-backend.C (scanMaster): ditto
7059
7060         * BufferView_pimpl.h: ws changes
7061
7062         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7063
7064 2002-07-26  André Pönitz <poenitz@gmx.net>
7065
7066         * kb_sequence.C: remove unnedred usings
7067
7068 2002-07-26  Juergen Vigna  <jug@sad.it>
7069
7070         * lyxfind.C (LyXReplace): we have to check better if the returned
7071         text is not of theLockingInset()->getLockingInset().
7072
7073 2002-07-25  Juergen Vigna  <jug@sad.it>
7074
7075         * lyxfind.C (LyXReplace): don't replace if we don't get the
7076         right LyXText.
7077
7078         * undo_funcs.C (createUndo): remove debugging code.
7079
7080 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7081
7082         * buffer.C (parseSingleLyXformat2Token): Use default placement
7083         when reading old floats.
7084
7085         * FloatList.C (FloatList): Change the default placement of figure
7086         and tables to "tbp".
7087
7088 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7089
7090         * MenuBackend.C: using std::max
7091
7092 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7093
7094         * MenuBackend.C (expandToc):
7095         (expandToc2): code moved from xforms menu frontend. It is now
7096         generic and TOCs are transparent to menu frontends.
7097
7098 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7099
7100         * toc.C (getTocList): protect against buf=0
7101
7102         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7103         Menu as first parameter. Now, this calls itself recursively to
7104         expand a whole tree (this will be useful for TOC handling)
7105         (expandFloatInsert): remove 'wide' version of floats
7106
7107         * MenuBackend.h (submenuname): returns the name of the submenu.
7108         (submenu): returns the submenu itself, provided it has been
7109         created by MenuBackend::expand
7110
7111 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7112
7113         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7114         insets which have noFontChange == true. (bug #172)
7115
7116 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7117
7118         * BufferView_pimpl.C: add connection objects and use them...
7119         (Pimpl): here.
7120
7121 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7122
7123         * MenuBackend.C (expandLastfiles):
7124         (expandDocuments):
7125         (expandFormats):
7126         (expandFloatListInsert):
7127         (expandFloatInsert):
7128         (expand): split expand in parts
7129
7130 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7131
7132         * lyx_gui.C: use lyx_gui::exit()
7133
7134 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7135
7136         * LyXAction.C: show the failing pseudo action
7137
7138 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7139
7140         * buffer.C (readFile): Run the lyxconvert script in order to read
7141         old files.
7142
7143 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7144
7145         * LyXAction.C:
7146         * commandtags.h:
7147         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7148
7149 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7150
7151         * LyXAction.C:
7152         * commandtags.h:
7153         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7154
7155 2002-07-22  Herbert Voss  <voss@lyx.org>
7156
7157         * lengthcommon.C:
7158         * lyxlength.[Ch]: add support for the vertical lengths
7159
7160 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7161
7162         * toc.[Ch]: std:: fixes
7163
7164 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7165
7166         * lyxrc.C: do not include lyx_main.h
7167
7168         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7169         for layouts
7170
7171         * lyxrc.C:
7172         * encoding.C:
7173         * bufferlist.C:
7174         * BufferView2.C: include "lyxlex.h"
7175
7176         * tabular.h:
7177         * bufferparams.h: do not #include "lyxlex.h"
7178
7179         * lyxtextclasslist.C (Add): remove method
7180         (classlist): renamed to classlist_
7181
7182         * paragraph_pimpl.C:
7183         * paragraph.C:
7184         * text2.C:
7185         * CutAndPaste.C:
7186         * bufferview_funcs.C:
7187         * bufferlist.C:
7188         * text.C:
7189         * LaTeXFeatures.C:
7190         * buffer.C:
7191         * toc.C (getTocList): use BufferParams::getLyXTextClass
7192
7193         * toc.C (getTocList): use InsetFloat::addToToc
7194
7195         * toc.[Ch]: new files, containing helper functions to handle table
7196         of contents
7197
7198         * lyxfunc.C (dispatch): no need to remove spaces around command
7199         given as a string
7200         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7201         first command of the sequence; it is not very clever, but I do not
7202         have a better idea, actually
7203
7204         * LyXAction.C (LookupFunc): make sure to remove space at the
7205         beginning and end of the command
7206
7207 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7208
7209         * MenuBackend.C (getMenubar): new method: return the menubar of
7210         this menu set
7211         (read): treat differently reading of menu and menubar (in
7212         particular, the menubar has no name now)
7213         (Menu::menubar): remove
7214
7215         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7216         saving is finished
7217
7218 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7219
7220         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7221         a bibitem inset in a RTL paragraph.
7222
7223 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7224
7225         * paragraph_pimpl.C: constify
7226
7227         * BufferView_pimpl.C:
7228         * LaTeX.C:
7229         * lyxfunc.C: fix dispatch in a nicer way
7230
7231 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7232
7233         * lyxfunc.C (dispatch):
7234         * BufferView_pimpl.C:
7235         * BufferView_pimpl.h:
7236         * BufferView.C:
7237         * BufferView.h: rename Dispatch() to dispatch()
7238
7239         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7240
7241         * lyxlayout.C (Read): honor DependsOn tag
7242
7243         * lyxlayout.[Ch] (depends_on): new method
7244
7245         * version.C.in: update lyx_docversion
7246
7247         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7248
7249         * paragraph.C (validate): remove from here...
7250         * paragraph_pimpl.C (validate): ... and move here
7251         (isTextAt): make it const
7252
7253         * buffer.C (getLists): ws cleanup
7254
7255 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7256
7257         * language.C (read): Use iso8859-1 encoding in latex_lang
7258         (this prevents LyX from crashing when using iso10646-1 encoding).
7259
7260 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7261
7262         * text2.C (toggleInset): if cursor is inside an inset, close the
7263         inset and leave cursor _after_ it
7264
7265 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7266
7267         * lyxfunc.C: move minibuffer completion handling out of here
7268
7269 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7270
7271         * BufferView_pimpl.C:
7272         * LaTeX.C: fix dispatch calls
7273
7274 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7275
7276         * text.C (drawChars): Fix Arabic text rendering.
7277
7278 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7279
7280         * LyXAction.C:
7281         * commandtags.h:
7282         * lyxfunc.C: remove message-push/pop
7283
7284         * lyxserver.C:
7285         * lyxfunc.h:
7286         * lyxfunc.C: rationalise some code by removing verboseDispatch
7287           in favour of a bool argument to dispatch()
7288
7289 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7290
7291         * lyx_main.C (init): make sure to read symlinks as absolute paths
7292
7293 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7294
7295         * lyxfunc.h:
7296         * lyxfunc.C: no need for commandshortcut to be a member
7297
7298 2002-07-15  André Pönitz <poenitz@gmx.net>
7299
7300         * converter.C: add support for $$s (scripts from lib/scripts dir)
7301         * lyx_main.C: white space
7302
7303 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7304
7305         * bufferlist.C:
7306         * lyxrc.h:
7307         * lyxrc.C: remove second exit confirmation
7308
7309 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7310
7311         * BufferView.h:
7312         * BufferView.C:
7313         * BufferView2.C:
7314         * BufferView_pimpl.h:
7315         * BufferView_pimpl.C:
7316         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7317
7318 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7319
7320         * MenuBackend.C (expand): add numeric shortcuts to document menu
7321
7322         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7323
7324 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7325
7326         * lyxfont.C (setLyXFamily):
7327         (setLyXSeries):
7328         (setLyXShape):
7329         (setLyXSize):
7330         (setLyXMisc):
7331         (lyxRead):
7332         * debug.C (value):
7333         * buffer.C (asciiParagraph): use ascii_lowercase
7334
7335 2002-07-15  Mike Fabian  <mfabian@suse.de>
7336
7337         * lyxlex_pimpl.C (search_kw):
7338         * lyxlex.C (getLongString):
7339         * converter.h (operator<):
7340         * converter.C (operator<):
7341         * buffer.C (parseSingleLyXformat2Token):
7342         (asciiParagraph):
7343         * ToolbarDefaults.C (read):
7344         * MenuBackend.C (checkShortcuts):
7345         (read):
7346         * LColor.C (getFromGUIName):
7347         (getFromLyXName): use the compare_ascii_no_case instead of
7348         compare_no_case, because in turkish, 'i' is not the lowercase
7349         version of 'I', and thus turkish locale breaks parsing of tags.
7350
7351 2002-07-16  Angus Leeming  <leeming@lyx.org>
7352
7353         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7354         now takes a Buffer const & argument.
7355
7356 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7357
7358         * BufferView.C (resize): check there's a buffer to resize
7359
7360 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7361
7362         * lyxfunc.C: remove dead code
7363
7364         * lyxserver.h:
7365         * lyxserver.C: use lyx_guii::set_read_callback
7366
7367 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7368
7369         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7370         an inset in a RTL paragraph.
7371
7372 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7373
7374         * lyxfunc.C: repaint after a font size update
7375
7376 2002-07-15  André Pönitz <poenitz@gmx.net>
7377
7378         * lyxlength.C: inBP should be able to return negative values
7379
7380 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7381
7382         * lyxfunc.C: use lyx_gui::update_fonts()
7383
7384 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7385
7386         * lyxfunc.C: use lyx_gui::update_color()
7387
7388 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7389
7390         * bufferlist.C:
7391         * lyxfunc.h:
7392         * lyxfunc.C:
7393         * lyxrc.h:
7394         * lyxrc.C: remove file->new asks for name option, and let
7395           buffer-new take an argument
7396
7397 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7398
7399         * BufferView_pimpl.C: remove unneeded extra repaint()
7400
7401 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7402
7403         * LyXAction.C: allow command-sequence with NoBuffer
7404
7405         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7406
7407 2002-07-10  Angus Leeming  <leeming@lyx.org>
7408
7409         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7410
7411 2002-07-09  Angus Leeming  <leeming@lyx.org>
7412
7413         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7414
7415 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7416
7417         * lengthcommon.h: whitespace
7418
7419         * lyxfunc.C: update scrollbar after goto paragraph
7420
7421         * lyxtext.h: factor out page break drawing, and fix it so
7422           page break/added space paints as selected nicely
7423
7424 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7425
7426         * BufferView_pimpl.C: add FIXMEs, clean up a little
7427
7428 2002-07-09  André Pönitz <poenitz@gmx.net>
7429
7430         * lyxfont.[Ch]: support for wasy symbols
7431
7432 2002-07-08  André Pönitz <poenitz@gmx.net>
7433
7434         * BufferView_pimpl.C: apply John's patch for #93.
7435
7436 2002-07-05  Angus Leeming  <leeming@lyx.org>
7437
7438         * BufferView_pimpl.C (buffer): generate previews if desired.
7439
7440         * LColor.h: add "preview" to the color enum.
7441
7442         * LColor.C (LColor): add a corresponding entry to the items array.
7443
7444         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7445         with this buffer.
7446
7447 2002-07-05  Angus Leeming  <leeming@lyx.org>
7448
7449         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7450         The body of the code is now in the method that is passed an ostream &
7451         rather than a file name.
7452         Pass an additional only_preamble parameter, useful for the forthcoming
7453         preview stuff.
7454
7455 2002-07-03  André Pönitz <poenitz@gmx.net>
7456
7457         * lyxfunc.C: simplify getStatus() a bit for math stuff
7458
7459 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7460
7461         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7462
7463 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7464
7465         * text.C (changeRegionCase): do not change case of all the
7466         document when region ends at paragraph end (bug #461)
7467
7468 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7469
7470         * paragraph.C (startTeXParParams):
7471         (endTeXParParams): add \protect when necessary
7472
7473 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7474
7475         * BufferView_pimpl.C (workAreaExpose): remove warning
7476
7477 2002-06-27  Angus Leeming  <leeming@lyx.org>
7478
7479         * Makefile.am: add lyxlayout_ptr_fwd.h.
7480
7481 2002-06-26  André Pönitz <poenitz@gmx.net>
7482
7483         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7484
7485 2002-06-25  Angus Leeming  <leeming@lyx.org>
7486
7487         * lyxfunc.C (dispatch): Comment out the call to
7488         grfx::GCache::changeDisplay. The method no longer exists now that the
7489         pixmap generation part of the graphics loader has been moved into
7490         InsetGraphics.
7491
7492 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7493
7494         * text2.C: layout as layout
7495
7496         * text.C: layout as layout
7497
7498         * tabular.C (OldFormatRead): layout as layout
7499
7500         * paragraph_pimpl.C (TeXDeeper): layout as layout
7501         (realizeFont): layout as layout
7502
7503         * paragraph.C (writeFile): layout as layout
7504         (validate): layout as layout
7505         (getFont): layout as layout
7506         (getLabelFont): layout as layout
7507         (getLayoutFont): layout as layout
7508         (breakParagraph): layout as layout
7509         (stripLeadingSpaces): layout as layout
7510         (getEndLabel): layout as layout
7511         (getMaxDepthAfter): layout as layout
7512         (applyLayout): layout as layout
7513         (TeXOnePar): layout as layout
7514         (simpleTeXOnePar): layout as layout
7515         (TeXEnvironment): layout as layout
7516         (layout): layout as layout
7517         (layout): layout as layout
7518
7519         * lyxtextclass.C (compare_name): new functor to work with
7520         shared_ptr, layout as layout
7521         (Read): layout as layout
7522         (hasLayout): layout as layout
7523         (operator): layout as layout
7524         (delete_layout): layout as layout
7525         (defaultLayout): layout as layout
7526
7527         * lyxlayout_ptr_fwd.h: new file
7528
7529         * lyxlayout.C (Read): layout as layout
7530
7531         * lyx_cb.C (MenuInsertLabel): layout as layout
7532
7533         * bufferlist.C (newFile): layout as layout
7534
7535         * buffer.C (readLyXformat2): layout as layout
7536         (parseSingleLyXformat2Token): layout as layout
7537         (insertStringAsLines): layout as layout
7538         (asciiParagraph): layout as layout
7539         (latexParagraphs): layout as layout
7540         (makeLinuxDocFile): layout as layout
7541         (simpleLinuxDocOnePar): layout as layout
7542         (makeDocBookFile): layout as layout
7543         (simpleDocBookOnePar): layout as layout
7544         (getLists): layout as layout
7545
7546         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7547
7548         * CutAndPaste.C (cutSelection): layout as layout
7549         (pasteSelection): layout as layout
7550         (SwitchLayoutsBetweenClasses): layout as layout
7551
7552         * BufferView_pimpl.C (Dispatch): layout as layout
7553         (smartQuote): layout as layout
7554
7555         * BufferView2.C (unlockInset): layout as layout
7556
7557 2002-06-24  André Pönitz <poenitz@gmx.net>
7558
7559         * lyxfunc.C: fix #487
7560
7561 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7562
7563         * lyxrc.h:
7564         * lyxrc.C:
7565         * lyxfunc.C: remove display_shortcuts, show_banner
7566
7567 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7568
7569         * Buffer_pimpl.C: oops, update on resize
7570
7571 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7572
7573         * buffer.C:
7574         * converter.C:
7575         * exporter.C:
7576         * lyxfunc.C:
7577         * BufferView.h:
7578         * BufferView.C: use repaint()
7579
7580         * BufferView_pimpl.h:
7581         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7582           as it's a clearer description. Remove superfluous
7583           redraws.
7584
7585 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7586
7587         * text.C: fix bug 488. Not ideal, but getting
7588           getWord() to work properly for the insets that
7589           matter is more difficult ...
7590
7591 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7592
7593         * BufferView_pimpl.C:
7594         * LyXAction.C:
7595         * commandtags.h:
7596         * lyxfunc.C: remove the six million index lyxfuncs to just
7597           one, and DTRT (bug 458)
7598
7599 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7600
7601         * BufferView.h:
7602         * BufferView.C:
7603         * BufferView_pimpl.h:
7604         * BufferView_pimpl.C: clean up resize() stuff,
7605           and unnecessary updateScreen()s
7606
7607 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7608
7609         * BufferView.h:
7610         * BufferView.C:
7611         * BufferView_pimpl.h:
7612         * BufferView_pimpl.C:
7613         * lyxfind.h:
7614         * lyxfind.C:
7615         * minibuffer.C: remove focus management of workarea,
7616           not needed. Use screen's greyOut()
7617
7618 2002-06-17  Herbert Voss  <voss@lyx.org>
7619
7620         * converter.C: (convert) do not post a message, when converting
7621         fails, let the calling function decide what to do in this case
7622
7623 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7624
7625         * lyxfunc.C: tidy up a little
7626
7627 2002-06-16    <alstrup@diku.dk>
7628
7629         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7630         Got rid of FORMS_H_LOCATION include. Now we are
7631         GUII.
7632
7633 2002-06-15  LyX Development team  <lyx@rilke>
7634
7635         * buffer.[Ch] (sgmlOpenTag):
7636         (sgmlCloseTag): Added support for avoiding pernicious mixed
7637         content. Return number of lines written.
7638
7639         (makeLinuxDocFile):
7640         (makeDocBookFile): Fixed calls to sgml*Tag.
7641         Simple white space clean.
7642
7643         (simpleDocBookOnePar): Simple white space clean.
7644
7645         * tabular.[Ch] (docBook): Renamed to docbook and got another
7646         argument to related with the pernicious mixed content.
7647
7648         (docbookRow): Fixed calls for docbook inset method.
7649
7650 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7651
7652         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7653         so it's X11 independent.
7654
7655         * kb*.[Ch]: ditto.
7656
7657         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7658
7659 2002-06-15  Lyx Development team  <lyx@electronia>
7660
7661         * intl.h: Renamed getTrans to getTransManager.
7662
7663 2002-06-14  Angus Leeming  <leeming@lyx.org>
7664
7665         * Makefile.am: nuke forgotten stl_string_fwd.h.
7666
7667 2002-06-12  Angus Leeming  <leeming@lyx.org>
7668
7669         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7670
7671 2002-06-13  Angus Leeming  <leeming@lyx.org>
7672
7673         * LaTeX.C:
7674         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7675
7676 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7677
7678         * kbmap.C (getiso): add support for cyrillic and greek
7679
7680 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7681
7682         * BufferView.h:
7683         * BufferView.C:
7684         * BufferView_pimpl.h:
7685         * BufferView_pimpl.C: move bogus scrolling logic
7686           to xforms
7687
7688 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7689
7690         * lyxfunc.C:
7691         * BufferView_pimpl.C: view->resize() change
7692
7693 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7694
7695         * BufferView_pimpl.C: topCursorVisible
7696           prototype change
7697
7698 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7699
7700         * Makefile.am:
7701         * lyx_gui.h:
7702         * lyx_gui.C: move to frontends/
7703
7704         * main.C:
7705         * lyx_main.h:
7706         * lyx_main.C: changes from above
7707
7708 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7709
7710         * intl.C:
7711         * intl.h:
7712         * kbmap.C:
7713         * kbsequence.C:
7714         * lyx_cb.C:
7715         * lyx_main.C: minor tidy
7716
7717 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7718
7719         * BufferView_pimpl.h:
7720         * BufferView_pimpl.C:
7721         * BufferView.h:
7722         * BufferView.C: make painter() const,
7723           remove dead code
7724
7725         * BufferView2.C: use screen() accessor
7726
7727         * lyx_main.h:
7728         * lyx_main.C: some minor cleanup
7729
7730 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7731
7732         * BufferView_pimpl.h:
7733         * BufferView_pimpl.C: remove enter/leaveView,
7734           use workHeight()
7735
7736 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7737
7738         * BufferView.h:
7739         * BufferView.C:
7740         * BufferView2.C:
7741         * BufferView_pimpl.h:
7742         * BufferView_pimpl.C: only construct screen once,
7743           rename
7744
7745         * lyxrc.C: remove pointless comment
7746
7747 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7748
7749         * BufferView.h:
7750         * BufferView.C: remove active() and belowMouse()
7751
7752         * BufferView_pimpl.h:
7753         * BufferView_pimpl.C: use workarea() not workarea_,
7754           and make it use a scoped_ptr instead
7755
7756 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7757
7758         * lyx_gui.C: add debug message on BadWindow
7759
7760 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7761
7762         * sp_spell.C: fdopen is not part of the C++ standard.
7763
7764         * paragraph.C (InsetIterator): use >= instead of ==
7765
7766 2002-06-07  Angus Leeming  <leeming@lyx.org>
7767
7768         Fixes needed to compile with Compaq cxx 6.5.
7769         * BufferView_pimpl.C:
7770         * DepTable.C:
7771         * buffer.C:
7772         * converter.C:
7773         * encoding.C:
7774         * lyx_gui.C:
7775         * lyx_main.C:
7776         * lyxtextclasslist.C:
7777         * minibuffer.C:
7778         * sp_spell.C:
7779         * tabular_funcs.C:
7780         * vc-backend.C:
7781         all c-library variables have been moved into namespace std. Wrap
7782         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7783
7784         * lyxlength.C:
7785         * tabular-old.C:
7786         * tabular.C:
7787         Add a using std::abs declaration.
7788
7789         * kbmap.h (modifier_pair):
7790         * paragraph.h (InsetTable, InsetList):
7791         * lyxfont.h (FontBits):
7792         type definition made public.
7793
7794         * bufferlist.C (emergencyWriteAll): the compiler complains that
7795         there is more than one possible lyx::class_fun template to choose from.
7796         I re-named the void specialisation as lyx::void_class_fun.
7797
7798         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7799
7800         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7801         the compiler is is unable to find tostr in write_attribute.
7802
7803 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7804
7805         * buffer.C (sgmlError): hide #warning
7806
7807 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7808
7809         * xtl/*: get rid of xtl, which is not in use anyway
7810
7811         * LyXAction.C (init):
7812         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7813         were unimplemented xtl experimentation
7814
7815 2002-06-04  André Pönitz <poenitz@gmx.net>
7816
7817         * lyxfunc.C: disable array operation on simple formulae
7818
7819 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7820
7821         * converter.C: constify a bit
7822
7823 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7824
7825         * lyx_gui.C: check xforms version correctly
7826
7827 2002-04-30  Herbert Voss  <voss@lyx.org>
7828
7829         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7830         "keep" option
7831
7832 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7833
7834         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7835           attempt to register it with a VCS)
7836
7837 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7838
7839         * lyx_main.C (init): honor variables LYX_DIR_13x and
7840         LYX_USERDIR_13x
7841
7842 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7843
7844         * buffer.h:
7845         * buffer.C:
7846         * lyx_main.C: fix a crash on bad command line,
7847           and give a useful exit status on error
7848
7849         * lyxfunc.C (doImport): allow -i lyx to work
7850
7851 2002-03-30  André Pönitz <poenitz@gmx.net>
7852
7853         * lyxfunc.C: mathed font changes
7854
7855 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7856
7857         * LaTeX.C:
7858         * importer.h:
7859         * importer.C:
7860         * lyx_sty.h:
7861         * lyx_sty.C:
7862         * lyxlex.C:
7863         * lyxrow.h:
7864         * lyxtext.h:
7865         * paragraph.h:
7866         * paragraph.C:
7867         * texrow.h:
7868         * texrow.C:
7869         * text.C:
7870         * trans_mgr.h: srcdocs, and some minor cleanups
7871
7872 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7873
7874         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7875         call getFont all the time)
7876
7877 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7878
7879         * switch from SigC signals to boost::signals
7880
7881 2002-05-29  André Pönitz <poenitz@gmx.net>
7882
7883         * paragraph_pimpl.C (getChar): don't call size() too often...
7884
7885 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7886
7887         * paragraph_pimpl.C (insertChar): do not try to update tables when
7888         appending (pos == size())
7889
7890         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7891         in order to reduce drastically the number of comparisons needed to
7892         parse a large document
7893
7894 2002-05-29  André Pönitz <poenitz@gmx.net>
7895
7896         * text.C:
7897         * text2.C:
7898         * lyxtextclass.C:
7899         * sp_pspell.h:
7900         * textclasslist.[Ch]:
7901         * sp_ispell.h: whitespace change
7902
7903 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7904
7905         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7906         lyxaction directly now.
7907
7908 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7909
7910         * trans.C:
7911         * lyxfont.C:
7912         * lyxvc.C: remove unused headers
7913
7914 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7915
7916         * Makefile.am:
7917         * buffer.h:
7918         * undostack.h:
7919         * undostack.C:
7920         * undo_funcs.h:
7921         * undo_funcs.C: some cleanups. Use shared_ptr
7922           and a template for the undo stacks.
7923
7924 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7925
7926         * BufferView_pimpl.h:
7927         * BufferView_pimpl.C:
7928         * kbmap.h:
7929         * kbmap.C:
7930         * kbsequence.h:
7931         * kbsequence.C:
7932         * lyxfunc.h:
7933         * lyxfunc.C:
7934         * text2.C: use key_state/mouse_state
7935
7936 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7937
7938         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7939         and LSubstring
7940
7941         * chset.C: change include order
7942         (loadFile): use boost regex and get rid of LRegex and LSubstring
7943
7944         * Makefile.am (BOOST_LIBS): new variable
7945         (lyx_LDADD): use it
7946
7947         * LaTeX.C: change include order.
7948         (scanAuxFile): use boost regex and get rid of LRegex and
7949         LSubstring
7950         (deplog): ditto
7951
7952 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7953
7954         * ColorHandler.h:
7955         * ColorHandler.C:
7956         * FontInfo.h:
7957         * FontInfo.C: moved to frontends/xforms/
7958
7959         * FontLoader.h:
7960         * FontLoader.C: moved into frontends for GUIIzation
7961
7962         * Makefile.am:
7963         * lyx_gui.C:
7964         * lyxfont.C:
7965         * lyxfunc.C: changes from above
7966
7967 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7968
7969         * LColor.C: remove spurious X include
7970
7971         * BufferView_pimpl.C:
7972         * Makefile.am:
7973         * font.h:
7974         * font.C:
7975         * text.C:
7976         * text2.C: move font metrics to frontends/
7977
7978 2002-05-24  Juergen Vigna  <jug@sad.it>
7979
7980         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7981         setting the undo_cursor.
7982
7983         * ParagraphParameters.h: include local includes first.
7984
7985 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7986
7987         * BufferView_pimpl.C:
7988         * BufferView_pimpl.h:
7989         * Makefile.am:
7990         * WorkArea.h:
7991         * WorkArea.C:
7992         * screen.C: move WorkArea into frontends/
7993
7994         * lyxscreen.h:
7995         * screen.C:
7996         * text.C:
7997         * BufferView.C:
7998         * BufferView2.C: move LyXScreen into frontends/
7999
8000         * lyxlookup.h:
8001         * lyxlookup.C:
8002         * lyx_gui.C: move lyxlookup into frontends/xforms/
8003
8004 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8005
8006         * BufferView2.C:
8007         * BufferView_pimpl.C:
8008         * FontLoader.C:
8009         * LyXView.h:
8010         * LyXView.C:
8011         * Makefile.am:
8012         * WorkArea.C:
8013         * XFormsView.h:
8014         * XFormsView.C:
8015         * buffer.C:
8016         * bufferlist.C:
8017         * bufferview_funcs.C:
8018         * converter.C:
8019         * importer.C:
8020         * lyx_cb.C:
8021         * lyx_gui.C:
8022         * lyx_main.C:
8023         * lyx_find.C:
8024         * lyxfunc.C:
8025         * lyxvc.C:
8026         * minibuffer.C:
8027         * text.C:
8028         * text2.C:
8029         * trans.C:
8030         * vc-backend.C: move LyX/XFormsView into frontends/
8031
8032 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8033
8034         * Makefile.am:
8035         * PainterBase.C:
8036         * PainterBase.h:
8037         * Painter.C:
8038         * Painter.h:
8039         * WorkArea.C:
8040         * WorkArea.h:
8041         * screen.C:
8042         * tabular.C:
8043         * text.C:
8044         * text2.C: move Painter to frontends/
8045
8046 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8047
8048         * buffer.C: comment out some some code that depend upon lyx_format
8049         < 220
8050
8051         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8052         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8053
8054         * buffer.h (NO_COMPABILITY): turn off compability
8055
8056         * ColorHandler.C: include scoped_array.hpp
8057
8058         * font.C: Use more specific smart_ptr header.
8059         * Painter.C: ditto
8060         * gettext.C: ditto
8061         * ShareContainer.h: ditto
8062         * lyx_main.h: ditto
8063         * kbmap.h: ditto
8064         * FontInfo.h: ditto
8065         * BufferView_pimpl.h: ditto
8066         * ColorHandler.h: ditto
8067
8068         * kbmap.C (defkey): change call to shared_ptr::reset
8069
8070 2002-05-21  Juergen Vigna  <jug@sad.it>
8071
8072         * buffer.C (insertErtContents): fix to insert ert asis if it is
8073         non empty. Skip it completely if it contains only whitespaces.
8074
8075 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8076
8077         * BufferView_pimpl.C:
8078         * BufferView2.C: clear selection on paste (bug 393)
8079
8080 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8081
8082         * DepTable.C: include ctime
8083
8084 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8085
8086         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8087
8088 2002-05-14  Juergen Vigna  <jug@sad.it>
8089
8090         * text.C (breakParagraph): fixed function to honor the keepempty
8091         layout in the right maner and also to permit the right breaking
8092         algorithm on empty or non empyt keepempty paragraphs.
8093
8094         * paragraph.C (breakParagraph): we have to check also if the par
8095         is really empty (!size()) for isempty otherwise we do the wrong
8096         paragraph break.
8097
8098 2002-05-10  Juergen Vigna  <jug@sad.it>
8099
8100         * buffer.[Ch] : The following are only changes to the ert
8101         compatibility read reading old LaTeX layout and font stuff and
8102         convert it to ERTInsets.
8103
8104         * buffer.h: added isErtInset().
8105
8106         * buffer.C (struct ErtComp): add a fromlayout bool to check
8107         if we're inside a LaTeX layout.
8108         (isErtInset): new helper function.
8109         (insertErtContents): look for other ert insets before this one
8110         and insert the contents there, so that we don't have subsequent
8111         ERT insets with nothing between them. This way we create only one
8112         inset with multiple paragraphs. Also check if we don't insert only
8113         spaces ' ' as they are ignored anyway afterwards in the .tex file
8114         so if we have only spaces we will ignore this latex part in the
8115         new file.
8116         (parseSingleLyXformat2Token \\layout): better compatibility when
8117         reading layout-latex stuff.
8118         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8119         language tag.
8120         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8121         stuff after reading the inset only get the information back from
8122         the stack.
8123
8124 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8125
8126         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8127
8128         * LaTeXFeatures.C (getBabelOptions): New method.
8129
8130 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8131
8132         * BufferView_pimpl.C (Dispatch): work around missing argument for
8133         'layout'
8134
8135 2002-05-08  Juergen Vigna  <jug@sad.it>
8136
8137         * text.C (leftMargin): handle paragraph leftindent.
8138
8139         * paragraph.C (writeFile): write the new \\leftindent tag.
8140         (validate): handle leftindent code.
8141         (TeXEnvironment): handle paragraphleftindent code again.
8142
8143         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8144
8145         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8146         for paragrap_extra indent code and new token \\leftindent.
8147         (latexParagraphs): handle the leftindent as environment.
8148
8149         * ParameterStruct.h: added leftindent support.
8150
8151         * ParagraphParameters.C (leftIndent): added support functions for
8152         the paragraph left indent.
8153
8154         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8155         more appropriate.
8156
8157 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8158
8159         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8160         inside insetERT.
8161
8162         * text.C (computeBidiTables): No bidi in insetERT.
8163
8164         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8165         in RTL documents.
8166
8167 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8168
8169         * version.C.in: pre 5
8170
8171 2002-05-02  José Matos  <jamatos@fep.up.pt>
8172         * buffer.C (makeDocBookFile): white space changes, add newline to
8173         command styles.
8174         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8175
8176         * tabular.C (docBook): fix typo.
8177
8178 2002-05-03  Juergen Vigna  <jug@sad.it>
8179
8180         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8181         change in LyXText as we can not be sure it was not freed.
8182         (drawOneRow): remove unused code.
8183
8184         * text.C (drawInset): redo the calculation of the need_break_row as
8185         it could have a row which was already freed.
8186         (draw): look at the return value of drawInset and return false if
8187         it also returned false.
8188         (paintRowText): look at the return value of draw and return false if
8189         it also returned false.
8190
8191         * lyxtext.h: added bool return type to drawInset() and draw() so that
8192         if we have a change in the row so that the rowbreak has to be redone
8193         we abort drawing as it will be called again.
8194
8195 2002-05-02  Juergen Vigna  <jug@sad.it>
8196
8197         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8198         a change in the maintext also if we're inside an inset.
8199         (Dispatch): set the cursor again after a break line and after the
8200         screen has been updated as it could be we're in a different row.
8201
8202         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8203         to set the cursor behind the pargraph with > size().
8204         (setCursor): check also for the same paragraph when checking where
8205         to put the cursor if we have a NFR inset.
8206
8207         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8208         parts of layout read further up as it still was in the wrong
8209         position.
8210
8211 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8212
8213         * screen.C (drawFromTo): change sine fullRebreak always return
8214         true.
8215
8216         * buffer.C (parseSingleLyXformat2Token): reindent some
8217
8218         * BufferView_pimpl.C (update): change since fullRebreak always
8219         return true.
8220         (Dispatch): git rid of the last hardcoded "Standard"s.
8221
8222 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8223
8224         * text2.[Ch] (fullRebreak): make it return void now that we always
8225         returned true.
8226
8227 2002-04-30  Juergen Vigna  <jug@sad.it>
8228
8229         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8230         ert compatibility check for "latex" layout.
8231
8232 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8233
8234         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8235         minipages: use col% instead of p%, and also use the current font.
8236         (makeLaTeXFile): Fix use babel condition.
8237         (parseSingleLyXformat2Token): Correct font when reading old floats.
8238
8239 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8240
8241         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8242         inserting list of floats.
8243
8244 2002-04-25  Herbert Voss  <voss@lyx.org>
8245
8246         * MenuBackend.C (expand): don't add the graphics extensions to the
8247         export menu
8248
8249 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8250
8251         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8252         non-existing layout, do not complain if it was the default layout
8253         of the original class (bug #342)
8254
8255 2002-04-24  Juergen Vigna  <jug@sad.it>
8256
8257         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8258         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8259
8260 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8261
8262         * buffer.C (getBibkeyList): If using \bibliography, return the
8263         option field with the reference itself. Enables us to provide natbib
8264         support when using \bibliography.
8265
8266 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8267
8268         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8269
8270         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8271         natbib is provided by the LaTeX class.
8272
8273 2002-04-23  Juergen Vigna  <jug@sad.it>
8274
8275         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8276         Wakeup functions.
8277
8278         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8279
8280 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8281
8282         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8283
8284         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8285         ensuremath around textordmasculine, textordfeminine and
8286         textdegree.
8287
8288 2002-04-19  Juergen Vigna  <jug@sad.it>
8289
8290         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8291         reinitializing the buffer otherwise row-dimensions may be wrong.
8292         (update): reset also the selection cursors if they do exits otherwise
8293         their x/y positions may be wrong.
8294
8295         * text2.C (cursorDown): don't enter the inset if we came from a row
8296         above and are one row over the inset.
8297
8298         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8299         really leaving an inset.
8300
8301 2002-04-18  Juergen Vigna  <jug@sad.it>
8302
8303         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8304         of the selected paragraph does not have the selected layout also if
8305         the last one had!
8306
8307         * text2.C (setLayout): fixed bug which did not change last selected
8308         paragraph.
8309
8310         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8311         changed the read and substituted \\end_float with \\end_inset!
8312
8313         * BufferView_pimpl.C (cursorPrevious):
8314         (cursorNext): fixed to make it work with rows heigher than the work
8315         area without moving the cursor only the draw of the row.
8316         (workAreaMotionNotify): fix jumping over high rows.
8317
8318 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8319
8320         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8321         Ressler.
8322
8323 2002-04-16  Juergen Vigna  <jug@sad.it>
8324
8325         * text2.C (setCursor): set also the irow().
8326         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8327         (cursorUp):
8328         (cursorDown): support for locking an inset if the x_fix value goes
8329         inside it. That way I can transverse insets too with cursor up/down.
8330
8331         * lyxrow.h: added irow helper function same as other (i) functions.
8332
8333         * BufferView_pimpl.C (cursorPrevious):
8334         (cursorNext): fixed for insets!
8335
8336 2002-04-15  Juergen Vigna  <jug@sad.it>
8337
8338         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8339         position otherwise it is wrong in some cases.
8340
8341         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8342         inside the inset before the call.
8343
8344 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8345
8346         * buffer.[Ch] (getBibkeyList): make it const.
8347
8348 2002-04-12  Juergen Vigna  <jug@sad.it>
8349
8350         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8351
8352         * text2.C (getCursorX): new helper function
8353         (setCursor): compute also ix_
8354         (setCursorFromCoordinates): set also ix.
8355
8356         * lyxcursor.h: added ix_ and helper functions.
8357
8358         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8359
8360         * buffer.C (insertStringAsLines): dont break paragraph if the this
8361         paragraph is inside an inset which does not permit it!
8362
8363         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8364         also with no chars on this paragraph.
8365         (paintRowText): only paint stuff if it's inside the workarea!
8366
8367         * paragraph.C (breakParagraph): honor keepempty flag and break the
8368         paragraph always below not above.
8369
8370         * BufferView2.C (unlockInset): update the paragraph layout on inset
8371         unlock as we changed paragraph in such a case.
8372
8373         * lyxfind.C (LyXFind): clear the former selection if not found!
8374
8375         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8376         again called in insertChar().
8377
8378         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8379         an inset which uses the whole row!
8380         (rightMargin): ditto.
8381         (insertChar): force a rebreak if we inserted an inset!
8382
8383 2002-03-28  Herbert Voss  <voss@lyx.org>
8384
8385         * lyxlength.[Ch]: add inBP() to get the right PS-point
8386         units (BigPoint). With inPixels we have rounding errors
8387
8388 2002-04-11  Juergen Vigna  <jug@sad.it>
8389
8390         * text2.C (setCursorFromCoordinates): set iy to the right value.
8391         (setCursor): add check if row->previous exists!
8392
8393         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8394         an old float_type as this was the case in the old code!
8395
8396         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8397
8398         * BufferView2.C (showLockedInsetCursor): use iy
8399         (fitLockedInsetCursor): ditto
8400
8401         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8402         locked insets as there we have the right value now.
8403
8404         * lyxcursor.C: added iy_ variable and iy functions to set to the
8405         baseline of cursor-y of the locked inset.
8406
8407         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8408         (setCursor): fixed for insets which need a full row.
8409
8410         * text.C (rowLastPrintable): don't ignore the last space when before
8411         an inset which needs a full row.
8412         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8413         as last character of a row when before a inset which needs a full row.
8414
8415 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8416
8417         * version.C.in: update date
8418
8419         * text2.C (fullRebreak): try to always return true and see what
8420         happens...
8421
8422 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8423
8424         * MenuBackend.C (expand): use Floating::listName
8425
8426         * FloatList.C (FloatList): add listName argument to the built-in
8427         floats
8428
8429         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8430         text associated with the float.
8431
8432 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8433
8434         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8435
8436 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8437
8438         * ShareContainer.h: add a couple of missing typenames.
8439
8440 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8441
8442         * lyxrc.C (getDescription): use _() correctly rather than N_().
8443
8444 2002-03-28  Herbert Voss  <voss@lyx.org>
8445
8446         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8447         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8448
8449 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8450
8451         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8452         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8453
8454 2002-03-29  Juergen Vigna  <jug@sad.it>
8455
8456         * lyxfunc.C (dispatch): add a missing fitCursor call.
8457
8458         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8459         it was scrolled by a cursor move, so return the bool status.
8460
8461         * BufferView.C (fitCursor): return the bool flag also to the outside
8462         world as this is needed.
8463
8464         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8465
8466         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8467         call the edit() as it is not needed (and wrong) IMO.
8468         (workAreaButtonPress): set the screen_first variable before evt.
8469         unlock the inset as this may change screen_first and then we have
8470         a wrong y position for the click!
8471
8472 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8473
8474         * MenuBackend.C (expand): another translation that I missed
8475
8476 2002-03-28  Juergen Vigna  <jug@sad.it>
8477
8478         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8479
8480         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8481
8482 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8483
8484         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8485
8486         * MenuBackend.C (expand): fix export/view/update when there is no
8487         document open.
8488
8489 2002-03-27  Herbert Voss  <voss@lyx.org>
8490
8491         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8492         and text%
8493
8494 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8495
8496         * bufferview_funcs.C (currentState): only show paragraph number
8497         for is DEVEL_VERSION is set.
8498
8499         * lyxfunc.C (dispatch): put warning in INFO channel
8500
8501         * MenuBackend.C (expand): translate the name of floats
8502
8503         * FloatList.C (FloatList): mark the float names for translation
8504
8505         * converter.C (convert): use LibScriptSearch
8506
8507 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8508
8509         * MenuBackend.C (defaults): fix default menu (we might as well get
8510         rid of it...)
8511
8512 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8513
8514         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8515         directory.
8516
8517 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8518
8519         * lyxvc.C: reorder includes.
8520
8521 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8522
8523         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8524           properly
8525
8526 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8527
8528         * CutAndPaste.C: change layouts earlier on paste
8529           to avoid crashing when calling getFont()
8530
8531 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8532
8533         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8534         irritating #error.
8535
8536 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8537
8538         * WorkArea.C: remove 'Pending' debug message.
8539
8540         * most files: ws cleanup
8541
8542         * buffer.[Ch]: ws changes
8543
8544         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8545
8546 2002-03-21  Juergen Vigna  <jug@sad.it>
8547
8548         * tabular.C (SetMultiColumn): collapse also the contents of the
8549         cells and set the last border right. Added a Buffer const * param.
8550
8551 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8552
8553         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8554         linking or not.
8555
8556 2002-03-19  Juergen Vigna  <jug@sad.it>
8557
8558         * text2.C (clearSelection): reset also xsel_cache.
8559
8560         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8561         where it needs to be called (John tells us to do so too :)
8562         (selectionLost): reset sel_cache.
8563
8564         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8565
8566 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8567
8568         * text2.C (setCursorIntern): put debuging code in INSETS channel
8569
8570 2002-03-19  André Pönitz <poenitz@gmx.net>
8571
8572         * lyxfunc.C: tiny whitespace change
8573
8574 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8575
8576         * ToolbarDefaults.C (init):
8577         * LyXAction.C (init):
8578         * commandtags.h:
8579         * BufferView_pimpl.C (Dispatch):
8580         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8581
8582 2002-03-19  Allan Rae  <rae@lyx.org>
8583
8584         * exporter.C (Export): removeAutoInsets before doing anything else.
8585         While I've just introduced a dependency on BufferView this really is
8586         the best place to clean the buffer otherwise you need to cleanup in
8587         a dozen places before calling export or cleanup in a dozen functions
8588         that export calls.
8589
8590         * converter.C (runLaTeX):
8591         (scanLog): Better handling of removeAutoInsets and screen updates.
8592
8593         * lyxfunc.C (dispatch): small whitespace changes
8594
8595 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8596
8597         * WorkArea.C (C_WorkAreaEvent): return a value.
8598         (event_cb): return 1 if we handled the event, 0 otherwise.
8599
8600         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8601
8602 2002-03-18  Juergen Vigna  <jug@sad.it>
8603
8604         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8605         (GetAdditionalWidth): ditto.
8606         (RightLine): ditto.
8607         (LeftLine): ditto.
8608
8609         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8610         inset if we're there actually (probably not used right now but this
8611         is the direction to go for unifying code).
8612         (paste): disable code to clear the selection.
8613
8614         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8615         inside an InsetText and move the check further up as it is in the
8616         wrong place.
8617
8618         * text2.C (pasteSelection): set a selection over the pasted text.
8619
8620 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8621
8622         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8623         and libgraphics to build on Cygwin.
8624
8625 2002-03-15  Juergen Vigna  <jug@sad.it>
8626
8627         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8628         inserting an Inset into the paragraph. I know this is not the best
8629         fix but we already use current_view in CutAndPaste so we will remove
8630         all of it's using at the same time.
8631
8632         * buffer.C (sgmlError): deactivated function till it is rewritten in
8633         the right mode, now it can create problems.
8634
8635         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8636         before accessing it.
8637
8638 2002-03-14  Juergen Vigna  <jug@sad.it>
8639
8640         * undo_funcs.C (textHandleUndo): do the right thing when updating
8641         the inset after the undo/redo.
8642
8643         * text2.C (setCursor): just some testcode for #44 not ready yet.
8644
8645         * undo_funcs.C (textHandleUndo): set the next() and previous()
8646         pointers of the paragraph to 0 before deleting otherwise we have
8647         problems with the Paragraph::[destructor].
8648
8649         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8650         on a paragraph insertion.
8651
8652 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8653
8654         * buffer.C (asciiParagraph): use += operator for char append to
8655         string.
8656
8657         * paragraph.C (getFontSettings): compare >= not just >
8658         (highestFontInRange): ditto
8659         (setFont): ditto
8660
8661 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8662
8663         * paragraph.C: change several algorithm to be more appripriate for
8664         the problem domain. This is lookip in FontList and in the InsetList.
8665
8666 2002-03-13  André Pönitz <poenitz@gmx.net>
8667
8668         * commandtags.h:
8669         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8670
8671 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8672
8673         * commandtags.h:
8674         * LyXAction.C:
8675         * lyxfunc.C:
8676         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8677
8678 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8679
8680         * Painter.C (display): anon helper function, adjust code for this
8681         change.
8682         (pixmap): remove function.
8683
8684         * Painter.h: remove private display variable.
8685
8686         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8687
8688 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8689
8690         * WorkArea.[Ch]: remove figinset_canvas cruft.
8691
8692 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8693
8694         * lyxtextclass.C (operator): add one item cache optimization.
8695
8696         * bufferlist.h: doxy changes
8697
8698         * bufferlist.C: ws changes
8699
8700         * DepTable.[Ch] (ext_exist): place const in the right spot.
8701
8702         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8703         call resizeInsets.
8704         (workAreaExpose): call resizeInsets when the with BufferView changes.
8705         (Dispatch): adjust for protectedBlank removal
8706         (specialChar): call updateInset if the insert went ok.
8707
8708         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8709         specialChar instead.
8710
8711         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8712
8713         * BufferView.h: doxy change
8714
8715         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8716
8717         * lyxtextclass.C (operator[]): remove non-const version
8718         (defaultLayout): remove non-const version
8719
8720 2002-03-12  Juergen Vigna  <jug@sad.it>
8721
8722         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8723         did resize the LyXText too.
8724
8725         * buffer.C (readLyXformat2): set layout information on newly allocated
8726         paragraphs.
8727
8728         * tabular.C (OldFormatRead): set layout information on the paragraph.
8729
8730 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8731
8732         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8733
8734 2002-03-11  Juergen Vigna  <jug@sad.it>
8735
8736         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8737         plainly wrong.
8738         (resizeCurrentBuffer): force also the insets to resize themselfes.
8739         (moveCursorUpdate): fixed up for InsetText.
8740
8741 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8742
8743         * commandtags.h:
8744         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8745         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8746         value of Dialogs::tooltipsEnabled().
8747         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8748
8749 2002-03-08  Juergen Vigna  <jug@sad.it>
8750
8751         * BufferView_pimpl.C (updateInset): update inset inside inset also
8752         if it isn't inside theLockingInset().
8753
8754 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8755
8756         * buffer.C (asciiParagraph): redo some of the word and line length
8757         handling.
8758         (getLists): look for Caption instead of caption.
8759
8760 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8761
8762         * buffer.C (Buffer): initialize niceFile to true
8763         (makeLaTeXFile):
8764         (makeLinuxDocFile):
8765         (makeDocBookFile): make sure niceFile is true on exit
8766
8767 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8768
8769         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8770
8771 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8772
8773         * LyXSendto.C: remove.
8774         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8775         * lyx_gui.C: remove now-redundant comment.
8776         * ColorHandler.h: remove forward declaration of class WorkArea.
8777         * lyxfunc.C: remove #include "WorkArea.h".
8778
8779 2002-03-07  Juergen Vigna  <jug@sad.it>
8780
8781         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8782         got moved away with the DEPM and also set the inset_owner always
8783         right which before could have been omitted.
8784
8785 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8786
8787         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8788         wanted layout is not found.
8789
8790 2002-03-07  Juergen Vigna  <jug@sad.it>
8791
8792         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8793
8794 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8795
8796         * paragraph.C (breakParagraph): use default layout not layout of
8797         prev paragraph.
8798         (Paragraph): clear ParagraphParameters.
8799
8800 2002-03-06  Juergen Vigna  <jug@sad.it>
8801
8802         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8803         otherwise it would not be a valid lenght. Fixed a special case in
8804         the minipage compatibility read where we end the document with a
8805         minipage.
8806
8807         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8808         was set as it could be 0 for InsetTexts first entry.
8809
8810 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8811
8812         * paragraph.C (writeFile): if layout is empty write out
8813         defaultLayoutName().
8814
8815         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8816         file without named layout we set layout to defaultLayoutName().
8817
8818 2002-03-06  Juergen Vigna  <jug@sad.it>
8819
8820         * CutAndPaste.C (copySelection): set layout for new paragraph.
8821
8822         * text.C (prepareToPrint): leave ERT inset left aligned
8823         (leftMargin): don't indent paragraphs inside ERT insets
8824
8825 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8826
8827         * paragraph.C (breakParagraph): dont call clear do the work manually
8828
8829         * paragraph.[Ch] (clear): remove function
8830
8831 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8832
8833         * paragraph.C (Paragraph): dont call clear, the work has already
8834         been done.
8835
8836         * lyxtextclass.C (operator): assert if n is empty
8837
8838         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8839         work manually instead.
8840
8841 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8842
8843         * BufferView_pimpl.C: protect selectionLost against text == 0
8844
8845 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8846
8847         * text.C (breakParagraph): fix a setting layout to '0' problem.
8848
8849 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8850
8851         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8852         final location of file, for the included files, and graphics.
8853
8854 2002-03-05  Juergen Vigna  <jug@sad.it>
8855
8856         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8857
8858 2002-03-04  Juergen Vigna  <jug@sad.it>
8859
8860         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8861
8862         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8863         last column of multicolumn cells.
8864         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8865
8866 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8867
8868         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8869         file if it doesn't go to a temporary file.
8870
8871         * buffer.C (sgmlOpenTag):
8872         (sgmlCloseTag):  remove extra newline insertion.
8873
8874 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8875
8876         * text.C (getRowNearY): comment out debug msg
8877
8878 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8879
8880         * text2.C: first -> first_y
8881
8882         * text.C (getRowNearY): add some attemts at a possible
8883         optimization, not working.
8884
8885         * tabular.[Ch]: add BufferParams to several function so that newly
8886         created paragraph can be initialized to he default layotu for the
8887         buffers textclass.
8888
8889         * tabular-old.C (ReadOld): add buf->params to call of Init
8890
8891         * screen.C: rename text->first to text->first_y
8892
8893         * paragraph.C (breakParagraph): always set layout in the broken
8894         paragraph
8895
8896         * lyxtextclass.C (Read): remove lowercase
8897         (hasLayout): ditto
8898         (operator): ditto
8899         (delete_layout): ditto
8900
8901         * lyxtext.h: rename first -> first_y
8902
8903         * lyxlayout.C (Read): remove lowercase
8904         (name): ditto
8905         (setName): ditto
8906         (obsoleted_by): ditto
8907
8908         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8909
8910         * buffer.C (insertErtContents): add params are to InsetERT
8911         (parseSingleLyXformat2Token): add code to check if a paragraphs
8912         layout really exist.
8913         (parseSingleLyXformat2Token): add params to several inset
8914         constructors
8915         (asciiParagraph): remove lowercase, do the layout comparisons with
8916         no_case
8917
8918         * BufferView_pimpl.C (cursorNext): first -> first_y
8919         (resizeCurrentBuffer): first -> first_y
8920         (updateScrollbar): first -> first_y
8921         (scrollCB): first -> first_y
8922         (workAreaMotionNotify): first -> first_y
8923         (workAreaButtonPress): first -> first_y
8924         (checkInsetHit): first -> first_y
8925         (cursorPrevious): first -> first_y
8926         (cursorNext): first -> first_y
8927         (Dispatch): add buffer_->params to severl inset contructors
8928
8929 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8930
8931         * lyxlayout.C (Read): remove some debug info that I forgot.
8932
8933         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8934         clean up the code slightly.
8935         (makeLinuxDocFile): ditto
8936         (makeDocBookFile): ditto
8937
8938         * text2.C: layout as string
8939
8940         * text.C: layout as string
8941
8942         * paragraph_pimpl.C: layout as string
8943
8944         * paragraph.[Ch]: layout as string
8945
8946         * lyxtextclasslist.[Ch]: layout as string
8947
8948         * lyxtextclass.[Ch]: layout as string
8949
8950         * lyxtext.h: layout as string
8951
8952         * lyxlayout.[Ch]: layout as string
8953
8954         * lyx_cb.C: layout as string
8955
8956         * bufferview_funcs.C: layout as string
8957
8958         * bufferparams.C: layout as string
8959
8960         * buffer.C: layout as string
8961
8962         * LyXView.[Ch]: layout as string
8963
8964         * LaTeXFeatures.[Ch]: layout as string
8965
8966         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8967
8968         * BufferView_pimpl.C: change current_layout to string, remove
8969         lyx::layout_type.
8970         (Dispatch):
8971         (smartQuote):
8972         (insertInset):
8973         (workAreaButtonRelease): layout as string
8974
8975         * BufferView2.C (unlockInset): adjust
8976
8977         * vspace.C (asLatexCommand): use an explict temp variable.
8978
8979 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8980
8981         * Makefile.am: use FRONTEND_*
8982
8983 2002-03-01  Juergen Vigna  <jug@sad.it>
8984
8985         * tabular.C (SetWidthOfMulticolCell): changed to something better
8986         I hope but still work in progress.
8987         (recalculateMulticolumnsOfColumn): renamed function from
8988         recalculateMulticolCells as it is more appropriate now.
8989         (SetWidthOfCell): calculate multicols better.
8990
8991 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8992
8993         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8994
8995         * lyxfunc.C (processKeySym): print sequence also if it is
8996         `deleted' (complete)
8997
8998         * kbsequence.C (print): print sequence even if it is deleted
8999         (complete would be a better word, actually).
9000
9001         * lyxfunc.C (dispatch): print complete options after a prefix key
9002
9003         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9004
9005 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9006
9007         * text2.C (setCharFont): eliminate setCharFont code duplication.
9008
9009 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9010
9011         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9012         LFUN_TABULAR_FEATURE (bug #177)
9013
9014 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9015
9016         * Makefile.am: remove figure.h
9017
9018 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9019
9020         * Bufferview_pimpl.C:
9021         * CutAndPasteC:
9022         * LaTeX.C:
9023         * LyXSendto.C:
9024         * buffer.C:
9025         * bufferlist.C:
9026         * converter.C:
9027         * language.C:
9028         * lyxfunc.C:
9029         * lyxvc.C:
9030         * paragraph.C:
9031         * text.C:
9032         * text2.C: remove #include "lyx_gui_misc.h".
9033
9034         * LaTeX.C: added #include <cstdio>
9035
9036 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9037
9038         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9039         that the paragraph following this one can have.
9040
9041         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9042
9043         * vspace.C (asLatexCommand): fix bogus gcc warning
9044
9045         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9046
9047 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9048
9049         * text2.C (setLayout): get rid of redundant code
9050
9051 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9052
9053         * text2.C (incDepth): make sure depth cannot be increased beyond
9054         reasonable values.
9055
9056 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9057
9058         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9059         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9060
9061         * PainterBase.h (image):
9062         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9063         a LyXImage const *.
9064
9065 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9066
9067         * BufferView.C:
9068         * BufferView.h:
9069         * BufferView_pimpl.C:
9070         * BufferView_pimpl.h:
9071         * LaTeXFeatures.C:
9072         * LyXAction.C:
9073         * LyXView.C:
9074         * Makefile.am:
9075         * UpdateList.h:
9076         * UpdateList.C:
9077         * buffer.C:
9078         * figure.h:
9079         * figureForm.C:
9080         * figureForm.h:
9081         * figure_form.C:
9082         * figure_form.h:
9083         * lyx_cb.C:
9084         * lyx_gui.C:
9085         * lyx_gui_misc.C:
9086         * lyxfunc.C:
9087         * sp_base.h:
9088         * sp_ispell.h:
9089         * sp_pspell.h:
9090         * sp_spell.C: remove fig inset, and the crap house of
9091           cards that follows it
9092
9093 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9094
9095         * Makefile.am:
9096         * lyxserver.C:
9097         * os2_defines.h:
9098         * os2_errortable.h:
9099         * nt_defines.h: move .h into support/
9100
9101         * vms_defines.h: remove
9102
9103         * WorkArea.C: add space in debug output
9104
9105         * text2.C:
9106         * paragraph.C:
9107         * buffer.C: add WITH_WARNINGS
9108
9109         * vc-backend.h:
9110         * vc-backend.C:
9111         * bufferlist.C: s/retrive/retrieve/, add docs
9112
9113         * vspace.h:
9114         * vspace.C:
9115         * kbmap.h:
9116         * lyxlength.h:
9117         * lyxgluelength.h:
9118         * length_common.h:
9119         * chset.h:
9120         * chset.C: add docs
9121
9122         * lyxgui.C: add ID to X error handler
9123
9124         * lyxtestclass.c: fix typo
9125
9126 2002-02-26  Juergen Vigna  <jug@sad.it>
9127
9128         * tabular_funcs.C (write_attribute): changed so that some default
9129         attributes are not written at all.
9130         (getTokenValue): set default values before trying to read the
9131         value so we have the return value always set as default if we don't
9132         find the token we search for.
9133
9134         * tabular.C (Write): write bools as bools not as strings!
9135
9136 2002-02-22  Juergen Vigna  <jug@sad.it>
9137
9138         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9139         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9140
9141         * text.C (leftMargin): don't add an indent for paragraphs inside
9142         tabular cells (fix #208).
9143
9144 2002-02-21  José Matos  <jamatos@fep.up.pt>
9145
9146         * tabular.C (docBook): fixed support for long tables.
9147
9148 2002-02-20  Juergen Vigna  <jug@sad.it>
9149
9150         * text2.C (getFont): get the drawing font of the Inset if this
9151         paragraph is inside an inset (only important for InsetERT for now).
9152
9153         * buffer.C (insertErtContents): use new lanugage params in ERT
9154         constructor.
9155
9156         * CutAndPaste.C: commenting out seemingly uneeded code.
9157
9158 2002-02-19  Allan Rae  <rae@lyx.org>
9159
9160         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9161         Iterators might be simple to use but they also get invalidated.
9162         (removeAutoInsets): renamed saved cursor tracking variables and added
9163         some comments to clarify what everything does.
9164
9165 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9166
9167         * Chktex.C:
9168         * LaTeX.C:
9169         * LyXSendto.C:
9170         * converter.C:
9171         * lyx_cb.C:
9172         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9173         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9174
9175         * lyxfunc.C:
9176         * vc-backend.h: remove #include "support/syscall.h"
9177
9178         * LaTeX.C:
9179         * LyXSendto.C:
9180         * converter.C: rearrange #includes in Lars' approved fashion.
9181
9182         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9183         forward declare class Timeout in the header file.
9184
9185         * XFormsView.C: changes due to the above.
9186
9187         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9188         similar to LyXView.
9189
9190         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9191         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9192
9193 2002-02-18  José Matos  <jamatos@fep.up.pt>
9194
9195         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9196         insets contents.
9197
9198 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9199
9200         * a lot of small ws changes
9201         * add a lot of using std::XXX
9202         * use std construcs some places where approp.
9203         * use some exisint stuff from lyxfunctional where approp.
9204         * Make file changes to use partial linking (lets test this now...)
9205
9206 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9207
9208         * Chktex.C:
9209         * buffer.C:
9210         remove #include "support/syscontr.h" as it's redundant. Always has been.
9211
9212         * Chktex.C:
9213         * LaTeX.C:
9214         * LyXSendto.C:
9215         * converter.C:
9216         * lyx_cb.C:
9217         * vc-backend.C:
9218         change Systemcalls::System to Systemcalls::Wait and
9219         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9220         No change of functionality, just reflects the stripped down Systemcalls
9221         class.
9222
9223 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9224
9225         * debug.[Ch]: add a GRAPHICS type to the enum.
9226
9227 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9228
9229         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9230
9231         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9232         there is an inset.
9233
9234 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9235
9236         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9237         match the changes below.
9238
9239         * text2.C (toggleInset): if there is not editable inset at cursor
9240         position, try to see if cursor is _inside_ a collapsable inset
9241         and close it.
9242
9243 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9244
9245         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9246         document menu has a nice checkbox
9247
9248 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9249
9250         * lyxlength.C (asLatexString): change PW to output as percent of
9251         \textwidth.
9252
9253         * lengthcommon.C: change '%' to 't%'
9254
9255         * lyxfunc.C (dispatch): a few comments from Martin
9256
9257 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9258
9259         * WorkArea.h:
9260         * WorkArea.C:
9261         * BufferView_pimpl.h:
9262         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9263           the X selection.
9264
9265 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9266
9267         * vspace.C (inPixels): fix compiler warning
9268
9269 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9270
9271         * lyxfunc.C (getStatus): fix status message for disabled commands.
9272
9273 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9274
9275         * BufferView_pimpl.C: fix crash on close buffer
9276         during selection (#227)
9277
9278 2002-01-27  Herbert Voss  <voss@lyx.org>
9279
9280         * buffer.C: link old Figure to new graphic inset
9281
9282 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9283
9284         * FontLoader.C (getFontinfo): Change the latex font names in order
9285         to match the names of type1inst.
9286
9287 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9288
9289         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9290
9291         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9292         (extchanged): ditto
9293         (ext_exist): ditto
9294         (remove_files_with_extension): ditto
9295         (remove_file): ditto
9296         (write): ditto
9297
9298         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9299         document is smaller than the work area height. Do not initialize
9300         static variables to 0.
9301
9302 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9303
9304         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9305
9306         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9307         LFUN_LAYOUT_PARAGRAPHS.
9308
9309         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9310         tabular. It is possible to provide a possible cell, which will
9311         typically be the actcell from the corresponding insettabular
9312
9313         * lyxfunc.C (getStatus): small cleanup; disable
9314         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9315         true
9316
9317 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9318
9319         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9320
9321         * paragraph.C (startTeXParParams):
9322         (endTeXParParams): new methods. The LaTeX code to
9323         start/end paragraph formatting
9324         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9325         empty (fixes bug #200)
9326
9327         * vspace.C (inPixels): adapt to the change below
9328         (inPixels): [later] more cleanups (remove unused variables)
9329
9330         * lyxlength.C (inPixels): change to use a width and a height as
9331         parameter.
9332
9333 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9334
9335         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9336         Replaced with \paperwidth
9337
9338         * DepTable.C (insert): add std:: qualifier
9339
9340 2002-01-18  Allan Rae  <rae@lyx.org>
9341
9342         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9343         updated also?
9344
9345         * text.C (drawInset): Turned out I didn't know enough about how
9346         rebreaking worked.  This fixes most of the redraw problems.  I see
9347         an occasional cursor trail when a line is broken now and the cursor
9348         placement can seem out by a few pixels also after a rebreak.
9349
9350 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9351
9352         * buffer.C (parseSingleLyXformat2Token): update because minipage
9353         width is now a LyXLength
9354
9355         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9356
9357         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9358         math insets
9359
9360 2002-01-17  Juergen Vigna  <jug@sad.it>
9361
9362         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9363
9364         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9365         is set correctly and the inset is updated correctly.
9366
9367 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9368
9369         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9370         the beginning of the loop.
9371
9372 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9373
9374         * lyxrc.C: improve help for use_scalable_fonts
9375
9376 2002-01-17  Allan Rae  <rae@lyx.org>
9377
9378         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9379
9380 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9381
9382         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9383         make sure to set their inset_owner to the right value (bug #171)
9384
9385 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9386
9387         * DepTable.h
9388         * DepTable.C: Implement mtime checking to reduce time spent doing
9389         CRCs.
9390
9391 2002-01-16  Juergen Vigna  <jug@sad.it>
9392
9393         * tabular.C (GetAdditionalHeight): one of error fixed.
9394
9395         * lyxrc.C (output): small fix in writing use_pspell.
9396
9397 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9398
9399         * sp_base.h: #include LString.h
9400
9401 2002-01-16  Allan Rae  <rae@lyx.org>
9402
9403         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9404         Can someone check this please?
9405
9406         * text.C (drawInset): It was possible that p.row would be removed by
9407         breakAgainOneRow upsetting a few other settings.  There may be another
9408         small tweak possible by setting need_break_row = 0 when p.row has been
9409         removed but I don't know enough about the logic here.
9410
9411 2002-01-15  Allan Rae  <rae@lyx.org>
9412
9413         * text.C (insertChar): removed conditional truism.
9414
9415         * BufferView2.C (removeAutoInsets): More tweaks.
9416         cur_par_prev could be a stray pointer.  Check for trailing empty line
9417         in case last line was cur_par and only had an error inset on it.
9418
9419 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9420
9421         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9422         absolute
9423
9424         * vc-backend.C (most methods):
9425         * exporter.C (Export):
9426         * converter.C (convert):
9427         (runLaTeX):
9428         * LyXSendto.C (SendtoApplyCB):
9429         * lyxfunc.C (dispatch):
9430         (menuNew):
9431         (open):
9432         (doImport):
9433         * lyx_cb.C (AutoSave):
9434         (InsertAsciiFile):
9435         * BufferView_pimpl.C (MenuInsertLyXFile):
9436         * buffer.C (runChktex): use Buffer::filePath().
9437
9438         * buffer.h: rename filename to filename_; rename filepath to
9439         filepath_ and make it private
9440         (filePath): new method
9441
9442         * buffer.C (writeFile): use fileName()
9443         (getLatexName):
9444
9445         * lyx_main.C (init): fix starting  of LyX when the binary is a
9446         link from so,ewhere else.
9447
9448         * minibuffer.C: include <cctype> for isprint
9449
9450 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9451
9452         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9453         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9454         name clash with InsetCollapsable's width function.
9455
9456 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9457
9458         * lastfiles.C: include <iterator>
9459
9460 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9461
9462         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9463         std::count.
9464
9465         * buffer.C (makeLaTeXFile): ditto.
9466         Also make loop operation more transparent.
9467
9468 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9469
9470         * ToolbarDefaults.C: remove trailing comma closing namespace.
9471
9472         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9473
9474         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9475         as in WorkArea.
9476
9477         * trans.C (Load): comment out unused variable, allowed.
9478
9479 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9480
9481         * minibuffer.[Ch] (append_char): new method to recieve input from the
9482         drop-down completion browser. If a key was pressed, then recieve this
9483         char and append it to the existing string.
9484         (peek_event): modify the positioning data passed to the completion
9485         browser so that it can be placed above the minibuffer rather than below.
9486 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9487
9488         * LyXAction.C (init): alloe error-next for readonly documents.
9489
9490         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9491         count.
9492
9493 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9494
9495         * bufferlist.C (readFile): create the buffer _after_ checking that
9496         the file exists.
9497
9498         * lyxfunc.C (verboseDispatch): fix handling of arguments
9499
9500         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9501
9502         * lyxrc.C: use string::erase() instead of initializing to "".
9503
9504
9505 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9506
9507         * BufferView_pimpl.h:
9508         * BufferView_pimpl.C:
9509         * WorkArea.h:
9510         * WorkArea.C:
9511         * text2.C: tell X when we have made a selection for copying
9512
9513 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9514
9515         * BufferView_pimpl.C (MenuInsertLyXFile):
9516         * lyxfunc.C (menuNew):
9517         (open):
9518         (doImport): add shortcuts to directory buttons
9519
9520         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9521         open a float)
9522
9523         * lyxfunc.C (setStatusMessage):
9524         (getStatusMessage): new methods
9525         (getStatus):use setStatusMessage instead of setErrorMessage
9526         (dispatch): when function is disabled, set error message here
9527         [instead of in getStatus previously]
9528
9529         * BufferView_pimpl.C (workAreaButtonRelease): update
9530         toolbar/menubar here too.
9531
9532 2002-01-13  Allan Rae  <rae@lyx.org>
9533
9534         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9535         Now seems indestructible.  Remaining task is to audit all other
9536         code affected by deleteEmptyParagraphMechanism.  One small quirk
9537         left is that an empty document with an error in the preamble can
9538         be made to report an error but no error box appears.  I don't know
9539         where it goes.
9540         (removeAutoInsets): Improved comments.
9541
9542 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9543
9544         * Thesaurus.h:
9545         * Thesaurus.C: update for Aiksaurus 0.14
9546
9547 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9548
9549         * text2.C (firstParagraph): removed member function, all uses
9550         replaces with ownerParagraph
9551         (redoParagraphs): here
9552         (updateInset): here
9553         (toggleAppendix): here
9554         * BufferView2.C (insertErrors): here
9555         (setCursorFromRow): here
9556
9557 2002-01-13  Allan Rae  <rae@lyx.org>
9558
9559         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9560         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9561         There is still a way to segfault this although you may have to do this
9562         multiple times: Have an InsetERT with an unknown command in it.
9563         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9564         <down-arrow>, <Enter> again, View->DVI, BANG!
9565
9566         * text2.C (setCursor):
9567         (deleteEmptyParagraphMechanism):
9568         * lyxtext.h (setCursor):
9569         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9570         Making use of the return value may help fix other bugs.
9571
9572 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9573
9574         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9575
9576         * LyXView.C (updateMenubar): call MenuBar::update here
9577         (updateToolbar): but not here
9578         (showState): do not update toolbar/menubar
9579
9580         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9581         should need to care about that.
9582
9583         * lyxfunc.C (verboseDispatch): simplify a bit
9584         (getStatus): have a version which takes a pseudoaction, and
9585         another which requires a (kb_action,string).
9586
9587         * LyXAction.C (retrieveActionArg): make it work also when action
9588         is not a pseudo-action.
9589         (getActionName): simplify a bit
9590         (helpText):
9591
9592 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9593
9594         * lyxfunc.C (verboseDispatch): new families of methods with
9595         several ways to specify a command and a bool to indicate whether
9596         the command name and shortcut should be displayed in minibuffer
9597         (eventually, we could extend that to a finer bitmask like
9598         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9599         (dispatch): the pristine dispatch command which just, well,
9600         dispatchs! Note it still sets its result to minibuffer; I'm not
9601         sure we want that.
9602
9603         * lyxfunc.h: remove setHintMessage
9604
9605         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9606
9607 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9608
9609         * BufferView_pimpl.C (specialChar): delete new inset if we have
9610         not been able to insert it.
9611
9612         * kbmap.C: revert to using int instead of kb_action, since all we
9613         are dealing with is pseudo-actions.
9614
9615         * LyXAction.C (searchActionArg): change to return int instead of
9616         kb_action, since the result is a pseudoaction.
9617
9618 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9619
9620         * buffer.C (insertErtContents): Fix (partially) the font bug.
9621
9622 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9623
9624         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9625         as the other one is broken on my machine!
9626
9627 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9628
9629         * commandtags.h:
9630         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9631
9632 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9633
9634         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9635         reflect their actual use. Provide compatibility code for older lyxrc
9636         files.
9637
9638         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9639         FL_NORMAL_STYLE.
9640         change names of popup font variables in line with the changes to lyxrc.C
9641
9642 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9643
9644         * buffer.C (asciiParagraph): avoid outputing a word twice after
9645         an inset.
9646
9647         * lyxrc.C (getDescription): document that document_path and
9648         template_path can be empty.
9649
9650 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9651
9652         * LaTeXFeatures.C (getMacros):
9653         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9654
9655         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9656
9657         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9658         getPackages.
9659         (getPackages): rename feature "floats" to "float". Use an array to
9660         iterate over 'simple' features (i.e. just a \usepackage). Add
9661         handling of "amsmath" (renamed from "amsstyle").
9662
9663 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9664
9665         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9666         features list.
9667
9668 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9669
9670         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9671         FuncStaus::FuncStatus & FuncStaus::some_method().
9672
9673 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9674
9675         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9676         of the func_satus stuff. Edited and massaged in various ways by
9677         JMarc.
9678
9679         * lyxfunc.C (getStatus): use FuncStatus
9680
9681 2002-01-08  Juergen Vigna  <jug@sad.it>
9682
9683         * text.C (nextBreakPoint): use function Inset::isChar().
9684
9685         * paragraph.C (TeXOnePar): use function
9686         Inset::forceDefaultParagraphs.
9687
9688         * buffer.C (latexParagraphs): use function
9689         Inset::forceDefaultParagraphs.
9690
9691 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9692
9693         * lyx_gui.C (init): set the style of the menu popups to
9694         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9695
9696 2002-01-07  Juergen Vigna  <jug@sad.it>
9697
9698         * text.C (setHeightOfRow): small fix
9699         (prepareToPrint): don't look at alignment if we don't have the place
9700         for doing it.
9701
9702 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9703
9704         * box.C: New file. Move the Box methods and functions out of box.h,
9705         following Lars' suggestion.
9706
9707 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9708
9709         * box.h: #include "support/LOstream.h", needed for inlined function.
9710
9711         * lyxtextclass.C:
9712         * lyxtextclasslist.C: added some using std declarations.
9713
9714 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9715
9716         * box.h: make signed dimensions to allow insets wider than
9717           the screen (bug #162)
9718
9719         * BufferView_pimpl.C: add some insetHit debug
9720
9721 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9722
9723         * vc-backend.C: add FIXME
9724
9725 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9726
9727         * lyxfunc.C (getStatus): enable code for showing math font status
9728         in toolbar/menu.
9729
9730 2002-01-07  Juergen Vigna  <jug@sad.it>
9731
9732         * text.C (nextBreakPoint): removed debug output not needed anymore.
9733
9734 2002-01-06  Juergen Vigna  <jug@sad.it>
9735
9736         * text.C (nextBreakPoint): fixed up this function we had this bug
9737         since ever but now hopefully we break row better.
9738         (insertChar): we have to check if an inset is the next char as it
9739         could now happen that a large inset is causing a break.
9740
9741 2002-01-05  Juergen Vigna  <jug@sad.it>
9742
9743         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9744         if it doesn't like to be drawed.
9745
9746 2002-01-04  Juergen Vigna  <jug@sad.it>
9747
9748         * BufferView2.C (lockInset): forgot to set a cursor.
9749
9750         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9751
9752 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9753
9754         * FormMathsPanel.C:
9755         * FormMathsPanel.h
9756         * MathsSymbols.C:
9757         * form_maths_panel.C:
9758         * form_maths_panel.h:
9759         * form_maths_panel.fd: implemented sub- and super- buttons in math
9760         panel.
9761
9762         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9763         (or ^ space) to be used as in TeX (req'd by André).
9764
9765         * lyxfunc.C: Allow ^ and _ again to be used both as
9766         super/subscript (mathed) and as themselves (in text).
9767
9768 2002-01-03  Allan Rae  <rae@lyx.org>
9769
9770         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9771         "LyX" or the filename of the current buffer if it has one.  This is a
9772         modified form of John Levon's patch.
9773
9774         * XFormsView.C (setWindowTitle): also set icon title.
9775
9776         * LyXView.h (setWindowTitle): signature changed.
9777         * XFormsView.h (setWindowTitle): ditto.
9778
9779 2002-01-02  Juergen Vigna  <jug@sad.it>
9780
9781         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9782
9783 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9784
9785         * screen.C (topCursorVisible): introduce a temp var for
9786         text->cursor.row(), handle the case where this row is null. (kindo
9787         hachish)
9788
9789         * text2.C (setCursor): add a couple of asserts.
9790
9791         * paragraph.h (inset_iterator): add -> operator
9792
9793         * paragraph.[Ch] (autoDeleteInsets): remove member function
9794
9795         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9796         cursor pos correctly and handle inset deletion by itself.
9797         (insertErrors): move iterator declaration out of for expression
9798
9799         * lyxtextclass.C: add <algorithm>
9800
9801         * Makefile.am: added the new files to sources, removed layout.C
9802
9803         * layout.C: removed file
9804
9805         * layout.h: remove LYX_DUMMY_LAYOUT
9806
9807         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9808         layout.
9809
9810         * lyxlayout.[Ch]:
9811         * lyxtextclass.[Ch]:
9812         * lyxtextclasslist.[Ch]: new files
9813
9814         * include order changes to a lot of files, also changes because of
9815         the six new files.
9816
9817 2001-12-27  Juergen Vigna  <jug@sad.it>
9818
9819         * buffer.C (asciiParagraph): more fixes.
9820
9821         * tabular.C (ascii): make ascii export support export of only the
9822         data separated by a column-delimiter.
9823         (ascii): better support for ascii export.
9824
9825         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9826
9827 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9828
9829         * tabular_funcs.C: use a "using std::getline" instead of the
9830         previous fix from Angus (necessary for cxx + lyxstring)
9831
9832 2001-12-24  Juergen Vigna  <jug@sad.it>
9833
9834         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9835
9836         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9837         problems. First check a minipage also if we have some ert-contents
9838         (not only on par->size(), second set the right depth of the paragraph
9839         on the relink to the root-paragraph-list!
9840
9841         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9842         which then did not anymore update the main paragraphs on undo/redo!
9843
9844 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9845
9846         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9847         code. Support all font-changing funcs (even those which are not in
9848         menu currently). Support for reporting font settings in
9849         mathed (disabled until Andre provides a function on mathed's side).
9850
9851         * func_status.h (toggle): small helper function to set toggle
9852         state on a flag.
9853
9854 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9855
9856         * tabular_funcs.C: getline -> std::getline
9857
9858 2001-12-21  Juergen Vigna  <jug@sad.it>
9859
9860         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9861         accessed and could be 0 (I couldn't generate this but it seems
9862         Michael could!).
9863
9864 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9865
9866         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9867         * tabular_funcs.h: here and include iosfwd
9868
9869 2001-12-20  Juergen Vigna  <jug@sad.it>
9870
9871         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9872         inside inset but undo_par was.
9873
9874 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9875
9876         * Thesaurus.C: always include <config.h> in sources.
9877
9878         * Painter.h:
9879         * lyxlookup.h:
9880         * box.h: do not include <config.h> in header files
9881
9882         * text.C (paintLastRow): remove unused variable
9883
9884         * text.C (transformChar):
9885         (insertChar):
9886         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9887
9888         * Painter.C (text):
9889         * font.C (width): rewrite to use uppercase() instead of
9890         islower/toupper.
9891
9892         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9893
9894 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9895
9896         * lyxfind.C: clean up of find failure position change
9897
9898 2001-12-20  Juergen Vigna  <jug@sad.it>
9899
9900         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9901
9902         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9903         (TeXRow): added to LaTeX a single tabular row.
9904         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9905         (Latex): simplified and finally good LT-h/f support.
9906         (various_functions): just small adaptions for LT-h/f support.
9907
9908         * tabular_funcs.[hC]: added and moved here all not classfunctions
9909         of LyXTabular.
9910
9911 2001-12-19  Juergen Vigna  <jug@sad.it>
9912
9913         * tabular.[Ch]: better support for longtabular options (not finished
9914         yet!)
9915
9916 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9917
9918         * text.C (paintLastRow): use the label font instead of the font of
9919         the last character to compute the size of *_BOX. This makes more
9920         sense and avoids a crash with empty paragraphs.
9921         Use Painter::rectangle to draw EMPTY_BOX.
9922
9923 2001-12-19  Juergen Vigna  <jug@sad.it>
9924
9925         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9926         the paragraphs if the replaced paragraph is not the first one!
9927         Tried to delete not used paragraphs but does not work yet so for
9928         now it's inside #ifdef's and by default off!
9929
9930 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9931
9932         * MenuBackend.C: include "lyx_main.h" instead of declaring
9933         lastfiles (actually was declared as LastFiles* instead of a
9934         scoped_ptr).
9935
9936 2001-12-17  Juergen Vigna  <jug@sad.it>
9937
9938         * tabular.C (AppendColumn): applied John's fix
9939
9940 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9941
9942         * BufferView.h:
9943         * BufferView.C:
9944         * BufferView_pimpl.h:
9945         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9946
9947         * Makefile.am:
9948         * box.h: new start of class for above
9949
9950         * lyxfunc.C: ignore space-only minibuffer dispatches.
9951           Show the command name when it doesn't exist
9952
9953         * minibuffer.C: don't add empty lines to the history
9954
9955         * minibuffer.C: add a space on dropdown completion
9956
9957 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9958
9959         * text.C: fix line above/below drawing in insets
9960
9961 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9962
9963         * lyxlength.C (LyXLength): Initialize private variables.
9964
9965 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9966
9967         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9968         when inserting error insets.
9969
9970 2001-12-13  Juergen Vigna  <jug@sad.it>
9971
9972         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9973         actually sometimes the before-paragraph.
9974         (setUndo): don't clear the redostack if we're not actually undoing!
9975
9976 2001-12-06  Juergen Vigna  <jug@sad.it>
9977
9978         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9979         and fixed redoing of main paragraph, so we can use it now ;)
9980
9981         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9982
9983 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9984
9985         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9986         Juergen's request
9987
9988 2001-12-13  André Pönitz <poenitz@gmx.net>
9989
9990         * undostack.[Ch]:
9991         * undo_func.C: minor cleanup
9992
9993 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9994
9995         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9996         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9997         font in urw-fonts package which is marked as -urw-fontspecific and
9998         does not work (incidentally, changing the encoding in the
9999         fonts.dir of this package to -adobe-fontspecific fixes the
10000         problem).
10001
10002         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10003         is a crash when undoing first paragraph (Juergen, please take a
10004         look). THis does not mean the undo fix is wrong, just that it
10005         uncovers problems.
10006
10007         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10008         the (Paragraph*) version when needed instead of duplicating the
10009         code.
10010
10011         * text.C (workWidth): use Inset::parOwner to find out where the
10012         inset has been inserted. This is a huge performance gain for large
10013         documents with lots of insets. If Inset::parOwner is not set, fall
10014         back on the brute force method
10015
10016         * paragraph_pimpl.C (insertInset):
10017         * paragraph.C (Paragraph):
10018         (cutIntoMinibuffer): set parOwner of insets when
10019         inserting/removing them
10020
10021         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10022
10023 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10024
10025         * commandtags.h:
10026         * LyXAction.C:
10027         * lyx_main.C:
10028         * lyxfunc.C:
10029         * mathed/formulabase.C:
10030         * mathed/math_cursor.[Ch]:
10031         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10032
10033
10034 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10035
10036         * lyxlength.[Ch] (operator!=): new function
10037
10038 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10039
10040         * text.C (workWidth): use Inset::parOwner to find out where the
10041         inset has been inserted. This is a huge performance gain for large
10042         documents with lots of insets. If Inset::parOwner is not set, fall
10043         back on the brute force method
10044
10045         * paragraph_pimpl.C (insertInset):
10046         * paragraph.C (Paragraph):
10047         (cutIntoMinibuffer): set parOwner of insets when
10048         inserting/removing them
10049
10050         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10051
10052 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10053
10054         * tabular-old.C (getTokenValue):
10055         * tabular.C (getTokenValue):
10056         (write_attribute): new versions for LyXLength
10057         (everywhere): adjust the use of widths
10058
10059         * tabular.h: change the type of widths from string to LyXLength
10060
10061 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10062
10063         * paragraph.C: fixed missing line number count when exporting
10064         Environments to LaTeX file
10065
10066         * buffer.C: added informational message for checking line numbers.
10067
10068 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10069
10070         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10071         paragraph, do the 'double space' part, but not the 'empty
10072         paragraph' one.
10073
10074         * text.C (workWidth): small optimization
10075         (getLengthMarkerHeight): use minimal size for negative lengths.
10076
10077 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10078
10079         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10080
10081         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10082
10083 2001-12-11  André Pönitz <poenitz@gmx.net>
10084
10085         * FontLoader.C:
10086         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10087
10088 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10089
10090         * text2.C: keep selection on a setFont()
10091
10092 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10093
10094         * lyx_cb.C: another bv->text misuse, from insert label
10095
10096 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10097
10098         * kbsequence.h:
10099         * kbsequence.C: re-instate nmodifier mask
10100
10101 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10102
10103         * lyx_main.h: make lyxGUI private.
10104
10105 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10106
10107         * lyxfind.C: place the cursor correctly on failed search
10108
10109 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10110
10111         * text.C (getLengthMarkerHeight): for small heights, the arrows
10112         are not always on top/bottom of the text
10113         (drawLengthMarker): smaller arrows; take the left margin in
10114         account; draw also vfills.
10115         (paintFirstRow):
10116         (paintLastRow): remove special code for vfill and standard spaces,
10117         since everything is handled in drawLengthMarker now.
10118
10119 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10120
10121         * buffer.C (insertErtContents): try to handle font and language
10122         interaction a bit better.g
10123
10124         * ColorHandler.C (updateColor): change the hash to cover the whole
10125         LColor enum, ws cleanup
10126         (getGCLinepars): ditto
10127         (getGCLinepars): only lookup in the linecache once.
10128
10129 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10130
10131         * iterators.C (operator++): Make the iterator more robust
10132
10133         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10134         (John's patch)
10135         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10136
10137 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10138
10139         * lyxtext.h:
10140         * text.C: better added space drawing
10141
10142 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10143
10144         * LyXView.C:
10145         * BufferView2.C: fix layout combo update on inset unlock
10146
10147 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10148
10149         * Makefile.am: don't compile unused files
10150
10151 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10152
10153         * lyxfunc.C:
10154         * commandtags.h:
10155         * LyXAction.C: remove old LFUN_LAYOUTNO
10156
10157 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10158
10159         * paragraph_pimpl.h:
10160         * paragraph_pimpl.C: isTextAt() doesn't need font param
10161
10162 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10163
10164         * lyxlex.h:
10165         * lyxlex.C: little cleanup
10166
10167 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10168
10169         * BufferView_pimpl.C: fix insertAscii for insets
10170
10171 2001-12-05  Juergen Vigna  <jug@sad.it>
10172
10173         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10174         set the right font on the "multi" paragraph paste!
10175
10176 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10177
10178         * trans_decl.h:
10179         * trans_mgr.[Ch]:
10180         * trans.[Ch]:
10181         * lyxgluelength.C:
10182         * lyxlength.C: remove out-commented code.
10183
10184         * BufferView_pimpl:
10185         * CutAndPaste.C:
10186         * DepTable.C:
10187         * buffer.C:
10188         * chset.C:
10189         * lastfiles.C:
10190         * lyxlex.C:
10191         * lyxlex_pimpl.C:
10192         * lyxserver.C:
10193         * screen.C:
10194         * tabular-old.C:
10195         * tabular.C:
10196         * text.C:
10197         * trans_mgr.C:
10198         * vc-backend.C: change "while(" to "while ("
10199
10200         * lyxlength.[Ch]: add zero function to check if length is zero or
10201         not
10202         * lyxgluelength.C: use it
10203
10204 2001-12-05  Allan Rae  <rae@lyx.org>
10205
10206         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10207         Works for 2.95.3, from what I understand of Garst's reports this should
10208         work for other g++ versions.  We're screwed if the abs(int) definition
10209         changed between bugfix releases of gcc.
10210
10211 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10212
10213         * text.C: fix chapter label offset !
10214
10215 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10216
10217         * lyxtext.h:
10218         * text.C: fix hfill at end of line, clean up
10219
10220 2001-12-04  Juergen Vigna  <jug@sad.it>
10221
10222         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10223         that we force an update of the inset and it's owners if neccessary.
10224
10225 2001-12-03  Juergen Vigna  <jug@sad.it>
10226
10227         * text.C (rowLast): simplified code
10228
10229 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10230
10231         * lyxfunc.C: fix show options on timeout
10232
10233 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10234
10235         * screen.C (topCursorVisible): scroll half a page when the cursor
10236         reached top of bottom of screen
10237
10238 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10239
10240         * minibuffer.C: deactivate on loss of focus
10241
10242 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10243
10244         * vspace.[Ch] (operator!=): add operator.
10245
10246 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10247
10248         * BufferView_pimpl.C: refuse to open an inset when
10249         there's a selection.
10250
10251 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10252
10253         * BufferView_pimpl.C: allow to click on RHS of full row insets
10254
10255 2001-11-30  Juergen Vigna  <jug@sad.it>
10256
10257         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10258         insets for undo reasons.
10259
10260 2001-11-28  André Pönitz <poenitz@gmx.net>
10261
10262         * vspace.[Ch]: cosmetical changes
10263
10264 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10265
10266         * LyXAction.h:
10267         * LyXAction.C:
10268         * lyxfunc.h:
10269         * lyxfunc.C:
10270         * kbmap.h:
10271         * kbmap.C:
10272         * lyxrc.C:
10273         * kbsequence.h:
10274         * kbsequence.C: part re-write of old kb code
10275
10276         * Painter.C:
10277         * WorkArea.C: remove Lgb_bug_find_hack
10278
10279 2001-11-30  José Matos <jamatos@fep.up.pt>
10280
10281         * buffer.C (makeDocBookFile): add a comment to point a hack.
10282         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10283         Fixed a double write of labels.
10284
10285 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10286
10287         * LaTeX.C:
10288         * LaTeX.h Fixed bug in LaTeX class where it would not
10289         re-run latex if no depfiles were changed, but the .dvi was removed.
10290
10291 2001-11-28  André Pönitz <poenitz@gmx.net>
10292
10293         * all the files from the change on 2001/11/26:
10294         use lyx::layout_type instead of LyXTextClass::size_type
10295         use lyx::textclass_type instead of LyXTextClassList::size_type
10296
10297 2001-11-29  Juergen Vigna  <jug@sad.it>
10298
10299         * text.C: added support for paragraph::isFreeSpacing()
10300
10301         * buffer.C: same as above
10302
10303         * paragraph.h: inserted isFreeSpacing() function to enable
10304         FreeSpacing inside InsetERT.
10305
10306         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10307         of the paragraph's in the cut/copy buffer to 0!
10308
10309         * text2.C (removeRow): remove the assert as it can!
10310
10311         * lyxtext.h: added helper function firstRow returning firstrow and
10312         made firstrow private again.
10313
10314         * BufferView2.C (lockInset): don't relock if we're already locked!
10315
10316         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10317         the only paragraph.
10318         (removeRow): added Assert::(firstrow)
10319
10320         * debug.C: forgot to add INSETTEXT here.
10321
10322 2001-11-28  Juergen Vigna  <jug@sad.it>
10323
10324         * sp_spell.C (initialize): changed error text to more general
10325         spellchecker command use (not only ispell!)
10326
10327         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10328
10329         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10330
10331 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10332
10333         * vspace.C: initialise lyxgluelength on failure
10334
10335 2001-11-28  Allan Rae  <rae@lyx.org>
10336
10337         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10338         declaration & definition that looks like a function declaration.
10339
10340 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10341
10342         * BufferView2.C (copy):
10343         (copyEnvironment): do not clear the selection when doing a copy.
10344
10345         * text.C (paintFirstRow): compilation fix
10346
10347 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10348
10349         * tabular.C (Latex): correct line count when writing latex.
10350
10351 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10352
10353         * paragraph_pimpl.h:
10354         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10355           bug a bit
10356
10357 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10358
10359         * text.C:
10360         * LColor.h:
10361         * LColor.C: change vfillline->added_space
10362
10363         * text.C: add markers and text for added space
10364
10365         * vspace.C: fix comment
10366
10367 2001-11-28  André Pönitz <poenitz@gmx.net>
10368
10369         * paragraph.C: whitespace changes
10370         * all the other files from the change on 2001/11/26:
10371         change *::pos_type into lyx::pos_type
10372
10373 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10374
10375         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10376         language of the document when inserting error insets.
10377
10378 2001-11-26  André Pönitz <poenitz@gmx.net>
10379
10380         * BufferView_pimpl.[Ch]:
10381         *       CutAndPaste.C:
10382         * buffer.[Ch]:
10383         * lyxcursor.[Ch]:
10384         * lyxfind.C:
10385         * lyxfunc.C:
10386         * lyxrow.[Ch]:
10387         * paragraph.[Ch]:
10388         * paragraph_pimpl.[Ch]:
10389         * sp_spell.C:
10390         * text.C:
10391         * text2.C: reduce header dependencies, introduce type for positions
10392
10393 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10394
10395         * <various>: change to use Alert.h
10396
10397 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10398
10399         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10400         when encountering an unknown token.
10401         (readLyXformat2): Show an error message if there were unknown tokens.
10402
10403 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10404
10405         * BufferView2.C:
10406         * BufferView_pimpl.C:
10407         * buffer.C:
10408         * paragraph.h:
10409         * text.C:
10410         * text2.C: use par->isInset()
10411
10412 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10413
10414         * paragraph_pimpl.h:
10415         * paragraph_pimpl.C: cleanup
10416
10417 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10418
10419         * text2.C (removeRow):
10420         * text.C (setHeightOfRow): remove useless (and costly) call to
10421         getRow.
10422
10423 2001-11-20  Allan Rae  <rae@lyx.org>
10424
10425         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10426         Now need Inset*::checkInsertChar() to return true for appropriate
10427         cases so that the characters in the minibuffer will actually be
10428         inserted.
10429
10430 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10431
10432         * text.C: change the order of the includes.
10433         (workWidth): initialize it at once.
10434         (workWidth): make maxw unsigned
10435         (setHeightOfRow): remove unused variable (inset)
10436         (selectSelectedWord): remove unused variable (inset)
10437         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10438
10439 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10440
10441         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10442         server is not running.
10443         (openConnection):
10444         (closeConnection): add debug info when server is disabled.
10445
10446         * ColorHandler.C (getGCForeground): send debug message to GUI
10447         channel.
10448
10449         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10450
10451         * kbmap.C (bind): modify because return conventions of
10452         kb_sequence::parse have changed.
10453
10454         * kbsequence.C (parse): only ignore spaces and not any stupid
10455         control character. This avoids tests like s[i] <= ' ', which are
10456         guaranteed to fail with 8bit characters and signed chars.
10457         Change return code to string::npos when there have been no error
10458         (0 was a bad idea when error is at first character)
10459
10460 2001-11-14  José Matos  <jamatos@fep.up.pt>
10461
10462         * buffer.h:
10463         * buffer.C (simpleDocBookOnePar): removed unused argument.
10464
10465 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10466
10467         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10468         insets which are part of a word. Paragraph::isLetter takes care of
10469         that now. Use Paragraph::isInset to identify insets.
10470         (selectSelectedWord): do not test for hyphenation break.
10471
10472         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10473         that protected spaces are considered as spaces.
10474
10475         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10476         Inset::isLetter.
10477
10478 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10479
10480         * lyxserver.h:
10481         * lyxserver.C: fix it. and small cleanup.
10482
10483 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10484
10485         * BufferView_pimpl.C: use inline helpers
10486
10487         * LaTeXFeatures.h:
10488         * LaTeXFeatures.C: fix typos
10489
10490         * Spacing.h:
10491         * Spacing.C: move spacing_string into class
10492
10493         * ToolbarDefaults.C: move stuff into namespace anon
10494
10495         * layout.h: update enum
10496
10497         * lyxfunc.C: use better debug
10498
10499         * minibuffer.h: fix typo
10500
10501         * debug.h:
10502         * debug.C:
10503         * WorkArea.C: add and use Debug::WORKAREA
10504
10505         * lyxtext.h:
10506         * text.C:
10507         * text2.C: code re-organisation, inline helpers
10508
10509 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10510
10511         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10512         std::vector.empty().
10513
10514 2001-11-09  Allan Rae  <rae@lyx.org>
10515
10516         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10517         '\n's after tables.  Tabular and ERT inset work now makes this no
10518         longer necessary.
10519
10520 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10521
10522         * minibuffer.h:
10523         * minibuffer.C: fix crash, improve drop-down completion
10524
10525 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10526
10527         * lyxserver.h:
10528         * lyxserver.C: invalidate fd's when doing endPipe()
10529
10530 2001-11-08  José Matos  <jamatos@fep.up.pt>
10531
10532         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10533         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10534
10535         * paragraph.h:
10536         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10537
10538 2001-11-07  José Matos  <jamatos@fep.up.pt>
10539
10540         * buffer.h:
10541         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10542         const qualifier.
10543
10544         * buffer.C (sgmlOpenTag):
10545         * buffer.C (sgmlCloseTag): removed debug info.
10546
10547         * buffer.h (sgmlOpenTag):
10548         * buffer.h (sgmlCloseTag): made public.
10549
10550 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10551
10552         * buffer.C (saveParamsAsDefaults):
10553         * lyx_cb.C (MenuLayoutSave): remove
10554
10555         * LyXAction.C (init):
10556         * commandtags.h:
10557         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10558
10559 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10560
10561         * buffer.C (setPaperStuff): removed from here...
10562
10563         * bufferparams.C (setPaperStuff): ... and moved there.
10564
10565 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10566
10567         * minibuffer.h:
10568         * minibuffer.C:
10569         * XFormsView.C: add support for drop-down completion
10570
10571 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10572
10573         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10574         commands.
10575
10576 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10577
10578         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10579         disabled.
10580
10581 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10582
10583         * lyx_main.C: change ref to known bugs
10584
10585 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10586
10587         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10588         to work around older babel problems.
10589
10590 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10591
10592         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10593
10594 2001-10-24  Juergen Vigna  <jug@sad.it>
10595
10596         * tabular-old.C (ReadOld): below variable changes reflected.
10597
10598         * tabular.[Ch]: added ltType struct for longtable header/footer
10599         defines and changed all instances where they are used. Added
10600         future support for double top/bottom rows.
10601
10602 2001-10-24  José Matos  <jamatos@fep.up.pt>
10603
10604         * buffer.h (docbookHandleCaption):
10605         * buffer.C (docbookHandleCaption): removed unused function.
10606         (makeDocBookFile): moved docbook supported version to v4.1.
10607
10608 2001-10-24  José Matos  <jamatos@fep.up.pt>
10609
10610         * tabular.h:
10611         * tabular.C (docbookRow): new function to export docbook code of a row.
10612         (DocBook): now honors the longtable flags.
10613
10614 2001-10-23  José Matos  <jamatos@fep.up.pt>
10615
10616         * LaTeXFeatures.h:
10617         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10618         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10619
10620         * buffer.C (makeLinuxDocFile):
10621         (makeDocBookFile): reworked the preamble, more clean, and with
10622         support for lyx defined entities. Changed the document declaration
10623         to be more XML friendly.
10624
10625         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10626         if we need to output XML that should be done with a filter.
10627
10628 2001-10-22  Juergen Vigna  <jug@sad.it>
10629
10630         * sp_pspell.h (class PSpell): add alive function needed in the
10631         controller to see if the spellchecker could be started.
10632
10633 2001-10-22  Juergen Vigna  <jug@sad.it>
10634
10635         * buffer.C (insertStringAsLines): modify the font for inserting
10636         chars in certain conditions by calling checkInsertChar(font).
10637
10638 2001-10-19  Juergen Vigna  <jug@sad.it>
10639
10640         * text.C (workWidth): use getRow instead of wrong algorithm.
10641         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10642
10643 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10644
10645         * lyxserver.h:
10646         * lyxserver.C:
10647         * lyx_main.h:
10648         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10649
10650 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10651
10652         * text.C (workWidth): do not search for the exact row when
10653         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10654         optimization for big documents.
10655
10656 2001-10-18  Juergen Vigna  <jug@sad.it>
10657
10658         * text.C (workWidth): new function with added Inset * parameter.
10659
10660 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10661
10662         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10663
10664         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10665         change return type of getColumnNearX.
10666
10667
10668         * text.C (changeRegionCase): use uppercase/lowercase instead of
10669         toupper/tolower.
10670         (leftMargin):
10671         (rightMargin): simplify code by factoring out the uses of
10672         textclasslist.
10673         (labelFill):
10674         (numberOfHfills):
10675         (setHeightOfRow):
10676         (appendParagraph): use Paragraph::size_type
10677
10678 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10679
10680         * vspace.C (asLatexString): add a missing break
10681
10682 2001-10-15  Herbert Voss  <voss@perce.de>
10683
10684         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10685
10686 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10687
10688         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10689         is not available.
10690
10691 2001-10-10  André Pönitz <poenitz@gmx.net>
10692
10693         * lyxfunc.C: removed greek_kb_flag.
10694
10695 2001-10-10  Herbert Voss  <voss@perce.de>
10696
10697         * lyx_main.C: delete global string help_lyxdir.
10698
10699 2001-10-09  Herbert Voss  <voss@perce.de>
10700
10701         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10702
10703         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10704
10705         * lyx_main.C: added global string help_lyxdir.
10706
10707         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10708
10709 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10710
10711         * lyxrc.C (set_font_norm_type): support iso8859-4
10712
10713 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10714
10715         * LaTeX.C (deplog): add another regex for MikTeX
10716
10717 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10718
10719         * lyxrc.C (set_font_norm_type): support iso8859-3
10720
10721 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10722
10723         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10724
10725         * LaTeXFeatures.C: remove special case of french and index
10726
10727         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10728         before \begin{document}). This solves several incompatibilities.
10729
10730 2001-10-03  Garst Reese  <reese@isn.net>
10731
10732         * lyx_cb.C: change CheckTex error msg.
10733
10734 2001-10-03  José Matos  <jamatos@fep.up.pt>
10735
10736         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10737
10738 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10739
10740         * .cvsignore: update
10741
10742         * lyx_main.C (commandLineVersionInfo): use new style version info.
10743
10744         * buffer.C (writeFile):
10745         (makeLaTeXFile):
10746         (makeLinuxDocFile):
10747         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10748
10749         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10750
10751         * version.h: update to use stuff in version.C
10752
10753         * version.C.in: new file. Contains version information determined
10754         at compile time. This is a merging of version.h and
10755         version_info.h.in.
10756
10757 2001-10-03  Juergen Vigna  <jug@sad.it>
10758
10759         * BufferView_pimpl.C (update): don't change "dirty" status in
10760         updateInset call.
10761
10762 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10763
10764         * WorkArea.C (c-tor): re-position version string slightly.
10765
10766 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10767
10768         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10769         revert to previous code.
10770
10771         WorkArea.[Ch]: (show, destroySplash): methods removed.
10772
10773         WorkArea.C: rework code so that it's an amalgam of the codes before and
10774         after the splash screen was moved to WorkArea.
10775
10776 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10777
10778         * lyxrc.C (read):
10779         * vspace.C (inPixels):
10780         (lyx_advance):
10781         * kbmap.C (bind):
10782         * buffer.C (insertStringAsLines):
10783         (asciiParagraph): fix types to be large enough
10784
10785         * lyxlex_pimpl.h: change member status from short to int
10786
10787         * layout.h: fix type of endlabeltype
10788
10789         * kbmap.C (bind):
10790         * kbsequence.C (parse): change return type to string::size_type
10791
10792         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10793         variable
10794
10795         * Bullet.C (bulletSize):
10796         (bulletEntry): do not use short ints as parameters
10797
10798         * BufferView2.C (insertLyXFile): change a char to an int.
10799
10800         * WorkArea.C (WorkArea): remove unneeded floats in computation
10801
10802 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10803
10804         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10805
10806         * paragraph.C (asString): Do not ignore newline/hfill chars when
10807         copying to the clipboard.
10808
10809 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10810
10811         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10812         after a multi-line inset.
10813
10814 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10815
10816         * paragraph.C (validate): Set NeedLyXFootnoteCode
10817
10818 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10819
10820         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10821         and decrease-error to decrease.
10822
10823 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10824
10825         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10826         it more readable (should be equivalent)
10827
10828 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10829
10830         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10831
10832 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10833
10834         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10835         of a cursor (row, etc.) after a character has been deleted
10836         (deleteEmptyParagraphMechanism): call the method above on _all_
10837         cursors held by the LyXText when a double space has been
10838         detected/deleted.
10839
10840 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10841
10842         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10843         pixmap.
10844         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10845
10846         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10847         background. Use greyOut() and the new show() methods to toggle between
10848         the foreground and background. Add code to remove the splash after
10849         its initial showing.
10850
10851         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10852         (create_forms): no longer call Dialogs::showSplash.
10853
10854 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10855
10856         * .cvsignore: add version_info.h
10857
10858 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10859
10860         * version_info.h.in: new file
10861
10862         * Makefile.am: add version_info.h.in
10863
10864         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10865         version_info.h instead of VERSION_INFO
10866
10867 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10868
10869         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10870         The ERT inset now returns string().
10871
10872 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10873
10874         * lyxtext.h, text.C (selectNextWord): renamed as
10875         selectNextWordToSpellcheck.
10876
10877         * text.C (selectNextWordToSpellcheck): Modified to not select
10878         words inside an ERT inset.
10879
10880 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10881
10882         * lyx_cb.C (MenuLayoutSave): change a bit the question
10883
10884         * sp_base.h: include <sys/types.h>
10885
10886 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10887
10888         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10889
10890 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10891
10892         * several files: fix typos in user-visible strings
10893
10894 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10895
10896         * text2.C (pasteSelection): do not set the selection, since it
10897         will be cleared later. Actually, the intent was to fix the way the
10898         selection was set, but I figured rmoving the code was just as good.
10899
10900 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10901
10902         * FontLoader.C (available): Check if font is available without
10903         loading the font.
10904
10905 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10906
10907         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10908
10909 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10910
10911         * lyxrc.[Ch]: added display_graphics variable and associated code.
10912
10913 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10914
10915         * bufferparams.C (hasClassDefaults): new method. Returns true if
10916         the buffer parameters correspond to known class defaults
10917
10918 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10919
10920         * XFormsView.C (show): set minimum size to the main window.
10921
10922 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10923
10924         * text2.C (copySelection):
10925         (cutSelection):
10926         * lyxfind.C (LyXReplace):
10927         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10928         LyXText::selectionAsString.
10929
10930         * paragraph.C (asString): add "label" argument to the second form
10931
10932         * text2.C (selectionAsString): add "label" argument and pass it to
10933         Paragraph::asString.
10934
10935 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10936
10937         * lyx_main.C (commandLineHelp): remove version information
10938
10939 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10940
10941         * lyx_main.C: add -version commandline option
10942
10943 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10944
10945         * paragraph.h: make the optional constructor arg required instead.
10946         some modifications to other files because of this.
10947
10948         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10949
10950         * lyxserver.C (C_LyXComm_callback): make it static
10951
10952         * lyx_main.C (error_handler): make it static
10953
10954         * lyx_gui.C (LyX_XErrHandler): make it static
10955
10956         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10957
10958         * WorkArea.C: make the extern "C" methods static.
10959
10960         * Makefile.am (lyx_LDADD): simplify
10961
10962 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10963
10964         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10965         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10966
10967         * LyXAction.C (init):
10968         * lyxfunc.C (dispatch): associated code removal.
10969
10970 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10971
10972         * lyxfont.h (isSymbolFont): shut off warning
10973
10974         * text.C (setHeightOfRow):
10975         (getVisibleRow): fix crash with empty paragraphs which have a
10976         bottom line
10977
10978 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10979
10980         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10981         code.
10982
10983 2001-09-04  José Matos  <jamatos@fep.up.pt>
10984         * buffer.C
10985         * buffer.h
10986         * tabular.C (docbook): rename docBook method to docbook.
10987
10988 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10989
10990         * Makefile.am: add dependencies to main.o.
10991
10992 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10993
10994         * FontLoader.C (available): Return false if !lyxrc.use_gui
10995
10996 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10997
10998         * FontInfo.C (query):
10999         * converter.C (view):
11000         * importer.C (Import):
11001         * exporter.C (Export): Can not -> cannot.
11002
11003 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11004
11005         * BufferView_pimpl.C: allow to create index inset even if
11006           string is empty
11007
11008 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11009
11010         * buffer.C (getLists): replace boost::tie code with an explicit pair
11011         as boost::tie can break some compilers.
11012
11013         * iterators.h: Added a std:: declaration to the return type of
11014         ParIterator::size.
11015
11016 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11017
11018         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11019           case.
11020
11021 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11022
11023         * iterators.[Ch]: New files. Provide paragraph iterators.
11024
11025         * buffer.C (changeLanguage): Use paragraph iterators.
11026         (isMultiLingual): ditto
11027
11028         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11029
11030 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11031
11032         * FontLoader.C: Support for cmr font.
11033
11034 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11035
11036         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11037         (available): New method.
11038
11039         * FontInfo.C (getFontname): Use scalable fonts even when
11040         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11041         found.
11042
11043 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11044
11045         * converter.C (Formats::view): reverted! Incorrect fix.
11046
11047 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11048
11049         * converter.C (Formats::view): only output the -paper option
11050         if the dvi viewer is xdvi, thereby fixing bug #233429.
11051
11052 2001-08-23  Herbert Voss  <voss@perce>
11053
11054         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11055
11056 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11057
11058         * Spacing.h (Spacing): Set space to Default on in the default
11059         constructor.
11060
11061 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11062
11063         * vc-backend.h (RCS::versionString): add RCS to version
11064         (CVS::versionString): add CVS to version
11065
11066         * vc-backend.C (scanMaster): do not add CVS to version.
11067         (scanMaster): do not add RCS to version
11068
11069         * lyxvc.C (versionString): new method
11070
11071         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11072
11073 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11074
11075         * Spacing.C (set): initialize fval
11076
11077 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11078
11079         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11080         " or \.
11081
11082 2001-08-16  Juergen Vigna  <jug@sad.it>
11083
11084         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11085
11086 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11087
11088         * BufferView_pimpl.C:
11089         * figureForm.C:
11090         * lyxtext.h:
11091         * text2.C: setParagraph takes linespacing now
11092
11093 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11094
11095         * LyxAction.C: add internal LFUN_CITATION_INSERT
11096
11097         * LyXView.C: actually apply fix
11098
11099         * bufferlist.C: fix open non-existent file
11100
11101         * lyxfind.C: fix indentation
11102
11103         * lyxfunc.C: remove unneeded assert, fix typo
11104
11105 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11106
11107         * MenuBackend.C: use "Floatname List"
11108
11109 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11110
11111         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11112         when converting LaTeX layout to insetERT.
11113         Generate a non-collapsed float when reading old float
11114
11115 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11116
11117         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11118         ERT insets.
11119
11120 2001-08-13  Juergen Vigna  <jug@sad.it>
11121
11122         * text.C (fill): return 0 instead of 20 as this seems to be the more
11123         correct value.
11124
11125 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11126
11127         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11128         lyxrc.font_norm.
11129
11130 2001-08-13  Juergen Vigna  <jug@sad.it>
11131
11132         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11133         casesensitive off.
11134         (SearchBackward): comment out the unlocking of the inset_owner this
11135         should not be needed!
11136
11137 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11138
11139         * Many files: Remove inherit_language, and add latex_language
11140
11141         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11142         collapsible insets.
11143
11144 2001-08-10  Juergen Vigna  <jug@sad.it>
11145
11146         * text.C (prepareToPrint): fixed hfill-width in draw!
11147
11148         * BufferView2.C (selectLastWord): save the selection cursor as this
11149         now is cleared in the function LyXText::clearSelection!
11150
11151 2001-08-08  Juergen Vigna  <jug@sad.it>
11152
11153         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11154         BACKSPACE type functions.
11155
11156         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11157         is only cutted from the document but not put in the cut-buffer, where
11158         still the old stuff should be.
11159
11160         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11161
11162         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11163
11164         * tabular.C (SetWidthOfCell): fixed special case where the width
11165         was not updated!
11166         (LeftLine): handle '|' in align_special.
11167         (RightLine): ditto
11168         (LeftAlreadyDrawed): ditto
11169         (SetWidthOfCell): ditto
11170
11171 2001-08-07  Juergen Vigna  <jug@sad.it>
11172
11173         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11174
11175 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11176
11177         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11178         * lyxlex.[hC]: ditto
11179
11180 2001-08-06  Juergen Vigna  <jug@sad.it>
11181
11182         * text.C (getVisibleRow): fix up row clearing a bit.
11183
11184 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11185
11186         * minibuffer.C: make sure the X server sees the changes in the input.
11187
11188 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11189
11190         * paragraph.C (getFont): split into...
11191         (getLabelFont): this
11192         (getLayoutFont): and this
11193         * paragraph_pimpl.C (realizeFont): calling this
11194
11195         * text2.C (getFont): split into...
11196         (getLayoutFont): this
11197         (getLabelFont): and this
11198         (realizeFont): all three calling this
11199
11200         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11201         files where used.
11202
11203 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11204
11205         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11206
11207 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11208
11209         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11210         layouts from the Quote inset insertion.
11211
11212 2001-08-03  Juergen Vigna  <jug@sad.it>
11213
11214         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11215
11216         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11217         only if status not is already CHANGED_IN_DRAW (second level).
11218
11219         * text.C (draw): don't set the need_break_row when inside an
11220         InsetText LyXText.
11221
11222 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11223
11224         * buffer.C (parseSingleLyXformat2Token): handle more latex
11225         conversion cases.
11226
11227         * bufferview_funcs.[hC]: change function names to
11228         begin with small char, adjust other files.
11229
11230 2001-08-02  André Pönitz <poenitz@gmx.net>
11231
11232         * lyxfunc.C:
11233         BufferView_pimpl.C: remove broken special code for math-greek
11234
11235 2001-08-02  Juergen Vigna  <jug@sad.it>
11236
11237         * BufferView_pimpl.C (update): redone this function so that we
11238         update the text again if there was a CHANGE_IN_DRAW.
11239
11240         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11241         (drawFromTo): added a new internal bool which is used by draw() and
11242         redraw() function.
11243         (general): some cursor drawing problems fixed.
11244
11245 2001-08-01  Juergen Vigna  <jug@sad.it>
11246
11247         * lyxfind.C (LyXFind): fixed
11248         (SearchForward): ditto
11249         (SearchBackward): ditto
11250
11251         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11252         spurius drawing of the cursor in the main area.
11253
11254         * text2.C (status): small fix which could lead to a segfault!
11255         (clearSelection): remove unneeded BufferView param.
11256
11257 2001-08-01  André Pönitz <poenitz@gmx.net>
11258
11259         * lyxfunc.C: small change due to changed mathed interface
11260
11261 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11262
11263         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11264
11265 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11266
11267         * lyxfunc.c: fail gracefully if file doesn't exist
11268
11269         * LyXSendto.C:
11270         * buffer.C:
11271         * lyxfunc.C:
11272         * BufferView_pimpl.C: IsDirWriteable() proto changed
11273
11274         * LyXView.C: fix updateWindowTitle() to store the last title
11275
11276 2001-07-31  Juergen Vigna  <jug@sad.it>
11277
11278         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11279         the font (wrong since using of Paragraph::highestFontInRange).
11280
11281         * paragraph.C (highestFontInRange): added a default_size parameter.
11282
11283         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11284         (setHeightOfRow): reformat
11285
11286 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11287
11288         * converter.[hC] + affected files: move to (inital-char)lowercase
11289         function names.
11290
11291         * ParagraphParameters.C (ParagraphParameters): remove commented code
11292
11293         * PainterBase.[Ch]: remove commented code
11294
11295         * LaTeXFeatures.h: add "bool floats" for float.sty
11296
11297         * LaTeXFeatures.C (LaTeXFeatures): init floats
11298         (require): handle float
11299         (getPackages): do it with floats
11300
11301 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11302
11303         * BufferView_pimpl.C (Dispatch): improve handling of
11304         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11305
11306         * commandtags.h: #include lyxfont.h here temporarily to avoid
11307         keybinding bug.
11308
11309         * bufferlist.h: include LString.h here.
11310
11311 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11312
11313         * text2.C (getStringToIndex): new method.
11314
11315 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11316
11317         * *: Reduced header file dependencies all over.
11318
11319 2001-07-30  Baruch Even  <baruch@lyx.org>
11320
11321         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11322
11323 2001-07-29  Baruch Even  <baruch@lyx.org>
11324
11325         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11326
11327 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11328
11329         * ParameterStruct.h (endif): add a default constructor to make
11330         sure that all variables is initialized.
11331
11332         * ParagraphParameters.C (ParagraphParameters): adjust
11333
11334 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11335
11336         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11337         index; also, check that there is something to index, and that it
11338         does not span over several paragraphs.
11339         (doubleClick): use WHOLE_WORD_STRICT for double click.
11340
11341         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11342
11343         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11344         scheme.
11345
11346 2001-07-26  Baruch Even  <baruch@lyx.org>
11347
11348         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11349         an InsetFig figure, backwards compatible reading of old figure code.
11350
11351 2001-07-27  Juergen Vigna  <jug@sad.it>
11352
11353         * text2.C: font.realize function adaption.
11354
11355         * text.C (draw): add a warnings lyxerr text if needed.
11356
11357         * layout.C: font.realize function adaption.
11358
11359         * language.C: add inherit_language and implement it's handlings
11360
11361         * bufferview_funcs.C (StyleReset): remove language parameter from
11362         font creation (should be language_inherit now).
11363
11364         * bufferparams.C (writeFile): handle ignore_language.
11365
11366         * paragraph.C (getFontSettings): the language has to be resolved
11367         otherwise we have problems in LyXFont!
11368
11369         * lyxfont.C (lyxWriteChanges): added document_language parameter
11370         (update): removed unneeded language parameter
11371
11372         * paragraph.C (validate): fixed wrong output of color-package when
11373         using interface colors for certain fonts in certain environments,
11374         which should not seen as that on the final output.
11375
11376 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11377
11378         * BufferView_pimpl.C:
11379         * Thesaurus.h:
11380         * Thesaurus.C:
11381         * Makefile.am:
11382         * commandtags.h:
11383         * LyXAction.C: add thesaurus support
11384
11385         * lyxfind.h:
11386         * lyxfind.C: add "once" parameter, for thesaurus, to not
11387           move to the next match
11388
11389 2001-07-26  Juergen Vigna  <jug@sad.it>
11390
11391         * lyxfont.C (realize): honor ignore_language too!
11392         (resolved): ditto.
11393
11394         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11395
11396         * text.C (draw): one place more for ignore_language to not draw
11397         itself!
11398
11399 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11400
11401         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11402
11403 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11404
11405         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11406         the minipage conversion problem.
11407
11408 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11409
11410         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11411         insert an inset.
11412
11413 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11414
11415         * BufferView.h: don't forward declare WorkArea
11416
11417         * BufferView.C: don't include WorkArea.h
11418
11419 2001-07-25  André Pönitz <poenitz@gmx.net>
11420
11421         * commandtags.h:
11422         * LyXAction.C:
11423         * lyxfunc.C:  new LFUN 'math-space'
11424
11425         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11426
11427 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11428
11429         * text2.C (toggleInset): call open/close
11430
11431 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11432
11433         * lyxfunc.C (dispatch): add debug for the disabled case
11434
11435         * font.C (buttonText): make similar to rectText
11436
11437         * buffer.C (readInset): comment out parsing of insetlist and
11438         insttheorem
11439
11440         * PainterBase.C (rectText): small correction
11441
11442         * BufferView_pimpl.C: comment out insettheorem and insetlist
11443         * LyXAction.C: ditto
11444         * commandtags.h: ditto
11445
11446 2001-07-24  Juergen Vigna  <jug@sad.it>
11447
11448         * text.C (draw): honor the ignore_language.
11449
11450         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11451
11452 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11453
11454         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11455         char inset.
11456
11457 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11458
11459         * lyxtext.h: remove unused (and unimplemented) methods
11460
11461 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11462
11463         * text.C (getVisibleRow): honor background color
11464
11465         * PainterBase.h:
11466         * Painter.h: remove default color argument for fillRectangle
11467
11468         * text.C (backgroundColor): new method
11469
11470 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11471
11472         * text.C (getVisibleRow): adjust
11473
11474         * font.[Ch] (rectText): new method, metrics
11475         (buttonText): new method, metrics
11476
11477         * PainterBase.[hC]: make rectText and buttonText always draw and take
11478         fewer paramteres.
11479
11480 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11481
11482         * ToolbarDefaults.C (read):
11483         * MenuBackend.C (read): allow escaping in all strings
11484
11485         * BufferView_pimpl.C (insertAndEditInset): new method.
11486         (Dispatch): use insertAndEditInset whenever appropriate.
11487
11488         * BufferView_pimpl.C (insertNote): removed
11489
11490         * BufferView_pimpl.C (smartQuote): new method, moved from
11491         BufferView; if an insetquote cannot be inserted, insert a '"'
11492         character instead.
11493
11494         * BufferView2.C: remove insertCorrectQuote();
11495
11496         * lyxfunc.C (getStatus): Add support for all remaingin
11497         inset-insert lfuns.
11498
11499         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11500
11501         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11502         command (necessary to pass " as parameter of self-insert.
11503
11504         * text.C (selectWordWhenUnderCursor):
11505         (selectWord): add word_location parameter
11506         (selectWordWhenUnderCursor): same + remove special code for word
11507         boundary.
11508         (selectNextWord): use kind() to guess type of insetspecialchar,
11509         not latex().
11510
11511         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11512         (insertErtContents): create ert insets as collapsed.
11513         (readInset): better compatibility code for Info inset.
11514
11515 2001-07-20  Juergen Vigna  <jug@sad.it>
11516
11517         * lyxfunc.C (dispatch): use always LyXFind now!
11518
11519         * text2.C (init): add a reinit flag so that the LyXText can be
11520         reinited instead of deleted and reallocated (used in InsetText).
11521
11522         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11523
11524         * text.C: ditto
11525
11526         * text2.C: ditto
11527
11528 2001-07-18  Juergen Vigna  <jug@sad.it>
11529
11530         * text.C (selectNextWord): handle insets inside inset by calling
11531         always the bv->text functions so that we can go up the_locking_inset!
11532
11533         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11534         in strange locations when inside an inset!
11535
11536         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11537         handling to include insets.
11538
11539         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11540
11541 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11542
11543         * LyXAction.C (init):
11544         * commandtags.h:
11545         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11546         LIGATURE_BREAK, since the name is so stupid.
11547
11548 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11549
11550         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11551         InsetInfos.
11552
11553         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11554
11555         * sp_form.[Ch]: remove.
11556
11557         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11558
11559         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11560         InsetInfo.
11561
11562         * src/buffer.C (readInset): ditto.
11563
11564 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11565
11566         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11567         menuSeparator(), endOfSentenceDot(), ldots() and
11568         hyphenationPoint(), which are therefore removed.
11569         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11570
11571         * LyXAction.C (init):
11572         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11573
11574         * paragraph.C (getWord): removed.
11575
11576         * BufferView_pimpl.C (Dispatch): use last word or selection for
11577         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11578
11579         * lyx_main.C (queryUserLyXDir): do not ask before creating
11580         user_dir, except if it has been named explicitely.
11581
11582 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11583
11584         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11585         a document of zero size.
11586
11587 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11588
11589         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11590         approriately in the c-tor and in require().
11591         (getPackages): output the appropriate LaTeX for natbib support.
11592
11593         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11594         variables "use_natbib" and "use_numerical_citations" when reading the
11595         LyX file.
11596         (readInset): read the various natbib cite commands.
11597         (validate): white-space change.
11598
11599         * bufferparams.[Ch]: new variables "bool use_natbib" and
11600         "bool use_numerical_citations".
11601         (writeFile): output them in the LyX file.
11602
11603 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11604
11605         * lyxfunc.C (getStatus): add support for all the inset insertion
11606         commands.
11607
11608         * text2.C (insertInset):
11609         * paragraph.C (insetAllowed):
11610         * BufferView_pimpl.C (insertInset): update to take in account the
11611         renaming of insertInsetAllowed
11612
11613         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11614
11615         * text2.C (getInset): new method. returns inset at cursor position.
11616
11617         * BufferView_pimpl.C (Dispatch): changes because of this.
11618
11619         * LyXAction.C (init): rename open-stuff to inset-toggle.
11620
11621         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11622
11623         * text2.C (toggleInset): renamed from openStuff; use
11624         Inset::open().
11625
11626 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11627
11628         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11629
11630         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11631
11632 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11633
11634         * buffer.C (readLyXformat2): Add filename to the error dialog
11635
11636 2001-07-18  Juergen Vigna  <jug@sad.it>
11637
11638         * tabular.C (GetCellNumber): put an assert here instead of the check!
11639
11640 2001-07-17  Juergen Vigna  <jug@sad.it>
11641
11642         * BufferView_pimpl.C (toggleSelection): adapted too.
11643
11644         * text.C (selectNextWord): adapted for use with insets.
11645         (selectSelectedWord): ditto
11646
11647 2001-07-17  Juergen Vigna  <jug@sad.it>
11648
11649         * sp_spell.C (PSpell): fix initialitation order.
11650
11651 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11652
11653         * paragraph.C: spacing
11654
11655 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11656
11657         * sp_spell.C: repair language selection for pspell
11658
11659 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11660
11661         * lyxfunc.h: change more methods to begin with lower char.
11662
11663 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11664
11665         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11666         for unknown layouts.
11667
11668 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11669
11670         * buffer.C (readLyXformat2): Generate an error dialog if there are
11671         unknown layouts.
11672
11673 2001-07-16  Juergen Vigna  <jug@sad.it>
11674
11675         * sp_spell.C: always compile ISpell part.
11676
11677         * lyxrc.C: added use_pspell entry and it's handling.
11678
11679 2001-07-13  Juergen Vigna  <jug@sad.it>
11680
11681         * sp_spell.C: removed double includes.
11682
11683 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11684
11685         Consistent use of Lsstream.h:
11686         * Lsstream.h: added using std::stringstream for consistencies sake.
11687
11688         * buffer.C: removed using std::stringstream
11689
11690         * lyxfont.C (stateText):
11691         * paragraph.C (asString):
11692         * text.C (selectNextWord, selectSelectedWord):
11693         * text2.C (setCounter):
11694         * vspace.C (asString, asLatexString):
11695         std::ostringstream -> ostringstream.
11696
11697 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11698
11699         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11700         * commandtags.h: add LFUN_HELP_ABOUTLYX
11701         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11702
11703 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11704
11705         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11706         cursorToggle()
11707         * lyx_gui_misc.C: remove spellchecker
11708         * lyxfunc.C: showSpellchecker
11709         * sp_base.h: added
11710         * sp_ispell.h: added
11711         * sp_pspell.h: added
11712         * sp_spell.C: added
11713         * sp_form.[Ch]: removed
11714         * spellchecker.[Ch]: removed
11715
11716 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11717
11718         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11719         is set.
11720         (simpleTeXSpecialChars): Simply print the input character without
11721         any special translation if pass_thru is set.
11722
11723         * layout.h: Added bool pass_thru to layout class for being able to
11724         implement pass through of a paragraph for Literate Programming.
11725
11726         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11727         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11728         * layout.C (Read): add "passthru" to list of layout tags and add
11729         code to set the pass_thru boolean when it is read.
11730
11731 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11732
11733         * trans_decl.h: remove allowed from KmodInfo
11734
11735         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11736         remove allowed code
11737         (Load): adjust
11738
11739         * paragraph_pimpl.C (erase): use boost::prior
11740
11741         * Painter.C (text): use data() instead of c_str() when length is
11742         also provided.
11743         * WorkArea.C (putClipboard): ditto
11744         * font.h (width): ditto
11745
11746         * BufferView2.C: use it-> instead of (*it). for iterators
11747         * texrow.C: ditto
11748         * paragraph_pimpl.C: ditto
11749         * paragraph.C: ditto
11750         * minibuffer.C: ditto
11751         * language.C: ditto
11752         * kbmap.C: ditto
11753         * encoding.C: ditto
11754         * counters.C: ditto
11755         * converter.C: ditto
11756         * chset.C: ditto
11757         * Variables.C: ditto
11758         * TextCache.C: ditto
11759         * MenuBackend.C: ditto
11760         * LyXAction.C: ditto
11761         * LColor.C: ditto
11762         * FloatList.C: ditto
11763         * DepTable.C: ditto
11764         * ColorHandler.C (LyXColorHandler): ditto
11765
11766 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11767
11768         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11769
11770         * text2.C (openStuff): reintroduce this method (which had been
11771         nuked in NEW_INSETS frenzy).
11772
11773         * lyxfunc.C (Dispatch): when an action has not been handled, use
11774         its name in the error message, not its number.
11775
11776         * paragraph.C (inInset): change method name to begin with lowercase.
11777
11778         * undo_funcs.C:
11779         * text2.C: updates because of this.
11780
11781 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11782
11783         * ToolbarDefaults.C (add): add spaces in error message
11784
11785 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11786
11787         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11788         (readLyXformat2): rename return_par to first_par, use lyxlex's
11789         pushToken and remove the manual push handling.
11790         (parseSingleLyXformat2Token): add another ert comp. variable:
11791         in_tabular, rename return_par to first_par. handle newlines better
11792
11793 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11794
11795         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11796
11797 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11798
11799         * text2.C (getParFromID): removed
11800
11801         * buffer.C (getParFromID): new method moved form lyxtext.
11802         * BufferView2.C (insertErrors): adjust
11803         (setCursorFromRow): adjust
11804         * BufferView_pimpl.C (restorePosition): adjust
11805         * lyxfunc.C (Dispatch): adjust
11806         * undo_funcs.C (textUndo): adjust
11807         (textRedo): adjust
11808         (textHandleUndo): adjust
11809         (textHandleUndo): adjust
11810
11811 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11812
11813         * buffer.C: up' the LYX_FORMAT
11814
11815         * lyxfont.h: turn NO_LATEX on as default
11816
11817         * buffer.C (insertErtContents): new methods of tex style compability.
11818         (parseSingleLyXformat2Token): use it several places.
11819         * tabular.C (OldFormatRead): and here
11820
11821 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11822
11823         * text2.C: remove some commented code.
11824         reindent file.
11825
11826         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11827         * trans.C: changes because of the above.
11828
11829 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11830
11831         * text2.C (setCounter): Fix counters bug with bibliography layout.
11832
11833 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11834
11835         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11836         own member functions
11837         (simpleTeXSpecialChars): ditto
11838
11839 2001-07-06  Juergen Vigna  <jug@sad.it>
11840
11841         * a lot of files: changed the access to LyXText::status and the
11842         call of undo-functions.
11843
11844         * undo.[Ch]: added a inset_id to the undo informations.
11845
11846         * undo_funcs.[Ch]: added and moved here all undo functions.
11847
11848         * lyxtext.h: give the status enum a weight, made status_ a private
11849         variable and made accessor functions for it, removed the whole bunch
11850         of undo-functions as they are now in their own file, make some
11851         functions publically available. Added function ownerParagraph with
11852         int parameter.
11853
11854         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11855         made InInset() a const function, added getParFromID() function.
11856
11857         * buffer.[Ch]: added const version for inset_iterator functions,
11858         added getInsetFromID() function.
11859
11860         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11861         changed undo functions for new version.
11862
11863 2001-07-05  Juergen Vigna  <jug@sad.it>
11864
11865         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11866         unknow mechanism does not call the proper constructor but only this
11867         one also if I request the other!?
11868
11869 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11870
11871         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11872
11873         * text2.C (LyXText): use initialization lists.
11874
11875         * lyxtext.h (Selection): initialize set_ and mark_
11876         (init): remove method
11877
11878 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11879
11880         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11881
11882 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11883
11884         * screen.[Ch]: change method names to begin with lowercase
11885
11886         * BufferView_pimpl.C (updateScrollbar): simplify further and
11887         hopefully make it a bit faster.
11888
11889 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11890
11891         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11892         calling directly xforms functions.
11893
11894         * Painter.C (Painter):
11895         * lyx_cb.C (MenuWrite):
11896         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11897         fl_display.
11898
11899         * lyx_gui.C: remove bogus guiruntime extern declaration.
11900
11901 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11902
11903         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11904         in NEW_INSETS
11905         (redoDrawingOfParagraph): ditto
11906         (redoParagraphs): ditto
11907         (cutSelection): don't create a object for CutAndPaste use the
11908         static method directly
11909         (pasteSelection): ditto
11910
11911         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11912         LyXview (+ rename)
11913
11914 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11915
11916         * modifications to some other files because of this.
11917
11918         * Makefile.am (lyx_SOURCES): add XFormsView
11919
11920         * XFormsView.[Ch]: new files
11921
11922         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11923         the main window. Move the gui dependent stuff to XFormsView
11924
11925 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11926
11927         * tabular.C (GetCellInset): update cur_cell also in the row/col
11928         version of this function.
11929
11930         * lyxfunc.C: no need to include figure_form.h here.
11931
11932         * FontLoader.h:
11933         * lyxfunc.h:
11934         * lyxscreen.h:
11935         * text2.C:
11936         * lyxvc.C: no need to include forms.h here.
11937
11938 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11939
11940         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11941
11942         * lyxfunc.C (Dispatch):
11943         * Spacing.C (set):
11944         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11945         constructor argument.
11946
11947 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11948
11949         * paragraph.C (Paragraph): dont't clear, and just set layout.
11950         (makeSameLayout): use params's copy contructor.
11951
11952         * ParagraphParameters.[Ch] (makeSame): delete method
11953
11954 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11955
11956         * Variables.[Ch]: fix indentation, rename set to isSet
11957
11958 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11959
11960         * lyxfunc.C (Dispatch): fix typo
11961
11962 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11963
11964         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11965         upper_bound.
11966
11967         * bufferlist.C: include assert.h for emergencyWrite().
11968
11969 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11970
11971         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11972           give up at last (bug #425202) !
11973
11974 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11975
11976         * lyx_gui_misc.C:
11977         * sp_form.h:
11978         * sp_form.C:
11979         * spellchecker.h:
11980         * spellchecker.C: strip spellchecker options and bring up
11981           preferences tab instead
11982
11983 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11984
11985         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11986         the istringstream constructor
11987
11988 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11989
11990         * paragraph.C (getLayout): fix return value
11991
11992         * paragraph.h: do not declare getLayout as inline.
11993
11994         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11995
11996 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11997
11998         * lyxcursor.h (operator<): new func
11999         (operator>): new func
12000         (operator>=): new func
12001         (operator<=): new func
12002
12003         * text.C (changeCase): use selection.start and selection.end
12004         (changeRegionCase): require from to be <= to. Require par to be a
12005         valid paragraph.
12006
12007         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12008
12009 2001-06-27  Juergen Vigna  <jug@sad.it>
12010
12011         * text.C (cursorLeftOneWord): changed to return the cursor and added
12012         overlay with BufferView * parameter which calls this one.
12013         (getWord): added
12014         (selectWord): use new getWord function.
12015         (changeCase): renamed from changeWordCase as and extended to work
12016         also on selections.
12017
12018         * lyxtext.h: added enum word_location
12019
12020         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12021         changeCase as this operates now also on selections.
12022
12023 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12024
12025         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12026
12027         * many files: send debug output to Debug::INFO instead of
12028         Debug::ANY.
12029
12030         * converter.C (View):
12031         (Convert):
12032         (Move): send debug output to Debug::FILES instead of console.
12033
12034 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12035
12036         * lyxfunc.C (getStatus): use func_status
12037
12038         * func_status.h: new header, describing the results of
12039         LyXFunc::getStatus;
12040
12041         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12042         LFUN_MATH_HALIGN.
12043
12044 2001-06-25  The LyX Project  <jug@sad.it>
12045
12046         * buffer.C (sgmlOpenTag):
12047         (sgmlCloseTag):
12048         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12049
12050 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12051
12052         * text2.C: remove some dead code
12053
12054         * tabular.C (GetCellInset): store the last cell checked (gotten)
12055
12056         * tabular.h: add the helper for the speedup
12057
12058         * lyxtext.h: remove some dead code
12059
12060 2001-06-26  The LyX Project  <Asger>
12061
12062         * paragraph.C: Change export to LaTeX of alignment to
12063         \begin{center} and family for better roundtrip work with reLyX.
12064
12065         * Tune the math drawing a bit.
12066
12067 2001-06-25  The LyX Project  <Asger>
12068
12069         * LColor.C (LColor): New color for math background. New color
12070         for buttons.
12071
12072 2001-06-25  The LyX Project  <jug@sad.it>
12073
12074         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12075
12076         * lyxfunc.C (Open):
12077         * bufferlist.C (newFile): do not restrict to files ending with
12078         .lyx
12079
12080         * BufferView_pimpl.C (MenuInsertLyXFile):
12081
12082 2001-06-24  The LyX Project  <jug@sad.it>
12083
12084         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12085         of compare_no_case
12086
12087 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12088
12089         * lyxtext.h: rename most methods to begin with a small char.
12090         Lots of changes because of this.
12091
12092         * paragraph.C (Paragraph): do not call fitToSize
12093         (erase): call Pimpl::erase
12094         (insertChar): call Pimpl::insertChar
12095         (insertInset): call Pipl::insertInset
12096         (breakParagraph): do not call fitToSize
12097         (breakParagraphConservative): do not call fitToSize
12098         (fitToSize): remove method
12099
12100         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12101
12102 2001-06-24  The LyX Project  <Asger>
12103
12104         * Fix Qt compilation^2
12105
12106 2001-06-24  The LyX Project  <jug@sad.it>
12107
12108         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12109         depthHook(getDepth()-1).
12110
12111         * paragraph.h:
12112         * ParagraphParameters.h:
12113         * ParameterStruct.h: change type of depth to unsigned int ==
12114         depth_type. Many adaptations to other files before of that.
12115
12116 2001-06-24  The LyX Project  <Asger>
12117
12118         * Fix Qt compilation.
12119
12120 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12121
12122         * paragraph.h: renamed several methods to begin with small letter.
12123         several changes to many parts of the code because of this.
12124
12125 2001-06-23  The LyX Project  <jug@sad.it>
12126
12127         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12128         rewritten to discard all double spaces when KeepEmpty is off
12129         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12130         to only handle newlines but not fiddle with spaces and friends.
12131
12132         * lyxfunc.C (MenuNew): when doing 'new from template', use
12133         template_path as default directory
12134
12135 2001-06-23  The LyX Project  <Asger>
12136
12137         * Clean-up of header file includes all over
12138         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12139
12140 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12141
12142         * paragraph.h: renamed from lyxparagraph.h
12143
12144 2001-06-23  Asger  <lyx@violet.home.sad.it>
12145
12146         * Buffer.h: Removed Buffer::resize
12147         * BufferList.h: Removed BufferList::resize
12148         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12149         the document lazily when we change the width, or the font settings.
12150
12151 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12152
12153         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12154
12155 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12156
12157         * buffer.h: remove out of date comment
12158
12159 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12160
12161         * lyxscreen.h:
12162         * screen.C: fix "theoretical" GC leak
12163
12164 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12165
12166         * LaTeX.C (scanAuxFile):
12167         (deplog): remove trailing \r when reading stream (useful under
12168         win32)
12169
12170 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12171
12172         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12173         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12174         and BufferView::theLockingInset(Inset*), so should use them and not
12175         access bv_->text->the_locking_inset directly.
12176
12177         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12178
12179 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12180
12181         * Makefile.am:
12182         * tex-defs.h: remove old unused file
12183
12184 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12185
12186         * BufferView_pimpl.C: fix typo, remove minibuffer message
12187           when buffer has loaded
12188
12189 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12190
12191         * lyxfunc.C (Dispatch): use stringstream
12192         (MenuNew): use stringstream
12193         (Open): use stringstream
12194
12195         * importer.C (Import): use stringstream
12196
12197         * bufferview_funcs.C (CurrentState): use stringstream
12198
12199         * LaTeX.C (run): use stringstream
12200
12201         * BufferView_pimpl.C (savePosition): use stringstream
12202         (restorePosition): use stringstream
12203         (MenuInsertLyXFile): use stringstream
12204
12205 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12206
12207         * BufferView.C:
12208         * Bullet.C:
12209         * ColorHandler.C:
12210         * FontInfo.C:
12211         * FontLoader.C:
12212         * LColor.C:
12213         * LaTeXFeatures.C:
12214         * Painter.C:
12215         * gettext.C:
12216         * lyx_gui_misc.C:
12217         * lyxserver.C:
12218         * vspace.C: removed // -*- C++ -*- as first line.
12219
12220         * lyxfind.h:
12221         * version.h: added // -*- C++ -*- as first line.
12222
12223 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12224
12225         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12226
12227         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12228         of string
12229
12230 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12231
12232         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12233         of floats.
12234
12235 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12236
12237         * gettext.C: include LString.h even when --disable-nls is on.
12238
12239 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12240
12241         * converter.h (Get): changed argument type from int to
12242         FormatList::size_type to avoid unnecessary conversion.
12243
12244         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12245         before using it.
12246
12247 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12248
12249         * gettext.h: include LString.h even when --disable-nls is on.
12250
12251 2001-06-07  Juergen Vigna  <jug@sad.it>
12252
12253         * text.C (BreakAgain): subst spaces with tabs.
12254
12255         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12256         (resizeInsetsLyXText): set force on resizeLyXText.
12257
12258 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12259
12260         * gettext.h (gettext_init):
12261         (locale_init): use a real definition instead of a macro
12262
12263 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12264
12265         * Bufferview_pimpl.C:
12266         * LColor.h:
12267         * LColor.C: further lcolor tidies
12268
12269 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12270
12271         * BufferView_pimpl.C (updateScrollbar): simplify.
12272
12273         * BufferView2.C: don't include insets/insetinfo.h, change
12274         prototype for insertInset and call the Pimpl version. let
12275         updateInset call Pimpl version.
12276
12277         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12278         gotoInset to BufferView::Pimpl
12279
12280 2001-06-01  Juergen Vigna  <jug@sad.it>
12281
12282         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12283         inside a LockingInset (is the update needed at all?).
12284
12285 2001-05-31  Juergen Vigna  <jug@sad.it>
12286
12287         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12288         here not the old one otherwise how should we compare it afterwards
12289         if it's the same!
12290
12291 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12292
12293         * lyxfont.C:
12294         * tabular.C:
12295         * tabular-old.C:
12296         * FontInfo.C: bring C functions into global namespace when
12297         necessary
12298
12299 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12300
12301         * LString.h: make sure config.h has been loaded before LString.h.
12302
12303         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12304         (one for each char read by EatLine!).
12305
12306         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12307         variables.
12308
12309 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12310
12311         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12312         to the same as the par we break from
12313
12314 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12315
12316         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12317
12318         * MenuBackend.C (expand): also create menu entries for wide
12319         versions of the floats.
12320
12321         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12322
12323         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12324
12325         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12326         frontends/Makefile.am
12327
12328         * text2.C: adjust
12329         * text.C: adjust
12330
12331
12332         * tabular.C (getTokenValue): add std::
12333
12334         * tabular-old.C (getTokenValue): add std::
12335         (getTokenValue): ditto
12336         (getTokenValue): ditto
12337
12338         * screen.C (ToggleSelection): adjust
12339
12340         * lyxtext.h: put selection cursors inside a Selection struct.
12341
12342         * lyxfunc.C (moveCursorUpdate): adjust
12343
12344         * lyxfont.C (latexWriteStartChanges): add std::
12345
12346         * lyxfind.C: adjust
12347
12348         * font.h: delete with(char const *, LyXFont const &)
12349
12350         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12351
12352         * FontInfo.C (getFontname): add std::
12353
12354         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12355         (workAreaButtonPress): adjust
12356         (tripleClick): adjust
12357         (update): adjust
12358         (moveCursorUpdate): adjust
12359         (Dispatch): adjust
12360
12361         * BufferView2.C (gotoInset): adjust
12362
12363 2001-05-30  Juergen Vigna  <jug@sad.it>
12364
12365         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12366         to check pspell I add this as default as I now have new pspell
12367         libraries and they seem to use this.
12368
12369 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12370
12371         * text2.C (CutSelection): make the cursor valid before the call to
12372         ClearSelection.
12373
12374 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12375
12376         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12377         relied on 0 terminated strings and other horrors. Bug found due to
12378         the new assert in lyxstring!
12379
12380         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12381         KP_ keys.
12382
12383 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12384
12385         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12386         to latinkeys.bind.
12387
12388         * lyxfunc.C (processKeySym): change method of getting to the
12389         self-insert char.
12390
12391         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12392         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12393         * BufferView_pimpl.[Ch]: here as private methods.
12394
12395 2001-05-28  Juergen Vigna  <jug@sad.it>
12396
12397         * text.C (SetHeightOfRow): added the update() call again as it is
12398         needed to initialize inset dimensions!
12399
12400 2001-05-16  Juergen Vigna  <jug@sad.it>
12401
12402         * text2.C (SetCharFont): Add new function with BufferView * and
12403         bool toggleall parameters for setting insets internal fonts.
12404         (SetFont): Freeze the undo as we may change fonts in Insets and
12405         all this change should be inside only one Undo!
12406
12407         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12408         setting font's in insets as for them we have the SetFont function!
12409
12410 2001-05-15  Juergen Vigna  <jug@sad.it>
12411
12412         * text2.C (ClearSelection): to be sure we REALLY don't have any
12413         selection anymore!
12414
12415         * tabular.C (TeXCellPreamble): fixed the left border problem for
12416         multicolumn cells.
12417
12418 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12419
12420         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12421         dependancy file
12422
12423 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12424
12425         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12426         LFUN_BREAKPARAGRAPH.
12427
12428         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12429         help test to "internal only", similar for LFUN_INSERT_URL
12430
12431         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12432         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12433         auto_region_delete and deadkeys.
12434
12435 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12436
12437         * LColor.h:
12438         * LColor.C: remove some dead entries, tidy a little
12439
12440 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12441
12442         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12443         commented code.
12444         (Dispatch): implement LFUN_ESCAPE
12445
12446         * commandtags.h: add LFUN_ESCAPE
12447
12448         * LyXAction.C (init): add entry for LFUN_ESCAPE
12449
12450         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12451         Remove commented code.
12452         (insertNote): moved here
12453         (open_new_inset): moved here
12454
12455         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12456         BufferView_pimpl
12457
12458 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12459
12460         * kbmap.C (findbinding): clean it up and make it work correctly.
12461
12462         * lyx_main.C (init): do not pass argc and argv as parameters
12463
12464 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12465
12466         * buffer.C: fix path for OS/2 & Win32
12467
12468         * lyx_gui.C:
12469         * lyx_main:
12470         * lyx_main.C: Added os:: class.
12471
12472         * os2_defines.h: update
12473
12474 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12475
12476         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12477         better by trying again with reduced state.
12478
12479 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12480
12481         * lyxrc.C (read): print error about invalid key sequence only when
12482         debugging (because not all latinX keysyms are known to some X
12483         servers)
12484
12485         * kbsequence.C (getiso): add a few std:: qualifiers
12486         (getiso): comment out extra return statement.
12487
12488 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12489
12490         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12491         handling.
12492         (Dispatch): enhance the accent inset a bit. (not perfect)
12493
12494 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12495
12496         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12497
12498 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12499
12500         * bufferlist.C (emergencyWrite): fix assert() call
12501
12502 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12503
12504         * text.C (InsertChar): Added trivial patch to only send the "you
12505         can not do multiple spaces this way" message once during a
12506         session.
12507
12508 2001-05-08  Baruch Even  <baruch@lyx.org>
12509
12510         * Makefile.am: Changed order of libraries to get LyX to link properly
12511         with the gnome frontend.
12512
12513 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12514
12515         * LaTeXFeatures.h: add a std:: qualifier
12516
12517 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12518
12519         * paragraph.C (String): use stringstream
12520
12521 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12522
12523         * paragraph.C (writeFile): remove footflag arg
12524
12525         * buffer.C (makeLaTeXFile): use stringstream
12526         (latexParagraphs): remove footnot gurba
12527
12528         * LaTeXFeatures.C (getPackages): use stringstream
12529         (getMacros): likewise
12530         (getTClassPreamble): likewise
12531         (getFloatDefinitions): new method
12532
12533         * paragraph.C (writeFile): reindent
12534         (Erase): reindent
12535
12536         * WorkArea.h: revert the xpos + etc changes.
12537
12538         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12539
12540         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12541
12542         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12543         (pasteSelection): likewise
12544         * text2.C (CreateUndo): likewise
12545
12546 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12547
12548         * minibuffer.C (peek_event): temporarily reduce the functionality
12549         of the minibuffer (to allow args on lfuns)
12550
12551         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12552         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12553
12554         * buffer.C (readInset): add compability reading of old float
12555         lists, add reading of new style float list.
12556         (readInset): avoid reevaluation of inscmd.getCmdName()
12557         (getLists): reindent
12558
12559         * MenuBackend.C (MenuItem): implement parsing of
12560         md_floatlistinsert and md_floatinsert.
12561         (expand::LastFiles): move initalizaton of iterators out of loop,
12562         avoid reevaluation.
12563         (expand::Documents): introduce typdedef vector<string> Strings,
12564         and use it.
12565         (expand::ExportFormats): introduce typedef vector<Format const *>
12566         Formats, and use it.
12567         (expand): implement FloatListInsert and FloatInsert.
12568
12569         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12570         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12571         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12572
12573         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12574         handling.
12575         (Dispatch::LFUN_FLOAT_LIST): implement
12576
12577 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12578
12579         * LaTeX.C (run): Fix problem with --export code.
12580
12581 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12582
12583         * BufferView.[Ch] (workarea): removed.
12584         (getClipboard) new method; wrapper for workarea()->getClipboard()
12585
12586         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12587         bug.
12588
12589         * WorkArea.h (width, height, xpos, ypos): These methods all
12590         returned the dimensions of the work_area sub-area of WorkArea,
12591         resulting in a position error if the WorkArea were resized. Now
12592         return the dimensions of the entire WorkArea.
12593
12594         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12595
12596 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12597
12598         * LaTeX.C (deplog): correct the syntax of regex reg1
12599
12600 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12601
12602         * undo.C: remove !NEW_INSETS cruft
12603
12604 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12605
12606         * text2.C: remove !NEW_INSETS cruft
12607
12608         * text.C: remove !NEW_INSETS cruft
12609
12610         * tabular.C: remove !NEW_INSETS cruft
12611
12612         * spellchecker.C: remove !NEW_INSETS cruft
12613
12614         * lyxtext.h: remove !NEW_INSETS cruft
12615
12616         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12617
12618         * lyxfunc.C: remove !NEW_INSETS cruft
12619
12620         * lyxfind.C: remove !NEW_INSETS cruft
12621
12622         * lyx_cb.C: remove !NEW_INSETS cruft
12623
12624         * figureForm.C: remove  !NEW_INSETS cruft
12625
12626         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12627
12628         * buffer.[Ch]: remove !NEW_INSETS cruft
12629
12630         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12631
12632         * CutAndPaste.C: remove !NEW_INSETS cruft
12633
12634         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12635
12636         * BufferView2.C: remove !NEW_INSETS cruft
12637
12638         * BufferView.h: remove !NEW_INSETS cruft
12639
12640 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12641
12642         * Lsstream.h: include LString.h before the sstream headers to
12643         fix problem with gcc 2.95.3 and lyxstring
12644
12645 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12646
12647         * lyx_main.C: add using directives when needed for C functions
12648         declared in std:: namespace.
12649
12650 2001-04-27  Juergen Vigna  <jug@sad.it>
12651
12652         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12653         (SetHeightOfRow): comment out the update call should not be needed!
12654
12655 2001-04-13  Juergen Vigna  <jug@sad.it>
12656
12657         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12658         (LyXTabular): tried to minimize operator= operations (and realized
12659         hopfully Lars wish).
12660
12661 2001-04-27  Juergen Vigna  <jug@sad.it>
12662
12663         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12664
12665 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12666
12667         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12668
12669         * buffer.C (readInset): hack to make listof algorithm work
12670
12671         * BufferView_pimpl.C: hack to make listof algorithm work
12672
12673 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12674
12675         * LyXAction.C: removed all !NEW_INSETS cruft
12676         (init): moved lfun_item in method
12677
12678         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12679
12680 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12681
12682         * BufferView2.C (theLockingInset): white space.
12683
12684 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12685
12686         * minibuffer.C: include <iostream>
12687
12688         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12689
12690         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12691
12692         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12693
12694         * text.[Ch] (TransposeChars): new method
12695
12696 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12697
12698         * call message directly through LyXView instead of through LyXFunc
12699         * BufferView2.C: adjust
12700         * BufferView_pimpl.C: adjust
12701         * FontLoader.C: adjust
12702         * buffer.C: adjust
12703         * bufferview_funcs.C: adjust
12704         * converter.C: adjust
12705         * figureForm.C: adjust
12706         * importer.C: adjust
12707         * lyx_cb.C: adjust
12708         * lyx_gui_misc.C: adjust
12709         * lyxfunc.C: adjust
12710         * lyxvc.C: adjust
12711         * text2.C: adjust
12712         + more files in subdirs
12713
12714         * lyxparagraph.h (size): move up int file
12715         (GetLayout): ditto
12716
12717         * adjust all uses of Assert to lyx::Assert.
12718
12719         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12720         lyxfunctional in namespace lyx
12721         * layout.C (hasLayout): ditto
12722         (GetLayout): ditto
12723         (GetLayout): ditto
12724         (delete_layout): ditto
12725         (NumberOfClass): ditto
12726         * converter.C (GetFormat): ditto
12727         (GetNumber): ditto
12728         (Add): ditto
12729         (Delete): ditto
12730         (SetViewer): ditto
12731         * bufferlist.C (getFileNames): ditto
12732         (emergencyWriteAll): ditto
12733         (exists): ditto
12734         (getBuffer): ditto
12735         * MenuBackend.C (hasSubmenu): ditto
12736         (hasMenu): ditto
12737         (getMenu): ditto
12738         * BufferView_pimpl.C (getInsetByCode): ditto
12739
12740 2001-04-18  Juergen Vigna  <jug@sad.it>
12741
12742         * vspace.C (asLatexString): fixed the 100% problem.
12743
12744 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12745
12746         * lyxfunc.C (Dispatch):
12747         * minibuffer.C:
12748         * minibuffer.h: add a few std:: qualifiers
12749
12750 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12751
12752         * minibuffer.[Ch]: reimplement so that commands is initiated and
12753         run from lyxfunc, simplified som handling, and made the completion
12754         and history code for complete. wip.
12755
12756         * lyxfunc.C (processKeySym): call message
12757         (miniDispatch): new temporary method
12758         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12759         (LFUN_MESSAGE): implement
12760         (LFUN_MESSAGE_PUSH): implement
12761         (LFUN_MESSAGE_POP): implement
12762         (initMiniBuffer): the initial/defualt minibuffer message.
12763
12764         * lyxfont.[Ch]: inline some more getters
12765
12766         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12767
12768         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12769
12770         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12771         (AutoSave): use LFUN_MESSAGE
12772         (Reconfigure): ditto
12773
12774         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12775
12776         * figureForm.C: use LFUN_MESSAGE
12777
12778         * converter.C (runLaTeX): use LFUN_MESSAGE
12779
12780         * bufferview_funcs.C: use LFUN_MESSAGE
12781         (Melt): ditto
12782         (changeDepth): ditto
12783
12784         * bufferparams.h: use boost::
12785
12786         * bufferlist.h: inherit privately from noncopyable
12787
12788         * bufferlist.C (loadLyXFile): remove some commented code.
12789
12790         * buffer.C (runChktex): use LFUN_MESSAGE
12791
12792         * ShareContainer.h: inherit privately from noncopyable
12793
12794         * ParagraphParameters.[hC] (depth): inline it.
12795
12796         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12797         methods.
12798         (message): new method
12799         (messagePush): ditto
12800         (messagePop): ditto
12801         (show): init minibuffer
12802         (showState): direct call
12803
12804         * LaTeX.[Ch]: inherit privately from noncopyable
12805         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12806         instead of WriteStatus.
12807
12808         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12809
12810         * BufferView_pimpl.C (buffer): don't init minibuffer
12811         (workAreaButtonPress): use LFUN_MESSAGE
12812         (workAreaButtonRelease): ditto
12813         (savePosition): ditto
12814         (restorePosition): ditto
12815         (MenuInsertLyXFile): ditto
12816         (workAreaExpose): don't init minibuffer
12817         (update): remove commented code, simplify
12818
12819         * BufferView2.C (openStuff): use LFUN_MESSAGE
12820         (toggleFloat): ditto
12821         (menuUndo): ditto
12822         (menuRedo): ditto
12823         (copyEnvironment): ditto
12824         (pasteEnvironment): ditto
12825         (copy): ditto
12826         (cut): ditto
12827         (paste): ditto
12828         (gotoInset): ditto
12829         (updateInset): remove some commented code
12830
12831         * lastfiles.h: inherit privately from noncopyable
12832         * layout.h: ditto
12833         * lyx_gui.h: ditto
12834         * lyx_main.h: ditto
12835         * lyxlex.h: ditto
12836         * lyxlex_pimpl.h: ditto
12837
12838         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12839         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12840         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12841
12842         * LyXAction.h: inherit privately from noncopyable, add methods
12843         func_begin, func_end, returning iterators to the func map.
12844
12845         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12846         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12847         (func_begin): new method
12848         (func_end): new method
12849
12850         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12851         and not)
12852         (copySelection): ditto
12853         (pasteSelection): ditto
12854
12855         * BufferView.C: whitespace change
12856         * BufferView.h: inherit privately from noncopyable
12857
12858 2001-04-16  Allan Rae  <rae@lyx.org>
12859
12860         * tabular-old.C (l_getline):
12861         * spellchecker.C (sc_check_word):
12862         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12863         an unrecognised preprocessor directive.  So ensure they're wrapped.
12864
12865 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12866
12867         * src/exporter.C (Export): Give an error message when path to file
12868         contains spaces.
12869
12870 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12871
12872         * LaTeX.C (deplog): Always check that foundfile exists.
12873
12874 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12875
12876         * lyx_main.h:
12877         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12878
12879 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12880
12881         * tabular.[Ch] (getLabelList): implement new method
12882
12883         * minibuffer.h: comment ouf setTiimer
12884
12885         * minibuffer.C (ExecutingCB): constify res
12886         (peek_event): constify s
12887         (Set): constify ntext
12888         (Init): constify nicename
12889
12890         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12891
12892         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12893         (savePosition): use two params to Minibuffer::Set
12894         (restorePosition): ditto
12895
12896 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12897
12898         * lyx_main.C: include language.h
12899
12900         * Makefile.am (lyx_main.o): add language.h
12901
12902 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12903
12904         * exporter.C:
12905         * paragraph.C:
12906         * screen.C:
12907         * tabular.C:
12908         * CutAndPaste.C: include gettext.h
12909
12910         * lyxfont.h: remove old hack with ON and OFF.
12911
12912         * lyxparagraph.h:
12913         * lyxfont.h: do not include language.h...
12914
12915         * BufferView2.C:
12916         * LaTeXFeatures.C:
12917         * Painter.C:
12918         * bufferview_funcs.C:
12919         * font.C:
12920         * lyxfont.C:
12921         * text.C:
12922         * text2.C:
12923         * trans_mgr.C:
12924         * paragraph.C: ... but do it here instead
12925
12926 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12927
12928         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12929
12930         * tabular.C: small reformat
12931
12932         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12933         NEW_INSETS version
12934         (GetChar): ditto
12935         (BreakParagraph): ditto
12936         (SetOnlyLayout): ditto
12937         (SetLayout): ditto
12938
12939         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12940         with one arg less.
12941
12942         * lastfiles.C: removed most using decl, add std:: where needed
12943
12944         * buffer.C: ws changes
12945
12946         * MenuBackend.C (class compare_format): put into anon namespace
12947         (expand): constify label, names, action, action2
12948         (expand):
12949
12950         * text.C (SingleWidth): constify font
12951         (IsBoundary): constify rtl2
12952         (GetVisibleRow): constify ww
12953
12954         * LaTeX.C (deplog): constify logfile
12955
12956         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12957         start_x, end_x
12958         (workAreaExpose): constify widthChange, heightChange
12959
12960         * lyxrow.C (par): moved
12961         (height): moved
12962         (next): moved
12963         * lyxrow.h: as inlines here
12964
12965         * lyxfont.h (shape): moved from lyxfont.C
12966         (emph): moved from lyxfont.C
12967
12968         * lyxfont.C (LyXFont): use initialization list for all
12969         constructors
12970         (shape): move to lyxfont.h as inline
12971         (emph): move to lyxfont.h as inline
12972
12973
12974 2001-04-04  Juergen Vigna  <jug@sad.it>
12975
12976         * vspace.C: had to include stdio.h for use of sscanf
12977
12978 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12979
12980         * BufferView.h:
12981         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12982         independent of xforms.
12983
12984 2001-04-02  Juergen Vigna  <jug@sad.it>
12985
12986         * spellchecker.C: fixed namespace placing!
12987
12988 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12989
12990         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12991         the LyXParagraph * is 0.
12992
12993 2001-03-29  Juergen Vigna  <jug@sad.it>
12994
12995         * vspace.C: added support for %, c%, p%, l%.
12996         (stringFromUnit): added helper function.
12997         (asLatexString): changed to give right results for the %-values.
12998
12999         * buffer.C: convert the widthp in a width%.
13000
13001 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13002
13003         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13004         figureForm.[Ch].
13005
13006         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13007         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13008
13009         * lyx_cb.[Ch]: see above.
13010
13011         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13012         form1.[Ch].
13013
13014         * form1.[Ch]:
13015         * lyx.[Ch]: replaced by figure_form.[Ch].
13016
13017         * lyx_gui.C:
13018         * lyx_gui_misc.C:
13019         * lyxfunc.C: changed headers associated with above changes.
13020
13021 2001-03-27  Juergen Vigna  <jug@sad.it>
13022
13023         * BufferView_pimpl.C: set the temporary cursor right!
13024
13025 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13026
13027         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13028
13029 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13030
13031         * LString.h: removed "using std::getline"!
13032
13033         * BufferView_pimpl.C (Dispatch): changes due to changes in
13034         InsetInclude::Params.
13035
13036         * buffer.C (tag_name): removed redundant break statements as they were
13037         producing lots of warnings with my compiler.
13038
13039 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13040
13041         * LString.h: add "using std::getline" when using the real <string>.
13042
13043 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13044
13045         * buffer.C: removed bitset usage.
13046         PAR_TAG moved to an anonymous name space.
13047         (tag_name): new funtion, also in the anonymous namespace.
13048         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13049         (makeDocBookFile): clean code. Completed transition from string arrays
13050         to string vectors.
13051         (SimpleDocBookOnePar): code clean.
13052
13053 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13054
13055         * tabular.C: add some comments.
13056
13057 2001-03-22  Juergen Vigna  <jug@sad.it>
13058
13059         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13060         compatibility read a bit and fixed bug with minipage in different
13061         depth.
13062
13063 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13064
13065         * buffer.C (pop_tag): removed.
13066         (push_tag): removed.
13067         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13068         array replaced with vector. Added support for CDATA sections.
13069         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13070         at any nest level.
13071         (makeDocBookFile): XML conformant declaration of CDATA section,
13072         fixed bug related to <emphasis> in the first paragraph char.
13073         (sgmlOpenTag): exclude empty tags.
13074         (sgmlCloseTag): ditto.
13075
13076         * buffer.h (pop_tag): removed.
13077         (push_tag): removed.
13078
13079 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13080
13081         * language.h (Languages): added size_type and size().
13082
13083 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13084
13085         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13086         response on compability reading of minipages. One probliem is that
13087         the old usage of minipages was «flertydig»
13088
13089         * several files here and in subdirs: don't use static at file
13090         scope use anon namespaces instead.
13091
13092 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13093
13094         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13095         LaTeX output. This is necessary for Literate document
13096         processing.
13097
13098 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13099
13100         * buffer.C: insert hfill when needed.
13101
13102         * tabular.C (l_getline): use string::erase, small whitespace change.
13103
13104         * BufferView_pimpl.C: try the anon namespace.
13105         * WorkArea.C: ditto
13106
13107 2001-03-16  Juergen Vigna  <jug@sad.it>
13108
13109         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13110         otherwise it won't open options-dialogs.
13111
13112         * buffer.C: honor pextraWidth(p) on converting minipages.
13113
13114         * tabular.C (l_getline): changed the functions to strip trailing \r.
13115
13116 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13117
13118         * BufferView_pimpl.C:
13119         * minibuffer..C: added "using SigC::slot" declaration.
13120
13121 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13122
13123         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13124
13125         * text2.C: ditto
13126
13127         * text.C: ditto
13128
13129         * paragraph.C: ditto
13130
13131         * lyxtext.h: NO_PEXTRA
13132
13133         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13134
13135         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13136         * ParameterStruct.h: ditto
13137         * ParagraphParameters.h: ditto
13138         * lyxparagraph.h: ditto
13139
13140 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13141
13142         * buffer.C: add compability for minipage alignment.
13143         (latexParagraphs): remove unwanted pextra check.
13144
13145         * several files: remove CXX_WORKING_NAMESPACES
13146
13147         * buffer.C (pop_tag): tie is in namespace boost
13148
13149         * BufferView.h: noncopyable is in namespace boost
13150         * lyxlex.h: ditto
13151         * lyx_main.h: ditto
13152         * lyx_gui.h: ditto
13153         * layout.h: ditto
13154         * lastfiles.h: ditto
13155         * bufferlist.h: ditto
13156         * ShareContainer.h: ditto
13157         * LyXView.h: ditto
13158         * LyXAction.h: ditto
13159         * LaTeX.h: ditto
13160
13161 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13162
13163         * Merging changes from BRANCH_MVC back into HEAD.
13164
13165         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13166
13167 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13168
13169         * BufferView_pimpl.C: change from intl.C
13170
13171         * combox.h:
13172         * combox.C:
13173         * Makefile.am: move combox.*
13174
13175         * form1.h:
13176         * form1.C:
13177         * lyx_gui.C:
13178         * intl.h:
13179         * intl.C: remove dialog (covered by prefs)
13180
13181 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13182
13183         * lyxfunc.C (Dispatch): removed redundant break statement.
13184
13185 2001-03-14  Juergen Vigna  <jug@sad.it>
13186
13187         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13188
13189 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13190
13191         * buffer.C: add hack to fix compability reading of minipages.
13192
13193 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13194
13195         * buffer.C (getLists): Cleanup.
13196
13197 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13198
13199         * lyxfont.C (update): don't honor toggleall on font size.
13200
13201 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13202
13203         * bmtable.c:
13204         * bmtable.h:
13205         * Makefile.am: moved to frontends/xforms/
13206
13207         * lyx_gui_misc.C:
13208         * lyxfunc.C:
13209         * BufferView_pimpl.C: changes for moved mathpanel
13210
13211 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13212
13213         * gettext.h: fix gettext_init() in --disable-nls
13214
13215 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13216
13217         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13218
13219 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13220
13221         * lyx.C:
13222         * lyx.h: strip external form
13223
13224 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13225
13226         * BufferView_pimpl.C: add comment, destroySplash()
13227
13228 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13229
13230         * BufferView_pimpl.C:
13231         * LyXAction.C:
13232         * buffer.C:
13233         * commandtags.h:
13234         * lyxfunc.C: use re-worked insetinclude
13235
13236 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13237
13238         * buffer.C: add using std::stringstream.
13239
13240         * lyx_cb.C: readd using std::ios.
13241
13242         * buffer.C: add using std::map.
13243
13244         * BufferView_pimpl.C: add using std::vector.
13245
13246         * ShareContainer.h: add std:: to swap.
13247
13248         * buffer.h: add some typedefs
13249         * buffer.C (getLists): use them
13250         (getLists): renamed from getTocList.
13251         add a counter for the different float types and use it in the
13252         generated string.
13253         (getLists): use the same counter for the NEW_INSETS and the "non"
13254         NEW_INSETS
13255
13256         * lyx_cb.h: remove unused items, includes, using etc.
13257
13258         * ShareContainer.h: remove some commented code, add more comments
13259         and "documentation".
13260
13261 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13262
13263         * buffer.C (getTocList): make the list also when NEW_INSETS is
13264         defined.
13265
13266         * buffer.h: remove TocType
13267
13268         * buffer.C (getTocList): change to return a map<string,
13269         vector<TocItem> >, implement for dynamic number of list.
13270
13271         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13272         * text2.C (PasteSelection): adjust
13273         * CutAndPaste.C (pasteSelection): adjust
13274
13275         * FloatList.C (FloatList): update from the new_insets branch.
13276         * Floating.[Ch]: ditto
13277         * LaTeXFeatures.C: ditto
13278         * buffer.C: ditto
13279         * lyxlex_pimpl.C: ditto
13280
13281         * paragraph.C (Last): remove when NEW_INSETS is defined.
13282
13283         * other file: changes because of the above.
13284
13285 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13286
13287         * lyxparagraph.h: rename next to next_, previous to previous_,
13288         make them private for NEW_INSETS. Rename Next() to next(),
13289         Previous() to previous().
13290
13291         * other files: changes because of the above.
13292
13293 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13294
13295         * BufferView.h:
13296         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13297         problem.
13298
13299 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13300
13301         * main.C (main): pass lyx_localedir to gettext_init().
13302
13303         * gettext.h: remove locale_init and gettext_init macros
13304
13305         * gettext.C (locale_init): new function
13306         (gettext_init): new function
13307
13308         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13309         setlocale().
13310
13311 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13312
13313         * Moved credits to frontends:
13314         * credits.[Ch]: removed
13315         * credits_form.[Ch]: removed
13316         * lyx_gui_misc.C: remove credits stuff
13317         * Makefile.am:
13318
13319 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13320
13321         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13322
13323         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13324         unneeded destructor.
13325
13326         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13327         a standalone pointer again.
13328
13329         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13330
13331 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13332
13333         * Makefile.am:
13334         * filedlg.h:
13335         * filedlg.C:
13336         * LyXAction.C:
13337         * ToolbarDefaults.C:
13338         * bufferlist.C:
13339         * commandtags.h:
13340         * form1.C:
13341         * form1.h:
13342         * lyx_cb.C:
13343         * lyx_cb.h:
13344         * lyxfunc.h:
13345         * lyxfunc.C:
13346         * BufferView_pimpl.C: use new file dialog in GUII
13347
13348         * lyx_cb.h:
13349         * lyx_cb.C: remove LayoutsCB to Toolbar
13350
13351 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13352
13353         * ShareContainer.h (get): add std:: qualifier
13354
13355 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13356
13357         * ShareContainer.h: define a proper ShareContainer::value_type
13358         type (and use typename to please compaq cxx)
13359
13360 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13361
13362         * lyxparagraph.h: move serveral local vars to
13363         ParameterStruct/ParagraphParameters., use ShareContainer in
13364         FontTable., make vars in FontTable private and add getter and
13365         setter.
13366
13367         * paragraph.C: changes because of the above.
13368
13369         * lyxfont.h: remove copy constructor and copy assignment. (the
13370         default ones is ok), move number inside FontBits. move inlines to
13371         lyxfont.C
13372
13373         * lyxfont.C: add number to initializaton of statics, move several
13374         inlines here. constify several local vars. some whitespace
13375         cleanup. Dont hide outerscope variables.
13376
13377         * Spacing.h: add two new constructors to match the set methods.
13378
13379         * ShareContainer.h: new file, will perhaps be moved to support
13380
13381         * ParameterStruct.h: new file
13382
13383         * ParagraphParameters.h: new file
13384
13385         * ParagraphParameters.C: new file
13386
13387         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13388         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13389
13390         * BufferView_pimpl.C: ParagraphParameter changes.
13391         * buffer.C: Likewise.
13392         * bufferview_funcs.C: Likewise.
13393         * text.C: Likewise.
13394         * text2.C: Likewise.
13395
13396 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13397
13398         * lyxfind.C (LyXReplace): do not redefine default argument in
13399         implementation.
13400         (IsStringInText): ditto
13401         (SearchForward): ditto
13402         (SearchBackward): ditto
13403
13404 2001-03-06  Juergen Vigna  <jug@sad.it>
13405
13406         * lyxfind.C (IsStringInText): put parentes around expressions.
13407
13408 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13409
13410         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13411
13412 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13413
13414         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13415
13416         * stl_string_fwd.h: add comment
13417
13418         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13419
13420         * tabular.h:
13421         * tabular.C: remove unused DocBook methods
13422
13423         * intl.C:
13424         * language.C:
13425         * paragraph.C:
13426         * buffer.C:
13427         killed DO_USE_DEFAULT_LANGUAGE
13428
13429 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13430
13431         * lyx_gui.C: do not include language.h.
13432
13433         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13434         arguments in function implementation.
13435
13436 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13437
13438         * BufferView_pimpl.C: add <ctime>
13439
13440 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13441
13442         * BufferView_pimpl.C: add using std::find_if
13443
13444 2001-02-27  José Matos  <jamatos@fep.up.pt>
13445
13446         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13447         by OnlyPath.
13448
13449 2001-02-11  José Matos  <jamatos@fep.up.pt>
13450
13451         * buffer.C (makeDocBookFile): command styles now have a parameter as
13452         "title" by default.
13453
13454 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13455
13456         * layout_forms.[Ch]: removed
13457         * lyx_cb.[Ch]: out character
13458         * lyx_gui.C: out character
13459         * lyx_gui_misc.C: out character
13460         * bufferview_funcs.C: : out character,
13461         added toggleall as parameter in ToggleAndShow
13462
13463 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13464
13465         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13466
13467         * text2.C (SetCurrentFont): Disable number property at boundary.
13468
13469 2001-02-26  Juergen Vigna  <jug@sad.it>
13470
13471         * lyxfunc.C (getStatus): added a string argument override function so
13472         that this is correctly called from LyXFunc::Dispatch if it contains a
13473         do_not_use_argument which is used!
13474         (Dispatch): added check for "custom" export and call appropriate func.
13475
13476 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13477
13478         * lyxrc.C: Add language_command_local, language_use_babel and
13479         language_global_options.
13480
13481         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13482
13483         * buffer.C (makeLaTeXFile): Use language_use_babel and
13484         language_global_options.
13485
13486 2001-02-23  Juergen Vigna  <jug@sad.it>
13487
13488         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13489         which works with LyXText and putted it inside BufferView. Here now we
13490         only call for that part the BufferView::Dispatch() function.
13491
13492         * BufferView.C (Dispatch): added.
13493
13494         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13495         functions which needs to use a LyXText over from LyXFunc.
13496         (MenuInsertLyXFile): added
13497         (getInsetByCode): added
13498         (moveCursorUpdate): added
13499         (static TEXT): added
13500
13501 2001-02-22  Juergen Vigna  <jug@sad.it>
13502
13503         * BufferView_pimpl.C (update): call a status update to see if LyXText
13504         needs it.
13505
13506 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13507
13508         * vc-backend.C (revert): implement for CVS
13509         (getLog): implement for CVS
13510
13511 2001-02-20  Juergen Vigna  <jug@sad.it>
13512
13513         * text2.C (ClearSelection): added BufferView param for inset_owner call
13514
13515         * lyxfunc.C (TEXT): added this function and use it instead of
13516         directly owner->view()-text of getLyXText().
13517
13518 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13519
13520         * src/layout_forms.C: out preamble
13521         * src/layout_forms.h: out preamble
13522         * src/lyx_cb.C: out preamble
13523         * src/lyx_cb.h: out preamble
13524         * src/lyx_gui.C: out preamble
13525         * src/lyx_gui_misc.C: out preamble
13526         * src/lyxfunc.C: connect with guii preamble
13527
13528 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13529
13530         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13531
13532 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13533
13534         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13535         whether to run bibtex.
13536
13537 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13538
13539         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13540
13541 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13542
13543         * Makefile.am (lyx_SOURCES): removed bibforms.h
13544
13545         * vspace.h: doxygen
13546
13547         * text.C (GetVisibleRow): make several local vars const
13548
13549         * tabular.C: small cleanup.
13550
13551         * lyxserver.C (callback): use compare instead of strncmp
13552
13553         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13554         inlines to after class or to paragraph.C
13555
13556         * lyxfont.h: remove friend operator!=
13557
13558         * converter.h: move friend bool operator< to non friend and after
13559         class def.
13560
13561         * combox.h: small cleanup
13562
13563         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13564         to inlines after class def.
13565
13566         * buffer.C (pop_tag): use string operations instead of strcmp
13567
13568         * bmtable.c: doxygen, small cleanup
13569
13570         * LaTeX.h: remove friend operator==
13571
13572 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13573
13574         * screen.C:
13575         * lyxrc.[Ch]:
13576         * lyxfunc.C:
13577         * lyxfont.[Ch]:
13578         * lyx_cb.C:
13579         * intl.[Ch]:
13580         * commandtags.h:
13581         * buffer.C:
13582         * WorkArea.[Ch]:
13583         * LyXAction.C:
13584         * BufferView_pimpl.C:
13585         * BufferView.[Ch]: remove cruft
13586
13587 2001-02-14  Juergen Vigna  <jug@sad.it>
13588
13589         * lyxfunc.C: removed #if 0 unused code
13590
13591         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13592
13593         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13594
13595         * text2.C (SetSelection): added a BufferView * parameter
13596
13597 2001-02-13  Juergen Vigna  <jug@sad.it>
13598
13599         * lyxfunc.C (Dispatch): fixed protected blank problem.
13600         * BufferView2.C (protectedBlank): added LyxText * parameter.
13601
13602         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13603         (AppendColumn): same as above for column_info.
13604
13605         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13606         (moveCursorUpdate): use a LyXText param for support of InsetText.
13607
13608         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13609         (tripleClick): ditto
13610
13611         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13612
13613         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13614
13615         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13616
13617         * text2.C (SetSelection): set correct update status if inset_owner
13618         (ToggleFree): ditto
13619
13620 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13621
13622         * tabular.C: remove some commented code.
13623
13624 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13625
13626         * BufferView_pimpl.C: call hideSplash()
13627
13628         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13629
13630         * include_form.h:
13631         * bibforms.h: remove
13632
13633         * lyxfunc.C:
13634         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13635           add LFUN_CHILD_CREATE
13636
13637         * counters.h: fix tiny typo
13638
13639         * lyx_cb.C:
13640         * lyx.h:
13641         * lyx_gui.C:
13642         * lyx.C: move splash to frontends/xforms/
13643
13644         * lyx_gui_misc.C: move Include and Bibform to frontends
13645
13646         * lyxvc.h: clarify comment
13647
13648         * vspace.C: tiny housekeeping
13649
13650 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13651
13652         * text.C (PrepareToPrint): RTL Fix.
13653
13654         * paragraph.C (GetUChar): New method.
13655         (String):  Use GetUChar.
13656
13657         * buffer.C (asciiParagraph): Use GetUChar.
13658
13659 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13660
13661         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13662
13663 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13664
13665         * buffer.h:
13666         * buffer.C: rename to getLogName(), handle
13667           build log / latex log nicely
13668
13669 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13670
13671         * MenuBackend.C:
13672         * MenuBackend.h: remove support for reference menuitem type.
13673
13674 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13675
13676         * BufferView_pimpl.C: housekeeping
13677         * BufferView_pimpl.h:
13678         * LyXView.h:
13679         * Makefile.am:
13680         * Timeout.C:
13681         * Timeout.h:
13682         * minibuffer.h: move Timeout GUI-I
13683
13684 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13685
13686         * lyxrc.C (read): Update converters data-structures.
13687
13688 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13689
13690         * LaTeX.h (operator!=): add operator != for Aux_Info
13691
13692 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13693
13694         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13695
13696         * LaTeXLog.C: deleted, useful code moved to Buffer
13697
13698         * buffer.h:
13699         * buffer.C: new function getLatexLogName()
13700
13701         * lyx_gui_misc.C:
13702         * lyx_gui.C:
13703         * lyxvc.C:
13704         * lyxvc.h:
13705         * lyxfunc.C: use frontends for LaTeX and VC logs
13706
13707 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13708
13709         * LaTeX.h: yet another std:: that Allan forgot.
13710
13711         * Variables.C (set): renamed from isset(), because this clashes
13712         with some HP-UX macros (grr).
13713
13714 2001-02-06  Allan Rae  <rae@lyx.org>
13715
13716         * LaTeX.h: Another bug fix.  Missing std:: this time.
13717
13718 2001-02-04  Allan Rae  <rae@lyx.org>
13719
13720         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13721         floats problem. I've left it commented out because it's not quite
13722         correct.  It should also test that the current object is a table or
13723         figure inset.  But I haven't gotten around to figuring out how to do
13724         that.  I *think* it'll be something like: "table" == inset.type()
13725
13726         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13727         bool.
13728
13729 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13730
13731         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13732         all the citation/databases/styles in the auxilary file.
13733         (run): Rerun latex if there was a babel language error.
13734
13735 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13736
13737         * text.C (Backspace): Preserve the font when changing newline char
13738         with a space.
13739         (BreakParagraph): If the cursor is before a space, delete the space.
13740
13741         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13742
13743 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13744
13745         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13746         new argument (code).
13747         (ChangeCitationsIfUnique): New method.
13748
13749         * paragraph.C (GetPositionOfInset): Handle bibkey.
13750
13751 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13752
13753         * BufferView_pimpl.h: change type of Position::par_pos to
13754         LyXParagraph::size_type.
13755
13756 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13757
13758         * BufferView_pimpl.C (savePosition, restorePosition): Write
13759         messages to minibuffer.
13760
13761 2001-01-28  José Matos  <jamatos@fep.up.pt>
13762
13763         * buffer.C (makeDocBookFile): adds support for document language.
13764         A silly restriction on the name of LatexCommand types where removed.
13765         Added support for CDATA sections, allows to chars unescaped, used
13766         among others in code, to avoid escape < and >.
13767
13768 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13769
13770         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13771         saved positions instrad of a stack. Furthermore, a position is
13772         stored using paragraph id/paragraph position.
13773
13774         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13775         Remove LFUN_REF_BACK.
13776
13777 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13778
13779         * converter.C (dvipdfm_options): New method.
13780
13781 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13782
13783         * vspace.C (isValidLength): Fix for empty input string.
13784
13785 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13786
13787         * LyXAction.C (init): change description of LFUN_FIGURE to
13788         "Insert Graphics"
13789
13790 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13791
13792         * LaTeX.C: add using directive
13793
13794 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13795
13796         * MenuBackend.C (expand): Fix the sorting of the formats.
13797
13798 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13799
13800         * lyx_main.C: tiny error message fix
13801
13802 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13803
13804         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13805         calling fl_initialize(). This fixes the problem with ',' as
13806         decimal separator in text files.
13807
13808 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13809
13810         * trans.C (process): Fix the keymap bug.
13811
13812 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13813
13814         * LaTeX.C (scanAuxFiles): New method. Provides support for
13815         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13816         (scanLogFile) Scan for "run BibTeX" messages.
13817
13818         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13819         OT1 font encoding. Also, load the aecompl package if the ae
13820         package is loaded.
13821
13822         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13823
13824 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13825
13826         * texrow.C (increasePos): turn two error messages into debug
13827         messages.
13828
13829 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13830
13831         * LaTeX.C (scanAux): Handle the \@input macro.
13832         (runBibTeX): Use scanAux().
13833
13834         * language.C (latex_options_): New field.
13835
13836         * LaTeXFeatures.C (getMacros): Add language macros.
13837
13838         * buffer.C (makeLaTeXFile): Small fix.
13839
13840 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13841
13842         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13843
13844         * text2.C: add a using directive.
13845
13846 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13847
13848         * BufferView2.C:
13849         * lyx_gui_misc.h:
13850         * lyxfr1.C:
13851         * lyxfunc.C: kill LyXBell.
13852
13853 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13854
13855         * text.C (IsBoundary): Remove the error message
13856
13857         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13858
13859         * lyxrc.C (setDefaults): Correct initialization value for
13860         font_norm_type.
13861
13862 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13863
13864         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13865         gotoError().
13866
13867         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13868         and GotoNextNote().
13869
13870         * src/LyXAction.C: Added reference-next.
13871
13872         * text.C (InsertChar): Use contains instead of strchr.
13873
13874         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13875
13876 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13877
13878         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13879         alignment commands (when needed).
13880
13881         * text.C (InsertChar): Add ':' to number separator chars.