]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
XML sanitation
[lyx.git] / src / ChangeLog
1 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2
3         * lyxlayout.[Ch]: 
4         * output_docbook.C: XML sanitation: new layout 
5         parameters InnerTag and CommandDepth
6
7 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
8
9         * BufferView_pimpl.C:
10         * factory.C:
11         * text3.C: Fix the insertion and modification of button-style
12         insets
13
14 2003-11-13  André Pönitz  <poenitz@gmx.net>
15
16         * InsetList.[Ch]: remove deleteLyXText
17
18         * paragraph.[Ch]: cache beginOfBody position
19
20         * Bidi.C:
21         * text.C:
22         * text2.C:
23         * text3.C: remove superfluous update() calls
24
25         * vspace.C: cleanup
26
27 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
28
29         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
30         * BufferView.C (fitLockedInsetCursor): remove
31         * cursor.[Ch] (getDim): add
32         * text.C (getRowNearY): add faster version
33         * text3.C: remove some update calls
34
35 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
36
37         * LaTeXFeatures.C:
38         * LyXAction.C:
39         * MenuBackend.C:
40         * MenuBackend.h:
41         * dispatchresult.h:
42         * factory.C:
43         * lfuns.h:
44         * lyxfunc.C:
45         * lyxtextclass.C:
46         * lyxtextclass.h:
47         * text3.C: The Character Style /XML short element patch.
48
49 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
50
51         * text3.C:
52         * factory.C: Small step to solving 'unable to insert some insets'
53         problem
54
55 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
56
57         * cursor.[Ch] (updatePos): new function for updating the y
58         position of the tip inset
59         * bufferview_funcs.C (put_selection_at): 
60         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
61
62 2003-11-11  André Pönitz  <poenitz@gmx.net>
63
64         * text.C: remove big comment on invalid Paragraph pointers as it is
65         not valid anymore
66
67 2003-11-11  André Pönitz  <poenitz@gmx.net>
68
69         * text_funcs.[Ch]: merge with ...
70
71         * text.C: ... this
72
73         * lyxtext.h:
74         * text2.C:
75         * text3.C: adjust
76
77         * Makefile.am: remove text_funcs.[Ch]
78
79 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
80
81         * cursor.C (getPos): return absolute cached y coord
82
83         * BufferView_pimpl.C (fitCursor): new simplistic code
84         (workAreaDispatch): add a fitCursor call
85
86 2003-11-10  André Pönitz  <poenitz@gmx.net>
87
88         * BufferView.[Ch]:
89         * BufferView_pimpl.[Ch]: merge update() and updateInset()
90
91 2003-11-10  André Pönitz  <poenitz@gmx.net>
92
93         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
94         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
95         indicate that the cursor needs to leave an inset
96
97         * lyxtext.h: remove inset locking
98
99         * cursor.[Ch]: re-implement functionality provided by inset locking
100
101         * BufferView.[Ch]:
102         * BufferView_pimpl.[Ch]:
103         * LyXAction.C:
104         * bufferview_funcs.[Ch]:
105         * factory.C:
106         * funcrequest.[Ch]:
107         * iterators.C:
108         * lyx_cb.C:
109         * lyxfind.C:
110         * lyxfunc.C:
111         * text.C:
112         * text2.C:
113         * text3.C:
114         * undo.C: adjust
115
116 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
117
118         * PosIterator.[Ch]: replace the stack with a vector, add inset 
119         accesor
120         * iterators.[C]: adjust
121
122 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
123
124         * lyxfind.C (replaceAll): mark the buffer dirty if something was
125         replaced
126         * paragraph_funcs.C (readParToken): put the correct id in the
127         error item, not the id of the top paragraph
128
129 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
130
131         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
132         * bufferview_funcs.C (put_selection_at): use the above
133
134 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
135
136         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
137
138 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
139
140         * output_linuxdoc.h: 
141         * output_plaintext.h: 
142         * output.h: 
143         * output_docbook.h: add #include statements
144
145 2003-11-05  José Matos  <jamatos@lyx.org>
146
147         * output_docbook.[Ch]:
148         * output_latex.[Ch]:
149         * output_linuxdoc.[Ch]:
150         * output_plaintext.[Ch]: New files for output formats.
151         * output.[Ch]: New file for helper functions.
152
153         * buffer.[Ch]:
154         * paragraph_funcs.[Ch]: output functions moved to new files.
155
156         * outputparams.h: rename of latexrunparams.h
157
158         * LaTeX.[Ch]:
159         * buffer.[Ch]:
160         * bufferlist.[Ch]:
161         * converter.[Ch]:
162         * exporter.C:
163         * paragraph.[Ch]:
164         * paragraph_funcs.[Ch]:
165         * paragraph_pimpl.[Ch]:
166         * tabular.[Ch]: rename ascii to plaintext
167         and LatexRunParams to OutputParams.
168         
169 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
170
171         * iterators.[Ch] (text): require bv argument
172         * undo.C (recordUndo): 
173         * lyxfunc.C (dispatch): 
174         * bufferview_funcs.C (put_selection_at): adjust
175
176 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
177
178         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
179
180 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
181
182         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
183         nestings
184
185 2003-11-04  André Pönitz  <poenitz@gmx.net>
186
187         * cursor.[Ch]: restructure
188
189         * BufferView.[Ch]:
190         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
191
192         * iterators.[Ch] (asCursor): remove
193
194         * lfuns.h: remove LFUN_INSET_EDIT
195
196         * lyxfunc.C:
197         * tabular.C:
198         * text.C:
199         * text2.C:
200         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
201
202 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
203
204         * lyxfind.[Ch]: complete overhaul
205         * BufferView_pimpl.C:
206         * lyxfunc.C: adjust
207         * paragraph.[Ch] (insert): add
208
209 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
210
211         * BufferView.[Ch]:
212         * lyxtext.h:
213         * text.C: remove dead spellcheck code
214         
215 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
216
217         * dispatchresult.h: add a val setter
218
219         * cursor.C (dispatch): use a tempvar for data_[i]
220
221 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
222
223         * PosIterator.[Ch]: compile fix
224
225 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
226
227         * text.C (cursorPar): deactivate the cursor cache
228
229 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
230
231         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
232
233 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
234
235         * text3.C (dispatch): adjust for new DisptchResult semantics.
236
237         * lyxfunc.C (dispatch): handle update when return from
238         Cursor::dispatch, adjust for new DispatchResult semantics.
239
240         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
241         DispatchResult(true) mean to not update. Add class functions for
242         setting dispatched and update, as well as reading.
243
244         * cursor.C (dispatch): don't handle update here
245
246 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
247
248         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
249         * trans_mgr.C: adjust
250
251         * paragraph_funcs.C (readParToken): exception safety
252
253         * lyxvc.h: store the vcs pointer in a scoped_ptr
254         * lyxvc.C: adjust
255
256         * lyxsocket.C (serverCallback): exception safety
257
258         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
259
260         * ispell.C (clone): make it return a auto_ptr
261
262         * factory.C (createInset): exception safety
263         (readInset): exception safety
264
265         * bufferlist.C (newBuffer): exception safety
266
267         * Thesaurus.C (Thesaurus): use initialization for aik_
268
269         * MenuBackend.C (expandToc): exception safety.
270
271 2003-11-03  André Pönitz  <poenitz@gmx.net>
272
273         * buffer.C:
274         * buffer.h:
275         * bufferview_funcs.C: remove getInsetFromId()
276
277         * lyxcursor.[Ch]:
278         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
279
280         * lyxfunc.C:
281         * text2.C:
282         * text3.C: adjust
283
284 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
285
286         * PosIterator.C (distance, advance): new
287         * bufferview_funcs.[Ch] (put_selection_at): new
288         * iterators.[Ch] (lockPath): new
289
290 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
291
292         * iterators.[Ch] (asPosIterator): added
293         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
294         * PosIterator.[Ch]: added
295
296 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
297
298         * text3.C:
299         * lyxfunc.C:
300         * cursor.C (dispatch):
301         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
302
303         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
304         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
305         contructor, add a class function dispatched. Remove operator>=
306
307 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
308
309         * debug.C: only use the default constructor for debugstream
310         (lyxerr) here.
311
312         * main.C (main): include debug.h and setup the lyxerr streambuf
313         here.
314
315 2003-10-31  José Matos  <jamatos@lyx.org>
316
317         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
318
319         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
320         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
321         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
322         * paragraph_pimpl.C (simpleTeXSpecialC):
323         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
324         add LatexRunParams argument.
325
326         * exporter.C (Export): change call accordingly.
327
328         * latexrunparams.h: add new member to take care of the other backends.
329 2003-10-30  José Matos  <jamatos@lyx.org>
330
331         * buffer.C (makeLinuxDocFile, makeDocBookFile):
332         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
333         factorise code for paragraph output.
334         * buffer.[Ch]:
335         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
336         move functions.
337
338 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
339
340         * text3.C (dispatch):
341         * lyxfunc.C (dispatch):
342         * cursor.C (dispatch):
343         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
344
345         * dispatchresult.h: make the dispatch_result_t ctor explicit
346
347 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
348
349         * sgml.[Ch]:
350         * buffer.C: small refactoring of docbook stuff
351
352 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
353
354         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
355         meaning.
356
357 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
358
359         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
360         operator dispatch_result_t, and operators for == != and >=
361
362         * cursor.C (dispatch): adjust for operator dispatch_result_t
363         removal. comment out call to update
364
365         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
366
367 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
368
369         * text3.C:
370         * text2.C:
371         * text.C:
372         * lyxtext.h:
373         * lyxfunc.C:
374         * cursor.C:
375         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
376         (dispatch):
377
378         * dispatchresult.h: new file, DispatchResult broken out of
379         insets/insetbase.h
380
381         * Makefile.am (lyx_SOURCES): add dispatchresult.h
382
383 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
384
385         * text.C (rowBreakPoint): put a hack inside #if 0
386
387 2003-10-28  André Pönitz  <poenitz@gmx.net>
388
389         * lyxtext.h:
390         * metricsinfo.C:
391         * paragraph_funcs.C:
392         * rowpainter.C:
393         * text.C:
394         * text2.C: general cleanup (lots of small stuff)
395
396 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
397
398         * text2.C (cursorEnd): simple fix to the "end key goes to one
399         before the end on last row" bug
400
401 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
402
403         * text.C (backspace): fix the "zombie characters"
404
405 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
406
407         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
408
409 2003-10-27  André Pönitz  <poenitz@gmx.net>
410
411         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
412
413         * factory.C: handle new InsetPagebreak, InsetLine
414
415         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
416         and move handling into new InsetPagebreak, InsetLine
417
418         * BufferView_pimpl.C:
419         * LyXAction.C:
420         * ParagraphParameters.C:
421         * ParameterStruct.h:
422         * lyxfunc.C:
423         * lyxtext.h:
424         * paragraph.C:
425         * paragraph.h:
426         * paragraph_funcs.C:
427         * paragraph_pimpl.C:
428         * rowpainter.C:
429         * text.C:
430         * text2.C:
431         * text3.C: adjust
432
433 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
434
435         * text.C:
436         * lyxrow_funcs.[Ch]:
437         * Bidi.C:
438         * paragraph.C:
439         * lyxtext.h:
440         * rowpainter.C:
441         * text2.C:
442         * text3.C: remove lastPos uses in favour of Row::endpos
443
444 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
445
446         * undo.C (performUndoOrRedo): fix two crashes by setting a
447         cursor by hand and reordering some calls. Use bv->lockInset instead
448         of inset->edit because the latter loses cursor information
449
450 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
451
452         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
453         by Martin
454         (rowBreakPoint): fix width. change point to point + 1.
455         Add a missing check.
456
457 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
458
459         * MenuBackend.C:
460         * lyxfunc.C: fix (at least partly) the problems
461         with the Nav menu and headers inside branch insets
462         reported by Kayvan
463
464 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
465
466         * paragraph.C (getChar): add strong asserts
467
468         * lyxrow_funcs.C (lastPos): remove hideous hack
469
470         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
471         (fill): adjust to that (avoid an infinite loop)
472
473 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
474
475         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
476
477 2003-10-23  André Pönitz  <poenitz@gmx.net>
478
479         * RowList_fwd.h: change list<> to vector<> to gain speed
480         after suggestion from Alfredo
481
482 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
483
484         * lyxtext.h: move the bidi stuff from here...
485         * text.C: and here
486         * text2.C: and here
487         * Bidi.[Ch]: ... to here
488
489 2003-10-23  André Pönitz  <poenitz@gmx.net>
490
491         * lyxtext.h:
492         * text.C (isLastRow, isFirstRow): new functions
493
494         * paragraph.h: new width cache member
495
496         * rowpainter.C: replace RowList::iterator with Row & where possible
497
498         * lyxfunc.C: replace several view()->text with a single call
499
500         * toc.C: fix 'unused' warning
501
502 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
503
504         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
505         when woring with stream::pos_type
506         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
507
508 2003-10-22  André Pönitz  <poenitz@gmx.net>
509
510         * lyxtext.h:
511         * text.C: use Row & instead of RowList::iterator
512
513         * lyxrow.h: rename end() to endpos()
514
515         * rowpainter.C:
516         * text.C:
517         * text2.C: adjust
518
519 2003-10-22  Angus Leeming  <leeming@lyx.org>
520
521         * buffer.[Ch] (fully_loaded): new member function, returning true
522         only when the file has been loaded fully.
523         Used to prevent the premature generation of previews and by the
524         citation inset to prevent computation of the natbib-style label.
525
526         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
527         templates are all set up.
528
529         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
530
531 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
532
533         * text.C: fixed an "oops" in the "is a bit silly"
534         bug fix
535
536 2003-10-21  André Pönitz  <poenitz@gmx.net>
537
538         * FuncStatus.[Ch]: small stuff, whitespace
539
540         * lyxfont.[Ch]: operator<<() for debug reasons
541
542         * lyxfunc.C:
543         * lyxrow_funcs.C:
544         * lyxtext.h: whitespace, spelling
545
546         * paragraph.C: naming of variables
547
548         * text.C:
549         * text2.C: small stuff
550
551
552 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
553
554         * text.C: (1) finish off the inset display() work;
555         (2) fix the "is a bit silly" bug (accessing char
556         past end of par).
557
558 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
559
560         * text.C: re-introduce display() for insets, fixing the
561         various bugs (stretch of line above, math inset
562         positioning, ...)
563
564 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
565
566         * text.C (rightMargin): remove spurious semicolon
567
568         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
569         1415)
570
571 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
572
573         * text3.C: fix one crash due to wrong cursor def
574
575 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
576
577         * vc-backend.C (scanMaster): make the regex static
578
579         * LaTeX.C (scanAuxFile): make the regexs static
580
581         * text3.C (doInsertInset, dispatch, dispatch):
582         * text2.C (cursorUp, cursorDown):
583         * text.C (selectNextWordToSpellcheck):
584         * BufferView_pimpl.C (dispatch):
585         * lyxfunc.C (dispatch):  localDispatch -> dispatch
586
587 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
588
589         * lyxsocket.C: include <cerrno>
590
591 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
592
593         * lyxfunc.C (dispatch): remove textcache stuff
594
595         * bufferlist.C (release): remove textcache stuff
596         (closeAll): ditto
597
598         * TextCache.C: delete file
599         * TextCache.h: delete file
600
601         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
602
603         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
604         delete of the bv_->text.
605         (resizeCurrentBuffer): remove texcache stuff
606         (workAreaResize): ditto
607
608 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
609
610         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
611         action.
612
613 2003-10-16  André Pönitz  <poenitz@gmx.net>
614
615         * lyxrow.[Ch]:
616         * paragraph.h:
617         * rowpainter.C:
618         * text.C:
619         * text2.C:
620         * text3.C: speed up by storing y positions per paragraph plus per-row
621         offset instead of having a 'full' y position in the row.
622
623 2003-10-15  André Pönitz  <poenitz@gmx.net>
624
625         * iterators.[Ch]:
626         * iterators.[Ch]:
627         * undo.[Ch]: make undo aware of inner insets
628
629 2003-10-14  Angus Leeming  <leeming@lyx.org>
630
631         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
632         static member functions LyX::ref() and LyX::cref.
633         (lastfiles): new accessor functions for the new lastfiles_ member var.
634         (addLyXView, views_): add a new LyXView to the list of views_.
635         (updateInset): loop over all LyXViews to call their own updateInset
636         member function, returning a pointer to the Buffer owning the inset.
637
638         * BufferView_pimpl.C (loadLyXFile):
639         * MenuBackend.C (expandLastfiles):
640         * bufferlist.C (MenuWrite, QuitLyX):
641         lastfiles is no longer a global variable.
642         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
643
644         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
645         static function. Access through LyX::cref().emergencyCleanup().
646
647 2003-10-14  André Pönitz  <poenitz@gmx.net>
648
649         * iterators.[Ch]: new direct access to innermost LyXText and Inset
650
651         * undo.[Ch]: restoring part of 'undo in insets'
652
653         * Makefile.am:
654         * undo_funcs.[Ch]: merge with undo.[Ch]
655
656         * tabular.C: small cleansing stuff
657
658 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
659
660         * paragraph_funcs.C (readParToken): report unknown insets as error
661         boxes. Use the outer paragraph as location (also for unknown
662         tokens).
663
664         * factory.C (readInset): do not abort on reading an unknown inset.
665         Eat it and return 0.
666
667 2003-10-13  Angus Leeming  <leeming@lyx.org>
668
669         * lyx_main.C (LyX): remove call to setDisplayTranslator().
670
671         * lyxrc.C: displayTranslator is now a function,
672         declared in GraphicsTypes.h.
673
674 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
675
676         * format.C: new placeholder $$a to pass the socket address.
677
678         * bufferlist.[Ch]: new function getBufferFromTmp.
679
680         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
681           files in the temporary dir.
682
683 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
684
685         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
686
687         * Makefile.am: add lyxsocket.[Ch].
688
689         * lyx_main.C (error_handler): handle SIGPIPE.
690
691 2003-10-13  André Pönitz  <poenitz@gmx.net>
692
693         * BufferView_pimpl.C:
694         * lyxtext.h:
695         * text.C:
696         * text2.C:
697         * text3.C:
698         * undo_funcs.[Ch]: use paroffset_type instead of
699           ParagraphList::iterators to prevent multiple conversion
700           (and get a more robust interface)
701
702 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
703
704         * lyxfunc.C (dispatch): RESULT -> dispatch_result
705         * lyxtext.h: ditto
706         * text3.C (dispatch): ditto
707
708 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
709
710         * LaTeX.C (handleFoundFile): move the static to smaller scope,
711         move the onlyfile, use onlyfile instead of foundfile in a couple
712         of places.
713
714         * DepTable.C (update): flush the error stream a bit more
715
716 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
717
718         * lyxserver.C (callback): adjust
719
720         * lyxfunc.C (getStatus): add a missing brace in commented code
721         (ensureBufferClean): reindent
722         (dispatch): delete version taking a string
723
724 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
725
726         * LaTeX.C (deplog): move found file handlig from here...
727         (handleFoundFile): .. to new function here.
728         (deplog): make sure to discover several files mentioned on the
729         same log line.
730
731 2003-10-10  André Pönitz  <poenitz@gmx.net>
732
733         * lyxfunc.C:
734         * lyxtext.h:
735         * tabular.C:
736         * text.C:
737         * text2.C:
738         * text3.C: fix some of the tabular crashes
739
740 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
741
742         * MenuBackend.C (binding): put debug message into Debug::KBMAP
743
744         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
745
746 2003-10-09  André Pönitz  <poenitz@gmx.net>
747
748         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
749
750         * BufferView.C:
751         * BufferView_pimpl.C:
752         * bufferview_funcs.C:
753         * lyx_cb.C:
754         * lyxcursor.C:
755         * lyxfind.C:
756         * lyxfunc.C:
757         * lyxtext.h:
758         * text.C:
759         * text2.C:
760         * text3.C:
761         * text_funcs.[Ch]:
762         * textcursor.[Ch]:
763         * undo_funcs.C: adjust
764
765 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
766
767         * text2.C (incrementItemDepth): new function, use a backtracking
768         algorithm to discover the correct item depth.
769         (resetEnumCounterIfNeeded): new function, use a backtracking
770         algorithm to discover if counter reset is needed.
771         (setCounter): use them. Simplify a bit. Add different labels for
772         different item depths for itemize.
773
774         * paragraph.C (Paragraph): remove initialization of enumdepth
775         (operator=): ditto
776
777         * paragraph.h: get rid of enumdepth, and use itemdepth both for
778         enumerate and itemize. Change the type of itemdepth to signed char.
779
780 2003-10-08  André Pönitz  <poenitz@gmx.net>
781
782         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
783           thing assignable.
784         * text.C:
785         * text2.C: adjust
786
787         * tabular.[Ch]: fix crash after 'row-insert'
788
789 2003-10-08  Angus Leeming  <leeming@lyx.org>
790
791         Fix doxygen warnings.
792
793         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
794         Remove CutAndPaste:: prefix from header file declaration.
795
796         * LColor.h (fill): remove LColor:: prefix from declaration.
797
798         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
799         use lyx::depth_type rather than Paragraph::depth_type so that
800         header file and .C file match.
801
802         * converter.h (intToFormat): remove Converters:: prefix from declaration.
803
804         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
805         * aspell.C: \file aspell_local.C -> \file aspell.C
806         * gettext.C: \file gettext.C -> \file src/gettext.C
807         * gettext.h: \file gettext.h -> \file src/gettext.h
808         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
809         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
810         * text.C: \file text.C -> \file src/text.C
811
812         * toc.C: move comment so that doxygen is not confused.
813
814 2003-10-07  Angus Leeming  <leeming@lyx.org>
815
816         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
817
818 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
819
820         * aspell.C:
821         * aspell_local.h: add forgotten std::string's.
822
823 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
824
825         * LaTeXFeatures.C:
826         * LyXAction.C:
827         * factory.C:
828         * lfuns.h:
829         * lyxfunc.C:
830         * text3.C: The Box patch. Fancybox support, minipage, parbox
831
832 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
833
834         * CutAndPaste.h:
835         * DepTable.h:
836         * FloatList.h:
837         * LaTeXFeatures.h:
838         * ParagraphParameters.h:
839         * TextCache.h:
840         * Thesaurus.h:
841         * bufferlist.h:
842         * exporter.h:
843         * importer.h:
844         * lastfiles.h:
845         * lyxfind.h:
846         * lyxfont.h:
847         * lyxlex.h:
848         * lyxtextclasslist.h:
849         * messages.h:
850         * paragraph.h:
851         * paragraph_pimpl.C:
852         * textcursor.h: add <string> and other small fixes to make Lars'
853         std::string patch compile with STLport.
854
855 2003-10-06  Angus Leeming  <leeming@lyx.org>
856
857         * LColor.h: Add missing #include <string>.
858
859 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
860
861         * All most all file in all subdirs: Make <string> be the prefered
862         way of getting to std::string, add using declarations.
863
864 2003-10-06  André Pönitz  <poenitz@gmx.net>
865
866         * metricsinfo.C: initialize LyXFont before changing attribute.
867         (fixes the 'math in \emph is upright' bug)
868
869 2003-10-06  André Pönitz  <poenitz@gmx.net>
870
871         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
872
873 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
874
875         * graph.C:
876         * paragraph_pimpl.C: Small fixes to build using STLport
877
878 2003-10-02  André Pönitz  <poenitz@gmx.net>
879
880         * lyxfunc.C:
881         * text3.C: move handling of LFUN_DEPTH *; fix #1360
882
883 2003-10-01  André Pönitz  <poenitz@gmx.net>
884
885         * factory.C: assert early
886
887 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
888
889         * lyx_main.C: remove the global debug object
890
891         * debug.h: adjust for new debugstream
892
893         * debug.C: adjust for new debugstream and keep the global debug
894         object here.
895
896 2003-09-22  Angus Leeming  <leeming@lyx.org>
897
898         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
899         of g++ which otherwise complain that the scoped_ptr destructor can't delete
900         an incomplete class LyXFont.
901
902 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
903
904         * factory.C: bug fix in branches
905
906 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
907
908         * lyxfunc.C (processKeySym): adjust
909         (dispatch): adjust
910         (dispatch): change arg name from ev to func, adjust
911         (sendDispatchMessage): ditto
912
913         * lyx_main.C (defaultKeyBindings): adjust keybindings
914         (deadKeyBindings): ditto
915
916         * kbsequence.C (addkey): return a FuncRequest
917
918         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
919
920         * kbmap.C (bind): take a FuncRequest as arg, adjust
921         (read): adjust
922         (lookup): adjust
923         (defkey): change to take a FuncRequest as arg, adjust
924         (findbinding): take a FuncRequest as arg, adjust.
925
926         * funcrequest.h (operator=): added
927
928         * funcrequest.C (FuncRequest): default kb_action changed from
929         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
930
931         * buffer.C (dispatch): simplify
932         (dispatch): adjust to take a FuncRequest as arg, adjust
933
934         * boost.C (assertion_failed): change assertion message slightly
935
936         * ToolbarBackend.C (read): simplify
937
938         * MenuBackend.C (binding): adjust call to findbinding, add a
939         message if no binding is found.
940         (read): simplify
941         (expandToc): correct by adding a empty FuncRequest
942
943         * LyXAction.C: include <boost/assert.hpp>
944         (isPseudoAction): delete function
945         (LookupFunc): change name to...
946         (lookupFunc): this. change return type to FuncRequest.
947         (getActionName): take kb_action as arg, simplify
948         (funcHasFlag): add an assert, simplify.
949
950 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
951
952         * toc.C (action): return a FuncRequest, simplify
953
954         * lyxfunc.C (processKeySym): adjust
955         (getStatus): delete version that takes an int.
956         (getStatus): adjust
957         (dispatch): delete version that takes action as int
958         (dispatch): adjust
959         (sendDispatchMessage): simplify and adjust
960
961         * funcrequest.C (getArg): take unsigned int as arg
962
963         * ToolbarBackend.C (read): adjust
964         (add): delete version that takes func as a string.
965         (getIton): take a FuncRequest as arg
966
967         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
968         action.
969
970         * MenuBackend.C (MenuItem): add a new construct that only takes a
971         Kind, simplify the constructor use for submenus.
972         (add): adjust
973         (expandLastfiles): adjust
974         (expandDocuments): adjust
975         (expandFormats): adjust
976         (expandFloatListInsert): adjust
977         (expandFloatInsert): adjust
978         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
979
980         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
981         Remove class variables lyx_pseudo_map and lyx_arg_map
982
983         * LyXAction.C (searchActionArg): delete function
984         (getPseudoAction): delete function
985         (retrieveActionArg): delete function
986         (LookupFunc): make it return kb_action, simplify.
987         (getActionName): simplify
988
989         * factory.C (createInset): fix new bug
990
991 2003-09-19  Angus Leeming  <leeming@lyx.org>
992
993         * CutAndPaste.C (pasteSelection): remove fudge used to set the
994         masterFilename_ parameter in the include inset.
995
996         * factory.C (createInset): changes due to the changes to InsetInclude.
997
998 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
999
1000         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1001
1002 2003-09-18  Angus Leeming  <leeming@lyx.org>
1003
1004         * buffer.C:
1005         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1006         Inset::fillWithBibKeys.
1007         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1008
1009 2003-09-18  Angus Leeming  <leeming@lyx.org>
1010
1011         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1012         variables.
1013         (ctor): pass and store a 'Buffer const &'
1014         (buffer): new member function.
1015
1016         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1017         '*this' to the LaTeXFeatures ctor.
1018
1019 2003-09-18  Angus Leeming  <leeming@lyx.org>
1020
1021         * LColor.h:
1022         * lyxfont.C:
1023         * lyxfont.h:
1024         * lyxtext.h:
1025         * text.C: rename EnumLColor as LColor_color.
1026
1027 2003-09-18  Angus Leeming  <leeming@lyx.org>
1028
1029         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1030         remove #include "insets/insetbase.h" from cursor.h.
1031
1032 2003-09-18  Angus Leeming  <leeming@lyx.org>
1033
1034         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1035         InsetOld_code to remove #include "inset.h".
1036
1037         * iterators.C: add #include "insets/inset.h"
1038
1039 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1040
1041         * BufferView.C: remove more locking stuff that apparently doesn't
1042         do anything sensible.
1043
1044 2003-09-16  André Pönitz  <poenitz@gmx.net>
1045
1046         * paragraph.[Ch]:
1047         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1048           performance boost.
1049
1050 2003-09-16  Angus Leeming  <leeming@lyx.org>
1051
1052         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1053
1054         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1055         arg/return type.
1056
1057         * paragraph.h: remove #include "lyxfont.h". Forward declare
1058         LyXFont_size.
1059
1060 2003-09-16  Angus Leeming  <leeming@lyx.org>
1061
1062         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1063         of support/textutils.h.
1064         (isWord): move the contents of support/textutils.h's IsWordChar here.
1065
1066         * buffer.C:
1067         * lyxfind.C:
1068         * rowpainter.C:
1069         * text.C:
1070         * text2.C: add #include "paragraph.h".
1071
1072         * rowpainter.C:
1073         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1074
1075 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1076
1077         * main.C:
1078         * lyx_main.C:
1079         * lyx_cb.C:
1080         * buffer.C:
1081         * LaTeX.C: use namespace alias for lyx::support::os
1082
1083 2003-09-16  Angus Leeming  <leeming@lyx.org>
1084
1085         * bufferparams.C:
1086         * bufferview_funcs.C:
1087         * factory.C:
1088         * lyxfunc.C:
1089         * paragraph_pimpl.C:
1090         * rowpainter.C:
1091         * text.C: add #include "LColor.h".
1092
1093 2003-09-16  Angus Leeming  <leeming@lyx.org>
1094
1095         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1096         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1097         return LyXFont &.
1098         Store the FontBits::color variable as an int rather than as an
1099         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1100         file.
1101
1102         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1103         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1104         string calls together.
1105
1106         * lyxrc.C: add #include "LColor.h".
1107
1108 2003-09-15  Angus Leeming  <leeming@lyx.org>
1109
1110         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1111         a cow_ptr.
1112
1113 2003-09-15  Angus Leeming  <leeming@lyx.org>
1114
1115         * LColor.h: add an EnumLColor wrapper for LColor::color.
1116
1117         * lyxfont.[Ch] (color, setColor, realColor):
1118         * lyxtext.h, text.C (backgroundColor):
1119         pass EnumLColor args to/from the functions, rather than LColor::color
1120         ones.
1121
1122         * lyxfont.h:
1123         * lyxtext.h: forward declare EnumLColor.
1124
1125         * lyx_main.C: add #include "LColor.h".
1126
1127 2003-09-15  Angus Leeming  <leeming@lyx.org>
1128
1129         * .cvsignore: add lyx-gtk.
1130
1131 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1132
1133         * Chktex.C
1134         * LaTeX.C
1135         * LaTeXFeatures.C
1136         * ParagraphParameters.C
1137         * Spacing.C
1138         * buffer.C
1139         * bufferparams.C
1140         * bufferview_funcs.C
1141         * chset.C
1142         * counters.C
1143         * funcrequest.C
1144         * lyxfont.C
1145         * lyxgluelength.C
1146         * lyxlength.C
1147         * paragraph.C
1148         * paragraph_funcs.C
1149         * text3.C
1150         * vc-backend.C: remove usage of STRCONV
1151
1152 2003-09-15  Angus Leeming  <leeming@lyx.org>
1153
1154         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1155         explicitly define the color passed to the painter.
1156
1157 2003-09-15  Angus Leeming  <leeming@lyx.org>
1158
1159         * bufferparams.C (BufferParams): reorder member initializers to avoid
1160         compiler warning.
1161
1162 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1163
1164         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1165         * text.C (updateRowPositions): remove an unusual nop
1166
1167 2003-09-12  André Pönitz  <poenitz@gmx.net>
1168
1169         * BufferView_pimpl.C:
1170         * Bullet.C:
1171         * layout.h:
1172         * lyxfunc.C:
1173         * lyxlayout.[Ch]:
1174         * lyxtextclass.C:
1175         * rowpainter.C:
1176         * text.C:
1177         * text2.C:
1178         * Counters.[Ch]: finish the 'automatic counters' job
1179
1180 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1181
1182         * aspell.C: include <boost/assert.cpp> (compile fix)
1183
1184 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1185
1186         * boost.C (assertion_failed): use lyx::support::abort instead of
1187         assert.
1188
1189 2003-09-10  Angus Leeming  <leeming@lyx.org>
1190
1191         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1192         with their _fwd progeny.
1193
1194 2003-09-09  Angus Leeming  <leeming@lyx.org>
1195
1196         134 files throughtout the source tree: replace 'using namespace abc;'
1197         directives with the appropriate 'using abc::xyz;' declarations.
1198
1199 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1200
1201         * boost.C (emergencyCleanup): moved here from LAssert.c
1202         (assertion_failed): new function, called by BOOST_ASSERT
1203
1204         * several files: change Assert to BOOST_ASSERT
1205
1206 2003-09-09  Angus Leeming  <leeming@lyx.org>
1207
1208         * buffer.[Ch]: Add an Impl class and move Buffer's member
1209         variables into it. As a result move several header files out of
1210         buffer.h.
1211
1212         Add header files to lots of .C files all over the tree as a result.
1213
1214 2003-09-09  Angus Leeming  <leeming@lyx.org>
1215
1216         * buffer.[Ch]: make Buffer's member variables private. Add
1217         accessor functions.
1218
1219         Lots of changes all over the tree as a result.
1220
1221 2003-09-08  Angus Leeming  <leeming@lyx.org>
1222
1223         * graph.C: #include <config.h>.
1224
1225 2003-09-08  Angus Leeming  <leeming@lyx.org>
1226
1227         * BranchList.C:
1228         * BufferView.C:
1229         * BufferView_pimpl.C:
1230         * CutAndPaste.C:
1231         * DepTable.C:
1232         * LaTeX.C:
1233         * LaTeXFeatures.C:
1234         * LyXAction.C:
1235         * MenuBackend.C:
1236         * TextCache.C:
1237         * aspell.C:
1238         * buffer.C:
1239         * bufferlist.C:
1240         * changes.C:
1241         * chset.C:
1242         * converter.C:
1243         * counters.C:
1244         * debug.C:
1245         * graph.C:
1246         * ispell.C:
1247         * lyx_cb.C:
1248         * lyxfind.C:
1249         * lyxfunc.C:
1250         * lyxlex_pimpl.C:
1251         * lyxrc.C:
1252         * lyxrow.C:
1253         * paragraph.C:
1254         * rowpainter.C:
1255         * texrow.C:
1256         * text.C:
1257         * text2.C:
1258         * toc.C: remove redundant using directives.
1259
1260 2003-09-07  Angus Leeming  <leeming@lyx.org>
1261
1262         * LaTeXFeatures.h: remove #include "support/types.h".
1263         * ToolbarBackend.h: remove #include <algorithm>.
1264         * changes.h: remove #include <ctime>.
1265         * debug.h: remove #include <iosfwd>.
1266         * graph.h: remove #include "support/std_string.h".
1267         * lyx_main.h: remove #include <csignal>.
1268         * lyxlex_pimpl.h: remove #include <fstream>.
1269         * sgml.h: remove #include <algorithm>, <utility>.
1270         * toc.h: remove #include "support/std_ostream.h".
1271         Add #include <iosfwd>.
1272
1273 2003-09-07  Angus Leeming  <leeming@lyx.org>
1274
1275         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1276
1277         * converter.h: forward declare LatexRunParams.
1278         * encoding.h: remove #include "lyxrc.h".
1279         * lyxtext.h: remove #include "LColor.h".
1280         * lyxtextclass.h: remove #include "support/types.h".
1281         * trans.h: remove #include "tex-accent.h".
1282         * trans_mgr.h: remove #include "tex-accent.h".
1283         * insets/inset.h: remove #include "support/types.h", <vector>.
1284         * insets/insetcollapsable.h: remove #include "LColor.h".
1285         * insets/insetinclude.h: remove #include "dimension.h".
1286         * insets/insetlatexaccent.h: remove #include "dimension.h".
1287         * insets/insetoptarg.h:: remove #include "insettext.h".
1288         * insets/insettext.h: remove #include "dimension.h",
1289         <boost/shared_ptr.hpp>
1290
1291         * insets/renderers.h: add #include "dimension.h".
1292         * insets/updatableinset.h: add #include "support/types.h".
1293
1294         * many .C files: Associated changes.
1295
1296 2003-09-06  Angus Leeming  <leeming@lyx.org>
1297
1298         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1299         one, inside testInvariant.
1300
1301         * PrinterParams.C: new file.
1302         * PrinterParams.[Ch]: move the function bodies out of line.
1303
1304 2003-09-06  Angus Leeming  <leeming@lyx.org>
1305
1306         * ParagraphParameters.h: forward declare ParameterStruct rather than
1307         including its header file.
1308         (depth): moved out-of-line.
1309
1310 2003-09-06  Angus Leeming  <leeming@lyx.org>
1311
1312         * BufferView_pimpl.h:
1313         * kbmap.h:
1314         * kbsequence.h:
1315         * lyxfunc.h: forward declare LyXKeySym rather than
1316         #include "frontends/LyXKeySym.h".
1317
1318         * BufferView_pimpl.C:
1319         * kbmap.C:
1320         * kbsequence.C:
1321         * lyxfunc.C: associated changes.
1322
1323 2003-09-06  Angus Leeming  <leeming@lyx.org>
1324
1325         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1326         As a result, can remove the #include "insets/inset.h" from BufferView.h
1327
1328 2003-09-06  Angus Leeming  <leeming@lyx.org>
1329
1330         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1331         As a result, can remove the #include "insets/inset.h" from BufferView.h
1332
1333 2003-09-06  Angus Leeming  <leeming@lyx.org>
1334
1335         * buffer_funcs.C:
1336         * buffer.h:
1337         * bufferlist.C:
1338         * BufferView.C:
1339         * bufferview_funcs.C:
1340         * BufferView_pimpl.C:
1341         * CutAndPaste.C:
1342         * lyx_cb.C:
1343         * lyxfunc.C:
1344         * paragraph.h:
1345         * ParagraphParameters.C:
1346         * tabular.C:
1347         * text3.C:
1348         * toc.C:
1349         * undo_funcs.C:
1350         * frontends/controllers/ControlDocument.C:
1351         * insets/insetcaption.C: rearrange the #includes into some sort of
1352         coherent order.
1353
1354         * buffer.h: remove #includes ErrorList.h, undo.h
1355
1356 2003-09-06  Angus Leeming  <leeming@lyx.org>
1357
1358         * support/types.h: add a 'depth_type' typedef, used to store the
1359         nesting depth of a paragraph.
1360
1361         * paragraph.h:
1362         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1363         defining explicitly.
1364
1365         * buffer.h:
1366         * paragraph_funcs.h:
1367         * ParagraphParameters.h:
1368         * sgml.h: use lyx::depth_type rather than Paragraph or
1369         ParameterStruct's depth_type.
1370
1371         * buffer.h
1372         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1373
1374         * BufferView.C:
1375         * BufferView_pimpl.C:
1376         * CutAndPaste.C:
1377         * ParagraphParameters.C:
1378         * buffer_funcs.C:
1379         * bufferlist.C:
1380         * bufferview_funcs.C:
1381         * lyx_cb.C:
1382         * lyxfunc.C:
1383         * tabular.C:
1384         * text3.C:
1385         * toc.C:
1386         * undo_funcs.C:
1387         * frontends/LyXView.C:
1388         * frontends/controllers/ControlDocument.C:
1389         * frontends/controllers/ControlErrorList.C:
1390         * insets/insetbibitem.C:
1391         * insets/insetbranch.C:
1392         * insets/insetcaption.C:
1393         * insets/insetcollapsable.C:
1394         * insets/insetenv.C:
1395         * insets/insetert.C:
1396         * insets/insetfloat.C:
1397         * insets/insetfoot.C:
1398         * insets/insetfootlike.C:
1399         * insets/insetnewline.C:
1400         * insets/insetquotes.C:
1401         * insets/insettabular.C:
1402         * insets/insettext.C:
1403         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1404
1405         * frontends/controllers/ControlChanges.C: #include "changes.h".
1406
1407 2003-09-06  Angus Leeming  <leeming@lyx.org>
1408
1409         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1410         than #including paragraph.h.
1411
1412         * ParagraphList.h:
1413         * RowList.h: deleted. Superfluous.
1414
1415         * CutAndPaste.h:
1416         * iterators.h:
1417         * lyxcursor.h:
1418         * lyxtext.h:
1419         * text_funcs.h:
1420         * undo.h:
1421         * undo_funcs.h:
1422         * insets/inset.h:
1423         * insets/insettext.h: use ParagraphList_fwd.h rather than
1424         ParagraphList.h.
1425
1426         * paragraph.h: don't forward declare ParagraphList.
1427
1428         * buffer.h:
1429         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1430         rather than ParagraphList.h. paragraph.h is still needed for the
1431         Paragraph::depth_type parameters.
1432
1433         * textcursor.h: enable it to compile stand-alone in light of the
1434         above changes.
1435
1436         * bufferview_funcs.C:
1437         * iterators.C:
1438         * lyxfunc.C:
1439         * lyxrow_funcs.C:
1440         * paragraph.C:
1441         * rowpainter.C:
1442         * text.C:
1443         * text2.C:
1444         * text3.C:
1445         * text_funcs.C:
1446         * textcursor.C:
1447         * undo.C:
1448         * frontends/controllers/ControlParagraph.C:
1449         * frontends/controllers/ControlTabular.C:
1450         * insets/insetmarginal.C:
1451         * insets/insetminipage.C:
1452         * insets/insetnote.C:
1453         * insets/insetoptarg.C: add header files needed to compile again.
1454
1455 2003-09-06  Angus Leeming  <leeming@lyx.org>
1456
1457         * RowList_fwd.h: new file, forward-declaring Row rather than
1458         #including lyxrow.h.
1459
1460         * lyxrow_funcs.h:
1461         * lyxtext.h:
1462         * paragraph.h:
1463         * insets/insettext.h: use it instead of RowList.h
1464
1465         * bufferview_funcs.C:
1466         * lyxfunc.C:
1467         * lyxrow_funcs.C:
1468         * paragraph.C:
1469         * rowpainter.C:
1470         * text.C:
1471         * text2.C:
1472         * text3.C: #include "RowList.h".
1473
1474 2003-09-05  Angus Leeming  <leeming@lyx.org>
1475
1476         * factory.C (createInset):
1477         * vspace.C (c-tor): replace sscanf call with an istringstream.
1478         * ispell.C: re-add missing HP/UX headers.
1479         * lyxserver.C: re-add missing  os2 headers.
1480
1481 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1482
1483         * BranchList.C:
1484         * graph.C:
1485         * ispell.C:
1486         * lastfiles.C:
1487         * lyx_cb.C:
1488         * lyxserver.C:
1489         * texrow.C:
1490         * text3.C: re-add missing system headers, needed for 2.95.2.
1491
1492 2003-09-05  Angus Leeming  <leeming@lyx.org>
1493
1494         Changes most place everywhere due to the removal of using directives
1495         from support/std_sstream.h.
1496
1497 2003-09-05  Angus Leeming  <leeming@lyx.org>
1498
1499         Replace LString.h with support/std_string.h,
1500         Lsstream.h with support/std_sstream.h,
1501         support/LIstream.h with support/std_istream.h,
1502         support/LOstream.h with support/std_ostream.h.
1503
1504         Changes resulting throughout the tree.
1505
1506 2003-09-05  Angus Leeming  <leeming@lyx.org>
1507
1508         * sgml.h: ensure that the header file can be compiled stand-alone.
1509         * *.C: strip out redundant #includes. (320 in total.)
1510
1511 2003-09-04  Angus Leeming  <leeming@lyx.org>
1512
1513         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1514         here (from getPackages).
1515
1516         * debug.[Ch]: add a new EXTERNAL tag.
1517
1518 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1519
1520         * text2.C (cursorEnd): simplify
1521         (setCursor): adjust
1522         (getColumnNearX): adjust
1523
1524         * text.C (computeBidiTables): adjust
1525         (fill): adjust
1526
1527         * rowpainter.C (paintChars): adjust
1528         (paintSelection): adjust
1529         (paintChangeBar): adjust
1530         (paintText): adjust
1531
1532         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1533         lastPos instead.
1534         (numberOfSeparators): adjust
1535
1536 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1537
1538         * LyXAction.C:
1539         * box.[Ch]:
1540         * lfuns.h:
1541         * lyxfunc.C:
1542         * text3.C: Restricts the mouse click functionality
1543         of insets like bibtex, include, toc and floatlist to the visible
1544         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1545         up the dialogs. Cursor has to be in front of the inset (i.e.
1546         start of row) for this to function.
1547
1548 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1549
1550         * bufferview_funcs.C (currentState): output row information
1551
1552 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1553
1554         * bufferview_funcs.C (currentState): output paragraph position
1555
1556 2003-09-04  Angus Leeming  <leeming@lyx.org>
1557
1558         * FloatList.h: move out #include "Floating.h".
1559         * LaTeX.h: move out #include "DepTable.h".
1560         * LyXAction.h: move out #include "funcrequest.h".
1561         * buffer.h: move out #include "author.h", "iterators.h".
1562         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1563         * lyx_main.h: move out #include "errorlist.h".
1564         * lyxfunc.h: move out #include "FuncStatus.h".
1565         * lyxtext: move out #include "lyxcursor.h".
1566         * paragraph_pimpl.h: move out #include "counters.h".
1567
1568 2003-09-03  Angus Leeming  <leeming@lyx.org>
1569
1570         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1571         preamble_snippets list, enabling us to add snippets to the preamble
1572         only if the snippet was not there already.
1573
1574 2003-09-04  Angus Leeming  <leeming@lyx.org>
1575
1576         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1577
1578 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1579
1580         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1581         update
1582
1583 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1584
1585         * BranchList.C: point fix, earlier forgotten
1586
1587 2003-09-02  Angus Leeming  <leeming@lyx.org>
1588
1589         * box.C (contains): renamed from 'contained' after a fantastic
1590         amount of hot air.
1591
1592 2003-09-02  John Levon  <levon@movementarian.org>
1593
1594         * BufferView.C:
1595         * lyxcursor.h:
1596         * lyxcursor.C:
1597         * lyxfunc.C:
1598         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1599
1600 2003-09-02  John Levon  <levon@movementarian.org>
1601
1602         * text2.C: simplification of cursorEnd(), including partial
1603         fix for bug 1376
1604
1605 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1606
1607         * buffer.C (readFile): add a space
1608
1609 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1610
1611         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1612
1613 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1614
1615         * buffer.C (readFile): new function, take a filename and a
1616         ParagraphList::iterator
1617         (readFile): adjust
1618         (readFile): adjust, make it private. don't use setStream, make
1619         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1620         always contain the filename.
1621
1622         * BufferView.C (insertLyXFile): simplify and make it work for
1623         gzipped files.
1624
1625 2003-08-30  John Levon  <levon@movementarian.org>
1626
1627         * Makefile.am: fix dist (from Kayvan)
1628
1629 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1630
1631         * most files: change to use const Buffer refs
1632
1633 2003-08-27  André Pönitz  <poenitz@gmx.net>
1634
1635         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1636         on top of ownerPar().
1637
1638 2003-08-27  John Levon  <levon@movementarian.org>
1639
1640         * funcrequest.C: properly initialise POD members
1641
1642 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1643
1644         * lyxtext.h (top_y): move top_y from here
1645         * text.C:
1646         * text2.C:
1647         * text3.C:
1648         * BufferView.[Ch]:
1649         * BufferView_pimpl.[Ch]: to here
1650         * frontends/screen.C:
1651         * insets/insettabular.C:
1652         * insets/insettext.C: adjust
1653         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1654
1655 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1656
1657         * BufferView.[Ch]:
1658         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1659
1660 2003-08-26  André Pönitz  <poenitz@gmx.net>
1661
1662         * paragraph_func.[Ch] (outerPar): new function
1663
1664         * paragraph.C:
1665         * paragraph_funcs.C:
1666         * paragraph_funcs.h:
1667         * paragraph_pimpl.C:
1668         * text2.C: remove Inset::par_owner
1669
1670 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1671
1672         * lyxrow_funcs.C:
1673         * lyxtext.h:
1674         * text.C:
1675         * text2.C: eliminates the needFullRow/display() stuff
1676         altogether, putting the logic in metrics/draw in the insets.
1677
1678 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1679
1680         * text2.C (redoParagraphInternal, redoParagraphs):
1681         * text.C (redoParagraph): add a call to updateRowPositions at the
1682         end of each 'metrics-like' call. Remove all others.
1683         (getRow): remove the 'y-computing' version.
1684         (getRowNearY): do not compute nor return the real y. Solve the
1685         'y < 0' problem and simplify.
1686
1687 2003-08-22  Angus Leeming  <leeming@lyx.org>
1688
1689         * *.[Ch]: clean-up of licence and author blurbs.
1690         Also move config.h out of a few .h files and into a few .C files.
1691
1692 2003-08-22  André Pönitz  <poenitz@gmx.net>
1693
1694         * lyxrow.[Ch]: add x_ and *fill_ members
1695
1696         * lyxtext.h:
1697         * text.C:
1698         * rowpainter.C:
1699         * text2.C: adjust/remove prepareToPrint() calls
1700
1701 2003-08-22  André Pönitz  <poenitz@gmx.net>
1702
1703         * lyxrow.[Ch]: add  end_ member
1704
1705         * lyxrow_funcs.C: use LyXRow::end_
1706
1707         * lyxtext.h (singleWidth): add LyXFont parameter
1708
1709         * rowpainter.C:
1710         * text2.C: adjust LyXText::singleWidth() calls
1711
1712         * text.C (redoParagraph): simplify row breaking logic
1713
1714
1715 2003-08-19  André Pönitz  <poenitz@gmx.net>
1716
1717         * funcrequest.C: initialize button_ member
1718
1719         * text3.C:
1720         * rowpainter.[Ch]: interface consolidation
1721
1722 2003-08-18  André Pönitz  <poenitz@gmx.net>
1723
1724         * BufferView.C:
1725         * BufferView_pimpl.C:
1726         * lyxfind.C:
1727         * paragraph_funcs.C:
1728         * rowpainter.C:
1729         * text3.C: remove LyXScreen::draw() and fitCursor calls
1730
1731         * BranchList.h: remove spurious semicolons
1732
1733         * MenuBackend.C: fix branchlist related crash
1734
1735 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1736
1737         * BranchList.[Ch]:
1738         * InsetList.[Ch]:
1739         * LColor.[Ch]:
1740         * LyXAction.C:
1741         * Makefile.am:
1742         * MenuBackend.[Ch]:
1743         * bufferparams.[Ch]:
1744         * factory.C:
1745         * lfuns.h:
1746         * lyxfunc.C:
1747         * text3.C: implements the 'branch inset'
1748         idea. This allows the output of various versions of a document
1749         from a single source version, selectively outputing or suppressing
1750         output of parts of the text.
1751         This implementation contains a 'branch list editor' in a separate
1752         tab of the document settings dialog. Branches are user definable
1753         and have a "display colour" to distinguish them on-screen.
1754
1755         ColorHandler was somewhat cleaned up.
1756         (1) make possible a dynamically growing LColor list by allowing
1757         the graphic context cache to grow along (vector);
1758         (2) eliminate an IMHO unnecessary step in colour allocation.
1759
1760 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1761
1762         * BufferView_pimpl.C: compile fix
1763
1764 2003-08-15  André Pönitz  <poenitz@gmx.net>
1765
1766         * rowpainter.C: remove extra metrics calls
1767
1768         * lyxtext.h: merge the two constructors into a single one,
1769           pass reference to owner's par list
1770
1771         * BufferView_pimpl.C:
1772         * text.C:
1773         * text2.C: adjust
1774
1775 2003-08-15  André Pönitz  <poenitz@gmx.net>
1776
1777         * lyxrow_funcs.[Ch]:
1778         * lyxtext.h:
1779         * paragraph.h:
1780         * paragraph_funcs.C:
1781         * rowpainter.C:
1782         * text.C:
1783         * text2.C:
1784         * text3.C:
1785         * text_funcs.C: split LyXText::rowlist_ into individual
1786         Paragraph::rows_ chunks
1787
1788         * BufferView.[Ch]:
1789         * BufferView_pimpl.[Ch]:
1790         * lyxfind.C:
1791         * lyxtext.h:
1792         * text3.C: remove toggleSelection()
1793
1794 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1795
1796         * bufferlist.C: beautify two alerts (shorter text of buttons)
1797         * buffer.C: Remove redundant ' ' from message
1798         * tabular.h:
1799         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1800         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1801         rename VALIGN_CENTER to VALIGN_MIDDLE
1802
1803 2003-08-11  André Pönitz  <poenitz@gmx.net>
1804
1805         * lyxtext.h (getPar):
1806         * text.C: new function
1807
1808 2003-08-11  André Pönitz  <poenitz@gmx.net>
1809
1810         * Makefile.am:
1811         * tracer.[Ch]: remove unneeded files
1812
1813         * InsetList.[Ch]: remove resizeInsetsLyXText()
1814
1815         * lyxtext.h:
1816         * text.C:
1817         * text2.C:
1818         * text3.C: merge insertParagraphs() and appendParagraph()
1819         remove breakAgain(), update()
1820
1821         * BufferView_pimpl.[Ch]:
1822         * bufferview_funcs.[Ch]:
1823         * lyxfunc.C:
1824         * paragraph.[Ch]:
1825         * rowpainter.C:
1826         * tabular.C: adjust after text & InsetList changes.
1827
1828 2003-08-08  André Pönitz  <poenitz@gmx.net>
1829
1830         * text.C (insertChar, backspace): replace rowlist fiddling
1831         with rebreak of full par
1832
1833         * lyxtext.h:
1834         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1835         checkParagraph, updateInset): removed
1836
1837 2003-08-07  André Pönitz  <poenitz@gmx.net>
1838
1839         * paragraph.C:
1840         * text3.C: merge some LFUN handlers, remove dead code
1841
1842 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1843
1844         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1845
1846 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1847
1848         * text2.C (DEPM): fix part of bug 1255 and 1256
1849
1850 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1851
1852         * BufferView_pimpl.C (workAreaDispatch): change to use
1853         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1854         that are no mouse related.
1855
1856 2003-08-05  André Pönitz  <poenitz@gmx.net>
1857
1858         * BufferView.[Ch]:
1859         * BufferView_pimpl.[Ch]:
1860         * bufferview_funcs.C:
1861         * text2.C:
1862         * text3.C: rip out "deep update"
1863
1864         * textcursor.[Ch] (last_sel_cursor): remove unused member
1865
1866 2003-08-04  André Pönitz  <poenitz@gmx.net>
1867
1868         * BufferView.[Ch]:
1869         * BufferView_pimpl.[Ch]:
1870         * ParagraphParameters.C:
1871         * bufferview_funcs.C:
1872         * lyx_cb.C:
1873         * lyxfind.C:
1874         * lyxfunc.C:
1875         * text.C:
1876         * text2.C:
1877         * text3.C: replace "complicated" BufferView::update(...) calls with
1878         simpler ones.
1879
1880         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1881
1882 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1883
1884         * Makefile.am (lyx_SOURCES): add paper.h
1885
1886 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1887
1888         * Makefile.am: move things around so that both lyx-qt and
1889         lyx-xforms can be built (according to --with-frontend). Then lyx
1890         is a symbolic link to lyx-[firstfrontend]
1891
1892 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1893
1894         * Always use std::endl with lyxerr
1895
1896 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1897
1898         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1899
1900 2003-08-01  André Pönitz  <poenitz@gmx.net>
1901
1902         * BufferView.[Ch]:
1903         * BufferView_pimpl.[Ch]:
1904         * lyxfunc.C:
1905         * text3.C: merge BufferView::repaint() and BufferView::update()
1906
1907 2003-08-01  José Matos  <jamatos@lyx.org>
1908
1909         * buffer.[Ch]: file_format is no longer a buffer data element.
1910
1911 2003-08-01  André Pönitz  <poenitz@gmx.net>
1912
1913         * BufferView.C:
1914         * lyxtext.h:
1915         * text.C:
1916         * text2.C: make redoParagraph more independent of current cursor
1917
1918         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1919         * text.C:
1920         * text2.C: remove unneeded members
1921
1922 2003-07-30  André Pönitz  <poenitz@gmx.net>
1923
1924         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1925
1926         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1927           create a single function...
1928
1929         * paragraph_funcs.C (moveItem): ... here.
1930
1931         * text.C:
1932           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1933
1934 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1935
1936         * LColor.[Ch]: Add comment and greyedout logical colors.
1937
1938 2003-07-30  André Pönitz  <poenitz@gmx.net>
1939
1940         * tabular.C: don't use Assert too heavily. This crashes where it
1941           shouldn't
1942
1943 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1944
1945         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1946         is disabled (bug 1232)
1947
1948 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1949
1950         * factory.C: limited 'arg' scope
1951
1952 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1953
1954         * factory.C: fixed Note submenu issues
1955
1956 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1957
1958         * factory.C: submenu for Note/Comment/Greyedout
1959
1960 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1961
1962         * lyx_main.C (LyX):
1963         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1964
1965 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1966
1967         * LaTeXFeatures.C:
1968         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1969         greyedout. Patch provided by Jürgen Spitzmüller.
1970
1971 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1972
1973         * kbmap.C (read): fix error message when reading bind files
1974
1975 2003-07-29  Angus Leeming  <leeming@lyx.org>
1976
1977         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1978         certainly does not do what it purports to do. I am doing it, and
1979         us, a favour by killing it.
1980
1981 2003-07-28  José Matos  <jamatos@lyx.org>
1982
1983         * buffer.C (readBody, do_writeFile):
1984         * paragraph.C(readParagraph): \end_document replaces \the_end.
1985
1986 2003-07-29  André Pönitz  <poenitz@gmx.net>
1987
1988         * BufferView.[Ch]:
1989         * BufferView_pimpl.[Ch]:
1990         * lyxfunc.C:
1991         * text2.C:
1992         * text3.C:
1993         * textcursor.[Ch]: remove toggleToggle & Co
1994
1995 2003-07-28  José Matos  <jamatos@fep.up.pt>
1996
1997         * buffer.C (readParagraph):
1998         * params_func (readParToken, readParagraph):
1999         * paragraph.C (write): \layout -> \begin_layout.
2000
2001 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2002
2003         * lyxlex_pimpl.C (setFile): clean up slightly.
2004
2005         * bufferparams.h: add compressed var
2006
2007         * buffer_funcs.C (readFile): adjust for LyXLex change
2008         (newFile): ditto + simplify
2009
2010         * buffer.C (writeFile): handle writing of compressed files
2011
2012         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2013         Check if the file is compressed and set a bufferparm if so.
2014
2015         * Makefile.am (lyx_LDADD): remove explicit -lz
2016
2017 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2018
2019         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2020         makeDocBookFile): put the real LyX version in the first line of
2021         the file
2022
2023         * version.h:
2024         * version.C.in: remove lyx_docversion
2025
2026         * tabular.C (write_attribute): add a template-based version to
2027         write enums properly
2028
2029 2003-07-28  André Pönitz  <poenitz@gmx.net>
2030
2031         * lyxtext.h:
2032         * text.C:
2033         * text2.C:
2034         * text3.C: use doubles again for x-coordinates. They are needed.
2035
2036 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2037
2038         * messages.C (getLocaleDir): use lyx_localedir()
2039
2040         * lyxlex_pimpl.C (setFile): compress stuff
2041
2042         * buffer.C (writeFile): add some compression stuff
2043         (do_writeFile): new func, dont call expliti close... will this
2044         breake anything?
2045
2046         * Makefile.am (lyx_LDADD): add -lz
2047
2048 2003-07-28  José Matos  <jamatos@fep.up.pt>
2049
2050         * buffer.C: increment file format.
2051         * paragraph_funcs (readParagraph, readParToken):
2052         * paragraph.C (readParagraph): add \end_layout.
2053
2054 2003-07-27  Angus Leeming  <leeming@lyx.org>
2055
2056         * Makefile.am: remove special casing for configure-time setting of
2057         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2058
2059         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2060         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2061
2062 2003-07-26  André Pönitz  <poenitz@gmx.net>
2063
2064         * paragraph_func.[Ch]:
2065         * paragraph.C (realizeFont): inline it whereever it is used
2066
2067         * rowpainter.C:
2068         * text.C:
2069         * text2.C:
2070         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2071
2072
2073 2003-07-26  André Pönitz  <poenitz@gmx.net>
2074
2075         *       lyxtext.h:
2076         * text.C:
2077         * text2.C: get rid of LyXText::need_break_row
2078
2079 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2080
2081         * toc.[Ch]: put namespace toc inside namespace lyx
2082
2083         * MenuBackend.C (expandToc2): adjust for lyx::toc
2084         (expandToc): ditto
2085
2086         * lyxfunc.C (dispatch): adjust for lyx::find
2087
2088         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2089         lyx::find instead. Reorganize a bit.
2090         (LyXReplace): rename to replace
2091         (LyXFind): rename to find
2092
2093         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2094         (dispatch): ditto
2095
2096 2003-07-26  André Pönitz  <poenitz@gmx.net>
2097
2098         * text.C (setHeightOfRow): restrict scope of temporary variable
2099
2100         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2101           code (never has been used?)
2102
2103 2003-07-27  Asger Alstrup  <alstrup@local>
2104
2105         * text.C (fill): Optimise algorithm to exploit that we can reuse
2106         the LyXFont for many characters.
2107         (setHeightOfRow): Same thing.
2108         (rowBreakPoint): Same thing.
2109
2110 2003-07-26  Asger Alstrup  <alstrup@local>
2111
2112         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2113
2114         * text.C (singleWidth): Spurious font copying in hot-spot
2115         singleWidth avoided. Reorder tests for arabic for efficiency.
2116
2117         * text.C (fill): handle empty paragraphs better.
2118
2119 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2120
2121         * ispell.C:
2122         * encoding.h: add includes
2123
2124         * lyxrc.C: remove reading of bind files
2125
2126         * lyx_main.C (init): setup bindings and menus only if we have a
2127         gui.
2128
2129         * kbmap.C (read): new method. Do the actual reading of bind
2130         files.
2131
2132         * converter.C (dvipdfm_options):
2133         * bufferparams.C:
2134         * lyxrc.C (read):
2135         (output): adapt PAPER_* enums.
2136
2137         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2138
2139         * bufferparams.h: remove paper-related enums from there
2140
2141         * paper.h: New file. A trivial header file to hold paper-related
2142         enums. It should later expand to contain many paper-related
2143         horrors access.
2144
2145         * lyxrc.C: declare extern displayTranslator
2146
2147 2003-07-27  José Matos  <jamatos@fep.up.pt>
2148
2149         * tabular.[Ch] (linuxdoc): add support for tables and figures
2150         (linuxdoc).
2151
2152 2003-07-27  José Matos  <jamatos@fep.up.pt>
2153
2154         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2155         consistency in both functions.
2156         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2157
2158 2003-07-26  Asger Alstrup  <alstrup@local>
2159
2160         * rowpainter.C (paintRows): Change algorithm to work directly on
2161         the insets rather than asking every character in the document
2162         whether its an inset.
2163
2164 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2165
2166         * buffer.C (openFileWrite): factorize some code
2167
2168 2003-07-26  Angus Leeming  <leeming@lyx.org>
2169
2170         * lyx_cb.C:
2171         * lyx_main.[Ch]: replace occurances of system_tempdir with
2172         os::getTmpDir().
2173
2174 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2175
2176         * rename Inset to InsetOld
2177
2178 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2179
2180         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2181         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2182         which I think is a bit clearer. EDIT is gone, since it was
2183         premature optimisation, and broken for mathed anyway.
2184         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2185         with cursor positioning in insets as well (math insets still do not
2186         work, but that's a different story anyway.) It mysteriously
2187         crashes sometimes with undo in the first paragraph, but I'm fairly
2188         confident that this is a compiler bug.
2189
2190 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2191
2192         * paragraph.C (Paragraph): adjust for new clone return type
2193         (operator==): ditto
2194         (copyIntoMinibuffer): ditto
2195
2196 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2197
2198         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2199         by not having a special case, and always doing a full rebreak of
2200         the document after undo.
2201
2202 2003-07-23  Angus Leeming  <leeming@lyx.org>
2203
2204         * factory.C (createInset): InsetExternal::setParams now takes a
2205         Buffer const * arg.
2206
2207 2003-07-23  Angus Leeming  <leeming@lyx.org>
2208
2209         * factory.C (createInset): changed interface to the external and
2210         graphics mailers' string2params functions.
2211
2212 2003-07-23  Angus Leeming  <leeming@lyx.org>
2213
2214         * factory.C (createInset): pass a
2215         Buffer const * parameter to InsetExternalMailer's string2params.
2216
2217 2003-07-22  John Levon  <levon@movementarian.org>
2218
2219         * Thesaurus.h: include the right aiksaurus header
2220
2221 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2222
2223         * MenuBackend.C (expand): check menu shortcuts unconditionally
2224
2225 2003-07-21  Angus Leeming  <leeming@lyx.org>
2226
2227         * factory.C (createInset): pass a
2228         buffer_path parameter to InsetGraphicsMailer's string2params.
2229
2230 2003-07-21  Angus Leeming  <leeming@lyx.org>
2231
2232         * BufferView_pimpl.C (buffer):
2233         * buffer.C (d-tor):
2234         * lyx_main.C (LyX):
2235         * lyxfunc.C (dispatch):
2236         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2237         rather than the grfx shortcut.
2238
2239 2003-07-21  André Pönitz  <poenitz@gmx.net>
2240
2241         * rowpainter.C: remove unused variables
2242
2243         * tabular_funcs.C:
2244         * tabular_funcs.h: move to tabular.C
2245         * Makefile.am: adjust
2246
2247         * tabular.[Ch]: basic optical cleaning
2248
2249         * author.h: pass references, not values
2250
2251 2003-07-18  André Pönitz  <poenitz@gmx.net>
2252
2253         * lyxtext.h:
2254         * metricsinfo.C:
2255         * metricsinfo.h:
2256         * rowpainter.C:
2257         * text.C:
2258         * text2.C:
2259         * text3.C: two-phase drawing for InsetText and InsetTabular
2260         some float -> int changes.
2261
2262 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2263
2264         * lyx_main.C: fix the fix
2265
2266 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2267
2268         * lyx_main.C: fix a crash in batch mode if no files specified
2269         * converter.C: ws
2270
2271 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2272
2273         * format.[Ch] (papersize): moved to BufferParams
2274         * converter.[Ch] (dvips_options): moved to BufferParams
2275         (dvipdfm_options): moved to anon namespace
2276         * bufferparams.[Ch]: added above functions.
2277
2278 2003-07-17  André Pönitz  <poenitz@gmx.net>
2279
2280         * lyxtext.h:
2281         * rowpainter.C:
2282         * text2.C: don't call inset->update() anymore
2283
2284         * metricsinfo.[Ch]: add convenience constructor
2285
2286 2003-07-16  André Pönitz  <poenitz@gmx.net>
2287
2288         * lyxcursor.[Ch]:
2289         * lyxfunc.[Ch]:
2290         * text.C:
2291         * text2.C: replace the LyXCursor::irow_ member with
2292          on-demand computation of the value
2293
2294 2003-07-16  John Levon  <levon@movementarian.org>
2295
2296         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2297
2298 2003-07-15  André Pönitz  <poenitz@gmx.net>
2299
2300         * text.C:
2301         * text2.C: remove no more needed refresh_row
2302
2303 2003-07-15  André Pönitz  <poenitz@gmx.net>
2304
2305         * lyxtext.h:
2306         * rowpainter.C:
2307         * text2.C:
2308         * text3.C: refresh_status tristate -> need_update bool
2309
2310 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2311
2312         * lyxtext.h (init): remove reinit argument (act as if always true)
2313         * text2.C: adjust to that
2314
2315 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2316
2317         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2318         * text3.C: use it to delete selections in some cases
2319         (bugs 441, 673, 702, 954).
2320
2321 2003-07-14  André Pönitz  <poenitz@gmx.net>
2322
2323         * rowpainter.[Ch]: reduce interface
2324
2325 2003-07-14  André Pönitz  <poenitz@gmx.net>
2326
2327         * BufferView_pimpl.C:
2328         * text2.C: adjust after removing unused BufferView * argument
2329
2330 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2331
2332         * text2.C (init): fix a crash fired on resize
2333
2334 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2335
2336         * buffer.[Ch]: added new closing signal
2337         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2338         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2339         BufferView::Pimpl via the closing the signal
2340
2341 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2342
2343         * buffer.[Ch]: take out all bv-related from buffer
2344         * BufferView.C:
2345         * BufferView_pimpl.[Ch]: connect to new signals
2346         * CutAndPaste.C: removed useless asserts
2347         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2348         * lyxvc.[Ch]:
2349         * vc-backend.[Ch]:
2350         * lyxfunc.C: moved view-related funciontality from vc here
2351         * paragraph.C: removed outdated comments
2352         * text.C: ws
2353
2354 2003-07-10  André Pönitz  <poenitz@gmx.net>
2355
2356         * BufferView_pimpl.C:
2357         * tabular.h:
2358         * tabular_funcs.C:
2359         * text.C:
2360         * text2.C: remove InsetText::InnerCache, clean up consequences
2361
2362 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2363
2364         * ispell.C: fix two typos in error messages
2365
2366 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2367
2368         * Extend Note inset to other forms of annotation like Comment
2369         and Greyedout. Right button click gives dialog.
2370
2371         Files modified or added (+):
2372
2373         * insetnote.[Ch]
2374         * FormNote.[Ch]      +
2375         * ControlNote.[Ch]   +
2376         * form_note.fd       +
2377         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2378         frontends/controllers
2379         * xforms/Dialogs.C
2380         * factory.C
2381
2382 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2383
2384         * aspell.C: add missing namespace lyx::support
2385
2386 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2387
2388         * BufferView.[Ch] (newFile): Add
2389         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2390         * LaTeX.[Ch] (message): added this signal and use it
2391         * buffer.[Ch] (busy, message): added these signals and use them
2392         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2393         * converter.C:
2394         * exporter.C:
2395         * format.C:
2396         * importer.C: use buffer signals instead of direct bv calling
2397         * lyx_cb.[Ch] (ShowMessage): removed
2398         * lyx_main.C:
2399         * lyxfunc.C:
2400         * paragraph_funcs.C:
2401         * text2.C: use buffer signals
2402
2403 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2404
2405         * introduce namespace lyx::graphics
2406
2407 2003-07-02  André Pönitz  <poenitz@gmx.net>
2408
2409         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2410
2411 2003-07-01  André Pönitz  <poenitz@gmx.net>
2412
2413         * text.C:
2414         * text2.C:
2415         * text3.C:
2416         * text_funcs.[Ch]:
2417         * textcursor.h:
2418         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2419           text*.C to text_func.C
2420
2421 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2422
2423         * introduce namespace lyx::support
2424
2425 2003-06-30  André Pönitz  <poenitz@gmx.net>
2426
2427         * Chktex.C:
2428         * funcrequest.C:
2429         * lyxtext.h:
2430         * text.C: re-enable --with-included-string
2431
2432 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2433
2434         * textcursor.C: add <config.h>
2435
2436         * text.C (getWord): remove const from word_location arg
2437
2438         * lyxvc.C (getLogFile): fix const type order
2439
2440         * lyxtext.h: remove const from word_location arg, add arg name
2441
2442         * lyxlayout.h: currect type on labeltype.
2443
2444         * importer.C: correct \file
2445
2446         * converter.C (intToFormat): use std:: on ret val, ws changes
2447
2448         * bufferlist.h: correct \file
2449
2450         * buffer.C (makeLinuxDocFile): fix const type order
2451         (makeDocBookFile): ditto
2452         (fillWithBibKeys): use std:: on stdlib args.
2453
2454         * CutAndPaste.C: fix authors.
2455         (availableSelections): use std:: on return vector
2456
2457 2003-06-27  André Pönitz  <poenitz@gmx.net>
2458
2459         * BufferView_pimpl.C:
2460         * bufferview_funcs.C:
2461         * lyxcursor.C:
2462         * lyxcursor.h:
2463         * lyxfunc.C:
2464         * lyxtext.h:
2465         * rowpainter.C:
2466         * text.C:
2467         * text2.C:
2468         * text3.C: remove LyXCursor::row_ member
2469
2470         * lyxtext.h:
2471         * text.C: rename fullRebreak() to partialRebreak() and implement
2472           a fullRebreak() that really bereks fully
2473
2474         * textcursor.h: new struct for cursor-related data
2475
2476 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2477
2478         * lyx_main.C (LyX): get full path of document loaded on the
2479         command line
2480
2481 2003-06-26  André Pönitz  <poenitz@gmx.net>
2482
2483         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2484           remove unused/broken operator>,<,>=.
2485
2486         *       text.C: remove only use of broken operator<= in an Assert().
2487
2488 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2489
2490         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2491         moved errorlist_.clear to showErrorList
2492
2493 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2494
2495         * converter.C (scanLog, runLaTeX):
2496         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2497         move the bv->showErrorList call to the callers
2498         * lyxfunc.C: i.e. here...
2499         * text2.C: and here
2500         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2501         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2502         namespace, the second to...
2503         * buffer_funcs (BufferFormat, parseErrors): added
2504         * errorlist.C (ErrorList(TeXErrors const &)): removed
2505
2506 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2507
2508         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2509
2510 2003-06-24  "Garst R. Reese" <reese@isn.net>
2511
2512         * debug.C: fix typo
2513
2514 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2515
2516         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2517
2518         * version.C.in: change docversion to 1.4
2519
2520 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2521
2522         * buffer.C: fix a bug just introduced
2523
2524 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2525
2526         * buffer.[Ch]: added the parseError signal and use it, removed
2527         sgmlError
2528         * BufferView.[Ch] (addError): moved to ...
2529         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2530         to the Buffer::parseError signal to catch (guess what) parse errors
2531         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2532
2533 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2534
2535         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2536         ability to create a buffer and to return an existing one from
2537         the list. Moved these functions to...
2538         * buffer_funcs.[Ch]: added
2539         * BufferView.[Ch] (loadLyXFile): added
2540         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2541         job removed from bufferlist::loadLyXFile.
2542         * buffer.C (setReadOnly): make it work without view
2543         (i.e added an if (users))
2544
2545 2003-06-19  Angus Leeming  <leeming@lyx.org>
2546
2547         * lfuns.h:
2548         * LyXAction.C (init):
2549         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2550         with LFUN_DIALOG_SHOW <name> <data>.
2551
2552 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2553
2554         * CutAndPaste.C (availableSelections): small compilation fix for
2555         ancient (gcc 2.9x) compilers
2556
2557 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2558
2559         * text3.C (cursorNext): add tmp var
2560
2561         * text2.C (updateCounters): for function calling out of for clause
2562         (replaceSelectionWithString): ditto
2563         (insertStringAsParagraphs): ditto
2564         (getColumnNearX): add tmp var
2565         (setCursorFromCoordinates): add tmp var
2566         (cursorDownParagraph): add tmp var
2567         (deleteEmptyParagraphMechanism): add tmp var
2568
2569         * text.C (insertChar): add tmp var
2570
2571         * rowpainter.C (paintDepthBar): add tmp var
2572
2573         * CutAndPaste.C (availableSelections): potentially check all
2574         paragraphs in a cut to fill the shown strings.
2575
2576 2003-06-18  André Pönitz  <poenitz@gmx.net>
2577
2578         * kbmap.[Ch]: use vector<> instead of list<>
2579
2580 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2581
2582         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2583         pasteSelection with index
2584
2585         * text2.C (pasteSelection): modify, call pasteSelection with index
2586
2587         * paragraph.C (asString): reimplement version with no interval to
2588         call the one with interval.
2589
2590         * lyxtext.h: add index arg to pasteSelection
2591
2592         * MenuBackend.C (MenuItem): handle PasteRecent
2593         (Menu::read::Menutags): add md_pasterecent
2594         (read): handle it
2595         (expandPasteRecent): new function
2596         (expand): use it
2597
2598         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2599
2600         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2601         the limited stack
2602         (availableSelections): new function
2603
2604 2003-06-17  Angus Leeming  <leeming@lyx.org>
2605
2606         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2607
2608 2003-06-17  Angus Leeming  <leeming@lyx.org>
2609
2610         * lfuns.h:
2611         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2612
2613         * lyxfunc.C (dispatch): invoke it.
2614
2615 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2616
2617         * iterators.C (operator++, ParPosition): reintroduce some
2618         const_cast for the benefit of older compilers.
2619
2620 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2621
2622         * text3.C (dispatch): do not modify clipboard when doing
2623         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2624         LFUN_DELETE_SKIP on a selection selection
2625
2626 2003-06-16  André Pönitz  <poenitz@gmx.net>
2627
2628         * BufferView.C:
2629         * buffer.C:
2630         * buffer.h:
2631         * paragraph.C:
2632         * tabular.[Ch]: IU of clone() and getLabelList();
2633
2634 2003-06-13  André Pönitz  <poenitz@gmx.net>
2635
2636         * tabular.h: compactification
2637
2638 2003-06-12  André Pönitz  <poenitz@gmx.net>
2639
2640         * tabular.C:
2641         * tabular.h:
2642         * tabular_funcs.h: some renaming plus whitespace
2643
2644 2003-06-12  André Pönitz  <poenitz@gmx.net>
2645
2646         * BufferView.C:
2647         * BufferView_pimpl.C:
2648         * CutAndPaste.C:
2649         * buffer.C:
2650         * iterators.[Ch]:
2651         * lyxfunc.C:
2652         * text.C:
2653         * toc.C: Return a Paragraph & for ParIterator::operator*()
2654
2655 2003-06-11  John Levon  <levon@movementarian.org>
2656
2657         * lyx_main.C:
2658         * ToolbarBackend.h:
2659         * ToolbarBackend.C: add "Toolbars" section and
2660         put the flags there
2661
2662 2003-06-10  Angus Leeming  <leeming@lyx.org>
2663
2664         * lfuns.h:
2665         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2666
2667         * lyxfunc.C (dispatch): invoke it.
2668
2669 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2670
2671         * main.C: protect <ios> with HAVE_IOS
2672         (main): protect sync_with_stdio with HAVE_IOS
2673
2674 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2675
2676         * text2.C (cutSelection): adjust
2677         (pasteSelection): adjust
2678
2679         * messages.C: handle get of empty string
2680
2681         * main.C (main): use sync_with_stdio(false)
2682
2683         * lyxfunc.C (dispatch): adjust
2684
2685         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2686         (WriteAs): remove unneeded BufferView arg.
2687
2688         * bufferparams.h: use correct types on papersize, papersize2 and
2689         paperpackage.
2690
2691         * bufferparams.C (readToken): adjust for type
2692         (writeLaTeX): add missing cases to switch.
2693
2694         * bufferlist.C (quitWriteBuffer): adjust
2695         (close): adjust
2696
2697         * buffer.C (asciiParagraph): remove some commented code.
2698
2699         * CutAndPaste.C: remove current_view extern variable.
2700         (cutSelection): add BufferParams arg.
2701         (eraseSelection): add BufferParams arg.
2702         (pasteSelection): add Buffer const & arg
2703
2704 2003-06-07  John Levon  <levon@movementarian.org>
2705
2706         * buffer.C:
2707         * paragraph_funcs.C:
2708         * paragraph_pimpl.C:
2709         * text.C:
2710         * text2.C:
2711         * paragraph.h:
2712         * paragraph.C: allow InsetERT to freely space lines,
2713         and some consolidation of code
2714
2715 2003-06-06  José Matos  <jamatos@fep.up.pt>
2716
2717         * buffer.C (makeDocBookFile): fix bug #821
2718
2719 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2720
2721         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2722
2723 2003-06-04  Angus Leeming  <leeming@lyx.org>
2724
2725         * buffer.C: bump format to 224.
2726
2727 2003-06-05  André Pönitz  <poenitz@gmx.net>
2728
2729         * text2.C (redoParagraphs): remove two const_cast<>
2730
2731 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2732
2733         * ParagraphList.h: remove last remnants of NO_STD_LIST
2734
2735 2003-06-03  Angus Leeming  <leeming@lyx.org>
2736
2737         * factory.C (createInset): small change to the way InsetExternal's params
2738         are set.
2739
2740 2003-06-04  André Pönitz  <poenitz@gmx.net>
2741
2742         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2743
2744         * paragraph_pimpl.h:
2745         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2746
2747         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2748
2749         * undo_funcs.C: make some simple cases of undo work again
2750
2751 2003-06-03  John Levon  <levon@movementarian.org>
2752
2753         * ispell.C: HPUX doesn't have sys/select.h
2754         (from Albert Chin)
2755
2756 2003-06-03  John Levon  <levon@movementarian.org>
2757
2758         * CutAndPaste.C: update tabular and include inset
2759         buffer references
2760
2761         * buffer.h:
2762         * paragraph.h:
2763         * paragraph.C: remove owningBuffer(), don't pass Buffer
2764         to clone()
2765
2766         * factory.C: insetGraphicsParams changed
2767
2768 2003-06-02  John Levon  <levon@movementarian.org>
2769
2770         * LyXAction.C:
2771         * factory.C:
2772         * lfuns.h:
2773         * lyxfunc.C:
2774         * text3.C: remove insetparent
2775
2776 2003-06-02  John Levon  <levon@movementarian.org>
2777
2778         * buffer.h:
2779         * buffer.C: fix inset_iterator.end(), move out of line
2780         (bug 1149)
2781
2782 2003-06-01  John Levon  <levon@movementarian.org>
2783
2784         * text3.C: use a proper cut/paste when doing inset
2785         insert (from Jürgen Spitzmüller)
2786
2787 2003-06-01  John Levon  <levon@movementarian.org>
2788
2789         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2790
2791 2003-05-30  André Pönitz  <poenitz@gmx.net>
2792
2793         * rowpainter.C: unify second drawing phase
2794
2795 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2796
2797         * trans_mgr.C: remove one case of current_view
2798
2799         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2800
2801         * paragraph_funcs.h: remove paragraph.h include
2802
2803         * paragraph.h: delete NO_STD_LIST stuff
2804
2805         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2806
2807         * buffer.h: remove paragraph.h include
2808
2809         * ParagraphList.C: delete file
2810
2811         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2812
2813         * toc.C (getTocList): adjust
2814
2815         * paragraph_pimpl.C (validate): adjust
2816
2817         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2818
2819         * paragraph.C (Paragraph): adjust
2820         (getPositionOfInset): use const_iterator, adjust
2821         (bibitem): use const_iterator, adjust
2822         (setInsetOwner): adjust
2823
2824         * iterators.C (operator++): adjust
2825
2826         * InsetList.[Ch]: Replace selfmade iterator with standard
2827         vector::iterator also introduce const_iterator. Remove getPos,
2828         getInset and setInset from InsetTable. Adjust accordingly.
2829
2830         * BufferView.C (lockInset): adjust
2831         (ChangeInsets): adjust
2832
2833         * tabular.[Ch]: delete commented same_id functions
2834
2835 2003-05-28  John Levon  <levon@movementarian.org>
2836
2837         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2838
2839 2003-05-28  André Pönitz  <poenitz@gmx.net>
2840
2841         * metricsinfo.[Ch]: remove 'fullredraw' member
2842
2843 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2844
2845         * lyxtextclass.C (operator): remove caching.
2846
2847 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2848
2849         * text3.C: adjust
2850
2851         * text2.C (cursorBottom): adjust
2852         (setCounter): use ParagraphList::find, adjust
2853
2854         * text.C (workWidth): use ParagraphList::find, adjust
2855
2856         * lyxcursor.C (LyXCursor): adjust
2857
2858         * buffer.C (inset_iterator): adjust
2859
2860         * ParagraphList.h: make iterator(value_type) private, make
2861         ParagraphList a friend of iterator.
2862
2863         * ParagraphList.C (find): new function
2864
2865         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2866
2867 2003-05-27  André Pönitz  <poenitz@gmx.net>
2868
2869         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2870
2871 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2872
2873         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2874
2875 2003-05-26  John Levon  <levon@movementarian.org>
2876
2877         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2878
2879 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2880
2881         * remove same_id from function signatures, adjust.
2882
2883 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2884
2885         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2886
2887         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2888
2889         * paragraph.C (Paragraph): get rid of same_ids parameter
2890
2891         * ParagraphList.C (insert): adjust
2892         (push_back): adjust
2893
2894 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2895
2896         * paragraph_funcs.C (breakParagraph): adjust
2897         (breakParagraphConservative): adjust
2898
2899         * buffer.C (readParagraph): adjust
2900
2901         * ParagraphList.C (insert): take a reference instead of a pointer
2902         (insert): adjust
2903
2904         * paragraph.[Ch] (id): new function
2905
2906         * bufferlist.C (newFile): adjust
2907
2908         * ParagraphList.C (ParagraphList): adjust
2909         (assign): adjust
2910         (push_back): take a reference instead of a pointer.
2911
2912         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2913
2914         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2915         instead.
2916
2917         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2918         set else use old code.
2919
2920         * ParagraphList.C: remove all NO_NEXT code and only compile this
2921         code of NO_STD_LIST is set.
2922
2923 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2924
2925         * BufferView_pimpl.C:
2926         * TextCache.C:
2927         * TextCache.h:
2928         * bufferlist.C:
2929         * errorlist.h:
2930         * format.C:
2931         * format.h:
2932         * graph.C:
2933         * lyxfunc.C:
2934         * lyxrc.C:
2935         * graphics/GraphicsConverter.C:
2936         * graphics/PreviewLoader.C: header adjustment
2937
2938 2003-05-23  Angus Leeming  <leeming@lyx.org>
2939
2940         * LaTeXFeatures.[Ch] (useBabel): new method.
2941         * bufferparams.C (writeLaTeX): use it.
2942
2943 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2944
2945         * ParagraphList.h (set): remove unused function.
2946
2947 2003-05-23  André Pönitz  <poenitz@gmx.net>
2948
2949         * BufferView.C:
2950         * BufferView_pimpl.C:
2951         * buffer.C:
2952         * buffer.h:
2953         * lyxfunc.C:
2954         * undo_funcs.C: setUndo reworked
2955
2956         * iterators.[Ch]: add access to topmost ParagraphList
2957
2958         * lyxtext.[Ch] (workWidth): add a const
2959
2960 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2961
2962         * texrow.[Ch] (increasePos): remove function
2963         * exporter.C (export): removed unused var and outdated comment
2964
2965 2003-05-23  Angus Leeming  <leeming@lyx.org>
2966
2967         * latexrunparams.h: rename fragile as moving_arg.
2968         * paragraph.C (simpleTeXOnePar): ditto.
2969         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2970
2971 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2972
2973         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2974         (createUndo): ditto
2975         (textUndoOrRedo): comment out a currently unused var.
2976
2977         * paragraph.h (NO_NEXT): enable NO_NEXT
2978
2979         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2980
2981         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2982
2983         * exporter.C (Export): adjust for removeAutoInsets removal.
2984
2985         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2986
2987         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2988
2989         * BufferView.[Ch] (removeAutoInsets): delete function
2990
2991 2003-05-22  Angus Leeming  <leeming@lyx.org>
2992
2993         * latexrunparams.h: add a free_spacing variable.
2994
2995         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2996         to pass moving_arg, as the data is stored in runparams.fragile.
2997
2998         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2999         to Inset::latexOptional or to simpleTeXOnePar.
3000
3001         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3002         free_spacing arg to Inset::latexOptional.
3003
3004         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3005         free_spacing arg.
3006
3007 2003-05-22  Angus Leeming  <leeming@lyx.org>
3008
3009         * latexrunparams.h: add fragile and use_babel variables.
3010
3011         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3012         * buffer.C (makeLaTeXFile): store this returned value in
3013         runparams.use_babel, thus passing it to the inset::latex methods.
3014
3015         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3016         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3017
3018         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3019         longer has a fragile arg, as it is stored in runparams.fragile.
3020
3021         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3022         moving_arg parameter as the data is stored in runparams.fragile.
3023
3024         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3025         a fragile parameter as the data is stored in runparams.fragile.
3026
3027 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3028
3029         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3030
3031 2003-05-22  Angus Leeming  <leeming@lyx.org>
3032
3033         * latexrunparams.h: add a 'bool nice' which defaults to false.
3034
3035         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3036         now encapsulated within runparams.
3037
3038         * bufferlist.C (updateIncludedTeXfiles):
3039         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3040
3041 2003-05-22  Angus Leeming  <leeming@lyx.org>
3042
3043         * latexrunparams.h: new file containing struct LatexRunParams.
3044         * Makefile.am: add new file.
3045
3046         * LaTeX.[Ch] (c-tor, run):
3047         * buffer.[Ch] (makeLaTeXFile):
3048         * bufferlist.[Ch] (updateIncludedTeXfiles):
3049         * converter.C (convert, scanLog):
3050         * converter.[Ch] (runLaTeX):
3051         * exporter.C (Export):
3052         * paragraph.[Ch] (simpleTeXOnePar):
3053         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3054         * paragraph_funcs.[Ch] (latexParagraphs):
3055         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3056         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3057         pass around a LatexRunParams parameter.
3058
3059 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3060
3061         * paragraph.[Ch]: remove unused constructor
3062
3063         * ParagraphList.C (erase): new function, taking two iterators
3064
3065 2003-05-22  André Pönitz  <poenitz@gmx.net>
3066
3067         * undo_funcs.C: remove duplicated code
3068
3069         * iterator.[Ch]: operator=
3070
3071 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3072
3073         * tabular.C (SetMultiColumn): ws changes
3074
3075         * rowpainter.C (paintFirst): get rid of a ->previous
3076
3077         * lyx_cb.C (getPossibleLabel): parlist simplification
3078
3079         * BufferView.C (ChangeInsets): simplify slightly.
3080
3081 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3082
3083         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3084         * lfuns.h: new LFUN_SPACE
3085         * lyxfunc.C: protected space has a new lfun
3086         * paragraph_funcs.C: read new space insets
3087         * text3.C:
3088         * factory.C: handle new space insets
3089
3090 2003-05-22  André Pönitz  <poenitz@gmx.net>
3091
3092         * BufferView.C:
3093         * BufferView_pimpl.C:
3094         * buffer.[Ch]:
3095         * lyxfunc.C:
3096         * undo_funcs.C: return a ParIterator from getParFromID.
3097
3098         * iterators.[Ch]: add two const's
3099
3100 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3101
3102         * toc.C (getTocList): adjust
3103
3104         * iterators.[Ch]: rework for parlist
3105
3106         * buffer.C (par_iterator_begin): adjust
3107         (par_iterator_end): adjust
3108
3109         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3110
3111         * BufferView.C (removeAutoInsets): adjust
3112         (ChangeInsets): adjust
3113
3114 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3115
3116         * text.C (top_y): fix bug 1110
3117
3118 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3119
3120         * errorlist.[Ch]: added
3121         * buffer.C:
3122         * BufferView.[Ch]:
3123         * BufferView_pimpl.C:
3124         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3125         instead
3126
3127 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3128
3129         * Makefile.am: ensure that lyx is relinked upon changes to the
3130         various "convenience" libs.
3131
3132 2003-05-20  Angus Leeming  <leeming@lyx.org>
3133
3134         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3135         files are compiled in alphabetical order again.
3136
3137         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3138
3139 2003-05-19  Angus Leeming  <leeming@lyx.org>
3140
3141         * gettext.[Ch]: remove "char const * _(char const *)".
3142
3143 2003-05-19  André Pönitz  <poenitz@gmx.net>
3144
3145         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3146
3147         * Makefile.am:
3148         * BufferView.C:
3149         * DepTable.h:
3150         * LaTeXFeatures.C:
3151         * buffer.C:
3152         * lyxfont.C:
3153         * lyxlex.h:
3154         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3155
3156 2003-05-19  André Pönitz  <poenitz@gmx.net>
3157
3158         * buffer.C:
3159         * lyxlayout.[Ch]:
3160         * lyxtextclass.[Ch]:
3161         * paragraph.C:
3162         * paragraph_funcs.[Ch]:
3163         * text2.C:
3164         * text3.C: more insetenv work
3165
3166 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3167
3168         * ParagraphParameters.C (params2string): small bug fixed
3169
3170 2003-05-16  André Pönitz  <poenitz@gmx.net>
3171
3172         * debug.C:
3173         * bufferview_funcs.C: patch from Kornel Benko to prevent
3174           crash when _(...) is called twice in a statement
3175
3176 2003-05-16  André Pönitz  <poenitz@gmx.net>
3177
3178         * BufferView.C:
3179         * lyxfunc.C:
3180         * text.C:
3181         * text2.C:
3182         * text3.C:
3183         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3184
3185 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3186
3187         * lyx_main.C (init): remove spurious static_cast
3188
3189 2003-05-14  André Pönitz  <poenitz@gmx.net>
3190
3191         * BufferView.C: fix format string
3192
3193 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3194
3195         * BufferView.[Ch] (insertErrors): removed
3196         * BufferView.[Ch] (showErrorList): added
3197         * buffer.C (runChkTeX):
3198         * converter.C (scanLog): call showErrorList instead of inserterrors
3199
3200 2003-05-13  André Pönitz  <poenitz@gmx.net>
3201
3202         * BufferView_pimpl.C:
3203         * buffer.C:
3204         * bufferview_func.C:
3205         * MenuBackend.C:
3206         * lyxfunc.C:
3207         * lyxrc.C:
3208         * tex-accent.C:
3209         * text3.C:
3210         * toc.C:
3211         * tabular_funcs.h: tostr() from its own header
3212
3213         * ParagraphParameters.C:
3214         * ToolbarBackend.C:
3215         * bufferparams.C:
3216         * format.C:
3217         * lyxlex_pimpl.C:
3218         * text3.C: STRCONV()
3219
3220 2003-05-12  André Pönitz  <poenitz@gmx.net>
3221
3222         * BufferView.C:
3223         * BufferView_pimpl.C:
3224         * CutAndPaste.C:
3225         * LaTeX.C:
3226         * LaTeXFeatures.C:
3227         * ParagraphParameters.C:
3228         * buffer.C:
3229         * bufferlist.C:
3230         * bufferparams.C:
3231         * bufferview_funcs.C:
3232         * converter.C:
3233         * counters.C:
3234         * debug.C:
3235         * exporter.C:
3236         * format.C:
3237         * importer.C:
3238         * lyx_cb.C:
3239         * lyx_main.C:
3240         * lyxfont.C:
3241         * lyxfunc.C:
3242         * lyxvc.C:
3243         * paragraph.C:
3244         * paragraph_funcs.C:
3245         * tabular.C:
3246         * tabular_funcs.C:
3247         * text2.C:
3248         * text3.C:  boost::format -> bformat  all over the place
3249
3250
3251 2003-05-09  André Pönitz  <poenitz@gmx.net>
3252
3253         * LColor.[Ch]: Pimpl the #include <map> away
3254
3255 2003-05-09  John Levon  <levon@movementarian.org>
3256
3257         * bufferlist.C: never remove emergency saves
3258
3259 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3260
3261         * Makefile.am: better lib building
3262
3263 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3264
3265         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3266         instead.
3267         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3268         (simpleTeXSpecialChars): adjust
3269         (simpleTeXSpecialChars): adjust
3270         * paragraph.C (simpleTeXOnePar): adjust
3271         * buffer.C (makeLaTeXFile): adjust
3272
3273         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3274
3275         * text2.C (changeDepth): parlist cleanup
3276         (getColumnNearX): ditto
3277
3278         * rowpainter.C (getLabelFont): parlist cleanup
3279
3280         * bufferlist.C (newFile): parlist cleanup
3281
3282         * CutAndPaste.C (eraseSelection): parlist cleanup
3283
3284         * BufferView_pimpl.C (trackChanges): parlist cleanup
3285         (dispatch): ditto
3286
3287         * BufferView.C (lockInset): parlist cleanup.
3288         (ChangeInsets): ditto
3289
3290 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3291
3292         * CutAndPaste.h: Update file header.
3293
3294         * CutAndPaste.C: Update file header.
3295         Store the parts cut out of the Document in a limited_stack.
3296         (copySelection): adjust
3297         (pasteSelection): new function, takes the index in the limited stack.
3298         (nrOfParagraphs): adjust
3299         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3300         simplify error inset insertion.
3301         (checkPastePossible): adjust
3302
3303 2003-05-06  John Levon  <levon@movementarian.org>
3304
3305         * text2.C: don't cast wrap inset to float
3306
3307 2003-05-05  André Pönitz  <poenitz@gmx.net>
3308
3309         * iterator.C:
3310         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3311
3312         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3313           few naked Paragraph *.
3314
3315 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3316
3317         * bufferparams.C: Output warning if a document with missing
3318         TeX document class is loaded
3319         * exporter.C: Disable TeX exports if the document class is missing
3320         * lyxtextclass.C:
3321         * lyxtextclass.h:
3322         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3323         isTeXClassAvailable()
3324
3325 2003-05-03  John Levon  <levon@movementarian.org>
3326
3327         * BufferView.h:
3328         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3329         explicit cursor show/hide
3330
3331         * BufferView_pimpl.h:
3332         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3333         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3334
3335         * lyxfunc.C: hide cursor before dispatching.
3336
3337         * lyx_cb.C:
3338         * lyxfind.C:
3339         * text.C:
3340         * text3.C: remove explicit cursor hides
3341
3342 2003-05-02  André Pönitz  <poenitz@gmx.net>
3343
3344         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3345
3346         * undo_funcs.C:
3347         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3348           linked lists
3349
3350         * text2.C: tiny whitespace
3351
3352 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3353
3354         * undo_funcs.C: almost only ws changes.
3355
3356         * ParagraphList.C (splice): just return if pl is empty.
3357
3358 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3359
3360         * ParagraphList.C (splice): new function.
3361
3362         * CutAndPaste.C (pasteSelection): use it
3363
3364 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3365
3366         * CutAndPaste.C (pasteSelection): remove the last next and
3367         previous from this file.
3368
3369 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3370
3371         * CutAndPaste.C (pasteSelection): more clean up, user proper
3372         ParagraphList functions for pasteing.
3373
3374         * ParagraphList.C (insert): new function, three arg insert
3375
3376 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3377
3378         * ParagraphList.C (insert): new function, three arg insert
3379
3380         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3381         not on paragraphs.
3382
3383 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3384
3385         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3386
3387 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3388
3389         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3390
3391 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3392
3393         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3394         (copySelection): clean up a bit.
3395         (pasteSelection): use make_pair
3396
3397         * ParagraphList.C (ParagraphList): implement copy constructor
3398         (operator=): implement, base on copy constructor.
3399         (assign): new func
3400
3401         * paragraph.C (erase): return a bool
3402
3403         * paragraph_pimpl.C (erasePos): remove function, move contents...
3404         (erase): ... here. Return a bool.
3405         (erase): call erase instead of erasePos.
3406
3407 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3408
3409         * ParagraphList.h: define PitPosPair
3410         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3411         ParagraphList, fix a bug on pasting multiple pars
3412         * text2.C: change interface to C&P
3413
3414 2003-04-30  André Pönitz  <poenitz@gmx.net>
3415
3416         * undo_func.C: revert part of yesterday's patch 2
3417
3418 2003-04-30  John Levon  <levon@movementarian.org>
3419
3420         * LColor.C: s/tabular/table/
3421
3422 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3423
3424         * text3.C (dispatch): do not convert iterator -> pointer
3425         * undo_funcs.C (setCursorParUndo): ditto
3426         * text_funcs.C (transposeChars): ditto
3427
3428         * text2.C (setLayout): ws changes only
3429
3430         * text.C (breakParagraph): do not convert iterator -> pointer
3431         (insertChar): ditto
3432         (acceptChange): ditto
3433         (rejectChange): ditto
3434         (changeCase): ditto
3435         (Delete): ditto
3436         (backspace): ditto
3437
3438         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3439         pointer
3440
3441 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3442
3443         * text3.C (gotoInset): YABG (yet another bad getChar)
3444
3445 2003-04-29  André Pönitz  <poenitz@gmx.net>
3446
3447         * paragraph.h: make operator= private unimplemented as long as
3448           it is unusable
3449
3450         * ParagraphList.C: whitespace
3451
3452         * paragraph.[Ch]:
3453         * paragraph_pimpl.[Ch]:
3454         * paragraph_funcs.C:
3455         * CutAndPaste.C:
3456         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3457
3458         * text2.C:
3459           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3460
3461 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3462
3463         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3464         * paragraph.[Ch] (erase):
3465         * paragraph_pimpl.[Ch] (erase): change return type and value
3466         * text2.C (cutSelection): some rework
3467
3468 2003-04-28  John Levon  <levon@movementarian.org>
3469
3470         * bufferlist.C: changes for unsaved changes dialog
3471
3472 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3473
3474         * bufferlist.C (newFile): set language (messages_) for new
3475         documents also.
3476
3477         * buffer.C (readFile): ws changes only.
3478
3479 2003-04-28  André Pönitz  <poenitz@gmx.net>
3480
3481         * undo_funcs.C:
3482         * lyxfunc.C:
3483         * buffer.[Ch]:
3484         * BufferView_pimpl.C:
3485         * BufferView.C: getParFromID related ParagraphList::iterator changes
3486
3487 2003-04-28  André Pönitz  <poenitz@gmx.net>
3488
3489         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3490           Changes
3491
3492 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3493
3494         * messages.C: remove one more localedir class variable.
3495
3496 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3497
3498         * messages.C (getLocaleDir): singleton generation function
3499         (Pimpl): use it.
3500         (Messages): add a default constructor.
3501
3502         * main.C (main): do not setup localedir here, do not call
3503         gettext_init.
3504
3505         * gettext.C (_): use it.
3506         (gettext_init): delete funciton
3507
3508 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3509
3510         * gettext.C (getLyXMessages): new singleton generating function.
3511
3512         * buffer.C (updateDocLang): adjust
3513
3514         * Makefile.am (messages.o): add target
3515         (main.o): remove target
3516
3517 2003-04-27  John Levon  <levon@movementarian.org>
3518
3519         * bufferlist.C:
3520         * lyx_cb.C:
3521         * lyxfunc.C:
3522         * lyxvc.C: specify cancel button in Alert::prompt
3523
3524 2003-04-26  John Levon  <levon@movementarian.org>
3525
3526         * text3.C:
3527         * lyxfunc.C:
3528         * lfuns.h:
3529         * LyXAction.C: add LFUN_INSET_SETTINGS
3530
3531         * lyxfunc.C: don't enable tabular-feature when there's
3532         just any locking inset
3533
3534 2003-04-26  John Levon  <levon@movementarian.org>
3535
3536         * bufferlist.C: re-add Cancel to buffer close question
3537
3538         * lyxfunc.C: fix import UI a bit
3539
3540 2003-04-25  John Levon  <levon@movementarian.org>
3541
3542         * gettext.C: remove the broken asserts for now
3543
3544 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3545
3546         * messages.C: make case where setlocale cannot comply work better.
3547
3548         * buffer.C (updateDocLang): new function
3549         (changeLanguage): use it
3550         (readFile): use it
3551
3552         * text2.C (setCounter): use B_ a bit.
3553
3554         * lyxlayout.C (Read): be sure to trim the label strings.
3555
3556         * messages.C (Messages): fix typo in comment
3557
3558         * buffer.C (readFile): set message_ after file is loaded.
3559         (makeDocBookFile): remove double return
3560         (changeLanguage): reset message_ upon language change.
3561         (B_): new func, use this to get translated buffer strings.
3562
3563         * main.C: add myself and Jean Marc as authors.
3564
3565 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3566
3567         * messages.[hC]: pimplify Messages, and three different pimpls to be
3568         used in different circumstances.
3569
3570         * gettext.[Ch]: change for use with new message code.
3571
3572 2003-04-24 André Pönitz <poenitz@gmx.net>
3573
3574         * factory.C: support for eqref
3575
3576 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3577
3578         * messages.[Ch]: add missing char
3579
3580         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3581
3582         * messages.[Ch]: New files
3583
3584 2003-04-18  John Levon  <levon@movementarian.org>
3585
3586         * BufferView.h:
3587         * BufferView.C:
3588         * BufferView_pimpl.C:
3589         * lfuns.h:
3590         * LyXAction.C:
3591         * lyxtext.h:
3592         * text2.C: remove layout-copy/paste (bug 778)
3593
3594 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3595
3596         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3597
3598 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3599
3600         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3601         if they succeed. Act accordingly.
3602
3603 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3604
3605         * text2.C (setCharFont): adjust
3606         (setCounter): adjust
3607         (insertStringAsLines): adjust
3608
3609         * text.C (leftMargin): adjust
3610         (setHeightOfRow): adjust
3611
3612         * rowpainter.C (paintFirst): adjust
3613         (paintLast): adjust
3614
3615         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3616         (outerHook): ditto
3617         (isFirstInSequence): ditto
3618         (getEndLabel): ditto
3619         (outerFont): adjust
3620
3621         * paragraph.C (getParLanguage): comment out some hard stuff.
3622
3623         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3624         (sgmlError): ditto
3625         (simpleDocBookOnePar): ditto
3626         (makeDocBookFile): use ParagraphList::iterator
3627
3628         * CutAndPaste.C (pasteSelection): adjust
3629
3630 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3631
3632         * text2.C (getFont): adjust
3633         (getLayoutFont): adjust
3634         (getLabelFont): adjust
3635
3636         * paragraph_funcs.C (TeXOnePar): adjust
3637
3638         * buffer.C (simpleLinuxDocOnePar): adjust
3639         (simpleDocBookOnePar): adjust
3640
3641         * CutAndPaste.C (pasteSelection): adjust
3642
3643         * BufferView.C (getEncoding): adjust
3644
3645         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3646
3647 2003-04-16  John Levon  <levon@movementarian.org>
3648
3649         * lyxfind.C: use parlist stuff for search/changes
3650
3651 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3652
3653         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3654
3655         * text2.C (deleteEmptyParagraphMechanism): adjust
3656
3657         * text2.[Ch] (ownerParagraph): delete func (both of them
3658
3659 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3660
3661         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3662
3663 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3664
3665         * ParagraphList.C: prepare for NO_NEXT
3666
3667 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3668
3669         * text2.C (getFont): adjust
3670         (getLayoutFont): adjust
3671         (getLabelFont): adjust
3672
3673         * paragraph.C (getFont): adjust
3674         (getLabelFont): adjust
3675         (getLayoutFont): adjust
3676
3677         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3678
3679 2003-04-15  John Levon  <levon@movementarian.org>
3680
3681         From Angus Leeming
3682
3683         * lyx_main.C: handle Include in .ui files
3684
3685 2003-04-15  John Levon  <levon@movementarian.org>
3686
3687         * MenuBackend.C: make the doc files length shorter
3688
3689         * ToolbarBackend.h:
3690         * ToolbarBackend.C: handle toolbar placement flags,
3691         Minibuffer
3692
3693 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3694
3695         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3696         adjust
3697
3698         * paragraph_funcs.C (TeXOnePar): adjust
3699
3700         * paragraph.C (getLabelFont): add outerfont arg, adjust
3701         (getLayoutFont): ditto
3702         (simpleTeXOnePar): adjust
3703
3704         * paragraph_pimpl.C (realizeFont): delete func
3705
3706 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3707
3708         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3709         row argument, constify cur argument.
3710
3711 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3712
3713         * text2.C (getFont): adjust
3714         (getLayoutFont): adjust
3715         (getLabelFont): adjust
3716
3717         * paragraph_funcs.C (TeXOnePar): adjust
3718         (outerFont): new func...
3719         (realizeFont): ...moved out from here, changed this to facilitate
3720         transition
3721
3722         * paragraph.C (getFont): take outerfont as arg, adjust
3723         (simpleTeXOnePar): add outerfont arg, adjust
3724
3725         * buffer.C (simpleLinuxDocOnePar): adjust
3726         (simpleDocBookOnePar): adjust
3727
3728         * CutAndPaste.C (pasteSelection): adjust
3729
3730         * BufferView.C (getEncoding): adjust
3731
3732 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3733
3734         * text2.C (setCharFont): adjust
3735         (setCounter): adjust
3736
3737         * text.C (leftMargin): adjust
3738         (setHeightOfRow): adjust
3739
3740         * rowpainter.C (paintFirst): adjust
3741         (paintLast): adjust
3742
3743         * paragraph_pimpl.C (realizeFont): adjust
3744
3745         * paragraph.C (isFirstInSequence): move from here...
3746         * paragraph_funcs.C (isFirstInSequence): ...to here
3747
3748         * paragraph.C (outerHook): move from here...
3749         * paragraph_funcs.C (outerHook): ...to here
3750
3751         * paragraph.C (depthHook): move from here...
3752         * paragraph_funcs.C (depthHook): ...to here
3753
3754         * paragraph.C (getEndLabel): move from here...
3755         * paragraph_funcs.C (getEndLabel): ...to here
3756
3757         * text2.C (realizeFont): move from here...
3758         * paragraph_funcs.C (realizeFont): ...to here
3759
3760 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3761
3762         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3763
3764 2003-04-14  Angus Leeming  <leeming@lyx.org>
3765
3766         * LColor.[Ch]: scrap LColor mathcursor.
3767
3768 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3769
3770         * lyxlex.[Ch] (text): delete function
3771         * trans.C (Load): adjust
3772         * paragraph_funcs.C (readParToken): adjust
3773
3774 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3775
3776         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3777         vector<char> instead of a char[].
3778
3779         * lyxlex_pimpl.C (getString): adjust
3780         (next): adjust
3781         (lex): use getString
3782         (eatLine): adjust
3783         (nextToken): adjust
3784
3785         * lyxlex.C (text): use pimpl_->getString()
3786         (getBool): ditto
3787         (findToken): ditto
3788
3789 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3790
3791         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3792         (makeFontEntriesLayoutSpecific): temp var for par.size()
3793         (setLayout): temp var for ownerParagraphs().end()
3794         (fullRebreak): temp var for rows().end()
3795         (selectionAsString): temp var for boost::next(startpit), realize
3796         that the while really is a regular for loop.
3797         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3798         setCursor in one place.
3799         (setParagraph): temp vr for ownerParagraphs().end()
3800         (updateCounters): make the while loop a for loop
3801         (cutSelection): temp var for ownerParagraphs().end()
3802         (updateInset): make the do {} while() a regular for loop
3803         (getCursorX): use temp vars
3804         (setCurrentFont): use temp vars
3805         (getColumnNearX): use temp vars
3806
3807 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3808
3809         * text.C (transformChar): use temp var for getChar
3810         (computeBidiTables): use temp var for row->par()
3811         (fill): move temp vars for row->par() and pit->layout() earlier in
3812         the function.
3813         (labelFill): use temp var for row->par()
3814         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3815         asc and desc, realize that pit never changes and that firstpit is
3816         just a duplicate and not needed. Exchange rit->par() with pit in a
3817         lot of places.
3818         (breakAgain): use a temp var for boost::next(rit)
3819         (breakAgainOneRow): ditto
3820         (breakParagraph): use a temp var for rows().begin()
3821         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3822         (cursorRightOneWord): use temp var for cursor.par() and
3823         cursor.pos(), remove usage of tmpcursor.
3824         (cursorLeftOneWord): use temp var for cursor.par() and
3825         cursor.pos() only set cur at end of function.
3826
3827 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3828
3829         * text.C, text2.C: exchange all usage of Paragraph::next with
3830         boost::next(ParagraphList::iterator)
3831
3832         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3833
3834         * text2.C (cursorTop): simplify implementation
3835         (cursorBottom): ditto
3836         (setParagraph): use ParagraphList::iterator
3837         (setCurrentFont): adjust
3838         (getColumnNearX): adjust
3839         (cursorRight): adjust
3840         (cursorLeft): remove usage of Paragraph::previous
3841         (cursorUpParagraph): ditto
3842         (deleteEmptyParagraphMechanism): slight cleanup
3843
3844         * text.C (isBoundary): take a Paragraph const & instead of a
3845         pointer as arg.
3846         (addressBreakPoint): ditto
3847         (leftMargin): remove usage of Paragraph::previous.
3848         (setHeightOfRow): ditto
3849         (cursorLeftOneWord): ditto
3850         (selectNextWordToSpellcheck): ditto
3851         (Delete): ditto
3852         (backspace): ditto
3853         (breakParagraph): remove one usage of Paragraph::next
3854         (redoParagraph): ditto
3855         (acceptChange): ditto
3856         (insertChar): adjust
3857         (rowBreakPoint): adjust
3858
3859         * bufferview_funcs.C (toggleAndShow): adjust
3860
3861 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3862
3863         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3864         methods to access it.
3865         * lyxtext.h:
3866         * text.C: Added updateRowPositions to compute all row positions.
3867         Make top_y and getRowNearY() to use the cached y position
3868
3869 2003-04-11  John Levon  <levon@movementarian.org>
3870
3871         * text.C (rowBreakPoint): reintroduce the labelEnd
3872         checks, code copied from the row fill stuff. Deep voodoo.
3873
3874         * text.C (fill): add a comment and debugging for the
3875         next poor soul.
3876
3877 2003-04-11  John Levon  <levon@movementarian.org>
3878
3879         * text.C: make sure fullrow insets get wrapped to the next line,
3880         even when they're in a manual label
3881
3882 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3883
3884         * text2.C (insertParagraph): make it take ParagraphList::iterator
3885         as arg.
3886         (setLayout): make it return ParagraphList::iterator
3887         (redoParagraphs): ditto
3888         (setCounter): ditto
3889         (checkParagraph): ditto
3890
3891         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3892
3893         * text2.C: adjust several funcs.
3894         (realizeFont): take a ParagraphList::iterator as arg.
3895         (getLayoutFont): ditto
3896         (getLabelFont): ditto
3897         (setCharFont): ditto
3898
3899         * text.C: adjust several funcs.
3900
3901 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3902
3903         * text.C (selectNextWordToSpellcheck): don't accidentally
3904         skip insets
3905
3906 2003-04-10  John Levon  <levon@movementarian.org>
3907
3908         * ToolbarBackend.C (getIcon): special handling for
3909         LFUN_MATH_DELIM
3910
3911 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3912
3913         * text2.C (cursorRight): a getChar assert fixed
3914
3915 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3916
3917         * text2.C (getFont): change to take a ParagraphList::iterator
3918         instead of Paragraph*
3919         Adjust several functions.
3920
3921         * text.C (transformChar): change to take a ParagraphList::iterator
3922         instead of Paragraph*
3923         (singleWidth): ditto
3924         Adjust several functions.
3925
3926         * rowpainter.C: adjust several functions
3927         * rowpainter.h:store a ParagraphList::iterator and not a
3928         Paragraph&.
3929
3930
3931 2003-04-09  John Levon  <levon@movementarian.org>
3932
3933         * lyxfunc.C:
3934         * lfuns.h:
3935         * LyXAction.h:
3936         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3937         and the "help" bits as well
3938
3939 2003-04-09  John Levon  <levon@movementarian.org>
3940
3941         * ToolbarBackend.h:
3942         * ToolbarBackend.C: allow multiple toolbars
3943
3944 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3945
3946         * undo_funcs.C (setCursorParUndo): adjust
3947
3948         * text_funcs.C (transposeChars): adjust
3949
3950         * text3.C (gotoNextInset): adjust
3951         (dispatch): adjust
3952
3953         * text2.C (setLayout): adjust
3954         (changeDepth): adjust
3955         (setFont): adjust
3956         (redoParagraphs): adjust
3957         (selectionAsString): adjust
3958         (setParagraph): adjust
3959         (insertInset): adjust
3960         (cutSelection): adjust
3961         (copySelection): adjust
3962         (pasteSelection): adjust
3963         (insertStringAsLines): adjust
3964         (updateInset): adjust
3965         (setCursor): change to take a ParagraphList::iterator parameter
3966         (setCursorIntern): change to take a ParagraphList::iterator parameter
3967         (setCurrentFont): adjust
3968         (cursorLeft): adjust
3969         (cursorRight): adjust
3970         (deleteEmptyParagraphMechanism): adjust
3971
3972         * text.C (breakParagraph): adjust
3973         (insertChar): adjust
3974         (acceptChange): adjust
3975         (rejectChange): adjust
3976         (selectNextWordToSpellcheck): adjust
3977         (changeCase): adjust
3978         (Delete): adjust
3979         (backspace): adjust
3980
3981         * lyxfind.C (SearchForward): adjust
3982         (SearchBackward): adjust
3983         (nextChange): adjust
3984
3985         * lyxcursor.C (par): adjust
3986
3987         * lyxcursor.h: store a ParagraphList::iterator instead of a
3988         Paragraph*
3989
3990         * lyx_cb.C (getPossibleLabel): adjust
3991
3992         * bufferview_funcs.C (toggleAndShow): adjust
3993
3994         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3995         (dispatch): adjust
3996
3997         * BufferView.C (removeAutoInsets): adjust
3998         (lockedInsetStoreUndo): adjust
3999
4000 2003-04-09  John Levon  <levon@movementarian.org>
4001
4002         * ToolbarBackend.C: try icon without argument
4003         if with argument fails
4004
4005 2003-04-08  John Levon  <levon@movementarian.org>
4006
4007         * ToolbarBackend.h:
4008         * ToolbarBackend.C: add getIcon(), handle tooltip,
4009         and change from "Icon" to "Item".
4010
4011 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4012
4013         * BufferView.C (lockInset): another bad getchar crunched
4014
4015 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4016
4017         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4018         again)
4019
4020 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4021
4022         * lyxfind.C (searchForward, searchBackwards): bug 782
4023
4024 2003-04-07  John Levon  <levon@movementarian.org>
4025
4026         * paragraph.C: remove dead comment
4027
4028         * text.C: remove troublesome depth-fiddling code
4029         in leftMargin() and rightMargin() (bug 1017)
4030
4031         * text.C: fix breaking of rows in nested lists
4032         (bug 1004)
4033
4034         * text2.C (updateCounters): fix up depth values
4035         (bug 1013)
4036
4037 2003-04-07  John Levon  <levon@movementarian.org>
4038
4039         * BufferView_pimpl.C: clear message when doc finishes resizing,
4040         and after a mouse event
4041
4042         * lyxfunc.C: clear message after exiting inset
4043
4044 2003-04-07  John Levon  <levon@movementarian.org>
4045
4046         * bufferview_funcs.C: show math status not outside
4047         status in the statusbar
4048
4049 2003-04-07  John Levon  <levon@movementarian.org>
4050
4051         * lyxfunc.C: note status changed after a depth change
4052
4053 2003-04-04  Angus Leeming  <leeming@lyx.org>
4054
4055         * LaTeX.h: move AuxInfo operator==, != out of line.
4056         Remove LaTeX virtual destructor; nothing derives from it.
4057         Move operator()() out of public area and rename it startscript().
4058         Change protected for private.
4059
4060 2003-04-04  Angus Leeming  <leeming@lyx.org>
4061
4062         * lyxfunc.C:
4063         * text2.C: remove unneeded #includes.
4064
4065 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4066
4067         * text2.C (dEPM): fix the heigth of the next row
4068
4069 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4070
4071         * text.C: squashed an invalid getChar requester + some ws changes
4072
4073 2003-04-03  John Levon  <levon@movementarian.org>
4074
4075         * bufferview_funcs.h:
4076         * bufferview_funcs.C:
4077         * lyxfunc.C:
4078         * lyxtext.h:
4079         * text2.C: make getStatus work for the env depth lfuns
4080
4081 2003-04-03  John Levon  <levon@movementarian.org>
4082
4083         * bufferview_funcs.h:
4084         * bufferview_funcs.C:
4085         * lyxfunc.C:
4086         * lyxtext.h:
4087         * text2.C: parlistize decDepth(), by merging it with incDepth()
4088
4089 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4090
4091         * lyxrow.h: store a ParagraphList::iterator instead of a
4092         Paragraph* and adjust other class functions to suit.
4093
4094         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4095         above.
4096
4097 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4098
4099         * text2.C (setCursor): do not anchor to cursor row for the time being
4100
4101 2003-04-02  John Levon  <levon@movementarian.org>
4102
4103         * LyXAction.C:
4104         * lfuns.h:
4105         * lyx_main.C:
4106         * lyxtext.h:
4107         * text.C:
4108         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4109
4110 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4111
4112         * paragraph.h: make ParagraphList and ParagraphList::iterator
4113         friends of Paragraph.
4114
4115         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4116
4117         * ParagraphList.C: Use the private next_ and previous_ from
4118         Paragraph.
4119
4120 2003-04-01  John Levon  <levon@movementarian.org>
4121
4122         * ToolbarBackend.h:
4123         * ToolbarBackend.C:
4124         * Makefile.am: rename, remove defaults gunk
4125
4126         * MenuBackend.h:
4127         * MenuBackend.C: remove defaults gunk
4128
4129         * Languages.h:
4130         * Languages.C: remove defaults gunk
4131
4132         * lyx_main.h:
4133         * lyx_main.C: error out if files couldn't be found.
4134
4135 2003-04-02  John Levon  <levon@movementarian.org>
4136
4137         * text2.C: make incDepth() use parlist
4138
4139 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4140
4141         * undo_funcs.C (firstUndoParagraph): adjust
4142
4143         * text3.C (gotoInset): adjust
4144         (dispatch): adjust, and rewrite loop.
4145
4146         * text2.C (init): adjust, and rewrite loop.
4147         (redoParagraphs): adjust
4148         (updateInset): adjust, and rewrite loop.
4149         (deleteEmptyParagraphMechanism): adjust
4150
4151         * tabular.C (LyXTabular): adjust
4152         (SetMultiColumn): adjust
4153         (TeXRow): adjust
4154
4155         * lyxtext.[Ch] (ownerParagraph): delete function
4156         (ownerParagraphs): new function returns a ParagraphList.
4157
4158         * BufferView.C (removeAutoInsets): adjust
4159         (insertErrors): adjust
4160         (setCursorFromRow): adjust
4161
4162 2003-04-01  Angus Leeming  <leeming@lyx.org>
4163
4164         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4165         in the frontends.
4166
4167 2003-04-02  John Levon  <levon@movementarian.org>
4168
4169         * lyxtext.h:
4170         * text.C:
4171         * Makefile.am:
4172         * text_funcs.h:
4173         * text_funcs.C: make transposeChars a free function
4174
4175         * lyxrow_funcs.C: remove wrong comment
4176
4177 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4178
4179         * lyxtext.h: adjust
4180         * rowpainter.C: adjust
4181         * text.C: adjust
4182         * text2.C: adjust
4183         * text3.C: adjust
4184
4185         * lyxrow_funcs. [Ch]: new files
4186
4187         * lyxrow.[Ch]: remove next and previous pointers
4188         (next,previous): remove accessor functions
4189         (isParEnd): move to lyxrow_funcs
4190         (lastPos): move to lyxrow_funcs
4191         (nextRowIsAllInset): move to lyxrow_funcs
4192         (lastPrintablePos): move to lyxrow_funcs
4193         (numberOfSeparators): move to lyxrow_funcs
4194         (numberOfHfills): move to lyxrow_funcs
4195         (numberOfLabelHfills): move to lyxrow_funcs
4196         (hfillExpansion): move to lyxrow_funcs
4197
4198         * lyxfunc.C: adjust
4199
4200         * bufferview_funcs.C (toggleAndShow): adjust
4201
4202         * RowList.h: Remove class RowList from file leave just a
4203         std::list<Row>.
4204
4205         * RowList.C: delete file
4206
4207         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4208         and lyxrow_funcs.h
4209
4210 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4211
4212         * text3.C (cursorPrevious): adjust
4213         (cursorNext): adjust
4214         (dispatch): adjust
4215
4216         * text2.C (redoHeightOfParagraph): adjust
4217         (redoDrawingOfParagraph): adjust
4218         (setCursor): adjust
4219
4220         * text.C (breakParagraph): adjust
4221         (insertChar): adjust
4222         (backspace): adjust
4223
4224         * rowpainter.C (RowPainter): adjust
4225         (leftMargin): simplify and adjust
4226         (most rowpainter functions): adjust.
4227
4228         * rowpainter.h: store the row as RowList::iterator not as Row*
4229
4230         * lyxcursor.C (row): taka RowList::iterator as arg
4231         (irow): ditto
4232
4233         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4234         of Row*.
4235
4236 2003-04-01  Angus Leeming  <leeming@lyx.org>
4237
4238         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4239         stuff like bool Bool.
4240
4241 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4242
4243         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4244         rewrite a loop
4245
4246 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4247
4248         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4249         RowList::iterator.
4250
4251         * lyxtext.h (rows): drop one version and leve a const variant that
4252         returns a RowList::iterator.
4253
4254 2003-03-31  Angus Leeming  <leeming@lyx.org>
4255
4256         * text.C (fill): ensure that the signature is the same as that in the
4257         header file.
4258
4259 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4260
4261         * text2.C (redoParagraphs): adjust
4262         (updateCounters): adjust
4263         (checkParagraph): adjust
4264         (getColumnNearX): adjust and reformat a bit.
4265
4266         * text.C (top_y): adjust
4267         (workWidth): adjust
4268         (leftMargin): adjust
4269         (prepareToPrint): adjust
4270         (getRow): adjust
4271         (getRowNearY): adjust
4272
4273         * lyxtext.h: make rowlist_ mutable.
4274
4275         * RowList.h: add const_iterator
4276         * RowList.C: adjust for RowList::const_iterator.
4277
4278         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4279         adjust.
4280
4281 2003-03-31  John Levon  <levon@movementarian.org>
4282
4283         * lyxrc.h:
4284         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4285
4286         * lyx_main.C: set default fonts from using lyx_gui funcs
4287
4288         * exporter.C: pdf_mode moved from lyxrc
4289
4290         * lyx_cb.C:
4291         * lyxfunc.C: changes from above
4292
4293 2003-03-31  John Levon  <levon@movementarian.org>
4294
4295         * lyx_main.C: fix to the last fix
4296
4297 2003-03-31  John Levon  <levon@movementarian.org>
4298
4299         * bufferlist.C: "Load original" -> "Load Original"
4300
4301         * converter.C:
4302         * exporter.C:
4303         * importer.C:
4304         * lyx_main.C:
4305         * format.C: more Alert cleanups
4306
4307 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4308
4309         * text2.C (removeParagraph): make it take a RowList::iterator as
4310         arg, adjust.
4311         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4312         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4313
4314         * text.C (anchor_row): make it take a RowList::iterator as arg,
4315         adjust.
4316         (computeBidiTables): make it take a const reference to Row instead
4317         of Row pointer, adjust.
4318         (leftMargin): make it take a RowList::iterator as arg, adjust.
4319         (rowBreakPoint): adjust
4320         (breakAgainOneRow): make it take a RowList::iterator as arg,
4321         adjust.
4322         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4323
4324         * bufferview_funcs.C (toggleAndShow): adjust
4325
4326 2003-03-30  John Levon  <levon@movementarian.org>
4327
4328         * Makefile.am:
4329         * BoostFormat.h:
4330         * boost-inst.C: moved to support
4331
4332         * several files: changes as a result
4333
4334 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4335
4336         * text2.C (LyXText): adjust.
4337         (init): adjust
4338         (removeRow): make it take a RowList::iterator as arg, adjust.
4339         (fullRebreak): adjust
4340         (deleteEmptyParagraphMechanism): adjust
4341         (clearPaint): adjust
4342         (postPaint): adjust
4343
4344         * text.C (top_y): adjust
4345         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4346         (breakAgain): make it take a RowList::iterator as arg, adjust.
4347         (breakParagraph): adjust
4348         (insertChar): adjust
4349         (backspace): adjust
4350
4351         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4352         need_break_row, and refresh_row.
4353
4354         * text3.C (dispatch): adjust
4355
4356         * text2.C (checkParagraph): adjust
4357         (setCursor): adjust
4358         (setCursorFromCoordinates): adjust
4359
4360         * text.C (top_y): adjust
4361         (workWidth): adjust
4362         (getRow): make it return a RowList::iterator, adjust
4363         (getRowNearY): make it return a RowList::iterator, adjust
4364
4365         * text2.C (init): adjust
4366         (insertRow): remove function
4367         (insertParagraph): adjust
4368         (redoParagraphs): adjust
4369         (fullRebreak): adjust
4370         (updateCounters): adjust
4371
4372         * text.C (top_y): rewrite to use RowList iterators.
4373         (top_y): adjust
4374         (setHeightOfRow): rewrite to sue RowList iterators.
4375         (appendParagraph): adjust
4376         (breakAgain): adjust
4377         (breakAgainOneRow): adjust
4378         (breakParagraph): adjust
4379         (getRow): adjust
4380         (getRowNearY): adjust, and remove commented code.
4381
4382         * lyxtext.h (firstRow): delete function
4383         (lastRow): delete function
4384         (rows): new function (const and non-const versions.)
4385         (insertRow): delete function
4386
4387         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4388
4389 2003-03-29  John Levon  <levon@movementarian.org>
4390
4391         * BufferView_pimpl.C: always update scrollbar top
4392         because pasting text when we're anchored could mean we
4393         miss an update altogether
4394
4395 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4396
4397         * text2.C (init): use rowlist_.end() and not 0.
4398         (insertRow): change to take a RowList::iterator as arg, adjust
4399         for this.
4400         (insertParagraph): change to take a RowList::iterator as arg,
4401         adjust for this.
4402         (redoParagraphs): remove some debug msgs.
4403
4404         * text.C (appendParagraph): change to take a RowList::iterator
4405         arg, adjust for this.
4406         (breakAgain): add an assert
4407         (breakAgainOneRow): ditto
4408
4409 2003-03-29  John Levon  <levon@movementarian.org>
4410
4411         * text2.C: do not clear selection after inc/decDepth
4412         (bug 550)
4413
4414 2003-03-29  John Levon  <levon@movementarian.org>
4415
4416         * BufferView.C:
4417         * buffer.C: fix broken strerrors according to Lars
4418
4419 2003-03-29  John Levon  <levon@movementarian.org>
4420
4421         * converters.C: more Alert cleanups
4422
4423 2003-03-29  John Levon  <levon@movementarian.org>
4424
4425         * bufferview_funcs.C: remove pointless Alert
4426
4427         * buffer.C: fix confusing error message when
4428         a template is chmoded 000
4429
4430 2003-03-29  John Levon  <levon@movementarian.org>
4431
4432         * BufferView.C:
4433         * BufferView.h:
4434         * BufferView_pimpl.C: Alert fixes
4435
4436         * Makefile.am:
4437         * tabular.C:
4438         * tabular-old.C: remove unused table compat reading
4439
4440 2003-03-29  John Levon  <levon@movementarian.org>
4441
4442         * BufferView.C:
4443         * buffer.C:
4444         * lyx_cb.h:
4445         * lyx_cb.C: more Alert cleanups
4446
4447         * lyxfunc.C: don't allow chktex if not latex document
4448
4449 2003-03-29  John Levon  <levon@movementarian.org>
4450
4451         * lyx_cb.C:
4452         * BufferView.C:
4453         * buffer.C: warnings pushed down from support/,
4454         kill err_alert
4455
4456 2003-03-29  John Levon  <levon@movementarian.org>
4457
4458         * lyxfunc.C: safety check for C-r (revert)
4459
4460 2003-03-29  John Levon  <levon@movementarian.org>
4461
4462         * bufferlist.h:
4463         * bufferlist.C: several UI fixes using Alert::prompt.
4464         Fix the pointless looping quit code. Fix stupid revert
4465         behaviour (bug 938)
4466
4467         * lyxvc.h:
4468         * lyxvc.C:
4469         * lyx_cb.C: use Alert::prompt
4470
4471         * lyx_main.C: remove a silly question
4472
4473         * lyxfunc.C: remove a couple of silly questions,
4474         use Alert::prompt
4475
4476 2003-03-28  John Levon  <levon@movementarian.org>
4477
4478         * text2.C: fix bug 974 (End on empty par)
4479
4480 2003-03-28  John Levon  <levon@movementarian.org>
4481
4482         * BufferView_pimpl.C:
4483         * LyXAction.C:
4484         * lfuns.h: remove do-nothing math greek lfuns
4485
4486 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4487
4488         * lyxgluelength.h (isValidGlueLength): add default arg on
4489         parameter 2. Remove default arg from friend in class.
4490
4491         * lyxlength.h (isValidLength): add default arg on parameter 2.
4492         Remove default arg from friend in class.
4493
4494         * text2.C (LyXText): adjust, initialize refresh_row.
4495         (init): adjust
4496         (removeRow): adjust
4497         (insertRow): adjust
4498         (insertParagraph): adjst
4499         (redoParagraphs): adjust
4500         (fullRebreak): adjust
4501         (updateCounters): adjust
4502         (deleteEmptyParagraphMechanism): first attempt at fixing a
4503         crashing bug.
4504
4505         * text.C (top_y): adjust
4506         (setHeightOfRow): adjust
4507         (getRow): adjust
4508         (getRowNearY): adjust
4509
4510         * lyxtext.h: include RowList.h
4511         (~LyXText): not needed anymore, deleted.
4512         (firstRow): modify for RowList
4513         (lastRow): new function
4514         Delete firstrow and lastrow class variables, add a Rowlist
4515         rowlist_ class variable.
4516
4517         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4518         paragraph is empty.
4519
4520         * RowList.C (insert): fix case where it == begin().
4521
4522 2003-03-26  Angus Leeming  <leeming@lyx.org>
4523
4524         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4525         the thesaurus dialog.
4526
4527 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4528
4529         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4530
4531         * RowList.[Ch]: new files
4532
4533         * ParagraphList.C (erase): handle the case where it == begin
4534         correctly.
4535
4536 2003-03-25  John Levon  <levon@movementarian.org>
4537
4538         * Makefile.am:
4539         * aspell_local.h:
4540         * aspell.C: add new aspell support
4541
4542         * lyxrc.h:
4543         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4544         have it accessible.
4545
4546 2003-03-25  Angus Leeming  <leeming@lyx.org>
4547
4548         * lfuns.h:
4549         * LyXAction.C (init): new LFUN_INSET_INSERT.
4550
4551         * BufferView_pimpl.C (dispatch): split out part of the
4552         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4553
4554         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4555         LFUN_INSET_APPLY.
4556
4557 2003-03-25  Angus Leeming  <leeming@lyx.org>
4558
4559         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4560
4561 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4562
4563         * text2.C:
4564         * text3.C: remove useless row->height(0)
4565
4566 2003-03-25  John Levon  <levon@movementarian.org>
4567
4568         * lyxtext.h:
4569         * text2.C:
4570         * text3.C: rename the refreshing stuff to better names
4571
4572 2003-03-24  John Levon  <levon@movementarian.org>
4573
4574         * BufferView_pimpl.h:
4575         * BufferView_pimpl.C: update layout choice on a mouse
4576         press/release
4577
4578 2003-03-23  John Levon  <levon@movementarian.org>
4579
4580         * Makefile.am: fix commandtags.h reference
4581
4582 2003-03-22  John Levon  <levon@movementarian.org>
4583
4584         * BufferView_pimpl.C:
4585         * lyxtext.h:
4586         * rowpainter.C:
4587         * rowpainter.h:
4588         * text.C:
4589         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4590
4591 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4592
4593         * lyxtext.h:
4594         * text.C: take the rtl methods out of line
4595
4596 2003-03-21 André Pönitz <poenitz@gmx.net>
4597
4598         * metricsinfo.[Ch]: new files containing structures to be passed around
4599         during the two-phase-drawing...
4600
4601 2003-03-21 André Pönitz <poenitz@gmx.net>
4602
4603         * lyxtextclass.C: read 'environment' tag.
4604
4605 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4606
4607         * text2.C (removeRow): fix bug 964
4608
4609 2003-03-20  John Levon  <levon@movementarian.org>
4610
4611         * rowpainter.C:
4612         * text.C:
4613         * text2.C: paint cleanups. Inset::update() dropped font
4614         parameter
4615
4616 2003-03-19  John Levon  <levon@movementarian.org>
4617
4618         * lyxfunc.C: only fitcursor/markDirty if available()
4619
4620 2003-03-19  John Levon  <levon@movementarian.org>
4621
4622         * commandtags.h: rename to ...
4623
4624         * lfuns.h: ... this, and renumber / cleanup
4625
4626 2003-03-19  John Levon  <levon@movementarian.org>
4627
4628         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4629         fit the cursor after an lfun
4630
4631         * BufferView.h:
4632         * BufferView.C:
4633         * BufferView_pimpl.h:
4634         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4635
4636         * LyXAction.C: layout-character should have ReadOnly
4637
4638         * ParagraphParameters.C:
4639         * buffer.C:
4640         * bufferview_funcs.C:
4641         * lyx_cb.C:
4642         * lyxfind.C:
4643         * lyxtext.h:
4644         * text.C:
4645         * text2.C:
4646         * text3.C:
4647         * undo_funcs.C: changes from above
4648
4649 2003-03-18  John Levon  <levon@movementarian.org>
4650
4651         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4652         remove it from update()
4653
4654         * lyxfunc.C: update layout choice after an lfun
4655
4656         * text3.C: remove extra updateLayoutChoice()s
4657
4658 2003-03-18  John Levon  <levon@movementarian.org>
4659
4660         * text.C: top_y change means full repaint, fix
4661         a drawing bug with cursor movement
4662
4663 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4664
4665         * lyxtext.h:
4666         * text.C:
4667         * text2.C: anchor row on setCursor
4668
4669 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4670
4671         * lyxtext.h: remove almost all mutable keywords
4672         * text.C:
4673         * text2.C:
4674         * text3.C: remove const keywords accordingly
4675
4676 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4677
4678         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4679         anon namespace
4680         (TeXEnvironment): ditto
4681         (TeXOnePar): ditto
4682
4683 2003-03-17  John Levon  <levon@movementarian.org>
4684
4685         * text.C (rowBreakPoint): remove attempt to fix displayed
4686         math insets inside a manual label
4687
4688 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4689
4690         * lyxtext.h: remove BufferView* as first arg from almost all class
4691         functions.
4692         * other files: adjust.
4693
4694 2003-03-17  John Levon  <levon@movementarian.org>
4695
4696         * lyxtext.h:
4697         * undo_funcs.C:
4698         * text2.C: more paint cleanups
4699
4700         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4701
4702         * rowpainter.h:
4703         * rowpainter.C: remove "smart" background painting code
4704
4705 2003-03-16  John Levon  <levon@movementarian.org>
4706
4707         * lyxtext.h:
4708         * text.C:
4709         * text2.C:
4710         * text3.C: add helper functions for setting refresh_row/y
4711
4712 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4713
4714         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4715         newline inset which *can* get inserted in the pass_thru layouts.
4716         This is primarily for literate documents.
4717
4718 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4719
4720         * buffer.C: increment LYX_FORMAT to 223
4721
4722 2003-03-14 André Pönitz <poenitz@gmx.net>
4723
4724         * textclass.h: prepare for environment handling, ws changes
4725         * lyxlayout.C: read latexheader and latexfooter tags
4726
4727 2003-03-14  John Levon  <levon@movementarian.org>
4728
4729         * text2.C: rewrite ::status() a bit
4730
4731 2003-03-13  John Levon  <levon@movementarian.org>
4732
4733         * lyxtext.h: add some docs
4734
4735 2003-03-13  John Levon  <levon@movementarian.org>
4736
4737         * lyxtext.h:
4738         * text.C:
4739         * text2.C:
4740         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4741
4742 2003-03-13  John Levon  <levon@movementarian.org>
4743
4744         * text3.C: fix appendix redrawing
4745
4746 2003-03-13  John Levon  <levon@movementarian.org>
4747
4748         * text.C (setHeightOfRow):
4749         * rowpainter.h:
4750         * rowpainter.C: make appendix mark have the text
4751           "Appendix" so the user knows what it is
4752
4753         * LColor.h:
4754         * LColor.C: s/appendixline/appendix/ from above
4755
4756 2003-03-13  John Levon  <levon@movementarian.org>
4757
4758         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4759
4760         * text.C: fix a getChar(pos) bug properly
4761
4762 2003-03-13  Angus Leeming  <leeming@lyx.org>
4763
4764         * commandtags.h:
4765         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4766         Probably only temporary. Let's see how things pan out.
4767
4768         * BufferView.C (unlockInset):
4769         * BufferView_pimpl.C (fitCursor):
4770         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4771
4772         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4773         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4774
4775         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4776         new functions that convert ParagraphParameters to and from a string.
4777
4778         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4779         BufferView::Pimpl's dispatch.
4780         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4781
4782 2003-03-13 André Pönitz <poenitz@gmx.net>
4783
4784         * lyxfunc.C:
4785         * text3.C:
4786         * factory.C: make it aware of InsetEnv
4787
4788 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4789
4790         * text2.C (setCursor): never ask for one past last
4791         (setCursor): add some debugging messages.
4792
4793         * text.C (singleWidth): never ask for one past last
4794         (singleWidth): ditto
4795         (leftMargin): ditto
4796         (rightMargin): ditto
4797         (rowBreakPoint): ditto
4798         (setHeightOfRow): ditto
4799         (prepareToPrint): ditto
4800
4801         * rowpainter.C (paintBackground): never ask for one past last
4802         (paintText): never ask for one past last
4803
4804         * paragraph_pimpl.C (getChar): make the assert stricter, never
4805         allow the one past last pos to be taken
4806
4807         * paragraph.C (getChar): ws changes only
4808
4809         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4810         (numberOfSeparators): ditto
4811         (numberOfHfills): ditto
4812
4813 2003-03-12  John Levon  <levon@movementarian.org>
4814
4815         * author.h:
4816         * author.C:
4817         * bufferparams.h:
4818         * bufferparams.C:
4819         * paragraph_funcs.C: fix per-buffer authorlists
4820
4821 2003-03-12  John Levon  <levon@movementarian.org>
4822
4823         * text.C: fix newline in right address
4824
4825 2003-03-12  Angus Leeming  <leeming@lyx.org>
4826
4827         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4828         duplicate those in LyXFunc::dispatch.
4829
4830         * commandtags.h:
4831         * LyXAction.C:
4832         * ToolbarDefaults.C:
4833         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4834         Add LFUN_FONTFREE_UPDATE.
4835
4836         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4837         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4838
4839         * bufferview_func.[Ch]: several new functions to facilliate
4840         transfer of data to and from the character dialog.
4841
4842 2003-03-12  John Levon  <levon@movementarian.org>
4843
4844         * buffer.C:
4845         * paragraph.h:
4846         * paragraph.C:
4847         * paragraph_funcs.C:
4848         * paragraph_pimpl.C:
4849         * sgml.C:
4850         * tabular.C:
4851         * text.C:
4852         * text3.C: remove META_NEWLINE in favour of an inset
4853
4854         * rowpainter.h:
4855         * rowpainter.C: remove paintNewline (done by inset)
4856
4857 2003-03-12  John Levon  <levon@movementarian.org>
4858
4859         * paragraph_pimpl.C: complain about bad getChar()s
4860         for a while at least
4861
4862 2003-03-12  John Levon  <levon@movementarian.org>
4863
4864         * buffer.h:
4865         * buffer.C: move paragraph read into a separate function,
4866         a little renaming to reflect that.
4867
4868         * bufferparams.h:
4869         * bufferparams.C: remove the author_ids map, not necessary now
4870
4871         * factory.h:
4872         * factory.C: moved Buffer::readInset to here
4873
4874         * paragraph_funcs.h:
4875         * paragraph_funcs.C: readParagraph free function moved from
4876         buffer.C
4877
4878         * tabular.C: name change
4879
4880 2003-03-12  John Levon  <levon@movementarian.org>
4881
4882         * buffer.C:
4883         * ParagraphParameters.C: move par params input to
4884         a read() method
4885
4886         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4887         behave like a normal read from the stream wrt reading
4888         a line vs. a \\token
4889
4890 2003-03-12  John Levon  <levon@movementarian.org>
4891
4892         * paragraph.C:
4893         * ParagraphParameters.h:
4894         * ParagraphParameters.C: move output code to a
4895         ::write() method
4896
4897 2003-03-12  John Levon  <levon@movementarian.org>
4898
4899         * BufferView.C (insertLyXFile):
4900         * buffer.h:
4901         * buffer.C:
4902         * tabular.C: use a parlist iterator for creating the
4903           document.
4904
4905 2003-03-12  John Levon  <levon@movementarian.org>
4906
4907         * buffer.C: make current_change static local not
4908           static file-scope
4909
4910 2003-03-12  John Levon  <levon@movementarian.org>
4911
4912         * buffer.C: fix insertStringAsLines for change tracking
4913
4914 2003-03-12  John Levon  <levon@movementarian.org>
4915
4916         * BufferView.C:
4917         * tabular.C:
4918         * buffer.h:
4919         * buffer.C:
4920         * bufferparams.h:
4921         * bufferparams.C: move author list into params. Rename some
4922           functions. Move the header reading into a separate token
4923           loop. Move the header token reading into BufferParams.
4924
4925 2003-03-12  John Levon  <levon@movementarian.org>
4926
4927         * changes.C: put debug inside lyxerr.debugging() checks
4928
4929 2003-03-11 André Pönitz <poenitz@gmx.net>
4930
4931         * factory.C: make it aware of InsetHFill
4932
4933 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4934
4935         * buffer.C (latexParagraphs): move function from here...
4936         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4937         args.
4938
4939 2003-03-10  Angus Leeming  <leeming@lyx.org>
4940
4941         * LyXAction.C (init): fix bug in poplating array with multiple entries
4942         with the same LFUN (spotted by JMarc).
4943
4944 2003-03-10  John Levon  <levon@movementarian.org>
4945
4946         * text.C:
4947         * text2.C: move getColumnNearX() near its
4948         only call site
4949
4950 2003-03-10  John Levon  <levon@movementarian.org>
4951
4952         * text.C: fix break before a minipage
4953
4954 2003-03-10  John Levon  <levon@movementarian.org>
4955
4956         * text.C: fix the last commit
4957
4958 2003-03-09  John Levon  <levon@movementarian.org>
4959
4960         * lyxtext.h:
4961         * text.C:
4962         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4963         bug 365 (don't break before insets unless needed). Don't
4964         return a value > last under any circumstances.
4965
4966 2003-03-09  Angus Leeming  <leeming@lyx.org>
4967
4968         * BufferView_pimpl.C (trackChanges, dispatch): call
4969         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4970
4971 2003-03-09  Angus Leeming  <leeming@lyx.org>
4972
4973         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4974         than Dialogs::showAboutlyx().
4975
4976 2003-03-09  Angus Leeming  <leeming@lyx.org>
4977
4978         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4979         than Dialogs::showTabularCreate().
4980
4981 2003-03-09  John Levon  <levon@movementarian.org>
4982
4983         * lyxtext.h:
4984         * text.C:
4985         * text2.C: 3rd arg to nextBreakPoint was always the same.
4986           Use references.
4987
4988 2003-03-08  John Levon  <levon@movementarian.org>
4989
4990         * lyxrow.C:
4991         * paragraph.C:
4992         * paragraph.h:
4993         * rowpainter.C:
4994         * text.C:
4995         * text2.C: Remove the "main" bit from the "main body"
4996           notion.
4997
4998 2003-03-08  John Levon  <levon@movementarian.org>
4999
5000         * text.C (leftMargin): The left margin of an empty
5001         manual label paragraph should not include the label width
5002         string length.
5003
5004         * text.C (prepareToPrint): don't attempt to measure hfills
5005         for empty manual label paragraphs - the answer should be 0
5006
5007 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5008
5009         * CutAndPaste.C: remove commented code and reindent.
5010
5011 2003-03-08  John Levon  <levon@movementarian.org>
5012
5013         * lyxfunc.h:
5014         * lyxfunc.C: move reloadBuffer()
5015
5016         * BufferView.h:
5017         * BufferView.C: to here
5018
5019         * lyxvc.C: add comment
5020
5021         * vc-backend.h:
5022         * vc-backend.C: call bv->reload() to avoid
5023           getStatus() check on MENURELOAD
5024
5025 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5026
5027         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5028         to an old format .dep file.
5029
5030 2003-03-07  Angus Leeming  <leeming@lyx.org>
5031
5032         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5033         when the LFUN_MOUSE_RELEASE should have been handled by
5034         inset->localDispatch.
5035
5036 2003-03-07  Angus Leeming  <leeming@lyx.org>
5037
5038         * BufferView_pimpl.C (dispatch):
5039         * LyXAction.C (init):
5040         * ToolbarDefaults.C (init):
5041         * commandtags.h:
5042         * lyxfunc.C (getStatus):
5043         remove LFUN_INSET_GRAPHICS.
5044
5045         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5046
5047 2003-03-07  Angus Leeming  <leeming@lyx.org>
5048
5049         * commandtags.h:
5050         * LyXAction.C (init):
5051         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5052
5053         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5054
5055         * commandtags.h:
5056         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5057
5058         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5059         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5060
5061 2003-03-07  Angus Leeming  <leeming@lyx.org>
5062
5063         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5064         remove "ert".
5065
5066 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5067
5068         * ParagraphList.C (front): new function
5069         (back): implement
5070
5071 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5072
5073         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5074         and top_row_offset_. removed var first_y.
5075         * text.C (top_y):
5076         * text2.C (LyXText, removeRow):
5077         * text3.C:
5078         * BufferView_pimpl.C:
5079         use these methods instead of using first_y
5080
5081 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5082
5083         * text2.C (pasteSelection): adjust for checkPastePossible
5084
5085         * CutAndPaste.C: remove Paragraph * buf and replace with
5086         ParagraphList paragraphs.
5087         (DeleteBuffer): delete
5088         (cutSelection): change the tc type to textclass_type
5089         (copySelection): change the tc type to textclass_type
5090         (copySelection): adjust for ParagraphList
5091         (pasteSelection): change the tc type to textclass_type
5092         (pasteSelection): adjust for Paragraphlist
5093         (nrOfParagraphs): simplify for ParagraphList
5094         (checkPastePossible): simplify for ParagraphList
5095         (checkPastePossible): remove unused arg
5096
5097         * ParagraphList.C (insert): handle the case where there are no
5098         paragraphs yet.
5099
5100         * CutAndPaste.h: make CutAndPaste a namespace.
5101
5102         * text3.C (dispatch): adjust
5103
5104         * text.C (breakParagraph): add a ParagraphList as arg
5105
5106         * paragraph_funcs.C (breakParagraph): change to take a
5107         BufferParams and a ParagraphList as args.
5108         (breakParagraphConservative): ditto
5109         (mergeParagraph): ditto
5110         (TeXDeeper): add a ParagraphList arg
5111         (TeXEnvironment): ditto
5112         (TeXOnePar): ditto
5113
5114         * buffer.C (readLyXformat2): adjust
5115         (insertStringAsLines): adjust
5116         (latexParagraphs): adjust
5117
5118         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5119         (cutSelection): adjust
5120         (pasteSelection): adjust
5121
5122         * BufferView_pimpl.C (insertInset): adjust
5123
5124 2003-03-05  Angus Leeming  <leeming@lyx.org>
5125
5126         * commandtags.h:
5127         * LyXAction.C (init):
5128         * BufferView_pimpl.C (dispatch):
5129         * lyxfunc.C (getStatus):
5130         remove LFUN_CHILD_INSERT.
5131
5132         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5133
5134 2003-03-05  Angus Leeming  <leeming@lyx.org>
5135
5136         * commandtags.h:
5137         * LyXAction.C (init):
5138         * src/factory.C (createInset):
5139         * lyxfunc.C (getStatus):
5140         * text3.C (dispatch):
5141         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5142
5143         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5144
5145 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5146
5147         * ParagraphList.C (insert): handle insert right before end()
5148         (erase): fix cases where it can be first or last paragraph.
5149
5150 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5151
5152         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5153         Paragraph::next and Paragraph::previous
5154         (TeXOnePar): ditto
5155
5156         * text.C (breakParagraph): adjust
5157
5158         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5159         BufferParams& as arg.
5160         (breakParagraph): use ParagraphList::insert
5161         (breakParagraphConservative): take a Buffer* instead of a
5162         BufferParams& as arg.
5163         (breakParagraphConservative): use ParagraphList::insert.
5164
5165         * buffer.C (insertStringAsLines): un-const it
5166         (insertStringAsLines): adjust
5167
5168         * ParagraphList.C (insert): new function
5169
5170         * CutAndPaste.C (pasteSelection): adjust
5171
5172         * text.C (backspace): adjust
5173
5174         * tabular.C (SetMultiColumn): adjust
5175
5176         * CutAndPaste.C (cutSelection): adjust
5177         (pasteSelection): adjust
5178
5179         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5180         Buffer const * as arg
5181
5182         * ParagraphList.C (erase): new function
5183         * paragraph_funcs.C (mergeParagraph): use it
5184         (mergeParagraph): make it take a Buffer* instead of a
5185         BufferParams* as arg
5186
5187         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5188         as arg
5189         (breakParagraphConservative): ditto
5190
5191         * paragraph.h: remove the breakParagraph friend
5192
5193         * paragraph.C (eraseIntern): new function
5194         (setChange): new function
5195
5196         * paragraph_funcs.C (mergeParagraph): make it take a
5197         ParagraphList::iterator instead of a Paragraph *, adjust
5198         accordingly.
5199
5200         * paragraph.h: move an #endif so that the change tracking stuff
5201         also works in the NO_NEXT case.
5202
5203 2003-03-04  Angus Leeming  <leeming@lyx.org>
5204
5205         * commandtags.h:
5206         * LyXAction.C: new LFUN_INSET_MODIFY.
5207
5208         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5209         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5210
5211 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5212
5213         * several files: ws changes only
5214
5215         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5216         (TeXEnvironment): ditto
5217         (TeXDeeper): ditto
5218
5219         * buffer.C (makeLaTeXFile): adjust
5220         (latexParagraphs): make it take ParagraphList::iterator as args
5221
5222 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5223
5224         * buffer.C (latexParagraphs): adjust
5225
5226         * paragraph.C (TeXOnePar): move function...
5227         (optArgInset): move function...
5228         (TeXEnvironment): move function...
5229         * paragraph_pimpl.C (TeXDeeper): move function...
5230         * paragraph_funcs.C: ...here
5231
5232         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5233
5234 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5235
5236         * buffer.C (readInset): remove compability code for old Figure and
5237         InsetInfo insets
5238
5239 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5240
5241         * buffer.C: ws changes
5242         (readInset):
5243
5244         * BufferView_pimpl.C: ditto
5245         * author.C: ditto
5246         * buffer.h: ditto
5247         * bufferlist.h: ditto
5248         * changes.h: ditto
5249         * lyxfunc.C: ditto
5250
5251 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5252
5253         * converter.[Ch]: split into itself +
5254         * graph.[Ch]
5255         * format.[Ch]
5256         * Makefile.am: += graph.[Ch] + format.[Ch]
5257         * MenuBackend.C
5258         * buffer.C
5259         * exporter.C
5260         * importer.C
5261         * lyx_main.C
5262         * lyxfunc.C
5263         * lyxrc.C: added #include "format.h"
5264
5265 2003-02-27  Angus Leeming  <leeming@lyx.org>
5266
5267         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5268           a label.
5269
5270         * factory.C (createInset): add "label" to the factory.
5271
5272         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5273           string and do no more.
5274
5275 2003-02-27  Angus Leeming  <leeming@lyx.org>
5276
5277         * commandtags.h:
5278         * LyXAction.C (init):
5279         * factory.C (createInset):
5280         * BufferView_pimpl.C (dispatch):
5281           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5282
5283         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5284
5285         * lyxfunc.C (dispatch):
5286         * text3.C (dispatch): pass name to params2string.
5287
5288 2003-02-26  Angus Leeming  <leeming@lyx.org>
5289
5290         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5291           blocks together.
5292           Rearrange the ~includes. Strip out the unnecessary ones.
5293
5294         * factory.C (createInset): reformat.
5295           create new insets for the various LFUN_XYZ_APPLY lfuns.
5296
5297 2003-02-26  John Levon  <levon@movementarian.org>
5298
5299         * lyxrow.h:
5300         * lyxrow.C: add isParStart,isParEnd helpers
5301
5302         * paragraph.h: make isInserted/DeletedText take refs
5303
5304         * paragraph_funcs.h:
5305         * paragraph_funcs.C: remove #if 0'd code
5306
5307         * lyxtext.h:
5308         * text3.C:
5309         * text2.C:
5310         * text.C: use lyxrow helpers above.
5311           Move draw and paint routines to RowPainter.
5312           Make several methods use refs not pointers.
5313           Make backgroundColor() const.
5314           Add markChangeInDraw(), isInInset().
5315           Merge changeRegionCase into changeCase.
5316           Make workWidth() shouldn't-happen code into an Assert.
5317
5318         * rowpainter.h:
5319         * rowpainter.C: new class for painting a row.
5320
5321         * vspace.h:
5322         * vspace.C: make inPixels take a ref
5323
5324 2003-02-26  Angus Leeming  <leeming@lyx.org>
5325
5326         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5327         LFUN_REF_APPLY.
5328
5329 2003-02-25  John Levon  <levon@movementarian.org>
5330
5331         * ispell.C: give the forked command a more accurate name
5332
5333 2003-02-22  John Levon  <levon@movementarian.org>
5334
5335         * toc.h:
5336         * toc.C: make TocItem store an id not a Paragraph *
5337           (bug #913)
5338
5339 2003-02-21  Angus Leeming  <leeming@lyx.org>
5340
5341         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5342           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5343           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5344           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5345           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5346           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5347
5348         * BufferView_pimpl.C (dispatch):
5349         * LyXAction.C (init):
5350         * factory.C (createInset):
5351         * lyxfunc.C (getStatus, dispatch):
5352         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5353
5354 2003-02-21  Angus Leeming  <leeming@lyx.org>
5355
5356         * BufferView_pimpl.C (MenuInsertLyXFile):
5357         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5358         * lyxfunc.C (menuNew, open, doImport):
5359           no longer pass a LyXView & to fileDlg.
5360
5361 2003-02-21  Angus Leeming  <leeming@lyx.org>
5362
5363         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5364         * LyXAction.C: change, BIBKEY to BIBITEM.
5365         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5366         Change InsetBibKey to InsetBibitem.
5367         Change BIBKEY_CODE to BIBITEM_CODE.
5368         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5369         * factory.C: replace insetbib.h with insetbibitem.h.
5370         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5371         * paragraph.C: replace insetbib.h with insetbibitem.h.
5372         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5373         Change bibkey() to bibitem().
5374         * text.C: remove insetbib.h.
5375         * text2.C: replace insetbib.h with insetbibitem.h.
5376         change bibkey() to bibitem().
5377         * text3.C: remove insetbib.h.
5378         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5379
5380 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5381
5382         * lyxrc.C (output): enclose user email in quotes (in case there are
5383         several words)
5384
5385 2003-02-18  John Levon  <levon@movementarian.org>
5386
5387         * buffer.h: add std::
5388
5389 2003-02-17  John Levon  <levon@movementarian.org>
5390
5391         * SpellBase.h:
5392         * ispell.h:
5393         * ispell.C:
5394         * pspell.h:
5395         * pspell.C: reworking. Especially in ispell, a large
5396           number of clean ups and bug fixes.
5397
5398         * lyxfunc.C: fix revert to behave sensibly
5399
5400 2003-02-17 André Pönitz <poenitz@gmx.net>
5401
5402         * LyXAction.C:
5403         * commandtags.h: new LFUN_INSERT_BIBKEY
5404
5405         * layout.h:
5406         * lyxlayout.C:
5407         * buffer.C:
5408         * factory.C:
5409         * text.C:
5410         * text2.C:
5411         * text3.C:
5412         * paragraph.[Ch]:
5413         * paragraph_func.C: remove special bibkey handling
5414
5415 2003-02-17  John Levon  <levon@movementarian.org>
5416
5417         * text.C (Delete): fix case where delete at the end of
5418           the very first paragraph would not merge the pars
5419
5420 2003-02-17  John Levon  <levon@movementarian.org>
5421
5422         * lyxrow.C: fix lastPrintablePos()
5423
5424 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5425
5426         * bufferparams.C (writeLaTeX): add a std:here
5427
5428         * buffer.C: and remove a using directive there
5429
5430 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5431
5432         * buffer.C (makeLaTeXFile): move the code that generates the
5433           preamble...
5434
5435         * bufferparams.C (writeLaTeX): ... in this new method
5436
5437         * LaTeXFeatures.C (getEncodingSet): make const
5438           (getLanguages): make const
5439
5440         * MenuBackend.C (binding): returns the binding associated to this
5441           action
5442           (add): sets the status of each item by calling getStatus. Adds
5443           some intelligence.
5444           (read): add support for OptSubMenu
5445           (expand): remove extra separator at the end of expanded menu
5446
5447 2003-02-15  John Levon  <levon@movementarian.org>
5448
5449         * BufferView.C:
5450         * BufferView_pimpl.C:
5451         * bufferlist.h:
5452         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5453           inset code that had no actual effect. Remove unneeded status
5454           code.
5455
5456 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5457
5458         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5459           in preamble
5460
5461 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5462
5463         * text.C (drawLengthMarker): also draw an arrow marker for
5464           symbolic lengths (medskip...)
5465
5466 2003-02-14  John Levon  <levon@movementarian.org>
5467
5468         * tabular.h:
5469         * tabular.C: better method names
5470
5471 2003-02-14  John Levon  <levon@movementarian.org>
5472
5473         * BufferView_pimpl.C:
5474         * bufferlist.C:
5475         * buffer.C:
5476         * converter.C:
5477         * lyx_cb.C:
5478         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5479           it's a more accurate name. Remove some pointless uses.
5480
5481 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5482
5483         * text2.C (LyXText): change order of initilizers to shut off
5484           warnings
5485
5486 2003-02-14  John Levon  <levon@movementarian.org>
5487
5488         * buffer.C: use ParIterator for getParFromID()
5489
5490         * paragraph.h:
5491         * paragraph.C:
5492         * paragraph_pimpl.h:
5493         * paragraph_pimpl.C: remove unused getParFromID()
5494
5495 2003-02-14  John Levon  <levon@movementarian.org>
5496
5497         * buffer.C: remove some very old #if 0'd parse code
5498
5499 2003-02-13  John Levon  <levon@movementarian.org>
5500
5501         * text.h:
5502         * text.C:
5503         * text2.C: move hfillExpansion(), numberOfSeparators(),
5504           rowLast(), rowLastPrintable(), numberofHfills(),
5505           numberOfLabelHfills() ...
5506
5507         * lyxrow.h:
5508         * lyxrow.C: ... to member functions here.
5509
5510         * paragraph.h:
5511         * paragraph.C:
5512         * lyxtext.h:
5513         * text.C: remove LyXText::beginningOfMainBody(), and call
5514           p->beginningOfMainBody() directly. Move the check for
5515           LABEL_MANUAL into the latter.
5516
5517         * text.h:
5518         * text.C:
5519         * text2.C:
5520         * vspace.C:
5521         * BufferView.h:
5522         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5523
5524         * text.h:
5525         * text.C:
5526         * text2.C:
5527         * text3.C:
5528         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5529           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5530
5531 2003-02-13  John Levon  <levon@movementarian.org>
5532
5533         * CutAndPaste.C: remove debug
5534
5535 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5536
5537         * paragraph.C (asString): remove two unused variables
5538
5539         * lyxtextclass.C (readTitleType):
5540           (Read):
5541           (LyXTextClass): handle new members titletype_ and titlename_
5542
5543         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5544
5545 2003-02-09  John Levon  <levon@movementarian.org>
5546
5547         * buffer.h:
5548         * buffer.C: replace hand-coded list with a map for the dep clean
5549
5550 2003-02-08  John Levon  <levon@movementarian.org>
5551
5552         * LaTeX.C: consolidate code into showRunMessage() helper
5553
5554 2003-02-08  John Levon  <levon@movementarian.org>
5555
5556         * lyxfind.C:
5557         * lyxtext.h:
5558         * text2.C:
5559         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5560           and pass the size in explicitly
5561
5562         * BufferView_pimpl.h:
5563         * BufferView_pimpl.C:
5564         * BufferView.h:
5565         * BufferView.C: add getCurrentChange()
5566
5567         * BufferView_pimpl.h:
5568         * BufferView_pimpl.C: handle change lfuns
5569
5570         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5571           for changes. Mark pasted paragraphs as new.
5572
5573         * support/lyxtime.h:
5574         * support/lyxtime.C:
5575         * DepTable.C: abstract time_t as lyx::time_type
5576
5577         * LColor.h:
5578         * LColor.C: add colours for new text, deleted text, changebars
5579
5580         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5581           package use "usenames" option.
5582
5583         * commandtags.h:
5584         * lyxfunc.C:
5585         * LyXAction.C: add change lfuns
5586
5587         * Makefile.am:
5588         * author.h:
5589         * author.C: author handling
5590
5591         * buffer.h:
5592         * buffer.C: add a per-buffer author list, with first entry as
5593           current author. Handle new .lyx tokens for change tracking. Output
5594           author list to .lyx file. Output dvipost stuff to .tex preamble.
5595           Bump lyx format to 222.
5596
5597         * bufferlist.h:
5598         * bufferlist.C: add setCurrentAuthor() to reset current author details
5599           in all buffers.
5600
5601         * bufferparams.h:
5602         * bufferparams.C: add param for tracking
5603
5604         * bufferview_funcs.C: output change info in minibuffer
5605
5606         * Makefile.am:
5607         * changes.h:
5608         * changes.C: add change-tracking structure
5609
5610         * debug.h:
5611         * debug.C: add CHANGES debug flag
5612
5613         * lyxfind.h:
5614         * lyxfind.C: add code for finding the next change piece
5615
5616         * lyxrc.h:
5617         * lyxrc.C: add user_name and user_email
5618
5619         * lyxrow.h:
5620         * lyxrow.C: add a metric for the top of the text line
5621
5622         * lyxtext.h:
5623         * text.C: implement accept/rejectChange()
5624
5625         * lyxtext.h:
5626         * text.C: paint changebars. Paint new/deleted text in the chosen
5627         colours. Strike through deleted text.
5628
5629         * paragraph.h:
5630         * paragraph.C:
5631         * paragraph_pimpl.h:
5632         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5633           in the current change to the insert functions. Rework erase to
5634           mark text as deleted, adding an eraseIntern() and a range-based
5635           erase(). Implement per-paragraph change lookup and
5636           accept/reject.
5637
5638         * paragraph_funcs.C: Fixup paste for change tracking.
5639
5640         * tabular.C: mark added row/columns as new.
5641
5642         * text.C: fix rowLast() to never return -1. Don't allow
5643           spellchecking of deleted text. Track transpose changes. Don't
5644           allow paragraph break or merge where appropriate.
5645
5646         * text2.C: leave cursor at end of selection after a cut.
5647
5648 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5649
5650         * text.C (getLengthMarkerHeight):
5651         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5652         visible on screen too.
5653
5654 2003-02-07  John Levon  <levon@movementarian.org>
5655
5656         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5657
5658 2003-02-05  Angus Leeming  <leeming@lyx.org>
5659
5660         * lyxserver.C (read_ready): revert my patch of 11 September last year
5661         as it sends PC cpu through the roof. Presumably this means that
5662         the lyxserver will no longer run on an Alpha...
5663
5664 2003-01-30  Angus Leeming  <leeming@lyx.org>
5665
5666         * factory.C (createInset): create an InsetCommandParam of type "index"
5667         and use it to 'do the right thing'.
5668
5669         * text2.C (getStringToIndex): ensure that cursor position is always
5670         reset to the reset_cursor position.
5671
5672 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5673
5674         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5675         disabled.
5676
5677 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5678
5679         * bufferview.C:
5680         * lyxcb.C:
5681         * lyxfunc.C: Output messages with identical spelling, punctuation,
5682         and spaces
5683
5684 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5685
5686         * MenuBackend.C (expandFormats): List only viewable export formats
5687         in "View" menu
5688
5689         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5690         message
5691
5692         * lyxfunc.C (getStatus): Make sure that formats other than
5693         "fax" can also be disabled
5694
5695 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5696
5697         * text3.C (dispatch): put the lfuns that insert insets in 3
5698         groups, and call doInsertInset with appropriate arguments.
5699         (doInsertInset): new function, that creates an inset and inserts
5700         it according to some boolean parameters.
5701
5702 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5703
5704         * buffer.C (readFile): remember to pass on 'par' when calling
5705         readFile recursively.
5706
5707 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5708
5709         * MenuBackend.C (expandFormats): add "..." to import formats.
5710
5711 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5712
5713         * paragraph.C (asString): Remove XForms RTL hacks.
5714
5715 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5716         * buffer.C: fix typo
5717
5718 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5719
5720         * Makefile.am (LIBS): delete var
5721         (lyx_LDADD): add @LIBS@ here instead.
5722
5723 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5724
5725         * Clarify the meaning of "wheel mouse jump"
5726
5727 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5728
5729         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5730         tabular in a float
5731
5732 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5733
5734         * importer.C (Loaders): do not preallocate 3 elements in the
5735         vector, since one ends up with 6 elements otherwise
5736
5737 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5738
5739         * DepTable.C (write): write the file name as last element of the
5740         .dep file (because it may contain spaces)
5741         (read): read info in the right order
5742
5743 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5744
5745         * paragraph_pimpl.C (simpleTeXBlanks):
5746         (simpleTeXSpecialChars):
5747         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5748
5749         * tabular.C (latex): add some missing case statements. Reindent.
5750
5751         * MenuBackend.C (expandToc): remove unused variable.
5752
5753 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5754
5755         * LColor.C:
5756         * LaTeX.C:
5757         * LyXAction.C:
5758         * MenuBackend.C:
5759         * buffer.C:
5760         * exporter.C:
5761         * lyxfunc.C:
5762         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5763         and the like.
5764
5765 2003-01-05  John Levon  <levon@movementarian.org>
5766
5767         * BufferView.h:
5768         * BufferView.C: add getEncoding()
5769
5770         * kbsequence.h:
5771         * kbsequence.C: do not store last keypress
5772
5773         * lyxfunc.h:
5774         * lyxfunc.C: store last keypress here instead. Pass encoding
5775           to getISOEncoded()
5776
5777 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5778
5779         * lyx_main.C (init): remove annoying error message when following
5780         symbolic links (bug #780)
5781
5782 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5783
5784         * text.C (insertChar):
5785         * lyxrc.C (getDescription): remove extra spaces
5786
5787 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5788
5789         * lyxrc.C (getDescription): remove extra spaces
5790
5791 2002-12-20  John Levon  <levon@movementarian.org>
5792
5793         * text3.C: hack fix for page up/down across tall rows
5794
5795 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5796
5797         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5798         not been invoked
5799
5800 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5801
5802         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5803         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5804         thesaurus is not compiled in
5805
5806 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5807
5808         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5809
5810 2002-12-16  Angus Leeming  <leeming@lyx.org>
5811
5812         * lyxrc.[Ch]:
5813         * lyx_main.C (init): remove override_x_deadkeys stuff.
5814
5815 2002-12-12  John Levon  <levon@movementarian.org>
5816
5817         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5818           insert. Only remove shift modifier under strict
5819           circumstances.
5820
5821 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5822
5823         * MenuBackend.C (expandToc): fix crash.
5824
5825 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5826
5827         * MenuBackend.C (expandToc): gettext on float names.
5828
5829 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5830
5831         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5832         implement bool empty() [bug 490]
5833
5834 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5835
5836         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5837
5838 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5839
5840         * several files: ws changes
5841
5842 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5843
5844         * text2.C (setCounter): clean up a bit, use boost.format.
5845         (updateCounters): initialize par upon declaration.
5846
5847         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5848         if the layout exists. We do not just store the layout any more.
5849         (SwitchLayoutsBetweenClasses): use boost.format
5850
5851 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5852
5853         * converter.C (convert): if from and to files are the same, use a
5854         temporary files as intermediary
5855
5856 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5857
5858         * commandtags.h:
5859         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5860
5861 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5862
5863         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5864
5865 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5866
5867         * tabular.C (asciiPrintCell): use string(size, char) instead of
5868         explicit loop.
5869
5870         * sgml.C (openTag): fix order of arguments to string constructor
5871         (closeTag): ditto
5872
5873         * lyxfunc.C (dispatch): use boost.format
5874
5875         * lots of files: change "c" -> 'c'
5876
5877 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5878
5879         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5880
5881 2002-11-25  Angus Leeming  <leeming@lyx.org>
5882
5883         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5884
5885         * lyx_main.C (init): compile fix.
5886
5887 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5888
5889         * lyx_cb.C (start): boost.formatify
5890         do not include <iostream>
5891
5892         * lengthcommon.C: ws only
5893
5894         * boost-inst.C,BoostFormat.h: add more explict instantations
5895
5896 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5897
5898         * lots of files: handle USE_BOOST_FORMAT
5899
5900 2002-11-21  John Levon  <levon@movementarian.org>
5901
5902         * pspell.C: fix compile
5903
5904 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5905
5906         * lyxfunc.C (dispatch): use boost::format
5907         (open): ditto
5908         (doImport): ditto
5909
5910         * lyxfont.C (stateText): use boost::format
5911
5912         * lyx_main.C (LyX): use boost::format
5913         (init): ditto
5914         (queryUserLyXDir): ditto
5915         (readRcFile): ditto
5916         (parse_dbg): ditto
5917         (typedef boost::function): use the recommened syntax.
5918
5919         * importer.C (Import): use boost::format
5920
5921         * debug.C (showLevel): use boost::format
5922
5923         * converter.C (view): use boost::format
5924         (convert): ditto
5925         (move): ditto
5926         (scanLog): ditto
5927
5928         * bufferview_funcs.C (currentState): use boost::format
5929
5930         * bufferlist.C (emergencyWrite): use boost::format
5931
5932         * buffer.C (readLyXformat2): use boost::format
5933         (parseSingleLyXformat2Token): ditto
5934
5935         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5936
5937         * LaTeX.C (run): use boost::format
5938
5939         * Chktex.C (scanLogFile): use boost::format
5940
5941         * BufferView_pimpl.C (savePosition): use boost::format
5942         (restorePosition): ditto
5943         (MenuInsertLyXFile): ditto
5944
5945         * BoostFormat.h: help file for explicit instation.
5946
5947 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5948
5949         * tabular.C (latex): Support for block alignment in fixed width
5950         columns.
5951
5952 2002-11-17  John Levon  <levon@movementarian.org>
5953
5954         * BufferView_pimpl.C:
5955         * lyx_cb.C:
5956         * lyxfunc.C: split filedialog into open/save
5957
5958 2002-11-08  Juergen Vigna  <jug@sad.it>
5959
5960         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5961         by my last patch (hopefully).
5962
5963 2002-11-08  John Levon  <levon@movementarian.org>
5964
5965         * iterators.h:
5966         * iterators.C:
5967         * buffer.h:
5968         * buffer.C:
5969         * paragraph.h:
5970         * paragraph.C:
5971         * toc.h:
5972         * toc.C: ParConstIterator, and use it (from Lars)
5973
5974 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5975
5976         * lyxtextclass.[Ch]: revise and add doxygen comments
5977
5978 2002-11-07  John Levon  <levon@movementarian.org>
5979
5980         * text.C: fix progress value for spellchecker
5981
5982         * toc.C: fix navigate menu for insetwrap inside minipage
5983
5984         * paragraph_funcs.C: added FIXME for suspect code
5985
5986 2002-11-07  John Levon  <levon@movementarian.org>
5987
5988         * BufferView_pimpl.C: fix redrawing of insets
5989           on buffer switch
5990
5991 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5992
5993         * text2.C (updateCounters): fix bug 668
5994
5995 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5996
5997         * text3.C (dispatch): Do not make the buffer dirty when moving the
5998         cursor.
5999
6000 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6001
6002         * vc-backend.C: STRCONV
6003         (scanMaster): ditto
6004
6005         * text2.C (setCounter): STRCONV
6006
6007         * paragraph.C (asString): STRCONV
6008
6009         * lyxlength.C (asString): STRCONV
6010         (asLatexString): ditto
6011
6012         * lyxgluelength.C (asString): STRCONV
6013         (asLatexString): ditto
6014
6015         * lyxfunc.C (dispatch): STRCONV
6016         (open): ditto
6017
6018         * lyxfont.C (stateText): STRCONV
6019
6020         * importer.C (Import): STRCONV
6021
6022         * counters.C (labelItem): STRCONV
6023         (numberLabel): ditto
6024         (numberLabel): remove unused ostringstream o
6025
6026         * chset.C: STRCONV
6027         (loadFile): ditto
6028
6029         * bufferview_funcs.C (currentState): STRCONV
6030
6031         * buffer.C (readFile): STRCONV
6032         (asciiParagraph): ditto
6033         (makeLaTeXFile): ditto
6034
6035         * Spacing.C (writeEnvirBegin): STRCONV
6036
6037         * LaTeXFeatures.C (getLanguages): STRCONV
6038         (getPackages): ditto
6039         (getMacros): ditto
6040         (getBabelOptions): ditto
6041         (getTClassPreamble): ditto
6042         (getLyXSGMLEntities): ditto
6043         (getIncludedFiles): ditto
6044
6045         * LaTeX.C: STRCONV
6046         (run): ditto
6047         (scanAuxFile): ditto
6048         (deplog): ditto
6049
6050         * LString.h: add the STRCONV macros
6051
6052         * BufferView_pimpl.C (savePosition): STRCONV
6053         (restorePosition): ditto
6054         (MenuInsertLyXFile): ditto
6055
6056         * vc-backend.C (scanMaster): change from submatch[...] to
6057         submatch.str(...)
6058
6059         * funcrequest.C: include config.h
6060
6061         * factory.C: include config.h
6062
6063         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6064
6065         * box.C: include config.h
6066
6067         * LaTeX.C (scanAuxFile): change from submatch[...] to
6068         submatch.str(...)
6069         (deplog): ditto
6070
6071 2002-10-25  Angus Leeming  <leeming@lyx.org>
6072
6073         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6074
6075         * ispell.[Ch] (setError): new method.
6076         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6077         Use setError() insetead of goto END.
6078
6079         * lyx_cb.C (AutoSave): move out child process into new class
6080         AutoSaveBuffer.
6081
6082 2002-10-30  John Levon  <levon@movementarian.org>
6083
6084         * text3.C: make start appendix undoable
6085
6086 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6087
6088         * lyxlength.C (inPixels): Fix returned value.
6089
6090         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6091         environment.
6092
6093 2002-10-24  Angus Leeming  <leeming@lyx.org>
6094
6095         * lyxgluelength.h: no need to forward declare BufferParams
6096         or BufferView, so don't.
6097
6098 2002-10-21  John Levon  <levon@movementarian.org>
6099
6100         * BufferView.C: menuUndo ->undo, redo
6101
6102         * BufferView.h: document, remove dead, make some methods private
6103
6104         * paragraph_funcs.h:
6105         * paragraph_funcs.C:
6106         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6107
6108         * buffer.h:
6109         * buffer.C:
6110         * sgml.h:
6111         * sgml.C: move sgml open/close tag into sgml.C
6112
6113         * bufferview_funcs.h: unused prototype
6114
6115         * lyxfunc.h:
6116         * lyxfunc.C: remove unused
6117
6118         * lyxtext.h:
6119         * text.C: remove unused
6120
6121 2002-10-21  John Levon  <levon@movementarian.org>
6122
6123         * BufferView.h:
6124         * BufferView.C:
6125         * BufferView_pimpl.h:
6126         * BufferView_pimpl.C: fix mouse wheel handling based on
6127           patch from Darren Freeman
6128
6129 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6130
6131         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6132
6133 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6134
6135         * lyxlength.C (inPixels): Fix hanfling of negative length.
6136         Fix LyXLength::MU case.
6137
6138 2002-10-16  John Levon  <levon@movementarian.org>
6139
6140         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6141
6142 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6143
6144         * converter.C (view): add support for $$i (file name) and $$p
6145         (file path) for the viewer command. If $$i is not specified, then
6146         it is appended to the command (for compatibility with old syntax)
6147
6148 2002-10-14  Juergen Vigna  <jug@sad.it>
6149
6150         * undo_funcs.C (textHandleUndo): alter the order in which the
6151         new undopar is added to the LyXText, as we have to set first
6152         the right prev/next and then add it as otherwise the rebuild of
6153         LyXText is not correct. Also reset the cursor to the right paragraph,
6154         with this IMO we could remove the hack in "redoParagraphs()".
6155
6156 2002-10-09  Angus Leeming  <leeming@lyx.org>
6157
6158         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6159         to turn off an optimisation if a new inset is to be inserted.
6160
6161 2002-10-11 André Pönitz <poenitz@gmx.net>
6162
6163         * lyxtext.h: make some functions public to allow access
6164         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6165
6166 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6167
6168         * text3.C (dispatch): when changing layout, avoid an infinite loop
6169         [bug #652]
6170
6171 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6172
6173         * lyxrc.C (read): treat a viewer or converter command of "none" as
6174         if it were empty.
6175
6176         * MenuBackend.C (expandFormats): for an update, also allow the
6177         formats that are not viewable
6178
6179         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6180         script if it is newer than the lyxrc.defaults in user directory
6181
6182 2002-10-07 André Pönitz <poenitz@gmx.net>
6183
6184         * text.C: Vitaly Lipatov's small i18n fix
6185
6186 2002-09-25  Angus Leeming  <leeming@lyx.org>
6187
6188         * ispell.h: doxygen fix.
6189
6190 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6191
6192         * buffer.h (readFile): Add a new argument to the method, to allow
6193         reading of old-format templates.
6194
6195 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6196
6197         * toc.C (getTocList): Get TOC from InsetWrap.
6198
6199 2002-09-16  John Levon  <levon@movementarian.org>
6200
6201         * lyxfunc.C: check tabular for cut/copy too
6202
6203 2002-09-12  John Levon  <levon@movementarian.org>
6204
6205         * LyXAction.C: tidy
6206
6207         * factory.h:
6208         * factory.C: add header
6209
6210         * paragraph_funcs.h:
6211         * paragraph_funcs.C: cleanup
6212
6213 2002-09-11  John Levon  <levon@movementarian.org>
6214
6215         * PrinterParams.h: odd/even default to true
6216
6217 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6218
6219         * PrinterParams.h: update printer parameters for new xforms dialog
6220
6221 2002-09-11  Angus Leeming  <leeming@lyx.org>
6222
6223         * lyxserver.C (read_ready): re-write to make it more transparent
6224         and to make it work in coherent fashion under Tru64 Unix.
6225
6226 2002-09-11  André Pönitz <poenitz@gmx.net>
6227
6228         * commandtags.h:
6229         * LyXAction.C:
6230         * text3.C: implement LFUN_WORDSEL
6231
6232 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6233
6234         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6235         make floatlist_ a boost::shared_ptr<FloatList>
6236
6237         * lyxtextclass.C: include FloatList.h
6238         (LyXTextClass): initialize floatlist_
6239         (TextClassTags): add TC_NOFLOAT
6240         (Read): match "nofloat" to TC_NOFLOAT and use it.
6241         (readFloat): modify call to floatlist_
6242         (floats): ditto
6243         (floats): ditto
6244
6245         * FloatList.[Ch] (FloatList): remove commented out float
6246         initialization.
6247         (erase): new function
6248
6249 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6250
6251         * MenuBackend.C (expandToc): fix crash when there is no document
6252         open
6253
6254 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6255
6256         * many files: Add insetwrap.
6257
6258 2002-09-09  John Levon  <levon@movementarian.org>
6259
6260         * text2.C: remove confusing and awkward depth wraparound
6261
6262 2002-09-09  John Levon  <levon@movementarian.org>
6263
6264         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6265
6266         * buffer.h:
6267         * buffer.C: remove getIncludeonlyList()
6268
6269         * paragraph.C:
6270         * lyxfunc.C: remove headers
6271
6272 2002-09-09  Juergen Vigna  <jug@sad.it>
6273
6274         * text.C (getColumnNearX): fix form Michael this is most
6275         probably a cut&paste bug.
6276
6277 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6278
6279         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6280
6281         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6282         references, ws changes.
6283
6284         * text2.C (init): update counters after init
6285         (insertParagraph): no need to set counter on idividual paragraphs.
6286         (setCounter): access the counters object in the textclass object
6287         on in the buffer object.
6288         (updateCounters): ditto
6289
6290         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6291         shared_ptr<Counters> to avoid loading counters.h in all
6292         compilation units.
6293         (LyXTextClass): initialize ctrs_
6294         (TextClassTags): add TC_COUNTER, and ...
6295         (Read): use it here.
6296         (CounterTags): new tags
6297         (readCounter): new function
6298         (counters): new funtion
6299         (defaultLayoutName): return a const reference
6300
6301         * counters.C (Counters): remove contructor
6302         (newCounter): remove a couple of unneeded statements.
6303         (newCounter): simplify a bit.
6304         (numberLabel): some small formatting changes.
6305
6306         * buffer.[Ch]: remove all traces of counters, move the Counters
6307         object to the LyXTextClass.
6308
6309 2002-09-06  Alain Castera  <castera@in2p3.fr>
6310
6311         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6312         package to set the horizontal alignment on fixed width columns.
6313
6314         * lyx_sty.C:
6315         * lyx_sty.h: added tabularnewline macro def.
6316
6317         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6318
6319 2002-09-06  John Levon  <levon@movementarian.org>
6320
6321         * LyXAction.C: tooltips for sub/superscript
6322
6323         * MenuBackend.C: a bit more verbose
6324
6325         * lyxfunc.C: tiny clean
6326
6327         * undo_funcs.C: document undo_frozen
6328
6329 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6330
6331         * counters.C (Counters): add missing algorithm counter.
6332
6333         * text2.C (setCounter): lookup the counter with layouts latexname
6334         instead of by section number.
6335         (setCounter): use a hackish way to lookup the correct enum
6336         counter.
6337         a float name->type change
6338         reset enum couners with counter name directly instead of depth value.
6339
6340         * counters.C (Counters): remove the push_backs, change to use the
6341         float type not the float name.
6342         (labelItem): remove unused string, float name->type change
6343
6344         * counters.h: don't include vector, loose the enums and sects vectors
6345
6346 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6347
6348         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6349         (Read): add float->TC_FLOAT to textclassTags
6350         (Read): and handle it in the switch
6351         (readFloat): new function
6352
6353         * FloatList.C (FloatList): comment out the hardcoded float
6354         definitions.
6355
6356         * lyxlayout.h: ws change.
6357
6358 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6359
6360         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6361
6362 2002-09-03  Angus Leeming  <leeming@lyx.org>
6363
6364         * BufferView_pimpl.h: qualified name is not allowed in member
6365         declaration: WorkArea & Pimpl::workarea() const;
6366
6367         * factory.C: added using std::endl directive.
6368
6369         * text3.C: added using std::find and std::vector directives.
6370
6371 2002-08-29  André Pönitz <poenitz@gmx.net>
6372
6373         * lyxtext.h:
6374         * text2.C: remove unused member number_of_rows
6375
6376         * Makefile.am:
6377         * BufferView2.C: remove file, move contents to...
6378         * BufferView.C: ... here
6379
6380         * BufferView_pimpl.C:
6381         * factory.C: move more inset creation to factory
6382
6383         * vspace.C: avoid direct usage of LyXText, ws changes
6384
6385         * BufferView.[Ch]:
6386                 don't provide direct access to WorkArea, use two simple
6387                 acessors haveSelction() and workHeight() instead
6388
6389
6390 2002-08-29  John Levon  <levon@movementarian.org>
6391
6392         * BufferView_pimpl.C (dispatch): do not continue when
6393           no buffer
6394
6395 2002-08-28  André Pönitz <poenitz@gmx.net>
6396
6397         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6398
6399         * BufferView.h:
6400         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6401
6402 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6403
6404         * buffer.C: increment LYX_FORMAT to 221
6405
6406         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6407         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6408
6409         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6410
6411         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6412
6413 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6414
6415         * factory.C (createInset): use LyXTextClass::floats
6416
6417         * MenuBackend.C (expandFloatListInsert):
6418         (expandFloatInsert):
6419         (expandToc):
6420
6421         * text2.C (setCounter):
6422
6423         * LaTeXFeatures.C (useFloat):
6424         (getFloatDefinitions):
6425
6426         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6427
6428         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6429         floatlist_, with accessor floats().
6430
6431         * FloatList.h: remove global FloatList
6432
6433 2002-08-26  André Pönitz <poenitz@gmx.net>
6434
6435         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6436
6437         * BufferView.h:
6438         * BufferView2.C:
6439         * BufferView_pimpl.C:
6440         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6441
6442 2002-08-25  John Levon  <levon@movementarian.org>
6443
6444         * LyXAction.C: fix margin note description
6445
6446 2002-08-24  John Levon  <levon@movementarian.org>
6447
6448         * buffer.C:
6449         * bufferlist.C:
6450         * bufferview_funcs.C:
6451         * lyxfont.C:
6452         * undo_funcs.C: cleanups
6453
6454         * lyxfunc.C: disable CUT/COPY when no selection
6455
6456 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6457
6458         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6459         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6460
6461         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6462         Add backward compatibility to "mono", "gray" and "no".
6463
6464 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6465
6466         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6467         (and file_format >= 200).
6468
6469 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6470
6471         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6472
6473 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6474
6475         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6476
6477 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6478
6479         * BufferView_pimpl.C:
6480         * LyXAction.C:
6481         * buffer.C:
6482         * commandtags.h:
6483         * lyxfunc.C:
6484         * paragraph.[Ch]:
6485         * text2.C:
6486         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6487         inset and code to make it  work with the paragraph code. The inset
6488         can be anywhere in the paragraph, but will only do the expected
6489         thing in LaTeX if the layout file contains the parameter line
6490                         OptionalArgs    1
6491         (or more generally, a nonzero value) for that layout.
6492
6493 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6494
6495         * paragraph.h: remove the declaration of undefined counters class
6496         function.
6497
6498 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6499
6500         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6501         Dr. Richard Hawkins.
6502
6503 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6504
6505         * paragraph_funcs.h: remove some unneeded includes
6506
6507         * text.C (backspace): pasteParagraph now in global scipe
6508
6509         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6510         (pasteSelection): ditto
6511
6512         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6513         * paragraph_funcs.C (pasteParagraph): ... here
6514
6515 2002-08-20  André Pönitz <poenitz@gmx.net>
6516
6517         * commandtags.h: new LFUNs for swapping/copying table row/colums
6518
6519         * LyXAction.C:
6520         * lyxfunc.C: support for new lfuns
6521
6522 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6523
6524         * tabular.C:
6525         * buffer.[Ch]: remove NO_COMPABILITY stuff
6526
6527 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6528
6529         * boost.C (throw_exception): new file, with helper function for
6530         boost compiled without exceptions.
6531
6532         * paragraph.h:
6533         * lyxlength.C:
6534         * buffer.C:
6535         * ParameterStruct.h:
6536         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6537
6538         * bufferlist.C (emergencyWriteAll): use boost bind
6539
6540         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6541
6542         * text.C: include paragraph_funcs.h
6543         (breakParagraph): breakParagraph is now in global scope
6544
6545         * paragraph_funcs.[Ch]: new files
6546
6547         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6548         global scope
6549
6550         * buffer.C: include paragraph_funcs.h
6551         (insertStringAsLines): breakParagraph is now in global scope
6552
6553         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6554         paragraph_funcs.C
6555
6556         * CutAndPaste.C: include paragraph_funcs.h
6557         (cutSelection): breakParagraphConservative is now in global scope
6558         (pasteSelection): ditto
6559
6560         * buffer.h: declare oprator== and operator!= for
6561         Buffer::inset_iterator
6562
6563         * bufferlist.C (emergencyWrite): don't use fmt(...)
6564
6565         * text3.C: add using std::endl
6566
6567         * BufferView.C (moveCursorUpdate): remove default arg
6568
6569 2002-08-20  André Pönitz <poenitz@gmx.net>
6570
6571         * buffer.[Ch]: move inline functions to .C
6572
6573         * BufferView2.C:
6574         * BufferView_pimpl.C:
6575         * text.C:
6576         * buffer.[Ch]: use improved inset_iterator
6577
6578         * buffer.C:
6579         * paragraph.[Ch]: write one paragraph at a time
6580
6581 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6582
6583         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6584         style if style is not specified.
6585
6586 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6587
6588         * text2.C (setCounter): when searching for right label for a
6589         caption, make sure to recurse to parent insets (so that a caption
6590         in a minipage in a figure float works) (bug #568)
6591
6592 2002-08-20  André Pönitz <poenitz@gmx.net>
6593
6594         * text3.C: new file for LyXText::dispatch() and helpers
6595
6596         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6597
6598         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6599
6600 2002-08-19  André Pönitz <poenitz@gmx.net>
6601
6602         * lyxtext.h:
6603         * text.C: new LyXText::dispatch()
6604
6605         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6606
6607 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6608
6609         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6610
6611         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6612         Hebrew text.
6613
6614 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6615
6616         * Makefile.am: use $(variables) instead of @substitutions@
6617
6618 2002-08-15  André Pönitz <poenitz@gmx.net>
6619
6620         * lyxfunc.C:
6621         * BufferView_pimpl.C: streamlining mathed <-> outer world
6622         interaction
6623
6624         * commandtags.h:
6625         * LyXAction.C: remove unused LFUN_MATH
6626
6627 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6628
6629         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6630
6631 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6632
6633         * paragraph.C (Paragraph): reformat a bit
6634         (cutIntoMinibuffer): use builtin InsetList function instad of
6635         doing it manually.
6636         (getInset): ditto
6637
6638         * buffer.C: include boost/bind.hpp, add using std::for_each
6639         (writeFileAscii): use ParagraphList iterators
6640         (validate): use for_each for validate traversal of paragraphs
6641         (getBibkeyList): use ParagraphList iterators
6642         (resizeInsets): use for_each to resizeInsetsLyXText for all
6643         paragraphs.
6644         (getParFromID): use ParagraphList iterators
6645
6646         * BufferView2.C (lockInset): use paragraph list and iterators
6647
6648 2002-08-14  John Levon  <levon@movementarian.org>
6649
6650         * lyxserver.C: remove spurious xforms include
6651
6652 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6653
6654         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6655
6656 2002-08-13  André Pönitz <poenitz@gmx.net>
6657
6658         * LyXAction.[Ch]:
6659         * lyxfunc.C: further cleaning
6660
6661 2002-08-13  André Pönitz <poenitz@gmx.net>
6662
6663         * funcrequest.h: new constructor
6664
6665         * funcrequest.C: move stuff here from .h
6666
6667         * Makefile.am:
6668         * BufferView_pimpl.C:
6669         * LyXAction.C:
6670         * toc.C:
6671         * lyxfunc.C: subsequent changes
6672
6673         * lyxfunc.h: new view() member function
6674
6675         * lyxfunc.C: subsequent changes
6676
6677 2002-08-13  Angus Leeming  <leeming@lyx.org>
6678
6679         * BufferView2.C:
6680         * BufferView_pimpl.C:
6681         * buffer.C:
6682         * converter.C:
6683         * importer.C:
6684         * lyxfunc.C:
6685         * lyxvc.C:
6686         * toc.C:
6687         * vc-backend.C:
6688         changes due to the changed LyXView interface that now returns references
6689         to member variables not pointers.
6690
6691 2002-08-13  Angus Leeming  <leeming@lyx.org>
6692
6693         * WordLangTuple (word, lang_code): return references to strings,
6694         not strings.
6695
6696         * BufferView.h:
6697         * SpellBase.h:
6698         * lyxtext.h: forward-declare WordLangTuple.
6699
6700         * BufferView2.C:
6701         * ispell.C:
6702         * pspell.C:
6703         * text.C: #include "WordLangTuple.h".
6704
6705         * lyxtext.h:
6706         * text.C: (selectNextWordToSpellcheck): constify return type.
6707
6708 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6709
6710         * buffer.C:
6711         * buffer.h:
6712         * lyxtext.h:
6713         * paragraph.C:
6714         * paragraph_pimpl.h:
6715         * text.C:
6716         * text2.C:
6717         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6718         suggested by Angus.
6719         Made updateCounter always count from start of buffer, and removed
6720         second argument (par).
6721         Reverted floats number display to '#'. Perhaps I'll try again when the
6722         code base is sanitized a bit.
6723
6724 2002-08-12  Angus Leeming  <leeming@lyx.org>
6725
6726         * buffer.[Ch] (getLabelList): constify.
6727
6728 2002-08-07  André Pönitz <poenitz@gmx.net>
6729
6730         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6731
6732         * funcrequest.h: extension to keep mouse (x,y) position
6733
6734 2002-08-12  Juergen Vigna  <jug@sad.it>
6735
6736         * BufferView2.C (insertErrors): forbid undo when inserting error
6737         insets.
6738
6739         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6740
6741 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6742
6743         * ParagraphList.[Ch]: new files
6744
6745         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6746
6747         * BufferView2.C (lockInset): ParagraphList changes
6748         * toc.C: ditto
6749         * text2.C: ditto
6750         * bufferlist.C: ditto
6751         * buffer.h: ditto
6752         * buffer.C: ditto
6753
6754 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6755
6756         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6757         unused class variable counter_,
6758
6759         * paragraph.[Ch] (getFirstCounter): delete unused function
6760
6761         * counters.C: include LAssert.h
6762         (reset): add a new function with no arg, change other version to
6763         not have def. arg and to not allow empty arg.
6764
6765         * text2.C (setCounter): remove empty arg from call to Counters::reset
6766
6767 2002-08-11  John Levon  <levon@movementarian.org>
6768
6769         * Makefile.am: add WordLangTuple.h
6770
6771 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6772
6773         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6774         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6775
6776         * insets/insettext.C: InsetList changes
6777
6778         * graphics/GraphicsSupport.C (operator()): InsetList changes
6779
6780         * toc.C (getTocList): InsetList changes
6781
6782         * paragraph_pimpl.[Ch]: InsetList changes
6783
6784         * paragraph.[Ch]: InsetList changes
6785
6786         * buffer.C (inset_iterator): InsetList changes
6787         (setParagraph): ditto
6788         * buffer.h (inset_iterator): ditto
6789         * iterators.C (operator++): ditto
6790         * iterators.h: ditto
6791
6792         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6793
6794         * InsetList.[Ch]: new files, most InsetList handling moved out of
6795         paragraph.C.
6796
6797         * BufferView2.C (removeAutoInsets): InsetList changes
6798         (lockInset): ditto
6799         (ChangeInsets): ditto
6800
6801 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6802
6803         * paragraph_pimpl.h (empty): new function
6804
6805         * paragraph.[Ch] (empty): new function
6806
6807         * other files: use the new Paragraph::empty function
6808
6809 2002-08-09  John Levon  <levon@movementarian.org>
6810
6811         * lyxtext.h: remove unused refresh_height
6812
6813 2002-08-09  John Levon  <levon@movementarian.org>
6814
6815         * Makefile.am:
6816         * sgml.h:
6817         * sgml.C:
6818         * buffer.C:
6819         * paragraph.h:
6820         * paragraph.C: move sgml char escaping out of paragraph
6821
6822         * paragraph.h:
6823         * paragraph.C: remove id setter
6824
6825         * buffer.C:
6826         * paragraph.C:
6827         * paragraph_pimpl.C: remove dead tex_code_break_column
6828
6829         * bufferview_funcs.C: small cleanup
6830
6831         * lyxfunc.C: remove dead proto
6832
6833         * lyxtext.h: make some stuff private. Remove some dead stuff.
6834
6835         * lyxgluelength.C: make as[LyX]String() readable
6836
6837 2002-08-08  John Levon  <levon@movementarian.org>
6838
6839         * LyXAction.h:
6840         * LyXAction.C:
6841         * MenuBackend.C:
6842         * ToolbarDefaults.C:
6843         * lyxfunc.C:
6844         * lyxrc.C:
6845         * toc.C: lyxaction cleanup
6846
6847 2002-08-08  John Levon  <levon@movementarian.org>
6848
6849         * BufferView2.C: small cleanup
6850
6851         * lyxfind.h:
6852         * lyxfind.C: move unnecessary header into the .C
6853
6854 2002-08-08  John Levon  <levon@movementarian.org>
6855
6856         * funcrequest.h: just tedious nonsense
6857
6858         * lyx_main.h:
6859         * lyx_main.C: cleanups
6860
6861         * buffer.C:
6862         * vspace.C: remove dead header lyx_main.h
6863
6864 2002-08-07  Angus Leeming  <leeming@lyx.org>
6865
6866         * Paragraph.[Ch]:
6867         * paragraph_pimpl.h:
6868         Forward declare class Counters in paragraph.h by moving the ctrs member
6869         variable into Paragraph::Pimpl.
6870         (counters): new method, returning a reference to pimpl_->ctrs.
6871
6872         * text2.C: ensuing changes.
6873
6874 2002-08-07  John Levon  <levon@movementarian.org>
6875
6876         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6877
6878         * BufferView_pimpl.C: announce X selection on double/triple
6879           click
6880
6881         * lyx_main.C: use correct bool in batch dispatch
6882
6883         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6884
6885 2002-08-07  André Pönitz <poenitz@gmx.net>
6886
6887         * funcrequest.h: new class to wrap a kb_action and its argument
6888
6889         * BufferView.[Ch]:
6890         * BufferView_pimpl[Ch]:
6891         * LaTeX.C:
6892         * LyXAction.[Ch]:
6893         * lyxfunc.[Ch]:
6894         * lyxrc.C: subsequent changes
6895
6896
6897 2002-08-07  John Levon  <levon@movementarian.org>
6898
6899         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6900           document options change.
6901
6902 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6903
6904         * counters.[Ch]
6905         * text2.C
6906         * paragraph.[Ch]
6907         * makefile.am: move counters functionality over from
6908         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6909
6910 2002-08-06  John Levon  <levon@movementarian.org>
6911
6912         * WordLangTuple.h: new file for word + language code tuple
6913
6914         * SpellBase.h:
6915         * pspell.h:
6916         * pspell.C:
6917         * ispell.h:
6918         * ispell.C:
6919         * lyxtext.h:
6920         * text.C:
6921         * text2.C:
6922         * BufferView.h:
6923         * BufferView2.C: use WordLangTuple
6924
6925         * layout.h:
6926         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6927
6928 2002-08-06  John Levon  <levon@movementarian.org>
6929
6930         * lyx_main.C: fix cmdline batch handling
6931
6932 2002-08-06  André Pönitz <poenitz@gmx.net>
6933
6934         * lyxrc.C: set default for show_banner to true
6935
6936 2002-08-06  John Levon  <levon@movementarian.org>
6937
6938         * pspell.C: fix a crash, and allow new aspell to work
6939
6940 2002-08-06  John Levon  <levon@movementarian.org>
6941
6942         * lyxfunc.C:
6943         * kbmap.C: small cleanup
6944
6945         * vspace.h:
6946         * vspace.C: add const
6947
6948 2002-08-05  John Levon  <levon@movementarian.org>
6949
6950         * LyXAction.C: back to tabular-insert
6951
6952 2002-08-04  John Levon  <levon@movementarian.org>
6953
6954         * BufferView.h:
6955         * BufferView.C: cosmetic change
6956
6957         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6958
6959         * bufferlist.C:
6960         * buffer.h:
6961         * buffer.C:
6962         * lyxcb.h:
6963         * lyxcb.C:
6964         * lyxserver.C:
6965         * lyxvc.C:
6966         * vc-backend.C:
6967         * BufferView2.C: purge all "Lyx" not "LyX" strings
6968
6969         * lyxcursor.h:
6970         * lyxcursor.C: attempt to add some documentation
6971
6972         * lyxfunc.C:
6973         * commandtags.h:
6974         * LyXAction.C:
6975         * ToolbarDefaults.C:
6976         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6977           merge with LFUN_TABULAR_INSERT
6978
6979         * Makefile.am:
6980         * SpellBase.h:
6981         * ispell.h:
6982         * ispell.C:
6983         * pspell.h:
6984         * pspell.C: split up i/pspell implementations into separate
6985           files, many cleanups
6986
6987         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6988
6989         * text2.C: some cleanup
6990
6991         * lyxfunc.C: don't check for isp_command == "none" any more, it
6992           didn't make any sense
6993
6994 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6995
6996         * counters.[Ch]
6997         * text2.C
6998         * paragraph.[Ch]
6999         * makefile.am: move counters functionality over
7000         from text2.C/paragraph.[Ch] to counters.[Ch], and
7001         make proper C++.
7002 2002-08-02  John Levon  <levon@movementarian.org>
7003
7004         * buffer.C: s/lyxconvert/lyx2lyx/
7005
7006 2002-08-02  Angus Leeming  <leeming@lyx.org>
7007
7008         * lyxlex.C: revert John's change as it breaks reading of the user
7009         preamble.
7010
7011 2002-08-02  Angus Leeming  <leeming@lyx.org>
7012
7013         * importer.C (Import):
7014         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7015         changes due to LyXView::view() now returning a boost::shared_ptr.
7016
7017 2002-08-02  John Levon  <levon@movementarian.org>
7018
7019         * lyxlex.C: small cleanup
7020
7021 2002-08-02  John Levon  <levon@movementarian.org>
7022
7023         * text2.C (status): small cleanup, no logic change
7024
7025 2002-08-01  John Levon  <levon@movementarian.org>
7026
7027         * buffer.h:
7028         * buffer.C (writeFile): don't output alerts, caller
7029           handles this
7030
7031         * bufferlist.C:
7032         * lyx_cb.C: from above
7033
7034         * lyxfunc.C: allow to open non-existent files
7035
7036 2002-07-31  John Levon  <levon@movementarian.org>
7037
7038         * lyxserver.C: don't let incidental errors get
7039           in the way (errno)
7040
7041 2002-07-30  John Levon  <levon@movementarian.org>
7042
7043         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7044
7045 2002-07-30  John Levon  <levon@movementarian.org>
7046
7047         * lyxserver.h:
7048         * lyxserver.C: remove I/O callback too
7049
7050 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7051
7052         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7053         log.
7054
7055 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7056
7057         * many files: strip,frontStrip -> trim,ltrim,rtrim
7058
7059 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7060
7061         * PrinterParams.h: remove extern containsOnly, and include
7062         support/lstrings.h instead.
7063
7064         * LaTeX.C (scanAuxFile): modify because of strip changes
7065         (deplog): ditto
7066         * buffer.C (makeLaTeXFile): ditto
7067         * bufferparams.C (writeFile): ditt
7068         * lyxfont.C (stateText): ditto
7069         * lyxserver.C (read_ready): ditto
7070         * vc-backend.C (scanMaster): ditto
7071
7072         * BufferView_pimpl.h: ws changes
7073
7074         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7075
7076 2002-07-26  André Pönitz <poenitz@gmx.net>
7077
7078         * kb_sequence.C: remove unnedred usings
7079
7080 2002-07-26  Juergen Vigna  <jug@sad.it>
7081
7082         * lyxfind.C (LyXReplace): we have to check better if the returned
7083         text is not of theLockingInset()->getLockingInset().
7084
7085 2002-07-25  Juergen Vigna  <jug@sad.it>
7086
7087         * lyxfind.C (LyXReplace): don't replace if we don't get the
7088         right LyXText.
7089
7090         * undo_funcs.C (createUndo): remove debugging code.
7091
7092 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7093
7094         * buffer.C (parseSingleLyXformat2Token): Use default placement
7095         when reading old floats.
7096
7097         * FloatList.C (FloatList): Change the default placement of figure
7098         and tables to "tbp".
7099
7100 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7101
7102         * MenuBackend.C: using std::max
7103
7104 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7105
7106         * MenuBackend.C (expandToc):
7107         (expandToc2): code moved from xforms menu frontend. It is now
7108         generic and TOCs are transparent to menu frontends.
7109
7110 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7111
7112         * toc.C (getTocList): protect against buf=0
7113
7114         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7115         Menu as first parameter. Now, this calls itself recursively to
7116         expand a whole tree (this will be useful for TOC handling)
7117         (expandFloatInsert): remove 'wide' version of floats
7118
7119         * MenuBackend.h (submenuname): returns the name of the submenu.
7120         (submenu): returns the submenu itself, provided it has been
7121         created by MenuBackend::expand
7122
7123 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7124
7125         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7126         insets which have noFontChange == true. (bug #172)
7127
7128 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7129
7130         * BufferView_pimpl.C: add connection objects and use them...
7131         (Pimpl): here.
7132
7133 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7134
7135         * MenuBackend.C (expandLastfiles):
7136         (expandDocuments):
7137         (expandFormats):
7138         (expandFloatListInsert):
7139         (expandFloatInsert):
7140         (expand): split expand in parts
7141
7142 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7143
7144         * lyx_gui.C: use lyx_gui::exit()
7145
7146 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7147
7148         * LyXAction.C: show the failing pseudo action
7149
7150 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7151
7152         * buffer.C (readFile): Run the lyxconvert script in order to read
7153         old files.
7154
7155 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7156
7157         * LyXAction.C:
7158         * commandtags.h:
7159         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7160
7161 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7162
7163         * LyXAction.C:
7164         * commandtags.h:
7165         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7166
7167 2002-07-22  Herbert Voss  <voss@lyx.org>
7168
7169         * lengthcommon.C:
7170         * lyxlength.[Ch]: add support for the vertical lengths
7171
7172 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7173
7174         * toc.[Ch]: std:: fixes
7175
7176 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7177
7178         * lyxrc.C: do not include lyx_main.h
7179
7180         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7181         for layouts
7182
7183         * lyxrc.C:
7184         * encoding.C:
7185         * bufferlist.C:
7186         * BufferView2.C: include "lyxlex.h"
7187
7188         * tabular.h:
7189         * bufferparams.h: do not #include "lyxlex.h"
7190
7191         * lyxtextclasslist.C (Add): remove method
7192         (classlist): renamed to classlist_
7193
7194         * paragraph_pimpl.C:
7195         * paragraph.C:
7196         * text2.C:
7197         * CutAndPaste.C:
7198         * bufferview_funcs.C:
7199         * bufferlist.C:
7200         * text.C:
7201         * LaTeXFeatures.C:
7202         * buffer.C:
7203         * toc.C (getTocList): use BufferParams::getLyXTextClass
7204
7205         * toc.C (getTocList): use InsetFloat::addToToc
7206
7207         * toc.[Ch]: new files, containing helper functions to handle table
7208         of contents
7209
7210         * lyxfunc.C (dispatch): no need to remove spaces around command
7211         given as a string
7212         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7213         first command of the sequence; it is not very clever, but I do not
7214         have a better idea, actually
7215
7216         * LyXAction.C (LookupFunc): make sure to remove space at the
7217         beginning and end of the command
7218
7219 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7220
7221         * MenuBackend.C (getMenubar): new method: return the menubar of
7222         this menu set
7223         (read): treat differently reading of menu and menubar (in
7224         particular, the menubar has no name now)
7225         (Menu::menubar): remove
7226
7227         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7228         saving is finished
7229
7230 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7231
7232         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7233         a bibitem inset in a RTL paragraph.
7234
7235 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7236
7237         * paragraph_pimpl.C: constify
7238
7239         * BufferView_pimpl.C:
7240         * LaTeX.C:
7241         * lyxfunc.C: fix dispatch in a nicer way
7242
7243 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7244
7245         * lyxfunc.C (dispatch):
7246         * BufferView_pimpl.C:
7247         * BufferView_pimpl.h:
7248         * BufferView.C:
7249         * BufferView.h: rename Dispatch() to dispatch()
7250
7251         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7252
7253         * lyxlayout.C (Read): honor DependsOn tag
7254
7255         * lyxlayout.[Ch] (depends_on): new method
7256
7257         * version.C.in: update lyx_docversion
7258
7259         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7260
7261         * paragraph.C (validate): remove from here...
7262         * paragraph_pimpl.C (validate): ... and move here
7263         (isTextAt): make it const
7264
7265         * buffer.C (getLists): ws cleanup
7266
7267 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7268
7269         * language.C (read): Use iso8859-1 encoding in latex_lang
7270         (this prevents LyX from crashing when using iso10646-1 encoding).
7271
7272 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7273
7274         * text2.C (toggleInset): if cursor is inside an inset, close the
7275         inset and leave cursor _after_ it
7276
7277 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7278
7279         * lyxfunc.C: move minibuffer completion handling out of here
7280
7281 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7282
7283         * BufferView_pimpl.C:
7284         * LaTeX.C: fix dispatch calls
7285
7286 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7287
7288         * text.C (drawChars): Fix Arabic text rendering.
7289
7290 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7291
7292         * LyXAction.C:
7293         * commandtags.h:
7294         * lyxfunc.C: remove message-push/pop
7295
7296         * lyxserver.C:
7297         * lyxfunc.h:
7298         * lyxfunc.C: rationalise some code by removing verboseDispatch
7299           in favour of a bool argument to dispatch()
7300
7301 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7302
7303         * lyx_main.C (init): make sure to read symlinks as absolute paths
7304
7305 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7306
7307         * lyxfunc.h:
7308         * lyxfunc.C: no need for commandshortcut to be a member
7309
7310 2002-07-15  André Pönitz <poenitz@gmx.net>
7311
7312         * converter.C: add support for $$s (scripts from lib/scripts dir)
7313         * lyx_main.C: white space
7314
7315 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7316
7317         * bufferlist.C:
7318         * lyxrc.h:
7319         * lyxrc.C: remove second exit confirmation
7320
7321 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7322
7323         * BufferView.h:
7324         * BufferView.C:
7325         * BufferView2.C:
7326         * BufferView_pimpl.h:
7327         * BufferView_pimpl.C:
7328         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7329
7330 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7331
7332         * MenuBackend.C (expand): add numeric shortcuts to document menu
7333
7334         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7335
7336 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7337
7338         * lyxfont.C (setLyXFamily):
7339         (setLyXSeries):
7340         (setLyXShape):
7341         (setLyXSize):
7342         (setLyXMisc):
7343         (lyxRead):
7344         * debug.C (value):
7345         * buffer.C (asciiParagraph): use ascii_lowercase
7346
7347 2002-07-15  Mike Fabian  <mfabian@suse.de>
7348
7349         * lyxlex_pimpl.C (search_kw):
7350         * lyxlex.C (getLongString):
7351         * converter.h (operator<):
7352         * converter.C (operator<):
7353         * buffer.C (parseSingleLyXformat2Token):
7354         (asciiParagraph):
7355         * ToolbarDefaults.C (read):
7356         * MenuBackend.C (checkShortcuts):
7357         (read):
7358         * LColor.C (getFromGUIName):
7359         (getFromLyXName): use the compare_ascii_no_case instead of
7360         compare_no_case, because in turkish, 'i' is not the lowercase
7361         version of 'I', and thus turkish locale breaks parsing of tags.
7362
7363 2002-07-16  Angus Leeming  <leeming@lyx.org>
7364
7365         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7366         now takes a Buffer const & argument.
7367
7368 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7369
7370         * BufferView.C (resize): check there's a buffer to resize
7371
7372 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7373
7374         * lyxfunc.C: remove dead code
7375
7376         * lyxserver.h:
7377         * lyxserver.C: use lyx_guii::set_read_callback
7378
7379 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7380
7381         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7382         an inset in a RTL paragraph.
7383
7384 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7385
7386         * lyxfunc.C: repaint after a font size update
7387
7388 2002-07-15  André Pönitz <poenitz@gmx.net>
7389
7390         * lyxlength.C: inBP should be able to return negative values
7391
7392 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7393
7394         * lyxfunc.C: use lyx_gui::update_fonts()
7395
7396 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7397
7398         * lyxfunc.C: use lyx_gui::update_color()
7399
7400 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7401
7402         * bufferlist.C:
7403         * lyxfunc.h:
7404         * lyxfunc.C:
7405         * lyxrc.h:
7406         * lyxrc.C: remove file->new asks for name option, and let
7407           buffer-new take an argument
7408
7409 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7410
7411         * BufferView_pimpl.C: remove unneeded extra repaint()
7412
7413 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7414
7415         * LyXAction.C: allow command-sequence with NoBuffer
7416
7417         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7418
7419 2002-07-10  Angus Leeming  <leeming@lyx.org>
7420
7421         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7422
7423 2002-07-09  Angus Leeming  <leeming@lyx.org>
7424
7425         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7426
7427 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7428
7429         * lengthcommon.h: whitespace
7430
7431         * lyxfunc.C: update scrollbar after goto paragraph
7432
7433         * lyxtext.h: factor out page break drawing, and fix it so
7434           page break/added space paints as selected nicely
7435
7436 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7437
7438         * BufferView_pimpl.C: add FIXMEs, clean up a little
7439
7440 2002-07-09  André Pönitz <poenitz@gmx.net>
7441
7442         * lyxfont.[Ch]: support for wasy symbols
7443
7444 2002-07-08  André Pönitz <poenitz@gmx.net>
7445
7446         * BufferView_pimpl.C: apply John's patch for #93.
7447
7448 2002-07-05  Angus Leeming  <leeming@lyx.org>
7449
7450         * BufferView_pimpl.C (buffer): generate previews if desired.
7451
7452         * LColor.h: add "preview" to the color enum.
7453
7454         * LColor.C (LColor): add a corresponding entry to the items array.
7455
7456         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7457         with this buffer.
7458
7459 2002-07-05  Angus Leeming  <leeming@lyx.org>
7460
7461         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7462         The body of the code is now in the method that is passed an ostream &
7463         rather than a file name.
7464         Pass an additional only_preamble parameter, useful for the forthcoming
7465         preview stuff.
7466
7467 2002-07-03  André Pönitz <poenitz@gmx.net>
7468
7469         * lyxfunc.C: simplify getStatus() a bit for math stuff
7470
7471 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7472
7473         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7474
7475 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7476
7477         * text.C (changeRegionCase): do not change case of all the
7478         document when region ends at paragraph end (bug #461)
7479
7480 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7481
7482         * paragraph.C (startTeXParParams):
7483         (endTeXParParams): add \protect when necessary
7484
7485 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7486
7487         * BufferView_pimpl.C (workAreaExpose): remove warning
7488
7489 2002-06-27  Angus Leeming  <leeming@lyx.org>
7490
7491         * Makefile.am: add lyxlayout_ptr_fwd.h.
7492
7493 2002-06-26  André Pönitz <poenitz@gmx.net>
7494
7495         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7496
7497 2002-06-25  Angus Leeming  <leeming@lyx.org>
7498
7499         * lyxfunc.C (dispatch): Comment out the call to
7500         grfx::GCache::changeDisplay. The method no longer exists now that the
7501         pixmap generation part of the graphics loader has been moved into
7502         InsetGraphics.
7503
7504 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7505
7506         * text2.C: layout as layout
7507
7508         * text.C: layout as layout
7509
7510         * tabular.C (OldFormatRead): layout as layout
7511
7512         * paragraph_pimpl.C (TeXDeeper): layout as layout
7513         (realizeFont): layout as layout
7514
7515         * paragraph.C (writeFile): layout as layout
7516         (validate): layout as layout
7517         (getFont): layout as layout
7518         (getLabelFont): layout as layout
7519         (getLayoutFont): layout as layout
7520         (breakParagraph): layout as layout
7521         (stripLeadingSpaces): layout as layout
7522         (getEndLabel): layout as layout
7523         (getMaxDepthAfter): layout as layout
7524         (applyLayout): layout as layout
7525         (TeXOnePar): layout as layout
7526         (simpleTeXOnePar): layout as layout
7527         (TeXEnvironment): layout as layout
7528         (layout): layout as layout
7529         (layout): layout as layout
7530
7531         * lyxtextclass.C (compare_name): new functor to work with
7532         shared_ptr, layout as layout
7533         (Read): layout as layout
7534         (hasLayout): layout as layout
7535         (operator): layout as layout
7536         (delete_layout): layout as layout
7537         (defaultLayout): layout as layout
7538
7539         * lyxlayout_ptr_fwd.h: new file
7540
7541         * lyxlayout.C (Read): layout as layout
7542
7543         * lyx_cb.C (MenuInsertLabel): layout as layout
7544
7545         * bufferlist.C (newFile): layout as layout
7546
7547         * buffer.C (readLyXformat2): layout as layout
7548         (parseSingleLyXformat2Token): layout as layout
7549         (insertStringAsLines): layout as layout
7550         (asciiParagraph): layout as layout
7551         (latexParagraphs): layout as layout
7552         (makeLinuxDocFile): layout as layout
7553         (simpleLinuxDocOnePar): layout as layout
7554         (makeDocBookFile): layout as layout
7555         (simpleDocBookOnePar): layout as layout
7556         (getLists): layout as layout
7557
7558         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7559
7560         * CutAndPaste.C (cutSelection): layout as layout
7561         (pasteSelection): layout as layout
7562         (SwitchLayoutsBetweenClasses): layout as layout
7563
7564         * BufferView_pimpl.C (Dispatch): layout as layout
7565         (smartQuote): layout as layout
7566
7567         * BufferView2.C (unlockInset): layout as layout
7568
7569 2002-06-24  André Pönitz <poenitz@gmx.net>
7570
7571         * lyxfunc.C: fix #487
7572
7573 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7574
7575         * lyxrc.h:
7576         * lyxrc.C:
7577         * lyxfunc.C: remove display_shortcuts, show_banner
7578
7579 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7580
7581         * Buffer_pimpl.C: oops, update on resize
7582
7583 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7584
7585         * buffer.C:
7586         * converter.C:
7587         * exporter.C:
7588         * lyxfunc.C:
7589         * BufferView.h:
7590         * BufferView.C: use repaint()
7591
7592         * BufferView_pimpl.h:
7593         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7594           as it's a clearer description. Remove superfluous
7595           redraws.
7596
7597 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7598
7599         * text.C: fix bug 488. Not ideal, but getting
7600           getWord() to work properly for the insets that
7601           matter is more difficult ...
7602
7603 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7604
7605         * BufferView_pimpl.C:
7606         * LyXAction.C:
7607         * commandtags.h:
7608         * lyxfunc.C: remove the six million index lyxfuncs to just
7609           one, and DTRT (bug 458)
7610
7611 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7612
7613         * BufferView.h:
7614         * BufferView.C:
7615         * BufferView_pimpl.h:
7616         * BufferView_pimpl.C: clean up resize() stuff,
7617           and unnecessary updateScreen()s
7618
7619 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7620
7621         * BufferView.h:
7622         * BufferView.C:
7623         * BufferView_pimpl.h:
7624         * BufferView_pimpl.C:
7625         * lyxfind.h:
7626         * lyxfind.C:
7627         * minibuffer.C: remove focus management of workarea,
7628           not needed. Use screen's greyOut()
7629
7630 2002-06-17  Herbert Voss  <voss@lyx.org>
7631
7632         * converter.C: (convert) do not post a message, when converting
7633         fails, let the calling function decide what to do in this case
7634
7635 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7636
7637         * lyxfunc.C: tidy up a little
7638
7639 2002-06-16    <alstrup@diku.dk>
7640
7641         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7642         Got rid of FORMS_H_LOCATION include. Now we are
7643         GUII.
7644
7645 2002-06-15  LyX Development team  <lyx@rilke>
7646
7647         * buffer.[Ch] (sgmlOpenTag):
7648         (sgmlCloseTag): Added support for avoiding pernicious mixed
7649         content. Return number of lines written.
7650
7651         (makeLinuxDocFile):
7652         (makeDocBookFile): Fixed calls to sgml*Tag.
7653         Simple white space clean.
7654
7655         (simpleDocBookOnePar): Simple white space clean.
7656
7657         * tabular.[Ch] (docBook): Renamed to docbook and got another
7658         argument to related with the pernicious mixed content.
7659
7660         (docbookRow): Fixed calls for docbook inset method.
7661
7662 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7663
7664         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7665         so it's X11 independent.
7666
7667         * kb*.[Ch]: ditto.
7668
7669         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7670
7671 2002-06-15  Lyx Development team  <lyx@electronia>
7672
7673         * intl.h: Renamed getTrans to getTransManager.
7674
7675 2002-06-14  Angus Leeming  <leeming@lyx.org>
7676
7677         * Makefile.am: nuke forgotten stl_string_fwd.h.
7678
7679 2002-06-12  Angus Leeming  <leeming@lyx.org>
7680
7681         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7682
7683 2002-06-13  Angus Leeming  <leeming@lyx.org>
7684
7685         * LaTeX.C:
7686         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7687
7688 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7689
7690         * kbmap.C (getiso): add support for cyrillic and greek
7691
7692 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7693
7694         * BufferView.h:
7695         * BufferView.C:
7696         * BufferView_pimpl.h:
7697         * BufferView_pimpl.C: move bogus scrolling logic
7698           to xforms
7699
7700 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7701
7702         * lyxfunc.C:
7703         * BufferView_pimpl.C: view->resize() change
7704
7705 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7706
7707         * BufferView_pimpl.C: topCursorVisible
7708           prototype change
7709
7710 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7711
7712         * Makefile.am:
7713         * lyx_gui.h:
7714         * lyx_gui.C: move to frontends/
7715
7716         * main.C:
7717         * lyx_main.h:
7718         * lyx_main.C: changes from above
7719
7720 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7721
7722         * intl.C:
7723         * intl.h:
7724         * kbmap.C:
7725         * kbsequence.C:
7726         * lyx_cb.C:
7727         * lyx_main.C: minor tidy
7728
7729 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7730
7731         * BufferView_pimpl.h:
7732         * BufferView_pimpl.C:
7733         * BufferView.h:
7734         * BufferView.C: make painter() const,
7735           remove dead code
7736
7737         * BufferView2.C: use screen() accessor
7738
7739         * lyx_main.h:
7740         * lyx_main.C: some minor cleanup
7741
7742 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7743
7744         * BufferView_pimpl.h:
7745         * BufferView_pimpl.C: remove enter/leaveView,
7746           use workHeight()
7747
7748 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7749
7750         * BufferView.h:
7751         * BufferView.C:
7752         * BufferView2.C:
7753         * BufferView_pimpl.h:
7754         * BufferView_pimpl.C: only construct screen once,
7755           rename
7756
7757         * lyxrc.C: remove pointless comment
7758
7759 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7760
7761         * BufferView.h:
7762         * BufferView.C: remove active() and belowMouse()
7763
7764         * BufferView_pimpl.h:
7765         * BufferView_pimpl.C: use workarea() not workarea_,
7766           and make it use a scoped_ptr instead
7767
7768 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7769
7770         * lyx_gui.C: add debug message on BadWindow
7771
7772 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7773
7774         * sp_spell.C: fdopen is not part of the C++ standard.
7775
7776         * paragraph.C (InsetIterator): use >= instead of ==
7777
7778 2002-06-07  Angus Leeming  <leeming@lyx.org>
7779
7780         Fixes needed to compile with Compaq cxx 6.5.
7781         * BufferView_pimpl.C:
7782         * DepTable.C:
7783         * buffer.C:
7784         * converter.C:
7785         * encoding.C:
7786         * lyx_gui.C:
7787         * lyx_main.C:
7788         * lyxtextclasslist.C:
7789         * minibuffer.C:
7790         * sp_spell.C:
7791         * tabular_funcs.C:
7792         * vc-backend.C:
7793         all c-library variables have been moved into namespace std. Wrap
7794         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7795
7796         * lyxlength.C:
7797         * tabular-old.C:
7798         * tabular.C:
7799         Add a using std::abs declaration.
7800
7801         * kbmap.h (modifier_pair):
7802         * paragraph.h (InsetTable, InsetList):
7803         * lyxfont.h (FontBits):
7804         type definition made public.
7805
7806         * bufferlist.C (emergencyWriteAll): the compiler complains that
7807         there is more than one possible lyx::class_fun template to choose from.
7808         I re-named the void specialisation as lyx::void_class_fun.
7809
7810         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7811
7812         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7813         the compiler is is unable to find tostr in write_attribute.
7814
7815 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7816
7817         * buffer.C (sgmlError): hide #warning
7818
7819 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7820
7821         * xtl/*: get rid of xtl, which is not in use anyway
7822
7823         * LyXAction.C (init):
7824         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7825         were unimplemented xtl experimentation
7826
7827 2002-06-04  André Pönitz <poenitz@gmx.net>
7828
7829         * lyxfunc.C: disable array operation on simple formulae
7830
7831 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7832
7833         * converter.C: constify a bit
7834
7835 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7836
7837         * lyx_gui.C: check xforms version correctly
7838
7839 2002-04-30  Herbert Voss  <voss@lyx.org>
7840
7841         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7842         "keep" option
7843
7844 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7845
7846         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7847           attempt to register it with a VCS)
7848
7849 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7850
7851         * lyx_main.C (init): honor variables LYX_DIR_13x and
7852         LYX_USERDIR_13x
7853
7854 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7855
7856         * buffer.h:
7857         * buffer.C:
7858         * lyx_main.C: fix a crash on bad command line,
7859           and give a useful exit status on error
7860
7861         * lyxfunc.C (doImport): allow -i lyx to work
7862
7863 2002-03-30  André Pönitz <poenitz@gmx.net>
7864
7865         * lyxfunc.C: mathed font changes
7866
7867 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7868
7869         * LaTeX.C:
7870         * importer.h:
7871         * importer.C:
7872         * lyx_sty.h:
7873         * lyx_sty.C:
7874         * lyxlex.C:
7875         * lyxrow.h:
7876         * lyxtext.h:
7877         * paragraph.h:
7878         * paragraph.C:
7879         * texrow.h:
7880         * texrow.C:
7881         * text.C:
7882         * trans_mgr.h: srcdocs, and some minor cleanups
7883
7884 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7885
7886         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7887         call getFont all the time)
7888
7889 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7890
7891         * switch from SigC signals to boost::signals
7892
7893 2002-05-29  André Pönitz <poenitz@gmx.net>
7894
7895         * paragraph_pimpl.C (getChar): don't call size() too often...
7896
7897 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7898
7899         * paragraph_pimpl.C (insertChar): do not try to update tables when
7900         appending (pos == size())
7901
7902         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7903         in order to reduce drastically the number of comparisons needed to
7904         parse a large document
7905
7906 2002-05-29  André Pönitz <poenitz@gmx.net>
7907
7908         * text.C:
7909         * text2.C:
7910         * lyxtextclass.C:
7911         * sp_pspell.h:
7912         * textclasslist.[Ch]:
7913         * sp_ispell.h: whitespace change
7914
7915 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7916
7917         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7918         lyxaction directly now.
7919
7920 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7921
7922         * trans.C:
7923         * lyxfont.C:
7924         * lyxvc.C: remove unused headers
7925
7926 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7927
7928         * Makefile.am:
7929         * buffer.h:
7930         * undostack.h:
7931         * undostack.C:
7932         * undo_funcs.h:
7933         * undo_funcs.C: some cleanups. Use shared_ptr
7934           and a template for the undo stacks.
7935
7936 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7937
7938         * BufferView_pimpl.h:
7939         * BufferView_pimpl.C:
7940         * kbmap.h:
7941         * kbmap.C:
7942         * kbsequence.h:
7943         * kbsequence.C:
7944         * lyxfunc.h:
7945         * lyxfunc.C:
7946         * text2.C: use key_state/mouse_state
7947
7948 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7949
7950         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7951         and LSubstring
7952
7953         * chset.C: change include order
7954         (loadFile): use boost regex and get rid of LRegex and LSubstring
7955
7956         * Makefile.am (BOOST_LIBS): new variable
7957         (lyx_LDADD): use it
7958
7959         * LaTeX.C: change include order.
7960         (scanAuxFile): use boost regex and get rid of LRegex and
7961         LSubstring
7962         (deplog): ditto
7963
7964 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7965
7966         * ColorHandler.h:
7967         * ColorHandler.C:
7968         * FontInfo.h:
7969         * FontInfo.C: moved to frontends/xforms/
7970
7971         * FontLoader.h:
7972         * FontLoader.C: moved into frontends for GUIIzation
7973
7974         * Makefile.am:
7975         * lyx_gui.C:
7976         * lyxfont.C:
7977         * lyxfunc.C: changes from above
7978
7979 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7980
7981         * LColor.C: remove spurious X include
7982
7983         * BufferView_pimpl.C:
7984         * Makefile.am:
7985         * font.h:
7986         * font.C:
7987         * text.C:
7988         * text2.C: move font metrics to frontends/
7989
7990 2002-05-24  Juergen Vigna  <jug@sad.it>
7991
7992         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7993         setting the undo_cursor.
7994
7995         * ParagraphParameters.h: include local includes first.
7996
7997 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7998
7999         * BufferView_pimpl.C:
8000         * BufferView_pimpl.h:
8001         * Makefile.am:
8002         * WorkArea.h:
8003         * WorkArea.C:
8004         * screen.C: move WorkArea into frontends/
8005
8006         * lyxscreen.h:
8007         * screen.C:
8008         * text.C:
8009         * BufferView.C:
8010         * BufferView2.C: move LyXScreen into frontends/
8011
8012         * lyxlookup.h:
8013         * lyxlookup.C:
8014         * lyx_gui.C: move lyxlookup into frontends/xforms/
8015
8016 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8017
8018         * BufferView2.C:
8019         * BufferView_pimpl.C:
8020         * FontLoader.C:
8021         * LyXView.h:
8022         * LyXView.C:
8023         * Makefile.am:
8024         * WorkArea.C:
8025         * XFormsView.h:
8026         * XFormsView.C:
8027         * buffer.C:
8028         * bufferlist.C:
8029         * bufferview_funcs.C:
8030         * converter.C:
8031         * importer.C:
8032         * lyx_cb.C:
8033         * lyx_gui.C:
8034         * lyx_main.C:
8035         * lyx_find.C:
8036         * lyxfunc.C:
8037         * lyxvc.C:
8038         * minibuffer.C:
8039         * text.C:
8040         * text2.C:
8041         * trans.C:
8042         * vc-backend.C: move LyX/XFormsView into frontends/
8043
8044 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8045
8046         * Makefile.am:
8047         * PainterBase.C:
8048         * PainterBase.h:
8049         * Painter.C:
8050         * Painter.h:
8051         * WorkArea.C:
8052         * WorkArea.h:
8053         * screen.C:
8054         * tabular.C:
8055         * text.C:
8056         * text2.C: move Painter to frontends/
8057
8058 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8059
8060         * buffer.C: comment out some some code that depend upon lyx_format
8061         < 220
8062
8063         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8064         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8065
8066         * buffer.h (NO_COMPABILITY): turn off compability
8067
8068         * ColorHandler.C: include scoped_array.hpp
8069
8070         * font.C: Use more specific smart_ptr header.
8071         * Painter.C: ditto
8072         * gettext.C: ditto
8073         * ShareContainer.h: ditto
8074         * lyx_main.h: ditto
8075         * kbmap.h: ditto
8076         * FontInfo.h: ditto
8077         * BufferView_pimpl.h: ditto
8078         * ColorHandler.h: ditto
8079
8080         * kbmap.C (defkey): change call to shared_ptr::reset
8081
8082 2002-05-21  Juergen Vigna  <jug@sad.it>
8083
8084         * buffer.C (insertErtContents): fix to insert ert asis if it is
8085         non empty. Skip it completely if it contains only whitespaces.
8086
8087 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8088
8089         * BufferView_pimpl.C:
8090         * BufferView2.C: clear selection on paste (bug 393)
8091
8092 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8093
8094         * DepTable.C: include ctime
8095
8096 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8097
8098         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8099
8100 2002-05-14  Juergen Vigna  <jug@sad.it>
8101
8102         * text.C (breakParagraph): fixed function to honor the keepempty
8103         layout in the right maner and also to permit the right breaking
8104         algorithm on empty or non empyt keepempty paragraphs.
8105
8106         * paragraph.C (breakParagraph): we have to check also if the par
8107         is really empty (!size()) for isempty otherwise we do the wrong
8108         paragraph break.
8109
8110 2002-05-10  Juergen Vigna  <jug@sad.it>
8111
8112         * buffer.[Ch] : The following are only changes to the ert
8113         compatibility read reading old LaTeX layout and font stuff and
8114         convert it to ERTInsets.
8115
8116         * buffer.h: added isErtInset().
8117
8118         * buffer.C (struct ErtComp): add a fromlayout bool to check
8119         if we're inside a LaTeX layout.
8120         (isErtInset): new helper function.
8121         (insertErtContents): look for other ert insets before this one
8122         and insert the contents there, so that we don't have subsequent
8123         ERT insets with nothing between them. This way we create only one
8124         inset with multiple paragraphs. Also check if we don't insert only
8125         spaces ' ' as they are ignored anyway afterwards in the .tex file
8126         so if we have only spaces we will ignore this latex part in the
8127         new file.
8128         (parseSingleLyXformat2Token \\layout): better compatibility when
8129         reading layout-latex stuff.
8130         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8131         language tag.
8132         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8133         stuff after reading the inset only get the information back from
8134         the stack.
8135
8136 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8137
8138         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8139
8140         * LaTeXFeatures.C (getBabelOptions): New method.
8141
8142 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8143
8144         * BufferView_pimpl.C (Dispatch): work around missing argument for
8145         'layout'
8146
8147 2002-05-08  Juergen Vigna  <jug@sad.it>
8148
8149         * text.C (leftMargin): handle paragraph leftindent.
8150
8151         * paragraph.C (writeFile): write the new \\leftindent tag.
8152         (validate): handle leftindent code.
8153         (TeXEnvironment): handle paragraphleftindent code again.
8154
8155         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8156
8157         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8158         for paragrap_extra indent code and new token \\leftindent.
8159         (latexParagraphs): handle the leftindent as environment.
8160
8161         * ParameterStruct.h: added leftindent support.
8162
8163         * ParagraphParameters.C (leftIndent): added support functions for
8164         the paragraph left indent.
8165
8166         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8167         more appropriate.
8168
8169 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8170
8171         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8172         inside insetERT.
8173
8174         * text.C (computeBidiTables): No bidi in insetERT.
8175
8176         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8177         in RTL documents.
8178
8179 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8180
8181         * version.C.in: pre 5
8182
8183 2002-05-02  José Matos  <jamatos@fep.up.pt>
8184         * buffer.C (makeDocBookFile): white space changes, add newline to
8185         command styles.
8186         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8187
8188         * tabular.C (docBook): fix typo.
8189
8190 2002-05-03  Juergen Vigna  <jug@sad.it>
8191
8192         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8193         change in LyXText as we can not be sure it was not freed.
8194         (drawOneRow): remove unused code.
8195
8196         * text.C (drawInset): redo the calculation of the need_break_row as
8197         it could have a row which was already freed.
8198         (draw): look at the return value of drawInset and return false if
8199         it also returned false.
8200         (paintRowText): look at the return value of draw and return false if
8201         it also returned false.
8202
8203         * lyxtext.h: added bool return type to drawInset() and draw() so that
8204         if we have a change in the row so that the rowbreak has to be redone
8205         we abort drawing as it will be called again.
8206
8207 2002-05-02  Juergen Vigna  <jug@sad.it>
8208
8209         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8210         a change in the maintext also if we're inside an inset.
8211         (Dispatch): set the cursor again after a break line and after the
8212         screen has been updated as it could be we're in a different row.
8213
8214         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8215         to set the cursor behind the pargraph with > size().
8216         (setCursor): check also for the same paragraph when checking where
8217         to put the cursor if we have a NFR inset.
8218
8219         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8220         parts of layout read further up as it still was in the wrong
8221         position.
8222
8223 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8224
8225         * screen.C (drawFromTo): change sine fullRebreak always return
8226         true.
8227
8228         * buffer.C (parseSingleLyXformat2Token): reindent some
8229
8230         * BufferView_pimpl.C (update): change since fullRebreak always
8231         return true.
8232         (Dispatch): git rid of the last hardcoded "Standard"s.
8233
8234 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8235
8236         * text2.[Ch] (fullRebreak): make it return void now that we always
8237         returned true.
8238
8239 2002-04-30  Juergen Vigna  <jug@sad.it>
8240
8241         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8242         ert compatibility check for "latex" layout.
8243
8244 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8245
8246         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8247         minipages: use col% instead of p%, and also use the current font.
8248         (makeLaTeXFile): Fix use babel condition.
8249         (parseSingleLyXformat2Token): Correct font when reading old floats.
8250
8251 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8252
8253         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8254         inserting list of floats.
8255
8256 2002-04-25  Herbert Voss  <voss@lyx.org>
8257
8258         * MenuBackend.C (expand): don't add the graphics extensions to the
8259         export menu
8260
8261 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8262
8263         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8264         non-existing layout, do not complain if it was the default layout
8265         of the original class (bug #342)
8266
8267 2002-04-24  Juergen Vigna  <jug@sad.it>
8268
8269         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8270         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8271
8272 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8273
8274         * buffer.C (getBibkeyList): If using \bibliography, return the
8275         option field with the reference itself. Enables us to provide natbib
8276         support when using \bibliography.
8277
8278 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8279
8280         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8281
8282         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8283         natbib is provided by the LaTeX class.
8284
8285 2002-04-23  Juergen Vigna  <jug@sad.it>
8286
8287         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8288         Wakeup functions.
8289
8290         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8291
8292 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8293
8294         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8295
8296         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8297         ensuremath around textordmasculine, textordfeminine and
8298         textdegree.
8299
8300 2002-04-19  Juergen Vigna  <jug@sad.it>
8301
8302         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8303         reinitializing the buffer otherwise row-dimensions may be wrong.
8304         (update): reset also the selection cursors if they do exits otherwise
8305         their x/y positions may be wrong.
8306
8307         * text2.C (cursorDown): don't enter the inset if we came from a row
8308         above and are one row over the inset.
8309
8310         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8311         really leaving an inset.
8312
8313 2002-04-18  Juergen Vigna  <jug@sad.it>
8314
8315         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8316         of the selected paragraph does not have the selected layout also if
8317         the last one had!
8318
8319         * text2.C (setLayout): fixed bug which did not change last selected
8320         paragraph.
8321
8322         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8323         changed the read and substituted \\end_float with \\end_inset!
8324
8325         * BufferView_pimpl.C (cursorPrevious):
8326         (cursorNext): fixed to make it work with rows heigher than the work
8327         area without moving the cursor only the draw of the row.
8328         (workAreaMotionNotify): fix jumping over high rows.
8329
8330 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8331
8332         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8333         Ressler.
8334
8335 2002-04-16  Juergen Vigna  <jug@sad.it>
8336
8337         * text2.C (setCursor): set also the irow().
8338         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8339         (cursorUp):
8340         (cursorDown): support for locking an inset if the x_fix value goes
8341         inside it. That way I can transverse insets too with cursor up/down.
8342
8343         * lyxrow.h: added irow helper function same as other (i) functions.
8344
8345         * BufferView_pimpl.C (cursorPrevious):
8346         (cursorNext): fixed for insets!
8347
8348 2002-04-15  Juergen Vigna  <jug@sad.it>
8349
8350         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8351         position otherwise it is wrong in some cases.
8352
8353         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8354         inside the inset before the call.
8355
8356 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8357
8358         * buffer.[Ch] (getBibkeyList): make it const.
8359
8360 2002-04-12  Juergen Vigna  <jug@sad.it>
8361
8362         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8363
8364         * text2.C (getCursorX): new helper function
8365         (setCursor): compute also ix_
8366         (setCursorFromCoordinates): set also ix.
8367
8368         * lyxcursor.h: added ix_ and helper functions.
8369
8370         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8371
8372         * buffer.C (insertStringAsLines): dont break paragraph if the this
8373         paragraph is inside an inset which does not permit it!
8374
8375         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8376         also with no chars on this paragraph.
8377         (paintRowText): only paint stuff if it's inside the workarea!
8378
8379         * paragraph.C (breakParagraph): honor keepempty flag and break the
8380         paragraph always below not above.
8381
8382         * BufferView2.C (unlockInset): update the paragraph layout on inset
8383         unlock as we changed paragraph in such a case.
8384
8385         * lyxfind.C (LyXFind): clear the former selection if not found!
8386
8387         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8388         again called in insertChar().
8389
8390         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8391         an inset which uses the whole row!
8392         (rightMargin): ditto.
8393         (insertChar): force a rebreak if we inserted an inset!
8394
8395 2002-03-28  Herbert Voss  <voss@lyx.org>
8396
8397         * lyxlength.[Ch]: add inBP() to get the right PS-point
8398         units (BigPoint). With inPixels we have rounding errors
8399
8400 2002-04-11  Juergen Vigna  <jug@sad.it>
8401
8402         * text2.C (setCursorFromCoordinates): set iy to the right value.
8403         (setCursor): add check if row->previous exists!
8404
8405         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8406         an old float_type as this was the case in the old code!
8407
8408         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8409
8410         * BufferView2.C (showLockedInsetCursor): use iy
8411         (fitLockedInsetCursor): ditto
8412
8413         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8414         locked insets as there we have the right value now.
8415
8416         * lyxcursor.C: added iy_ variable and iy functions to set to the
8417         baseline of cursor-y of the locked inset.
8418
8419         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8420         (setCursor): fixed for insets which need a full row.
8421
8422         * text.C (rowLastPrintable): don't ignore the last space when before
8423         an inset which needs a full row.
8424         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8425         as last character of a row when before a inset which needs a full row.
8426
8427 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8428
8429         * version.C.in: update date
8430
8431         * text2.C (fullRebreak): try to always return true and see what
8432         happens...
8433
8434 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8435
8436         * MenuBackend.C (expand): use Floating::listName
8437
8438         * FloatList.C (FloatList): add listName argument to the built-in
8439         floats
8440
8441         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8442         text associated with the float.
8443
8444 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8445
8446         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8447
8448 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8449
8450         * ShareContainer.h: add a couple of missing typenames.
8451
8452 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8453
8454         * lyxrc.C (getDescription): use _() correctly rather than N_().
8455
8456 2002-03-28  Herbert Voss  <voss@lyx.org>
8457
8458         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8459         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8460
8461 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8462
8463         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8464         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8465
8466 2002-03-29  Juergen Vigna  <jug@sad.it>
8467
8468         * lyxfunc.C (dispatch): add a missing fitCursor call.
8469
8470         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8471         it was scrolled by a cursor move, so return the bool status.
8472
8473         * BufferView.C (fitCursor): return the bool flag also to the outside
8474         world as this is needed.
8475
8476         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8477
8478         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8479         call the edit() as it is not needed (and wrong) IMO.
8480         (workAreaButtonPress): set the screen_first variable before evt.
8481         unlock the inset as this may change screen_first and then we have
8482         a wrong y position for the click!
8483
8484 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8485
8486         * MenuBackend.C (expand): another translation that I missed
8487
8488 2002-03-28  Juergen Vigna  <jug@sad.it>
8489
8490         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8491
8492         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8493
8494 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8495
8496         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8497
8498         * MenuBackend.C (expand): fix export/view/update when there is no
8499         document open.
8500
8501 2002-03-27  Herbert Voss  <voss@lyx.org>
8502
8503         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8504         and text%
8505
8506 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8507
8508         * bufferview_funcs.C (currentState): only show paragraph number
8509         for is DEVEL_VERSION is set.
8510
8511         * lyxfunc.C (dispatch): put warning in INFO channel
8512
8513         * MenuBackend.C (expand): translate the name of floats
8514
8515         * FloatList.C (FloatList): mark the float names for translation
8516
8517         * converter.C (convert): use LibScriptSearch
8518
8519 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8520
8521         * MenuBackend.C (defaults): fix default menu (we might as well get
8522         rid of it...)
8523
8524 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8525
8526         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8527         directory.
8528
8529 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8530
8531         * lyxvc.C: reorder includes.
8532
8533 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8534
8535         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8536           properly
8537
8538 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8539
8540         * CutAndPaste.C: change layouts earlier on paste
8541           to avoid crashing when calling getFont()
8542
8543 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8544
8545         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8546         irritating #error.
8547
8548 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8549
8550         * WorkArea.C: remove 'Pending' debug message.
8551
8552         * most files: ws cleanup
8553
8554         * buffer.[Ch]: ws changes
8555
8556         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8557
8558 2002-03-21  Juergen Vigna  <jug@sad.it>
8559
8560         * tabular.C (SetMultiColumn): collapse also the contents of the
8561         cells and set the last border right. Added a Buffer const * param.
8562
8563 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8564
8565         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8566         linking or not.
8567
8568 2002-03-19  Juergen Vigna  <jug@sad.it>
8569
8570         * text2.C (clearSelection): reset also xsel_cache.
8571
8572         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8573         where it needs to be called (John tells us to do so too :)
8574         (selectionLost): reset sel_cache.
8575
8576         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8577
8578 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8579
8580         * text2.C (setCursorIntern): put debuging code in INSETS channel
8581
8582 2002-03-19  André Pönitz <poenitz@gmx.net>
8583
8584         * lyxfunc.C: tiny whitespace change
8585
8586 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8587
8588         * ToolbarDefaults.C (init):
8589         * LyXAction.C (init):
8590         * commandtags.h:
8591         * BufferView_pimpl.C (Dispatch):
8592         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8593
8594 2002-03-19  Allan Rae  <rae@lyx.org>
8595
8596         * exporter.C (Export): removeAutoInsets before doing anything else.
8597         While I've just introduced a dependency on BufferView this really is
8598         the best place to clean the buffer otherwise you need to cleanup in
8599         a dozen places before calling export or cleanup in a dozen functions
8600         that export calls.
8601
8602         * converter.C (runLaTeX):
8603         (scanLog): Better handling of removeAutoInsets and screen updates.
8604
8605         * lyxfunc.C (dispatch): small whitespace changes
8606
8607 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8608
8609         * WorkArea.C (C_WorkAreaEvent): return a value.
8610         (event_cb): return 1 if we handled the event, 0 otherwise.
8611
8612         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8613
8614 2002-03-18  Juergen Vigna  <jug@sad.it>
8615
8616         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8617         (GetAdditionalWidth): ditto.
8618         (RightLine): ditto.
8619         (LeftLine): ditto.
8620
8621         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8622         inset if we're there actually (probably not used right now but this
8623         is the direction to go for unifying code).
8624         (paste): disable code to clear the selection.
8625
8626         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8627         inside an InsetText and move the check further up as it is in the
8628         wrong place.
8629
8630         * text2.C (pasteSelection): set a selection over the pasted text.
8631
8632 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8633
8634         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8635         and libgraphics to build on Cygwin.
8636
8637 2002-03-15  Juergen Vigna  <jug@sad.it>
8638
8639         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8640         inserting an Inset into the paragraph. I know this is not the best
8641         fix but we already use current_view in CutAndPaste so we will remove
8642         all of it's using at the same time.
8643
8644         * buffer.C (sgmlError): deactivated function till it is rewritten in
8645         the right mode, now it can create problems.
8646
8647         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8648         before accessing it.
8649
8650 2002-03-14  Juergen Vigna  <jug@sad.it>
8651
8652         * undo_funcs.C (textHandleUndo): do the right thing when updating
8653         the inset after the undo/redo.
8654
8655         * text2.C (setCursor): just some testcode for #44 not ready yet.
8656
8657         * undo_funcs.C (textHandleUndo): set the next() and previous()
8658         pointers of the paragraph to 0 before deleting otherwise we have
8659         problems with the Paragraph::[destructor].
8660
8661         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8662         on a paragraph insertion.
8663
8664 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8665
8666         * buffer.C (asciiParagraph): use += operator for char append to
8667         string.
8668
8669         * paragraph.C (getFontSettings): compare >= not just >
8670         (highestFontInRange): ditto
8671         (setFont): ditto
8672
8673 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8674
8675         * paragraph.C: change several algorithm to be more appripriate for
8676         the problem domain. This is lookip in FontList and in the InsetList.
8677
8678 2002-03-13  André Pönitz <poenitz@gmx.net>
8679
8680         * commandtags.h:
8681         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8682
8683 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8684
8685         * commandtags.h:
8686         * LyXAction.C:
8687         * lyxfunc.C:
8688         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8689
8690 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8691
8692         * Painter.C (display): anon helper function, adjust code for this
8693         change.
8694         (pixmap): remove function.
8695
8696         * Painter.h: remove private display variable.
8697
8698         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8699
8700 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8701
8702         * WorkArea.[Ch]: remove figinset_canvas cruft.
8703
8704 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8705
8706         * lyxtextclass.C (operator): add one item cache optimization.
8707
8708         * bufferlist.h: doxy changes
8709
8710         * bufferlist.C: ws changes
8711
8712         * DepTable.[Ch] (ext_exist): place const in the right spot.
8713
8714         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8715         call resizeInsets.
8716         (workAreaExpose): call resizeInsets when the with BufferView changes.
8717         (Dispatch): adjust for protectedBlank removal
8718         (specialChar): call updateInset if the insert went ok.
8719
8720         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8721         specialChar instead.
8722
8723         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8724
8725         * BufferView.h: doxy change
8726
8727         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8728
8729         * lyxtextclass.C (operator[]): remove non-const version
8730         (defaultLayout): remove non-const version
8731
8732 2002-03-12  Juergen Vigna  <jug@sad.it>
8733
8734         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8735         did resize the LyXText too.
8736
8737         * buffer.C (readLyXformat2): set layout information on newly allocated
8738         paragraphs.
8739
8740         * tabular.C (OldFormatRead): set layout information on the paragraph.
8741
8742 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8743
8744         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8745
8746 2002-03-11  Juergen Vigna  <jug@sad.it>
8747
8748         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8749         plainly wrong.
8750         (resizeCurrentBuffer): force also the insets to resize themselfes.
8751         (moveCursorUpdate): fixed up for InsetText.
8752
8753 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8754
8755         * commandtags.h:
8756         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8757         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8758         value of Dialogs::tooltipsEnabled().
8759         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8760
8761 2002-03-08  Juergen Vigna  <jug@sad.it>
8762
8763         * BufferView_pimpl.C (updateInset): update inset inside inset also
8764         if it isn't inside theLockingInset().
8765
8766 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8767
8768         * buffer.C (asciiParagraph): redo some of the word and line length
8769         handling.
8770         (getLists): look for Caption instead of caption.
8771
8772 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8773
8774         * buffer.C (Buffer): initialize niceFile to true
8775         (makeLaTeXFile):
8776         (makeLinuxDocFile):
8777         (makeDocBookFile): make sure niceFile is true on exit
8778
8779 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8780
8781         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8782
8783 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8784
8785         * LyXSendto.C: remove.
8786         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8787         * lyx_gui.C: remove now-redundant comment.
8788         * ColorHandler.h: remove forward declaration of class WorkArea.
8789         * lyxfunc.C: remove #include "WorkArea.h".
8790
8791 2002-03-07  Juergen Vigna  <jug@sad.it>
8792
8793         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8794         got moved away with the DEPM and also set the inset_owner always
8795         right which before could have been omitted.
8796
8797 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8798
8799         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8800         wanted layout is not found.
8801
8802 2002-03-07  Juergen Vigna  <jug@sad.it>
8803
8804         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8805
8806 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8807
8808         * paragraph.C (breakParagraph): use default layout not layout of
8809         prev paragraph.
8810         (Paragraph): clear ParagraphParameters.
8811
8812 2002-03-06  Juergen Vigna  <jug@sad.it>
8813
8814         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8815         otherwise it would not be a valid lenght. Fixed a special case in
8816         the minipage compatibility read where we end the document with a
8817         minipage.
8818
8819         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8820         was set as it could be 0 for InsetTexts first entry.
8821
8822 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8823
8824         * paragraph.C (writeFile): if layout is empty write out
8825         defaultLayoutName().
8826
8827         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8828         file without named layout we set layout to defaultLayoutName().
8829
8830 2002-03-06  Juergen Vigna  <jug@sad.it>
8831
8832         * CutAndPaste.C (copySelection): set layout for new paragraph.
8833
8834         * text.C (prepareToPrint): leave ERT inset left aligned
8835         (leftMargin): don't indent paragraphs inside ERT insets
8836
8837 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8838
8839         * paragraph.C (breakParagraph): dont call clear do the work manually
8840
8841         * paragraph.[Ch] (clear): remove function
8842
8843 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8844
8845         * paragraph.C (Paragraph): dont call clear, the work has already
8846         been done.
8847
8848         * lyxtextclass.C (operator): assert if n is empty
8849
8850         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8851         work manually instead.
8852
8853 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8854
8855         * BufferView_pimpl.C: protect selectionLost against text == 0
8856
8857 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8858
8859         * text.C (breakParagraph): fix a setting layout to '0' problem.
8860
8861 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8862
8863         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8864         final location of file, for the included files, and graphics.
8865
8866 2002-03-05  Juergen Vigna  <jug@sad.it>
8867
8868         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8869
8870 2002-03-04  Juergen Vigna  <jug@sad.it>
8871
8872         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8873
8874         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8875         last column of multicolumn cells.
8876         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8877
8878 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8879
8880         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8881         file if it doesn't go to a temporary file.
8882
8883         * buffer.C (sgmlOpenTag):
8884         (sgmlCloseTag):  remove extra newline insertion.
8885
8886 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8887
8888         * text.C (getRowNearY): comment out debug msg
8889
8890 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8891
8892         * text2.C: first -> first_y
8893
8894         * text.C (getRowNearY): add some attemts at a possible
8895         optimization, not working.
8896
8897         * tabular.[Ch]: add BufferParams to several function so that newly
8898         created paragraph can be initialized to he default layotu for the
8899         buffers textclass.
8900
8901         * tabular-old.C (ReadOld): add buf->params to call of Init
8902
8903         * screen.C: rename text->first to text->first_y
8904
8905         * paragraph.C (breakParagraph): always set layout in the broken
8906         paragraph
8907
8908         * lyxtextclass.C (Read): remove lowercase
8909         (hasLayout): ditto
8910         (operator): ditto
8911         (delete_layout): ditto
8912
8913         * lyxtext.h: rename first -> first_y
8914
8915         * lyxlayout.C (Read): remove lowercase
8916         (name): ditto
8917         (setName): ditto
8918         (obsoleted_by): ditto
8919
8920         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8921
8922         * buffer.C (insertErtContents): add params are to InsetERT
8923         (parseSingleLyXformat2Token): add code to check if a paragraphs
8924         layout really exist.
8925         (parseSingleLyXformat2Token): add params to several inset
8926         constructors
8927         (asciiParagraph): remove lowercase, do the layout comparisons with
8928         no_case
8929
8930         * BufferView_pimpl.C (cursorNext): first -> first_y
8931         (resizeCurrentBuffer): first -> first_y
8932         (updateScrollbar): first -> first_y
8933         (scrollCB): first -> first_y
8934         (workAreaMotionNotify): first -> first_y
8935         (workAreaButtonPress): first -> first_y
8936         (checkInsetHit): first -> first_y
8937         (cursorPrevious): first -> first_y
8938         (cursorNext): first -> first_y
8939         (Dispatch): add buffer_->params to severl inset contructors
8940
8941 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8942
8943         * lyxlayout.C (Read): remove some debug info that I forgot.
8944
8945         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8946         clean up the code slightly.
8947         (makeLinuxDocFile): ditto
8948         (makeDocBookFile): ditto
8949
8950         * text2.C: layout as string
8951
8952         * text.C: layout as string
8953
8954         * paragraph_pimpl.C: layout as string
8955
8956         * paragraph.[Ch]: layout as string
8957
8958         * lyxtextclasslist.[Ch]: layout as string
8959
8960         * lyxtextclass.[Ch]: layout as string
8961
8962         * lyxtext.h: layout as string
8963
8964         * lyxlayout.[Ch]: layout as string
8965
8966         * lyx_cb.C: layout as string
8967
8968         * bufferview_funcs.C: layout as string
8969
8970         * bufferparams.C: layout as string
8971
8972         * buffer.C: layout as string
8973
8974         * LyXView.[Ch]: layout as string
8975
8976         * LaTeXFeatures.[Ch]: layout as string
8977
8978         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8979
8980         * BufferView_pimpl.C: change current_layout to string, remove
8981         lyx::layout_type.
8982         (Dispatch):
8983         (smartQuote):
8984         (insertInset):
8985         (workAreaButtonRelease): layout as string
8986
8987         * BufferView2.C (unlockInset): adjust
8988
8989         * vspace.C (asLatexCommand): use an explict temp variable.
8990
8991 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8992
8993         * Makefile.am: use FRONTEND_*
8994
8995 2002-03-01  Juergen Vigna  <jug@sad.it>
8996
8997         * tabular.C (SetWidthOfMulticolCell): changed to something better
8998         I hope but still work in progress.
8999         (recalculateMulticolumnsOfColumn): renamed function from
9000         recalculateMulticolCells as it is more appropriate now.
9001         (SetWidthOfCell): calculate multicols better.
9002
9003 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9004
9005         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9006
9007         * lyxfunc.C (processKeySym): print sequence also if it is
9008         `deleted' (complete)
9009
9010         * kbsequence.C (print): print sequence even if it is deleted
9011         (complete would be a better word, actually).
9012
9013         * lyxfunc.C (dispatch): print complete options after a prefix key
9014
9015         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9016
9017 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9018
9019         * text2.C (setCharFont): eliminate setCharFont code duplication.
9020
9021 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9022
9023         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9024         LFUN_TABULAR_FEATURE (bug #177)
9025
9026 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9027
9028         * Makefile.am: remove figure.h
9029
9030 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9031
9032         * Bufferview_pimpl.C:
9033         * CutAndPasteC:
9034         * LaTeX.C:
9035         * LyXSendto.C:
9036         * buffer.C:
9037         * bufferlist.C:
9038         * converter.C:
9039         * language.C:
9040         * lyxfunc.C:
9041         * lyxvc.C:
9042         * paragraph.C:
9043         * text.C:
9044         * text2.C: remove #include "lyx_gui_misc.h".
9045
9046         * LaTeX.C: added #include <cstdio>
9047
9048 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9049
9050         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9051         that the paragraph following this one can have.
9052
9053         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9054
9055         * vspace.C (asLatexCommand): fix bogus gcc warning
9056
9057         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9058
9059 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9060
9061         * text2.C (setLayout): get rid of redundant code
9062
9063 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9064
9065         * text2.C (incDepth): make sure depth cannot be increased beyond
9066         reasonable values.
9067
9068 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9069
9070         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9071         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9072
9073         * PainterBase.h (image):
9074         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9075         a LyXImage const *.
9076
9077 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9078
9079         * BufferView.C:
9080         * BufferView.h:
9081         * BufferView_pimpl.C:
9082         * BufferView_pimpl.h:
9083         * LaTeXFeatures.C:
9084         * LyXAction.C:
9085         * LyXView.C:
9086         * Makefile.am:
9087         * UpdateList.h:
9088         * UpdateList.C:
9089         * buffer.C:
9090         * figure.h:
9091         * figureForm.C:
9092         * figureForm.h:
9093         * figure_form.C:
9094         * figure_form.h:
9095         * lyx_cb.C:
9096         * lyx_gui.C:
9097         * lyx_gui_misc.C:
9098         * lyxfunc.C:
9099         * sp_base.h:
9100         * sp_ispell.h:
9101         * sp_pspell.h:
9102         * sp_spell.C: remove fig inset, and the crap house of
9103           cards that follows it
9104
9105 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9106
9107         * Makefile.am:
9108         * lyxserver.C:
9109         * os2_defines.h:
9110         * os2_errortable.h:
9111         * nt_defines.h: move .h into support/
9112
9113         * vms_defines.h: remove
9114
9115         * WorkArea.C: add space in debug output
9116
9117         * text2.C:
9118         * paragraph.C:
9119         * buffer.C: add WITH_WARNINGS
9120
9121         * vc-backend.h:
9122         * vc-backend.C:
9123         * bufferlist.C: s/retrive/retrieve/, add docs
9124
9125         * vspace.h:
9126         * vspace.C:
9127         * kbmap.h:
9128         * lyxlength.h:
9129         * lyxgluelength.h:
9130         * length_common.h:
9131         * chset.h:
9132         * chset.C: add docs
9133
9134         * lyxgui.C: add ID to X error handler
9135
9136         * lyxtestclass.c: fix typo
9137
9138 2002-02-26  Juergen Vigna  <jug@sad.it>
9139
9140         * tabular_funcs.C (write_attribute): changed so that some default
9141         attributes are not written at all.
9142         (getTokenValue): set default values before trying to read the
9143         value so we have the return value always set as default if we don't
9144         find the token we search for.
9145
9146         * tabular.C (Write): write bools as bools not as strings!
9147
9148 2002-02-22  Juergen Vigna  <jug@sad.it>
9149
9150         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9151         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9152
9153         * text.C (leftMargin): don't add an indent for paragraphs inside
9154         tabular cells (fix #208).
9155
9156 2002-02-21  José Matos  <jamatos@fep.up.pt>
9157
9158         * tabular.C (docBook): fixed support for long tables.
9159
9160 2002-02-20  Juergen Vigna  <jug@sad.it>
9161
9162         * text2.C (getFont): get the drawing font of the Inset if this
9163         paragraph is inside an inset (only important for InsetERT for now).
9164
9165         * buffer.C (insertErtContents): use new lanugage params in ERT
9166         constructor.
9167
9168         * CutAndPaste.C: commenting out seemingly uneeded code.
9169
9170 2002-02-19  Allan Rae  <rae@lyx.org>
9171
9172         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9173         Iterators might be simple to use but they also get invalidated.
9174         (removeAutoInsets): renamed saved cursor tracking variables and added
9175         some comments to clarify what everything does.
9176
9177 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9178
9179         * Chktex.C:
9180         * LaTeX.C:
9181         * LyXSendto.C:
9182         * converter.C:
9183         * lyx_cb.C:
9184         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9185         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9186
9187         * lyxfunc.C:
9188         * vc-backend.h: remove #include "support/syscall.h"
9189
9190         * LaTeX.C:
9191         * LyXSendto.C:
9192         * converter.C: rearrange #includes in Lars' approved fashion.
9193
9194         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9195         forward declare class Timeout in the header file.
9196
9197         * XFormsView.C: changes due to the above.
9198
9199         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9200         similar to LyXView.
9201
9202         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9203         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9204
9205 2002-02-18  José Matos  <jamatos@fep.up.pt>
9206
9207         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9208         insets contents.
9209
9210 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9211
9212         * a lot of small ws changes
9213         * add a lot of using std::XXX
9214         * use std construcs some places where approp.
9215         * use some exisint stuff from lyxfunctional where approp.
9216         * Make file changes to use partial linking (lets test this now...)
9217
9218 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9219
9220         * Chktex.C:
9221         * buffer.C:
9222         remove #include "support/syscontr.h" as it's redundant. Always has been.
9223
9224         * Chktex.C:
9225         * LaTeX.C:
9226         * LyXSendto.C:
9227         * converter.C:
9228         * lyx_cb.C:
9229         * vc-backend.C:
9230         change Systemcalls::System to Systemcalls::Wait and
9231         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9232         No change of functionality, just reflects the stripped down Systemcalls
9233         class.
9234
9235 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9236
9237         * debug.[Ch]: add a GRAPHICS type to the enum.
9238
9239 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9240
9241         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9242
9243         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9244         there is an inset.
9245
9246 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9247
9248         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9249         match the changes below.
9250
9251         * text2.C (toggleInset): if there is not editable inset at cursor
9252         position, try to see if cursor is _inside_ a collapsable inset
9253         and close it.
9254
9255 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9256
9257         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9258         document menu has a nice checkbox
9259
9260 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9261
9262         * lyxlength.C (asLatexString): change PW to output as percent of
9263         \textwidth.
9264
9265         * lengthcommon.C: change '%' to 't%'
9266
9267         * lyxfunc.C (dispatch): a few comments from Martin
9268
9269 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9270
9271         * WorkArea.h:
9272         * WorkArea.C:
9273         * BufferView_pimpl.h:
9274         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9275           the X selection.
9276
9277 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9278
9279         * vspace.C (inPixels): fix compiler warning
9280
9281 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9282
9283         * lyxfunc.C (getStatus): fix status message for disabled commands.
9284
9285 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9286
9287         * BufferView_pimpl.C: fix crash on close buffer
9288         during selection (#227)
9289
9290 2002-01-27  Herbert Voss  <voss@lyx.org>
9291
9292         * buffer.C: link old Figure to new graphic inset
9293
9294 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9295
9296         * FontLoader.C (getFontinfo): Change the latex font names in order
9297         to match the names of type1inst.
9298
9299 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9300
9301         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9302
9303         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9304         (extchanged): ditto
9305         (ext_exist): ditto
9306         (remove_files_with_extension): ditto
9307         (remove_file): ditto
9308         (write): ditto
9309
9310         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9311         document is smaller than the work area height. Do not initialize
9312         static variables to 0.
9313
9314 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9315
9316         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9317
9318         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9319         LFUN_LAYOUT_PARAGRAPHS.
9320
9321         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9322         tabular. It is possible to provide a possible cell, which will
9323         typically be the actcell from the corresponding insettabular
9324
9325         * lyxfunc.C (getStatus): small cleanup; disable
9326         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9327         true
9328
9329 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9330
9331         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9332
9333         * paragraph.C (startTeXParParams):
9334         (endTeXParParams): new methods. The LaTeX code to
9335         start/end paragraph formatting
9336         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9337         empty (fixes bug #200)
9338
9339         * vspace.C (inPixels): adapt to the change below
9340         (inPixels): [later] more cleanups (remove unused variables)
9341
9342         * lyxlength.C (inPixels): change to use a width and a height as
9343         parameter.
9344
9345 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9346
9347         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9348         Replaced with \paperwidth
9349
9350         * DepTable.C (insert): add std:: qualifier
9351
9352 2002-01-18  Allan Rae  <rae@lyx.org>
9353
9354         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9355         updated also?
9356
9357         * text.C (drawInset): Turned out I didn't know enough about how
9358         rebreaking worked.  This fixes most of the redraw problems.  I see
9359         an occasional cursor trail when a line is broken now and the cursor
9360         placement can seem out by a few pixels also after a rebreak.
9361
9362 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9363
9364         * buffer.C (parseSingleLyXformat2Token): update because minipage
9365         width is now a LyXLength
9366
9367         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9368
9369         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9370         math insets
9371
9372 2002-01-17  Juergen Vigna  <jug@sad.it>
9373
9374         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9375
9376         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9377         is set correctly and the inset is updated correctly.
9378
9379 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9380
9381         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9382         the beginning of the loop.
9383
9384 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9385
9386         * lyxrc.C: improve help for use_scalable_fonts
9387
9388 2002-01-17  Allan Rae  <rae@lyx.org>
9389
9390         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9391
9392 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9393
9394         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9395         make sure to set their inset_owner to the right value (bug #171)
9396
9397 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9398
9399         * DepTable.h
9400         * DepTable.C: Implement mtime checking to reduce time spent doing
9401         CRCs.
9402
9403 2002-01-16  Juergen Vigna  <jug@sad.it>
9404
9405         * tabular.C (GetAdditionalHeight): one of error fixed.
9406
9407         * lyxrc.C (output): small fix in writing use_pspell.
9408
9409 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9410
9411         * sp_base.h: #include LString.h
9412
9413 2002-01-16  Allan Rae  <rae@lyx.org>
9414
9415         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9416         Can someone check this please?
9417
9418         * text.C (drawInset): It was possible that p.row would be removed by
9419         breakAgainOneRow upsetting a few other settings.  There may be another
9420         small tweak possible by setting need_break_row = 0 when p.row has been
9421         removed but I don't know enough about the logic here.
9422
9423 2002-01-15  Allan Rae  <rae@lyx.org>
9424
9425         * text.C (insertChar): removed conditional truism.
9426
9427         * BufferView2.C (removeAutoInsets): More tweaks.
9428         cur_par_prev could be a stray pointer.  Check for trailing empty line
9429         in case last line was cur_par and only had an error inset on it.
9430
9431 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9432
9433         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9434         absolute
9435
9436         * vc-backend.C (most methods):
9437         * exporter.C (Export):
9438         * converter.C (convert):
9439         (runLaTeX):
9440         * LyXSendto.C (SendtoApplyCB):
9441         * lyxfunc.C (dispatch):
9442         (menuNew):
9443         (open):
9444         (doImport):
9445         * lyx_cb.C (AutoSave):
9446         (InsertAsciiFile):
9447         * BufferView_pimpl.C (MenuInsertLyXFile):
9448         * buffer.C (runChktex): use Buffer::filePath().
9449
9450         * buffer.h: rename filename to filename_; rename filepath to
9451         filepath_ and make it private
9452         (filePath): new method
9453
9454         * buffer.C (writeFile): use fileName()
9455         (getLatexName):
9456
9457         * lyx_main.C (init): fix starting  of LyX when the binary is a
9458         link from so,ewhere else.
9459
9460         * minibuffer.C: include <cctype> for isprint
9461
9462 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9463
9464         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9465         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9466         name clash with InsetCollapsable's width function.
9467
9468 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9469
9470         * lastfiles.C: include <iterator>
9471
9472 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9473
9474         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9475         std::count.
9476
9477         * buffer.C (makeLaTeXFile): ditto.
9478         Also make loop operation more transparent.
9479
9480 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9481
9482         * ToolbarDefaults.C: remove trailing comma closing namespace.
9483
9484         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9485
9486         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9487         as in WorkArea.
9488
9489         * trans.C (Load): comment out unused variable, allowed.
9490
9491 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9492
9493         * minibuffer.[Ch] (append_char): new method to recieve input from the
9494         drop-down completion browser. If a key was pressed, then recieve this
9495         char and append it to the existing string.
9496         (peek_event): modify the positioning data passed to the completion
9497         browser so that it can be placed above the minibuffer rather than below.
9498 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9499
9500         * LyXAction.C (init): alloe error-next for readonly documents.
9501
9502         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9503         count.
9504
9505 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9506
9507         * bufferlist.C (readFile): create the buffer _after_ checking that
9508         the file exists.
9509
9510         * lyxfunc.C (verboseDispatch): fix handling of arguments
9511
9512         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9513
9514         * lyxrc.C: use string::erase() instead of initializing to "".
9515
9516
9517 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9518
9519         * BufferView_pimpl.h:
9520         * BufferView_pimpl.C:
9521         * WorkArea.h:
9522         * WorkArea.C:
9523         * text2.C: tell X when we have made a selection for copying
9524
9525 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9526
9527         * BufferView_pimpl.C (MenuInsertLyXFile):
9528         * lyxfunc.C (menuNew):
9529         (open):
9530         (doImport): add shortcuts to directory buttons
9531
9532         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9533         open a float)
9534
9535         * lyxfunc.C (setStatusMessage):
9536         (getStatusMessage): new methods
9537         (getStatus):use setStatusMessage instead of setErrorMessage
9538         (dispatch): when function is disabled, set error message here
9539         [instead of in getStatus previously]
9540
9541         * BufferView_pimpl.C (workAreaButtonRelease): update
9542         toolbar/menubar here too.
9543
9544 2002-01-13  Allan Rae  <rae@lyx.org>
9545
9546         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9547         Now seems indestructible.  Remaining task is to audit all other
9548         code affected by deleteEmptyParagraphMechanism.  One small quirk
9549         left is that an empty document with an error in the preamble can
9550         be made to report an error but no error box appears.  I don't know
9551         where it goes.
9552         (removeAutoInsets): Improved comments.
9553
9554 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9555
9556         * Thesaurus.h:
9557         * Thesaurus.C: update for Aiksaurus 0.14
9558
9559 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9560
9561         * text2.C (firstParagraph): removed member function, all uses
9562         replaces with ownerParagraph
9563         (redoParagraphs): here
9564         (updateInset): here
9565         (toggleAppendix): here
9566         * BufferView2.C (insertErrors): here
9567         (setCursorFromRow): here
9568
9569 2002-01-13  Allan Rae  <rae@lyx.org>
9570
9571         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9572         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9573         There is still a way to segfault this although you may have to do this
9574         multiple times: Have an InsetERT with an unknown command in it.
9575         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9576         <down-arrow>, <Enter> again, View->DVI, BANG!
9577
9578         * text2.C (setCursor):
9579         (deleteEmptyParagraphMechanism):
9580         * lyxtext.h (setCursor):
9581         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9582         Making use of the return value may help fix other bugs.
9583
9584 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9585
9586         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9587
9588         * LyXView.C (updateMenubar): call MenuBar::update here
9589         (updateToolbar): but not here
9590         (showState): do not update toolbar/menubar
9591
9592         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9593         should need to care about that.
9594
9595         * lyxfunc.C (verboseDispatch): simplify a bit
9596         (getStatus): have a version which takes a pseudoaction, and
9597         another which requires a (kb_action,string).
9598
9599         * LyXAction.C (retrieveActionArg): make it work also when action
9600         is not a pseudo-action.
9601         (getActionName): simplify a bit
9602         (helpText):
9603
9604 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9605
9606         * lyxfunc.C (verboseDispatch): new families of methods with
9607         several ways to specify a command and a bool to indicate whether
9608         the command name and shortcut should be displayed in minibuffer
9609         (eventually, we could extend that to a finer bitmask like
9610         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9611         (dispatch): the pristine dispatch command which just, well,
9612         dispatchs! Note it still sets its result to minibuffer; I'm not
9613         sure we want that.
9614
9615         * lyxfunc.h: remove setHintMessage
9616
9617         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9618
9619 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9620
9621         * BufferView_pimpl.C (specialChar): delete new inset if we have
9622         not been able to insert it.
9623
9624         * kbmap.C: revert to using int instead of kb_action, since all we
9625         are dealing with is pseudo-actions.
9626
9627         * LyXAction.C (searchActionArg): change to return int instead of
9628         kb_action, since the result is a pseudoaction.
9629
9630 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9631
9632         * buffer.C (insertErtContents): Fix (partially) the font bug.
9633
9634 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9635
9636         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9637         as the other one is broken on my machine!
9638
9639 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9640
9641         * commandtags.h:
9642         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9643
9644 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9645
9646         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9647         reflect their actual use. Provide compatibility code for older lyxrc
9648         files.
9649
9650         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9651         FL_NORMAL_STYLE.
9652         change names of popup font variables in line with the changes to lyxrc.C
9653
9654 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9655
9656         * buffer.C (asciiParagraph): avoid outputing a word twice after
9657         an inset.
9658
9659         * lyxrc.C (getDescription): document that document_path and
9660         template_path can be empty.
9661
9662 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9663
9664         * LaTeXFeatures.C (getMacros):
9665         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9666
9667         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9668
9669         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9670         getPackages.
9671         (getPackages): rename feature "floats" to "float". Use an array to
9672         iterate over 'simple' features (i.e. just a \usepackage). Add
9673         handling of "amsmath" (renamed from "amsstyle").
9674
9675 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9676
9677         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9678         features list.
9679
9680 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9681
9682         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9683         FuncStaus::FuncStatus & FuncStaus::some_method().
9684
9685 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9686
9687         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9688         of the func_satus stuff. Edited and massaged in various ways by
9689         JMarc.
9690
9691         * lyxfunc.C (getStatus): use FuncStatus
9692
9693 2002-01-08  Juergen Vigna  <jug@sad.it>
9694
9695         * text.C (nextBreakPoint): use function Inset::isChar().
9696
9697         * paragraph.C (TeXOnePar): use function
9698         Inset::forceDefaultParagraphs.
9699
9700         * buffer.C (latexParagraphs): use function
9701         Inset::forceDefaultParagraphs.
9702
9703 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9704
9705         * lyx_gui.C (init): set the style of the menu popups to
9706         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9707
9708 2002-01-07  Juergen Vigna  <jug@sad.it>
9709
9710         * text.C (setHeightOfRow): small fix
9711         (prepareToPrint): don't look at alignment if we don't have the place
9712         for doing it.
9713
9714 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9715
9716         * box.C: New file. Move the Box methods and functions out of box.h,
9717         following Lars' suggestion.
9718
9719 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9720
9721         * box.h: #include "support/LOstream.h", needed for inlined function.
9722
9723         * lyxtextclass.C:
9724         * lyxtextclasslist.C: added some using std declarations.
9725
9726 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9727
9728         * box.h: make signed dimensions to allow insets wider than
9729           the screen (bug #162)
9730
9731         * BufferView_pimpl.C: add some insetHit debug
9732
9733 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9734
9735         * vc-backend.C: add FIXME
9736
9737 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9738
9739         * lyxfunc.C (getStatus): enable code for showing math font status
9740         in toolbar/menu.
9741
9742 2002-01-07  Juergen Vigna  <jug@sad.it>
9743
9744         * text.C (nextBreakPoint): removed debug output not needed anymore.
9745
9746 2002-01-06  Juergen Vigna  <jug@sad.it>
9747
9748         * text.C (nextBreakPoint): fixed up this function we had this bug
9749         since ever but now hopefully we break row better.
9750         (insertChar): we have to check if an inset is the next char as it
9751         could now happen that a large inset is causing a break.
9752
9753 2002-01-05  Juergen Vigna  <jug@sad.it>
9754
9755         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9756         if it doesn't like to be drawed.
9757
9758 2002-01-04  Juergen Vigna  <jug@sad.it>
9759
9760         * BufferView2.C (lockInset): forgot to set a cursor.
9761
9762         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9763
9764 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9765
9766         * FormMathsPanel.C:
9767         * FormMathsPanel.h
9768         * MathsSymbols.C:
9769         * form_maths_panel.C:
9770         * form_maths_panel.h:
9771         * form_maths_panel.fd: implemented sub- and super- buttons in math
9772         panel.
9773
9774         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9775         (or ^ space) to be used as in TeX (req'd by André).
9776
9777         * lyxfunc.C: Allow ^ and _ again to be used both as
9778         super/subscript (mathed) and as themselves (in text).
9779
9780 2002-01-03  Allan Rae  <rae@lyx.org>
9781
9782         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9783         "LyX" or the filename of the current buffer if it has one.  This is a
9784         modified form of John Levon's patch.
9785
9786         * XFormsView.C (setWindowTitle): also set icon title.
9787
9788         * LyXView.h (setWindowTitle): signature changed.
9789         * XFormsView.h (setWindowTitle): ditto.
9790
9791 2002-01-02  Juergen Vigna  <jug@sad.it>
9792
9793         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9794
9795 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9796
9797         * screen.C (topCursorVisible): introduce a temp var for
9798         text->cursor.row(), handle the case where this row is null. (kindo
9799         hachish)
9800
9801         * text2.C (setCursor): add a couple of asserts.
9802
9803         * paragraph.h (inset_iterator): add -> operator
9804
9805         * paragraph.[Ch] (autoDeleteInsets): remove member function
9806
9807         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9808         cursor pos correctly and handle inset deletion by itself.
9809         (insertErrors): move iterator declaration out of for expression
9810
9811         * lyxtextclass.C: add <algorithm>
9812
9813         * Makefile.am: added the new files to sources, removed layout.C
9814
9815         * layout.C: removed file
9816
9817         * layout.h: remove LYX_DUMMY_LAYOUT
9818
9819         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9820         layout.
9821
9822         * lyxlayout.[Ch]:
9823         * lyxtextclass.[Ch]:
9824         * lyxtextclasslist.[Ch]: new files
9825
9826         * include order changes to a lot of files, also changes because of
9827         the six new files.
9828
9829 2001-12-27  Juergen Vigna  <jug@sad.it>
9830
9831         * buffer.C (asciiParagraph): more fixes.
9832
9833         * tabular.C (ascii): make ascii export support export of only the
9834         data separated by a column-delimiter.
9835         (ascii): better support for ascii export.
9836
9837         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9838
9839 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9840
9841         * tabular_funcs.C: use a "using std::getline" instead of the
9842         previous fix from Angus (necessary for cxx + lyxstring)
9843
9844 2001-12-24  Juergen Vigna  <jug@sad.it>
9845
9846         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9847
9848         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9849         problems. First check a minipage also if we have some ert-contents
9850         (not only on par->size(), second set the right depth of the paragraph
9851         on the relink to the root-paragraph-list!
9852
9853         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9854         which then did not anymore update the main paragraphs on undo/redo!
9855
9856 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9857
9858         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9859         code. Support all font-changing funcs (even those which are not in
9860         menu currently). Support for reporting font settings in
9861         mathed (disabled until Andre provides a function on mathed's side).
9862
9863         * func_status.h (toggle): small helper function to set toggle
9864         state on a flag.
9865
9866 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9867
9868         * tabular_funcs.C: getline -> std::getline
9869
9870 2001-12-21  Juergen Vigna  <jug@sad.it>
9871
9872         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9873         accessed and could be 0 (I couldn't generate this but it seems
9874         Michael could!).
9875
9876 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9877
9878         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9879         * tabular_funcs.h: here and include iosfwd
9880
9881 2001-12-20  Juergen Vigna  <jug@sad.it>
9882
9883         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9884         inside inset but undo_par was.
9885
9886 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9887
9888         * Thesaurus.C: always include <config.h> in sources.
9889
9890         * Painter.h:
9891         * lyxlookup.h:
9892         * box.h: do not include <config.h> in header files
9893
9894         * text.C (paintLastRow): remove unused variable
9895
9896         * text.C (transformChar):
9897         (insertChar):
9898         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9899
9900         * Painter.C (text):
9901         * font.C (width): rewrite to use uppercase() instead of
9902         islower/toupper.
9903
9904         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9905
9906 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9907
9908         * lyxfind.C: clean up of find failure position change
9909
9910 2001-12-20  Juergen Vigna  <jug@sad.it>
9911
9912         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9913
9914         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9915         (TeXRow): added to LaTeX a single tabular row.
9916         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9917         (Latex): simplified and finally good LT-h/f support.
9918         (various_functions): just small adaptions for LT-h/f support.
9919
9920         * tabular_funcs.[hC]: added and moved here all not classfunctions
9921         of LyXTabular.
9922
9923 2001-12-19  Juergen Vigna  <jug@sad.it>
9924
9925         * tabular.[Ch]: better support for longtabular options (not finished
9926         yet!)
9927
9928 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9929
9930         * text.C (paintLastRow): use the label font instead of the font of
9931         the last character to compute the size of *_BOX. This makes more
9932         sense and avoids a crash with empty paragraphs.
9933         Use Painter::rectangle to draw EMPTY_BOX.
9934
9935 2001-12-19  Juergen Vigna  <jug@sad.it>
9936
9937         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9938         the paragraphs if the replaced paragraph is not the first one!
9939         Tried to delete not used paragraphs but does not work yet so for
9940         now it's inside #ifdef's and by default off!
9941
9942 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9943
9944         * MenuBackend.C: include "lyx_main.h" instead of declaring
9945         lastfiles (actually was declared as LastFiles* instead of a
9946         scoped_ptr).
9947
9948 2001-12-17  Juergen Vigna  <jug@sad.it>
9949
9950         * tabular.C (AppendColumn): applied John's fix
9951
9952 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9953
9954         * BufferView.h:
9955         * BufferView.C:
9956         * BufferView_pimpl.h:
9957         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9958
9959         * Makefile.am:
9960         * box.h: new start of class for above
9961
9962         * lyxfunc.C: ignore space-only minibuffer dispatches.
9963           Show the command name when it doesn't exist
9964
9965         * minibuffer.C: don't add empty lines to the history
9966
9967         * minibuffer.C: add a space on dropdown completion
9968
9969 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9970
9971         * text.C: fix line above/below drawing in insets
9972
9973 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9974
9975         * lyxlength.C (LyXLength): Initialize private variables.
9976
9977 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9978
9979         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9980         when inserting error insets.
9981
9982 2001-12-13  Juergen Vigna  <jug@sad.it>
9983
9984         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9985         actually sometimes the before-paragraph.
9986         (setUndo): don't clear the redostack if we're not actually undoing!
9987
9988 2001-12-06  Juergen Vigna  <jug@sad.it>
9989
9990         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9991         and fixed redoing of main paragraph, so we can use it now ;)
9992
9993         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9994
9995 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9996
9997         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9998         Juergen's request
9999
10000 2001-12-13  André Pönitz <poenitz@gmx.net>
10001
10002         * undostack.[Ch]:
10003         * undo_func.C: minor cleanup
10004
10005 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10006
10007         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10008         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10009         font in urw-fonts package which is marked as -urw-fontspecific and
10010         does not work (incidentally, changing the encoding in the
10011         fonts.dir of this package to -adobe-fontspecific fixes the
10012         problem).
10013
10014         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10015         is a crash when undoing first paragraph (Juergen, please take a
10016         look). THis does not mean the undo fix is wrong, just that it
10017         uncovers problems.
10018
10019         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10020         the (Paragraph*) version when needed instead of duplicating the
10021         code.
10022
10023         * text.C (workWidth): use Inset::parOwner to find out where the
10024         inset has been inserted. This is a huge performance gain for large
10025         documents with lots of insets. If Inset::parOwner is not set, fall
10026         back on the brute force method
10027
10028         * paragraph_pimpl.C (insertInset):
10029         * paragraph.C (Paragraph):
10030         (cutIntoMinibuffer): set parOwner of insets when
10031         inserting/removing them
10032
10033         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10034
10035 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10036
10037         * commandtags.h:
10038         * LyXAction.C:
10039         * lyx_main.C:
10040         * lyxfunc.C:
10041         * mathed/formulabase.C:
10042         * mathed/math_cursor.[Ch]:
10043         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10044
10045
10046 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10047
10048         * lyxlength.[Ch] (operator!=): new function
10049
10050 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10051
10052         * text.C (workWidth): use Inset::parOwner to find out where the
10053         inset has been inserted. This is a huge performance gain for large
10054         documents with lots of insets. If Inset::parOwner is not set, fall
10055         back on the brute force method
10056
10057         * paragraph_pimpl.C (insertInset):
10058         * paragraph.C (Paragraph):
10059         (cutIntoMinibuffer): set parOwner of insets when
10060         inserting/removing them
10061
10062         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10063
10064 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10065
10066         * tabular-old.C (getTokenValue):
10067         * tabular.C (getTokenValue):
10068         (write_attribute): new versions for LyXLength
10069         (everywhere): adjust the use of widths
10070
10071         * tabular.h: change the type of widths from string to LyXLength
10072
10073 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10074
10075         * paragraph.C: fixed missing line number count when exporting
10076         Environments to LaTeX file
10077
10078         * buffer.C: added informational message for checking line numbers.
10079
10080 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10081
10082         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10083         paragraph, do the 'double space' part, but not the 'empty
10084         paragraph' one.
10085
10086         * text.C (workWidth): small optimization
10087         (getLengthMarkerHeight): use minimal size for negative lengths.
10088
10089 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10090
10091         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10092
10093         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10094
10095 2001-12-11  André Pönitz <poenitz@gmx.net>
10096
10097         * FontLoader.C:
10098         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10099
10100 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10101
10102         * text2.C: keep selection on a setFont()
10103
10104 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10105
10106         * lyx_cb.C: another bv->text misuse, from insert label
10107
10108 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10109
10110         * kbsequence.h:
10111         * kbsequence.C: re-instate nmodifier mask
10112
10113 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10114
10115         * lyx_main.h: make lyxGUI private.
10116
10117 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10118
10119         * lyxfind.C: place the cursor correctly on failed search
10120
10121 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10122
10123         * text.C (getLengthMarkerHeight): for small heights, the arrows
10124         are not always on top/bottom of the text
10125         (drawLengthMarker): smaller arrows; take the left margin in
10126         account; draw also vfills.
10127         (paintFirstRow):
10128         (paintLastRow): remove special code for vfill and standard spaces,
10129         since everything is handled in drawLengthMarker now.
10130
10131 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10132
10133         * buffer.C (insertErtContents): try to handle font and language
10134         interaction a bit better.g
10135
10136         * ColorHandler.C (updateColor): change the hash to cover the whole
10137         LColor enum, ws cleanup
10138         (getGCLinepars): ditto
10139         (getGCLinepars): only lookup in the linecache once.
10140
10141 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10142
10143         * iterators.C (operator++): Make the iterator more robust
10144
10145         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10146         (John's patch)
10147         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10148
10149 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10150
10151         * lyxtext.h:
10152         * text.C: better added space drawing
10153
10154 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10155
10156         * LyXView.C:
10157         * BufferView2.C: fix layout combo update on inset unlock
10158
10159 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10160
10161         * Makefile.am: don't compile unused files
10162
10163 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10164
10165         * lyxfunc.C:
10166         * commandtags.h:
10167         * LyXAction.C: remove old LFUN_LAYOUTNO
10168
10169 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10170
10171         * paragraph_pimpl.h:
10172         * paragraph_pimpl.C: isTextAt() doesn't need font param
10173
10174 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10175
10176         * lyxlex.h:
10177         * lyxlex.C: little cleanup
10178
10179 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10180
10181         * BufferView_pimpl.C: fix insertAscii for insets
10182
10183 2001-12-05  Juergen Vigna  <jug@sad.it>
10184
10185         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10186         set the right font on the "multi" paragraph paste!
10187
10188 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10189
10190         * trans_decl.h:
10191         * trans_mgr.[Ch]:
10192         * trans.[Ch]:
10193         * lyxgluelength.C:
10194         * lyxlength.C: remove out-commented code.
10195
10196         * BufferView_pimpl:
10197         * CutAndPaste.C:
10198         * DepTable.C:
10199         * buffer.C:
10200         * chset.C:
10201         * lastfiles.C:
10202         * lyxlex.C:
10203         * lyxlex_pimpl.C:
10204         * lyxserver.C:
10205         * screen.C:
10206         * tabular-old.C:
10207         * tabular.C:
10208         * text.C:
10209         * trans_mgr.C:
10210         * vc-backend.C: change "while(" to "while ("
10211
10212         * lyxlength.[Ch]: add zero function to check if length is zero or
10213         not
10214         * lyxgluelength.C: use it
10215
10216 2001-12-05  Allan Rae  <rae@lyx.org>
10217
10218         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10219         Works for 2.95.3, from what I understand of Garst's reports this should
10220         work for other g++ versions.  We're screwed if the abs(int) definition
10221         changed between bugfix releases of gcc.
10222
10223 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10224
10225         * text.C: fix chapter label offset !
10226
10227 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10228
10229         * lyxtext.h:
10230         * text.C: fix hfill at end of line, clean up
10231
10232 2001-12-04  Juergen Vigna  <jug@sad.it>
10233
10234         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10235         that we force an update of the inset and it's owners if neccessary.
10236
10237 2001-12-03  Juergen Vigna  <jug@sad.it>
10238
10239         * text.C (rowLast): simplified code
10240
10241 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10242
10243         * lyxfunc.C: fix show options on timeout
10244
10245 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10246
10247         * screen.C (topCursorVisible): scroll half a page when the cursor
10248         reached top of bottom of screen
10249
10250 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10251
10252         * minibuffer.C: deactivate on loss of focus
10253
10254 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10255
10256         * vspace.[Ch] (operator!=): add operator.
10257
10258 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10259
10260         * BufferView_pimpl.C: refuse to open an inset when
10261         there's a selection.
10262
10263 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10264
10265         * BufferView_pimpl.C: allow to click on RHS of full row insets
10266
10267 2001-11-30  Juergen Vigna  <jug@sad.it>
10268
10269         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10270         insets for undo reasons.
10271
10272 2001-11-28  André Pönitz <poenitz@gmx.net>
10273
10274         * vspace.[Ch]: cosmetical changes
10275
10276 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10277
10278         * LyXAction.h:
10279         * LyXAction.C:
10280         * lyxfunc.h:
10281         * lyxfunc.C:
10282         * kbmap.h:
10283         * kbmap.C:
10284         * lyxrc.C:
10285         * kbsequence.h:
10286         * kbsequence.C: part re-write of old kb code
10287
10288         * Painter.C:
10289         * WorkArea.C: remove Lgb_bug_find_hack
10290
10291 2001-11-30  José Matos <jamatos@fep.up.pt>
10292
10293         * buffer.C (makeDocBookFile): add a comment to point a hack.
10294         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10295         Fixed a double write of labels.
10296
10297 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10298
10299         * LaTeX.C:
10300         * LaTeX.h Fixed bug in LaTeX class where it would not
10301         re-run latex if no depfiles were changed, but the .dvi was removed.
10302
10303 2001-11-28  André Pönitz <poenitz@gmx.net>
10304
10305         * all the files from the change on 2001/11/26:
10306         use lyx::layout_type instead of LyXTextClass::size_type
10307         use lyx::textclass_type instead of LyXTextClassList::size_type
10308
10309 2001-11-29  Juergen Vigna  <jug@sad.it>
10310
10311         * text.C: added support for paragraph::isFreeSpacing()
10312
10313         * buffer.C: same as above
10314
10315         * paragraph.h: inserted isFreeSpacing() function to enable
10316         FreeSpacing inside InsetERT.
10317
10318         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10319         of the paragraph's in the cut/copy buffer to 0!
10320
10321         * text2.C (removeRow): remove the assert as it can!
10322
10323         * lyxtext.h: added helper function firstRow returning firstrow and
10324         made firstrow private again.
10325
10326         * BufferView2.C (lockInset): don't relock if we're already locked!
10327
10328         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10329         the only paragraph.
10330         (removeRow): added Assert::(firstrow)
10331
10332         * debug.C: forgot to add INSETTEXT here.
10333
10334 2001-11-28  Juergen Vigna  <jug@sad.it>
10335
10336         * sp_spell.C (initialize): changed error text to more general
10337         spellchecker command use (not only ispell!)
10338
10339         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10340
10341         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10342
10343 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10344
10345         * vspace.C: initialise lyxgluelength on failure
10346
10347 2001-11-28  Allan Rae  <rae@lyx.org>
10348
10349         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10350         declaration & definition that looks like a function declaration.
10351
10352 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10353
10354         * BufferView2.C (copy):
10355         (copyEnvironment): do not clear the selection when doing a copy.
10356
10357         * text.C (paintFirstRow): compilation fix
10358
10359 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10360
10361         * tabular.C (Latex): correct line count when writing latex.
10362
10363 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10364
10365         * paragraph_pimpl.h:
10366         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10367           bug a bit
10368
10369 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10370
10371         * text.C:
10372         * LColor.h:
10373         * LColor.C: change vfillline->added_space
10374
10375         * text.C: add markers and text for added space
10376
10377         * vspace.C: fix comment
10378
10379 2001-11-28  André Pönitz <poenitz@gmx.net>
10380
10381         * paragraph.C: whitespace changes
10382         * all the other files from the change on 2001/11/26:
10383         change *::pos_type into lyx::pos_type
10384
10385 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10386
10387         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10388         language of the document when inserting error insets.
10389
10390 2001-11-26  André Pönitz <poenitz@gmx.net>
10391
10392         * BufferView_pimpl.[Ch]:
10393         *       CutAndPaste.C:
10394         * buffer.[Ch]:
10395         * lyxcursor.[Ch]:
10396         * lyxfind.C:
10397         * lyxfunc.C:
10398         * lyxrow.[Ch]:
10399         * paragraph.[Ch]:
10400         * paragraph_pimpl.[Ch]:
10401         * sp_spell.C:
10402         * text.C:
10403         * text2.C: reduce header dependencies, introduce type for positions
10404
10405 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10406
10407         * <various>: change to use Alert.h
10408
10409 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10410
10411         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10412         when encountering an unknown token.
10413         (readLyXformat2): Show an error message if there were unknown tokens.
10414
10415 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10416
10417         * BufferView2.C:
10418         * BufferView_pimpl.C:
10419         * buffer.C:
10420         * paragraph.h:
10421         * text.C:
10422         * text2.C: use par->isInset()
10423
10424 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10425
10426         * paragraph_pimpl.h:
10427         * paragraph_pimpl.C: cleanup
10428
10429 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10430
10431         * text2.C (removeRow):
10432         * text.C (setHeightOfRow): remove useless (and costly) call to
10433         getRow.
10434
10435 2001-11-20  Allan Rae  <rae@lyx.org>
10436
10437         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10438         Now need Inset*::checkInsertChar() to return true for appropriate
10439         cases so that the characters in the minibuffer will actually be
10440         inserted.
10441
10442 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10443
10444         * text.C: change the order of the includes.
10445         (workWidth): initialize it at once.
10446         (workWidth): make maxw unsigned
10447         (setHeightOfRow): remove unused variable (inset)
10448         (selectSelectedWord): remove unused variable (inset)
10449         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10450
10451 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10452
10453         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10454         server is not running.
10455         (openConnection):
10456         (closeConnection): add debug info when server is disabled.
10457
10458         * ColorHandler.C (getGCForeground): send debug message to GUI
10459         channel.
10460
10461         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10462
10463         * kbmap.C (bind): modify because return conventions of
10464         kb_sequence::parse have changed.
10465
10466         * kbsequence.C (parse): only ignore spaces and not any stupid
10467         control character. This avoids tests like s[i] <= ' ', which are
10468         guaranteed to fail with 8bit characters and signed chars.
10469         Change return code to string::npos when there have been no error
10470         (0 was a bad idea when error is at first character)
10471
10472 2001-11-14  José Matos  <jamatos@fep.up.pt>
10473
10474         * buffer.h:
10475         * buffer.C (simpleDocBookOnePar): removed unused argument.
10476
10477 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10478
10479         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10480         insets which are part of a word. Paragraph::isLetter takes care of
10481         that now. Use Paragraph::isInset to identify insets.
10482         (selectSelectedWord): do not test for hyphenation break.
10483
10484         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10485         that protected spaces are considered as spaces.
10486
10487         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10488         Inset::isLetter.
10489
10490 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10491
10492         * lyxserver.h:
10493         * lyxserver.C: fix it. and small cleanup.
10494
10495 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10496
10497         * BufferView_pimpl.C: use inline helpers
10498
10499         * LaTeXFeatures.h:
10500         * LaTeXFeatures.C: fix typos
10501
10502         * Spacing.h:
10503         * Spacing.C: move spacing_string into class
10504
10505         * ToolbarDefaults.C: move stuff into namespace anon
10506
10507         * layout.h: update enum
10508
10509         * lyxfunc.C: use better debug
10510
10511         * minibuffer.h: fix typo
10512
10513         * debug.h:
10514         * debug.C:
10515         * WorkArea.C: add and use Debug::WORKAREA
10516
10517         * lyxtext.h:
10518         * text.C:
10519         * text2.C: code re-organisation, inline helpers
10520
10521 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10522
10523         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10524         std::vector.empty().
10525
10526 2001-11-09  Allan Rae  <rae@lyx.org>
10527
10528         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10529         '\n's after tables.  Tabular and ERT inset work now makes this no
10530         longer necessary.
10531
10532 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10533
10534         * minibuffer.h:
10535         * minibuffer.C: fix crash, improve drop-down completion
10536
10537 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10538
10539         * lyxserver.h:
10540         * lyxserver.C: invalidate fd's when doing endPipe()
10541
10542 2001-11-08  José Matos  <jamatos@fep.up.pt>
10543
10544         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10545         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10546
10547         * paragraph.h:
10548         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10549
10550 2001-11-07  José Matos  <jamatos@fep.up.pt>
10551
10552         * buffer.h:
10553         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10554         const qualifier.
10555
10556         * buffer.C (sgmlOpenTag):
10557         * buffer.C (sgmlCloseTag): removed debug info.
10558
10559         * buffer.h (sgmlOpenTag):
10560         * buffer.h (sgmlCloseTag): made public.
10561
10562 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10563
10564         * buffer.C (saveParamsAsDefaults):
10565         * lyx_cb.C (MenuLayoutSave): remove
10566
10567         * LyXAction.C (init):
10568         * commandtags.h:
10569         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10570
10571 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10572
10573         * buffer.C (setPaperStuff): removed from here...
10574
10575         * bufferparams.C (setPaperStuff): ... and moved there.
10576
10577 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10578
10579         * minibuffer.h:
10580         * minibuffer.C:
10581         * XFormsView.C: add support for drop-down completion
10582
10583 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10584
10585         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10586         commands.
10587
10588 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10589
10590         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10591         disabled.
10592
10593 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10594
10595         * lyx_main.C: change ref to known bugs
10596
10597 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10598
10599         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10600         to work around older babel problems.
10601
10602 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10603
10604         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10605
10606 2001-10-24  Juergen Vigna  <jug@sad.it>
10607
10608         * tabular-old.C (ReadOld): below variable changes reflected.
10609
10610         * tabular.[Ch]: added ltType struct for longtable header/footer
10611         defines and changed all instances where they are used. Added
10612         future support for double top/bottom rows.
10613
10614 2001-10-24  José Matos  <jamatos@fep.up.pt>
10615
10616         * buffer.h (docbookHandleCaption):
10617         * buffer.C (docbookHandleCaption): removed unused function.
10618         (makeDocBookFile): moved docbook supported version to v4.1.
10619
10620 2001-10-24  José Matos  <jamatos@fep.up.pt>
10621
10622         * tabular.h:
10623         * tabular.C (docbookRow): new function to export docbook code of a row.
10624         (DocBook): now honors the longtable flags.
10625
10626 2001-10-23  José Matos  <jamatos@fep.up.pt>
10627
10628         * LaTeXFeatures.h:
10629         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10630         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10631
10632         * buffer.C (makeLinuxDocFile):
10633         (makeDocBookFile): reworked the preamble, more clean, and with
10634         support for lyx defined entities. Changed the document declaration
10635         to be more XML friendly.
10636
10637         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10638         if we need to output XML that should be done with a filter.
10639
10640 2001-10-22  Juergen Vigna  <jug@sad.it>
10641
10642         * sp_pspell.h (class PSpell): add alive function needed in the
10643         controller to see if the spellchecker could be started.
10644
10645 2001-10-22  Juergen Vigna  <jug@sad.it>
10646
10647         * buffer.C (insertStringAsLines): modify the font for inserting
10648         chars in certain conditions by calling checkInsertChar(font).
10649
10650 2001-10-19  Juergen Vigna  <jug@sad.it>
10651
10652         * text.C (workWidth): use getRow instead of wrong algorithm.
10653         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10654
10655 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10656
10657         * lyxserver.h:
10658         * lyxserver.C:
10659         * lyx_main.h:
10660         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10661
10662 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10663
10664         * text.C (workWidth): do not search for the exact row when
10665         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10666         optimization for big documents.
10667
10668 2001-10-18  Juergen Vigna  <jug@sad.it>
10669
10670         * text.C (workWidth): new function with added Inset * parameter.
10671
10672 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10673
10674         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10675
10676         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10677         change return type of getColumnNearX.
10678
10679
10680         * text.C (changeRegionCase): use uppercase/lowercase instead of
10681         toupper/tolower.
10682         (leftMargin):
10683         (rightMargin): simplify code by factoring out the uses of
10684         textclasslist.
10685         (labelFill):
10686         (numberOfHfills):
10687         (setHeightOfRow):
10688         (appendParagraph): use Paragraph::size_type
10689
10690 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10691
10692         * vspace.C (asLatexString): add a missing break
10693
10694 2001-10-15  Herbert Voss  <voss@perce.de>
10695
10696         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10697
10698 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10699
10700         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10701         is not available.
10702
10703 2001-10-10  André Pönitz <poenitz@gmx.net>
10704
10705         * lyxfunc.C: removed greek_kb_flag.
10706
10707 2001-10-10  Herbert Voss  <voss@perce.de>
10708
10709         * lyx_main.C: delete global string help_lyxdir.
10710
10711 2001-10-09  Herbert Voss  <voss@perce.de>
10712
10713         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10714
10715         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10716
10717         * lyx_main.C: added global string help_lyxdir.
10718
10719         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10720
10721 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10722
10723         * lyxrc.C (set_font_norm_type): support iso8859-4
10724
10725 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10726
10727         * LaTeX.C (deplog): add another regex for MikTeX
10728
10729 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10730
10731         * lyxrc.C (set_font_norm_type): support iso8859-3
10732
10733 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10734
10735         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10736
10737         * LaTeXFeatures.C: remove special case of french and index
10738
10739         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10740         before \begin{document}). This solves several incompatibilities.
10741
10742 2001-10-03  Garst Reese  <reese@isn.net>
10743
10744         * lyx_cb.C: change CheckTex error msg.
10745
10746 2001-10-03  José Matos  <jamatos@fep.up.pt>
10747
10748         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10749
10750 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10751
10752         * .cvsignore: update
10753
10754         * lyx_main.C (commandLineVersionInfo): use new style version info.
10755
10756         * buffer.C (writeFile):
10757         (makeLaTeXFile):
10758         (makeLinuxDocFile):
10759         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10760
10761         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10762
10763         * version.h: update to use stuff in version.C
10764
10765         * version.C.in: new file. Contains version information determined
10766         at compile time. This is a merging of version.h and
10767         version_info.h.in.
10768
10769 2001-10-03  Juergen Vigna  <jug@sad.it>
10770
10771         * BufferView_pimpl.C (update): don't change "dirty" status in
10772         updateInset call.
10773
10774 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10775
10776         * WorkArea.C (c-tor): re-position version string slightly.
10777
10778 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10779
10780         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10781         revert to previous code.
10782
10783         WorkArea.[Ch]: (show, destroySplash): methods removed.
10784
10785         WorkArea.C: rework code so that it's an amalgam of the codes before and
10786         after the splash screen was moved to WorkArea.
10787
10788 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10789
10790         * lyxrc.C (read):
10791         * vspace.C (inPixels):
10792         (lyx_advance):
10793         * kbmap.C (bind):
10794         * buffer.C (insertStringAsLines):
10795         (asciiParagraph): fix types to be large enough
10796
10797         * lyxlex_pimpl.h: change member status from short to int
10798
10799         * layout.h: fix type of endlabeltype
10800
10801         * kbmap.C (bind):
10802         * kbsequence.C (parse): change return type to string::size_type
10803
10804         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10805         variable
10806
10807         * Bullet.C (bulletSize):
10808         (bulletEntry): do not use short ints as parameters
10809
10810         * BufferView2.C (insertLyXFile): change a char to an int.
10811
10812         * WorkArea.C (WorkArea): remove unneeded floats in computation
10813
10814 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10815
10816         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10817
10818         * paragraph.C (asString): Do not ignore newline/hfill chars when
10819         copying to the clipboard.
10820
10821 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10822
10823         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10824         after a multi-line inset.
10825
10826 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10827
10828         * paragraph.C (validate): Set NeedLyXFootnoteCode
10829
10830 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10831
10832         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10833         and decrease-error to decrease.
10834
10835 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10836
10837         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10838         it more readable (should be equivalent)
10839
10840 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10841
10842         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10843
10844 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10845
10846         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10847         of a cursor (row, etc.) after a character has been deleted
10848         (deleteEmptyParagraphMechanism): call the method above on _all_
10849         cursors held by the LyXText when a double space has been
10850         detected/deleted.
10851
10852 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10853
10854         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10855         pixmap.
10856         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10857
10858         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10859         background. Use greyOut() and the new show() methods to toggle between
10860         the foreground and background. Add code to remove the splash after
10861         its initial showing.
10862
10863         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10864         (create_forms): no longer call Dialogs::showSplash.
10865
10866 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10867
10868         * .cvsignore: add version_info.h
10869
10870 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10871
10872         * version_info.h.in: new file
10873
10874         * Makefile.am: add version_info.h.in
10875
10876         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10877         version_info.h instead of VERSION_INFO
10878
10879 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10880
10881         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10882         The ERT inset now returns string().
10883
10884 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10885
10886         * lyxtext.h, text.C (selectNextWord): renamed as
10887         selectNextWordToSpellcheck.
10888
10889         * text.C (selectNextWordToSpellcheck): Modified to not select
10890         words inside an ERT inset.
10891
10892 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10893
10894         * lyx_cb.C (MenuLayoutSave): change a bit the question
10895
10896         * sp_base.h: include <sys/types.h>
10897
10898 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10899
10900         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10901
10902 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10903
10904         * several files: fix typos in user-visible strings
10905
10906 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10907
10908         * text2.C (pasteSelection): do not set the selection, since it
10909         will be cleared later. Actually, the intent was to fix the way the
10910         selection was set, but I figured rmoving the code was just as good.
10911
10912 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10913
10914         * FontLoader.C (available): Check if font is available without
10915         loading the font.
10916
10917 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10918
10919         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10920
10921 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10922
10923         * lyxrc.[Ch]: added display_graphics variable and associated code.
10924
10925 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10926
10927         * bufferparams.C (hasClassDefaults): new method. Returns true if
10928         the buffer parameters correspond to known class defaults
10929
10930 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10931
10932         * XFormsView.C (show): set minimum size to the main window.
10933
10934 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10935
10936         * text2.C (copySelection):
10937         (cutSelection):
10938         * lyxfind.C (LyXReplace):
10939         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10940         LyXText::selectionAsString.
10941
10942         * paragraph.C (asString): add "label" argument to the second form
10943
10944         * text2.C (selectionAsString): add "label" argument and pass it to
10945         Paragraph::asString.
10946
10947 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10948
10949         * lyx_main.C (commandLineHelp): remove version information
10950
10951 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10952
10953         * lyx_main.C: add -version commandline option
10954
10955 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10956
10957         * paragraph.h: make the optional constructor arg required instead.
10958         some modifications to other files because of this.
10959
10960         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10961
10962         * lyxserver.C (C_LyXComm_callback): make it static
10963
10964         * lyx_main.C (error_handler): make it static
10965
10966         * lyx_gui.C (LyX_XErrHandler): make it static
10967
10968         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10969
10970         * WorkArea.C: make the extern "C" methods static.
10971
10972         * Makefile.am (lyx_LDADD): simplify
10973
10974 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10975
10976         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10977         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10978
10979         * LyXAction.C (init):
10980         * lyxfunc.C (dispatch): associated code removal.
10981
10982 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10983
10984         * lyxfont.h (isSymbolFont): shut off warning
10985
10986         * text.C (setHeightOfRow):
10987         (getVisibleRow): fix crash with empty paragraphs which have a
10988         bottom line
10989
10990 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10991
10992         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10993         code.
10994
10995 2001-09-04  José Matos  <jamatos@fep.up.pt>
10996         * buffer.C
10997         * buffer.h
10998         * tabular.C (docbook): rename docBook method to docbook.
10999
11000 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11001
11002         * Makefile.am: add dependencies to main.o.
11003
11004 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11005
11006         * FontLoader.C (available): Return false if !lyxrc.use_gui
11007
11008 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11009
11010         * FontInfo.C (query):
11011         * converter.C (view):
11012         * importer.C (Import):
11013         * exporter.C (Export): Can not -> cannot.
11014
11015 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11016
11017         * BufferView_pimpl.C: allow to create index inset even if
11018           string is empty
11019
11020 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11021
11022         * buffer.C (getLists): replace boost::tie code with an explicit pair
11023         as boost::tie can break some compilers.
11024
11025         * iterators.h: Added a std:: declaration to the return type of
11026         ParIterator::size.
11027
11028 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11029
11030         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11031           case.
11032
11033 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11034
11035         * iterators.[Ch]: New files. Provide paragraph iterators.
11036
11037         * buffer.C (changeLanguage): Use paragraph iterators.
11038         (isMultiLingual): ditto
11039
11040         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11041
11042 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11043
11044         * FontLoader.C: Support for cmr font.
11045
11046 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11047
11048         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11049         (available): New method.
11050
11051         * FontInfo.C (getFontname): Use scalable fonts even when
11052         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11053         found.
11054
11055 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11056
11057         * converter.C (Formats::view): reverted! Incorrect fix.
11058
11059 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11060
11061         * converter.C (Formats::view): only output the -paper option
11062         if the dvi viewer is xdvi, thereby fixing bug #233429.
11063
11064 2001-08-23  Herbert Voss  <voss@perce>
11065
11066         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11067
11068 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11069
11070         * Spacing.h (Spacing): Set space to Default on in the default
11071         constructor.
11072
11073 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11074
11075         * vc-backend.h (RCS::versionString): add RCS to version
11076         (CVS::versionString): add CVS to version
11077
11078         * vc-backend.C (scanMaster): do not add CVS to version.
11079         (scanMaster): do not add RCS to version
11080
11081         * lyxvc.C (versionString): new method
11082
11083         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11084
11085 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11086
11087         * Spacing.C (set): initialize fval
11088
11089 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11090
11091         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11092         " or \.
11093
11094 2001-08-16  Juergen Vigna  <jug@sad.it>
11095
11096         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11097
11098 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11099
11100         * BufferView_pimpl.C:
11101         * figureForm.C:
11102         * lyxtext.h:
11103         * text2.C: setParagraph takes linespacing now
11104
11105 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11106
11107         * LyxAction.C: add internal LFUN_CITATION_INSERT
11108
11109         * LyXView.C: actually apply fix
11110
11111         * bufferlist.C: fix open non-existent file
11112
11113         * lyxfind.C: fix indentation
11114
11115         * lyxfunc.C: remove unneeded assert, fix typo
11116
11117 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11118
11119         * MenuBackend.C: use "Floatname List"
11120
11121 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11122
11123         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11124         when converting LaTeX layout to insetERT.
11125         Generate a non-collapsed float when reading old float
11126
11127 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11128
11129         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11130         ERT insets.
11131
11132 2001-08-13  Juergen Vigna  <jug@sad.it>
11133
11134         * text.C (fill): return 0 instead of 20 as this seems to be the more
11135         correct value.
11136
11137 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11138
11139         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11140         lyxrc.font_norm.
11141
11142 2001-08-13  Juergen Vigna  <jug@sad.it>
11143
11144         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11145         casesensitive off.
11146         (SearchBackward): comment out the unlocking of the inset_owner this
11147         should not be needed!
11148
11149 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11150
11151         * Many files: Remove inherit_language, and add latex_language
11152
11153         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11154         collapsible insets.
11155
11156 2001-08-10  Juergen Vigna  <jug@sad.it>
11157
11158         * text.C (prepareToPrint): fixed hfill-width in draw!
11159
11160         * BufferView2.C (selectLastWord): save the selection cursor as this
11161         now is cleared in the function LyXText::clearSelection!
11162
11163 2001-08-08  Juergen Vigna  <jug@sad.it>
11164
11165         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11166         BACKSPACE type functions.
11167
11168         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11169         is only cutted from the document but not put in the cut-buffer, where
11170         still the old stuff should be.
11171
11172         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11173
11174         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11175
11176         * tabular.C (SetWidthOfCell): fixed special case where the width
11177         was not updated!
11178         (LeftLine): handle '|' in align_special.
11179         (RightLine): ditto
11180         (LeftAlreadyDrawed): ditto
11181         (SetWidthOfCell): ditto
11182
11183 2001-08-07  Juergen Vigna  <jug@sad.it>
11184
11185         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11186
11187 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11188
11189         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11190         * lyxlex.[hC]: ditto
11191
11192 2001-08-06  Juergen Vigna  <jug@sad.it>
11193
11194         * text.C (getVisibleRow): fix up row clearing a bit.
11195
11196 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11197
11198         * minibuffer.C: make sure the X server sees the changes in the input.
11199
11200 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11201
11202         * paragraph.C (getFont): split into...
11203         (getLabelFont): this
11204         (getLayoutFont): and this
11205         * paragraph_pimpl.C (realizeFont): calling this
11206
11207         * text2.C (getFont): split into...
11208         (getLayoutFont): this
11209         (getLabelFont): and this
11210         (realizeFont): all three calling this
11211
11212         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11213         files where used.
11214
11215 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11216
11217         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11218
11219 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11220
11221         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11222         layouts from the Quote inset insertion.
11223
11224 2001-08-03  Juergen Vigna  <jug@sad.it>
11225
11226         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11227
11228         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11229         only if status not is already CHANGED_IN_DRAW (second level).
11230
11231         * text.C (draw): don't set the need_break_row when inside an
11232         InsetText LyXText.
11233
11234 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11235
11236         * buffer.C (parseSingleLyXformat2Token): handle more latex
11237         conversion cases.
11238
11239         * bufferview_funcs.[hC]: change function names to
11240         begin with small char, adjust other files.
11241
11242 2001-08-02  André Pönitz <poenitz@gmx.net>
11243
11244         * lyxfunc.C:
11245         BufferView_pimpl.C: remove broken special code for math-greek
11246
11247 2001-08-02  Juergen Vigna  <jug@sad.it>
11248
11249         * BufferView_pimpl.C (update): redone this function so that we
11250         update the text again if there was a CHANGE_IN_DRAW.
11251
11252         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11253         (drawFromTo): added a new internal bool which is used by draw() and
11254         redraw() function.
11255         (general): some cursor drawing problems fixed.
11256
11257 2001-08-01  Juergen Vigna  <jug@sad.it>
11258
11259         * lyxfind.C (LyXFind): fixed
11260         (SearchForward): ditto
11261         (SearchBackward): ditto
11262
11263         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11264         spurius drawing of the cursor in the main area.
11265
11266         * text2.C (status): small fix which could lead to a segfault!
11267         (clearSelection): remove unneeded BufferView param.
11268
11269 2001-08-01  André Pönitz <poenitz@gmx.net>
11270
11271         * lyxfunc.C: small change due to changed mathed interface
11272
11273 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11274
11275         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11276
11277 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11278
11279         * lyxfunc.c: fail gracefully if file doesn't exist
11280
11281         * LyXSendto.C:
11282         * buffer.C:
11283         * lyxfunc.C:
11284         * BufferView_pimpl.C: IsDirWriteable() proto changed
11285
11286         * LyXView.C: fix updateWindowTitle() to store the last title
11287
11288 2001-07-31  Juergen Vigna  <jug@sad.it>
11289
11290         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11291         the font (wrong since using of Paragraph::highestFontInRange).
11292
11293         * paragraph.C (highestFontInRange): added a default_size parameter.
11294
11295         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11296         (setHeightOfRow): reformat
11297
11298 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11299
11300         * converter.[hC] + affected files: move to (inital-char)lowercase
11301         function names.
11302
11303         * ParagraphParameters.C (ParagraphParameters): remove commented code
11304
11305         * PainterBase.[Ch]: remove commented code
11306
11307         * LaTeXFeatures.h: add "bool floats" for float.sty
11308
11309         * LaTeXFeatures.C (LaTeXFeatures): init floats
11310         (require): handle float
11311         (getPackages): do it with floats
11312
11313 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11314
11315         * BufferView_pimpl.C (Dispatch): improve handling of
11316         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11317
11318         * commandtags.h: #include lyxfont.h here temporarily to avoid
11319         keybinding bug.
11320
11321         * bufferlist.h: include LString.h here.
11322
11323 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11324
11325         * text2.C (getStringToIndex): new method.
11326
11327 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11328
11329         * *: Reduced header file dependencies all over.
11330
11331 2001-07-30  Baruch Even  <baruch@lyx.org>
11332
11333         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11334
11335 2001-07-29  Baruch Even  <baruch@lyx.org>
11336
11337         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11338
11339 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11340
11341         * ParameterStruct.h (endif): add a default constructor to make
11342         sure that all variables is initialized.
11343
11344         * ParagraphParameters.C (ParagraphParameters): adjust
11345
11346 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11347
11348         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11349         index; also, check that there is something to index, and that it
11350         does not span over several paragraphs.
11351         (doubleClick): use WHOLE_WORD_STRICT for double click.
11352
11353         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11354
11355         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11356         scheme.
11357
11358 2001-07-26  Baruch Even  <baruch@lyx.org>
11359
11360         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11361         an InsetFig figure, backwards compatible reading of old figure code.
11362
11363 2001-07-27  Juergen Vigna  <jug@sad.it>
11364
11365         * text2.C: font.realize function adaption.
11366
11367         * text.C (draw): add a warnings lyxerr text if needed.
11368
11369         * layout.C: font.realize function adaption.
11370
11371         * language.C: add inherit_language and implement it's handlings
11372
11373         * bufferview_funcs.C (StyleReset): remove language parameter from
11374         font creation (should be language_inherit now).
11375
11376         * bufferparams.C (writeFile): handle ignore_language.
11377
11378         * paragraph.C (getFontSettings): the language has to be resolved
11379         otherwise we have problems in LyXFont!
11380
11381         * lyxfont.C (lyxWriteChanges): added document_language parameter
11382         (update): removed unneeded language parameter
11383
11384         * paragraph.C (validate): fixed wrong output of color-package when
11385         using interface colors for certain fonts in certain environments,
11386         which should not seen as that on the final output.
11387
11388 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11389
11390         * BufferView_pimpl.C:
11391         * Thesaurus.h:
11392         * Thesaurus.C:
11393         * Makefile.am:
11394         * commandtags.h:
11395         * LyXAction.C: add thesaurus support
11396
11397         * lyxfind.h:
11398         * lyxfind.C: add "once" parameter, for thesaurus, to not
11399           move to the next match
11400
11401 2001-07-26  Juergen Vigna  <jug@sad.it>
11402
11403         * lyxfont.C (realize): honor ignore_language too!
11404         (resolved): ditto.
11405
11406         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11407
11408         * text.C (draw): one place more for ignore_language to not draw
11409         itself!
11410
11411 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11412
11413         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11414
11415 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11416
11417         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11418         the minipage conversion problem.
11419
11420 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11421
11422         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11423         insert an inset.
11424
11425 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11426
11427         * BufferView.h: don't forward declare WorkArea
11428
11429         * BufferView.C: don't include WorkArea.h
11430
11431 2001-07-25  André Pönitz <poenitz@gmx.net>
11432
11433         * commandtags.h:
11434         * LyXAction.C:
11435         * lyxfunc.C:  new LFUN 'math-space'
11436
11437         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11438
11439 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11440
11441         * text2.C (toggleInset): call open/close
11442
11443 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11444
11445         * lyxfunc.C (dispatch): add debug for the disabled case
11446
11447         * font.C (buttonText): make similar to rectText
11448
11449         * buffer.C (readInset): comment out parsing of insetlist and
11450         insttheorem
11451
11452         * PainterBase.C (rectText): small correction
11453
11454         * BufferView_pimpl.C: comment out insettheorem and insetlist
11455         * LyXAction.C: ditto
11456         * commandtags.h: ditto
11457
11458 2001-07-24  Juergen Vigna  <jug@sad.it>
11459
11460         * text.C (draw): honor the ignore_language.
11461
11462         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11463
11464 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11465
11466         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11467         char inset.
11468
11469 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11470
11471         * lyxtext.h: remove unused (and unimplemented) methods
11472
11473 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11474
11475         * text.C (getVisibleRow): honor background color
11476
11477         * PainterBase.h:
11478         * Painter.h: remove default color argument for fillRectangle
11479
11480         * text.C (backgroundColor): new method
11481
11482 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11483
11484         * text.C (getVisibleRow): adjust
11485
11486         * font.[Ch] (rectText): new method, metrics
11487         (buttonText): new method, metrics
11488
11489         * PainterBase.[hC]: make rectText and buttonText always draw and take
11490         fewer paramteres.
11491
11492 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11493
11494         * ToolbarDefaults.C (read):
11495         * MenuBackend.C (read): allow escaping in all strings
11496
11497         * BufferView_pimpl.C (insertAndEditInset): new method.
11498         (Dispatch): use insertAndEditInset whenever appropriate.
11499
11500         * BufferView_pimpl.C (insertNote): removed
11501
11502         * BufferView_pimpl.C (smartQuote): new method, moved from
11503         BufferView; if an insetquote cannot be inserted, insert a '"'
11504         character instead.
11505
11506         * BufferView2.C: remove insertCorrectQuote();
11507
11508         * lyxfunc.C (getStatus): Add support for all remaingin
11509         inset-insert lfuns.
11510
11511         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11512
11513         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11514         command (necessary to pass " as parameter of self-insert.
11515
11516         * text.C (selectWordWhenUnderCursor):
11517         (selectWord): add word_location parameter
11518         (selectWordWhenUnderCursor): same + remove special code for word
11519         boundary.
11520         (selectNextWord): use kind() to guess type of insetspecialchar,
11521         not latex().
11522
11523         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11524         (insertErtContents): create ert insets as collapsed.
11525         (readInset): better compatibility code for Info inset.
11526
11527 2001-07-20  Juergen Vigna  <jug@sad.it>
11528
11529         * lyxfunc.C (dispatch): use always LyXFind now!
11530
11531         * text2.C (init): add a reinit flag so that the LyXText can be
11532         reinited instead of deleted and reallocated (used in InsetText).
11533
11534         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11535
11536         * text.C: ditto
11537
11538         * text2.C: ditto
11539
11540 2001-07-18  Juergen Vigna  <jug@sad.it>
11541
11542         * text.C (selectNextWord): handle insets inside inset by calling
11543         always the bv->text functions so that we can go up the_locking_inset!
11544
11545         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11546         in strange locations when inside an inset!
11547
11548         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11549         handling to include insets.
11550
11551         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11552
11553 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11554
11555         * LyXAction.C (init):
11556         * commandtags.h:
11557         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11558         LIGATURE_BREAK, since the name is so stupid.
11559
11560 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11561
11562         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11563         InsetInfos.
11564
11565         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11566
11567         * sp_form.[Ch]: remove.
11568
11569         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11570
11571         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11572         InsetInfo.
11573
11574         * src/buffer.C (readInset): ditto.
11575
11576 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11577
11578         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11579         menuSeparator(), endOfSentenceDot(), ldots() and
11580         hyphenationPoint(), which are therefore removed.
11581         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11582
11583         * LyXAction.C (init):
11584         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11585
11586         * paragraph.C (getWord): removed.
11587
11588         * BufferView_pimpl.C (Dispatch): use last word or selection for
11589         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11590
11591         * lyx_main.C (queryUserLyXDir): do not ask before creating
11592         user_dir, except if it has been named explicitely.
11593
11594 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11595
11596         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11597         a document of zero size.
11598
11599 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11600
11601         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11602         approriately in the c-tor and in require().
11603         (getPackages): output the appropriate LaTeX for natbib support.
11604
11605         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11606         variables "use_natbib" and "use_numerical_citations" when reading the
11607         LyX file.
11608         (readInset): read the various natbib cite commands.
11609         (validate): white-space change.
11610
11611         * bufferparams.[Ch]: new variables "bool use_natbib" and
11612         "bool use_numerical_citations".
11613         (writeFile): output them in the LyX file.
11614
11615 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11616
11617         * lyxfunc.C (getStatus): add support for all the inset insertion
11618         commands.
11619
11620         * text2.C (insertInset):
11621         * paragraph.C (insetAllowed):
11622         * BufferView_pimpl.C (insertInset): update to take in account the
11623         renaming of insertInsetAllowed
11624
11625         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11626
11627         * text2.C (getInset): new method. returns inset at cursor position.
11628
11629         * BufferView_pimpl.C (Dispatch): changes because of this.
11630
11631         * LyXAction.C (init): rename open-stuff to inset-toggle.
11632
11633         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11634
11635         * text2.C (toggleInset): renamed from openStuff; use
11636         Inset::open().
11637
11638 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11639
11640         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11641
11642         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11643
11644 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11645
11646         * buffer.C (readLyXformat2): Add filename to the error dialog
11647
11648 2001-07-18  Juergen Vigna  <jug@sad.it>
11649
11650         * tabular.C (GetCellNumber): put an assert here instead of the check!
11651
11652 2001-07-17  Juergen Vigna  <jug@sad.it>
11653
11654         * BufferView_pimpl.C (toggleSelection): adapted too.
11655
11656         * text.C (selectNextWord): adapted for use with insets.
11657         (selectSelectedWord): ditto
11658
11659 2001-07-17  Juergen Vigna  <jug@sad.it>
11660
11661         * sp_spell.C (PSpell): fix initialitation order.
11662
11663 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11664
11665         * paragraph.C: spacing
11666
11667 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11668
11669         * sp_spell.C: repair language selection for pspell
11670
11671 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11672
11673         * lyxfunc.h: change more methods to begin with lower char.
11674
11675 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11676
11677         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11678         for unknown layouts.
11679
11680 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11681
11682         * buffer.C (readLyXformat2): Generate an error dialog if there are
11683         unknown layouts.
11684
11685 2001-07-16  Juergen Vigna  <jug@sad.it>
11686
11687         * sp_spell.C: always compile ISpell part.
11688
11689         * lyxrc.C: added use_pspell entry and it's handling.
11690
11691 2001-07-13  Juergen Vigna  <jug@sad.it>
11692
11693         * sp_spell.C: removed double includes.
11694
11695 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11696
11697         Consistent use of Lsstream.h:
11698         * Lsstream.h: added using std::stringstream for consistencies sake.
11699
11700         * buffer.C: removed using std::stringstream
11701
11702         * lyxfont.C (stateText):
11703         * paragraph.C (asString):
11704         * text.C (selectNextWord, selectSelectedWord):
11705         * text2.C (setCounter):
11706         * vspace.C (asString, asLatexString):
11707         std::ostringstream -> ostringstream.
11708
11709 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11710
11711         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11712         * commandtags.h: add LFUN_HELP_ABOUTLYX
11713         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11714
11715 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11716
11717         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11718         cursorToggle()
11719         * lyx_gui_misc.C: remove spellchecker
11720         * lyxfunc.C: showSpellchecker
11721         * sp_base.h: added
11722         * sp_ispell.h: added
11723         * sp_pspell.h: added
11724         * sp_spell.C: added
11725         * sp_form.[Ch]: removed
11726         * spellchecker.[Ch]: removed
11727
11728 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11729
11730         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11731         is set.
11732         (simpleTeXSpecialChars): Simply print the input character without
11733         any special translation if pass_thru is set.
11734
11735         * layout.h: Added bool pass_thru to layout class for being able to
11736         implement pass through of a paragraph for Literate Programming.
11737
11738         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11739         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11740         * layout.C (Read): add "passthru" to list of layout tags and add
11741         code to set the pass_thru boolean when it is read.
11742
11743 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11744
11745         * trans_decl.h: remove allowed from KmodInfo
11746
11747         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11748         remove allowed code
11749         (Load): adjust
11750
11751         * paragraph_pimpl.C (erase): use boost::prior
11752
11753         * Painter.C (text): use data() instead of c_str() when length is
11754         also provided.
11755         * WorkArea.C (putClipboard): ditto
11756         * font.h (width): ditto
11757
11758         * BufferView2.C: use it-> instead of (*it). for iterators
11759         * texrow.C: ditto
11760         * paragraph_pimpl.C: ditto
11761         * paragraph.C: ditto
11762         * minibuffer.C: ditto
11763         * language.C: ditto
11764         * kbmap.C: ditto
11765         * encoding.C: ditto
11766         * counters.C: ditto
11767         * converter.C: ditto
11768         * chset.C: ditto
11769         * Variables.C: ditto
11770         * TextCache.C: ditto
11771         * MenuBackend.C: ditto
11772         * LyXAction.C: ditto
11773         * LColor.C: ditto
11774         * FloatList.C: ditto
11775         * DepTable.C: ditto
11776         * ColorHandler.C (LyXColorHandler): ditto
11777
11778 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11779
11780         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11781
11782         * text2.C (openStuff): reintroduce this method (which had been
11783         nuked in NEW_INSETS frenzy).
11784
11785         * lyxfunc.C (Dispatch): when an action has not been handled, use
11786         its name in the error message, not its number.
11787
11788         * paragraph.C (inInset): change method name to begin with lowercase.
11789
11790         * undo_funcs.C:
11791         * text2.C: updates because of this.
11792
11793 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11794
11795         * ToolbarDefaults.C (add): add spaces in error message
11796
11797 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11798
11799         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11800         (readLyXformat2): rename return_par to first_par, use lyxlex's
11801         pushToken and remove the manual push handling.
11802         (parseSingleLyXformat2Token): add another ert comp. variable:
11803         in_tabular, rename return_par to first_par. handle newlines better
11804
11805 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11806
11807         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11808
11809 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11810
11811         * text2.C (getParFromID): removed
11812
11813         * buffer.C (getParFromID): new method moved form lyxtext.
11814         * BufferView2.C (insertErrors): adjust
11815         (setCursorFromRow): adjust
11816         * BufferView_pimpl.C (restorePosition): adjust
11817         * lyxfunc.C (Dispatch): adjust
11818         * undo_funcs.C (textUndo): adjust
11819         (textRedo): adjust
11820         (textHandleUndo): adjust
11821         (textHandleUndo): adjust
11822
11823 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11824
11825         * buffer.C: up' the LYX_FORMAT
11826
11827         * lyxfont.h: turn NO_LATEX on as default
11828
11829         * buffer.C (insertErtContents): new methods of tex style compability.
11830         (parseSingleLyXformat2Token): use it several places.
11831         * tabular.C (OldFormatRead): and here
11832
11833 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11834
11835         * text2.C: remove some commented code.
11836         reindent file.
11837
11838         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11839         * trans.C: changes because of the above.
11840
11841 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11842
11843         * text2.C (setCounter): Fix counters bug with bibliography layout.
11844
11845 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11846
11847         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11848         own member functions
11849         (simpleTeXSpecialChars): ditto
11850
11851 2001-07-06  Juergen Vigna  <jug@sad.it>
11852
11853         * a lot of files: changed the access to LyXText::status and the
11854         call of undo-functions.
11855
11856         * undo.[Ch]: added a inset_id to the undo informations.
11857
11858         * undo_funcs.[Ch]: added and moved here all undo functions.
11859
11860         * lyxtext.h: give the status enum a weight, made status_ a private
11861         variable and made accessor functions for it, removed the whole bunch
11862         of undo-functions as they are now in their own file, make some
11863         functions publically available. Added function ownerParagraph with
11864         int parameter.
11865
11866         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11867         made InInset() a const function, added getParFromID() function.
11868
11869         * buffer.[Ch]: added const version for inset_iterator functions,
11870         added getInsetFromID() function.
11871
11872         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11873         changed undo functions for new version.
11874
11875 2001-07-05  Juergen Vigna  <jug@sad.it>
11876
11877         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11878         unknow mechanism does not call the proper constructor but only this
11879         one also if I request the other!?
11880
11881 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11882
11883         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11884
11885         * text2.C (LyXText): use initialization lists.
11886
11887         * lyxtext.h (Selection): initialize set_ and mark_
11888         (init): remove method
11889
11890 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11891
11892         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11893
11894 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11895
11896         * screen.[Ch]: change method names to begin with lowercase
11897
11898         * BufferView_pimpl.C (updateScrollbar): simplify further and
11899         hopefully make it a bit faster.
11900
11901 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11902
11903         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11904         calling directly xforms functions.
11905
11906         * Painter.C (Painter):
11907         * lyx_cb.C (MenuWrite):
11908         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11909         fl_display.
11910
11911         * lyx_gui.C: remove bogus guiruntime extern declaration.
11912
11913 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11914
11915         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11916         in NEW_INSETS
11917         (redoDrawingOfParagraph): ditto
11918         (redoParagraphs): ditto
11919         (cutSelection): don't create a object for CutAndPaste use the
11920         static method directly
11921         (pasteSelection): ditto
11922
11923         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11924         LyXview (+ rename)
11925
11926 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11927
11928         * modifications to some other files because of this.
11929
11930         * Makefile.am (lyx_SOURCES): add XFormsView
11931
11932         * XFormsView.[Ch]: new files
11933
11934         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11935         the main window. Move the gui dependent stuff to XFormsView
11936
11937 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11938
11939         * tabular.C (GetCellInset): update cur_cell also in the row/col
11940         version of this function.
11941
11942         * lyxfunc.C: no need to include figure_form.h here.
11943
11944         * FontLoader.h:
11945         * lyxfunc.h:
11946         * lyxscreen.h:
11947         * text2.C:
11948         * lyxvc.C: no need to include forms.h here.
11949
11950 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11951
11952         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11953
11954         * lyxfunc.C (Dispatch):
11955         * Spacing.C (set):
11956         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11957         constructor argument.
11958
11959 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11960
11961         * paragraph.C (Paragraph): dont't clear, and just set layout.
11962         (makeSameLayout): use params's copy contructor.
11963
11964         * ParagraphParameters.[Ch] (makeSame): delete method
11965
11966 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11967
11968         * Variables.[Ch]: fix indentation, rename set to isSet
11969
11970 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11971
11972         * lyxfunc.C (Dispatch): fix typo
11973
11974 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11975
11976         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11977         upper_bound.
11978
11979         * bufferlist.C: include assert.h for emergencyWrite().
11980
11981 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11982
11983         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11984           give up at last (bug #425202) !
11985
11986 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11987
11988         * lyx_gui_misc.C:
11989         * sp_form.h:
11990         * sp_form.C:
11991         * spellchecker.h:
11992         * spellchecker.C: strip spellchecker options and bring up
11993           preferences tab instead
11994
11995 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11996
11997         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11998         the istringstream constructor
11999
12000 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12001
12002         * paragraph.C (getLayout): fix return value
12003
12004         * paragraph.h: do not declare getLayout as inline.
12005
12006         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12007
12008 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12009
12010         * lyxcursor.h (operator<): new func
12011         (operator>): new func
12012         (operator>=): new func
12013         (operator<=): new func
12014
12015         * text.C (changeCase): use selection.start and selection.end
12016         (changeRegionCase): require from to be <= to. Require par to be a
12017         valid paragraph.
12018
12019         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12020
12021 2001-06-27  Juergen Vigna  <jug@sad.it>
12022
12023         * text.C (cursorLeftOneWord): changed to return the cursor and added
12024         overlay with BufferView * parameter which calls this one.
12025         (getWord): added
12026         (selectWord): use new getWord function.
12027         (changeCase): renamed from changeWordCase as and extended to work
12028         also on selections.
12029
12030         * lyxtext.h: added enum word_location
12031
12032         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12033         changeCase as this operates now also on selections.
12034
12035 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12036
12037         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12038
12039         * many files: send debug output to Debug::INFO instead of
12040         Debug::ANY.
12041
12042         * converter.C (View):
12043         (Convert):
12044         (Move): send debug output to Debug::FILES instead of console.
12045
12046 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12047
12048         * lyxfunc.C (getStatus): use func_status
12049
12050         * func_status.h: new header, describing the results of
12051         LyXFunc::getStatus;
12052
12053         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12054         LFUN_MATH_HALIGN.
12055
12056 2001-06-25  The LyX Project  <jug@sad.it>
12057
12058         * buffer.C (sgmlOpenTag):
12059         (sgmlCloseTag):
12060         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12061
12062 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12063
12064         * text2.C: remove some dead code
12065
12066         * tabular.C (GetCellInset): store the last cell checked (gotten)
12067
12068         * tabular.h: add the helper for the speedup
12069
12070         * lyxtext.h: remove some dead code
12071
12072 2001-06-26  The LyX Project  <Asger>
12073
12074         * paragraph.C: Change export to LaTeX of alignment to
12075         \begin{center} and family for better roundtrip work with reLyX.
12076
12077         * Tune the math drawing a bit.
12078
12079 2001-06-25  The LyX Project  <Asger>
12080
12081         * LColor.C (LColor): New color for math background. New color
12082         for buttons.
12083
12084 2001-06-25  The LyX Project  <jug@sad.it>
12085
12086         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12087
12088         * lyxfunc.C (Open):
12089         * bufferlist.C (newFile): do not restrict to files ending with
12090         .lyx
12091
12092         * BufferView_pimpl.C (MenuInsertLyXFile):
12093
12094 2001-06-24  The LyX Project  <jug@sad.it>
12095
12096         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12097         of compare_no_case
12098
12099 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12100
12101         * lyxtext.h: rename most methods to begin with a small char.
12102         Lots of changes because of this.
12103
12104         * paragraph.C (Paragraph): do not call fitToSize
12105         (erase): call Pimpl::erase
12106         (insertChar): call Pimpl::insertChar
12107         (insertInset): call Pipl::insertInset
12108         (breakParagraph): do not call fitToSize
12109         (breakParagraphConservative): do not call fitToSize
12110         (fitToSize): remove method
12111
12112         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12113
12114 2001-06-24  The LyX Project  <Asger>
12115
12116         * Fix Qt compilation^2
12117
12118 2001-06-24  The LyX Project  <jug@sad.it>
12119
12120         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12121         depthHook(getDepth()-1).
12122
12123         * paragraph.h:
12124         * ParagraphParameters.h:
12125         * ParameterStruct.h: change type of depth to unsigned int ==
12126         depth_type. Many adaptations to other files before of that.
12127
12128 2001-06-24  The LyX Project  <Asger>
12129
12130         * Fix Qt compilation.
12131
12132 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12133
12134         * paragraph.h: renamed several methods to begin with small letter.
12135         several changes to many parts of the code because of this.
12136
12137 2001-06-23  The LyX Project  <jug@sad.it>
12138
12139         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12140         rewritten to discard all double spaces when KeepEmpty is off
12141         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12142         to only handle newlines but not fiddle with spaces and friends.
12143
12144         * lyxfunc.C (MenuNew): when doing 'new from template', use
12145         template_path as default directory
12146
12147 2001-06-23  The LyX Project  <Asger>
12148
12149         * Clean-up of header file includes all over
12150         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12151
12152 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12153
12154         * paragraph.h: renamed from lyxparagraph.h
12155
12156 2001-06-23  Asger  <lyx@violet.home.sad.it>
12157
12158         * Buffer.h: Removed Buffer::resize
12159         * BufferList.h: Removed BufferList::resize
12160         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12161         the document lazily when we change the width, or the font settings.
12162
12163 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12164
12165         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12166
12167 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12168
12169         * buffer.h: remove out of date comment
12170
12171 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12172
12173         * lyxscreen.h:
12174         * screen.C: fix "theoretical" GC leak
12175
12176 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12177
12178         * LaTeX.C (scanAuxFile):
12179         (deplog): remove trailing \r when reading stream (useful under
12180         win32)
12181
12182 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12183
12184         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12185         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12186         and BufferView::theLockingInset(Inset*), so should use them and not
12187         access bv_->text->the_locking_inset directly.
12188
12189         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12190
12191 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12192
12193         * Makefile.am:
12194         * tex-defs.h: remove old unused file
12195
12196 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12197
12198         * BufferView_pimpl.C: fix typo, remove minibuffer message
12199           when buffer has loaded
12200
12201 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12202
12203         * lyxfunc.C (Dispatch): use stringstream
12204         (MenuNew): use stringstream
12205         (Open): use stringstream
12206
12207         * importer.C (Import): use stringstream
12208
12209         * bufferview_funcs.C (CurrentState): use stringstream
12210
12211         * LaTeX.C (run): use stringstream
12212
12213         * BufferView_pimpl.C (savePosition): use stringstream
12214         (restorePosition): use stringstream
12215         (MenuInsertLyXFile): use stringstream
12216
12217 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12218
12219         * BufferView.C:
12220         * Bullet.C:
12221         * ColorHandler.C:
12222         * FontInfo.C:
12223         * FontLoader.C:
12224         * LColor.C:
12225         * LaTeXFeatures.C:
12226         * Painter.C:
12227         * gettext.C:
12228         * lyx_gui_misc.C:
12229         * lyxserver.C:
12230         * vspace.C: removed // -*- C++ -*- as first line.
12231
12232         * lyxfind.h:
12233         * version.h: added // -*- C++ -*- as first line.
12234
12235 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12236
12237         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12238
12239         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12240         of string
12241
12242 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12243
12244         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12245         of floats.
12246
12247 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12248
12249         * gettext.C: include LString.h even when --disable-nls is on.
12250
12251 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12252
12253         * converter.h (Get): changed argument type from int to
12254         FormatList::size_type to avoid unnecessary conversion.
12255
12256         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12257         before using it.
12258
12259 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12260
12261         * gettext.h: include LString.h even when --disable-nls is on.
12262
12263 2001-06-07  Juergen Vigna  <jug@sad.it>
12264
12265         * text.C (BreakAgain): subst spaces with tabs.
12266
12267         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12268         (resizeInsetsLyXText): set force on resizeLyXText.
12269
12270 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12271
12272         * gettext.h (gettext_init):
12273         (locale_init): use a real definition instead of a macro
12274
12275 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12276
12277         * Bufferview_pimpl.C:
12278         * LColor.h:
12279         * LColor.C: further lcolor tidies
12280
12281 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12282
12283         * BufferView_pimpl.C (updateScrollbar): simplify.
12284
12285         * BufferView2.C: don't include insets/insetinfo.h, change
12286         prototype for insertInset and call the Pimpl version. let
12287         updateInset call Pimpl version.
12288
12289         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12290         gotoInset to BufferView::Pimpl
12291
12292 2001-06-01  Juergen Vigna  <jug@sad.it>
12293
12294         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12295         inside a LockingInset (is the update needed at all?).
12296
12297 2001-05-31  Juergen Vigna  <jug@sad.it>
12298
12299         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12300         here not the old one otherwise how should we compare it afterwards
12301         if it's the same!
12302
12303 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12304
12305         * lyxfont.C:
12306         * tabular.C:
12307         * tabular-old.C:
12308         * FontInfo.C: bring C functions into global namespace when
12309         necessary
12310
12311 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12312
12313         * LString.h: make sure config.h has been loaded before LString.h.
12314
12315         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12316         (one for each char read by EatLine!).
12317
12318         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12319         variables.
12320
12321 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12322
12323         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12324         to the same as the par we break from
12325
12326 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12327
12328         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12329
12330         * MenuBackend.C (expand): also create menu entries for wide
12331         versions of the floats.
12332
12333         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12334
12335         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12336
12337         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12338         frontends/Makefile.am
12339
12340         * text2.C: adjust
12341         * text.C: adjust
12342
12343
12344         * tabular.C (getTokenValue): add std::
12345
12346         * tabular-old.C (getTokenValue): add std::
12347         (getTokenValue): ditto
12348         (getTokenValue): ditto
12349
12350         * screen.C (ToggleSelection): adjust
12351
12352         * lyxtext.h: put selection cursors inside a Selection struct.
12353
12354         * lyxfunc.C (moveCursorUpdate): adjust
12355
12356         * lyxfont.C (latexWriteStartChanges): add std::
12357
12358         * lyxfind.C: adjust
12359
12360         * font.h: delete with(char const *, LyXFont const &)
12361
12362         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12363
12364         * FontInfo.C (getFontname): add std::
12365
12366         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12367         (workAreaButtonPress): adjust
12368         (tripleClick): adjust
12369         (update): adjust
12370         (moveCursorUpdate): adjust
12371         (Dispatch): adjust
12372
12373         * BufferView2.C (gotoInset): adjust
12374
12375 2001-05-30  Juergen Vigna  <jug@sad.it>
12376
12377         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12378         to check pspell I add this as default as I now have new pspell
12379         libraries and they seem to use this.
12380
12381 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12382
12383         * text2.C (CutSelection): make the cursor valid before the call to
12384         ClearSelection.
12385
12386 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12387
12388         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12389         relied on 0 terminated strings and other horrors. Bug found due to
12390         the new assert in lyxstring!
12391
12392         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12393         KP_ keys.
12394
12395 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12396
12397         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12398         to latinkeys.bind.
12399
12400         * lyxfunc.C (processKeySym): change method of getting to the
12401         self-insert char.
12402
12403         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12404         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12405         * BufferView_pimpl.[Ch]: here as private methods.
12406
12407 2001-05-28  Juergen Vigna  <jug@sad.it>
12408
12409         * text.C (SetHeightOfRow): added the update() call again as it is
12410         needed to initialize inset dimensions!
12411
12412 2001-05-16  Juergen Vigna  <jug@sad.it>
12413
12414         * text2.C (SetCharFont): Add new function with BufferView * and
12415         bool toggleall parameters for setting insets internal fonts.
12416         (SetFont): Freeze the undo as we may change fonts in Insets and
12417         all this change should be inside only one Undo!
12418
12419         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12420         setting font's in insets as for them we have the SetFont function!
12421
12422 2001-05-15  Juergen Vigna  <jug@sad.it>
12423
12424         * text2.C (ClearSelection): to be sure we REALLY don't have any
12425         selection anymore!
12426
12427         * tabular.C (TeXCellPreamble): fixed the left border problem for
12428         multicolumn cells.
12429
12430 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12431
12432         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12433         dependancy file
12434
12435 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12436
12437         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12438         LFUN_BREAKPARAGRAPH.
12439
12440         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12441         help test to "internal only", similar for LFUN_INSERT_URL
12442
12443         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12444         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12445         auto_region_delete and deadkeys.
12446
12447 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12448
12449         * LColor.h:
12450         * LColor.C: remove some dead entries, tidy a little
12451
12452 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12453
12454         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12455         commented code.
12456         (Dispatch): implement LFUN_ESCAPE
12457
12458         * commandtags.h: add LFUN_ESCAPE
12459
12460         * LyXAction.C (init): add entry for LFUN_ESCAPE
12461
12462         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12463         Remove commented code.
12464         (insertNote): moved here
12465         (open_new_inset): moved here
12466
12467         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12468         BufferView_pimpl
12469
12470 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12471
12472         * kbmap.C (findbinding): clean it up and make it work correctly.
12473
12474         * lyx_main.C (init): do not pass argc and argv as parameters
12475
12476 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12477
12478         * buffer.C: fix path for OS/2 & Win32
12479
12480         * lyx_gui.C:
12481         * lyx_main:
12482         * lyx_main.C: Added os:: class.
12483
12484         * os2_defines.h: update
12485
12486 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12487
12488         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12489         better by trying again with reduced state.
12490
12491 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12492
12493         * lyxrc.C (read): print error about invalid key sequence only when
12494         debugging (because not all latinX keysyms are known to some X
12495         servers)
12496
12497         * kbsequence.C (getiso): add a few std:: qualifiers
12498         (getiso): comment out extra return statement.
12499
12500 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12501
12502         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12503         handling.
12504         (Dispatch): enhance the accent inset a bit. (not perfect)
12505
12506 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12507
12508         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12509
12510 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12511
12512         * bufferlist.C (emergencyWrite): fix assert() call
12513
12514 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12515
12516         * text.C (InsertChar): Added trivial patch to only send the "you
12517         can not do multiple spaces this way" message once during a
12518         session.
12519
12520 2001-05-08  Baruch Even  <baruch@lyx.org>
12521
12522         * Makefile.am: Changed order of libraries to get LyX to link properly
12523         with the gnome frontend.
12524
12525 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12526
12527         * LaTeXFeatures.h: add a std:: qualifier
12528
12529 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12530
12531         * paragraph.C (String): use stringstream
12532
12533 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12534
12535         * paragraph.C (writeFile): remove footflag arg
12536
12537         * buffer.C (makeLaTeXFile): use stringstream
12538         (latexParagraphs): remove footnot gurba
12539
12540         * LaTeXFeatures.C (getPackages): use stringstream
12541         (getMacros): likewise
12542         (getTClassPreamble): likewise
12543         (getFloatDefinitions): new method
12544
12545         * paragraph.C (writeFile): reindent
12546         (Erase): reindent
12547
12548         * WorkArea.h: revert the xpos + etc changes.
12549
12550         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12551
12552         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12553
12554         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12555         (pasteSelection): likewise
12556         * text2.C (CreateUndo): likewise
12557
12558 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12559
12560         * minibuffer.C (peek_event): temporarily reduce the functionality
12561         of the minibuffer (to allow args on lfuns)
12562
12563         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12564         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12565
12566         * buffer.C (readInset): add compability reading of old float
12567         lists, add reading of new style float list.
12568         (readInset): avoid reevaluation of inscmd.getCmdName()
12569         (getLists): reindent
12570
12571         * MenuBackend.C (MenuItem): implement parsing of
12572         md_floatlistinsert and md_floatinsert.
12573         (expand::LastFiles): move initalizaton of iterators out of loop,
12574         avoid reevaluation.
12575         (expand::Documents): introduce typdedef vector<string> Strings,
12576         and use it.
12577         (expand::ExportFormats): introduce typedef vector<Format const *>
12578         Formats, and use it.
12579         (expand): implement FloatListInsert and FloatInsert.
12580
12581         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12582         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12583         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12584
12585         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12586         handling.
12587         (Dispatch::LFUN_FLOAT_LIST): implement
12588
12589 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12590
12591         * LaTeX.C (run): Fix problem with --export code.
12592
12593 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12594
12595         * BufferView.[Ch] (workarea): removed.
12596         (getClipboard) new method; wrapper for workarea()->getClipboard()
12597
12598         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12599         bug.
12600
12601         * WorkArea.h (width, height, xpos, ypos): These methods all
12602         returned the dimensions of the work_area sub-area of WorkArea,
12603         resulting in a position error if the WorkArea were resized. Now
12604         return the dimensions of the entire WorkArea.
12605
12606         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12607
12608 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12609
12610         * LaTeX.C (deplog): correct the syntax of regex reg1
12611
12612 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12613
12614         * undo.C: remove !NEW_INSETS cruft
12615
12616 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12617
12618         * text2.C: remove !NEW_INSETS cruft
12619
12620         * text.C: remove !NEW_INSETS cruft
12621
12622         * tabular.C: remove !NEW_INSETS cruft
12623
12624         * spellchecker.C: remove !NEW_INSETS cruft
12625
12626         * lyxtext.h: remove !NEW_INSETS cruft
12627
12628         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12629
12630         * lyxfunc.C: remove !NEW_INSETS cruft
12631
12632         * lyxfind.C: remove !NEW_INSETS cruft
12633
12634         * lyx_cb.C: remove !NEW_INSETS cruft
12635
12636         * figureForm.C: remove  !NEW_INSETS cruft
12637
12638         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12639
12640         * buffer.[Ch]: remove !NEW_INSETS cruft
12641
12642         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12643
12644         * CutAndPaste.C: remove !NEW_INSETS cruft
12645
12646         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12647
12648         * BufferView2.C: remove !NEW_INSETS cruft
12649
12650         * BufferView.h: remove !NEW_INSETS cruft
12651
12652 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12653
12654         * Lsstream.h: include LString.h before the sstream headers to
12655         fix problem with gcc 2.95.3 and lyxstring
12656
12657 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12658
12659         * lyx_main.C: add using directives when needed for C functions
12660         declared in std:: namespace.
12661
12662 2001-04-27  Juergen Vigna  <jug@sad.it>
12663
12664         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12665         (SetHeightOfRow): comment out the update call should not be needed!
12666
12667 2001-04-13  Juergen Vigna  <jug@sad.it>
12668
12669         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12670         (LyXTabular): tried to minimize operator= operations (and realized
12671         hopfully Lars wish).
12672
12673 2001-04-27  Juergen Vigna  <jug@sad.it>
12674
12675         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12676
12677 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12678
12679         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12680
12681         * buffer.C (readInset): hack to make listof algorithm work
12682
12683         * BufferView_pimpl.C: hack to make listof algorithm work
12684
12685 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12686
12687         * LyXAction.C: removed all !NEW_INSETS cruft
12688         (init): moved lfun_item in method
12689
12690         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12691
12692 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12693
12694         * BufferView2.C (theLockingInset): white space.
12695
12696 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12697
12698         * minibuffer.C: include <iostream>
12699
12700         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12701
12702         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12703
12704         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12705
12706         * text.[Ch] (TransposeChars): new method
12707
12708 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12709
12710         * call message directly through LyXView instead of through LyXFunc
12711         * BufferView2.C: adjust
12712         * BufferView_pimpl.C: adjust
12713         * FontLoader.C: adjust
12714         * buffer.C: adjust
12715         * bufferview_funcs.C: adjust
12716         * converter.C: adjust
12717         * figureForm.C: adjust
12718         * importer.C: adjust
12719         * lyx_cb.C: adjust
12720         * lyx_gui_misc.C: adjust
12721         * lyxfunc.C: adjust
12722         * lyxvc.C: adjust
12723         * text2.C: adjust
12724         + more files in subdirs
12725
12726         * lyxparagraph.h (size): move up int file
12727         (GetLayout): ditto
12728
12729         * adjust all uses of Assert to lyx::Assert.
12730
12731         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12732         lyxfunctional in namespace lyx
12733         * layout.C (hasLayout): ditto
12734         (GetLayout): ditto
12735         (GetLayout): ditto
12736         (delete_layout): ditto
12737         (NumberOfClass): ditto
12738         * converter.C (GetFormat): ditto
12739         (GetNumber): ditto
12740         (Add): ditto
12741         (Delete): ditto
12742         (SetViewer): ditto
12743         * bufferlist.C (getFileNames): ditto
12744         (emergencyWriteAll): ditto
12745         (exists): ditto
12746         (getBuffer): ditto
12747         * MenuBackend.C (hasSubmenu): ditto
12748         (hasMenu): ditto
12749         (getMenu): ditto
12750         * BufferView_pimpl.C (getInsetByCode): ditto
12751
12752 2001-04-18  Juergen Vigna  <jug@sad.it>
12753
12754         * vspace.C (asLatexString): fixed the 100% problem.
12755
12756 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12757
12758         * lyxfunc.C (Dispatch):
12759         * minibuffer.C:
12760         * minibuffer.h: add a few std:: qualifiers
12761
12762 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12763
12764         * minibuffer.[Ch]: reimplement so that commands is initiated and
12765         run from lyxfunc, simplified som handling, and made the completion
12766         and history code for complete. wip.
12767
12768         * lyxfunc.C (processKeySym): call message
12769         (miniDispatch): new temporary method
12770         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12771         (LFUN_MESSAGE): implement
12772         (LFUN_MESSAGE_PUSH): implement
12773         (LFUN_MESSAGE_POP): implement
12774         (initMiniBuffer): the initial/defualt minibuffer message.
12775
12776         * lyxfont.[Ch]: inline some more getters
12777
12778         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12779
12780         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12781
12782         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12783         (AutoSave): use LFUN_MESSAGE
12784         (Reconfigure): ditto
12785
12786         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12787
12788         * figureForm.C: use LFUN_MESSAGE
12789
12790         * converter.C (runLaTeX): use LFUN_MESSAGE
12791
12792         * bufferview_funcs.C: use LFUN_MESSAGE
12793         (Melt): ditto
12794         (changeDepth): ditto
12795
12796         * bufferparams.h: use boost::
12797
12798         * bufferlist.h: inherit privately from noncopyable
12799
12800         * bufferlist.C (loadLyXFile): remove some commented code.
12801
12802         * buffer.C (runChktex): use LFUN_MESSAGE
12803
12804         * ShareContainer.h: inherit privately from noncopyable
12805
12806         * ParagraphParameters.[hC] (depth): inline it.
12807
12808         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12809         methods.
12810         (message): new method
12811         (messagePush): ditto
12812         (messagePop): ditto
12813         (show): init minibuffer
12814         (showState): direct call
12815
12816         * LaTeX.[Ch]: inherit privately from noncopyable
12817         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12818         instead of WriteStatus.
12819
12820         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12821
12822         * BufferView_pimpl.C (buffer): don't init minibuffer
12823         (workAreaButtonPress): use LFUN_MESSAGE
12824         (workAreaButtonRelease): ditto
12825         (savePosition): ditto
12826         (restorePosition): ditto
12827         (MenuInsertLyXFile): ditto
12828         (workAreaExpose): don't init minibuffer
12829         (update): remove commented code, simplify
12830
12831         * BufferView2.C (openStuff): use LFUN_MESSAGE
12832         (toggleFloat): ditto
12833         (menuUndo): ditto
12834         (menuRedo): ditto
12835         (copyEnvironment): ditto
12836         (pasteEnvironment): ditto
12837         (copy): ditto
12838         (cut): ditto
12839         (paste): ditto
12840         (gotoInset): ditto
12841         (updateInset): remove some commented code
12842
12843         * lastfiles.h: inherit privately from noncopyable
12844         * layout.h: ditto
12845         * lyx_gui.h: ditto
12846         * lyx_main.h: ditto
12847         * lyxlex.h: ditto
12848         * lyxlex_pimpl.h: ditto
12849
12850         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12851         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12852         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12853
12854         * LyXAction.h: inherit privately from noncopyable, add methods
12855         func_begin, func_end, returning iterators to the func map.
12856
12857         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12858         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12859         (func_begin): new method
12860         (func_end): new method
12861
12862         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12863         and not)
12864         (copySelection): ditto
12865         (pasteSelection): ditto
12866
12867         * BufferView.C: whitespace change
12868         * BufferView.h: inherit privately from noncopyable
12869
12870 2001-04-16  Allan Rae  <rae@lyx.org>
12871
12872         * tabular-old.C (l_getline):
12873         * spellchecker.C (sc_check_word):
12874         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12875         an unrecognised preprocessor directive.  So ensure they're wrapped.
12876
12877 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12878
12879         * src/exporter.C (Export): Give an error message when path to file
12880         contains spaces.
12881
12882 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12883
12884         * LaTeX.C (deplog): Always check that foundfile exists.
12885
12886 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12887
12888         * lyx_main.h:
12889         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12890
12891 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12892
12893         * tabular.[Ch] (getLabelList): implement new method
12894
12895         * minibuffer.h: comment ouf setTiimer
12896
12897         * minibuffer.C (ExecutingCB): constify res
12898         (peek_event): constify s
12899         (Set): constify ntext
12900         (Init): constify nicename
12901
12902         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12903
12904         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12905         (savePosition): use two params to Minibuffer::Set
12906         (restorePosition): ditto
12907
12908 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12909
12910         * lyx_main.C: include language.h
12911
12912         * Makefile.am (lyx_main.o): add language.h
12913
12914 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12915
12916         * exporter.C:
12917         * paragraph.C:
12918         * screen.C:
12919         * tabular.C:
12920         * CutAndPaste.C: include gettext.h
12921
12922         * lyxfont.h: remove old hack with ON and OFF.
12923
12924         * lyxparagraph.h:
12925         * lyxfont.h: do not include language.h...
12926
12927         * BufferView2.C:
12928         * LaTeXFeatures.C:
12929         * Painter.C:
12930         * bufferview_funcs.C:
12931         * font.C:
12932         * lyxfont.C:
12933         * text.C:
12934         * text2.C:
12935         * trans_mgr.C:
12936         * paragraph.C: ... but do it here instead
12937
12938 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12939
12940         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12941
12942         * tabular.C: small reformat
12943
12944         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12945         NEW_INSETS version
12946         (GetChar): ditto
12947         (BreakParagraph): ditto
12948         (SetOnlyLayout): ditto
12949         (SetLayout): ditto
12950
12951         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12952         with one arg less.
12953
12954         * lastfiles.C: removed most using decl, add std:: where needed
12955
12956         * buffer.C: ws changes
12957
12958         * MenuBackend.C (class compare_format): put into anon namespace
12959         (expand): constify label, names, action, action2
12960         (expand):
12961
12962         * text.C (SingleWidth): constify font
12963         (IsBoundary): constify rtl2
12964         (GetVisibleRow): constify ww
12965
12966         * LaTeX.C (deplog): constify logfile
12967
12968         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12969         start_x, end_x
12970         (workAreaExpose): constify widthChange, heightChange
12971
12972         * lyxrow.C (par): moved
12973         (height): moved
12974         (next): moved
12975         * lyxrow.h: as inlines here
12976
12977         * lyxfont.h (shape): moved from lyxfont.C
12978         (emph): moved from lyxfont.C
12979
12980         * lyxfont.C (LyXFont): use initialization list for all
12981         constructors
12982         (shape): move to lyxfont.h as inline
12983         (emph): move to lyxfont.h as inline
12984
12985
12986 2001-04-04  Juergen Vigna  <jug@sad.it>
12987
12988         * vspace.C: had to include stdio.h for use of sscanf
12989
12990 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12991
12992         * BufferView.h:
12993         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12994         independent of xforms.
12995
12996 2001-04-02  Juergen Vigna  <jug@sad.it>
12997
12998         * spellchecker.C: fixed namespace placing!
12999
13000 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13001
13002         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13003         the LyXParagraph * is 0.
13004
13005 2001-03-29  Juergen Vigna  <jug@sad.it>
13006
13007         * vspace.C: added support for %, c%, p%, l%.
13008         (stringFromUnit): added helper function.
13009         (asLatexString): changed to give right results for the %-values.
13010
13011         * buffer.C: convert the widthp in a width%.
13012
13013 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13014
13015         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13016         figureForm.[Ch].
13017
13018         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13019         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13020
13021         * lyx_cb.[Ch]: see above.
13022
13023         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13024         form1.[Ch].
13025
13026         * form1.[Ch]:
13027         * lyx.[Ch]: replaced by figure_form.[Ch].
13028
13029         * lyx_gui.C:
13030         * lyx_gui_misc.C:
13031         * lyxfunc.C: changed headers associated with above changes.
13032
13033 2001-03-27  Juergen Vigna  <jug@sad.it>
13034
13035         * BufferView_pimpl.C: set the temporary cursor right!
13036
13037 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13038
13039         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13040
13041 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13042
13043         * LString.h: removed "using std::getline"!
13044
13045         * BufferView_pimpl.C (Dispatch): changes due to changes in
13046         InsetInclude::Params.
13047
13048         * buffer.C (tag_name): removed redundant break statements as they were
13049         producing lots of warnings with my compiler.
13050
13051 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13052
13053         * LString.h: add "using std::getline" when using the real <string>.
13054
13055 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13056
13057         * buffer.C: removed bitset usage.
13058         PAR_TAG moved to an anonymous name space.
13059         (tag_name): new funtion, also in the anonymous namespace.
13060         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13061         (makeDocBookFile): clean code. Completed transition from string arrays
13062         to string vectors.
13063         (SimpleDocBookOnePar): code clean.
13064
13065 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13066
13067         * tabular.C: add some comments.
13068
13069 2001-03-22  Juergen Vigna  <jug@sad.it>
13070
13071         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13072         compatibility read a bit and fixed bug with minipage in different
13073         depth.
13074
13075 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13076
13077         * buffer.C (pop_tag): removed.
13078         (push_tag): removed.
13079         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13080         array replaced with vector. Added support for CDATA sections.
13081         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13082         at any nest level.
13083         (makeDocBookFile): XML conformant declaration of CDATA section,
13084         fixed bug related to <emphasis> in the first paragraph char.
13085         (sgmlOpenTag): exclude empty tags.
13086         (sgmlCloseTag): ditto.
13087
13088         * buffer.h (pop_tag): removed.
13089         (push_tag): removed.
13090
13091 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13092
13093         * language.h (Languages): added size_type and size().
13094
13095 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13096
13097         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13098         response on compability reading of minipages. One probliem is that
13099         the old usage of minipages was «flertydig»
13100
13101         * several files here and in subdirs: don't use static at file
13102         scope use anon namespaces instead.
13103
13104 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13105
13106         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13107         LaTeX output. This is necessary for Literate document
13108         processing.
13109
13110 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13111
13112         * buffer.C: insert hfill when needed.
13113
13114         * tabular.C (l_getline): use string::erase, small whitespace change.
13115
13116         * BufferView_pimpl.C: try the anon namespace.
13117         * WorkArea.C: ditto
13118
13119 2001-03-16  Juergen Vigna  <jug@sad.it>
13120
13121         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13122         otherwise it won't open options-dialogs.
13123
13124         * buffer.C: honor pextraWidth(p) on converting minipages.
13125
13126         * tabular.C (l_getline): changed the functions to strip trailing \r.
13127
13128 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13129
13130         * BufferView_pimpl.C:
13131         * minibuffer..C: added "using SigC::slot" declaration.
13132
13133 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13134
13135         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13136
13137         * text2.C: ditto
13138
13139         * text.C: ditto
13140
13141         * paragraph.C: ditto
13142
13143         * lyxtext.h: NO_PEXTRA
13144
13145         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13146
13147         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13148         * ParameterStruct.h: ditto
13149         * ParagraphParameters.h: ditto
13150         * lyxparagraph.h: ditto
13151
13152 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13153
13154         * buffer.C: add compability for minipage alignment.
13155         (latexParagraphs): remove unwanted pextra check.
13156
13157         * several files: remove CXX_WORKING_NAMESPACES
13158
13159         * buffer.C (pop_tag): tie is in namespace boost
13160
13161         * BufferView.h: noncopyable is in namespace boost
13162         * lyxlex.h: ditto
13163         * lyx_main.h: ditto
13164         * lyx_gui.h: ditto
13165         * layout.h: ditto
13166         * lastfiles.h: ditto
13167         * bufferlist.h: ditto
13168         * ShareContainer.h: ditto
13169         * LyXView.h: ditto
13170         * LyXAction.h: ditto
13171         * LaTeX.h: ditto
13172
13173 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13174
13175         * Merging changes from BRANCH_MVC back into HEAD.
13176
13177         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13178
13179 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13180
13181         * BufferView_pimpl.C: change from intl.C
13182
13183         * combox.h:
13184         * combox.C:
13185         * Makefile.am: move combox.*
13186
13187         * form1.h:
13188         * form1.C:
13189         * lyx_gui.C:
13190         * intl.h:
13191         * intl.C: remove dialog (covered by prefs)
13192
13193 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13194
13195         * lyxfunc.C (Dispatch): removed redundant break statement.
13196
13197 2001-03-14  Juergen Vigna  <jug@sad.it>
13198
13199         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13200
13201 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13202
13203         * buffer.C: add hack to fix compability reading of minipages.
13204
13205 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13206
13207         * buffer.C (getLists): Cleanup.
13208
13209 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13210
13211         * lyxfont.C (update): don't honor toggleall on font size.
13212
13213 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13214
13215         * bmtable.c:
13216         * bmtable.h:
13217         * Makefile.am: moved to frontends/xforms/
13218
13219         * lyx_gui_misc.C:
13220         * lyxfunc.C:
13221         * BufferView_pimpl.C: changes for moved mathpanel
13222
13223 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13224
13225         * gettext.h: fix gettext_init() in --disable-nls
13226
13227 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13228
13229         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13230
13231 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13232
13233         * lyx.C:
13234         * lyx.h: strip external form
13235
13236 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13237
13238         * BufferView_pimpl.C: add comment, destroySplash()
13239
13240 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13241
13242         * BufferView_pimpl.C:
13243         * LyXAction.C:
13244         * buffer.C:
13245         * commandtags.h:
13246         * lyxfunc.C: use re-worked insetinclude
13247
13248 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13249
13250         * buffer.C: add using std::stringstream.
13251
13252         * lyx_cb.C: readd using std::ios.
13253
13254         * buffer.C: add using std::map.
13255
13256         * BufferView_pimpl.C: add using std::vector.
13257
13258         * ShareContainer.h: add std:: to swap.
13259
13260         * buffer.h: add some typedefs
13261         * buffer.C (getLists): use them
13262         (getLists): renamed from getTocList.
13263         add a counter for the different float types and use it in the
13264         generated string.
13265         (getLists): use the same counter for the NEW_INSETS and the "non"
13266         NEW_INSETS
13267
13268         * lyx_cb.h: remove unused items, includes, using etc.
13269
13270         * ShareContainer.h: remove some commented code, add more comments
13271         and "documentation".
13272
13273 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13274
13275         * buffer.C (getTocList): make the list also when NEW_INSETS is
13276         defined.
13277
13278         * buffer.h: remove TocType
13279
13280         * buffer.C (getTocList): change to return a map<string,
13281         vector<TocItem> >, implement for dynamic number of list.
13282
13283         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13284         * text2.C (PasteSelection): adjust
13285         * CutAndPaste.C (pasteSelection): adjust
13286
13287         * FloatList.C (FloatList): update from the new_insets branch.
13288         * Floating.[Ch]: ditto
13289         * LaTeXFeatures.C: ditto
13290         * buffer.C: ditto
13291         * lyxlex_pimpl.C: ditto
13292
13293         * paragraph.C (Last): remove when NEW_INSETS is defined.
13294
13295         * other file: changes because of the above.
13296
13297 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13298
13299         * lyxparagraph.h: rename next to next_, previous to previous_,
13300         make them private for NEW_INSETS. Rename Next() to next(),
13301         Previous() to previous().
13302
13303         * other files: changes because of the above.
13304
13305 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13306
13307         * BufferView.h:
13308         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13309         problem.
13310
13311 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13312
13313         * main.C (main): pass lyx_localedir to gettext_init().
13314
13315         * gettext.h: remove locale_init and gettext_init macros
13316
13317         * gettext.C (locale_init): new function
13318         (gettext_init): new function
13319
13320         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13321         setlocale().
13322
13323 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13324
13325         * Moved credits to frontends:
13326         * credits.[Ch]: removed
13327         * credits_form.[Ch]: removed
13328         * lyx_gui_misc.C: remove credits stuff
13329         * Makefile.am:
13330
13331 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13332
13333         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13334
13335         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13336         unneeded destructor.
13337
13338         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13339         a standalone pointer again.
13340
13341         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13342
13343 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13344
13345         * Makefile.am:
13346         * filedlg.h:
13347         * filedlg.C:
13348         * LyXAction.C:
13349         * ToolbarDefaults.C:
13350         * bufferlist.C:
13351         * commandtags.h:
13352         * form1.C:
13353         * form1.h:
13354         * lyx_cb.C:
13355         * lyx_cb.h:
13356         * lyxfunc.h:
13357         * lyxfunc.C:
13358         * BufferView_pimpl.C: use new file dialog in GUII
13359
13360         * lyx_cb.h:
13361         * lyx_cb.C: remove LayoutsCB to Toolbar
13362
13363 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13364
13365         * ShareContainer.h (get): add std:: qualifier
13366
13367 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13368
13369         * ShareContainer.h: define a proper ShareContainer::value_type
13370         type (and use typename to please compaq cxx)
13371
13372 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13373
13374         * lyxparagraph.h: move serveral local vars to
13375         ParameterStruct/ParagraphParameters., use ShareContainer in
13376         FontTable., make vars in FontTable private and add getter and
13377         setter.
13378
13379         * paragraph.C: changes because of the above.
13380
13381         * lyxfont.h: remove copy constructor and copy assignment. (the
13382         default ones is ok), move number inside FontBits. move inlines to
13383         lyxfont.C
13384
13385         * lyxfont.C: add number to initializaton of statics, move several
13386         inlines here. constify several local vars. some whitespace
13387         cleanup. Dont hide outerscope variables.
13388
13389         * Spacing.h: add two new constructors to match the set methods.
13390
13391         * ShareContainer.h: new file, will perhaps be moved to support
13392
13393         * ParameterStruct.h: new file
13394
13395         * ParagraphParameters.h: new file
13396
13397         * ParagraphParameters.C: new file
13398
13399         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13400         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13401
13402         * BufferView_pimpl.C: ParagraphParameter changes.
13403         * buffer.C: Likewise.
13404         * bufferview_funcs.C: Likewise.
13405         * text.C: Likewise.
13406         * text2.C: Likewise.
13407
13408 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13409
13410         * lyxfind.C (LyXReplace): do not redefine default argument in
13411         implementation.
13412         (IsStringInText): ditto
13413         (SearchForward): ditto
13414         (SearchBackward): ditto
13415
13416 2001-03-06  Juergen Vigna  <jug@sad.it>
13417
13418         * lyxfind.C (IsStringInText): put parentes around expressions.
13419
13420 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13421
13422         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13423
13424 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13425
13426         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13427
13428         * stl_string_fwd.h: add comment
13429
13430         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13431
13432         * tabular.h:
13433         * tabular.C: remove unused DocBook methods
13434
13435         * intl.C:
13436         * language.C:
13437         * paragraph.C:
13438         * buffer.C:
13439         killed DO_USE_DEFAULT_LANGUAGE
13440
13441 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13442
13443         * lyx_gui.C: do not include language.h.
13444
13445         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13446         arguments in function implementation.
13447
13448 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13449
13450         * BufferView_pimpl.C: add <ctime>
13451
13452 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13453
13454         * BufferView_pimpl.C: add using std::find_if
13455
13456 2001-02-27  José Matos  <jamatos@fep.up.pt>
13457
13458         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13459         by OnlyPath.
13460
13461 2001-02-11  José Matos  <jamatos@fep.up.pt>
13462
13463         * buffer.C (makeDocBookFile): command styles now have a parameter as
13464         "title" by default.
13465
13466 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13467
13468         * layout_forms.[Ch]: removed
13469         * lyx_cb.[Ch]: out character
13470         * lyx_gui.C: out character
13471         * lyx_gui_misc.C: out character
13472         * bufferview_funcs.C: : out character,
13473         added toggleall as parameter in ToggleAndShow
13474
13475 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13476
13477         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13478
13479         * text2.C (SetCurrentFont): Disable number property at boundary.
13480
13481 2001-02-26  Juergen Vigna  <jug@sad.it>
13482
13483         * lyxfunc.C (getStatus): added a string argument override function so
13484         that this is correctly called from LyXFunc::Dispatch if it contains a
13485         do_not_use_argument which is used!
13486         (Dispatch): added check for "custom" export and call appropriate func.
13487
13488 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13489
13490         * lyxrc.C: Add language_command_local, language_use_babel and
13491         language_global_options.
13492
13493         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13494
13495         * buffer.C (makeLaTeXFile): Use language_use_babel and
13496         language_global_options.
13497
13498 2001-02-23  Juergen Vigna  <jug@sad.it>
13499
13500         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13501         which works with LyXText and putted it inside BufferView. Here now we
13502         only call for that part the BufferView::Dispatch() function.
13503
13504         * BufferView.C (Dispatch): added.
13505
13506         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13507         functions which needs to use a LyXText over from LyXFunc.
13508         (MenuInsertLyXFile): added
13509         (getInsetByCode): added
13510         (moveCursorUpdate): added
13511         (static TEXT): added
13512
13513 2001-02-22  Juergen Vigna  <jug@sad.it>
13514
13515         * BufferView_pimpl.C (update): call a status update to see if LyXText
13516         needs it.
13517
13518 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13519
13520         * vc-backend.C (revert): implement for CVS
13521         (getLog): implement for CVS
13522
13523 2001-02-20  Juergen Vigna  <jug@sad.it>
13524
13525         * text2.C (ClearSelection): added BufferView param for inset_owner call
13526
13527         * lyxfunc.C (TEXT): added this function and use it instead of
13528         directly owner->view()-text of getLyXText().
13529
13530 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13531
13532         * src/layout_forms.C: out preamble
13533         * src/layout_forms.h: out preamble
13534         * src/lyx_cb.C: out preamble
13535         * src/lyx_cb.h: out preamble
13536         * src/lyx_gui.C: out preamble
13537         * src/lyx_gui_misc.C: out preamble
13538         * src/lyxfunc.C: connect with guii preamble
13539
13540 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13541
13542         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13543
13544 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13545
13546         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13547         whether to run bibtex.
13548
13549 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13550
13551         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13552
13553 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13554
13555         * Makefile.am (lyx_SOURCES): removed bibforms.h
13556
13557         * vspace.h: doxygen
13558
13559         * text.C (GetVisibleRow): make several local vars const
13560
13561         * tabular.C: small cleanup.
13562
13563         * lyxserver.C (callback): use compare instead of strncmp
13564
13565         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13566         inlines to after class or to paragraph.C
13567
13568         * lyxfont.h: remove friend operator!=
13569
13570         * converter.h: move friend bool operator< to non friend and after
13571         class def.
13572
13573         * combox.h: small cleanup
13574
13575         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13576         to inlines after class def.
13577
13578         * buffer.C (pop_tag): use string operations instead of strcmp
13579
13580         * bmtable.c: doxygen, small cleanup
13581
13582         * LaTeX.h: remove friend operator==
13583
13584 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13585
13586         * screen.C:
13587         * lyxrc.[Ch]:
13588         * lyxfunc.C:
13589         * lyxfont.[Ch]:
13590         * lyx_cb.C:
13591         * intl.[Ch]:
13592         * commandtags.h:
13593         * buffer.C:
13594         * WorkArea.[Ch]:
13595         * LyXAction.C:
13596         * BufferView_pimpl.C:
13597         * BufferView.[Ch]: remove cruft
13598
13599 2001-02-14  Juergen Vigna  <jug@sad.it>
13600
13601         * lyxfunc.C: removed #if 0 unused code
13602
13603         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13604
13605         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13606
13607         * text2.C (SetSelection): added a BufferView * parameter
13608
13609 2001-02-13  Juergen Vigna  <jug@sad.it>
13610
13611         * lyxfunc.C (Dispatch): fixed protected blank problem.
13612         * BufferView2.C (protectedBlank): added LyxText * parameter.
13613
13614         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13615         (AppendColumn): same as above for column_info.
13616
13617         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13618         (moveCursorUpdate): use a LyXText param for support of InsetText.
13619
13620         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13621         (tripleClick): ditto
13622
13623         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13624
13625         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13626
13627         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13628
13629         * text2.C (SetSelection): set correct update status if inset_owner
13630         (ToggleFree): ditto
13631
13632 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13633
13634         * tabular.C: remove some commented code.
13635
13636 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13637
13638         * BufferView_pimpl.C: call hideSplash()
13639
13640         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13641
13642         * include_form.h:
13643         * bibforms.h: remove
13644
13645         * lyxfunc.C:
13646         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13647           add LFUN_CHILD_CREATE
13648
13649         * counters.h: fix tiny typo
13650
13651         * lyx_cb.C:
13652         * lyx.h:
13653         * lyx_gui.C:
13654         * lyx.C: move splash to frontends/xforms/
13655
13656         * lyx_gui_misc.C: move Include and Bibform to frontends
13657
13658         * lyxvc.h: clarify comment
13659
13660         * vspace.C: tiny housekeeping
13661
13662 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13663
13664         * text.C (PrepareToPrint): RTL Fix.
13665
13666         * paragraph.C (GetUChar): New method.
13667         (String):  Use GetUChar.
13668
13669         * buffer.C (asciiParagraph): Use GetUChar.
13670
13671 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13672
13673         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13674
13675 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13676
13677         * buffer.h:
13678         * buffer.C: rename to getLogName(), handle
13679           build log / latex log nicely
13680
13681 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13682
13683         * MenuBackend.C:
13684         * MenuBackend.h: remove support for reference menuitem type.
13685
13686 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13687
13688         * BufferView_pimpl.C: housekeeping
13689         * BufferView_pimpl.h:
13690         * LyXView.h:
13691         * Makefile.am:
13692         * Timeout.C:
13693         * Timeout.h:
13694         * minibuffer.h: move Timeout GUI-I
13695
13696 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13697
13698         * lyxrc.C (read): Update converters data-structures.
13699
13700 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13701
13702         * LaTeX.h (operator!=): add operator != for Aux_Info
13703
13704 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13705
13706         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13707
13708         * LaTeXLog.C: deleted, useful code moved to Buffer
13709
13710         * buffer.h:
13711         * buffer.C: new function getLatexLogName()
13712
13713         * lyx_gui_misc.C:
13714         * lyx_gui.C:
13715         * lyxvc.C:
13716         * lyxvc.h:
13717         * lyxfunc.C: use frontends for LaTeX and VC logs
13718
13719 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13720
13721         * LaTeX.h: yet another std:: that Allan forgot.
13722
13723         * Variables.C (set): renamed from isset(), because this clashes
13724         with some HP-UX macros (grr).
13725
13726 2001-02-06  Allan Rae  <rae@lyx.org>
13727
13728         * LaTeX.h: Another bug fix.  Missing std:: this time.
13729
13730 2001-02-04  Allan Rae  <rae@lyx.org>
13731
13732         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13733         floats problem. I've left it commented out because it's not quite
13734         correct.  It should also test that the current object is a table or
13735         figure inset.  But I haven't gotten around to figuring out how to do
13736         that.  I *think* it'll be something like: "table" == inset.type()
13737
13738         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13739         bool.
13740
13741 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13742
13743         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13744         all the citation/databases/styles in the auxilary file.
13745         (run): Rerun latex if there was a babel language error.
13746
13747 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13748
13749         * text.C (Backspace): Preserve the font when changing newline char
13750         with a space.
13751         (BreakParagraph): If the cursor is before a space, delete the space.
13752
13753         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13754
13755 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13756
13757         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13758         new argument (code).
13759         (ChangeCitationsIfUnique): New method.
13760
13761         * paragraph.C (GetPositionOfInset): Handle bibkey.
13762
13763 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13764
13765         * BufferView_pimpl.h: change type of Position::par_pos to
13766         LyXParagraph::size_type.
13767
13768 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13769
13770         * BufferView_pimpl.C (savePosition, restorePosition): Write
13771         messages to minibuffer.
13772
13773 2001-01-28  José Matos  <jamatos@fep.up.pt>
13774
13775         * buffer.C (makeDocBookFile): adds support for document language.
13776         A silly restriction on the name of LatexCommand types where removed.
13777         Added support for CDATA sections, allows to chars unescaped, used
13778         among others in code, to avoid escape < and >.
13779
13780 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13781
13782         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13783         saved positions instrad of a stack. Furthermore, a position is
13784         stored using paragraph id/paragraph position.
13785
13786         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13787         Remove LFUN_REF_BACK.
13788
13789 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13790
13791         * converter.C (dvipdfm_options): New method.
13792
13793 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13794
13795         * vspace.C (isValidLength): Fix for empty input string.
13796
13797 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13798
13799         * LyXAction.C (init): change description of LFUN_FIGURE to
13800         "Insert Graphics"
13801
13802 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13803
13804         * LaTeX.C: add using directive
13805
13806 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13807
13808         * MenuBackend.C (expand): Fix the sorting of the formats.
13809
13810 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13811
13812         * lyx_main.C: tiny error message fix
13813
13814 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13815
13816         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13817         calling fl_initialize(). This fixes the problem with ',' as
13818         decimal separator in text files.
13819
13820 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13821
13822         * trans.C (process): Fix the keymap bug.
13823
13824 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13825
13826         * LaTeX.C (scanAuxFiles): New method. Provides support for
13827         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13828         (scanLogFile) Scan for "run BibTeX" messages.
13829
13830         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13831         OT1 font encoding. Also, load the aecompl package if the ae
13832         package is loaded.
13833
13834         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13835
13836 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13837
13838         * texrow.C (increasePos): turn two error messages into debug
13839         messages.
13840
13841 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13842
13843         * LaTeX.C (scanAux): Handle the \@input macro.
13844         (runBibTeX): Use scanAux().
13845
13846         * language.C (latex_options_): New field.
13847
13848         * LaTeXFeatures.C (getMacros): Add language macros.
13849
13850         * buffer.C (makeLaTeXFile): Small fix.
13851
13852 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13853
13854         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13855
13856         * text2.C: add a using directive.
13857
13858 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13859
13860         * BufferView2.C:
13861         * lyx_gui_misc.h:
13862         * lyxfr1.C:
13863         * lyxfunc.C: kill LyXBell.
13864
13865 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13866
13867         * text.C (IsBoundary): Remove the error message
13868
13869         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13870
13871         * lyxrc.C (setDefaults): Correct initialization value for
13872         font_norm_type.
13873
13874 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13875
13876         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13877         gotoError().
13878
13879         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13880         and GotoNextNote().
13881
13882         * src/LyXAction.C: Added reference-next.
13883
13884         * text.C (InsertChar): Use contains instead of strchr.
13885
13886         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13887
13888 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13889
13890         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13891         alignment commands (when needed).
13892
13893         * text.C (InsertChar): Add ':' to number separator chars.