]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
6f61ab7116d12994489a60481ea123500f551883
[lyx.git] / src / ChangeLog
1 2003-12-02  Angus Leeming  <leeming@lyx.org>
2
3         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4         type. Add a comment in the implementation that the function uses
5         the stream's bad() function rather than fail() as the std::streams
6         would do.
7
8 2003-12-02  André Pönitz  <poenitz@gmx.net>
9
10         * lyxlex.[Ch]: make interface more similar to std::stream
11
12         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
13
14 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
15
16         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
17
18 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
19
20         * vspace.[Ch]: remove VSpace::NONE
21
22 2003-12-01  André Pönitz  <poenitz@gmx.net>
23
24         * buffer.[Ch]:
25         * lyxtext.h: move ParagraphList member to LyXText
26         rename LyXText::ownerParagraphs to LyXText::paragraph
27
28         * CutAndPaste.C:
29         * bufferview_funcs.C:
30         * iterators.[Ch]:
31         * lyx_cb.C:
32         * paragraph.C:
33         * rowpainter.C:
34         * tabular.C:
35         * text.C:
36         * text2.C:
37         * text3.C: adjust
38
39         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
40
41         * undo.C: fix cursor positioning 
42
43 2003-12-01  John Levon  <levon@movementarian.org>
44
45         * BufferView_pimpl.C: fix a crash on exit with
46         a buffer open
47
48 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
49
50         * BranchList.C: fix setSelected() method.
51
52 2003-11-28  André Pönitz  <poenitz@gmx.net>
53
54         * ParagraphParameters.[Ch]:
55         * ParameterStruct.h: remove space above/below from Paragraph to
56          InsetVSpace
57
58         * BufferView_pimpl.C:
59         * factory.C:
60         * lyxfunc.C:
61         * lyxtext.h:
62         * output_latex.C:
63         * paragraph.C:
64         * paragraph_funcs.C:
65         * rowpainter.[Ch]:
66         * text.C:
67         * text2.C:
68         * text3.C: adjust
69
70 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
71
72         * factory.C: Syntax change for CharStyles
73
74 2003-11-28  André Pönitz  <poenitz@gmx.net>
75
76         * BufferView.[Ch]:
77         * BufferView.[Ch]:
78         * buffer.[Ch]:
79         * buffer.[Ch]: move LyXText member
80
81 2003-11-28  André Pönitz  <poenitz@gmx.net>
82
83         * BufferView.[Ch]: make LyXText * text a private member
84
85         * BufferView_pimpl.C:
86         * cursor.C:
87         * iterators.C:
88         * lyx_cb.C:
89         * lyxfind.C:
90         * lyxtext.h:
91         * rowpainter.[Ch]:
92         * text.C:
93         * text2.C:
94         * undo.C: adjust
95
96         * output_plaintext.C: cleanup
97
98 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
99
100         * buffer.C: 
101         * lyxtextclass.[Ch]: parametrize SGML document header
102
103 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
104
105         * converter.[Ch]:
106         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
107         getFlavor().
108
109 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
110
111         * text2.C (setFont): rework using PosIterator (no more recursive)
112         (setCharFont): no more needed 
113         (setLayout): no more selection cursors fiddling (done by redoCursor)
114         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
115         destroy remaining ones)
116
117 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
118
119         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
120         * lyxtext.h: ditto
121         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
122         selection cursors
123         * lyxfunc.C: adjust
124         * text3.C: adjust + re-allow multi par depth changes
125         * textcursor.C: simplify a bit
126
127 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
128
129         * src/buffer.C:
130         * src/lyxlayout.C:
131         * src/lyxlayout.h:
132         * src/lyxtext.h:
133         * src/output_docbook.C:
134         * src/output_latex.C:
135         * src/paragraph.C:
136         * src/paragraph.h:
137         * src/sgml.C:
138         * src/sgml.h:
139         * src/text2.C: Introducing a number of tags parametrizing various
140         XML formats that we may want to support
141
142 2003-11-25  André Pönitz  <poenitz@gmx.net>
143
144         * InsetList.[Ch] (begein, end): inline as suggested by profiler
145
146         * lyxtext.h (leftMargin/rightMargin): simplify interface
147
148         * rowpainter.C:
149         * text.C:
150         * text2.C:
151         * text3.C: adjust
152
153 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
154
155         * lyxfunc.C (dispatch): propogate the bibtex databases from the
156         master file to any child files. Fixes bug 546.
157
158 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
159
160         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
161
162 2003-11-24  André Pönitz  <poenitz@gmx.net>
163
164         * rowpainter.C: simplification
165
166         * text2.C (updateCounters): remove call to redoParagraph on 
167         changed labels as this is far too expensive.
168
169 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
170
171         * converter.C (convert): fix a crash: this function gets
172         called with buffer == 0 from importer code.
173
174 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
175
176         * text3.C (cursorPrevious): make sure that we do not compare
177         iterators form different containers.
178         (cursorNext): ditto
179
180         * rowpainter.C (paintSelection): make sure that we do not compare
181         iterators from different containers.
182
183         * text3.C (dispatch): [PRIOR] make sure that we do not compare
184         iterators from different ParagraphList containers.
185         [NEXT] ditto
186
187         * text2.C (LyXText): change order of initialization slightly
188         (operator=): new function. copy all variables except cache_par_
189         (moveUp): make sure that we do not compare iterators from
190         different ParagraphList constainers.
191         (moveDown): ditto
192
193         * text.C (firstPar): new function
194         (lastPar): new function
195         (endPar): new function
196
197         * lyxtext.h: move things around and group public functions, public
198         variables, private functions, private variables
199
200 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
201
202         * factory.C: change call to InsetERT constructor to avoid
203         additional invocation of method status
204         * text2.C (toggleInset): remove redundant update() call
205         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
206         instead of a Bufferview pointer
207
208 2003-11-21  André Pönitz  <poenitz@gmx.net>
209
210         * rowpainter.C: simplification
211
212 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
213
214         * text3.C (dispatch): make possible to extend a word/row selection
215         with the mouse
216
217 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
218
219         * lyxtext.h: x0_,y0_ -> xo_,yo_
220         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
221         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
222         * rowpainter.C (paintRows): paint full paragraphs
223
224 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
225
226         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
227         screen coordinates)
228
229 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
230
231         * lyxtext.h: add x0_, y0_
232         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
233         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
234
235 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
236
237         * text2.C (setCursorIntern): move the x_target update here *
238         * text3.C: change some bv() to true/false in calls to
239         cursorUp/Down/Right/Left
240         * cursor.C: use helper function.
241
242 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
243
244         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
245         * paragraph_funcs.[Ch]: correct comment
246         * rowpainter.C: do not paint selections away from bv->cursor()
247         Fix a long standing selection painting bug.
248         * text3.C: generalize mouse-selection code to LyXTexts other that
249         top one
250         * textcursor.C: do not use y coords if we can use par offsets
251
252 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
253
254         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
255         cursor position after e.g. inset insert)
256
257 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
258
259         * lyxfind.C (replace): adjust to locking removal + some
260         code simplification
261
262 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
263
264         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
265         of the path
266
267 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
268
269         * lyxlayout.[Ch]:
270         * output_docbook.C: XML sanitation: new layout
271         parameters InnerTag and CommandDepth
272
273 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
274
275         * BufferView_pimpl.C:
276         * factory.C:
277         * text3.C: Fix the insertion and modification of button-style
278         insets
279
280 2003-11-13  André Pönitz  <poenitz@gmx.net>
281
282         * InsetList.[Ch]: remove deleteLyXText
283
284         * paragraph.[Ch]: cache beginOfBody position
285
286         * Bidi.C:
287         * text.C:
288         * text2.C:
289         * text3.C: remove superfluous update() calls
290
291         * vspace.C: cleanup
292
293 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
294
295         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
296         * BufferView.C (fitLockedInsetCursor): remove
297         * cursor.[Ch] (getDim): add
298         * text.C (getRowNearY): add faster version
299         * text3.C: remove some update calls
300
301 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
302
303         * LaTeXFeatures.C:
304         * LyXAction.C:
305         * MenuBackend.C:
306         * MenuBackend.h:
307         * dispatchresult.h:
308         * factory.C:
309         * lfuns.h:
310         * lyxfunc.C:
311         * lyxtextclass.C:
312         * lyxtextclass.h:
313         * text3.C: The Character Style /XML short element patch.
314
315 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
316
317         * text3.C:
318         * factory.C: Small step to solving 'unable to insert some insets'
319         problem
320
321 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
322
323         * cursor.[Ch] (updatePos): new function for updating the y
324         position of the tip inset
325         * bufferview_funcs.C (put_selection_at):
326         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
327
328 2003-11-11  André Pönitz  <poenitz@gmx.net>
329
330         * text.C: remove big comment on invalid Paragraph pointers as it is
331         not valid anymore
332
333 2003-11-11  André Pönitz  <poenitz@gmx.net>
334
335         * text_funcs.[Ch]: merge with ...
336
337         * text.C: ... this
338
339         * lyxtext.h:
340         * text2.C:
341         * text3.C: adjust
342
343         * Makefile.am: remove text_funcs.[Ch]
344
345 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
346
347         * cursor.C (getPos): return absolute cached y coord
348
349         * BufferView_pimpl.C (fitCursor): new simplistic code
350         (workAreaDispatch): add a fitCursor call
351
352 2003-11-10  André Pönitz  <poenitz@gmx.net>
353
354         * BufferView.[Ch]:
355         * BufferView_pimpl.[Ch]: merge update() and updateInset()
356
357 2003-11-10  André Pönitz  <poenitz@gmx.net>
358
359         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
360         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
361         indicate that the cursor needs to leave an inset
362
363         * lyxtext.h: remove inset locking
364
365         * cursor.[Ch]: re-implement functionality provided by inset locking
366
367         * BufferView.[Ch]:
368         * BufferView_pimpl.[Ch]:
369         * LyXAction.C:
370         * bufferview_funcs.[Ch]:
371         * factory.C:
372         * funcrequest.[Ch]:
373         * iterators.C:
374         * lyx_cb.C:
375         * lyxfind.C:
376         * lyxfunc.C:
377         * text.C:
378         * text2.C:
379         * text3.C:
380         * undo.C: adjust
381
382 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
383
384         * PosIterator.[Ch]: replace the stack with a vector, add inset
385         accesor
386         * iterators.[C]: adjust
387
388 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
389
390         * lyxfind.C (replaceAll): mark the buffer dirty if something was
391         replaced
392         * paragraph_funcs.C (readParToken): put the correct id in the
393         error item, not the id of the top paragraph
394
395 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
396
397         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
398         * bufferview_funcs.C (put_selection_at): use the above
399
400 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
401
402         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
403
404 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
405
406         * output_linuxdoc.h:
407         * output_plaintext.h:
408         * output.h:
409         * output_docbook.h: add #include statements
410
411 2003-11-05  José Matos  <jamatos@lyx.org>
412
413         * output_docbook.[Ch]:
414         * output_latex.[Ch]:
415         * output_linuxdoc.[Ch]:
416         * output_plaintext.[Ch]: New files for output formats.
417         * output.[Ch]: New file for helper functions.
418
419         * buffer.[Ch]:
420         * paragraph_funcs.[Ch]: output functions moved to new files.
421
422         * outputparams.h: rename of latexrunparams.h
423
424         * LaTeX.[Ch]:
425         * buffer.[Ch]:
426         * bufferlist.[Ch]:
427         * converter.[Ch]:
428         * exporter.C:
429         * paragraph.[Ch]:
430         * paragraph_funcs.[Ch]:
431         * paragraph_pimpl.[Ch]:
432         * tabular.[Ch]: rename ascii to plaintext
433         and LatexRunParams to OutputParams.
434
435 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
436
437         * iterators.[Ch] (text): require bv argument
438         * undo.C (recordUndo):
439         * lyxfunc.C (dispatch):
440         * bufferview_funcs.C (put_selection_at): adjust
441
442 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
443
444         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
445
446 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
447
448         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
449         nestings
450
451 2003-11-04  André Pönitz  <poenitz@gmx.net>
452
453         * cursor.[Ch]: restructure
454
455         * BufferView.[Ch]:
456         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
457
458         * iterators.[Ch] (asCursor): remove
459
460         * lfuns.h: remove LFUN_INSET_EDIT
461
462         * lyxfunc.C:
463         * tabular.C:
464         * text.C:
465         * text2.C:
466         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
467
468 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
469
470         * lyxfind.[Ch]: complete overhaul
471         * BufferView_pimpl.C:
472         * lyxfunc.C: adjust
473         * paragraph.[Ch] (insert): add
474
475 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
476
477         * BufferView.[Ch]:
478         * lyxtext.h:
479         * text.C: remove dead spellcheck code
480
481 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
482
483         * dispatchresult.h: add a val setter
484
485         * cursor.C (dispatch): use a tempvar for data_[i]
486
487 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
488
489         * PosIterator.[Ch]: compile fix
490
491 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
492
493         * text.C (cursorPar): deactivate the cursor cache
494
495 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
496
497         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
498
499 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
500
501         * text3.C (dispatch): adjust for new DisptchResult semantics.
502
503         * lyxfunc.C (dispatch): handle update when return from
504         Cursor::dispatch, adjust for new DispatchResult semantics.
505
506         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
507         DispatchResult(true) mean to not update. Add class functions for
508         setting dispatched and update, as well as reading.
509
510         * cursor.C (dispatch): don't handle update here
511
512 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
513
514         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
515         * trans_mgr.C: adjust
516
517         * paragraph_funcs.C (readParToken): exception safety
518
519         * lyxvc.h: store the vcs pointer in a scoped_ptr
520         * lyxvc.C: adjust
521
522         * lyxsocket.C (serverCallback): exception safety
523
524         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
525
526         * ispell.C (clone): make it return a auto_ptr
527
528         * factory.C (createInset): exception safety
529         (readInset): exception safety
530
531         * bufferlist.C (newBuffer): exception safety
532
533         * Thesaurus.C (Thesaurus): use initialization for aik_
534
535         * MenuBackend.C (expandToc): exception safety.
536
537 2003-11-03  André Pönitz  <poenitz@gmx.net>
538
539         * buffer.C:
540         * buffer.h:
541         * bufferview_funcs.C: remove getInsetFromId()
542
543         * lyxcursor.[Ch]:
544         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
545
546         * lyxfunc.C:
547         * text2.C:
548         * text3.C: adjust
549
550 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
551
552         * PosIterator.C (distance, advance): new
553         * bufferview_funcs.[Ch] (put_selection_at): new
554         * iterators.[Ch] (lockPath): new
555
556 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
557
558         * iterators.[Ch] (asPosIterator): added
559         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
560         * PosIterator.[Ch]: added
561
562 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
563
564         * text3.C:
565         * lyxfunc.C:
566         * cursor.C (dispatch):
567         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
568
569         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
570         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
571         contructor, add a class function dispatched. Remove operator>=
572
573 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
574
575         * debug.C: only use the default constructor for debugstream
576         (lyxerr) here.
577
578         * main.C (main): include debug.h and setup the lyxerr streambuf
579         here.
580
581 2003-10-31  José Matos  <jamatos@lyx.org>
582
583         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
584
585         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
586         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
587         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
588         * paragraph_pimpl.C (simpleTeXSpecialC):
589         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
590         add LatexRunParams argument.
591
592         * exporter.C (Export): change call accordingly.
593
594         * latexrunparams.h: add new member to take care of the other backends.
595 2003-10-30  José Matos  <jamatos@lyx.org>
596
597         * buffer.C (makeLinuxDocFile, makeDocBookFile):
598         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
599         factorise code for paragraph output.
600         * buffer.[Ch]:
601         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
602         move functions.
603
604 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
605
606         * text3.C (dispatch):
607         * lyxfunc.C (dispatch):
608         * cursor.C (dispatch):
609         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
610
611         * dispatchresult.h: make the dispatch_result_t ctor explicit
612
613 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
614
615         * sgml.[Ch]:
616         * buffer.C: small refactoring of docbook stuff
617
618 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
619
620         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
621         meaning.
622
623 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
624
625         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
626         operator dispatch_result_t, and operators for == != and >=
627
628         * cursor.C (dispatch): adjust for operator dispatch_result_t
629         removal. comment out call to update
630
631         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
632
633 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
634
635         * text3.C:
636         * text2.C:
637         * text.C:
638         * lyxtext.h:
639         * lyxfunc.C:
640         * cursor.C:
641         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
642         (dispatch):
643
644         * dispatchresult.h: new file, DispatchResult broken out of
645         insets/insetbase.h
646
647         * Makefile.am (lyx_SOURCES): add dispatchresult.h
648
649 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
650
651         * text.C (rowBreakPoint): put a hack inside #if 0
652
653 2003-10-28  André Pönitz  <poenitz@gmx.net>
654
655         * lyxtext.h:
656         * metricsinfo.C:
657         * paragraph_funcs.C:
658         * rowpainter.C:
659         * text.C:
660         * text2.C: general cleanup (lots of small stuff)
661
662 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
663
664         * text2.C (cursorEnd): simple fix to the "end key goes to one
665         before the end on last row" bug
666
667 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
668
669         * text.C (backspace): fix the "zombie characters"
670
671 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
672
673         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
674
675 2003-10-27  André Pönitz  <poenitz@gmx.net>
676
677         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
678
679         * factory.C: handle new InsetPagebreak, InsetLine
680
681         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
682         and move handling into new InsetPagebreak, InsetLine
683
684         * BufferView_pimpl.C:
685         * LyXAction.C:
686         * ParagraphParameters.C:
687         * ParameterStruct.h:
688         * lyxfunc.C:
689         * lyxtext.h:
690         * paragraph.C:
691         * paragraph.h:
692         * paragraph_funcs.C:
693         * paragraph_pimpl.C:
694         * rowpainter.C:
695         * text.C:
696         * text2.C:
697         * text3.C: adjust
698
699 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
700
701         * text.C:
702         * lyxrow_funcs.[Ch]:
703         * Bidi.C:
704         * paragraph.C:
705         * lyxtext.h:
706         * rowpainter.C:
707         * text2.C:
708         * text3.C: remove lastPos uses in favour of Row::endpos
709
710 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
711
712         * undo.C (performUndoOrRedo): fix two crashes by setting a
713         cursor by hand and reordering some calls. Use bv->lockInset instead
714         of inset->edit because the latter loses cursor information
715
716 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
717
718         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
719         by Martin
720         (rowBreakPoint): fix width. change point to point + 1.
721         Add a missing check.
722
723 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
724
725         * MenuBackend.C:
726         * lyxfunc.C: fix (at least partly) the problems
727         with the Nav menu and headers inside branch insets
728         reported by Kayvan
729
730 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
731
732         * paragraph.C (getChar): add strong asserts
733
734         * lyxrow_funcs.C (lastPos): remove hideous hack
735
736         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
737         (fill): adjust to that (avoid an infinite loop)
738
739 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
740
741         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
742
743 2003-10-23  André Pönitz  <poenitz@gmx.net>
744
745         * RowList_fwd.h: change list<> to vector<> to gain speed
746         after suggestion from Alfredo
747
748 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
749
750         * lyxtext.h: move the bidi stuff from here...
751         * text.C: and here
752         * text2.C: and here
753         * Bidi.[Ch]: ... to here
754
755 2003-10-23  André Pönitz  <poenitz@gmx.net>
756
757         * lyxtext.h:
758         * text.C (isLastRow, isFirstRow): new functions
759
760         * paragraph.h: new width cache member
761
762         * rowpainter.C: replace RowList::iterator with Row & where possible
763
764         * lyxfunc.C: replace several view()->text with a single call
765
766         * toc.C: fix 'unused' warning
767
768 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
769
770         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
771         when woring with stream::pos_type
772         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
773
774 2003-10-22  André Pönitz  <poenitz@gmx.net>
775
776         * lyxtext.h:
777         * text.C: use Row & instead of RowList::iterator
778
779         * lyxrow.h: rename end() to endpos()
780
781         * rowpainter.C:
782         * text.C:
783         * text2.C: adjust
784
785 2003-10-22  Angus Leeming  <leeming@lyx.org>
786
787         * buffer.[Ch] (fully_loaded): new member function, returning true
788         only when the file has been loaded fully.
789         Used to prevent the premature generation of previews and by the
790         citation inset to prevent computation of the natbib-style label.
791
792         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
793         templates are all set up.
794
795         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
796
797 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
798
799         * text.C: fixed an "oops" in the "is a bit silly"
800         bug fix
801
802 2003-10-21  André Pönitz  <poenitz@gmx.net>
803
804         * FuncStatus.[Ch]: small stuff, whitespace
805
806         * lyxfont.[Ch]: operator<<() for debug reasons
807
808         * lyxfunc.C:
809         * lyxrow_funcs.C:
810         * lyxtext.h: whitespace, spelling
811
812         * paragraph.C: naming of variables
813
814         * text.C:
815         * text2.C: small stuff
816
817
818 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
819
820         * text.C: (1) finish off the inset display() work;
821         (2) fix the "is a bit silly" bug (accessing char
822         past end of par).
823
824 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
825
826         * text.C: re-introduce display() for insets, fixing the
827         various bugs (stretch of line above, math inset
828         positioning, ...)
829
830 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
831
832         * text.C (rightMargin): remove spurious semicolon
833
834         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
835         1415)
836
837 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
838
839         * text3.C: fix one crash due to wrong cursor def
840
841 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
842
843         * vc-backend.C (scanMaster): make the regex static
844
845         * LaTeX.C (scanAuxFile): make the regexs static
846
847         * text3.C (doInsertInset, dispatch, dispatch):
848         * text2.C (cursorUp, cursorDown):
849         * text.C (selectNextWordToSpellcheck):
850         * BufferView_pimpl.C (dispatch):
851         * lyxfunc.C (dispatch):  localDispatch -> dispatch
852
853 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
854
855         * lyxsocket.C: include <cerrno>
856
857 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
858
859         * lyxfunc.C (dispatch): remove textcache stuff
860
861         * bufferlist.C (release): remove textcache stuff
862         (closeAll): ditto
863
864         * TextCache.C: delete file
865         * TextCache.h: delete file
866
867         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
868
869         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
870         delete of the bv_->text.
871         (resizeCurrentBuffer): remove texcache stuff
872         (workAreaResize): ditto
873
874 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
875
876         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
877         action.
878
879 2003-10-16  André Pönitz  <poenitz@gmx.net>
880
881         * lyxrow.[Ch]:
882         * paragraph.h:
883         * rowpainter.C:
884         * text.C:
885         * text2.C:
886         * text3.C: speed up by storing y positions per paragraph plus per-row
887         offset instead of having a 'full' y position in the row.
888
889 2003-10-15  André Pönitz  <poenitz@gmx.net>
890
891         * iterators.[Ch]:
892         * iterators.[Ch]:
893         * undo.[Ch]: make undo aware of inner insets
894
895 2003-10-14  Angus Leeming  <leeming@lyx.org>
896
897         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
898         static member functions LyX::ref() and LyX::cref.
899         (lastfiles): new accessor functions for the new lastfiles_ member var.
900         (addLyXView, views_): add a new LyXView to the list of views_.
901         (updateInset): loop over all LyXViews to call their own updateInset
902         member function, returning a pointer to the Buffer owning the inset.
903
904         * BufferView_pimpl.C (loadLyXFile):
905         * MenuBackend.C (expandLastfiles):
906         * bufferlist.C (MenuWrite, QuitLyX):
907         lastfiles is no longer a global variable.
908         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
909
910         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
911         static function. Access through LyX::cref().emergencyCleanup().
912
913 2003-10-14  André Pönitz  <poenitz@gmx.net>
914
915         * iterators.[Ch]: new direct access to innermost LyXText and Inset
916
917         * undo.[Ch]: restoring part of 'undo in insets'
918
919         * Makefile.am:
920         * undo_funcs.[Ch]: merge with undo.[Ch]
921
922         * tabular.C: small cleansing stuff
923
924 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
925
926         * paragraph_funcs.C (readParToken): report unknown insets as error
927         boxes. Use the outer paragraph as location (also for unknown
928         tokens).
929
930         * factory.C (readInset): do not abort on reading an unknown inset.
931         Eat it and return 0.
932
933 2003-10-13  Angus Leeming  <leeming@lyx.org>
934
935         * lyx_main.C (LyX): remove call to setDisplayTranslator().
936
937         * lyxrc.C: displayTranslator is now a function,
938         declared in GraphicsTypes.h.
939
940 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
941
942         * format.C: new placeholder $$a to pass the socket address.
943
944         * bufferlist.[Ch]: new function getBufferFromTmp.
945
946         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
947           files in the temporary dir.
948
949 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
950
951         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
952
953         * Makefile.am: add lyxsocket.[Ch].
954
955         * lyx_main.C (error_handler): handle SIGPIPE.
956
957 2003-10-13  André Pönitz  <poenitz@gmx.net>
958
959         * BufferView_pimpl.C:
960         * lyxtext.h:
961         * text.C:
962         * text2.C:
963         * text3.C:
964         * undo_funcs.[Ch]: use paroffset_type instead of
965           ParagraphList::iterators to prevent multiple conversion
966           (and get a more robust interface)
967
968 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
969
970         * lyxfunc.C (dispatch): RESULT -> dispatch_result
971         * lyxtext.h: ditto
972         * text3.C (dispatch): ditto
973
974 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
975
976         * LaTeX.C (handleFoundFile): move the static to smaller scope,
977         move the onlyfile, use onlyfile instead of foundfile in a couple
978         of places.
979
980         * DepTable.C (update): flush the error stream a bit more
981
982 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
983
984         * lyxserver.C (callback): adjust
985
986         * lyxfunc.C (getStatus): add a missing brace in commented code
987         (ensureBufferClean): reindent
988         (dispatch): delete version taking a string
989
990 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
991
992         * LaTeX.C (deplog): move found file handlig from here...
993         (handleFoundFile): .. to new function here.
994         (deplog): make sure to discover several files mentioned on the
995         same log line.
996
997 2003-10-10  André Pönitz  <poenitz@gmx.net>
998
999         * lyxfunc.C:
1000         * lyxtext.h:
1001         * tabular.C:
1002         * text.C:
1003         * text2.C:
1004         * text3.C: fix some of the tabular crashes
1005
1006 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1007
1008         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1009
1010         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1011
1012 2003-10-09  André Pönitz  <poenitz@gmx.net>
1013
1014         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1015
1016         * BufferView.C:
1017         * BufferView_pimpl.C:
1018         * bufferview_funcs.C:
1019         * lyx_cb.C:
1020         * lyxcursor.C:
1021         * lyxfind.C:
1022         * lyxfunc.C:
1023         * lyxtext.h:
1024         * text.C:
1025         * text2.C:
1026         * text3.C:
1027         * text_funcs.[Ch]:
1028         * textcursor.[Ch]:
1029         * undo_funcs.C: adjust
1030
1031 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1032
1033         * text2.C (incrementItemDepth): new function, use a backtracking
1034         algorithm to discover the correct item depth.
1035         (resetEnumCounterIfNeeded): new function, use a backtracking
1036         algorithm to discover if counter reset is needed.
1037         (setCounter): use them. Simplify a bit. Add different labels for
1038         different item depths for itemize.
1039
1040         * paragraph.C (Paragraph): remove initialization of enumdepth
1041         (operator=): ditto
1042
1043         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1044         enumerate and itemize. Change the type of itemdepth to signed char.
1045
1046 2003-10-08  André Pönitz  <poenitz@gmx.net>
1047
1048         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1049           thing assignable.
1050         * text.C:
1051         * text2.C: adjust
1052
1053         * tabular.[Ch]: fix crash after 'row-insert'
1054
1055 2003-10-08  Angus Leeming  <leeming@lyx.org>
1056
1057         Fix doxygen warnings.
1058
1059         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1060         Remove CutAndPaste:: prefix from header file declaration.
1061
1062         * LColor.h (fill): remove LColor:: prefix from declaration.
1063
1064         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1065         use lyx::depth_type rather than Paragraph::depth_type so that
1066         header file and .C file match.
1067
1068         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1069
1070         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1071         * aspell.C: \file aspell_local.C -> \file aspell.C
1072         * gettext.C: \file gettext.C -> \file src/gettext.C
1073         * gettext.h: \file gettext.h -> \file src/gettext.h
1074         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1075         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1076         * text.C: \file text.C -> \file src/text.C
1077
1078         * toc.C: move comment so that doxygen is not confused.
1079
1080 2003-10-07  Angus Leeming  <leeming@lyx.org>
1081
1082         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1083
1084 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1085
1086         * aspell.C:
1087         * aspell_local.h: add forgotten std::string's.
1088
1089 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1090
1091         * LaTeXFeatures.C:
1092         * LyXAction.C:
1093         * factory.C:
1094         * lfuns.h:
1095         * lyxfunc.C:
1096         * text3.C: The Box patch. Fancybox support, minipage, parbox
1097
1098 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1099
1100         * CutAndPaste.h:
1101         * DepTable.h:
1102         * FloatList.h:
1103         * LaTeXFeatures.h:
1104         * ParagraphParameters.h:
1105         * TextCache.h:
1106         * Thesaurus.h:
1107         * bufferlist.h:
1108         * exporter.h:
1109         * importer.h:
1110         * lastfiles.h:
1111         * lyxfind.h:
1112         * lyxfont.h:
1113         * lyxlex.h:
1114         * lyxtextclasslist.h:
1115         * messages.h:
1116         * paragraph.h:
1117         * paragraph_pimpl.C:
1118         * textcursor.h: add <string> and other small fixes to make Lars'
1119         std::string patch compile with STLport.
1120
1121 2003-10-06  Angus Leeming  <leeming@lyx.org>
1122
1123         * LColor.h: Add missing #include <string>.
1124
1125 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1126
1127         * All most all file in all subdirs: Make <string> be the prefered
1128         way of getting to std::string, add using declarations.
1129
1130 2003-10-06  André Pönitz  <poenitz@gmx.net>
1131
1132         * metricsinfo.C: initialize LyXFont before changing attribute.
1133         (fixes the 'math in \emph is upright' bug)
1134
1135 2003-10-06  André Pönitz  <poenitz@gmx.net>
1136
1137         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1138
1139 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1140
1141         * graph.C:
1142         * paragraph_pimpl.C: Small fixes to build using STLport
1143
1144 2003-10-02  André Pönitz  <poenitz@gmx.net>
1145
1146         * lyxfunc.C:
1147         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1148
1149 2003-10-01  André Pönitz  <poenitz@gmx.net>
1150
1151         * factory.C: assert early
1152
1153 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1154
1155         * lyx_main.C: remove the global debug object
1156
1157         * debug.h: adjust for new debugstream
1158
1159         * debug.C: adjust for new debugstream and keep the global debug
1160         object here.
1161
1162 2003-09-22  Angus Leeming  <leeming@lyx.org>
1163
1164         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1165         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1166         an incomplete class LyXFont.
1167
1168 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1169
1170         * factory.C: bug fix in branches
1171
1172 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1173
1174         * lyxfunc.C (processKeySym): adjust
1175         (dispatch): adjust
1176         (dispatch): change arg name from ev to func, adjust
1177         (sendDispatchMessage): ditto
1178
1179         * lyx_main.C (defaultKeyBindings): adjust keybindings
1180         (deadKeyBindings): ditto
1181
1182         * kbsequence.C (addkey): return a FuncRequest
1183
1184         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1185
1186         * kbmap.C (bind): take a FuncRequest as arg, adjust
1187         (read): adjust
1188         (lookup): adjust
1189         (defkey): change to take a FuncRequest as arg, adjust
1190         (findbinding): take a FuncRequest as arg, adjust.
1191
1192         * funcrequest.h (operator=): added
1193
1194         * funcrequest.C (FuncRequest): default kb_action changed from
1195         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1196
1197         * buffer.C (dispatch): simplify
1198         (dispatch): adjust to take a FuncRequest as arg, adjust
1199
1200         * boost.C (assertion_failed): change assertion message slightly
1201
1202         * ToolbarBackend.C (read): simplify
1203
1204         * MenuBackend.C (binding): adjust call to findbinding, add a
1205         message if no binding is found.
1206         (read): simplify
1207         (expandToc): correct by adding a empty FuncRequest
1208
1209         * LyXAction.C: include <boost/assert.hpp>
1210         (isPseudoAction): delete function
1211         (LookupFunc): change name to...
1212         (lookupFunc): this. change return type to FuncRequest.
1213         (getActionName): take kb_action as arg, simplify
1214         (funcHasFlag): add an assert, simplify.
1215
1216 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1217
1218         * toc.C (action): return a FuncRequest, simplify
1219
1220         * lyxfunc.C (processKeySym): adjust
1221         (getStatus): delete version that takes an int.
1222         (getStatus): adjust
1223         (dispatch): delete version that takes action as int
1224         (dispatch): adjust
1225         (sendDispatchMessage): simplify and adjust
1226
1227         * funcrequest.C (getArg): take unsigned int as arg
1228
1229         * ToolbarBackend.C (read): adjust
1230         (add): delete version that takes func as a string.
1231         (getIton): take a FuncRequest as arg
1232
1233         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1234         action.
1235
1236         * MenuBackend.C (MenuItem): add a new construct that only takes a
1237         Kind, simplify the constructor use for submenus.
1238         (add): adjust
1239         (expandLastfiles): adjust
1240         (expandDocuments): adjust
1241         (expandFormats): adjust
1242         (expandFloatListInsert): adjust
1243         (expandFloatInsert): adjust
1244         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1245
1246         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1247         Remove class variables lyx_pseudo_map and lyx_arg_map
1248
1249         * LyXAction.C (searchActionArg): delete function
1250         (getPseudoAction): delete function
1251         (retrieveActionArg): delete function
1252         (LookupFunc): make it return kb_action, simplify.
1253         (getActionName): simplify
1254
1255         * factory.C (createInset): fix new bug
1256
1257 2003-09-19  Angus Leeming  <leeming@lyx.org>
1258
1259         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1260         masterFilename_ parameter in the include inset.
1261
1262         * factory.C (createInset): changes due to the changes to InsetInclude.
1263
1264 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1265
1266         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1267
1268 2003-09-18  Angus Leeming  <leeming@lyx.org>
1269
1270         * buffer.C:
1271         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1272         Inset::fillWithBibKeys.
1273         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1274
1275 2003-09-18  Angus Leeming  <leeming@lyx.org>
1276
1277         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1278         variables.
1279         (ctor): pass and store a 'Buffer const &'
1280         (buffer): new member function.
1281
1282         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1283         '*this' to the LaTeXFeatures ctor.
1284
1285 2003-09-18  Angus Leeming  <leeming@lyx.org>
1286
1287         * LColor.h:
1288         * lyxfont.C:
1289         * lyxfont.h:
1290         * lyxtext.h:
1291         * text.C: rename EnumLColor as LColor_color.
1292
1293 2003-09-18  Angus Leeming  <leeming@lyx.org>
1294
1295         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1296         remove #include "insets/insetbase.h" from cursor.h.
1297
1298 2003-09-18  Angus Leeming  <leeming@lyx.org>
1299
1300         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1301         InsetOld_code to remove #include "inset.h".
1302
1303         * iterators.C: add #include "insets/inset.h"
1304
1305 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1306
1307         * BufferView.C: remove more locking stuff that apparently doesn't
1308         do anything sensible.
1309
1310 2003-09-16  André Pönitz  <poenitz@gmx.net>
1311
1312         * paragraph.[Ch]:
1313         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1314           performance boost.
1315
1316 2003-09-16  Angus Leeming  <leeming@lyx.org>
1317
1318         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1319
1320         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1321         arg/return type.
1322
1323         * paragraph.h: remove #include "lyxfont.h". Forward declare
1324         LyXFont_size.
1325
1326 2003-09-16  Angus Leeming  <leeming@lyx.org>
1327
1328         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1329         of support/textutils.h.
1330         (isWord): move the contents of support/textutils.h's IsWordChar here.
1331
1332         * buffer.C:
1333         * lyxfind.C:
1334         * rowpainter.C:
1335         * text.C:
1336         * text2.C: add #include "paragraph.h".
1337
1338         * rowpainter.C:
1339         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1340
1341 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1342
1343         * main.C:
1344         * lyx_main.C:
1345         * lyx_cb.C:
1346         * buffer.C:
1347         * LaTeX.C: use namespace alias for lyx::support::os
1348
1349 2003-09-16  Angus Leeming  <leeming@lyx.org>
1350
1351         * bufferparams.C:
1352         * bufferview_funcs.C:
1353         * factory.C:
1354         * lyxfunc.C:
1355         * paragraph_pimpl.C:
1356         * rowpainter.C:
1357         * text.C: add #include "LColor.h".
1358
1359 2003-09-16  Angus Leeming  <leeming@lyx.org>
1360
1361         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1362         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1363         return LyXFont &.
1364         Store the FontBits::color variable as an int rather than as an
1365         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1366         file.
1367
1368         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1369         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1370         string calls together.
1371
1372         * lyxrc.C: add #include "LColor.h".
1373
1374 2003-09-15  Angus Leeming  <leeming@lyx.org>
1375
1376         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1377         a cow_ptr.
1378
1379 2003-09-15  Angus Leeming  <leeming@lyx.org>
1380
1381         * LColor.h: add an EnumLColor wrapper for LColor::color.
1382
1383         * lyxfont.[Ch] (color, setColor, realColor):
1384         * lyxtext.h, text.C (backgroundColor):
1385         pass EnumLColor args to/from the functions, rather than LColor::color
1386         ones.
1387
1388         * lyxfont.h:
1389         * lyxtext.h: forward declare EnumLColor.
1390
1391         * lyx_main.C: add #include "LColor.h".
1392
1393 2003-09-15  Angus Leeming  <leeming@lyx.org>
1394
1395         * .cvsignore: add lyx-gtk.
1396
1397 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1398
1399         * Chktex.C
1400         * LaTeX.C
1401         * LaTeXFeatures.C
1402         * ParagraphParameters.C
1403         * Spacing.C
1404         * buffer.C
1405         * bufferparams.C
1406         * bufferview_funcs.C
1407         * chset.C
1408         * counters.C
1409         * funcrequest.C
1410         * lyxfont.C
1411         * lyxgluelength.C
1412         * lyxlength.C
1413         * paragraph.C
1414         * paragraph_funcs.C
1415         * text3.C
1416         * vc-backend.C: remove usage of STRCONV
1417
1418 2003-09-15  Angus Leeming  <leeming@lyx.org>
1419
1420         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1421         explicitly define the color passed to the painter.
1422
1423 2003-09-15  Angus Leeming  <leeming@lyx.org>
1424
1425         * bufferparams.C (BufferParams): reorder member initializers to avoid
1426         compiler warning.
1427
1428 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1429
1430         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1431         * text.C (updateRowPositions): remove an unusual nop
1432
1433 2003-09-12  André Pönitz  <poenitz@gmx.net>
1434
1435         * BufferView_pimpl.C:
1436         * Bullet.C:
1437         * layout.h:
1438         * lyxfunc.C:
1439         * lyxlayout.[Ch]:
1440         * lyxtextclass.C:
1441         * rowpainter.C:
1442         * text.C:
1443         * text2.C:
1444         * Counters.[Ch]: finish the 'automatic counters' job
1445
1446 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1447
1448         * aspell.C: include <boost/assert.cpp> (compile fix)
1449
1450 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1451
1452         * boost.C (assertion_failed): use lyx::support::abort instead of
1453         assert.
1454
1455 2003-09-10  Angus Leeming  <leeming@lyx.org>
1456
1457         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1458         with their _fwd progeny.
1459
1460 2003-09-09  Angus Leeming  <leeming@lyx.org>
1461
1462         134 files throughtout the source tree: replace 'using namespace abc;'
1463         directives with the appropriate 'using abc::xyz;' declarations.
1464
1465 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1466
1467         * boost.C (emergencyCleanup): moved here from LAssert.c
1468         (assertion_failed): new function, called by BOOST_ASSERT
1469
1470         * several files: change Assert to BOOST_ASSERT
1471
1472 2003-09-09  Angus Leeming  <leeming@lyx.org>
1473
1474         * buffer.[Ch]: Add an Impl class and move Buffer's member
1475         variables into it. As a result move several header files out of
1476         buffer.h.
1477
1478         Add header files to lots of .C files all over the tree as a result.
1479
1480 2003-09-09  Angus Leeming  <leeming@lyx.org>
1481
1482         * buffer.[Ch]: make Buffer's member variables private. Add
1483         accessor functions.
1484
1485         Lots of changes all over the tree as a result.
1486
1487 2003-09-08  Angus Leeming  <leeming@lyx.org>
1488
1489         * graph.C: #include <config.h>.
1490
1491 2003-09-08  Angus Leeming  <leeming@lyx.org>
1492
1493         * BranchList.C:
1494         * BufferView.C:
1495         * BufferView_pimpl.C:
1496         * CutAndPaste.C:
1497         * DepTable.C:
1498         * LaTeX.C:
1499         * LaTeXFeatures.C:
1500         * LyXAction.C:
1501         * MenuBackend.C:
1502         * TextCache.C:
1503         * aspell.C:
1504         * buffer.C:
1505         * bufferlist.C:
1506         * changes.C:
1507         * chset.C:
1508         * converter.C:
1509         * counters.C:
1510         * debug.C:
1511         * graph.C:
1512         * ispell.C:
1513         * lyx_cb.C:
1514         * lyxfind.C:
1515         * lyxfunc.C:
1516         * lyxlex_pimpl.C:
1517         * lyxrc.C:
1518         * lyxrow.C:
1519         * paragraph.C:
1520         * rowpainter.C:
1521         * texrow.C:
1522         * text.C:
1523         * text2.C:
1524         * toc.C: remove redundant using directives.
1525
1526 2003-09-07  Angus Leeming  <leeming@lyx.org>
1527
1528         * LaTeXFeatures.h: remove #include "support/types.h".
1529         * ToolbarBackend.h: remove #include <algorithm>.
1530         * changes.h: remove #include <ctime>.
1531         * debug.h: remove #include <iosfwd>.
1532         * graph.h: remove #include "support/std_string.h".
1533         * lyx_main.h: remove #include <csignal>.
1534         * lyxlex_pimpl.h: remove #include <fstream>.
1535         * sgml.h: remove #include <algorithm>, <utility>.
1536         * toc.h: remove #include "support/std_ostream.h".
1537         Add #include <iosfwd>.
1538
1539 2003-09-07  Angus Leeming  <leeming@lyx.org>
1540
1541         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1542
1543         * converter.h: forward declare LatexRunParams.
1544         * encoding.h: remove #include "lyxrc.h".
1545         * lyxtext.h: remove #include "LColor.h".
1546         * lyxtextclass.h: remove #include "support/types.h".
1547         * trans.h: remove #include "tex-accent.h".
1548         * trans_mgr.h: remove #include "tex-accent.h".
1549         * insets/inset.h: remove #include "support/types.h", <vector>.
1550         * insets/insetcollapsable.h: remove #include "LColor.h".
1551         * insets/insetinclude.h: remove #include "dimension.h".
1552         * insets/insetlatexaccent.h: remove #include "dimension.h".
1553         * insets/insetoptarg.h:: remove #include "insettext.h".
1554         * insets/insettext.h: remove #include "dimension.h",
1555         <boost/shared_ptr.hpp>
1556
1557         * insets/renderers.h: add #include "dimension.h".
1558         * insets/updatableinset.h: add #include "support/types.h".
1559
1560         * many .C files: Associated changes.
1561
1562 2003-09-06  Angus Leeming  <leeming@lyx.org>
1563
1564         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1565         one, inside testInvariant.
1566
1567         * PrinterParams.C: new file.
1568         * PrinterParams.[Ch]: move the function bodies out of line.
1569
1570 2003-09-06  Angus Leeming  <leeming@lyx.org>
1571
1572         * ParagraphParameters.h: forward declare ParameterStruct rather than
1573         including its header file.
1574         (depth): moved out-of-line.
1575
1576 2003-09-06  Angus Leeming  <leeming@lyx.org>
1577
1578         * BufferView_pimpl.h:
1579         * kbmap.h:
1580         * kbsequence.h:
1581         * lyxfunc.h: forward declare LyXKeySym rather than
1582         #include "frontends/LyXKeySym.h".
1583
1584         * BufferView_pimpl.C:
1585         * kbmap.C:
1586         * kbsequence.C:
1587         * lyxfunc.C: associated changes.
1588
1589 2003-09-06  Angus Leeming  <leeming@lyx.org>
1590
1591         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1592         As a result, can remove the #include "insets/inset.h" from BufferView.h
1593
1594 2003-09-06  Angus Leeming  <leeming@lyx.org>
1595
1596         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1597         As a result, can remove the #include "insets/inset.h" from BufferView.h
1598
1599 2003-09-06  Angus Leeming  <leeming@lyx.org>
1600
1601         * buffer_funcs.C:
1602         * buffer.h:
1603         * bufferlist.C:
1604         * BufferView.C:
1605         * bufferview_funcs.C:
1606         * BufferView_pimpl.C:
1607         * CutAndPaste.C:
1608         * lyx_cb.C:
1609         * lyxfunc.C:
1610         * paragraph.h:
1611         * ParagraphParameters.C:
1612         * tabular.C:
1613         * text3.C:
1614         * toc.C:
1615         * undo_funcs.C:
1616         * frontends/controllers/ControlDocument.C:
1617         * insets/insetcaption.C: rearrange the #includes into some sort of
1618         coherent order.
1619
1620         * buffer.h: remove #includes ErrorList.h, undo.h
1621
1622 2003-09-06  Angus Leeming  <leeming@lyx.org>
1623
1624         * support/types.h: add a 'depth_type' typedef, used to store the
1625         nesting depth of a paragraph.
1626
1627         * paragraph.h:
1628         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1629         defining explicitly.
1630
1631         * buffer.h:
1632         * paragraph_funcs.h:
1633         * ParagraphParameters.h:
1634         * sgml.h: use lyx::depth_type rather than Paragraph or
1635         ParameterStruct's depth_type.
1636
1637         * buffer.h
1638         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1639
1640         * BufferView.C:
1641         * BufferView_pimpl.C:
1642         * CutAndPaste.C:
1643         * ParagraphParameters.C:
1644         * buffer_funcs.C:
1645         * bufferlist.C:
1646         * bufferview_funcs.C:
1647         * lyx_cb.C:
1648         * lyxfunc.C:
1649         * tabular.C:
1650         * text3.C:
1651         * toc.C:
1652         * undo_funcs.C:
1653         * frontends/LyXView.C:
1654         * frontends/controllers/ControlDocument.C:
1655         * frontends/controllers/ControlErrorList.C:
1656         * insets/insetbibitem.C:
1657         * insets/insetbranch.C:
1658         * insets/insetcaption.C:
1659         * insets/insetcollapsable.C:
1660         * insets/insetenv.C:
1661         * insets/insetert.C:
1662         * insets/insetfloat.C:
1663         * insets/insetfoot.C:
1664         * insets/insetfootlike.C:
1665         * insets/insetnewline.C:
1666         * insets/insetquotes.C:
1667         * insets/insettabular.C:
1668         * insets/insettext.C:
1669         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1670
1671         * frontends/controllers/ControlChanges.C: #include "changes.h".
1672
1673 2003-09-06  Angus Leeming  <leeming@lyx.org>
1674
1675         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1676         than #including paragraph.h.
1677
1678         * ParagraphList.h:
1679         * RowList.h: deleted. Superfluous.
1680
1681         * CutAndPaste.h:
1682         * iterators.h:
1683         * lyxcursor.h:
1684         * lyxtext.h:
1685         * text_funcs.h:
1686         * undo.h:
1687         * undo_funcs.h:
1688         * insets/inset.h:
1689         * insets/insettext.h: use ParagraphList_fwd.h rather than
1690         ParagraphList.h.
1691
1692         * paragraph.h: don't forward declare ParagraphList.
1693
1694         * buffer.h:
1695         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1696         rather than ParagraphList.h. paragraph.h is still needed for the
1697         Paragraph::depth_type parameters.
1698
1699         * textcursor.h: enable it to compile stand-alone in light of the
1700         above changes.
1701
1702         * bufferview_funcs.C:
1703         * iterators.C:
1704         * lyxfunc.C:
1705         * lyxrow_funcs.C:
1706         * paragraph.C:
1707         * rowpainter.C:
1708         * text.C:
1709         * text2.C:
1710         * text3.C:
1711         * text_funcs.C:
1712         * textcursor.C:
1713         * undo.C:
1714         * frontends/controllers/ControlParagraph.C:
1715         * frontends/controllers/ControlTabular.C:
1716         * insets/insetmarginal.C:
1717         * insets/insetminipage.C:
1718         * insets/insetnote.C:
1719         * insets/insetoptarg.C: add header files needed to compile again.
1720
1721 2003-09-06  Angus Leeming  <leeming@lyx.org>
1722
1723         * RowList_fwd.h: new file, forward-declaring Row rather than
1724         #including lyxrow.h.
1725
1726         * lyxrow_funcs.h:
1727         * lyxtext.h:
1728         * paragraph.h:
1729         * insets/insettext.h: use it instead of RowList.h
1730
1731         * bufferview_funcs.C:
1732         * lyxfunc.C:
1733         * lyxrow_funcs.C:
1734         * paragraph.C:
1735         * rowpainter.C:
1736         * text.C:
1737         * text2.C:
1738         * text3.C: #include "RowList.h".
1739
1740 2003-09-05  Angus Leeming  <leeming@lyx.org>
1741
1742         * factory.C (createInset):
1743         * vspace.C (c-tor): replace sscanf call with an istringstream.
1744         * ispell.C: re-add missing HP/UX headers.
1745         * lyxserver.C: re-add missing  os2 headers.
1746
1747 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1748
1749         * BranchList.C:
1750         * graph.C:
1751         * ispell.C:
1752         * lastfiles.C:
1753         * lyx_cb.C:
1754         * lyxserver.C:
1755         * texrow.C:
1756         * text3.C: re-add missing system headers, needed for 2.95.2.
1757
1758 2003-09-05  Angus Leeming  <leeming@lyx.org>
1759
1760         Changes most place everywhere due to the removal of using directives
1761         from support/std_sstream.h.
1762
1763 2003-09-05  Angus Leeming  <leeming@lyx.org>
1764
1765         Replace LString.h with support/std_string.h,
1766         Lsstream.h with support/std_sstream.h,
1767         support/LIstream.h with support/std_istream.h,
1768         support/LOstream.h with support/std_ostream.h.
1769
1770         Changes resulting throughout the tree.
1771
1772 2003-09-05  Angus Leeming  <leeming@lyx.org>
1773
1774         * sgml.h: ensure that the header file can be compiled stand-alone.
1775         * *.C: strip out redundant #includes. (320 in total.)
1776
1777 2003-09-04  Angus Leeming  <leeming@lyx.org>
1778
1779         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1780         here (from getPackages).
1781
1782         * debug.[Ch]: add a new EXTERNAL tag.
1783
1784 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1785
1786         * text2.C (cursorEnd): simplify
1787         (setCursor): adjust
1788         (getColumnNearX): adjust
1789
1790         * text.C (computeBidiTables): adjust
1791         (fill): adjust
1792
1793         * rowpainter.C (paintChars): adjust
1794         (paintSelection): adjust
1795         (paintChangeBar): adjust
1796         (paintText): adjust
1797
1798         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1799         lastPos instead.
1800         (numberOfSeparators): adjust
1801
1802 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1803
1804         * LyXAction.C:
1805         * box.[Ch]:
1806         * lfuns.h:
1807         * lyxfunc.C:
1808         * text3.C: Restricts the mouse click functionality
1809         of insets like bibtex, include, toc and floatlist to the visible
1810         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1811         up the dialogs. Cursor has to be in front of the inset (i.e.
1812         start of row) for this to function.
1813
1814 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1815
1816         * bufferview_funcs.C (currentState): output row information
1817
1818 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1819
1820         * bufferview_funcs.C (currentState): output paragraph position
1821
1822 2003-09-04  Angus Leeming  <leeming@lyx.org>
1823
1824         * FloatList.h: move out #include "Floating.h".
1825         * LaTeX.h: move out #include "DepTable.h".
1826         * LyXAction.h: move out #include "funcrequest.h".
1827         * buffer.h: move out #include "author.h", "iterators.h".
1828         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1829         * lyx_main.h: move out #include "errorlist.h".
1830         * lyxfunc.h: move out #include "FuncStatus.h".
1831         * lyxtext: move out #include "lyxcursor.h".
1832         * paragraph_pimpl.h: move out #include "counters.h".
1833
1834 2003-09-03  Angus Leeming  <leeming@lyx.org>
1835
1836         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1837         preamble_snippets list, enabling us to add snippets to the preamble
1838         only if the snippet was not there already.
1839
1840 2003-09-04  Angus Leeming  <leeming@lyx.org>
1841
1842         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1843
1844 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1845
1846         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1847         update
1848
1849 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1850
1851         * BranchList.C: point fix, earlier forgotten
1852
1853 2003-09-02  Angus Leeming  <leeming@lyx.org>
1854
1855         * box.C (contains): renamed from 'contained' after a fantastic
1856         amount of hot air.
1857
1858 2003-09-02  John Levon  <levon@movementarian.org>
1859
1860         * BufferView.C:
1861         * lyxcursor.h:
1862         * lyxcursor.C:
1863         * lyxfunc.C:
1864         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1865
1866 2003-09-02  John Levon  <levon@movementarian.org>
1867
1868         * text2.C: simplification of cursorEnd(), including partial
1869         fix for bug 1376
1870
1871 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1872
1873         * buffer.C (readFile): add a space
1874
1875 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1876
1877         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1878
1879 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1880
1881         * buffer.C (readFile): new function, take a filename and a
1882         ParagraphList::iterator
1883         (readFile): adjust
1884         (readFile): adjust, make it private. don't use setStream, make
1885         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1886         always contain the filename.
1887
1888         * BufferView.C (insertLyXFile): simplify and make it work for
1889         gzipped files.
1890
1891 2003-08-30  John Levon  <levon@movementarian.org>
1892
1893         * Makefile.am: fix dist (from Kayvan)
1894
1895 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1896
1897         * most files: change to use const Buffer refs
1898
1899 2003-08-27  André Pönitz  <poenitz@gmx.net>
1900
1901         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1902         on top of ownerPar().
1903
1904 2003-08-27  John Levon  <levon@movementarian.org>
1905
1906         * funcrequest.C: properly initialise POD members
1907
1908 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1909
1910         * lyxtext.h (top_y): move top_y from here
1911         * text.C:
1912         * text2.C:
1913         * text3.C:
1914         * BufferView.[Ch]:
1915         * BufferView_pimpl.[Ch]: to here
1916         * frontends/screen.C:
1917         * insets/insettabular.C:
1918         * insets/insettext.C: adjust
1919         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1920
1921 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1922
1923         * BufferView.[Ch]:
1924         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1925
1926 2003-08-26  André Pönitz  <poenitz@gmx.net>
1927
1928         * paragraph_func.[Ch] (outerPar): new function
1929
1930         * paragraph.C:
1931         * paragraph_funcs.C:
1932         * paragraph_funcs.h:
1933         * paragraph_pimpl.C:
1934         * text2.C: remove Inset::par_owner
1935
1936 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1937
1938         * lyxrow_funcs.C:
1939         * lyxtext.h:
1940         * text.C:
1941         * text2.C: eliminates the needFullRow/display() stuff
1942         altogether, putting the logic in metrics/draw in the insets.
1943
1944 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1945
1946         * text2.C (redoParagraphInternal, redoParagraphs):
1947         * text.C (redoParagraph): add a call to updateRowPositions at the
1948         end of each 'metrics-like' call. Remove all others.
1949         (getRow): remove the 'y-computing' version.
1950         (getRowNearY): do not compute nor return the real y. Solve the
1951         'y < 0' problem and simplify.
1952
1953 2003-08-22  Angus Leeming  <leeming@lyx.org>
1954
1955         * *.[Ch]: clean-up of licence and author blurbs.
1956         Also move config.h out of a few .h files and into a few .C files.
1957
1958 2003-08-22  André Pönitz  <poenitz@gmx.net>
1959
1960         * lyxrow.[Ch]: add x_ and *fill_ members
1961
1962         * lyxtext.h:
1963         * text.C:
1964         * rowpainter.C:
1965         * text2.C: adjust/remove prepareToPrint() calls
1966
1967 2003-08-22  André Pönitz  <poenitz@gmx.net>
1968
1969         * lyxrow.[Ch]: add  end_ member
1970
1971         * lyxrow_funcs.C: use LyXRow::end_
1972
1973         * lyxtext.h (singleWidth): add LyXFont parameter
1974
1975         * rowpainter.C:
1976         * text2.C: adjust LyXText::singleWidth() calls
1977
1978         * text.C (redoParagraph): simplify row breaking logic
1979
1980
1981 2003-08-19  André Pönitz  <poenitz@gmx.net>
1982
1983         * funcrequest.C: initialize button_ member
1984
1985         * text3.C:
1986         * rowpainter.[Ch]: interface consolidation
1987
1988 2003-08-18  André Pönitz  <poenitz@gmx.net>
1989
1990         * BufferView.C:
1991         * BufferView_pimpl.C:
1992         * lyxfind.C:
1993         * paragraph_funcs.C:
1994         * rowpainter.C:
1995         * text3.C: remove LyXScreen::draw() and fitCursor calls
1996
1997         * BranchList.h: remove spurious semicolons
1998
1999         * MenuBackend.C: fix branchlist related crash
2000
2001 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2002
2003         * BranchList.[Ch]:
2004         * InsetList.[Ch]:
2005         * LColor.[Ch]:
2006         * LyXAction.C:
2007         * Makefile.am:
2008         * MenuBackend.[Ch]:
2009         * bufferparams.[Ch]:
2010         * factory.C:
2011         * lfuns.h:
2012         * lyxfunc.C:
2013         * text3.C: implements the 'branch inset'
2014         idea. This allows the output of various versions of a document
2015         from a single source version, selectively outputing or suppressing
2016         output of parts of the text.
2017         This implementation contains a 'branch list editor' in a separate
2018         tab of the document settings dialog. Branches are user definable
2019         and have a "display colour" to distinguish them on-screen.
2020
2021         ColorHandler was somewhat cleaned up.
2022         (1) make possible a dynamically growing LColor list by allowing
2023         the graphic context cache to grow along (vector);
2024         (2) eliminate an IMHO unnecessary step in colour allocation.
2025
2026 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2027
2028         * BufferView_pimpl.C: compile fix
2029
2030 2003-08-15  André Pönitz  <poenitz@gmx.net>
2031
2032         * rowpainter.C: remove extra metrics calls
2033
2034         * lyxtext.h: merge the two constructors into a single one,
2035           pass reference to owner's par list
2036
2037         * BufferView_pimpl.C:
2038         * text.C:
2039         * text2.C: adjust
2040
2041 2003-08-15  André Pönitz  <poenitz@gmx.net>
2042
2043         * lyxrow_funcs.[Ch]:
2044         * lyxtext.h:
2045         * paragraph.h:
2046         * paragraph_funcs.C:
2047         * rowpainter.C:
2048         * text.C:
2049         * text2.C:
2050         * text3.C:
2051         * text_funcs.C: split LyXText::rowlist_ into individual
2052         Paragraph::rows_ chunks
2053
2054         * BufferView.[Ch]:
2055         * BufferView_pimpl.[Ch]:
2056         * lyxfind.C:
2057         * lyxtext.h:
2058         * text3.C: remove toggleSelection()
2059
2060 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2061
2062         * bufferlist.C: beautify two alerts (shorter text of buttons)
2063         * buffer.C: Remove redundant ' ' from message
2064         * tabular.h:
2065         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2066         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2067         rename VALIGN_CENTER to VALIGN_MIDDLE
2068
2069 2003-08-11  André Pönitz  <poenitz@gmx.net>
2070
2071         * lyxtext.h (getPar):
2072         * text.C: new function
2073
2074 2003-08-11  André Pönitz  <poenitz@gmx.net>
2075
2076         * Makefile.am:
2077         * tracer.[Ch]: remove unneeded files
2078
2079         * InsetList.[Ch]: remove resizeInsetsLyXText()
2080
2081         * lyxtext.h:
2082         * text.C:
2083         * text2.C:
2084         * text3.C: merge insertParagraphs() and appendParagraph()
2085         remove breakAgain(), update()
2086
2087         * BufferView_pimpl.[Ch]:
2088         * bufferview_funcs.[Ch]:
2089         * lyxfunc.C:
2090         * paragraph.[Ch]:
2091         * rowpainter.C:
2092         * tabular.C: adjust after text & InsetList changes.
2093
2094 2003-08-08  André Pönitz  <poenitz@gmx.net>
2095
2096         * text.C (insertChar, backspace): replace rowlist fiddling
2097         with rebreak of full par
2098
2099         * lyxtext.h:
2100         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2101         checkParagraph, updateInset): removed
2102
2103 2003-08-07  André Pönitz  <poenitz@gmx.net>
2104
2105         * paragraph.C:
2106         * text3.C: merge some LFUN handlers, remove dead code
2107
2108 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2109
2110         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2111
2112 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2113
2114         * text2.C (DEPM): fix part of bug 1255 and 1256
2115
2116 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2117
2118         * BufferView_pimpl.C (workAreaDispatch): change to use
2119         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2120         that are no mouse related.
2121
2122 2003-08-05  André Pönitz  <poenitz@gmx.net>
2123
2124         * BufferView.[Ch]:
2125         * BufferView_pimpl.[Ch]:
2126         * bufferview_funcs.C:
2127         * text2.C:
2128         * text3.C: rip out "deep update"
2129
2130         * textcursor.[Ch] (last_sel_cursor): remove unused member
2131
2132 2003-08-04  André Pönitz  <poenitz@gmx.net>
2133
2134         * BufferView.[Ch]:
2135         * BufferView_pimpl.[Ch]:
2136         * ParagraphParameters.C:
2137         * bufferview_funcs.C:
2138         * lyx_cb.C:
2139         * lyxfind.C:
2140         * lyxfunc.C:
2141         * text.C:
2142         * text2.C:
2143         * text3.C: replace "complicated" BufferView::update(...) calls with
2144         simpler ones.
2145
2146         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2147
2148 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2149
2150         * Makefile.am (lyx_SOURCES): add paper.h
2151
2152 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2153
2154         * Makefile.am: move things around so that both lyx-qt and
2155         lyx-xforms can be built (according to --with-frontend). Then lyx
2156         is a symbolic link to lyx-[firstfrontend]
2157
2158 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2159
2160         * Always use std::endl with lyxerr
2161
2162 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2163
2164         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2165
2166 2003-08-01  André Pönitz  <poenitz@gmx.net>
2167
2168         * BufferView.[Ch]:
2169         * BufferView_pimpl.[Ch]:
2170         * lyxfunc.C:
2171         * text3.C: merge BufferView::repaint() and BufferView::update()
2172
2173 2003-08-01  José Matos  <jamatos@lyx.org>
2174
2175         * buffer.[Ch]: file_format is no longer a buffer data element.
2176
2177 2003-08-01  André Pönitz  <poenitz@gmx.net>
2178
2179         * BufferView.C:
2180         * lyxtext.h:
2181         * text.C:
2182         * text2.C: make redoParagraph more independent of current cursor
2183
2184         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2185         * text.C:
2186         * text2.C: remove unneeded members
2187
2188 2003-07-30  André Pönitz  <poenitz@gmx.net>
2189
2190         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2191
2192         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2193           create a single function...
2194
2195         * paragraph_funcs.C (moveItem): ... here.
2196
2197         * text.C:
2198           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2199
2200 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2201
2202         * LColor.[Ch]: Add comment and greyedout logical colors.
2203
2204 2003-07-30  André Pönitz  <poenitz@gmx.net>
2205
2206         * tabular.C: don't use Assert too heavily. This crashes where it
2207           shouldn't
2208
2209 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2210
2211         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2212         is disabled (bug 1232)
2213
2214 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2215
2216         * factory.C: limited 'arg' scope
2217
2218 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2219
2220         * factory.C: fixed Note submenu issues
2221
2222 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2223
2224         * factory.C: submenu for Note/Comment/Greyedout
2225
2226 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2227
2228         * lyx_main.C (LyX):
2229         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2230
2231 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2232
2233         * LaTeXFeatures.C:
2234         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2235         greyedout. Patch provided by Jürgen Spitzmüller.
2236
2237 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2238
2239         * kbmap.C (read): fix error message when reading bind files
2240
2241 2003-07-29  Angus Leeming  <leeming@lyx.org>
2242
2243         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2244         certainly does not do what it purports to do. I am doing it, and
2245         us, a favour by killing it.
2246
2247 2003-07-28  José Matos  <jamatos@lyx.org>
2248
2249         * buffer.C (readBody, do_writeFile):
2250         * paragraph.C(readParagraph): \end_document replaces \the_end.
2251
2252 2003-07-29  André Pönitz  <poenitz@gmx.net>
2253
2254         * BufferView.[Ch]:
2255         * BufferView_pimpl.[Ch]:
2256         * lyxfunc.C:
2257         * text2.C:
2258         * text3.C:
2259         * textcursor.[Ch]: remove toggleToggle & Co
2260
2261 2003-07-28  José Matos  <jamatos@fep.up.pt>
2262
2263         * buffer.C (readParagraph):
2264         * params_func (readParToken, readParagraph):
2265         * paragraph.C (write): \layout -> \begin_layout.
2266
2267 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2268
2269         * lyxlex_pimpl.C (setFile): clean up slightly.
2270
2271         * bufferparams.h: add compressed var
2272
2273         * buffer_funcs.C (readFile): adjust for LyXLex change
2274         (newFile): ditto + simplify
2275
2276         * buffer.C (writeFile): handle writing of compressed files
2277
2278         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2279         Check if the file is compressed and set a bufferparm if so.
2280
2281         * Makefile.am (lyx_LDADD): remove explicit -lz
2282
2283 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2284
2285         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2286         makeDocBookFile): put the real LyX version in the first line of
2287         the file
2288
2289         * version.h:
2290         * version.C.in: remove lyx_docversion
2291
2292         * tabular.C (write_attribute): add a template-based version to
2293         write enums properly
2294
2295 2003-07-28  André Pönitz  <poenitz@gmx.net>
2296
2297         * lyxtext.h:
2298         * text.C:
2299         * text2.C:
2300         * text3.C: use doubles again for x-coordinates. They are needed.
2301
2302 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2303
2304         * messages.C (getLocaleDir): use lyx_localedir()
2305
2306         * lyxlex_pimpl.C (setFile): compress stuff
2307
2308         * buffer.C (writeFile): add some compression stuff
2309         (do_writeFile): new func, dont call expliti close... will this
2310         breake anything?
2311
2312         * Makefile.am (lyx_LDADD): add -lz
2313
2314 2003-07-28  José Matos  <jamatos@fep.up.pt>
2315
2316         * buffer.C: increment file format.
2317         * paragraph_funcs (readParagraph, readParToken):
2318         * paragraph.C (readParagraph): add \end_layout.
2319
2320 2003-07-27  Angus Leeming  <leeming@lyx.org>
2321
2322         * Makefile.am: remove special casing for configure-time setting of
2323         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2324
2325         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2326         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2327
2328 2003-07-26  André Pönitz  <poenitz@gmx.net>
2329
2330         * paragraph_func.[Ch]:
2331         * paragraph.C (realizeFont): inline it whereever it is used
2332
2333         * rowpainter.C:
2334         * text.C:
2335         * text2.C:
2336         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2337
2338
2339 2003-07-26  André Pönitz  <poenitz@gmx.net>
2340
2341         *       lyxtext.h:
2342         * text.C:
2343         * text2.C: get rid of LyXText::need_break_row
2344
2345 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2346
2347         * toc.[Ch]: put namespace toc inside namespace lyx
2348
2349         * MenuBackend.C (expandToc2): adjust for lyx::toc
2350         (expandToc): ditto
2351
2352         * lyxfunc.C (dispatch): adjust for lyx::find
2353
2354         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2355         lyx::find instead. Reorganize a bit.
2356         (LyXReplace): rename to replace
2357         (LyXFind): rename to find
2358
2359         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2360         (dispatch): ditto
2361
2362 2003-07-26  André Pönitz  <poenitz@gmx.net>
2363
2364         * text.C (setHeightOfRow): restrict scope of temporary variable
2365
2366         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2367           code (never has been used?)
2368
2369 2003-07-27  Asger Alstrup  <alstrup@local>
2370
2371         * text.C (fill): Optimise algorithm to exploit that we can reuse
2372         the LyXFont for many characters.
2373         (setHeightOfRow): Same thing.
2374         (rowBreakPoint): Same thing.
2375
2376 2003-07-26  Asger Alstrup  <alstrup@local>
2377
2378         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2379
2380         * text.C (singleWidth): Spurious font copying in hot-spot
2381         singleWidth avoided. Reorder tests for arabic for efficiency.
2382
2383         * text.C (fill): handle empty paragraphs better.
2384
2385 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2386
2387         * ispell.C:
2388         * encoding.h: add includes
2389
2390         * lyxrc.C: remove reading of bind files
2391
2392         * lyx_main.C (init): setup bindings and menus only if we have a
2393         gui.
2394
2395         * kbmap.C (read): new method. Do the actual reading of bind
2396         files.
2397
2398         * converter.C (dvipdfm_options):
2399         * bufferparams.C:
2400         * lyxrc.C (read):
2401         (output): adapt PAPER_* enums.
2402
2403         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2404
2405         * bufferparams.h: remove paper-related enums from there
2406
2407         * paper.h: New file. A trivial header file to hold paper-related
2408         enums. It should later expand to contain many paper-related
2409         horrors access.
2410
2411         * lyxrc.C: declare extern displayTranslator
2412
2413 2003-07-27  José Matos  <jamatos@fep.up.pt>
2414
2415         * tabular.[Ch] (linuxdoc): add support for tables and figures
2416         (linuxdoc).
2417
2418 2003-07-27  José Matos  <jamatos@fep.up.pt>
2419
2420         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2421         consistency in both functions.
2422         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2423
2424 2003-07-26  Asger Alstrup  <alstrup@local>
2425
2426         * rowpainter.C (paintRows): Change algorithm to work directly on
2427         the insets rather than asking every character in the document
2428         whether its an inset.
2429
2430 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2431
2432         * buffer.C (openFileWrite): factorize some code
2433
2434 2003-07-26  Angus Leeming  <leeming@lyx.org>
2435
2436         * lyx_cb.C:
2437         * lyx_main.[Ch]: replace occurances of system_tempdir with
2438         os::getTmpDir().
2439
2440 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2441
2442         * rename Inset to InsetOld
2443
2444 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2445
2446         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2447         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2448         which I think is a bit clearer. EDIT is gone, since it was
2449         premature optimisation, and broken for mathed anyway.
2450         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2451         with cursor positioning in insets as well (math insets still do not
2452         work, but that's a different story anyway.) It mysteriously
2453         crashes sometimes with undo in the first paragraph, but I'm fairly
2454         confident that this is a compiler bug.
2455
2456 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2457
2458         * paragraph.C (Paragraph): adjust for new clone return type
2459         (operator==): ditto
2460         (copyIntoMinibuffer): ditto
2461
2462 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2463
2464         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2465         by not having a special case, and always doing a full rebreak of
2466         the document after undo.
2467
2468 2003-07-23  Angus Leeming  <leeming@lyx.org>
2469
2470         * factory.C (createInset): InsetExternal::setParams now takes a
2471         Buffer const * arg.
2472
2473 2003-07-23  Angus Leeming  <leeming@lyx.org>
2474
2475         * factory.C (createInset): changed interface to the external and
2476         graphics mailers' string2params functions.
2477
2478 2003-07-23  Angus Leeming  <leeming@lyx.org>
2479
2480         * factory.C (createInset): pass a
2481         Buffer const * parameter to InsetExternalMailer's string2params.
2482
2483 2003-07-22  John Levon  <levon@movementarian.org>
2484
2485         * Thesaurus.h: include the right aiksaurus header
2486
2487 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2488
2489         * MenuBackend.C (expand): check menu shortcuts unconditionally
2490
2491 2003-07-21  Angus Leeming  <leeming@lyx.org>
2492
2493         * factory.C (createInset): pass a
2494         buffer_path parameter to InsetGraphicsMailer's string2params.
2495
2496 2003-07-21  Angus Leeming  <leeming@lyx.org>
2497
2498         * BufferView_pimpl.C (buffer):
2499         * buffer.C (d-tor):
2500         * lyx_main.C (LyX):
2501         * lyxfunc.C (dispatch):
2502         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2503         rather than the grfx shortcut.
2504
2505 2003-07-21  André Pönitz  <poenitz@gmx.net>
2506
2507         * rowpainter.C: remove unused variables
2508
2509         * tabular_funcs.C:
2510         * tabular_funcs.h: move to tabular.C
2511         * Makefile.am: adjust
2512
2513         * tabular.[Ch]: basic optical cleaning
2514
2515         * author.h: pass references, not values
2516
2517 2003-07-18  André Pönitz  <poenitz@gmx.net>
2518
2519         * lyxtext.h:
2520         * metricsinfo.C:
2521         * metricsinfo.h:
2522         * rowpainter.C:
2523         * text.C:
2524         * text2.C:
2525         * text3.C: two-phase drawing for InsetText and InsetTabular
2526         some float -> int changes.
2527
2528 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2529
2530         * lyx_main.C: fix the fix
2531
2532 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2533
2534         * lyx_main.C: fix a crash in batch mode if no files specified
2535         * converter.C: ws
2536
2537 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2538
2539         * format.[Ch] (papersize): moved to BufferParams
2540         * converter.[Ch] (dvips_options): moved to BufferParams
2541         (dvipdfm_options): moved to anon namespace
2542         * bufferparams.[Ch]: added above functions.
2543
2544 2003-07-17  André Pönitz  <poenitz@gmx.net>
2545
2546         * lyxtext.h:
2547         * rowpainter.C:
2548         * text2.C: don't call inset->update() anymore
2549
2550         * metricsinfo.[Ch]: add convenience constructor
2551
2552 2003-07-16  André Pönitz  <poenitz@gmx.net>
2553
2554         * lyxcursor.[Ch]:
2555         * lyxfunc.[Ch]:
2556         * text.C:
2557         * text2.C: replace the LyXCursor::irow_ member with
2558          on-demand computation of the value
2559
2560 2003-07-16  John Levon  <levon@movementarian.org>
2561
2562         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2563
2564 2003-07-15  André Pönitz  <poenitz@gmx.net>
2565
2566         * text.C:
2567         * text2.C: remove no more needed refresh_row
2568
2569 2003-07-15  André Pönitz  <poenitz@gmx.net>
2570
2571         * lyxtext.h:
2572         * rowpainter.C:
2573         * text2.C:
2574         * text3.C: refresh_status tristate -> need_update bool
2575
2576 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2577
2578         * lyxtext.h (init): remove reinit argument (act as if always true)
2579         * text2.C: adjust to that
2580
2581 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2582
2583         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2584         * text3.C: use it to delete selections in some cases
2585         (bugs 441, 673, 702, 954).
2586
2587 2003-07-14  André Pönitz  <poenitz@gmx.net>
2588
2589         * rowpainter.[Ch]: reduce interface
2590
2591 2003-07-14  André Pönitz  <poenitz@gmx.net>
2592
2593         * BufferView_pimpl.C:
2594         * text2.C: adjust after removing unused BufferView * argument
2595
2596 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2597
2598         * text2.C (init): fix a crash fired on resize
2599
2600 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2601
2602         * buffer.[Ch]: added new closing signal
2603         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2604         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2605         BufferView::Pimpl via the closing the signal
2606
2607 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2608
2609         * buffer.[Ch]: take out all bv-related from buffer
2610         * BufferView.C:
2611         * BufferView_pimpl.[Ch]: connect to new signals
2612         * CutAndPaste.C: removed useless asserts
2613         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2614         * lyxvc.[Ch]:
2615         * vc-backend.[Ch]:
2616         * lyxfunc.C: moved view-related funciontality from vc here
2617         * paragraph.C: removed outdated comments
2618         * text.C: ws
2619
2620 2003-07-10  André Pönitz  <poenitz@gmx.net>
2621
2622         * BufferView_pimpl.C:
2623         * tabular.h:
2624         * tabular_funcs.C:
2625         * text.C:
2626         * text2.C: remove InsetText::InnerCache, clean up consequences
2627
2628 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2629
2630         * ispell.C: fix two typos in error messages
2631
2632 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2633
2634         * Extend Note inset to other forms of annotation like Comment
2635         and Greyedout. Right button click gives dialog.
2636
2637         Files modified or added (+):
2638
2639         * insetnote.[Ch]
2640         * FormNote.[Ch]      +
2641         * ControlNote.[Ch]   +
2642         * form_note.fd       +
2643         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2644         frontends/controllers
2645         * xforms/Dialogs.C
2646         * factory.C
2647
2648 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2649
2650         * aspell.C: add missing namespace lyx::support
2651
2652 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2653
2654         * BufferView.[Ch] (newFile): Add
2655         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2656         * LaTeX.[Ch] (message): added this signal and use it
2657         * buffer.[Ch] (busy, message): added these signals and use them
2658         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2659         * converter.C:
2660         * exporter.C:
2661         * format.C:
2662         * importer.C: use buffer signals instead of direct bv calling
2663         * lyx_cb.[Ch] (ShowMessage): removed
2664         * lyx_main.C:
2665         * lyxfunc.C:
2666         * paragraph_funcs.C:
2667         * text2.C: use buffer signals
2668
2669 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2670
2671         * introduce namespace lyx::graphics
2672
2673 2003-07-02  André Pönitz  <poenitz@gmx.net>
2674
2675         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2676
2677 2003-07-01  André Pönitz  <poenitz@gmx.net>
2678
2679         * text.C:
2680         * text2.C:
2681         * text3.C:
2682         * text_funcs.[Ch]:
2683         * textcursor.h:
2684         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2685           text*.C to text_func.C
2686
2687 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2688
2689         * introduce namespace lyx::support
2690
2691 2003-06-30  André Pönitz  <poenitz@gmx.net>
2692
2693         * Chktex.C:
2694         * funcrequest.C:
2695         * lyxtext.h:
2696         * text.C: re-enable --with-included-string
2697
2698 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2699
2700         * textcursor.C: add <config.h>
2701
2702         * text.C (getWord): remove const from word_location arg
2703
2704         * lyxvc.C (getLogFile): fix const type order
2705
2706         * lyxtext.h: remove const from word_location arg, add arg name
2707
2708         * lyxlayout.h: currect type on labeltype.
2709
2710         * importer.C: correct \file
2711
2712         * converter.C (intToFormat): use std:: on ret val, ws changes
2713
2714         * bufferlist.h: correct \file
2715
2716         * buffer.C (makeLinuxDocFile): fix const type order
2717         (makeDocBookFile): ditto
2718         (fillWithBibKeys): use std:: on stdlib args.
2719
2720         * CutAndPaste.C: fix authors.
2721         (availableSelections): use std:: on return vector
2722
2723 2003-06-27  André Pönitz  <poenitz@gmx.net>
2724
2725         * BufferView_pimpl.C:
2726         * bufferview_funcs.C:
2727         * lyxcursor.C:
2728         * lyxcursor.h:
2729         * lyxfunc.C:
2730         * lyxtext.h:
2731         * rowpainter.C:
2732         * text.C:
2733         * text2.C:
2734         * text3.C: remove LyXCursor::row_ member
2735
2736         * lyxtext.h:
2737         * text.C: rename fullRebreak() to partialRebreak() and implement
2738           a fullRebreak() that really bereks fully
2739
2740         * textcursor.h: new struct for cursor-related data
2741
2742 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2743
2744         * lyx_main.C (LyX): get full path of document loaded on the
2745         command line
2746
2747 2003-06-26  André Pönitz  <poenitz@gmx.net>
2748
2749         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2750           remove unused/broken operator>,<,>=.
2751
2752         *       text.C: remove only use of broken operator<= in an Assert().
2753
2754 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2755
2756         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2757         moved errorlist_.clear to showErrorList
2758
2759 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2760
2761         * converter.C (scanLog, runLaTeX):
2762         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2763         move the bv->showErrorList call to the callers
2764         * lyxfunc.C: i.e. here...
2765         * text2.C: and here
2766         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2767         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2768         namespace, the second to...
2769         * buffer_funcs (BufferFormat, parseErrors): added
2770         * errorlist.C (ErrorList(TeXErrors const &)): removed
2771
2772 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2773
2774         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2775
2776 2003-06-24  "Garst R. Reese" <reese@isn.net>
2777
2778         * debug.C: fix typo
2779
2780 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2781
2782         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2783
2784         * version.C.in: change docversion to 1.4
2785
2786 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2787
2788         * buffer.C: fix a bug just introduced
2789
2790 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2791
2792         * buffer.[Ch]: added the parseError signal and use it, removed
2793         sgmlError
2794         * BufferView.[Ch] (addError): moved to ...
2795         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2796         to the Buffer::parseError signal to catch (guess what) parse errors
2797         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2798
2799 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2800
2801         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2802         ability to create a buffer and to return an existing one from
2803         the list. Moved these functions to...
2804         * buffer_funcs.[Ch]: added
2805         * BufferView.[Ch] (loadLyXFile): added
2806         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2807         job removed from bufferlist::loadLyXFile.
2808         * buffer.C (setReadOnly): make it work without view
2809         (i.e added an if (users))
2810
2811 2003-06-19  Angus Leeming  <leeming@lyx.org>
2812
2813         * lfuns.h:
2814         * LyXAction.C (init):
2815         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2816         with LFUN_DIALOG_SHOW <name> <data>.
2817
2818 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2819
2820         * CutAndPaste.C (availableSelections): small compilation fix for
2821         ancient (gcc 2.9x) compilers
2822
2823 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2824
2825         * text3.C (cursorNext): add tmp var
2826
2827         * text2.C (updateCounters): for function calling out of for clause
2828         (replaceSelectionWithString): ditto
2829         (insertStringAsParagraphs): ditto
2830         (getColumnNearX): add tmp var
2831         (setCursorFromCoordinates): add tmp var
2832         (cursorDownParagraph): add tmp var
2833         (deleteEmptyParagraphMechanism): add tmp var
2834
2835         * text.C (insertChar): add tmp var
2836
2837         * rowpainter.C (paintDepthBar): add tmp var
2838
2839         * CutAndPaste.C (availableSelections): potentially check all
2840         paragraphs in a cut to fill the shown strings.
2841
2842 2003-06-18  André Pönitz  <poenitz@gmx.net>
2843
2844         * kbmap.[Ch]: use vector<> instead of list<>
2845
2846 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2847
2848         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2849         pasteSelection with index
2850
2851         * text2.C (pasteSelection): modify, call pasteSelection with index
2852
2853         * paragraph.C (asString): reimplement version with no interval to
2854         call the one with interval.
2855
2856         * lyxtext.h: add index arg to pasteSelection
2857
2858         * MenuBackend.C (MenuItem): handle PasteRecent
2859         (Menu::read::Menutags): add md_pasterecent
2860         (read): handle it
2861         (expandPasteRecent): new function
2862         (expand): use it
2863
2864         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2865
2866         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2867         the limited stack
2868         (availableSelections): new function
2869
2870 2003-06-17  Angus Leeming  <leeming@lyx.org>
2871
2872         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2873
2874 2003-06-17  Angus Leeming  <leeming@lyx.org>
2875
2876         * lfuns.h:
2877         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2878
2879         * lyxfunc.C (dispatch): invoke it.
2880
2881 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2882
2883         * iterators.C (operator++, ParPosition): reintroduce some
2884         const_cast for the benefit of older compilers.
2885
2886 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2887
2888         * text3.C (dispatch): do not modify clipboard when doing
2889         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2890         LFUN_DELETE_SKIP on a selection selection
2891
2892 2003-06-16  André Pönitz  <poenitz@gmx.net>
2893
2894         * BufferView.C:
2895         * buffer.C:
2896         * buffer.h:
2897         * paragraph.C:
2898         * tabular.[Ch]: IU of clone() and getLabelList();
2899
2900 2003-06-13  André Pönitz  <poenitz@gmx.net>
2901
2902         * tabular.h: compactification
2903
2904 2003-06-12  André Pönitz  <poenitz@gmx.net>
2905
2906         * tabular.C:
2907         * tabular.h:
2908         * tabular_funcs.h: some renaming plus whitespace
2909
2910 2003-06-12  André Pönitz  <poenitz@gmx.net>
2911
2912         * BufferView.C:
2913         * BufferView_pimpl.C:
2914         * CutAndPaste.C:
2915         * buffer.C:
2916         * iterators.[Ch]:
2917         * lyxfunc.C:
2918         * text.C:
2919         * toc.C: Return a Paragraph & for ParIterator::operator*()
2920
2921 2003-06-11  John Levon  <levon@movementarian.org>
2922
2923         * lyx_main.C:
2924         * ToolbarBackend.h:
2925         * ToolbarBackend.C: add "Toolbars" section and
2926         put the flags there
2927
2928 2003-06-10  Angus Leeming  <leeming@lyx.org>
2929
2930         * lfuns.h:
2931         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2932
2933         * lyxfunc.C (dispatch): invoke it.
2934
2935 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2936
2937         * main.C: protect <ios> with HAVE_IOS
2938         (main): protect sync_with_stdio with HAVE_IOS
2939
2940 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2941
2942         * text2.C (cutSelection): adjust
2943         (pasteSelection): adjust
2944
2945         * messages.C: handle get of empty string
2946
2947         * main.C (main): use sync_with_stdio(false)
2948
2949         * lyxfunc.C (dispatch): adjust
2950
2951         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2952         (WriteAs): remove unneeded BufferView arg.
2953
2954         * bufferparams.h: use correct types on papersize, papersize2 and
2955         paperpackage.
2956
2957         * bufferparams.C (readToken): adjust for type
2958         (writeLaTeX): add missing cases to switch.
2959
2960         * bufferlist.C (quitWriteBuffer): adjust
2961         (close): adjust
2962
2963         * buffer.C (asciiParagraph): remove some commented code.
2964
2965         * CutAndPaste.C: remove current_view extern variable.
2966         (cutSelection): add BufferParams arg.
2967         (eraseSelection): add BufferParams arg.
2968         (pasteSelection): add Buffer const & arg
2969
2970 2003-06-07  John Levon  <levon@movementarian.org>
2971
2972         * buffer.C:
2973         * paragraph_funcs.C:
2974         * paragraph_pimpl.C:
2975         * text.C:
2976         * text2.C:
2977         * paragraph.h:
2978         * paragraph.C: allow InsetERT to freely space lines,
2979         and some consolidation of code
2980
2981 2003-06-06  José Matos  <jamatos@fep.up.pt>
2982
2983         * buffer.C (makeDocBookFile): fix bug #821
2984
2985 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2986
2987         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2988
2989 2003-06-04  Angus Leeming  <leeming@lyx.org>
2990
2991         * buffer.C: bump format to 224.
2992
2993 2003-06-05  André Pönitz  <poenitz@gmx.net>
2994
2995         * text2.C (redoParagraphs): remove two const_cast<>
2996
2997 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2998
2999         * ParagraphList.h: remove last remnants of NO_STD_LIST
3000
3001 2003-06-03  Angus Leeming  <leeming@lyx.org>
3002
3003         * factory.C (createInset): small change to the way InsetExternal's params
3004         are set.
3005
3006 2003-06-04  André Pönitz  <poenitz@gmx.net>
3007
3008         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3009
3010         * paragraph_pimpl.h:
3011         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3012
3013         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3014
3015         * undo_funcs.C: make some simple cases of undo work again
3016
3017 2003-06-03  John Levon  <levon@movementarian.org>
3018
3019         * ispell.C: HPUX doesn't have sys/select.h
3020         (from Albert Chin)
3021
3022 2003-06-03  John Levon  <levon@movementarian.org>
3023
3024         * CutAndPaste.C: update tabular and include inset
3025         buffer references
3026
3027         * buffer.h:
3028         * paragraph.h:
3029         * paragraph.C: remove owningBuffer(), don't pass Buffer
3030         to clone()
3031
3032         * factory.C: insetGraphicsParams changed
3033
3034 2003-06-02  John Levon  <levon@movementarian.org>
3035
3036         * LyXAction.C:
3037         * factory.C:
3038         * lfuns.h:
3039         * lyxfunc.C:
3040         * text3.C: remove insetparent
3041
3042 2003-06-02  John Levon  <levon@movementarian.org>
3043
3044         * buffer.h:
3045         * buffer.C: fix inset_iterator.end(), move out of line
3046         (bug 1149)
3047
3048 2003-06-01  John Levon  <levon@movementarian.org>
3049
3050         * text3.C: use a proper cut/paste when doing inset
3051         insert (from Jürgen Spitzmüller)
3052
3053 2003-06-01  John Levon  <levon@movementarian.org>
3054
3055         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3056
3057 2003-05-30  André Pönitz  <poenitz@gmx.net>
3058
3059         * rowpainter.C: unify second drawing phase
3060
3061 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3062
3063         * trans_mgr.C: remove one case of current_view
3064
3065         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3066
3067         * paragraph_funcs.h: remove paragraph.h include
3068
3069         * paragraph.h: delete NO_STD_LIST stuff
3070
3071         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3072
3073         * buffer.h: remove paragraph.h include
3074
3075         * ParagraphList.C: delete file
3076
3077         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3078
3079         * toc.C (getTocList): adjust
3080
3081         * paragraph_pimpl.C (validate): adjust
3082
3083         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3084
3085         * paragraph.C (Paragraph): adjust
3086         (getPositionOfInset): use const_iterator, adjust
3087         (bibitem): use const_iterator, adjust
3088         (setInsetOwner): adjust
3089
3090         * iterators.C (operator++): adjust
3091
3092         * InsetList.[Ch]: Replace selfmade iterator with standard
3093         vector::iterator also introduce const_iterator. Remove getPos,
3094         getInset and setInset from InsetTable. Adjust accordingly.
3095
3096         * BufferView.C (lockInset): adjust
3097         (ChangeInsets): adjust
3098
3099         * tabular.[Ch]: delete commented same_id functions
3100
3101 2003-05-28  John Levon  <levon@movementarian.org>
3102
3103         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3104
3105 2003-05-28  André Pönitz  <poenitz@gmx.net>
3106
3107         * metricsinfo.[Ch]: remove 'fullredraw' member
3108
3109 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3110
3111         * lyxtextclass.C (operator): remove caching.
3112
3113 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3114
3115         * text3.C: adjust
3116
3117         * text2.C (cursorBottom): adjust
3118         (setCounter): use ParagraphList::find, adjust
3119
3120         * text.C (workWidth): use ParagraphList::find, adjust
3121
3122         * lyxcursor.C (LyXCursor): adjust
3123
3124         * buffer.C (inset_iterator): adjust
3125
3126         * ParagraphList.h: make iterator(value_type) private, make
3127         ParagraphList a friend of iterator.
3128
3129         * ParagraphList.C (find): new function
3130
3131         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3132
3133 2003-05-27  André Pönitz  <poenitz@gmx.net>
3134
3135         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3136
3137 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3138
3139         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3140
3141 2003-05-26  John Levon  <levon@movementarian.org>
3142
3143         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3144
3145 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3146
3147         * remove same_id from function signatures, adjust.
3148
3149 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3150
3151         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3152
3153         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3154
3155         * paragraph.C (Paragraph): get rid of same_ids parameter
3156
3157         * ParagraphList.C (insert): adjust
3158         (push_back): adjust
3159
3160 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3161
3162         * paragraph_funcs.C (breakParagraph): adjust
3163         (breakParagraphConservative): adjust
3164
3165         * buffer.C (readParagraph): adjust
3166
3167         * ParagraphList.C (insert): take a reference instead of a pointer
3168         (insert): adjust
3169
3170         * paragraph.[Ch] (id): new function
3171
3172         * bufferlist.C (newFile): adjust
3173
3174         * ParagraphList.C (ParagraphList): adjust
3175         (assign): adjust
3176         (push_back): take a reference instead of a pointer.
3177
3178         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3179
3180         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3181         instead.
3182
3183         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3184         set else use old code.
3185
3186         * ParagraphList.C: remove all NO_NEXT code and only compile this
3187         code of NO_STD_LIST is set.
3188
3189 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3190
3191         * BufferView_pimpl.C:
3192         * TextCache.C:
3193         * TextCache.h:
3194         * bufferlist.C:
3195         * errorlist.h:
3196         * format.C:
3197         * format.h:
3198         * graph.C:
3199         * lyxfunc.C:
3200         * lyxrc.C:
3201         * graphics/GraphicsConverter.C:
3202         * graphics/PreviewLoader.C: header adjustment
3203
3204 2003-05-23  Angus Leeming  <leeming@lyx.org>
3205
3206         * LaTeXFeatures.[Ch] (useBabel): new method.
3207         * bufferparams.C (writeLaTeX): use it.
3208
3209 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3210
3211         * ParagraphList.h (set): remove unused function.
3212
3213 2003-05-23  André Pönitz  <poenitz@gmx.net>
3214
3215         * BufferView.C:
3216         * BufferView_pimpl.C:
3217         * buffer.C:
3218         * buffer.h:
3219         * lyxfunc.C:
3220         * undo_funcs.C: setUndo reworked
3221
3222         * iterators.[Ch]: add access to topmost ParagraphList
3223
3224         * lyxtext.[Ch] (workWidth): add a const
3225
3226 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3227
3228         * texrow.[Ch] (increasePos): remove function
3229         * exporter.C (export): removed unused var and outdated comment
3230
3231 2003-05-23  Angus Leeming  <leeming@lyx.org>
3232
3233         * latexrunparams.h: rename fragile as moving_arg.
3234         * paragraph.C (simpleTeXOnePar): ditto.
3235         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3236
3237 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3238
3239         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3240         (createUndo): ditto
3241         (textUndoOrRedo): comment out a currently unused var.
3242
3243         * paragraph.h (NO_NEXT): enable NO_NEXT
3244
3245         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3246
3247         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3248
3249         * exporter.C (Export): adjust for removeAutoInsets removal.
3250
3251         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3252
3253         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3254
3255         * BufferView.[Ch] (removeAutoInsets): delete function
3256
3257 2003-05-22  Angus Leeming  <leeming@lyx.org>
3258
3259         * latexrunparams.h: add a free_spacing variable.
3260
3261         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3262         to pass moving_arg, as the data is stored in runparams.fragile.
3263
3264         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3265         to Inset::latexOptional or to simpleTeXOnePar.
3266
3267         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3268         free_spacing arg to Inset::latexOptional.
3269
3270         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3271         free_spacing arg.
3272
3273 2003-05-22  Angus Leeming  <leeming@lyx.org>
3274
3275         * latexrunparams.h: add fragile and use_babel variables.
3276
3277         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3278         * buffer.C (makeLaTeXFile): store this returned value in
3279         runparams.use_babel, thus passing it to the inset::latex methods.
3280
3281         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3282         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3283
3284         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3285         longer has a fragile arg, as it is stored in runparams.fragile.
3286
3287         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3288         moving_arg parameter as the data is stored in runparams.fragile.
3289
3290         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3291         a fragile parameter as the data is stored in runparams.fragile.
3292
3293 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3294
3295         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3296
3297 2003-05-22  Angus Leeming  <leeming@lyx.org>
3298
3299         * latexrunparams.h: add a 'bool nice' which defaults to false.
3300
3301         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3302         now encapsulated within runparams.
3303
3304         * bufferlist.C (updateIncludedTeXfiles):
3305         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3306
3307 2003-05-22  Angus Leeming  <leeming@lyx.org>
3308
3309         * latexrunparams.h: new file containing struct LatexRunParams.
3310         * Makefile.am: add new file.
3311
3312         * LaTeX.[Ch] (c-tor, run):
3313         * buffer.[Ch] (makeLaTeXFile):
3314         * bufferlist.[Ch] (updateIncludedTeXfiles):
3315         * converter.C (convert, scanLog):
3316         * converter.[Ch] (runLaTeX):
3317         * exporter.C (Export):
3318         * paragraph.[Ch] (simpleTeXOnePar):
3319         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3320         * paragraph_funcs.[Ch] (latexParagraphs):
3321         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3322         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3323         pass around a LatexRunParams parameter.
3324
3325 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3326
3327         * paragraph.[Ch]: remove unused constructor
3328
3329         * ParagraphList.C (erase): new function, taking two iterators
3330
3331 2003-05-22  André Pönitz  <poenitz@gmx.net>
3332
3333         * undo_funcs.C: remove duplicated code
3334
3335         * iterator.[Ch]: operator=
3336
3337 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3338
3339         * tabular.C (SetMultiColumn): ws changes
3340
3341         * rowpainter.C (paintFirst): get rid of a ->previous
3342
3343         * lyx_cb.C (getPossibleLabel): parlist simplification
3344
3345         * BufferView.C (ChangeInsets): simplify slightly.
3346
3347 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3348
3349         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3350         * lfuns.h: new LFUN_SPACE
3351         * lyxfunc.C: protected space has a new lfun
3352         * paragraph_funcs.C: read new space insets
3353         * text3.C:
3354         * factory.C: handle new space insets
3355
3356 2003-05-22  André Pönitz  <poenitz@gmx.net>
3357
3358         * BufferView.C:
3359         * BufferView_pimpl.C:
3360         * buffer.[Ch]:
3361         * lyxfunc.C:
3362         * undo_funcs.C: return a ParIterator from getParFromID.
3363
3364         * iterators.[Ch]: add two const's
3365
3366 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3367
3368         * toc.C (getTocList): adjust
3369
3370         * iterators.[Ch]: rework for parlist
3371
3372         * buffer.C (par_iterator_begin): adjust
3373         (par_iterator_end): adjust
3374
3375         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3376
3377         * BufferView.C (removeAutoInsets): adjust
3378         (ChangeInsets): adjust
3379
3380 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3381
3382         * text.C (top_y): fix bug 1110
3383
3384 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3385
3386         * errorlist.[Ch]: added
3387         * buffer.C:
3388         * BufferView.[Ch]:
3389         * BufferView_pimpl.C:
3390         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3391         instead
3392
3393 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3394
3395         * Makefile.am: ensure that lyx is relinked upon changes to the
3396         various "convenience" libs.
3397
3398 2003-05-20  Angus Leeming  <leeming@lyx.org>
3399
3400         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3401         files are compiled in alphabetical order again.
3402
3403         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3404
3405 2003-05-19  Angus Leeming  <leeming@lyx.org>
3406
3407         * gettext.[Ch]: remove "char const * _(char const *)".
3408
3409 2003-05-19  André Pönitz  <poenitz@gmx.net>
3410
3411         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3412
3413         * Makefile.am:
3414         * BufferView.C:
3415         * DepTable.h:
3416         * LaTeXFeatures.C:
3417         * buffer.C:
3418         * lyxfont.C:
3419         * lyxlex.h:
3420         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3421
3422 2003-05-19  André Pönitz  <poenitz@gmx.net>
3423
3424         * buffer.C:
3425         * lyxlayout.[Ch]:
3426         * lyxtextclass.[Ch]:
3427         * paragraph.C:
3428         * paragraph_funcs.[Ch]:
3429         * text2.C:
3430         * text3.C: more insetenv work
3431
3432 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3433
3434         * ParagraphParameters.C (params2string): small bug fixed
3435
3436 2003-05-16  André Pönitz  <poenitz@gmx.net>
3437
3438         * debug.C:
3439         * bufferview_funcs.C: patch from Kornel Benko to prevent
3440           crash when _(...) is called twice in a statement
3441
3442 2003-05-16  André Pönitz  <poenitz@gmx.net>
3443
3444         * BufferView.C:
3445         * lyxfunc.C:
3446         * text.C:
3447         * text2.C:
3448         * text3.C:
3449         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3450
3451 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3452
3453         * lyx_main.C (init): remove spurious static_cast
3454
3455 2003-05-14  André Pönitz  <poenitz@gmx.net>
3456
3457         * BufferView.C: fix format string
3458
3459 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3460
3461         * BufferView.[Ch] (insertErrors): removed
3462         * BufferView.[Ch] (showErrorList): added
3463         * buffer.C (runChkTeX):
3464         * converter.C (scanLog): call showErrorList instead of inserterrors
3465
3466 2003-05-13  André Pönitz  <poenitz@gmx.net>
3467
3468         * BufferView_pimpl.C:
3469         * buffer.C:
3470         * bufferview_func.C:
3471         * MenuBackend.C:
3472         * lyxfunc.C:
3473         * lyxrc.C:
3474         * tex-accent.C:
3475         * text3.C:
3476         * toc.C:
3477         * tabular_funcs.h: tostr() from its own header
3478
3479         * ParagraphParameters.C:
3480         * ToolbarBackend.C:
3481         * bufferparams.C:
3482         * format.C:
3483         * lyxlex_pimpl.C:
3484         * text3.C: STRCONV()
3485
3486 2003-05-12  André Pönitz  <poenitz@gmx.net>
3487
3488         * BufferView.C:
3489         * BufferView_pimpl.C:
3490         * CutAndPaste.C:
3491         * LaTeX.C:
3492         * LaTeXFeatures.C:
3493         * ParagraphParameters.C:
3494         * buffer.C:
3495         * bufferlist.C:
3496         * bufferparams.C:
3497         * bufferview_funcs.C:
3498         * converter.C:
3499         * counters.C:
3500         * debug.C:
3501         * exporter.C:
3502         * format.C:
3503         * importer.C:
3504         * lyx_cb.C:
3505         * lyx_main.C:
3506         * lyxfont.C:
3507         * lyxfunc.C:
3508         * lyxvc.C:
3509         * paragraph.C:
3510         * paragraph_funcs.C:
3511         * tabular.C:
3512         * tabular_funcs.C:
3513         * text2.C:
3514         * text3.C:  boost::format -> bformat  all over the place
3515
3516
3517 2003-05-09  André Pönitz  <poenitz@gmx.net>
3518
3519         * LColor.[Ch]: Pimpl the #include <map> away
3520
3521 2003-05-09  John Levon  <levon@movementarian.org>
3522
3523         * bufferlist.C: never remove emergency saves
3524
3525 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3526
3527         * Makefile.am: better lib building
3528
3529 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3530
3531         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3532         instead.
3533         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3534         (simpleTeXSpecialChars): adjust
3535         (simpleTeXSpecialChars): adjust
3536         * paragraph.C (simpleTeXOnePar): adjust
3537         * buffer.C (makeLaTeXFile): adjust
3538
3539         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3540
3541         * text2.C (changeDepth): parlist cleanup
3542         (getColumnNearX): ditto
3543
3544         * rowpainter.C (getLabelFont): parlist cleanup
3545
3546         * bufferlist.C (newFile): parlist cleanup
3547
3548         * CutAndPaste.C (eraseSelection): parlist cleanup
3549
3550         * BufferView_pimpl.C (trackChanges): parlist cleanup
3551         (dispatch): ditto
3552
3553         * BufferView.C (lockInset): parlist cleanup.
3554         (ChangeInsets): ditto
3555
3556 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3557
3558         * CutAndPaste.h: Update file header.
3559
3560         * CutAndPaste.C: Update file header.
3561         Store the parts cut out of the Document in a limited_stack.
3562         (copySelection): adjust
3563         (pasteSelection): new function, takes the index in the limited stack.
3564         (nrOfParagraphs): adjust
3565         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3566         simplify error inset insertion.
3567         (checkPastePossible): adjust
3568
3569 2003-05-06  John Levon  <levon@movementarian.org>
3570
3571         * text2.C: don't cast wrap inset to float
3572
3573 2003-05-05  André Pönitz  <poenitz@gmx.net>
3574
3575         * iterator.C:
3576         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3577
3578         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3579           few naked Paragraph *.
3580
3581 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3582
3583         * bufferparams.C: Output warning if a document with missing
3584         TeX document class is loaded
3585         * exporter.C: Disable TeX exports if the document class is missing
3586         * lyxtextclass.C:
3587         * lyxtextclass.h:
3588         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3589         isTeXClassAvailable()
3590
3591 2003-05-03  John Levon  <levon@movementarian.org>
3592
3593         * BufferView.h:
3594         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3595         explicit cursor show/hide
3596
3597         * BufferView_pimpl.h:
3598         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3599         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3600
3601         * lyxfunc.C: hide cursor before dispatching.
3602
3603         * lyx_cb.C:
3604         * lyxfind.C:
3605         * text.C:
3606         * text3.C: remove explicit cursor hides
3607
3608 2003-05-02  André Pönitz  <poenitz@gmx.net>
3609
3610         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3611
3612         * undo_funcs.C:
3613         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3614           linked lists
3615
3616         * text2.C: tiny whitespace
3617
3618 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3619
3620         * undo_funcs.C: almost only ws changes.
3621
3622         * ParagraphList.C (splice): just return if pl is empty.
3623
3624 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3625
3626         * ParagraphList.C (splice): new function.
3627
3628         * CutAndPaste.C (pasteSelection): use it
3629
3630 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3631
3632         * CutAndPaste.C (pasteSelection): remove the last next and
3633         previous from this file.
3634
3635 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3636
3637         * CutAndPaste.C (pasteSelection): more clean up, user proper
3638         ParagraphList functions for pasteing.
3639
3640         * ParagraphList.C (insert): new function, three arg insert
3641
3642 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3643
3644         * ParagraphList.C (insert): new function, three arg insert
3645
3646         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3647         not on paragraphs.
3648
3649 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3650
3651         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3652
3653 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3654
3655         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3656
3657 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3658
3659         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3660         (copySelection): clean up a bit.
3661         (pasteSelection): use make_pair
3662
3663         * ParagraphList.C (ParagraphList): implement copy constructor
3664         (operator=): implement, base on copy constructor.
3665         (assign): new func
3666
3667         * paragraph.C (erase): return a bool
3668
3669         * paragraph_pimpl.C (erasePos): remove function, move contents...
3670         (erase): ... here. Return a bool.
3671         (erase): call erase instead of erasePos.
3672
3673 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3674
3675         * ParagraphList.h: define PitPosPair
3676         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3677         ParagraphList, fix a bug on pasting multiple pars
3678         * text2.C: change interface to C&P
3679
3680 2003-04-30  André Pönitz  <poenitz@gmx.net>
3681
3682         * undo_func.C: revert part of yesterday's patch 2
3683
3684 2003-04-30  John Levon  <levon@movementarian.org>
3685
3686         * LColor.C: s/tabular/table/
3687
3688 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3689
3690         * text3.C (dispatch): do not convert iterator -> pointer
3691         * undo_funcs.C (setCursorParUndo): ditto
3692         * text_funcs.C (transposeChars): ditto
3693
3694         * text2.C (setLayout): ws changes only
3695
3696         * text.C (breakParagraph): do not convert iterator -> pointer
3697         (insertChar): ditto
3698         (acceptChange): ditto
3699         (rejectChange): ditto
3700         (changeCase): ditto
3701         (Delete): ditto
3702         (backspace): ditto
3703
3704         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3705         pointer
3706
3707 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3708
3709         * text3.C (gotoInset): YABG (yet another bad getChar)
3710
3711 2003-04-29  André Pönitz  <poenitz@gmx.net>
3712
3713         * paragraph.h: make operator= private unimplemented as long as
3714           it is unusable
3715
3716         * ParagraphList.C: whitespace
3717
3718         * paragraph.[Ch]:
3719         * paragraph_pimpl.[Ch]:
3720         * paragraph_funcs.C:
3721         * CutAndPaste.C:
3722         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3723
3724         * text2.C:
3725           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3726
3727 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3728
3729         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3730         * paragraph.[Ch] (erase):
3731         * paragraph_pimpl.[Ch] (erase): change return type and value
3732         * text2.C (cutSelection): some rework
3733
3734 2003-04-28  John Levon  <levon@movementarian.org>
3735
3736         * bufferlist.C: changes for unsaved changes dialog
3737
3738 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3739
3740         * bufferlist.C (newFile): set language (messages_) for new
3741         documents also.
3742
3743         * buffer.C (readFile): ws changes only.
3744
3745 2003-04-28  André Pönitz  <poenitz@gmx.net>
3746
3747         * undo_funcs.C:
3748         * lyxfunc.C:
3749         * buffer.[Ch]:
3750         * BufferView_pimpl.C:
3751         * BufferView.C: getParFromID related ParagraphList::iterator changes
3752
3753 2003-04-28  André Pönitz  <poenitz@gmx.net>
3754
3755         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3756           Changes
3757
3758 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3759
3760         * messages.C: remove one more localedir class variable.
3761
3762 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3763
3764         * messages.C (getLocaleDir): singleton generation function
3765         (Pimpl): use it.
3766         (Messages): add a default constructor.
3767
3768         * main.C (main): do not setup localedir here, do not call
3769         gettext_init.
3770
3771         * gettext.C (_): use it.
3772         (gettext_init): delete funciton
3773
3774 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3775
3776         * gettext.C (getLyXMessages): new singleton generating function.
3777
3778         * buffer.C (updateDocLang): adjust
3779
3780         * Makefile.am (messages.o): add target
3781         (main.o): remove target
3782
3783 2003-04-27  John Levon  <levon@movementarian.org>
3784
3785         * bufferlist.C:
3786         * lyx_cb.C:
3787         * lyxfunc.C:
3788         * lyxvc.C: specify cancel button in Alert::prompt
3789
3790 2003-04-26  John Levon  <levon@movementarian.org>
3791
3792         * text3.C:
3793         * lyxfunc.C:
3794         * lfuns.h:
3795         * LyXAction.C: add LFUN_INSET_SETTINGS
3796
3797         * lyxfunc.C: don't enable tabular-feature when there's
3798         just any locking inset
3799
3800 2003-04-26  John Levon  <levon@movementarian.org>
3801
3802         * bufferlist.C: re-add Cancel to buffer close question
3803
3804         * lyxfunc.C: fix import UI a bit
3805
3806 2003-04-25  John Levon  <levon@movementarian.org>
3807
3808         * gettext.C: remove the broken asserts for now
3809
3810 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3811
3812         * messages.C: make case where setlocale cannot comply work better.
3813
3814         * buffer.C (updateDocLang): new function
3815         (changeLanguage): use it
3816         (readFile): use it
3817
3818         * text2.C (setCounter): use B_ a bit.
3819
3820         * lyxlayout.C (Read): be sure to trim the label strings.
3821
3822         * messages.C (Messages): fix typo in comment
3823
3824         * buffer.C (readFile): set message_ after file is loaded.
3825         (makeDocBookFile): remove double return
3826         (changeLanguage): reset message_ upon language change.
3827         (B_): new func, use this to get translated buffer strings.
3828
3829         * main.C: add myself and Jean Marc as authors.
3830
3831 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3832
3833         * messages.[hC]: pimplify Messages, and three different pimpls to be
3834         used in different circumstances.
3835
3836         * gettext.[Ch]: change for use with new message code.
3837
3838 2003-04-24 André Pönitz <poenitz@gmx.net>
3839
3840         * factory.C: support for eqref
3841
3842 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3843
3844         * messages.[Ch]: add missing char
3845
3846         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3847
3848         * messages.[Ch]: New files
3849
3850 2003-04-18  John Levon  <levon@movementarian.org>
3851
3852         * BufferView.h:
3853         * BufferView.C:
3854         * BufferView_pimpl.C:
3855         * lfuns.h:
3856         * LyXAction.C:
3857         * lyxtext.h:
3858         * text2.C: remove layout-copy/paste (bug 778)
3859
3860 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3861
3862         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3863
3864 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3865
3866         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3867         if they succeed. Act accordingly.
3868
3869 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3870
3871         * text2.C (setCharFont): adjust
3872         (setCounter): adjust
3873         (insertStringAsLines): adjust
3874
3875         * text.C (leftMargin): adjust
3876         (setHeightOfRow): adjust
3877
3878         * rowpainter.C (paintFirst): adjust
3879         (paintLast): adjust
3880
3881         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3882         (outerHook): ditto
3883         (isFirstInSequence): ditto
3884         (getEndLabel): ditto
3885         (outerFont): adjust
3886
3887         * paragraph.C (getParLanguage): comment out some hard stuff.
3888
3889         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3890         (sgmlError): ditto
3891         (simpleDocBookOnePar): ditto
3892         (makeDocBookFile): use ParagraphList::iterator
3893
3894         * CutAndPaste.C (pasteSelection): adjust
3895
3896 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3897
3898         * text2.C (getFont): adjust
3899         (getLayoutFont): adjust
3900         (getLabelFont): adjust
3901
3902         * paragraph_funcs.C (TeXOnePar): adjust
3903
3904         * buffer.C (simpleLinuxDocOnePar): adjust
3905         (simpleDocBookOnePar): adjust
3906
3907         * CutAndPaste.C (pasteSelection): adjust
3908
3909         * BufferView.C (getEncoding): adjust
3910
3911         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3912
3913 2003-04-16  John Levon  <levon@movementarian.org>
3914
3915         * lyxfind.C: use parlist stuff for search/changes
3916
3917 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3918
3919         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3920
3921         * text2.C (deleteEmptyParagraphMechanism): adjust
3922
3923         * text2.[Ch] (ownerParagraph): delete func (both of them
3924
3925 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3926
3927         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3928
3929 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3930
3931         * ParagraphList.C: prepare for NO_NEXT
3932
3933 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3934
3935         * text2.C (getFont): adjust
3936         (getLayoutFont): adjust
3937         (getLabelFont): adjust
3938
3939         * paragraph.C (getFont): adjust
3940         (getLabelFont): adjust
3941         (getLayoutFont): adjust
3942
3943         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3944
3945 2003-04-15  John Levon  <levon@movementarian.org>
3946
3947         From Angus Leeming
3948
3949         * lyx_main.C: handle Include in .ui files
3950
3951 2003-04-15  John Levon  <levon@movementarian.org>
3952
3953         * MenuBackend.C: make the doc files length shorter
3954
3955         * ToolbarBackend.h:
3956         * ToolbarBackend.C: handle toolbar placement flags,
3957         Minibuffer
3958
3959 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3960
3961         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3962         adjust
3963
3964         * paragraph_funcs.C (TeXOnePar): adjust
3965
3966         * paragraph.C (getLabelFont): add outerfont arg, adjust
3967         (getLayoutFont): ditto
3968         (simpleTeXOnePar): adjust
3969
3970         * paragraph_pimpl.C (realizeFont): delete func
3971
3972 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3973
3974         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3975         row argument, constify cur argument.
3976
3977 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3978
3979         * text2.C (getFont): adjust
3980         (getLayoutFont): adjust
3981         (getLabelFont): adjust
3982
3983         * paragraph_funcs.C (TeXOnePar): adjust
3984         (outerFont): new func...
3985         (realizeFont): ...moved out from here, changed this to facilitate
3986         transition
3987
3988         * paragraph.C (getFont): take outerfont as arg, adjust
3989         (simpleTeXOnePar): add outerfont arg, adjust
3990
3991         * buffer.C (simpleLinuxDocOnePar): adjust
3992         (simpleDocBookOnePar): adjust
3993
3994         * CutAndPaste.C (pasteSelection): adjust
3995
3996         * BufferView.C (getEncoding): adjust
3997
3998 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3999
4000         * text2.C (setCharFont): adjust
4001         (setCounter): adjust
4002
4003         * text.C (leftMargin): adjust
4004         (setHeightOfRow): adjust
4005
4006         * rowpainter.C (paintFirst): adjust
4007         (paintLast): adjust
4008
4009         * paragraph_pimpl.C (realizeFont): adjust
4010
4011         * paragraph.C (isFirstInSequence): move from here...
4012         * paragraph_funcs.C (isFirstInSequence): ...to here
4013
4014         * paragraph.C (outerHook): move from here...
4015         * paragraph_funcs.C (outerHook): ...to here
4016
4017         * paragraph.C (depthHook): move from here...
4018         * paragraph_funcs.C (depthHook): ...to here
4019
4020         * paragraph.C (getEndLabel): move from here...
4021         * paragraph_funcs.C (getEndLabel): ...to here
4022
4023         * text2.C (realizeFont): move from here...
4024         * paragraph_funcs.C (realizeFont): ...to here
4025
4026 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4027
4028         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4029
4030 2003-04-14  Angus Leeming  <leeming@lyx.org>
4031
4032         * LColor.[Ch]: scrap LColor mathcursor.
4033
4034 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4035
4036         * lyxlex.[Ch] (text): delete function
4037         * trans.C (Load): adjust
4038         * paragraph_funcs.C (readParToken): adjust
4039
4040 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4041
4042         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4043         vector<char> instead of a char[].
4044
4045         * lyxlex_pimpl.C (getString): adjust
4046         (next): adjust
4047         (lex): use getString
4048         (eatLine): adjust
4049         (nextToken): adjust
4050
4051         * lyxlex.C (text): use pimpl_->getString()
4052         (getBool): ditto
4053         (findToken): ditto
4054
4055 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4056
4057         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4058         (makeFontEntriesLayoutSpecific): temp var for par.size()
4059         (setLayout): temp var for ownerParagraphs().end()
4060         (fullRebreak): temp var for rows().end()
4061         (selectionAsString): temp var for boost::next(startpit), realize
4062         that the while really is a regular for loop.
4063         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4064         setCursor in one place.
4065         (setParagraph): temp vr for ownerParagraphs().end()
4066         (updateCounters): make the while loop a for loop
4067         (cutSelection): temp var for ownerParagraphs().end()
4068         (updateInset): make the do {} while() a regular for loop
4069         (getCursorX): use temp vars
4070         (setCurrentFont): use temp vars
4071         (getColumnNearX): use temp vars
4072
4073 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4074
4075         * text.C (transformChar): use temp var for getChar
4076         (computeBidiTables): use temp var for row->par()
4077         (fill): move temp vars for row->par() and pit->layout() earlier in
4078         the function.
4079         (labelFill): use temp var for row->par()
4080         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4081         asc and desc, realize that pit never changes and that firstpit is
4082         just a duplicate and not needed. Exchange rit->par() with pit in a
4083         lot of places.
4084         (breakAgain): use a temp var for boost::next(rit)
4085         (breakAgainOneRow): ditto
4086         (breakParagraph): use a temp var for rows().begin()
4087         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4088         (cursorRightOneWord): use temp var for cursor.par() and
4089         cursor.pos(), remove usage of tmpcursor.
4090         (cursorLeftOneWord): use temp var for cursor.par() and
4091         cursor.pos() only set cur at end of function.
4092
4093 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4094
4095         * text.C, text2.C: exchange all usage of Paragraph::next with
4096         boost::next(ParagraphList::iterator)
4097
4098         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4099
4100         * text2.C (cursorTop): simplify implementation
4101         (cursorBottom): ditto
4102         (setParagraph): use ParagraphList::iterator
4103         (setCurrentFont): adjust
4104         (getColumnNearX): adjust
4105         (cursorRight): adjust
4106         (cursorLeft): remove usage of Paragraph::previous
4107         (cursorUpParagraph): ditto
4108         (deleteEmptyParagraphMechanism): slight cleanup
4109
4110         * text.C (isBoundary): take a Paragraph const & instead of a
4111         pointer as arg.
4112         (addressBreakPoint): ditto
4113         (leftMargin): remove usage of Paragraph::previous.
4114         (setHeightOfRow): ditto
4115         (cursorLeftOneWord): ditto
4116         (selectNextWordToSpellcheck): ditto
4117         (Delete): ditto
4118         (backspace): ditto
4119         (breakParagraph): remove one usage of Paragraph::next
4120         (redoParagraph): ditto
4121         (acceptChange): ditto
4122         (insertChar): adjust
4123         (rowBreakPoint): adjust
4124
4125         * bufferview_funcs.C (toggleAndShow): adjust
4126
4127 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4128
4129         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4130         methods to access it.
4131         * lyxtext.h:
4132         * text.C: Added updateRowPositions to compute all row positions.
4133         Make top_y and getRowNearY() to use the cached y position
4134
4135 2003-04-11  John Levon  <levon@movementarian.org>
4136
4137         * text.C (rowBreakPoint): reintroduce the labelEnd
4138         checks, code copied from the row fill stuff. Deep voodoo.
4139
4140         * text.C (fill): add a comment and debugging for the
4141         next poor soul.
4142
4143 2003-04-11  John Levon  <levon@movementarian.org>
4144
4145         * text.C: make sure fullrow insets get wrapped to the next line,
4146         even when they're in a manual label
4147
4148 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4149
4150         * text2.C (insertParagraph): make it take ParagraphList::iterator
4151         as arg.
4152         (setLayout): make it return ParagraphList::iterator
4153         (redoParagraphs): ditto
4154         (setCounter): ditto
4155         (checkParagraph): ditto
4156
4157         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4158
4159         * text2.C: adjust several funcs.
4160         (realizeFont): take a ParagraphList::iterator as arg.
4161         (getLayoutFont): ditto
4162         (getLabelFont): ditto
4163         (setCharFont): ditto
4164
4165         * text.C: adjust several funcs.
4166
4167 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4168
4169         * text.C (selectNextWordToSpellcheck): don't accidentally
4170         skip insets
4171
4172 2003-04-10  John Levon  <levon@movementarian.org>
4173
4174         * ToolbarBackend.C (getIcon): special handling for
4175         LFUN_MATH_DELIM
4176
4177 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4178
4179         * text2.C (cursorRight): a getChar assert fixed
4180
4181 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4182
4183         * text2.C (getFont): change to take a ParagraphList::iterator
4184         instead of Paragraph*
4185         Adjust several functions.
4186
4187         * text.C (transformChar): change to take a ParagraphList::iterator
4188         instead of Paragraph*
4189         (singleWidth): ditto
4190         Adjust several functions.
4191
4192         * rowpainter.C: adjust several functions
4193         * rowpainter.h:store a ParagraphList::iterator and not a
4194         Paragraph&.
4195
4196
4197 2003-04-09  John Levon  <levon@movementarian.org>
4198
4199         * lyxfunc.C:
4200         * lfuns.h:
4201         * LyXAction.h:
4202         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4203         and the "help" bits as well
4204
4205 2003-04-09  John Levon  <levon@movementarian.org>
4206
4207         * ToolbarBackend.h:
4208         * ToolbarBackend.C: allow multiple toolbars
4209
4210 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4211
4212         * undo_funcs.C (setCursorParUndo): adjust
4213
4214         * text_funcs.C (transposeChars): adjust
4215
4216         * text3.C (gotoNextInset): adjust
4217         (dispatch): adjust
4218
4219         * text2.C (setLayout): adjust
4220         (changeDepth): adjust
4221         (setFont): adjust
4222         (redoParagraphs): adjust
4223         (selectionAsString): adjust
4224         (setParagraph): adjust
4225         (insertInset): adjust
4226         (cutSelection): adjust
4227         (copySelection): adjust
4228         (pasteSelection): adjust
4229         (insertStringAsLines): adjust
4230         (updateInset): adjust
4231         (setCursor): change to take a ParagraphList::iterator parameter
4232         (setCursorIntern): change to take a ParagraphList::iterator parameter
4233         (setCurrentFont): adjust
4234         (cursorLeft): adjust
4235         (cursorRight): adjust
4236         (deleteEmptyParagraphMechanism): adjust
4237
4238         * text.C (breakParagraph): adjust
4239         (insertChar): adjust
4240         (acceptChange): adjust
4241         (rejectChange): adjust
4242         (selectNextWordToSpellcheck): adjust
4243         (changeCase): adjust
4244         (Delete): adjust
4245         (backspace): adjust
4246
4247         * lyxfind.C (SearchForward): adjust
4248         (SearchBackward): adjust
4249         (nextChange): adjust
4250
4251         * lyxcursor.C (par): adjust
4252
4253         * lyxcursor.h: store a ParagraphList::iterator instead of a
4254         Paragraph*
4255
4256         * lyx_cb.C (getPossibleLabel): adjust
4257
4258         * bufferview_funcs.C (toggleAndShow): adjust
4259
4260         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4261         (dispatch): adjust
4262
4263         * BufferView.C (removeAutoInsets): adjust
4264         (lockedInsetStoreUndo): adjust
4265
4266 2003-04-09  John Levon  <levon@movementarian.org>
4267
4268         * ToolbarBackend.C: try icon without argument
4269         if with argument fails
4270
4271 2003-04-08  John Levon  <levon@movementarian.org>
4272
4273         * ToolbarBackend.h:
4274         * ToolbarBackend.C: add getIcon(), handle tooltip,
4275         and change from "Icon" to "Item".
4276
4277 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4278
4279         * BufferView.C (lockInset): another bad getchar crunched
4280
4281 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4282
4283         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4284         again)
4285
4286 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4287
4288         * lyxfind.C (searchForward, searchBackwards): bug 782
4289
4290 2003-04-07  John Levon  <levon@movementarian.org>
4291
4292         * paragraph.C: remove dead comment
4293
4294         * text.C: remove troublesome depth-fiddling code
4295         in leftMargin() and rightMargin() (bug 1017)
4296
4297         * text.C: fix breaking of rows in nested lists
4298         (bug 1004)
4299
4300         * text2.C (updateCounters): fix up depth values
4301         (bug 1013)
4302
4303 2003-04-07  John Levon  <levon@movementarian.org>
4304
4305         * BufferView_pimpl.C: clear message when doc finishes resizing,
4306         and after a mouse event
4307
4308         * lyxfunc.C: clear message after exiting inset
4309
4310 2003-04-07  John Levon  <levon@movementarian.org>
4311
4312         * bufferview_funcs.C: show math status not outside
4313         status in the statusbar
4314
4315 2003-04-07  John Levon  <levon@movementarian.org>
4316
4317         * lyxfunc.C: note status changed after a depth change
4318
4319 2003-04-04  Angus Leeming  <leeming@lyx.org>
4320
4321         * LaTeX.h: move AuxInfo operator==, != out of line.
4322         Remove LaTeX virtual destructor; nothing derives from it.
4323         Move operator()() out of public area and rename it startscript().
4324         Change protected for private.
4325
4326 2003-04-04  Angus Leeming  <leeming@lyx.org>
4327
4328         * lyxfunc.C:
4329         * text2.C: remove unneeded #includes.
4330
4331 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4332
4333         * text2.C (dEPM): fix the heigth of the next row
4334
4335 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4336
4337         * text.C: squashed an invalid getChar requester + some ws changes
4338
4339 2003-04-03  John Levon  <levon@movementarian.org>
4340
4341         * bufferview_funcs.h:
4342         * bufferview_funcs.C:
4343         * lyxfunc.C:
4344         * lyxtext.h:
4345         * text2.C: make getStatus work for the env depth lfuns
4346
4347 2003-04-03  John Levon  <levon@movementarian.org>
4348
4349         * bufferview_funcs.h:
4350         * bufferview_funcs.C:
4351         * lyxfunc.C:
4352         * lyxtext.h:
4353         * text2.C: parlistize decDepth(), by merging it with incDepth()
4354
4355 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4356
4357         * lyxrow.h: store a ParagraphList::iterator instead of a
4358         Paragraph* and adjust other class functions to suit.
4359
4360         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4361         above.
4362
4363 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4364
4365         * text2.C (setCursor): do not anchor to cursor row for the time being
4366
4367 2003-04-02  John Levon  <levon@movementarian.org>
4368
4369         * LyXAction.C:
4370         * lfuns.h:
4371         * lyx_main.C:
4372         * lyxtext.h:
4373         * text.C:
4374         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4375
4376 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4377
4378         * paragraph.h: make ParagraphList and ParagraphList::iterator
4379         friends of Paragraph.
4380
4381         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4382
4383         * ParagraphList.C: Use the private next_ and previous_ from
4384         Paragraph.
4385
4386 2003-04-01  John Levon  <levon@movementarian.org>
4387
4388         * ToolbarBackend.h:
4389         * ToolbarBackend.C:
4390         * Makefile.am: rename, remove defaults gunk
4391
4392         * MenuBackend.h:
4393         * MenuBackend.C: remove defaults gunk
4394
4395         * Languages.h:
4396         * Languages.C: remove defaults gunk
4397
4398         * lyx_main.h:
4399         * lyx_main.C: error out if files couldn't be found.
4400
4401 2003-04-02  John Levon  <levon@movementarian.org>
4402
4403         * text2.C: make incDepth() use parlist
4404
4405 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4406
4407         * undo_funcs.C (firstUndoParagraph): adjust
4408
4409         * text3.C (gotoInset): adjust
4410         (dispatch): adjust, and rewrite loop.
4411
4412         * text2.C (init): adjust, and rewrite loop.
4413         (redoParagraphs): adjust
4414         (updateInset): adjust, and rewrite loop.
4415         (deleteEmptyParagraphMechanism): adjust
4416
4417         * tabular.C (LyXTabular): adjust
4418         (SetMultiColumn): adjust
4419         (TeXRow): adjust
4420
4421         * lyxtext.[Ch] (ownerParagraph): delete function
4422         (ownerParagraphs): new function returns a ParagraphList.
4423
4424         * BufferView.C (removeAutoInsets): adjust
4425         (insertErrors): adjust
4426         (setCursorFromRow): adjust
4427
4428 2003-04-01  Angus Leeming  <leeming@lyx.org>
4429
4430         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4431         in the frontends.
4432
4433 2003-04-02  John Levon  <levon@movementarian.org>
4434
4435         * lyxtext.h:
4436         * text.C:
4437         * Makefile.am:
4438         * text_funcs.h:
4439         * text_funcs.C: make transposeChars a free function
4440
4441         * lyxrow_funcs.C: remove wrong comment
4442
4443 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4444
4445         * lyxtext.h: adjust
4446         * rowpainter.C: adjust
4447         * text.C: adjust
4448         * text2.C: adjust
4449         * text3.C: adjust
4450
4451         * lyxrow_funcs. [Ch]: new files
4452
4453         * lyxrow.[Ch]: remove next and previous pointers
4454         (next,previous): remove accessor functions
4455         (isParEnd): move to lyxrow_funcs
4456         (lastPos): move to lyxrow_funcs
4457         (nextRowIsAllInset): move to lyxrow_funcs
4458         (lastPrintablePos): move to lyxrow_funcs
4459         (numberOfSeparators): move to lyxrow_funcs
4460         (numberOfHfills): move to lyxrow_funcs
4461         (numberOfLabelHfills): move to lyxrow_funcs
4462         (hfillExpansion): move to lyxrow_funcs
4463
4464         * lyxfunc.C: adjust
4465
4466         * bufferview_funcs.C (toggleAndShow): adjust
4467
4468         * RowList.h: Remove class RowList from file leave just a
4469         std::list<Row>.
4470
4471         * RowList.C: delete file
4472
4473         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4474         and lyxrow_funcs.h
4475
4476 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4477
4478         * text3.C (cursorPrevious): adjust
4479         (cursorNext): adjust
4480         (dispatch): adjust
4481
4482         * text2.C (redoHeightOfParagraph): adjust
4483         (redoDrawingOfParagraph): adjust
4484         (setCursor): adjust
4485
4486         * text.C (breakParagraph): adjust
4487         (insertChar): adjust
4488         (backspace): adjust
4489
4490         * rowpainter.C (RowPainter): adjust
4491         (leftMargin): simplify and adjust
4492         (most rowpainter functions): adjust.
4493
4494         * rowpainter.h: store the row as RowList::iterator not as Row*
4495
4496         * lyxcursor.C (row): taka RowList::iterator as arg
4497         (irow): ditto
4498
4499         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4500         of Row*.
4501
4502 2003-04-01  Angus Leeming  <leeming@lyx.org>
4503
4504         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4505         stuff like bool Bool.
4506
4507 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4508
4509         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4510         rewrite a loop
4511
4512 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4513
4514         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4515         RowList::iterator.
4516
4517         * lyxtext.h (rows): drop one version and leve a const variant that
4518         returns a RowList::iterator.
4519
4520 2003-03-31  Angus Leeming  <leeming@lyx.org>
4521
4522         * text.C (fill): ensure that the signature is the same as that in the
4523         header file.
4524
4525 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4526
4527         * text2.C (redoParagraphs): adjust
4528         (updateCounters): adjust
4529         (checkParagraph): adjust
4530         (getColumnNearX): adjust and reformat a bit.
4531
4532         * text.C (top_y): adjust
4533         (workWidth): adjust
4534         (leftMargin): adjust
4535         (prepareToPrint): adjust
4536         (getRow): adjust
4537         (getRowNearY): adjust
4538
4539         * lyxtext.h: make rowlist_ mutable.
4540
4541         * RowList.h: add const_iterator
4542         * RowList.C: adjust for RowList::const_iterator.
4543
4544         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4545         adjust.
4546
4547 2003-03-31  John Levon  <levon@movementarian.org>
4548
4549         * lyxrc.h:
4550         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4551
4552         * lyx_main.C: set default fonts from using lyx_gui funcs
4553
4554         * exporter.C: pdf_mode moved from lyxrc
4555
4556         * lyx_cb.C:
4557         * lyxfunc.C: changes from above
4558
4559 2003-03-31  John Levon  <levon@movementarian.org>
4560
4561         * lyx_main.C: fix to the last fix
4562
4563 2003-03-31  John Levon  <levon@movementarian.org>
4564
4565         * bufferlist.C: "Load original" -> "Load Original"
4566
4567         * converter.C:
4568         * exporter.C:
4569         * importer.C:
4570         * lyx_main.C:
4571         * format.C: more Alert cleanups
4572
4573 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4574
4575         * text2.C (removeParagraph): make it take a RowList::iterator as
4576         arg, adjust.
4577         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4578         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4579
4580         * text.C (anchor_row): make it take a RowList::iterator as arg,
4581         adjust.
4582         (computeBidiTables): make it take a const reference to Row instead
4583         of Row pointer, adjust.
4584         (leftMargin): make it take a RowList::iterator as arg, adjust.
4585         (rowBreakPoint): adjust
4586         (breakAgainOneRow): make it take a RowList::iterator as arg,
4587         adjust.
4588         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4589
4590         * bufferview_funcs.C (toggleAndShow): adjust
4591
4592 2003-03-30  John Levon  <levon@movementarian.org>
4593
4594         * Makefile.am:
4595         * BoostFormat.h:
4596         * boost-inst.C: moved to support
4597
4598         * several files: changes as a result
4599
4600 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4601
4602         * text2.C (LyXText): adjust.
4603         (init): adjust
4604         (removeRow): make it take a RowList::iterator as arg, adjust.
4605         (fullRebreak): adjust
4606         (deleteEmptyParagraphMechanism): adjust
4607         (clearPaint): adjust
4608         (postPaint): adjust
4609
4610         * text.C (top_y): adjust
4611         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4612         (breakAgain): make it take a RowList::iterator as arg, adjust.
4613         (breakParagraph): adjust
4614         (insertChar): adjust
4615         (backspace): adjust
4616
4617         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4618         need_break_row, and refresh_row.
4619
4620         * text3.C (dispatch): adjust
4621
4622         * text2.C (checkParagraph): adjust
4623         (setCursor): adjust
4624         (setCursorFromCoordinates): adjust
4625
4626         * text.C (top_y): adjust
4627         (workWidth): adjust
4628         (getRow): make it return a RowList::iterator, adjust
4629         (getRowNearY): make it return a RowList::iterator, adjust
4630
4631         * text2.C (init): adjust
4632         (insertRow): remove function
4633         (insertParagraph): adjust
4634         (redoParagraphs): adjust
4635         (fullRebreak): adjust
4636         (updateCounters): adjust
4637
4638         * text.C (top_y): rewrite to use RowList iterators.
4639         (top_y): adjust
4640         (setHeightOfRow): rewrite to sue RowList iterators.
4641         (appendParagraph): adjust
4642         (breakAgain): adjust
4643         (breakAgainOneRow): adjust
4644         (breakParagraph): adjust
4645         (getRow): adjust
4646         (getRowNearY): adjust, and remove commented code.
4647
4648         * lyxtext.h (firstRow): delete function
4649         (lastRow): delete function
4650         (rows): new function (const and non-const versions.)
4651         (insertRow): delete function
4652
4653         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4654
4655 2003-03-29  John Levon  <levon@movementarian.org>
4656
4657         * BufferView_pimpl.C: always update scrollbar top
4658         because pasting text when we're anchored could mean we
4659         miss an update altogether
4660
4661 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4662
4663         * text2.C (init): use rowlist_.end() and not 0.
4664         (insertRow): change to take a RowList::iterator as arg, adjust
4665         for this.
4666         (insertParagraph): change to take a RowList::iterator as arg,
4667         adjust for this.
4668         (redoParagraphs): remove some debug msgs.
4669
4670         * text.C (appendParagraph): change to take a RowList::iterator
4671         arg, adjust for this.
4672         (breakAgain): add an assert
4673         (breakAgainOneRow): ditto
4674
4675 2003-03-29  John Levon  <levon@movementarian.org>
4676
4677         * text2.C: do not clear selection after inc/decDepth
4678         (bug 550)
4679
4680 2003-03-29  John Levon  <levon@movementarian.org>
4681
4682         * BufferView.C:
4683         * buffer.C: fix broken strerrors according to Lars
4684
4685 2003-03-29  John Levon  <levon@movementarian.org>
4686
4687         * converters.C: more Alert cleanups
4688
4689 2003-03-29  John Levon  <levon@movementarian.org>
4690
4691         * bufferview_funcs.C: remove pointless Alert
4692
4693         * buffer.C: fix confusing error message when
4694         a template is chmoded 000
4695
4696 2003-03-29  John Levon  <levon@movementarian.org>
4697
4698         * BufferView.C:
4699         * BufferView.h:
4700         * BufferView_pimpl.C: Alert fixes
4701
4702         * Makefile.am:
4703         * tabular.C:
4704         * tabular-old.C: remove unused table compat reading
4705
4706 2003-03-29  John Levon  <levon@movementarian.org>
4707
4708         * BufferView.C:
4709         * buffer.C:
4710         * lyx_cb.h:
4711         * lyx_cb.C: more Alert cleanups
4712
4713         * lyxfunc.C: don't allow chktex if not latex document
4714
4715 2003-03-29  John Levon  <levon@movementarian.org>
4716
4717         * lyx_cb.C:
4718         * BufferView.C:
4719         * buffer.C: warnings pushed down from support/,
4720         kill err_alert
4721
4722 2003-03-29  John Levon  <levon@movementarian.org>
4723
4724         * lyxfunc.C: safety check for C-r (revert)
4725
4726 2003-03-29  John Levon  <levon@movementarian.org>
4727
4728         * bufferlist.h:
4729         * bufferlist.C: several UI fixes using Alert::prompt.
4730         Fix the pointless looping quit code. Fix stupid revert
4731         behaviour (bug 938)
4732
4733         * lyxvc.h:
4734         * lyxvc.C:
4735         * lyx_cb.C: use Alert::prompt
4736
4737         * lyx_main.C: remove a silly question
4738
4739         * lyxfunc.C: remove a couple of silly questions,
4740         use Alert::prompt
4741
4742 2003-03-28  John Levon  <levon@movementarian.org>
4743
4744         * text2.C: fix bug 974 (End on empty par)
4745
4746 2003-03-28  John Levon  <levon@movementarian.org>
4747
4748         * BufferView_pimpl.C:
4749         * LyXAction.C:
4750         * lfuns.h: remove do-nothing math greek lfuns
4751
4752 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4753
4754         * lyxgluelength.h (isValidGlueLength): add default arg on
4755         parameter 2. Remove default arg from friend in class.
4756
4757         * lyxlength.h (isValidLength): add default arg on parameter 2.
4758         Remove default arg from friend in class.
4759
4760         * text2.C (LyXText): adjust, initialize refresh_row.
4761         (init): adjust
4762         (removeRow): adjust
4763         (insertRow): adjust
4764         (insertParagraph): adjst
4765         (redoParagraphs): adjust
4766         (fullRebreak): adjust
4767         (updateCounters): adjust
4768         (deleteEmptyParagraphMechanism): first attempt at fixing a
4769         crashing bug.
4770
4771         * text.C (top_y): adjust
4772         (setHeightOfRow): adjust
4773         (getRow): adjust
4774         (getRowNearY): adjust
4775
4776         * lyxtext.h: include RowList.h
4777         (~LyXText): not needed anymore, deleted.
4778         (firstRow): modify for RowList
4779         (lastRow): new function
4780         Delete firstrow and lastrow class variables, add a Rowlist
4781         rowlist_ class variable.
4782
4783         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4784         paragraph is empty.
4785
4786         * RowList.C (insert): fix case where it == begin().
4787
4788 2003-03-26  Angus Leeming  <leeming@lyx.org>
4789
4790         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4791         the thesaurus dialog.
4792
4793 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4794
4795         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4796
4797         * RowList.[Ch]: new files
4798
4799         * ParagraphList.C (erase): handle the case where it == begin
4800         correctly.
4801
4802 2003-03-25  John Levon  <levon@movementarian.org>
4803
4804         * Makefile.am:
4805         * aspell_local.h:
4806         * aspell.C: add new aspell support
4807
4808         * lyxrc.h:
4809         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4810         have it accessible.
4811
4812 2003-03-25  Angus Leeming  <leeming@lyx.org>
4813
4814         * lfuns.h:
4815         * LyXAction.C (init): new LFUN_INSET_INSERT.
4816
4817         * BufferView_pimpl.C (dispatch): split out part of the
4818         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4819
4820         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4821         LFUN_INSET_APPLY.
4822
4823 2003-03-25  Angus Leeming  <leeming@lyx.org>
4824
4825         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4826
4827 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4828
4829         * text2.C:
4830         * text3.C: remove useless row->height(0)
4831
4832 2003-03-25  John Levon  <levon@movementarian.org>
4833
4834         * lyxtext.h:
4835         * text2.C:
4836         * text3.C: rename the refreshing stuff to better names
4837
4838 2003-03-24  John Levon  <levon@movementarian.org>
4839
4840         * BufferView_pimpl.h:
4841         * BufferView_pimpl.C: update layout choice on a mouse
4842         press/release
4843
4844 2003-03-23  John Levon  <levon@movementarian.org>
4845
4846         * Makefile.am: fix commandtags.h reference
4847
4848 2003-03-22  John Levon  <levon@movementarian.org>
4849
4850         * BufferView_pimpl.C:
4851         * lyxtext.h:
4852         * rowpainter.C:
4853         * rowpainter.h:
4854         * text.C:
4855         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4856
4857 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4858
4859         * lyxtext.h:
4860         * text.C: take the rtl methods out of line
4861
4862 2003-03-21 André Pönitz <poenitz@gmx.net>
4863
4864         * metricsinfo.[Ch]: new files containing structures to be passed around
4865         during the two-phase-drawing...
4866
4867 2003-03-21 André Pönitz <poenitz@gmx.net>
4868
4869         * lyxtextclass.C: read 'environment' tag.
4870
4871 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4872
4873         * text2.C (removeRow): fix bug 964
4874
4875 2003-03-20  John Levon  <levon@movementarian.org>
4876
4877         * rowpainter.C:
4878         * text.C:
4879         * text2.C: paint cleanups. Inset::update() dropped font
4880         parameter
4881
4882 2003-03-19  John Levon  <levon@movementarian.org>
4883
4884         * lyxfunc.C: only fitcursor/markDirty if available()
4885
4886 2003-03-19  John Levon  <levon@movementarian.org>
4887
4888         * commandtags.h: rename to ...
4889
4890         * lfuns.h: ... this, and renumber / cleanup
4891
4892 2003-03-19  John Levon  <levon@movementarian.org>
4893
4894         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4895         fit the cursor after an lfun
4896
4897         * BufferView.h:
4898         * BufferView.C:
4899         * BufferView_pimpl.h:
4900         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4901
4902         * LyXAction.C: layout-character should have ReadOnly
4903
4904         * ParagraphParameters.C:
4905         * buffer.C:
4906         * bufferview_funcs.C:
4907         * lyx_cb.C:
4908         * lyxfind.C:
4909         * lyxtext.h:
4910         * text.C:
4911         * text2.C:
4912         * text3.C:
4913         * undo_funcs.C: changes from above
4914
4915 2003-03-18  John Levon  <levon@movementarian.org>
4916
4917         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4918         remove it from update()
4919
4920         * lyxfunc.C: update layout choice after an lfun
4921
4922         * text3.C: remove extra updateLayoutChoice()s
4923
4924 2003-03-18  John Levon  <levon@movementarian.org>
4925
4926         * text.C: top_y change means full repaint, fix
4927         a drawing bug with cursor movement
4928
4929 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4930
4931         * lyxtext.h:
4932         * text.C:
4933         * text2.C: anchor row on setCursor
4934
4935 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4936
4937         * lyxtext.h: remove almost all mutable keywords
4938         * text.C:
4939         * text2.C:
4940         * text3.C: remove const keywords accordingly
4941
4942 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4943
4944         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4945         anon namespace
4946         (TeXEnvironment): ditto
4947         (TeXOnePar): ditto
4948
4949 2003-03-17  John Levon  <levon@movementarian.org>
4950
4951         * text.C (rowBreakPoint): remove attempt to fix displayed
4952         math insets inside a manual label
4953
4954 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4955
4956         * lyxtext.h: remove BufferView* as first arg from almost all class
4957         functions.
4958         * other files: adjust.
4959
4960 2003-03-17  John Levon  <levon@movementarian.org>
4961
4962         * lyxtext.h:
4963         * undo_funcs.C:
4964         * text2.C: more paint cleanups
4965
4966         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4967
4968         * rowpainter.h:
4969         * rowpainter.C: remove "smart" background painting code
4970
4971 2003-03-16  John Levon  <levon@movementarian.org>
4972
4973         * lyxtext.h:
4974         * text.C:
4975         * text2.C:
4976         * text3.C: add helper functions for setting refresh_row/y
4977
4978 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4979
4980         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4981         newline inset which *can* get inserted in the pass_thru layouts.
4982         This is primarily for literate documents.
4983
4984 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4985
4986         * buffer.C: increment LYX_FORMAT to 223
4987
4988 2003-03-14 André Pönitz <poenitz@gmx.net>
4989
4990         * textclass.h: prepare for environment handling, ws changes
4991         * lyxlayout.C: read latexheader and latexfooter tags
4992
4993 2003-03-14  John Levon  <levon@movementarian.org>
4994
4995         * text2.C: rewrite ::status() a bit
4996
4997 2003-03-13  John Levon  <levon@movementarian.org>
4998
4999         * lyxtext.h: add some docs
5000
5001 2003-03-13  John Levon  <levon@movementarian.org>
5002
5003         * lyxtext.h:
5004         * text.C:
5005         * text2.C:
5006         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5007
5008 2003-03-13  John Levon  <levon@movementarian.org>
5009
5010         * text3.C: fix appendix redrawing
5011
5012 2003-03-13  John Levon  <levon@movementarian.org>
5013
5014         * text.C (setHeightOfRow):
5015         * rowpainter.h:
5016         * rowpainter.C: make appendix mark have the text
5017           "Appendix" so the user knows what it is
5018
5019         * LColor.h:
5020         * LColor.C: s/appendixline/appendix/ from above
5021
5022 2003-03-13  John Levon  <levon@movementarian.org>
5023
5024         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5025
5026         * text.C: fix a getChar(pos) bug properly
5027
5028 2003-03-13  Angus Leeming  <leeming@lyx.org>
5029
5030         * commandtags.h:
5031         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5032         Probably only temporary. Let's see how things pan out.
5033
5034         * BufferView.C (unlockInset):
5035         * BufferView_pimpl.C (fitCursor):
5036         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5037
5038         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5039         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5040
5041         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5042         new functions that convert ParagraphParameters to and from a string.
5043
5044         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5045         BufferView::Pimpl's dispatch.
5046         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5047
5048 2003-03-13 André Pönitz <poenitz@gmx.net>
5049
5050         * lyxfunc.C:
5051         * text3.C:
5052         * factory.C: make it aware of InsetEnv
5053
5054 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5055
5056         * text2.C (setCursor): never ask for one past last
5057         (setCursor): add some debugging messages.
5058
5059         * text.C (singleWidth): never ask for one past last
5060         (singleWidth): ditto
5061         (leftMargin): ditto
5062         (rightMargin): ditto
5063         (rowBreakPoint): ditto
5064         (setHeightOfRow): ditto
5065         (prepareToPrint): ditto
5066
5067         * rowpainter.C (paintBackground): never ask for one past last
5068         (paintText): never ask for one past last
5069
5070         * paragraph_pimpl.C (getChar): make the assert stricter, never
5071         allow the one past last pos to be taken
5072
5073         * paragraph.C (getChar): ws changes only
5074
5075         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5076         (numberOfSeparators): ditto
5077         (numberOfHfills): ditto
5078
5079 2003-03-12  John Levon  <levon@movementarian.org>
5080
5081         * author.h:
5082         * author.C:
5083         * bufferparams.h:
5084         * bufferparams.C:
5085         * paragraph_funcs.C: fix per-buffer authorlists
5086
5087 2003-03-12  John Levon  <levon@movementarian.org>
5088
5089         * text.C: fix newline in right address
5090
5091 2003-03-12  Angus Leeming  <leeming@lyx.org>
5092
5093         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5094         duplicate those in LyXFunc::dispatch.
5095
5096         * commandtags.h:
5097         * LyXAction.C:
5098         * ToolbarDefaults.C:
5099         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5100         Add LFUN_FONTFREE_UPDATE.
5101
5102         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5103         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5104
5105         * bufferview_func.[Ch]: several new functions to facilliate
5106         transfer of data to and from the character dialog.
5107
5108 2003-03-12  John Levon  <levon@movementarian.org>
5109
5110         * buffer.C:
5111         * paragraph.h:
5112         * paragraph.C:
5113         * paragraph_funcs.C:
5114         * paragraph_pimpl.C:
5115         * sgml.C:
5116         * tabular.C:
5117         * text.C:
5118         * text3.C: remove META_NEWLINE in favour of an inset
5119
5120         * rowpainter.h:
5121         * rowpainter.C: remove paintNewline (done by inset)
5122
5123 2003-03-12  John Levon  <levon@movementarian.org>
5124
5125         * paragraph_pimpl.C: complain about bad getChar()s
5126         for a while at least
5127
5128 2003-03-12  John Levon  <levon@movementarian.org>
5129
5130         * buffer.h:
5131         * buffer.C: move paragraph read into a separate function,
5132         a little renaming to reflect that.
5133
5134         * bufferparams.h:
5135         * bufferparams.C: remove the author_ids map, not necessary now
5136
5137         * factory.h:
5138         * factory.C: moved Buffer::readInset to here
5139
5140         * paragraph_funcs.h:
5141         * paragraph_funcs.C: readParagraph free function moved from
5142         buffer.C
5143
5144         * tabular.C: name change
5145
5146 2003-03-12  John Levon  <levon@movementarian.org>
5147
5148         * buffer.C:
5149         * ParagraphParameters.C: move par params input to
5150         a read() method
5151
5152         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5153         behave like a normal read from the stream wrt reading
5154         a line vs. a \\token
5155
5156 2003-03-12  John Levon  <levon@movementarian.org>
5157
5158         * paragraph.C:
5159         * ParagraphParameters.h:
5160         * ParagraphParameters.C: move output code to a
5161         ::write() method
5162
5163 2003-03-12  John Levon  <levon@movementarian.org>
5164
5165         * BufferView.C (insertLyXFile):
5166         * buffer.h:
5167         * buffer.C:
5168         * tabular.C: use a parlist iterator for creating the
5169           document.
5170
5171 2003-03-12  John Levon  <levon@movementarian.org>
5172
5173         * buffer.C: make current_change static local not
5174           static file-scope
5175
5176 2003-03-12  John Levon  <levon@movementarian.org>
5177
5178         * buffer.C: fix insertStringAsLines for change tracking
5179
5180 2003-03-12  John Levon  <levon@movementarian.org>
5181
5182         * BufferView.C:
5183         * tabular.C:
5184         * buffer.h:
5185         * buffer.C:
5186         * bufferparams.h:
5187         * bufferparams.C: move author list into params. Rename some
5188           functions. Move the header reading into a separate token
5189           loop. Move the header token reading into BufferParams.
5190
5191 2003-03-12  John Levon  <levon@movementarian.org>
5192
5193         * changes.C: put debug inside lyxerr.debugging() checks
5194
5195 2003-03-11 André Pönitz <poenitz@gmx.net>
5196
5197         * factory.C: make it aware of InsetHFill
5198
5199 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5200
5201         * buffer.C (latexParagraphs): move function from here...
5202         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5203         args.
5204
5205 2003-03-10  Angus Leeming  <leeming@lyx.org>
5206
5207         * LyXAction.C (init): fix bug in poplating array with multiple entries
5208         with the same LFUN (spotted by JMarc).
5209
5210 2003-03-10  John Levon  <levon@movementarian.org>
5211
5212         * text.C:
5213         * text2.C: move getColumnNearX() near its
5214         only call site
5215
5216 2003-03-10  John Levon  <levon@movementarian.org>
5217
5218         * text.C: fix break before a minipage
5219
5220 2003-03-10  John Levon  <levon@movementarian.org>
5221
5222         * text.C: fix the last commit
5223
5224 2003-03-09  John Levon  <levon@movementarian.org>
5225
5226         * lyxtext.h:
5227         * text.C:
5228         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5229         bug 365 (don't break before insets unless needed). Don't
5230         return a value > last under any circumstances.
5231
5232 2003-03-09  Angus Leeming  <leeming@lyx.org>
5233
5234         * BufferView_pimpl.C (trackChanges, dispatch): call
5235         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5236
5237 2003-03-09  Angus Leeming  <leeming@lyx.org>
5238
5239         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5240         than Dialogs::showAboutlyx().
5241
5242 2003-03-09  Angus Leeming  <leeming@lyx.org>
5243
5244         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5245         than Dialogs::showTabularCreate().
5246
5247 2003-03-09  John Levon  <levon@movementarian.org>
5248
5249         * lyxtext.h:
5250         * text.C:
5251         * text2.C: 3rd arg to nextBreakPoint was always the same.
5252           Use references.
5253
5254 2003-03-08  John Levon  <levon@movementarian.org>
5255
5256         * lyxrow.C:
5257         * paragraph.C:
5258         * paragraph.h:
5259         * rowpainter.C:
5260         * text.C:
5261         * text2.C: Remove the "main" bit from the "main body"
5262           notion.
5263
5264 2003-03-08  John Levon  <levon@movementarian.org>
5265
5266         * text.C (leftMargin): The left margin of an empty
5267         manual label paragraph should not include the label width
5268         string length.
5269
5270         * text.C (prepareToPrint): don't attempt to measure hfills
5271         for empty manual label paragraphs - the answer should be 0
5272
5273 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5274
5275         * CutAndPaste.C: remove commented code and reindent.
5276
5277 2003-03-08  John Levon  <levon@movementarian.org>
5278
5279         * lyxfunc.h:
5280         * lyxfunc.C: move reloadBuffer()
5281
5282         * BufferView.h:
5283         * BufferView.C: to here
5284
5285         * lyxvc.C: add comment
5286
5287         * vc-backend.h:
5288         * vc-backend.C: call bv->reload() to avoid
5289           getStatus() check on MENURELOAD
5290
5291 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5292
5293         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5294         to an old format .dep file.
5295
5296 2003-03-07  Angus Leeming  <leeming@lyx.org>
5297
5298         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5299         when the LFUN_MOUSE_RELEASE should have been handled by
5300         inset->localDispatch.
5301
5302 2003-03-07  Angus Leeming  <leeming@lyx.org>
5303
5304         * BufferView_pimpl.C (dispatch):
5305         * LyXAction.C (init):
5306         * ToolbarDefaults.C (init):
5307         * commandtags.h:
5308         * lyxfunc.C (getStatus):
5309         remove LFUN_INSET_GRAPHICS.
5310
5311         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5312
5313 2003-03-07  Angus Leeming  <leeming@lyx.org>
5314
5315         * commandtags.h:
5316         * LyXAction.C (init):
5317         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5318
5319         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5320
5321         * commandtags.h:
5322         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5323
5324         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5325         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5326
5327 2003-03-07  Angus Leeming  <leeming@lyx.org>
5328
5329         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5330         remove "ert".
5331
5332 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5333
5334         * ParagraphList.C (front): new function
5335         (back): implement
5336
5337 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5338
5339         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5340         and top_row_offset_. removed var first_y.
5341         * text.C (top_y):
5342         * text2.C (LyXText, removeRow):
5343         * text3.C:
5344         * BufferView_pimpl.C:
5345         use these methods instead of using first_y
5346
5347 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5348
5349         * text2.C (pasteSelection): adjust for checkPastePossible
5350
5351         * CutAndPaste.C: remove Paragraph * buf and replace with
5352         ParagraphList paragraphs.
5353         (DeleteBuffer): delete
5354         (cutSelection): change the tc type to textclass_type
5355         (copySelection): change the tc type to textclass_type
5356         (copySelection): adjust for ParagraphList
5357         (pasteSelection): change the tc type to textclass_type
5358         (pasteSelection): adjust for Paragraphlist
5359         (nrOfParagraphs): simplify for ParagraphList
5360         (checkPastePossible): simplify for ParagraphList
5361         (checkPastePossible): remove unused arg
5362
5363         * ParagraphList.C (insert): handle the case where there are no
5364         paragraphs yet.
5365
5366         * CutAndPaste.h: make CutAndPaste a namespace.
5367
5368         * text3.C (dispatch): adjust
5369
5370         * text.C (breakParagraph): add a ParagraphList as arg
5371
5372         * paragraph_funcs.C (breakParagraph): change to take a
5373         BufferParams and a ParagraphList as args.
5374         (breakParagraphConservative): ditto
5375         (mergeParagraph): ditto
5376         (TeXDeeper): add a ParagraphList arg
5377         (TeXEnvironment): ditto
5378         (TeXOnePar): ditto
5379
5380         * buffer.C (readLyXformat2): adjust
5381         (insertStringAsLines): adjust
5382         (latexParagraphs): adjust
5383
5384         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5385         (cutSelection): adjust
5386         (pasteSelection): adjust
5387
5388         * BufferView_pimpl.C (insertInset): adjust
5389
5390 2003-03-05  Angus Leeming  <leeming@lyx.org>
5391
5392         * commandtags.h:
5393         * LyXAction.C (init):
5394         * BufferView_pimpl.C (dispatch):
5395         * lyxfunc.C (getStatus):
5396         remove LFUN_CHILD_INSERT.
5397
5398         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5399
5400 2003-03-05  Angus Leeming  <leeming@lyx.org>
5401
5402         * commandtags.h:
5403         * LyXAction.C (init):
5404         * src/factory.C (createInset):
5405         * lyxfunc.C (getStatus):
5406         * text3.C (dispatch):
5407         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5408
5409         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5410
5411 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5412
5413         * ParagraphList.C (insert): handle insert right before end()
5414         (erase): fix cases where it can be first or last paragraph.
5415
5416 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5417
5418         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5419         Paragraph::next and Paragraph::previous
5420         (TeXOnePar): ditto
5421
5422         * text.C (breakParagraph): adjust
5423
5424         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5425         BufferParams& as arg.
5426         (breakParagraph): use ParagraphList::insert
5427         (breakParagraphConservative): take a Buffer* instead of a
5428         BufferParams& as arg.
5429         (breakParagraphConservative): use ParagraphList::insert.
5430
5431         * buffer.C (insertStringAsLines): un-const it
5432         (insertStringAsLines): adjust
5433
5434         * ParagraphList.C (insert): new function
5435
5436         * CutAndPaste.C (pasteSelection): adjust
5437
5438         * text.C (backspace): adjust
5439
5440         * tabular.C (SetMultiColumn): adjust
5441
5442         * CutAndPaste.C (cutSelection): adjust
5443         (pasteSelection): adjust
5444
5445         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5446         Buffer const * as arg
5447
5448         * ParagraphList.C (erase): new function
5449         * paragraph_funcs.C (mergeParagraph): use it
5450         (mergeParagraph): make it take a Buffer* instead of a
5451         BufferParams* as arg
5452
5453         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5454         as arg
5455         (breakParagraphConservative): ditto
5456
5457         * paragraph.h: remove the breakParagraph friend
5458
5459         * paragraph.C (eraseIntern): new function
5460         (setChange): new function
5461
5462         * paragraph_funcs.C (mergeParagraph): make it take a
5463         ParagraphList::iterator instead of a Paragraph *, adjust
5464         accordingly.
5465
5466         * paragraph.h: move an #endif so that the change tracking stuff
5467         also works in the NO_NEXT case.
5468
5469 2003-03-04  Angus Leeming  <leeming@lyx.org>
5470
5471         * commandtags.h:
5472         * LyXAction.C: new LFUN_INSET_MODIFY.
5473
5474         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5475         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5476
5477 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5478
5479         * several files: ws changes only
5480
5481         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5482         (TeXEnvironment): ditto
5483         (TeXDeeper): ditto
5484
5485         * buffer.C (makeLaTeXFile): adjust
5486         (latexParagraphs): make it take ParagraphList::iterator as args
5487
5488 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5489
5490         * buffer.C (latexParagraphs): adjust
5491
5492         * paragraph.C (TeXOnePar): move function...
5493         (optArgInset): move function...
5494         (TeXEnvironment): move function...
5495         * paragraph_pimpl.C (TeXDeeper): move function...
5496         * paragraph_funcs.C: ...here
5497
5498         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5499
5500 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5501
5502         * buffer.C (readInset): remove compability code for old Figure and
5503         InsetInfo insets
5504
5505 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5506
5507         * buffer.C: ws changes
5508         (readInset):
5509
5510         * BufferView_pimpl.C: ditto
5511         * author.C: ditto
5512         * buffer.h: ditto
5513         * bufferlist.h: ditto
5514         * changes.h: ditto
5515         * lyxfunc.C: ditto
5516
5517 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5518
5519         * converter.[Ch]: split into itself +
5520         * graph.[Ch]
5521         * format.[Ch]
5522         * Makefile.am: += graph.[Ch] + format.[Ch]
5523         * MenuBackend.C
5524         * buffer.C
5525         * exporter.C
5526         * importer.C
5527         * lyx_main.C
5528         * lyxfunc.C
5529         * lyxrc.C: added #include "format.h"
5530
5531 2003-02-27  Angus Leeming  <leeming@lyx.org>
5532
5533         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5534           a label.
5535
5536         * factory.C (createInset): add "label" to the factory.
5537
5538         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5539           string and do no more.
5540
5541 2003-02-27  Angus Leeming  <leeming@lyx.org>
5542
5543         * commandtags.h:
5544         * LyXAction.C (init):
5545         * factory.C (createInset):
5546         * BufferView_pimpl.C (dispatch):
5547           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5548
5549         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5550
5551         * lyxfunc.C (dispatch):
5552         * text3.C (dispatch): pass name to params2string.
5553
5554 2003-02-26  Angus Leeming  <leeming@lyx.org>
5555
5556         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5557           blocks together.
5558           Rearrange the ~includes. Strip out the unnecessary ones.
5559
5560         * factory.C (createInset): reformat.
5561           create new insets for the various LFUN_XYZ_APPLY lfuns.
5562
5563 2003-02-26  John Levon  <levon@movementarian.org>
5564
5565         * lyxrow.h:
5566         * lyxrow.C: add isParStart,isParEnd helpers
5567
5568         * paragraph.h: make isInserted/DeletedText take refs
5569
5570         * paragraph_funcs.h:
5571         * paragraph_funcs.C: remove #if 0'd code
5572
5573         * lyxtext.h:
5574         * text3.C:
5575         * text2.C:
5576         * text.C: use lyxrow helpers above.
5577           Move draw and paint routines to RowPainter.
5578           Make several methods use refs not pointers.
5579           Make backgroundColor() const.
5580           Add markChangeInDraw(), isInInset().
5581           Merge changeRegionCase into changeCase.
5582           Make workWidth() shouldn't-happen code into an Assert.
5583
5584         * rowpainter.h:
5585         * rowpainter.C: new class for painting a row.
5586
5587         * vspace.h:
5588         * vspace.C: make inPixels take a ref
5589
5590 2003-02-26  Angus Leeming  <leeming@lyx.org>
5591
5592         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5593         LFUN_REF_APPLY.
5594
5595 2003-02-25  John Levon  <levon@movementarian.org>
5596
5597         * ispell.C: give the forked command a more accurate name
5598
5599 2003-02-22  John Levon  <levon@movementarian.org>
5600
5601         * toc.h:
5602         * toc.C: make TocItem store an id not a Paragraph *
5603           (bug #913)
5604
5605 2003-02-21  Angus Leeming  <leeming@lyx.org>
5606
5607         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5608           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5609           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5610           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5611           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5612           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5613
5614         * BufferView_pimpl.C (dispatch):
5615         * LyXAction.C (init):
5616         * factory.C (createInset):
5617         * lyxfunc.C (getStatus, dispatch):
5618         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5619
5620 2003-02-21  Angus Leeming  <leeming@lyx.org>
5621
5622         * BufferView_pimpl.C (MenuInsertLyXFile):
5623         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5624         * lyxfunc.C (menuNew, open, doImport):
5625           no longer pass a LyXView & to fileDlg.
5626
5627 2003-02-21  Angus Leeming  <leeming@lyx.org>
5628
5629         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5630         * LyXAction.C: change, BIBKEY to BIBITEM.
5631         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5632         Change InsetBibKey to InsetBibitem.
5633         Change BIBKEY_CODE to BIBITEM_CODE.
5634         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5635         * factory.C: replace insetbib.h with insetbibitem.h.
5636         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5637         * paragraph.C: replace insetbib.h with insetbibitem.h.
5638         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5639         Change bibkey() to bibitem().
5640         * text.C: remove insetbib.h.
5641         * text2.C: replace insetbib.h with insetbibitem.h.
5642         change bibkey() to bibitem().
5643         * text3.C: remove insetbib.h.
5644         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5645
5646 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5647
5648         * lyxrc.C (output): enclose user email in quotes (in case there are
5649         several words)
5650
5651 2003-02-18  John Levon  <levon@movementarian.org>
5652
5653         * buffer.h: add std::
5654
5655 2003-02-17  John Levon  <levon@movementarian.org>
5656
5657         * SpellBase.h:
5658         * ispell.h:
5659         * ispell.C:
5660         * pspell.h:
5661         * pspell.C: reworking. Especially in ispell, a large
5662           number of clean ups and bug fixes.
5663
5664         * lyxfunc.C: fix revert to behave sensibly
5665
5666 2003-02-17 André Pönitz <poenitz@gmx.net>
5667
5668         * LyXAction.C:
5669         * commandtags.h: new LFUN_INSERT_BIBKEY
5670
5671         * layout.h:
5672         * lyxlayout.C:
5673         * buffer.C:
5674         * factory.C:
5675         * text.C:
5676         * text2.C:
5677         * text3.C:
5678         * paragraph.[Ch]:
5679         * paragraph_func.C: remove special bibkey handling
5680
5681 2003-02-17  John Levon  <levon@movementarian.org>
5682
5683         * text.C (Delete): fix case where delete at the end of
5684           the very first paragraph would not merge the pars
5685
5686 2003-02-17  John Levon  <levon@movementarian.org>
5687
5688         * lyxrow.C: fix lastPrintablePos()
5689
5690 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5691
5692         * bufferparams.C (writeLaTeX): add a std:here
5693
5694         * buffer.C: and remove a using directive there
5695
5696 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5697
5698         * buffer.C (makeLaTeXFile): move the code that generates the
5699           preamble...
5700
5701         * bufferparams.C (writeLaTeX): ... in this new method
5702
5703         * LaTeXFeatures.C (getEncodingSet): make const
5704           (getLanguages): make const
5705
5706         * MenuBackend.C (binding): returns the binding associated to this
5707           action
5708           (add): sets the status of each item by calling getStatus. Adds
5709           some intelligence.
5710           (read): add support for OptSubMenu
5711           (expand): remove extra separator at the end of expanded menu
5712
5713 2003-02-15  John Levon  <levon@movementarian.org>
5714
5715         * BufferView.C:
5716         * BufferView_pimpl.C:
5717         * bufferlist.h:
5718         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5719           inset code that had no actual effect. Remove unneeded status
5720           code.
5721
5722 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5723
5724         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5725           in preamble
5726
5727 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5728
5729         * text.C (drawLengthMarker): also draw an arrow marker for
5730           symbolic lengths (medskip...)
5731
5732 2003-02-14  John Levon  <levon@movementarian.org>
5733
5734         * tabular.h:
5735         * tabular.C: better method names
5736
5737 2003-02-14  John Levon  <levon@movementarian.org>
5738
5739         * BufferView_pimpl.C:
5740         * bufferlist.C:
5741         * buffer.C:
5742         * converter.C:
5743         * lyx_cb.C:
5744         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5745           it's a more accurate name. Remove some pointless uses.
5746
5747 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5748
5749         * text2.C (LyXText): change order of initilizers to shut off
5750           warnings
5751
5752 2003-02-14  John Levon  <levon@movementarian.org>
5753
5754         * buffer.C: use ParIterator for getParFromID()
5755
5756         * paragraph.h:
5757         * paragraph.C:
5758         * paragraph_pimpl.h:
5759         * paragraph_pimpl.C: remove unused getParFromID()
5760
5761 2003-02-14  John Levon  <levon@movementarian.org>
5762
5763         * buffer.C: remove some very old #if 0'd parse code
5764
5765 2003-02-13  John Levon  <levon@movementarian.org>
5766
5767         * text.h:
5768         * text.C:
5769         * text2.C: move hfillExpansion(), numberOfSeparators(),
5770           rowLast(), rowLastPrintable(), numberofHfills(),
5771           numberOfLabelHfills() ...
5772
5773         * lyxrow.h:
5774         * lyxrow.C: ... to member functions here.
5775
5776         * paragraph.h:
5777         * paragraph.C:
5778         * lyxtext.h:
5779         * text.C: remove LyXText::beginningOfMainBody(), and call
5780           p->beginningOfMainBody() directly. Move the check for
5781           LABEL_MANUAL into the latter.
5782
5783         * text.h:
5784         * text.C:
5785         * text2.C:
5786         * vspace.C:
5787         * BufferView.h:
5788         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5789
5790         * text.h:
5791         * text.C:
5792         * text2.C:
5793         * text3.C:
5794         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5795           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5796
5797 2003-02-13  John Levon  <levon@movementarian.org>
5798
5799         * CutAndPaste.C: remove debug
5800
5801 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5802
5803         * paragraph.C (asString): remove two unused variables
5804
5805         * lyxtextclass.C (readTitleType):
5806           (Read):
5807           (LyXTextClass): handle new members titletype_ and titlename_
5808
5809         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5810
5811 2003-02-09  John Levon  <levon@movementarian.org>
5812
5813         * buffer.h:
5814         * buffer.C: replace hand-coded list with a map for the dep clean
5815
5816 2003-02-08  John Levon  <levon@movementarian.org>
5817
5818         * LaTeX.C: consolidate code into showRunMessage() helper
5819
5820 2003-02-08  John Levon  <levon@movementarian.org>
5821
5822         * lyxfind.C:
5823         * lyxtext.h:
5824         * text2.C:
5825         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5826           and pass the size in explicitly
5827
5828         * BufferView_pimpl.h:
5829         * BufferView_pimpl.C:
5830         * BufferView.h:
5831         * BufferView.C: add getCurrentChange()
5832
5833         * BufferView_pimpl.h:
5834         * BufferView_pimpl.C: handle change lfuns
5835
5836         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5837           for changes. Mark pasted paragraphs as new.
5838
5839         * support/lyxtime.h:
5840         * support/lyxtime.C:
5841         * DepTable.C: abstract time_t as lyx::time_type
5842
5843         * LColor.h:
5844         * LColor.C: add colours for new text, deleted text, changebars
5845
5846         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5847           package use "usenames" option.
5848
5849         * commandtags.h:
5850         * lyxfunc.C:
5851         * LyXAction.C: add change lfuns
5852
5853         * Makefile.am:
5854         * author.h:
5855         * author.C: author handling
5856
5857         * buffer.h:
5858         * buffer.C: add a per-buffer author list, with first entry as
5859           current author. Handle new .lyx tokens for change tracking. Output
5860           author list to .lyx file. Output dvipost stuff to .tex preamble.
5861           Bump lyx format to 222.
5862
5863         * bufferlist.h:
5864         * bufferlist.C: add setCurrentAuthor() to reset current author details
5865           in all buffers.
5866
5867         * bufferparams.h:
5868         * bufferparams.C: add param for tracking
5869
5870         * bufferview_funcs.C: output change info in minibuffer
5871
5872         * Makefile.am:
5873         * changes.h:
5874         * changes.C: add change-tracking structure
5875
5876         * debug.h:
5877         * debug.C: add CHANGES debug flag
5878
5879         * lyxfind.h:
5880         * lyxfind.C: add code for finding the next change piece
5881
5882         * lyxrc.h:
5883         * lyxrc.C: add user_name and user_email
5884
5885         * lyxrow.h:
5886         * lyxrow.C: add a metric for the top of the text line
5887
5888         * lyxtext.h:
5889         * text.C: implement accept/rejectChange()
5890
5891         * lyxtext.h:
5892         * text.C: paint changebars. Paint new/deleted text in the chosen
5893         colours. Strike through deleted text.
5894
5895         * paragraph.h:
5896         * paragraph.C:
5897         * paragraph_pimpl.h:
5898         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5899           in the current change to the insert functions. Rework erase to
5900           mark text as deleted, adding an eraseIntern() and a range-based
5901           erase(). Implement per-paragraph change lookup and
5902           accept/reject.
5903
5904         * paragraph_funcs.C: Fixup paste for change tracking.
5905
5906         * tabular.C: mark added row/columns as new.
5907
5908         * text.C: fix rowLast() to never return -1. Don't allow
5909           spellchecking of deleted text. Track transpose changes. Don't
5910           allow paragraph break or merge where appropriate.
5911
5912         * text2.C: leave cursor at end of selection after a cut.
5913
5914 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5915
5916         * text.C (getLengthMarkerHeight):
5917         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5918         visible on screen too.
5919
5920 2003-02-07  John Levon  <levon@movementarian.org>
5921
5922         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5923
5924 2003-02-05  Angus Leeming  <leeming@lyx.org>
5925
5926         * lyxserver.C (read_ready): revert my patch of 11 September last year
5927         as it sends PC cpu through the roof. Presumably this means that
5928         the lyxserver will no longer run on an Alpha...
5929
5930 2003-01-30  Angus Leeming  <leeming@lyx.org>
5931
5932         * factory.C (createInset): create an InsetCommandParam of type "index"
5933         and use it to 'do the right thing'.
5934
5935         * text2.C (getStringToIndex): ensure that cursor position is always
5936         reset to the reset_cursor position.
5937
5938 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5939
5940         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5941         disabled.
5942
5943 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5944
5945         * bufferview.C:
5946         * lyxcb.C:
5947         * lyxfunc.C: Output messages with identical spelling, punctuation,
5948         and spaces
5949
5950 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5951
5952         * MenuBackend.C (expandFormats): List only viewable export formats
5953         in "View" menu
5954
5955         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5956         message
5957
5958         * lyxfunc.C (getStatus): Make sure that formats other than
5959         "fax" can also be disabled
5960
5961 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5962
5963         * text3.C (dispatch): put the lfuns that insert insets in 3
5964         groups, and call doInsertInset with appropriate arguments.
5965         (doInsertInset): new function, that creates an inset and inserts
5966         it according to some boolean parameters.
5967
5968 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5969
5970         * buffer.C (readFile): remember to pass on 'par' when calling
5971         readFile recursively.
5972
5973 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5974
5975         * MenuBackend.C (expandFormats): add "..." to import formats.
5976
5977 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5978
5979         * paragraph.C (asString): Remove XForms RTL hacks.
5980
5981 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5982         * buffer.C: fix typo
5983
5984 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5985
5986         * Makefile.am (LIBS): delete var
5987         (lyx_LDADD): add @LIBS@ here instead.
5988
5989 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5990
5991         * Clarify the meaning of "wheel mouse jump"
5992
5993 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5994
5995         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5996         tabular in a float
5997
5998 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5999
6000         * importer.C (Loaders): do not preallocate 3 elements in the
6001         vector, since one ends up with 6 elements otherwise
6002
6003 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6004
6005         * DepTable.C (write): write the file name as last element of the
6006         .dep file (because it may contain spaces)
6007         (read): read info in the right order
6008
6009 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6010
6011         * paragraph_pimpl.C (simpleTeXBlanks):
6012         (simpleTeXSpecialChars):
6013         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6014
6015         * tabular.C (latex): add some missing case statements. Reindent.
6016
6017         * MenuBackend.C (expandToc): remove unused variable.
6018
6019 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6020
6021         * LColor.C:
6022         * LaTeX.C:
6023         * LyXAction.C:
6024         * MenuBackend.C:
6025         * buffer.C:
6026         * exporter.C:
6027         * lyxfunc.C:
6028         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6029         and the like.
6030
6031 2003-01-05  John Levon  <levon@movementarian.org>
6032
6033         * BufferView.h:
6034         * BufferView.C: add getEncoding()
6035
6036         * kbsequence.h:
6037         * kbsequence.C: do not store last keypress
6038
6039         * lyxfunc.h:
6040         * lyxfunc.C: store last keypress here instead. Pass encoding
6041           to getISOEncoded()
6042
6043 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6044
6045         * lyx_main.C (init): remove annoying error message when following
6046         symbolic links (bug #780)
6047
6048 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6049
6050         * text.C (insertChar):
6051         * lyxrc.C (getDescription): remove extra spaces
6052
6053 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6054
6055         * lyxrc.C (getDescription): remove extra spaces
6056
6057 2002-12-20  John Levon  <levon@movementarian.org>
6058
6059         * text3.C: hack fix for page up/down across tall rows
6060
6061 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6062
6063         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6064         not been invoked
6065
6066 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6067
6068         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6069         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6070         thesaurus is not compiled in
6071
6072 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6073
6074         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6075
6076 2002-12-16  Angus Leeming  <leeming@lyx.org>
6077
6078         * lyxrc.[Ch]:
6079         * lyx_main.C (init): remove override_x_deadkeys stuff.
6080
6081 2002-12-12  John Levon  <levon@movementarian.org>
6082
6083         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6084           insert. Only remove shift modifier under strict
6085           circumstances.
6086
6087 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6088
6089         * MenuBackend.C (expandToc): fix crash.
6090
6091 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6092
6093         * MenuBackend.C (expandToc): gettext on float names.
6094
6095 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6096
6097         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6098         implement bool empty() [bug 490]
6099
6100 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6101
6102         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6103
6104 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6105
6106         * several files: ws changes
6107
6108 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6109
6110         * text2.C (setCounter): clean up a bit, use boost.format.
6111         (updateCounters): initialize par upon declaration.
6112
6113         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6114         if the layout exists. We do not just store the layout any more.
6115         (SwitchLayoutsBetweenClasses): use boost.format
6116
6117 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6118
6119         * converter.C (convert): if from and to files are the same, use a
6120         temporary files as intermediary
6121
6122 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6123
6124         * commandtags.h:
6125         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6126
6127 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6128
6129         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6130
6131 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6132
6133         * tabular.C (asciiPrintCell): use string(size, char) instead of
6134         explicit loop.
6135
6136         * sgml.C (openTag): fix order of arguments to string constructor
6137         (closeTag): ditto
6138
6139         * lyxfunc.C (dispatch): use boost.format
6140
6141         * lots of files: change "c" -> 'c'
6142
6143 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6144
6145         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6146
6147 2002-11-25  Angus Leeming  <leeming@lyx.org>
6148
6149         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6150
6151         * lyx_main.C (init): compile fix.
6152
6153 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6154
6155         * lyx_cb.C (start): boost.formatify
6156         do not include <iostream>
6157
6158         * lengthcommon.C: ws only
6159
6160         * boost-inst.C,BoostFormat.h: add more explict instantations
6161
6162 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6163
6164         * lots of files: handle USE_BOOST_FORMAT
6165
6166 2002-11-21  John Levon  <levon@movementarian.org>
6167
6168         * pspell.C: fix compile
6169
6170 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6171
6172         * lyxfunc.C (dispatch): use boost::format
6173         (open): ditto
6174         (doImport): ditto
6175
6176         * lyxfont.C (stateText): use boost::format
6177
6178         * lyx_main.C (LyX): use boost::format
6179         (init): ditto
6180         (queryUserLyXDir): ditto
6181         (readRcFile): ditto
6182         (parse_dbg): ditto
6183         (typedef boost::function): use the recommened syntax.
6184
6185         * importer.C (Import): use boost::format
6186
6187         * debug.C (showLevel): use boost::format
6188
6189         * converter.C (view): use boost::format
6190         (convert): ditto
6191         (move): ditto
6192         (scanLog): ditto
6193
6194         * bufferview_funcs.C (currentState): use boost::format
6195
6196         * bufferlist.C (emergencyWrite): use boost::format
6197
6198         * buffer.C (readLyXformat2): use boost::format
6199         (parseSingleLyXformat2Token): ditto
6200
6201         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6202
6203         * LaTeX.C (run): use boost::format
6204
6205         * Chktex.C (scanLogFile): use boost::format
6206
6207         * BufferView_pimpl.C (savePosition): use boost::format
6208         (restorePosition): ditto
6209         (MenuInsertLyXFile): ditto
6210
6211         * BoostFormat.h: help file for explicit instation.
6212
6213 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6214
6215         * tabular.C (latex): Support for block alignment in fixed width
6216         columns.
6217
6218 2002-11-17  John Levon  <levon@movementarian.org>
6219
6220         * BufferView_pimpl.C:
6221         * lyx_cb.C:
6222         * lyxfunc.C: split filedialog into open/save
6223
6224 2002-11-08  Juergen Vigna  <jug@sad.it>
6225
6226         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6227         by my last patch (hopefully).
6228
6229 2002-11-08  John Levon  <levon@movementarian.org>
6230
6231         * iterators.h:
6232         * iterators.C:
6233         * buffer.h:
6234         * buffer.C:
6235         * paragraph.h:
6236         * paragraph.C:
6237         * toc.h:
6238         * toc.C: ParConstIterator, and use it (from Lars)
6239
6240 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6241
6242         * lyxtextclass.[Ch]: revise and add doxygen comments
6243
6244 2002-11-07  John Levon  <levon@movementarian.org>
6245
6246         * text.C: fix progress value for spellchecker
6247
6248         * toc.C: fix navigate menu for insetwrap inside minipage
6249
6250         * paragraph_funcs.C: added FIXME for suspect code
6251
6252 2002-11-07  John Levon  <levon@movementarian.org>
6253
6254         * BufferView_pimpl.C: fix redrawing of insets
6255           on buffer switch
6256
6257 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6258
6259         * text2.C (updateCounters): fix bug 668
6260
6261 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6262
6263         * text3.C (dispatch): Do not make the buffer dirty when moving the
6264         cursor.
6265
6266 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6267
6268         * vc-backend.C: STRCONV
6269         (scanMaster): ditto
6270
6271         * text2.C (setCounter): STRCONV
6272
6273         * paragraph.C (asString): STRCONV
6274
6275         * lyxlength.C (asString): STRCONV
6276         (asLatexString): ditto
6277
6278         * lyxgluelength.C (asString): STRCONV
6279         (asLatexString): ditto
6280
6281         * lyxfunc.C (dispatch): STRCONV
6282         (open): ditto
6283
6284         * lyxfont.C (stateText): STRCONV
6285
6286         * importer.C (Import): STRCONV
6287
6288         * counters.C (labelItem): STRCONV
6289         (numberLabel): ditto
6290         (numberLabel): remove unused ostringstream o
6291
6292         * chset.C: STRCONV
6293         (loadFile): ditto
6294
6295         * bufferview_funcs.C (currentState): STRCONV
6296
6297         * buffer.C (readFile): STRCONV
6298         (asciiParagraph): ditto
6299         (makeLaTeXFile): ditto
6300
6301         * Spacing.C (writeEnvirBegin): STRCONV
6302
6303         * LaTeXFeatures.C (getLanguages): STRCONV
6304         (getPackages): ditto
6305         (getMacros): ditto
6306         (getBabelOptions): ditto
6307         (getTClassPreamble): ditto
6308         (getLyXSGMLEntities): ditto
6309         (getIncludedFiles): ditto
6310
6311         * LaTeX.C: STRCONV
6312         (run): ditto
6313         (scanAuxFile): ditto
6314         (deplog): ditto
6315
6316         * LString.h: add the STRCONV macros
6317
6318         * BufferView_pimpl.C (savePosition): STRCONV
6319         (restorePosition): ditto
6320         (MenuInsertLyXFile): ditto
6321
6322         * vc-backend.C (scanMaster): change from submatch[...] to
6323         submatch.str(...)
6324
6325         * funcrequest.C: include config.h
6326
6327         * factory.C: include config.h
6328
6329         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6330
6331         * box.C: include config.h
6332
6333         * LaTeX.C (scanAuxFile): change from submatch[...] to
6334         submatch.str(...)
6335         (deplog): ditto
6336
6337 2002-10-25  Angus Leeming  <leeming@lyx.org>
6338
6339         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6340
6341         * ispell.[Ch] (setError): new method.
6342         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6343         Use setError() insetead of goto END.
6344
6345         * lyx_cb.C (AutoSave): move out child process into new class
6346         AutoSaveBuffer.
6347
6348 2002-10-30  John Levon  <levon@movementarian.org>
6349
6350         * text3.C: make start appendix undoable
6351
6352 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6353
6354         * lyxlength.C (inPixels): Fix returned value.
6355
6356         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6357         environment.
6358
6359 2002-10-24  Angus Leeming  <leeming@lyx.org>
6360
6361         * lyxgluelength.h: no need to forward declare BufferParams
6362         or BufferView, so don't.
6363
6364 2002-10-21  John Levon  <levon@movementarian.org>
6365
6366         * BufferView.C: menuUndo ->undo, redo
6367
6368         * BufferView.h: document, remove dead, make some methods private
6369
6370         * paragraph_funcs.h:
6371         * paragraph_funcs.C:
6372         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6373
6374         * buffer.h:
6375         * buffer.C:
6376         * sgml.h:
6377         * sgml.C: move sgml open/close tag into sgml.C
6378
6379         * bufferview_funcs.h: unused prototype
6380
6381         * lyxfunc.h:
6382         * lyxfunc.C: remove unused
6383
6384         * lyxtext.h:
6385         * text.C: remove unused
6386
6387 2002-10-21  John Levon  <levon@movementarian.org>
6388
6389         * BufferView.h:
6390         * BufferView.C:
6391         * BufferView_pimpl.h:
6392         * BufferView_pimpl.C: fix mouse wheel handling based on
6393           patch from Darren Freeman
6394
6395 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6396
6397         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6398
6399 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6400
6401         * lyxlength.C (inPixels): Fix hanfling of negative length.
6402         Fix LyXLength::MU case.
6403
6404 2002-10-16  John Levon  <levon@movementarian.org>
6405
6406         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6407
6408 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6409
6410         * converter.C (view): add support for $$i (file name) and $$p
6411         (file path) for the viewer command. If $$i is not specified, then
6412         it is appended to the command (for compatibility with old syntax)
6413
6414 2002-10-14  Juergen Vigna  <jug@sad.it>
6415
6416         * undo_funcs.C (textHandleUndo): alter the order in which the
6417         new undopar is added to the LyXText, as we have to set first
6418         the right prev/next and then add it as otherwise the rebuild of
6419         LyXText is not correct. Also reset the cursor to the right paragraph,
6420         with this IMO we could remove the hack in "redoParagraphs()".
6421
6422 2002-10-09  Angus Leeming  <leeming@lyx.org>
6423
6424         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6425         to turn off an optimisation if a new inset is to be inserted.
6426
6427 2002-10-11 André Pönitz <poenitz@gmx.net>
6428
6429         * lyxtext.h: make some functions public to allow access
6430         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6431
6432 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6433
6434         * text3.C (dispatch): when changing layout, avoid an infinite loop
6435         [bug #652]
6436
6437 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6438
6439         * lyxrc.C (read): treat a viewer or converter command of "none" as
6440         if it were empty.
6441
6442         * MenuBackend.C (expandFormats): for an update, also allow the
6443         formats that are not viewable
6444
6445         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6446         script if it is newer than the lyxrc.defaults in user directory
6447
6448 2002-10-07 André Pönitz <poenitz@gmx.net>
6449
6450         * text.C: Vitaly Lipatov's small i18n fix
6451
6452 2002-09-25  Angus Leeming  <leeming@lyx.org>
6453
6454         * ispell.h: doxygen fix.
6455
6456 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6457
6458         * buffer.h (readFile): Add a new argument to the method, to allow
6459         reading of old-format templates.
6460
6461 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6462
6463         * toc.C (getTocList): Get TOC from InsetWrap.
6464
6465 2002-09-16  John Levon  <levon@movementarian.org>
6466
6467         * lyxfunc.C: check tabular for cut/copy too
6468
6469 2002-09-12  John Levon  <levon@movementarian.org>
6470
6471         * LyXAction.C: tidy
6472
6473         * factory.h:
6474         * factory.C: add header
6475
6476         * paragraph_funcs.h:
6477         * paragraph_funcs.C: cleanup
6478
6479 2002-09-11  John Levon  <levon@movementarian.org>
6480
6481         * PrinterParams.h: odd/even default to true
6482
6483 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6484
6485         * PrinterParams.h: update printer parameters for new xforms dialog
6486
6487 2002-09-11  Angus Leeming  <leeming@lyx.org>
6488
6489         * lyxserver.C (read_ready): re-write to make it more transparent
6490         and to make it work in coherent fashion under Tru64 Unix.
6491
6492 2002-09-11  André Pönitz <poenitz@gmx.net>
6493
6494         * commandtags.h:
6495         * LyXAction.C:
6496         * text3.C: implement LFUN_WORDSEL
6497
6498 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6499
6500         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6501         make floatlist_ a boost::shared_ptr<FloatList>
6502
6503         * lyxtextclass.C: include FloatList.h
6504         (LyXTextClass): initialize floatlist_
6505         (TextClassTags): add TC_NOFLOAT
6506         (Read): match "nofloat" to TC_NOFLOAT and use it.
6507         (readFloat): modify call to floatlist_
6508         (floats): ditto
6509         (floats): ditto
6510
6511         * FloatList.[Ch] (FloatList): remove commented out float
6512         initialization.
6513         (erase): new function
6514
6515 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6516
6517         * MenuBackend.C (expandToc): fix crash when there is no document
6518         open
6519
6520 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6521
6522         * many files: Add insetwrap.
6523
6524 2002-09-09  John Levon  <levon@movementarian.org>
6525
6526         * text2.C: remove confusing and awkward depth wraparound
6527
6528 2002-09-09  John Levon  <levon@movementarian.org>
6529
6530         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6531
6532         * buffer.h:
6533         * buffer.C: remove getIncludeonlyList()
6534
6535         * paragraph.C:
6536         * lyxfunc.C: remove headers
6537
6538 2002-09-09  Juergen Vigna  <jug@sad.it>
6539
6540         * text.C (getColumnNearX): fix form Michael this is most
6541         probably a cut&paste bug.
6542
6543 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6544
6545         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6546
6547         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6548         references, ws changes.
6549
6550         * text2.C (init): update counters after init
6551         (insertParagraph): no need to set counter on idividual paragraphs.
6552         (setCounter): access the counters object in the textclass object
6553         on in the buffer object.
6554         (updateCounters): ditto
6555
6556         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6557         shared_ptr<Counters> to avoid loading counters.h in all
6558         compilation units.
6559         (LyXTextClass): initialize ctrs_
6560         (TextClassTags): add TC_COUNTER, and ...
6561         (Read): use it here.
6562         (CounterTags): new tags
6563         (readCounter): new function
6564         (counters): new funtion
6565         (defaultLayoutName): return a const reference
6566
6567         * counters.C (Counters): remove contructor
6568         (newCounter): remove a couple of unneeded statements.
6569         (newCounter): simplify a bit.
6570         (numberLabel): some small formatting changes.
6571
6572         * buffer.[Ch]: remove all traces of counters, move the Counters
6573         object to the LyXTextClass.
6574
6575 2002-09-06  Alain Castera  <castera@in2p3.fr>
6576
6577         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6578         package to set the horizontal alignment on fixed width columns.
6579
6580         * lyx_sty.C:
6581         * lyx_sty.h: added tabularnewline macro def.
6582
6583         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6584
6585 2002-09-06  John Levon  <levon@movementarian.org>
6586
6587         * LyXAction.C: tooltips for sub/superscript
6588
6589         * MenuBackend.C: a bit more verbose
6590
6591         * lyxfunc.C: tiny clean
6592
6593         * undo_funcs.C: document undo_frozen
6594
6595 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6596
6597         * counters.C (Counters): add missing algorithm counter.
6598
6599         * text2.C (setCounter): lookup the counter with layouts latexname
6600         instead of by section number.
6601         (setCounter): use a hackish way to lookup the correct enum
6602         counter.
6603         a float name->type change
6604         reset enum couners with counter name directly instead of depth value.
6605
6606         * counters.C (Counters): remove the push_backs, change to use the
6607         float type not the float name.
6608         (labelItem): remove unused string, float name->type change
6609
6610         * counters.h: don't include vector, loose the enums and sects vectors
6611
6612 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6613
6614         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6615         (Read): add float->TC_FLOAT to textclassTags
6616         (Read): and handle it in the switch
6617         (readFloat): new function
6618
6619         * FloatList.C (FloatList): comment out the hardcoded float
6620         definitions.
6621
6622         * lyxlayout.h: ws change.
6623
6624 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6625
6626         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6627
6628 2002-09-03  Angus Leeming  <leeming@lyx.org>
6629
6630         * BufferView_pimpl.h: qualified name is not allowed in member
6631         declaration: WorkArea & Pimpl::workarea() const;
6632
6633         * factory.C: added using std::endl directive.
6634
6635         * text3.C: added using std::find and std::vector directives.
6636
6637 2002-08-29  André Pönitz <poenitz@gmx.net>
6638
6639         * lyxtext.h:
6640         * text2.C: remove unused member number_of_rows
6641
6642         * Makefile.am:
6643         * BufferView2.C: remove file, move contents to...
6644         * BufferView.C: ... here
6645
6646         * BufferView_pimpl.C:
6647         * factory.C: move more inset creation to factory
6648
6649         * vspace.C: avoid direct usage of LyXText, ws changes
6650
6651         * BufferView.[Ch]:
6652                 don't provide direct access to WorkArea, use two simple
6653                 acessors haveSelction() and workHeight() instead
6654
6655
6656 2002-08-29  John Levon  <levon@movementarian.org>
6657
6658         * BufferView_pimpl.C (dispatch): do not continue when
6659           no buffer
6660
6661 2002-08-28  André Pönitz <poenitz@gmx.net>
6662
6663         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6664
6665         * BufferView.h:
6666         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6667
6668 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6669
6670         * buffer.C: increment LYX_FORMAT to 221
6671
6672         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6673         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6674
6675         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6676
6677         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6678
6679 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6680
6681         * factory.C (createInset): use LyXTextClass::floats
6682
6683         * MenuBackend.C (expandFloatListInsert):
6684         (expandFloatInsert):
6685         (expandToc):
6686
6687         * text2.C (setCounter):
6688
6689         * LaTeXFeatures.C (useFloat):
6690         (getFloatDefinitions):
6691
6692         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6693
6694         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6695         floatlist_, with accessor floats().
6696
6697         * FloatList.h: remove global FloatList
6698
6699 2002-08-26  André Pönitz <poenitz@gmx.net>
6700
6701         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6702
6703         * BufferView.h:
6704         * BufferView2.C:
6705         * BufferView_pimpl.C:
6706         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6707
6708 2002-08-25  John Levon  <levon@movementarian.org>
6709
6710         * LyXAction.C: fix margin note description
6711
6712 2002-08-24  John Levon  <levon@movementarian.org>
6713
6714         * buffer.C:
6715         * bufferlist.C:
6716         * bufferview_funcs.C:
6717         * lyxfont.C:
6718         * undo_funcs.C: cleanups
6719
6720         * lyxfunc.C: disable CUT/COPY when no selection
6721
6722 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6723
6724         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6725         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6726
6727         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6728         Add backward compatibility to "mono", "gray" and "no".
6729
6730 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6731
6732         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6733         (and file_format >= 200).
6734
6735 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6736
6737         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6738
6739 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6740
6741         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6742
6743 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6744
6745         * BufferView_pimpl.C:
6746         * LyXAction.C:
6747         * buffer.C:
6748         * commandtags.h:
6749         * lyxfunc.C:
6750         * paragraph.[Ch]:
6751         * text2.C:
6752         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6753         inset and code to make it  work with the paragraph code. The inset
6754         can be anywhere in the paragraph, but will only do the expected
6755         thing in LaTeX if the layout file contains the parameter line
6756                         OptionalArgs    1
6757         (or more generally, a nonzero value) for that layout.
6758
6759 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6760
6761         * paragraph.h: remove the declaration of undefined counters class
6762         function.
6763
6764 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6765
6766         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6767         Dr. Richard Hawkins.
6768
6769 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6770
6771         * paragraph_funcs.h: remove some unneeded includes
6772
6773         * text.C (backspace): pasteParagraph now in global scipe
6774
6775         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6776         (pasteSelection): ditto
6777
6778         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6779         * paragraph_funcs.C (pasteParagraph): ... here
6780
6781 2002-08-20  André Pönitz <poenitz@gmx.net>
6782
6783         * commandtags.h: new LFUNs for swapping/copying table row/colums
6784
6785         * LyXAction.C:
6786         * lyxfunc.C: support for new lfuns
6787
6788 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6789
6790         * tabular.C:
6791         * buffer.[Ch]: remove NO_COMPABILITY stuff
6792
6793 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6794
6795         * boost.C (throw_exception): new file, with helper function for
6796         boost compiled without exceptions.
6797
6798         * paragraph.h:
6799         * lyxlength.C:
6800         * buffer.C:
6801         * ParameterStruct.h:
6802         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6803
6804         * bufferlist.C (emergencyWriteAll): use boost bind
6805
6806         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6807
6808         * text.C: include paragraph_funcs.h
6809         (breakParagraph): breakParagraph is now in global scope
6810
6811         * paragraph_funcs.[Ch]: new files
6812
6813         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6814         global scope
6815
6816         * buffer.C: include paragraph_funcs.h
6817         (insertStringAsLines): breakParagraph is now in global scope
6818
6819         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6820         paragraph_funcs.C
6821
6822         * CutAndPaste.C: include paragraph_funcs.h
6823         (cutSelection): breakParagraphConservative is now in global scope
6824         (pasteSelection): ditto
6825
6826         * buffer.h: declare oprator== and operator!= for
6827         Buffer::inset_iterator
6828
6829         * bufferlist.C (emergencyWrite): don't use fmt(...)
6830
6831         * text3.C: add using std::endl
6832
6833         * BufferView.C (moveCursorUpdate): remove default arg
6834
6835 2002-08-20  André Pönitz <poenitz@gmx.net>
6836
6837         * buffer.[Ch]: move inline functions to .C
6838
6839         * BufferView2.C:
6840         * BufferView_pimpl.C:
6841         * text.C:
6842         * buffer.[Ch]: use improved inset_iterator
6843
6844         * buffer.C:
6845         * paragraph.[Ch]: write one paragraph at a time
6846
6847 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6848
6849         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6850         style if style is not specified.
6851
6852 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6853
6854         * text2.C (setCounter): when searching for right label for a
6855         caption, make sure to recurse to parent insets (so that a caption
6856         in a minipage in a figure float works) (bug #568)
6857
6858 2002-08-20  André Pönitz <poenitz@gmx.net>
6859
6860         * text3.C: new file for LyXText::dispatch() and helpers
6861
6862         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6863
6864         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6865
6866 2002-08-19  André Pönitz <poenitz@gmx.net>
6867
6868         * lyxtext.h:
6869         * text.C: new LyXText::dispatch()
6870
6871         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6872
6873 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6874
6875         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6876
6877         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6878         Hebrew text.
6879
6880 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6881
6882         * Makefile.am: use $(variables) instead of @substitutions@
6883
6884 2002-08-15  André Pönitz <poenitz@gmx.net>
6885
6886         * lyxfunc.C:
6887         * BufferView_pimpl.C: streamlining mathed <-> outer world
6888         interaction
6889
6890         * commandtags.h:
6891         * LyXAction.C: remove unused LFUN_MATH
6892
6893 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6894
6895         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6896
6897 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6898
6899         * paragraph.C (Paragraph): reformat a bit
6900         (cutIntoMinibuffer): use builtin InsetList function instad of
6901         doing it manually.
6902         (getInset): ditto
6903
6904         * buffer.C: include boost/bind.hpp, add using std::for_each
6905         (writeFileAscii): use ParagraphList iterators
6906         (validate): use for_each for validate traversal of paragraphs
6907         (getBibkeyList): use ParagraphList iterators
6908         (resizeInsets): use for_each to resizeInsetsLyXText for all
6909         paragraphs.
6910         (getParFromID): use ParagraphList iterators
6911
6912         * BufferView2.C (lockInset): use paragraph list and iterators
6913
6914 2002-08-14  John Levon  <levon@movementarian.org>
6915
6916         * lyxserver.C: remove spurious xforms include
6917
6918 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6919
6920         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6921
6922 2002-08-13  André Pönitz <poenitz@gmx.net>
6923
6924         * LyXAction.[Ch]:
6925         * lyxfunc.C: further cleaning
6926
6927 2002-08-13  André Pönitz <poenitz@gmx.net>
6928
6929         * funcrequest.h: new constructor
6930
6931         * funcrequest.C: move stuff here from .h
6932
6933         * Makefile.am:
6934         * BufferView_pimpl.C:
6935         * LyXAction.C:
6936         * toc.C:
6937         * lyxfunc.C: subsequent changes
6938
6939         * lyxfunc.h: new view() member function
6940
6941         * lyxfunc.C: subsequent changes
6942
6943 2002-08-13  Angus Leeming  <leeming@lyx.org>
6944
6945         * BufferView2.C:
6946         * BufferView_pimpl.C:
6947         * buffer.C:
6948         * converter.C:
6949         * importer.C:
6950         * lyxfunc.C:
6951         * lyxvc.C:
6952         * toc.C:
6953         * vc-backend.C:
6954         changes due to the changed LyXView interface that now returns references
6955         to member variables not pointers.
6956
6957 2002-08-13  Angus Leeming  <leeming@lyx.org>
6958
6959         * WordLangTuple (word, lang_code): return references to strings,
6960         not strings.
6961
6962         * BufferView.h:
6963         * SpellBase.h:
6964         * lyxtext.h: forward-declare WordLangTuple.
6965
6966         * BufferView2.C:
6967         * ispell.C:
6968         * pspell.C:
6969         * text.C: #include "WordLangTuple.h".
6970
6971         * lyxtext.h:
6972         * text.C: (selectNextWordToSpellcheck): constify return type.
6973
6974 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6975
6976         * buffer.C:
6977         * buffer.h:
6978         * lyxtext.h:
6979         * paragraph.C:
6980         * paragraph_pimpl.h:
6981         * text.C:
6982         * text2.C:
6983         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6984         suggested by Angus.
6985         Made updateCounter always count from start of buffer, and removed
6986         second argument (par).
6987         Reverted floats number display to '#'. Perhaps I'll try again when the
6988         code base is sanitized a bit.
6989
6990 2002-08-12  Angus Leeming  <leeming@lyx.org>
6991
6992         * buffer.[Ch] (getLabelList): constify.
6993
6994 2002-08-07  André Pönitz <poenitz@gmx.net>
6995
6996         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6997
6998         * funcrequest.h: extension to keep mouse (x,y) position
6999
7000 2002-08-12  Juergen Vigna  <jug@sad.it>
7001
7002         * BufferView2.C (insertErrors): forbid undo when inserting error
7003         insets.
7004
7005         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7006
7007 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7008
7009         * ParagraphList.[Ch]: new files
7010
7011         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7012
7013         * BufferView2.C (lockInset): ParagraphList changes
7014         * toc.C: ditto
7015         * text2.C: ditto
7016         * bufferlist.C: ditto
7017         * buffer.h: ditto
7018         * buffer.C: ditto
7019
7020 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7021
7022         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7023         unused class variable counter_,
7024
7025         * paragraph.[Ch] (getFirstCounter): delete unused function
7026
7027         * counters.C: include LAssert.h
7028         (reset): add a new function with no arg, change other version to
7029         not have def. arg and to not allow empty arg.
7030
7031         * text2.C (setCounter): remove empty arg from call to Counters::reset
7032
7033 2002-08-11  John Levon  <levon@movementarian.org>
7034
7035         * Makefile.am: add WordLangTuple.h
7036
7037 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7038
7039         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7040         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7041
7042         * insets/insettext.C: InsetList changes
7043
7044         * graphics/GraphicsSupport.C (operator()): InsetList changes
7045
7046         * toc.C (getTocList): InsetList changes
7047
7048         * paragraph_pimpl.[Ch]: InsetList changes
7049
7050         * paragraph.[Ch]: InsetList changes
7051
7052         * buffer.C (inset_iterator): InsetList changes
7053         (setParagraph): ditto
7054         * buffer.h (inset_iterator): ditto
7055         * iterators.C (operator++): ditto
7056         * iterators.h: ditto
7057
7058         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7059
7060         * InsetList.[Ch]: new files, most InsetList handling moved out of
7061         paragraph.C.
7062
7063         * BufferView2.C (removeAutoInsets): InsetList changes
7064         (lockInset): ditto
7065         (ChangeInsets): ditto
7066
7067 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7068
7069         * paragraph_pimpl.h (empty): new function
7070
7071         * paragraph.[Ch] (empty): new function
7072
7073         * other files: use the new Paragraph::empty function
7074
7075 2002-08-09  John Levon  <levon@movementarian.org>
7076
7077         * lyxtext.h: remove unused refresh_height
7078
7079 2002-08-09  John Levon  <levon@movementarian.org>
7080
7081         * Makefile.am:
7082         * sgml.h:
7083         * sgml.C:
7084         * buffer.C:
7085         * paragraph.h:
7086         * paragraph.C: move sgml char escaping out of paragraph
7087
7088         * paragraph.h:
7089         * paragraph.C: remove id setter
7090
7091         * buffer.C:
7092         * paragraph.C:
7093         * paragraph_pimpl.C: remove dead tex_code_break_column
7094
7095         * bufferview_funcs.C: small cleanup
7096
7097         * lyxfunc.C: remove dead proto
7098
7099         * lyxtext.h: make some stuff private. Remove some dead stuff.
7100
7101         * lyxgluelength.C: make as[LyX]String() readable
7102
7103 2002-08-08  John Levon  <levon@movementarian.org>
7104
7105         * LyXAction.h:
7106         * LyXAction.C:
7107         * MenuBackend.C:
7108         * ToolbarDefaults.C:
7109         * lyxfunc.C:
7110         * lyxrc.C:
7111         * toc.C: lyxaction cleanup
7112
7113 2002-08-08  John Levon  <levon@movementarian.org>
7114
7115         * BufferView2.C: small cleanup
7116
7117         * lyxfind.h:
7118         * lyxfind.C: move unnecessary header into the .C
7119
7120 2002-08-08  John Levon  <levon@movementarian.org>
7121
7122         * funcrequest.h: just tedious nonsense
7123
7124         * lyx_main.h:
7125         * lyx_main.C: cleanups
7126
7127         * buffer.C:
7128         * vspace.C: remove dead header lyx_main.h
7129
7130 2002-08-07  Angus Leeming  <leeming@lyx.org>
7131
7132         * Paragraph.[Ch]:
7133         * paragraph_pimpl.h:
7134         Forward declare class Counters in paragraph.h by moving the ctrs member
7135         variable into Paragraph::Pimpl.
7136         (counters): new method, returning a reference to pimpl_->ctrs.
7137
7138         * text2.C: ensuing changes.
7139
7140 2002-08-07  John Levon  <levon@movementarian.org>
7141
7142         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7143
7144         * BufferView_pimpl.C: announce X selection on double/triple
7145           click
7146
7147         * lyx_main.C: use correct bool in batch dispatch
7148
7149         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7150
7151 2002-08-07  André Pönitz <poenitz@gmx.net>
7152
7153         * funcrequest.h: new class to wrap a kb_action and its argument
7154
7155         * BufferView.[Ch]:
7156         * BufferView_pimpl[Ch]:
7157         * LaTeX.C:
7158         * LyXAction.[Ch]:
7159         * lyxfunc.[Ch]:
7160         * lyxrc.C: subsequent changes
7161
7162
7163 2002-08-07  John Levon  <levon@movementarian.org>
7164
7165         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7166           document options change.
7167
7168 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7169
7170         * counters.[Ch]
7171         * text2.C
7172         * paragraph.[Ch]
7173         * makefile.am: move counters functionality over from
7174         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7175
7176 2002-08-06  John Levon  <levon@movementarian.org>
7177
7178         * WordLangTuple.h: new file for word + language code tuple
7179
7180         * SpellBase.h:
7181         * pspell.h:
7182         * pspell.C:
7183         * ispell.h:
7184         * ispell.C:
7185         * lyxtext.h:
7186         * text.C:
7187         * text2.C:
7188         * BufferView.h:
7189         * BufferView2.C: use WordLangTuple
7190
7191         * layout.h:
7192         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7193
7194 2002-08-06  John Levon  <levon@movementarian.org>
7195
7196         * lyx_main.C: fix cmdline batch handling
7197
7198 2002-08-06  André Pönitz <poenitz@gmx.net>
7199
7200         * lyxrc.C: set default for show_banner to true
7201
7202 2002-08-06  John Levon  <levon@movementarian.org>
7203
7204         * pspell.C: fix a crash, and allow new aspell to work
7205
7206 2002-08-06  John Levon  <levon@movementarian.org>
7207
7208         * lyxfunc.C:
7209         * kbmap.C: small cleanup
7210
7211         * vspace.h:
7212         * vspace.C: add const
7213
7214 2002-08-05  John Levon  <levon@movementarian.org>
7215
7216         * LyXAction.C: back to tabular-insert
7217
7218 2002-08-04  John Levon  <levon@movementarian.org>
7219
7220         * BufferView.h:
7221         * BufferView.C: cosmetic change
7222
7223         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7224
7225         * bufferlist.C:
7226         * buffer.h:
7227         * buffer.C:
7228         * lyxcb.h:
7229         * lyxcb.C:
7230         * lyxserver.C:
7231         * lyxvc.C:
7232         * vc-backend.C:
7233         * BufferView2.C: purge all "Lyx" not "LyX" strings
7234
7235         * lyxcursor.h:
7236         * lyxcursor.C: attempt to add some documentation
7237
7238         * lyxfunc.C:
7239         * commandtags.h:
7240         * LyXAction.C:
7241         * ToolbarDefaults.C:
7242         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7243           merge with LFUN_TABULAR_INSERT
7244
7245         * Makefile.am:
7246         * SpellBase.h:
7247         * ispell.h:
7248         * ispell.C:
7249         * pspell.h:
7250         * pspell.C: split up i/pspell implementations into separate
7251           files, many cleanups
7252
7253         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7254
7255         * text2.C: some cleanup
7256
7257         * lyxfunc.C: don't check for isp_command == "none" any more, it
7258           didn't make any sense
7259
7260 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7261
7262         * counters.[Ch]
7263         * text2.C
7264         * paragraph.[Ch]
7265         * makefile.am: move counters functionality over
7266         from text2.C/paragraph.[Ch] to counters.[Ch], and
7267         make proper C++.
7268 2002-08-02  John Levon  <levon@movementarian.org>
7269
7270         * buffer.C: s/lyxconvert/lyx2lyx/
7271
7272 2002-08-02  Angus Leeming  <leeming@lyx.org>
7273
7274         * lyxlex.C: revert John's change as it breaks reading of the user
7275         preamble.
7276
7277 2002-08-02  Angus Leeming  <leeming@lyx.org>
7278
7279         * importer.C (Import):
7280         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7281         changes due to LyXView::view() now returning a boost::shared_ptr.
7282
7283 2002-08-02  John Levon  <levon@movementarian.org>
7284
7285         * lyxlex.C: small cleanup
7286
7287 2002-08-02  John Levon  <levon@movementarian.org>
7288
7289         * text2.C (status): small cleanup, no logic change
7290
7291 2002-08-01  John Levon  <levon@movementarian.org>
7292
7293         * buffer.h:
7294         * buffer.C (writeFile): don't output alerts, caller
7295           handles this
7296
7297         * bufferlist.C:
7298         * lyx_cb.C: from above
7299
7300         * lyxfunc.C: allow to open non-existent files
7301
7302 2002-07-31  John Levon  <levon@movementarian.org>
7303
7304         * lyxserver.C: don't let incidental errors get
7305           in the way (errno)
7306
7307 2002-07-30  John Levon  <levon@movementarian.org>
7308
7309         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7310
7311 2002-07-30  John Levon  <levon@movementarian.org>
7312
7313         * lyxserver.h:
7314         * lyxserver.C: remove I/O callback too
7315
7316 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7317
7318         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7319         log.
7320
7321 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7322
7323         * many files: strip,frontStrip -> trim,ltrim,rtrim
7324
7325 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7326
7327         * PrinterParams.h: remove extern containsOnly, and include
7328         support/lstrings.h instead.
7329
7330         * LaTeX.C (scanAuxFile): modify because of strip changes
7331         (deplog): ditto
7332         * buffer.C (makeLaTeXFile): ditto
7333         * bufferparams.C (writeFile): ditt
7334         * lyxfont.C (stateText): ditto
7335         * lyxserver.C (read_ready): ditto
7336         * vc-backend.C (scanMaster): ditto
7337
7338         * BufferView_pimpl.h: ws changes
7339
7340         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7341
7342 2002-07-26  André Pönitz <poenitz@gmx.net>
7343
7344         * kb_sequence.C: remove unnedred usings
7345
7346 2002-07-26  Juergen Vigna  <jug@sad.it>
7347
7348         * lyxfind.C (LyXReplace): we have to check better if the returned
7349         text is not of theLockingInset()->getLockingInset().
7350
7351 2002-07-25  Juergen Vigna  <jug@sad.it>
7352
7353         * lyxfind.C (LyXReplace): don't replace if we don't get the
7354         right LyXText.
7355
7356         * undo_funcs.C (createUndo): remove debugging code.
7357
7358 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7359
7360         * buffer.C (parseSingleLyXformat2Token): Use default placement
7361         when reading old floats.
7362
7363         * FloatList.C (FloatList): Change the default placement of figure
7364         and tables to "tbp".
7365
7366 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7367
7368         * MenuBackend.C: using std::max
7369
7370 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7371
7372         * MenuBackend.C (expandToc):
7373         (expandToc2): code moved from xforms menu frontend. It is now
7374         generic and TOCs are transparent to menu frontends.
7375
7376 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7377
7378         * toc.C (getTocList): protect against buf=0
7379
7380         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7381         Menu as first parameter. Now, this calls itself recursively to
7382         expand a whole tree (this will be useful for TOC handling)
7383         (expandFloatInsert): remove 'wide' version of floats
7384
7385         * MenuBackend.h (submenuname): returns the name of the submenu.
7386         (submenu): returns the submenu itself, provided it has been
7387         created by MenuBackend::expand
7388
7389 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7390
7391         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7392         insets which have noFontChange == true. (bug #172)
7393
7394 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7395
7396         * BufferView_pimpl.C: add connection objects and use them...
7397         (Pimpl): here.
7398
7399 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7400
7401         * MenuBackend.C (expandLastfiles):
7402         (expandDocuments):
7403         (expandFormats):
7404         (expandFloatListInsert):
7405         (expandFloatInsert):
7406         (expand): split expand in parts
7407
7408 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7409
7410         * lyx_gui.C: use lyx_gui::exit()
7411
7412 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7413
7414         * LyXAction.C: show the failing pseudo action
7415
7416 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7417
7418         * buffer.C (readFile): Run the lyxconvert script in order to read
7419         old files.
7420
7421 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7422
7423         * LyXAction.C:
7424         * commandtags.h:
7425         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7426
7427 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7428
7429         * LyXAction.C:
7430         * commandtags.h:
7431         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7432
7433 2002-07-22  Herbert Voss  <voss@lyx.org>
7434
7435         * lengthcommon.C:
7436         * lyxlength.[Ch]: add support for the vertical lengths
7437
7438 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7439
7440         * toc.[Ch]: std:: fixes
7441
7442 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7443
7444         * lyxrc.C: do not include lyx_main.h
7445
7446         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7447         for layouts
7448
7449         * lyxrc.C:
7450         * encoding.C:
7451         * bufferlist.C:
7452         * BufferView2.C: include "lyxlex.h"
7453
7454         * tabular.h:
7455         * bufferparams.h: do not #include "lyxlex.h"
7456
7457         * lyxtextclasslist.C (Add): remove method
7458         (classlist): renamed to classlist_
7459
7460         * paragraph_pimpl.C:
7461         * paragraph.C:
7462         * text2.C:
7463         * CutAndPaste.C:
7464         * bufferview_funcs.C:
7465         * bufferlist.C:
7466         * text.C:
7467         * LaTeXFeatures.C:
7468         * buffer.C:
7469         * toc.C (getTocList): use BufferParams::getLyXTextClass
7470
7471         * toc.C (getTocList): use InsetFloat::addToToc
7472
7473         * toc.[Ch]: new files, containing helper functions to handle table
7474         of contents
7475
7476         * lyxfunc.C (dispatch): no need to remove spaces around command
7477         given as a string
7478         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7479         first command of the sequence; it is not very clever, but I do not
7480         have a better idea, actually
7481
7482         * LyXAction.C (LookupFunc): make sure to remove space at the
7483         beginning and end of the command
7484
7485 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7486
7487         * MenuBackend.C (getMenubar): new method: return the menubar of
7488         this menu set
7489         (read): treat differently reading of menu and menubar (in
7490         particular, the menubar has no name now)
7491         (Menu::menubar): remove
7492
7493         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7494         saving is finished
7495
7496 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7497
7498         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7499         a bibitem inset in a RTL paragraph.
7500
7501 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7502
7503         * paragraph_pimpl.C: constify
7504
7505         * BufferView_pimpl.C:
7506         * LaTeX.C:
7507         * lyxfunc.C: fix dispatch in a nicer way
7508
7509 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7510
7511         * lyxfunc.C (dispatch):
7512         * BufferView_pimpl.C:
7513         * BufferView_pimpl.h:
7514         * BufferView.C:
7515         * BufferView.h: rename Dispatch() to dispatch()
7516
7517         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7518
7519         * lyxlayout.C (Read): honor DependsOn tag
7520
7521         * lyxlayout.[Ch] (depends_on): new method
7522
7523         * version.C.in: update lyx_docversion
7524
7525         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7526
7527         * paragraph.C (validate): remove from here...
7528         * paragraph_pimpl.C (validate): ... and move here
7529         (isTextAt): make it const
7530
7531         * buffer.C (getLists): ws cleanup
7532
7533 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7534
7535         * language.C (read): Use iso8859-1 encoding in latex_lang
7536         (this prevents LyX from crashing when using iso10646-1 encoding).
7537
7538 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7539
7540         * text2.C (toggleInset): if cursor is inside an inset, close the
7541         inset and leave cursor _after_ it
7542
7543 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7544
7545         * lyxfunc.C: move minibuffer completion handling out of here
7546
7547 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7548
7549         * BufferView_pimpl.C:
7550         * LaTeX.C: fix dispatch calls
7551
7552 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7553
7554         * text.C (drawChars): Fix Arabic text rendering.
7555
7556 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7557
7558         * LyXAction.C:
7559         * commandtags.h:
7560         * lyxfunc.C: remove message-push/pop
7561
7562         * lyxserver.C:
7563         * lyxfunc.h:
7564         * lyxfunc.C: rationalise some code by removing verboseDispatch
7565           in favour of a bool argument to dispatch()
7566
7567 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7568
7569         * lyx_main.C (init): make sure to read symlinks as absolute paths
7570
7571 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7572
7573         * lyxfunc.h:
7574         * lyxfunc.C: no need for commandshortcut to be a member
7575
7576 2002-07-15  André Pönitz <poenitz@gmx.net>
7577
7578         * converter.C: add support for $$s (scripts from lib/scripts dir)
7579         * lyx_main.C: white space
7580
7581 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7582
7583         * bufferlist.C:
7584         * lyxrc.h:
7585         * lyxrc.C: remove second exit confirmation
7586
7587 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7588
7589         * BufferView.h:
7590         * BufferView.C:
7591         * BufferView2.C:
7592         * BufferView_pimpl.h:
7593         * BufferView_pimpl.C:
7594         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7595
7596 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7597
7598         * MenuBackend.C (expand): add numeric shortcuts to document menu
7599
7600         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7601
7602 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7603
7604         * lyxfont.C (setLyXFamily):
7605         (setLyXSeries):
7606         (setLyXShape):
7607         (setLyXSize):
7608         (setLyXMisc):
7609         (lyxRead):
7610         * debug.C (value):
7611         * buffer.C (asciiParagraph): use ascii_lowercase
7612
7613 2002-07-15  Mike Fabian  <mfabian@suse.de>
7614
7615         * lyxlex_pimpl.C (search_kw):
7616         * lyxlex.C (getLongString):
7617         * converter.h (operator<):
7618         * converter.C (operator<):
7619         * buffer.C (parseSingleLyXformat2Token):
7620         (asciiParagraph):
7621         * ToolbarDefaults.C (read):
7622         * MenuBackend.C (checkShortcuts):
7623         (read):
7624         * LColor.C (getFromGUIName):
7625         (getFromLyXName): use the compare_ascii_no_case instead of
7626         compare_no_case, because in turkish, 'i' is not the lowercase
7627         version of 'I', and thus turkish locale breaks parsing of tags.
7628
7629 2002-07-16  Angus Leeming  <leeming@lyx.org>
7630
7631         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7632         now takes a Buffer const & argument.
7633
7634 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7635
7636         * BufferView.C (resize): check there's a buffer to resize
7637
7638 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7639
7640         * lyxfunc.C: remove dead code
7641
7642         * lyxserver.h:
7643         * lyxserver.C: use lyx_guii::set_read_callback
7644
7645 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7646
7647         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7648         an inset in a RTL paragraph.
7649
7650 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7651
7652         * lyxfunc.C: repaint after a font size update
7653
7654 2002-07-15  André Pönitz <poenitz@gmx.net>
7655
7656         * lyxlength.C: inBP should be able to return negative values
7657
7658 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7659
7660         * lyxfunc.C: use lyx_gui::update_fonts()
7661
7662 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7663
7664         * lyxfunc.C: use lyx_gui::update_color()
7665
7666 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7667
7668         * bufferlist.C:
7669         * lyxfunc.h:
7670         * lyxfunc.C:
7671         * lyxrc.h:
7672         * lyxrc.C: remove file->new asks for name option, and let
7673           buffer-new take an argument
7674
7675 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7676
7677         * BufferView_pimpl.C: remove unneeded extra repaint()
7678
7679 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7680
7681         * LyXAction.C: allow command-sequence with NoBuffer
7682
7683         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7684
7685 2002-07-10  Angus Leeming  <leeming@lyx.org>
7686
7687         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7688
7689 2002-07-09  Angus Leeming  <leeming@lyx.org>
7690
7691         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7692
7693 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7694
7695         * lengthcommon.h: whitespace
7696
7697         * lyxfunc.C: update scrollbar after goto paragraph
7698
7699         * lyxtext.h: factor out page break drawing, and fix it so
7700           page break/added space paints as selected nicely
7701
7702 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7703
7704         * BufferView_pimpl.C: add FIXMEs, clean up a little
7705
7706 2002-07-09  André Pönitz <poenitz@gmx.net>
7707
7708         * lyxfont.[Ch]: support for wasy symbols
7709
7710 2002-07-08  André Pönitz <poenitz@gmx.net>
7711
7712         * BufferView_pimpl.C: apply John's patch for #93.
7713
7714 2002-07-05  Angus Leeming  <leeming@lyx.org>
7715
7716         * BufferView_pimpl.C (buffer): generate previews if desired.
7717
7718         * LColor.h: add "preview" to the color enum.
7719
7720         * LColor.C (LColor): add a corresponding entry to the items array.
7721
7722         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7723         with this buffer.
7724
7725 2002-07-05  Angus Leeming  <leeming@lyx.org>
7726
7727         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7728         The body of the code is now in the method that is passed an ostream &
7729         rather than a file name.
7730         Pass an additional only_preamble parameter, useful for the forthcoming
7731         preview stuff.
7732
7733 2002-07-03  André Pönitz <poenitz@gmx.net>
7734
7735         * lyxfunc.C: simplify getStatus() a bit for math stuff
7736
7737 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7738
7739         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7740
7741 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7742
7743         * text.C (changeRegionCase): do not change case of all the
7744         document when region ends at paragraph end (bug #461)
7745
7746 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7747
7748         * paragraph.C (startTeXParParams):
7749         (endTeXParParams): add \protect when necessary
7750
7751 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7752
7753         * BufferView_pimpl.C (workAreaExpose): remove warning
7754
7755 2002-06-27  Angus Leeming  <leeming@lyx.org>
7756
7757         * Makefile.am: add lyxlayout_ptr_fwd.h.
7758
7759 2002-06-26  André Pönitz <poenitz@gmx.net>
7760
7761         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7762
7763 2002-06-25  Angus Leeming  <leeming@lyx.org>
7764
7765         * lyxfunc.C (dispatch): Comment out the call to
7766         grfx::GCache::changeDisplay. The method no longer exists now that the
7767         pixmap generation part of the graphics loader has been moved into
7768         InsetGraphics.
7769
7770 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7771
7772         * text2.C: layout as layout
7773
7774         * text.C: layout as layout
7775
7776         * tabular.C (OldFormatRead): layout as layout
7777
7778         * paragraph_pimpl.C (TeXDeeper): layout as layout
7779         (realizeFont): layout as layout
7780
7781         * paragraph.C (writeFile): layout as layout
7782         (validate): layout as layout
7783         (getFont): layout as layout
7784         (getLabelFont): layout as layout
7785         (getLayoutFont): layout as layout
7786         (breakParagraph): layout as layout
7787         (stripLeadingSpaces): layout as layout
7788         (getEndLabel): layout as layout
7789         (getMaxDepthAfter): layout as layout
7790         (applyLayout): layout as layout
7791         (TeXOnePar): layout as layout
7792         (simpleTeXOnePar): layout as layout
7793         (TeXEnvironment): layout as layout
7794         (layout): layout as layout
7795         (layout): layout as layout
7796
7797         * lyxtextclass.C (compare_name): new functor to work with
7798         shared_ptr, layout as layout
7799         (Read): layout as layout
7800         (hasLayout): layout as layout
7801         (operator): layout as layout
7802         (delete_layout): layout as layout
7803         (defaultLayout): layout as layout
7804
7805         * lyxlayout_ptr_fwd.h: new file
7806
7807         * lyxlayout.C (Read): layout as layout
7808
7809         * lyx_cb.C (MenuInsertLabel): layout as layout
7810
7811         * bufferlist.C (newFile): layout as layout
7812
7813         * buffer.C (readLyXformat2): layout as layout
7814         (parseSingleLyXformat2Token): layout as layout
7815         (insertStringAsLines): layout as layout
7816         (asciiParagraph): layout as layout
7817         (latexParagraphs): layout as layout
7818         (makeLinuxDocFile): layout as layout
7819         (simpleLinuxDocOnePar): layout as layout
7820         (makeDocBookFile): layout as layout
7821         (simpleDocBookOnePar): layout as layout
7822         (getLists): layout as layout
7823
7824         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7825
7826         * CutAndPaste.C (cutSelection): layout as layout
7827         (pasteSelection): layout as layout
7828         (SwitchLayoutsBetweenClasses): layout as layout
7829
7830         * BufferView_pimpl.C (Dispatch): layout as layout
7831         (smartQuote): layout as layout
7832
7833         * BufferView2.C (unlockInset): layout as layout
7834
7835 2002-06-24  André Pönitz <poenitz@gmx.net>
7836
7837         * lyxfunc.C: fix #487
7838
7839 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7840
7841         * lyxrc.h:
7842         * lyxrc.C:
7843         * lyxfunc.C: remove display_shortcuts, show_banner
7844
7845 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7846
7847         * Buffer_pimpl.C: oops, update on resize
7848
7849 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7850
7851         * buffer.C:
7852         * converter.C:
7853         * exporter.C:
7854         * lyxfunc.C:
7855         * BufferView.h:
7856         * BufferView.C: use repaint()
7857
7858         * BufferView_pimpl.h:
7859         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7860           as it's a clearer description. Remove superfluous
7861           redraws.
7862
7863 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7864
7865         * text.C: fix bug 488. Not ideal, but getting
7866           getWord() to work properly for the insets that
7867           matter is more difficult ...
7868
7869 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7870
7871         * BufferView_pimpl.C:
7872         * LyXAction.C:
7873         * commandtags.h:
7874         * lyxfunc.C: remove the six million index lyxfuncs to just
7875           one, and DTRT (bug 458)
7876
7877 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7878
7879         * BufferView.h:
7880         * BufferView.C:
7881         * BufferView_pimpl.h:
7882         * BufferView_pimpl.C: clean up resize() stuff,
7883           and unnecessary updateScreen()s
7884
7885 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7886
7887         * BufferView.h:
7888         * BufferView.C:
7889         * BufferView_pimpl.h:
7890         * BufferView_pimpl.C:
7891         * lyxfind.h:
7892         * lyxfind.C:
7893         * minibuffer.C: remove focus management of workarea,
7894           not needed. Use screen's greyOut()
7895
7896 2002-06-17  Herbert Voss  <voss@lyx.org>
7897
7898         * converter.C: (convert) do not post a message, when converting
7899         fails, let the calling function decide what to do in this case
7900
7901 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7902
7903         * lyxfunc.C: tidy up a little
7904
7905 2002-06-16    <alstrup@diku.dk>
7906
7907         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7908         Got rid of FORMS_H_LOCATION include. Now we are
7909         GUII.
7910
7911 2002-06-15  LyX Development team  <lyx@rilke>
7912
7913         * buffer.[Ch] (sgmlOpenTag):
7914         (sgmlCloseTag): Added support for avoiding pernicious mixed
7915         content. Return number of lines written.
7916
7917         (makeLinuxDocFile):
7918         (makeDocBookFile): Fixed calls to sgml*Tag.
7919         Simple white space clean.
7920
7921         (simpleDocBookOnePar): Simple white space clean.
7922
7923         * tabular.[Ch] (docBook): Renamed to docbook and got another
7924         argument to related with the pernicious mixed content.
7925
7926         (docbookRow): Fixed calls for docbook inset method.
7927
7928 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7929
7930         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7931         so it's X11 independent.
7932
7933         * kb*.[Ch]: ditto.
7934
7935         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7936
7937 2002-06-15  Lyx Development team  <lyx@electronia>
7938
7939         * intl.h: Renamed getTrans to getTransManager.
7940
7941 2002-06-14  Angus Leeming  <leeming@lyx.org>
7942
7943         * Makefile.am: nuke forgotten stl_string_fwd.h.
7944
7945 2002-06-12  Angus Leeming  <leeming@lyx.org>
7946
7947         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7948
7949 2002-06-13  Angus Leeming  <leeming@lyx.org>
7950
7951         * LaTeX.C:
7952         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7953
7954 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7955
7956         * kbmap.C (getiso): add support for cyrillic and greek
7957
7958 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7959
7960         * BufferView.h:
7961         * BufferView.C:
7962         * BufferView_pimpl.h:
7963         * BufferView_pimpl.C: move bogus scrolling logic
7964           to xforms
7965
7966 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7967
7968         * lyxfunc.C:
7969         * BufferView_pimpl.C: view->resize() change
7970
7971 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7972
7973         * BufferView_pimpl.C: topCursorVisible
7974           prototype change
7975
7976 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7977
7978         * Makefile.am:
7979         * lyx_gui.h:
7980         * lyx_gui.C: move to frontends/
7981
7982         * main.C:
7983         * lyx_main.h:
7984         * lyx_main.C: changes from above
7985
7986 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7987
7988         * intl.C:
7989         * intl.h:
7990         * kbmap.C:
7991         * kbsequence.C:
7992         * lyx_cb.C:
7993         * lyx_main.C: minor tidy
7994
7995 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7996
7997         * BufferView_pimpl.h:
7998         * BufferView_pimpl.C:
7999         * BufferView.h:
8000         * BufferView.C: make painter() const,
8001           remove dead code
8002
8003         * BufferView2.C: use screen() accessor
8004
8005         * lyx_main.h:
8006         * lyx_main.C: some minor cleanup
8007
8008 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8009
8010         * BufferView_pimpl.h:
8011         * BufferView_pimpl.C: remove enter/leaveView,
8012           use workHeight()
8013
8014 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8015
8016         * BufferView.h:
8017         * BufferView.C:
8018         * BufferView2.C:
8019         * BufferView_pimpl.h:
8020         * BufferView_pimpl.C: only construct screen once,
8021           rename
8022
8023         * lyxrc.C: remove pointless comment
8024
8025 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8026
8027         * BufferView.h:
8028         * BufferView.C: remove active() and belowMouse()
8029
8030         * BufferView_pimpl.h:
8031         * BufferView_pimpl.C: use workarea() not workarea_,
8032           and make it use a scoped_ptr instead
8033
8034 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8035
8036         * lyx_gui.C: add debug message on BadWindow
8037
8038 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8039
8040         * sp_spell.C: fdopen is not part of the C++ standard.
8041
8042         * paragraph.C (InsetIterator): use >= instead of ==
8043
8044 2002-06-07  Angus Leeming  <leeming@lyx.org>
8045
8046         Fixes needed to compile with Compaq cxx 6.5.
8047         * BufferView_pimpl.C:
8048         * DepTable.C:
8049         * buffer.C:
8050         * converter.C:
8051         * encoding.C:
8052         * lyx_gui.C:
8053         * lyx_main.C:
8054         * lyxtextclasslist.C:
8055         * minibuffer.C:
8056         * sp_spell.C:
8057         * tabular_funcs.C:
8058         * vc-backend.C:
8059         all c-library variables have been moved into namespace std. Wrap
8060         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8061
8062         * lyxlength.C:
8063         * tabular-old.C:
8064         * tabular.C:
8065         Add a using std::abs declaration.
8066
8067         * kbmap.h (modifier_pair):
8068         * paragraph.h (InsetTable, InsetList):
8069         * lyxfont.h (FontBits):
8070         type definition made public.
8071
8072         * bufferlist.C (emergencyWriteAll): the compiler complains that
8073         there is more than one possible lyx::class_fun template to choose from.
8074         I re-named the void specialisation as lyx::void_class_fun.
8075
8076         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8077
8078         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8079         the compiler is is unable to find tostr in write_attribute.
8080
8081 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8082
8083         * buffer.C (sgmlError): hide #warning
8084
8085 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8086
8087         * xtl/*: get rid of xtl, which is not in use anyway
8088
8089         * LyXAction.C (init):
8090         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8091         were unimplemented xtl experimentation
8092
8093 2002-06-04  André Pönitz <poenitz@gmx.net>
8094
8095         * lyxfunc.C: disable array operation on simple formulae
8096
8097 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8098
8099         * converter.C: constify a bit
8100
8101 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8102
8103         * lyx_gui.C: check xforms version correctly
8104
8105 2002-04-30  Herbert Voss  <voss@lyx.org>
8106
8107         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8108         "keep" option
8109
8110 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8111
8112         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8113           attempt to register it with a VCS)
8114
8115 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8116
8117         * lyx_main.C (init): honor variables LYX_DIR_13x and
8118         LYX_USERDIR_13x
8119
8120 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8121
8122         * buffer.h:
8123         * buffer.C:
8124         * lyx_main.C: fix a crash on bad command line,
8125           and give a useful exit status on error
8126
8127         * lyxfunc.C (doImport): allow -i lyx to work
8128
8129 2002-03-30  André Pönitz <poenitz@gmx.net>
8130
8131         * lyxfunc.C: mathed font changes
8132
8133 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8134
8135         * LaTeX.C:
8136         * importer.h:
8137         * importer.C:
8138         * lyx_sty.h:
8139         * lyx_sty.C:
8140         * lyxlex.C:
8141         * lyxrow.h:
8142         * lyxtext.h:
8143         * paragraph.h:
8144         * paragraph.C:
8145         * texrow.h:
8146         * texrow.C:
8147         * text.C:
8148         * trans_mgr.h: srcdocs, and some minor cleanups
8149
8150 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8151
8152         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8153         call getFont all the time)
8154
8155 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8156
8157         * switch from SigC signals to boost::signals
8158
8159 2002-05-29  André Pönitz <poenitz@gmx.net>
8160
8161         * paragraph_pimpl.C (getChar): don't call size() too often...
8162
8163 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8164
8165         * paragraph_pimpl.C (insertChar): do not try to update tables when
8166         appending (pos == size())
8167
8168         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8169         in order to reduce drastically the number of comparisons needed to
8170         parse a large document
8171
8172 2002-05-29  André Pönitz <poenitz@gmx.net>
8173
8174         * text.C:
8175         * text2.C:
8176         * lyxtextclass.C:
8177         * sp_pspell.h:
8178         * textclasslist.[Ch]:
8179         * sp_ispell.h: whitespace change
8180
8181 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8182
8183         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8184         lyxaction directly now.
8185
8186 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8187
8188         * trans.C:
8189         * lyxfont.C:
8190         * lyxvc.C: remove unused headers
8191
8192 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8193
8194         * Makefile.am:
8195         * buffer.h:
8196         * undostack.h:
8197         * undostack.C:
8198         * undo_funcs.h:
8199         * undo_funcs.C: some cleanups. Use shared_ptr
8200           and a template for the undo stacks.
8201
8202 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8203
8204         * BufferView_pimpl.h:
8205         * BufferView_pimpl.C:
8206         * kbmap.h:
8207         * kbmap.C:
8208         * kbsequence.h:
8209         * kbsequence.C:
8210         * lyxfunc.h:
8211         * lyxfunc.C:
8212         * text2.C: use key_state/mouse_state
8213
8214 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8215
8216         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8217         and LSubstring
8218
8219         * chset.C: change include order
8220         (loadFile): use boost regex and get rid of LRegex and LSubstring
8221
8222         * Makefile.am (BOOST_LIBS): new variable
8223         (lyx_LDADD): use it
8224
8225         * LaTeX.C: change include order.
8226         (scanAuxFile): use boost regex and get rid of LRegex and
8227         LSubstring
8228         (deplog): ditto
8229
8230 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8231
8232         * ColorHandler.h:
8233         * ColorHandler.C:
8234         * FontInfo.h:
8235         * FontInfo.C: moved to frontends/xforms/
8236
8237         * FontLoader.h:
8238         * FontLoader.C: moved into frontends for GUIIzation
8239
8240         * Makefile.am:
8241         * lyx_gui.C:
8242         * lyxfont.C:
8243         * lyxfunc.C: changes from above
8244
8245 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8246
8247         * LColor.C: remove spurious X include
8248
8249         * BufferView_pimpl.C:
8250         * Makefile.am:
8251         * font.h:
8252         * font.C:
8253         * text.C:
8254         * text2.C: move font metrics to frontends/
8255
8256 2002-05-24  Juergen Vigna  <jug@sad.it>
8257
8258         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8259         setting the undo_cursor.
8260
8261         * ParagraphParameters.h: include local includes first.
8262
8263 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8264
8265         * BufferView_pimpl.C:
8266         * BufferView_pimpl.h:
8267         * Makefile.am:
8268         * WorkArea.h:
8269         * WorkArea.C:
8270         * screen.C: move WorkArea into frontends/
8271
8272         * lyxscreen.h:
8273         * screen.C:
8274         * text.C:
8275         * BufferView.C:
8276         * BufferView2.C: move LyXScreen into frontends/
8277
8278         * lyxlookup.h:
8279         * lyxlookup.C:
8280         * lyx_gui.C: move lyxlookup into frontends/xforms/
8281
8282 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8283
8284         * BufferView2.C:
8285         * BufferView_pimpl.C:
8286         * FontLoader.C:
8287         * LyXView.h:
8288         * LyXView.C:
8289         * Makefile.am:
8290         * WorkArea.C:
8291         * XFormsView.h:
8292         * XFormsView.C:
8293         * buffer.C:
8294         * bufferlist.C:
8295         * bufferview_funcs.C:
8296         * converter.C:
8297         * importer.C:
8298         * lyx_cb.C:
8299         * lyx_gui.C:
8300         * lyx_main.C:
8301         * lyx_find.C:
8302         * lyxfunc.C:
8303         * lyxvc.C:
8304         * minibuffer.C:
8305         * text.C:
8306         * text2.C:
8307         * trans.C:
8308         * vc-backend.C: move LyX/XFormsView into frontends/
8309
8310 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8311
8312         * Makefile.am:
8313         * PainterBase.C:
8314         * PainterBase.h:
8315         * Painter.C:
8316         * Painter.h:
8317         * WorkArea.C:
8318         * WorkArea.h:
8319         * screen.C:
8320         * tabular.C:
8321         * text.C:
8322         * text2.C: move Painter to frontends/
8323
8324 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8325
8326         * buffer.C: comment out some some code that depend upon lyx_format
8327         < 220
8328
8329         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8330         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8331
8332         * buffer.h (NO_COMPABILITY): turn off compability
8333
8334         * ColorHandler.C: include scoped_array.hpp
8335
8336         * font.C: Use more specific smart_ptr header.
8337         * Painter.C: ditto
8338         * gettext.C: ditto
8339         * ShareContainer.h: ditto
8340         * lyx_main.h: ditto
8341         * kbmap.h: ditto
8342         * FontInfo.h: ditto
8343         * BufferView_pimpl.h: ditto
8344         * ColorHandler.h: ditto
8345
8346         * kbmap.C (defkey): change call to shared_ptr::reset
8347
8348 2002-05-21  Juergen Vigna  <jug@sad.it>
8349
8350         * buffer.C (insertErtContents): fix to insert ert asis if it is
8351         non empty. Skip it completely if it contains only whitespaces.
8352
8353 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8354
8355         * BufferView_pimpl.C:
8356         * BufferView2.C: clear selection on paste (bug 393)
8357
8358 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8359
8360         * DepTable.C: include ctime
8361
8362 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8363
8364         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8365
8366 2002-05-14  Juergen Vigna  <jug@sad.it>
8367
8368         * text.C (breakParagraph): fixed function to honor the keepempty
8369         layout in the right maner and also to permit the right breaking
8370         algorithm on empty or non empyt keepempty paragraphs.
8371
8372         * paragraph.C (breakParagraph): we have to check also if the par
8373         is really empty (!size()) for isempty otherwise we do the wrong
8374         paragraph break.
8375
8376 2002-05-10  Juergen Vigna  <jug@sad.it>
8377
8378         * buffer.[Ch] : The following are only changes to the ert
8379         compatibility read reading old LaTeX layout and font stuff and
8380         convert it to ERTInsets.
8381
8382         * buffer.h: added isErtInset().
8383
8384         * buffer.C (struct ErtComp): add a fromlayout bool to check
8385         if we're inside a LaTeX layout.
8386         (isErtInset): new helper function.
8387         (insertErtContents): look for other ert insets before this one
8388         and insert the contents there, so that we don't have subsequent
8389         ERT insets with nothing between them. This way we create only one
8390         inset with multiple paragraphs. Also check if we don't insert only
8391         spaces ' ' as they are ignored anyway afterwards in the .tex file
8392         so if we have only spaces we will ignore this latex part in the
8393         new file.
8394         (parseSingleLyXformat2Token \\layout): better compatibility when
8395         reading layout-latex stuff.
8396         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8397         language tag.
8398         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8399         stuff after reading the inset only get the information back from
8400         the stack.
8401
8402 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8403
8404         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8405
8406         * LaTeXFeatures.C (getBabelOptions): New method.
8407
8408 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8409
8410         * BufferView_pimpl.C (Dispatch): work around missing argument for
8411         'layout'
8412
8413 2002-05-08  Juergen Vigna  <jug@sad.it>
8414
8415         * text.C (leftMargin): handle paragraph leftindent.
8416
8417         * paragraph.C (writeFile): write the new \\leftindent tag.
8418         (validate): handle leftindent code.
8419         (TeXEnvironment): handle paragraphleftindent code again.
8420
8421         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8422
8423         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8424         for paragrap_extra indent code and new token \\leftindent.
8425         (latexParagraphs): handle the leftindent as environment.
8426
8427         * ParameterStruct.h: added leftindent support.
8428
8429         * ParagraphParameters.C (leftIndent): added support functions for
8430         the paragraph left indent.
8431
8432         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8433         more appropriate.
8434
8435 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8436
8437         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8438         inside insetERT.
8439
8440         * text.C (computeBidiTables): No bidi in insetERT.
8441
8442         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8443         in RTL documents.
8444
8445 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8446
8447         * version.C.in: pre 5
8448
8449 2002-05-02  José Matos  <jamatos@fep.up.pt>
8450         * buffer.C (makeDocBookFile): white space changes, add newline to
8451         command styles.
8452         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8453
8454         * tabular.C (docBook): fix typo.
8455
8456 2002-05-03  Juergen Vigna  <jug@sad.it>
8457
8458         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8459         change in LyXText as we can not be sure it was not freed.
8460         (drawOneRow): remove unused code.
8461
8462         * text.C (drawInset): redo the calculation of the need_break_row as
8463         it could have a row which was already freed.
8464         (draw): look at the return value of drawInset and return false if
8465         it also returned false.
8466         (paintRowText): look at the return value of draw and return false if
8467         it also returned false.
8468
8469         * lyxtext.h: added bool return type to drawInset() and draw() so that
8470         if we have a change in the row so that the rowbreak has to be redone
8471         we abort drawing as it will be called again.
8472
8473 2002-05-02  Juergen Vigna  <jug@sad.it>
8474
8475         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8476         a change in the maintext also if we're inside an inset.
8477         (Dispatch): set the cursor again after a break line and after the
8478         screen has been updated as it could be we're in a different row.
8479
8480         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8481         to set the cursor behind the pargraph with > size().
8482         (setCursor): check also for the same paragraph when checking where
8483         to put the cursor if we have a NFR inset.
8484
8485         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8486         parts of layout read further up as it still was in the wrong
8487         position.
8488
8489 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8490
8491         * screen.C (drawFromTo): change sine fullRebreak always return
8492         true.
8493
8494         * buffer.C (parseSingleLyXformat2Token): reindent some
8495
8496         * BufferView_pimpl.C (update): change since fullRebreak always
8497         return true.
8498         (Dispatch): git rid of the last hardcoded "Standard"s.
8499
8500 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8501
8502         * text2.[Ch] (fullRebreak): make it return void now that we always
8503         returned true.
8504
8505 2002-04-30  Juergen Vigna  <jug@sad.it>
8506
8507         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8508         ert compatibility check for "latex" layout.
8509
8510 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8511
8512         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8513         minipages: use col% instead of p%, and also use the current font.
8514         (makeLaTeXFile): Fix use babel condition.
8515         (parseSingleLyXformat2Token): Correct font when reading old floats.
8516
8517 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8518
8519         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8520         inserting list of floats.
8521
8522 2002-04-25  Herbert Voss  <voss@lyx.org>
8523
8524         * MenuBackend.C (expand): don't add the graphics extensions to the
8525         export menu
8526
8527 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8528
8529         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8530         non-existing layout, do not complain if it was the default layout
8531         of the original class (bug #342)
8532
8533 2002-04-24  Juergen Vigna  <jug@sad.it>
8534
8535         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8536         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8537
8538 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8539
8540         * buffer.C (getBibkeyList): If using \bibliography, return the
8541         option field with the reference itself. Enables us to provide natbib
8542         support when using \bibliography.
8543
8544 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8545
8546         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8547
8548         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8549         natbib is provided by the LaTeX class.
8550
8551 2002-04-23  Juergen Vigna  <jug@sad.it>
8552
8553         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8554         Wakeup functions.
8555
8556         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8557
8558 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8559
8560         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8561
8562         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8563         ensuremath around textordmasculine, textordfeminine and
8564         textdegree.
8565
8566 2002-04-19  Juergen Vigna  <jug@sad.it>
8567
8568         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8569         reinitializing the buffer otherwise row-dimensions may be wrong.
8570         (update): reset also the selection cursors if they do exits otherwise
8571         their x/y positions may be wrong.
8572
8573         * text2.C (cursorDown): don't enter the inset if we came from a row
8574         above and are one row over the inset.
8575
8576         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8577         really leaving an inset.
8578
8579 2002-04-18  Juergen Vigna  <jug@sad.it>
8580
8581         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8582         of the selected paragraph does not have the selected layout also if
8583         the last one had!
8584
8585         * text2.C (setLayout): fixed bug which did not change last selected
8586         paragraph.
8587
8588         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8589         changed the read and substituted \\end_float with \\end_inset!
8590
8591         * BufferView_pimpl.C (cursorPrevious):
8592         (cursorNext): fixed to make it work with rows heigher than the work
8593         area without moving the cursor only the draw of the row.
8594         (workAreaMotionNotify): fix jumping over high rows.
8595
8596 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8597
8598         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8599         Ressler.
8600
8601 2002-04-16  Juergen Vigna  <jug@sad.it>
8602
8603         * text2.C (setCursor): set also the irow().
8604         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8605         (cursorUp):
8606         (cursorDown): support for locking an inset if the x_fix value goes
8607         inside it. That way I can transverse insets too with cursor up/down.
8608
8609         * lyxrow.h: added irow helper function same as other (i) functions.
8610
8611         * BufferView_pimpl.C (cursorPrevious):
8612         (cursorNext): fixed for insets!
8613
8614 2002-04-15  Juergen Vigna  <jug@sad.it>
8615
8616         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8617         position otherwise it is wrong in some cases.
8618
8619         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8620         inside the inset before the call.
8621
8622 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8623
8624         * buffer.[Ch] (getBibkeyList): make it const.
8625
8626 2002-04-12  Juergen Vigna  <jug@sad.it>
8627
8628         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8629
8630         * text2.C (getCursorX): new helper function
8631         (setCursor): compute also ix_
8632         (setCursorFromCoordinates): set also ix.
8633
8634         * lyxcursor.h: added ix_ and helper functions.
8635
8636         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8637
8638         * buffer.C (insertStringAsLines): dont break paragraph if the this
8639         paragraph is inside an inset which does not permit it!
8640
8641         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8642         also with no chars on this paragraph.
8643         (paintRowText): only paint stuff if it's inside the workarea!
8644
8645         * paragraph.C (breakParagraph): honor keepempty flag and break the
8646         paragraph always below not above.
8647
8648         * BufferView2.C (unlockInset): update the paragraph layout on inset
8649         unlock as we changed paragraph in such a case.
8650
8651         * lyxfind.C (LyXFind): clear the former selection if not found!
8652
8653         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8654         again called in insertChar().
8655
8656         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8657         an inset which uses the whole row!
8658         (rightMargin): ditto.
8659         (insertChar): force a rebreak if we inserted an inset!
8660
8661 2002-03-28  Herbert Voss  <voss@lyx.org>
8662
8663         * lyxlength.[Ch]: add inBP() to get the right PS-point
8664         units (BigPoint). With inPixels we have rounding errors
8665
8666 2002-04-11  Juergen Vigna  <jug@sad.it>
8667
8668         * text2.C (setCursorFromCoordinates): set iy to the right value.
8669         (setCursor): add check if row->previous exists!
8670
8671         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8672         an old float_type as this was the case in the old code!
8673
8674         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8675
8676         * BufferView2.C (showLockedInsetCursor): use iy
8677         (fitLockedInsetCursor): ditto
8678
8679         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8680         locked insets as there we have the right value now.
8681
8682         * lyxcursor.C: added iy_ variable and iy functions to set to the
8683         baseline of cursor-y of the locked inset.
8684
8685         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8686         (setCursor): fixed for insets which need a full row.
8687
8688         * text.C (rowLastPrintable): don't ignore the last space when before
8689         an inset which needs a full row.
8690         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8691         as last character of a row when before a inset which needs a full row.
8692
8693 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8694
8695         * version.C.in: update date
8696
8697         * text2.C (fullRebreak): try to always return true and see what
8698         happens...
8699
8700 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8701
8702         * MenuBackend.C (expand): use Floating::listName
8703
8704         * FloatList.C (FloatList): add listName argument to the built-in
8705         floats
8706
8707         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8708         text associated with the float.
8709
8710 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8711
8712         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8713
8714 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8715
8716         * ShareContainer.h: add a couple of missing typenames.
8717
8718 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8719
8720         * lyxrc.C (getDescription): use _() correctly rather than N_().
8721
8722 2002-03-28  Herbert Voss  <voss@lyx.org>
8723
8724         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8725         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8726
8727 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8728
8729         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8730         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8731
8732 2002-03-29  Juergen Vigna  <jug@sad.it>
8733
8734         * lyxfunc.C (dispatch): add a missing fitCursor call.
8735
8736         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8737         it was scrolled by a cursor move, so return the bool status.
8738
8739         * BufferView.C (fitCursor): return the bool flag also to the outside
8740         world as this is needed.
8741
8742         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8743
8744         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8745         call the edit() as it is not needed (and wrong) IMO.
8746         (workAreaButtonPress): set the screen_first variable before evt.
8747         unlock the inset as this may change screen_first and then we have
8748         a wrong y position for the click!
8749
8750 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8751
8752         * MenuBackend.C (expand): another translation that I missed
8753
8754 2002-03-28  Juergen Vigna  <jug@sad.it>
8755
8756         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8757
8758         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8759
8760 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8761
8762         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8763
8764         * MenuBackend.C (expand): fix export/view/update when there is no
8765         document open.
8766
8767 2002-03-27  Herbert Voss  <voss@lyx.org>
8768
8769         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8770         and text%
8771
8772 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8773
8774         * bufferview_funcs.C (currentState): only show paragraph number
8775         for is DEVEL_VERSION is set.
8776
8777         * lyxfunc.C (dispatch): put warning in INFO channel
8778
8779         * MenuBackend.C (expand): translate the name of floats
8780
8781         * FloatList.C (FloatList): mark the float names for translation
8782
8783         * converter.C (convert): use LibScriptSearch
8784
8785 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8786
8787         * MenuBackend.C (defaults): fix default menu (we might as well get
8788         rid of it...)
8789
8790 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8791
8792         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8793         directory.
8794
8795 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8796
8797         * lyxvc.C: reorder includes.
8798
8799 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8800
8801         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8802           properly
8803
8804 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8805
8806         * CutAndPaste.C: change layouts earlier on paste
8807           to avoid crashing when calling getFont()
8808
8809 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8810
8811         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8812         irritating #error.
8813
8814 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8815
8816         * WorkArea.C: remove 'Pending' debug message.
8817
8818         * most files: ws cleanup
8819
8820         * buffer.[Ch]: ws changes
8821
8822         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8823
8824 2002-03-21  Juergen Vigna  <jug@sad.it>
8825
8826         * tabular.C (SetMultiColumn): collapse also the contents of the
8827         cells and set the last border right. Added a Buffer const * param.
8828
8829 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8830
8831         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8832         linking or not.
8833
8834 2002-03-19  Juergen Vigna  <jug@sad.it>
8835
8836         * text2.C (clearSelection): reset also xsel_cache.
8837
8838         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8839         where it needs to be called (John tells us to do so too :)
8840         (selectionLost): reset sel_cache.
8841
8842         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8843
8844 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8845
8846         * text2.C (setCursorIntern): put debuging code in INSETS channel
8847
8848 2002-03-19  André Pönitz <poenitz@gmx.net>
8849
8850         * lyxfunc.C: tiny whitespace change
8851
8852 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8853
8854         * ToolbarDefaults.C (init):
8855         * LyXAction.C (init):
8856         * commandtags.h:
8857         * BufferView_pimpl.C (Dispatch):
8858         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8859
8860 2002-03-19  Allan Rae  <rae@lyx.org>
8861
8862         * exporter.C (Export): removeAutoInsets before doing anything else.
8863         While I've just introduced a dependency on BufferView this really is
8864         the best place to clean the buffer otherwise you need to cleanup in
8865         a dozen places before calling export or cleanup in a dozen functions
8866         that export calls.
8867
8868         * converter.C (runLaTeX):
8869         (scanLog): Better handling of removeAutoInsets and screen updates.
8870
8871         * lyxfunc.C (dispatch): small whitespace changes
8872
8873 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8874
8875         * WorkArea.C (C_WorkAreaEvent): return a value.
8876         (event_cb): return 1 if we handled the event, 0 otherwise.
8877
8878         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8879
8880 2002-03-18  Juergen Vigna  <jug@sad.it>
8881
8882         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8883         (GetAdditionalWidth): ditto.
8884         (RightLine): ditto.
8885         (LeftLine): ditto.
8886
8887         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8888         inset if we're there actually (probably not used right now but this
8889         is the direction to go for unifying code).
8890         (paste): disable code to clear the selection.
8891
8892         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8893         inside an InsetText and move the check further up as it is in the
8894         wrong place.
8895
8896         * text2.C (pasteSelection): set a selection over the pasted text.
8897
8898 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8899
8900         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8901         and libgraphics to build on Cygwin.
8902
8903 2002-03-15  Juergen Vigna  <jug@sad.it>
8904
8905         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8906         inserting an Inset into the paragraph. I know this is not the best
8907         fix but we already use current_view in CutAndPaste so we will remove
8908         all of it's using at the same time.
8909
8910         * buffer.C (sgmlError): deactivated function till it is rewritten in
8911         the right mode, now it can create problems.
8912
8913         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8914         before accessing it.
8915
8916 2002-03-14  Juergen Vigna  <jug@sad.it>
8917
8918         * undo_funcs.C (textHandleUndo): do the right thing when updating
8919         the inset after the undo/redo.
8920
8921         * text2.C (setCursor): just some testcode for #44 not ready yet.
8922
8923         * undo_funcs.C (textHandleUndo): set the next() and previous()
8924         pointers of the paragraph to 0 before deleting otherwise we have
8925         problems with the Paragraph::[destructor].
8926
8927         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8928         on a paragraph insertion.
8929
8930 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8931
8932         * buffer.C (asciiParagraph): use += operator for char append to
8933         string.
8934
8935         * paragraph.C (getFontSettings): compare >= not just >
8936         (highestFontInRange): ditto
8937         (setFont): ditto
8938
8939 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8940
8941         * paragraph.C: change several algorithm to be more appripriate for
8942         the problem domain. This is lookip in FontList and in the InsetList.
8943
8944 2002-03-13  André Pönitz <poenitz@gmx.net>
8945
8946         * commandtags.h:
8947         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8948
8949 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8950
8951         * commandtags.h:
8952         * LyXAction.C:
8953         * lyxfunc.C:
8954         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8955
8956 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8957
8958         * Painter.C (display): anon helper function, adjust code for this
8959         change.
8960         (pixmap): remove function.
8961
8962         * Painter.h: remove private display variable.
8963
8964         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8965
8966 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8967
8968         * WorkArea.[Ch]: remove figinset_canvas cruft.
8969
8970 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8971
8972         * lyxtextclass.C (operator): add one item cache optimization.
8973
8974         * bufferlist.h: doxy changes
8975
8976         * bufferlist.C: ws changes
8977
8978         * DepTable.[Ch] (ext_exist): place const in the right spot.
8979
8980         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8981         call resizeInsets.
8982         (workAreaExpose): call resizeInsets when the with BufferView changes.
8983         (Dispatch): adjust for protectedBlank removal
8984         (specialChar): call updateInset if the insert went ok.
8985
8986         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8987         specialChar instead.
8988
8989         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8990
8991         * BufferView.h: doxy change
8992
8993         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8994
8995         * lyxtextclass.C (operator[]): remove non-const version
8996         (defaultLayout): remove non-const version
8997
8998 2002-03-12  Juergen Vigna  <jug@sad.it>
8999
9000         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9001         did resize the LyXText too.
9002
9003         * buffer.C (readLyXformat2): set layout information on newly allocated
9004         paragraphs.
9005
9006         * tabular.C (OldFormatRead): set layout information on the paragraph.
9007
9008 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9009
9010         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9011
9012 2002-03-11  Juergen Vigna  <jug@sad.it>
9013
9014         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9015         plainly wrong.
9016         (resizeCurrentBuffer): force also the insets to resize themselfes.
9017         (moveCursorUpdate): fixed up for InsetText.
9018
9019 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9020
9021         * commandtags.h:
9022         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9023         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9024         value of Dialogs::tooltipsEnabled().
9025         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9026
9027 2002-03-08  Juergen Vigna  <jug@sad.it>
9028
9029         * BufferView_pimpl.C (updateInset): update inset inside inset also
9030         if it isn't inside theLockingInset().
9031
9032 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9033
9034         * buffer.C (asciiParagraph): redo some of the word and line length
9035         handling.
9036         (getLists): look for Caption instead of caption.
9037
9038 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9039
9040         * buffer.C (Buffer): initialize niceFile to true
9041         (makeLaTeXFile):
9042         (makeLinuxDocFile):
9043         (makeDocBookFile): make sure niceFile is true on exit
9044
9045 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9046
9047         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9048
9049 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9050
9051         * LyXSendto.C: remove.
9052         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9053         * lyx_gui.C: remove now-redundant comment.
9054         * ColorHandler.h: remove forward declaration of class WorkArea.
9055         * lyxfunc.C: remove #include "WorkArea.h".
9056
9057 2002-03-07  Juergen Vigna  <jug@sad.it>
9058
9059         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9060         got moved away with the DEPM and also set the inset_owner always
9061         right which before could have been omitted.
9062
9063 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9064
9065         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9066         wanted layout is not found.
9067
9068 2002-03-07  Juergen Vigna  <jug@sad.it>
9069
9070         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9071
9072 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9073
9074         * paragraph.C (breakParagraph): use default layout not layout of
9075         prev paragraph.
9076         (Paragraph): clear ParagraphParameters.
9077
9078 2002-03-06  Juergen Vigna  <jug@sad.it>
9079
9080         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9081         otherwise it would not be a valid lenght. Fixed a special case in
9082         the minipage compatibility read where we end the document with a
9083         minipage.
9084
9085         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9086         was set as it could be 0 for InsetTexts first entry.
9087
9088 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9089
9090         * paragraph.C (writeFile): if layout is empty write out
9091         defaultLayoutName().
9092
9093         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9094         file without named layout we set layout to defaultLayoutName().
9095
9096 2002-03-06  Juergen Vigna  <jug@sad.it>
9097
9098         * CutAndPaste.C (copySelection): set layout for new paragraph.
9099
9100         * text.C (prepareToPrint): leave ERT inset left aligned
9101         (leftMargin): don't indent paragraphs inside ERT insets
9102
9103 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9104
9105         * paragraph.C (breakParagraph): dont call clear do the work manually
9106
9107         * paragraph.[Ch] (clear): remove function
9108
9109 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9110
9111         * paragraph.C (Paragraph): dont call clear, the work has already
9112         been done.
9113
9114         * lyxtextclass.C (operator): assert if n is empty
9115
9116         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9117         work manually instead.
9118
9119 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9120
9121         * BufferView_pimpl.C: protect selectionLost against text == 0
9122
9123 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9124
9125         * text.C (breakParagraph): fix a setting layout to '0' problem.
9126
9127 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9128
9129         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9130         final location of file, for the included files, and graphics.
9131
9132 2002-03-05  Juergen Vigna  <jug@sad.it>
9133
9134         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9135
9136 2002-03-04  Juergen Vigna  <jug@sad.it>
9137
9138         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9139
9140         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9141         last column of multicolumn cells.
9142         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9143
9144 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9145
9146         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9147         file if it doesn't go to a temporary file.
9148
9149         * buffer.C (sgmlOpenTag):
9150         (sgmlCloseTag):  remove extra newline insertion.
9151
9152 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9153
9154         * text.C (getRowNearY): comment out debug msg
9155
9156 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9157
9158         * text2.C: first -> first_y
9159
9160         * text.C (getRowNearY): add some attemts at a possible
9161         optimization, not working.
9162
9163         * tabular.[Ch]: add BufferParams to several function so that newly
9164         created paragraph can be initialized to he default layotu for the
9165         buffers textclass.
9166
9167         * tabular-old.C (ReadOld): add buf->params to call of Init
9168
9169         * screen.C: rename text->first to text->first_y
9170
9171         * paragraph.C (breakParagraph): always set layout in the broken
9172         paragraph
9173
9174         * lyxtextclass.C (Read): remove lowercase
9175         (hasLayout): ditto
9176         (operator): ditto
9177         (delete_layout): ditto
9178
9179         * lyxtext.h: rename first -> first_y
9180
9181         * lyxlayout.C (Read): remove lowercase
9182         (name): ditto
9183         (setName): ditto
9184         (obsoleted_by): ditto
9185
9186         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9187
9188         * buffer.C (insertErtContents): add params are to InsetERT
9189         (parseSingleLyXformat2Token): add code to check if a paragraphs
9190         layout really exist.
9191         (parseSingleLyXformat2Token): add params to several inset
9192         constructors
9193         (asciiParagraph): remove lowercase, do the layout comparisons with
9194         no_case
9195
9196         * BufferView_pimpl.C (cursorNext): first -> first_y
9197         (resizeCurrentBuffer): first -> first_y
9198         (updateScrollbar): first -> first_y
9199         (scrollCB): first -> first_y
9200         (workAreaMotionNotify): first -> first_y
9201         (workAreaButtonPress): first -> first_y
9202         (checkInsetHit): first -> first_y
9203         (cursorPrevious): first -> first_y
9204         (cursorNext): first -> first_y
9205         (Dispatch): add buffer_->params to severl inset contructors
9206
9207 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9208
9209         * lyxlayout.C (Read): remove some debug info that I forgot.
9210
9211         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9212         clean up the code slightly.
9213         (makeLinuxDocFile): ditto
9214         (makeDocBookFile): ditto
9215
9216         * text2.C: layout as string
9217
9218         * text.C: layout as string
9219
9220         * paragraph_pimpl.C: layout as string
9221
9222         * paragraph.[Ch]: layout as string
9223
9224         * lyxtextclasslist.[Ch]: layout as string
9225
9226         * lyxtextclass.[Ch]: layout as string
9227
9228         * lyxtext.h: layout as string
9229
9230         * lyxlayout.[Ch]: layout as string
9231
9232         * lyx_cb.C: layout as string
9233
9234         * bufferview_funcs.C: layout as string
9235
9236         * bufferparams.C: layout as string
9237
9238         * buffer.C: layout as string
9239
9240         * LyXView.[Ch]: layout as string
9241
9242         * LaTeXFeatures.[Ch]: layout as string
9243
9244         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9245
9246         * BufferView_pimpl.C: change current_layout to string, remove
9247         lyx::layout_type.
9248         (Dispatch):
9249         (smartQuote):
9250         (insertInset):
9251         (workAreaButtonRelease): layout as string
9252
9253         * BufferView2.C (unlockInset): adjust
9254
9255         * vspace.C (asLatexCommand): use an explict temp variable.
9256
9257 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9258
9259         * Makefile.am: use FRONTEND_*
9260
9261 2002-03-01  Juergen Vigna  <jug@sad.it>
9262
9263         * tabular.C (SetWidthOfMulticolCell): changed to something better
9264         I hope but still work in progress.
9265         (recalculateMulticolumnsOfColumn): renamed function from
9266         recalculateMulticolCells as it is more appropriate now.
9267         (SetWidthOfCell): calculate multicols better.
9268
9269 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9270
9271         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9272
9273         * lyxfunc.C (processKeySym): print sequence also if it is
9274         `deleted' (complete)
9275
9276         * kbsequence.C (print): print sequence even if it is deleted
9277         (complete would be a better word, actually).
9278
9279         * lyxfunc.C (dispatch): print complete options after a prefix key
9280
9281         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9282
9283 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9284
9285         * text2.C (setCharFont): eliminate setCharFont code duplication.
9286
9287 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9288
9289         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9290         LFUN_TABULAR_FEATURE (bug #177)
9291
9292 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9293
9294         * Makefile.am: remove figure.h
9295
9296 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9297
9298         * Bufferview_pimpl.C:
9299         * CutAndPasteC:
9300         * LaTeX.C:
9301         * LyXSendto.C:
9302         * buffer.C:
9303         * bufferlist.C:
9304         * converter.C:
9305         * language.C:
9306         * lyxfunc.C:
9307         * lyxvc.C:
9308         * paragraph.C:
9309         * text.C:
9310         * text2.C: remove #include "lyx_gui_misc.h".
9311
9312         * LaTeX.C: added #include <cstdio>
9313
9314 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9315
9316         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9317         that the paragraph following this one can have.
9318
9319         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9320
9321         * vspace.C (asLatexCommand): fix bogus gcc warning
9322
9323         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9324
9325 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9326
9327         * text2.C (setLayout): get rid of redundant code
9328
9329 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9330
9331         * text2.C (incDepth): make sure depth cannot be increased beyond
9332         reasonable values.
9333
9334 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9335
9336         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9337         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9338
9339         * PainterBase.h (image):
9340         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9341         a LyXImage const *.
9342
9343 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9344
9345         * BufferView.C:
9346         * BufferView.h:
9347         * BufferView_pimpl.C:
9348         * BufferView_pimpl.h:
9349         * LaTeXFeatures.C:
9350         * LyXAction.C:
9351         * LyXView.C:
9352         * Makefile.am:
9353         * UpdateList.h:
9354         * UpdateList.C:
9355         * buffer.C:
9356         * figure.h:
9357         * figureForm.C:
9358         * figureForm.h:
9359         * figure_form.C:
9360         * figure_form.h:
9361         * lyx_cb.C:
9362         * lyx_gui.C:
9363         * lyx_gui_misc.C:
9364         * lyxfunc.C:
9365         * sp_base.h:
9366         * sp_ispell.h:
9367         * sp_pspell.h:
9368         * sp_spell.C: remove fig inset, and the crap house of
9369           cards that follows it
9370
9371 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9372
9373         * Makefile.am:
9374         * lyxserver.C:
9375         * os2_defines.h:
9376         * os2_errortable.h:
9377         * nt_defines.h: move .h into support/
9378
9379         * vms_defines.h: remove
9380
9381         * WorkArea.C: add space in debug output
9382
9383         * text2.C:
9384         * paragraph.C:
9385         * buffer.C: add WITH_WARNINGS
9386
9387         * vc-backend.h:
9388         * vc-backend.C:
9389         * bufferlist.C: s/retrive/retrieve/, add docs
9390
9391         * vspace.h:
9392         * vspace.C:
9393         * kbmap.h:
9394         * lyxlength.h:
9395         * lyxgluelength.h:
9396         * length_common.h:
9397         * chset.h:
9398         * chset.C: add docs
9399
9400         * lyxgui.C: add ID to X error handler
9401
9402         * lyxtestclass.c: fix typo
9403
9404 2002-02-26  Juergen Vigna  <jug@sad.it>
9405
9406         * tabular_funcs.C (write_attribute): changed so that some default
9407         attributes are not written at all.
9408         (getTokenValue): set default values before trying to read the
9409         value so we have the return value always set as default if we don't
9410         find the token we search for.
9411
9412         * tabular.C (Write): write bools as bools not as strings!
9413
9414 2002-02-22  Juergen Vigna  <jug@sad.it>
9415
9416         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9417         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9418
9419         * text.C (leftMargin): don't add an indent for paragraphs inside
9420         tabular cells (fix #208).
9421
9422 2002-02-21  José Matos  <jamatos@fep.up.pt>
9423
9424         * tabular.C (docBook): fixed support for long tables.
9425
9426 2002-02-20  Juergen Vigna  <jug@sad.it>
9427
9428         * text2.C (getFont): get the drawing font of the Inset if this
9429         paragraph is inside an inset (only important for InsetERT for now).
9430
9431         * buffer.C (insertErtContents): use new lanugage params in ERT
9432         constructor.
9433
9434         * CutAndPaste.C: commenting out seemingly uneeded code.
9435
9436 2002-02-19  Allan Rae  <rae@lyx.org>
9437
9438         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9439         Iterators might be simple to use but they also get invalidated.
9440         (removeAutoInsets): renamed saved cursor tracking variables and added
9441         some comments to clarify what everything does.
9442
9443 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9444
9445         * Chktex.C:
9446         * LaTeX.C:
9447         * LyXSendto.C:
9448         * converter.C:
9449         * lyx_cb.C:
9450         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9451         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9452
9453         * lyxfunc.C:
9454         * vc-backend.h: remove #include "support/syscall.h"
9455
9456         * LaTeX.C:
9457         * LyXSendto.C:
9458         * converter.C: rearrange #includes in Lars' approved fashion.
9459
9460         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9461         forward declare class Timeout in the header file.
9462
9463         * XFormsView.C: changes due to the above.
9464
9465         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9466         similar to LyXView.
9467
9468         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9469         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9470
9471 2002-02-18  José Matos  <jamatos@fep.up.pt>
9472
9473         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9474         insets contents.
9475
9476 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9477
9478         * a lot of small ws changes
9479         * add a lot of using std::XXX
9480         * use std construcs some places where approp.
9481         * use some exisint stuff from lyxfunctional where approp.
9482         * Make file changes to use partial linking (lets test this now...)
9483
9484 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9485
9486         * Chktex.C:
9487         * buffer.C:
9488         remove #include "support/syscontr.h" as it's redundant. Always has been.
9489
9490         * Chktex.C:
9491         * LaTeX.C:
9492         * LyXSendto.C:
9493         * converter.C:
9494         * lyx_cb.C:
9495         * vc-backend.C:
9496         change Systemcalls::System to Systemcalls::Wait and
9497         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9498         No change of functionality, just reflects the stripped down Systemcalls
9499         class.
9500
9501 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9502
9503         * debug.[Ch]: add a GRAPHICS type to the enum.
9504
9505 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9506
9507         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9508
9509         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9510         there is an inset.
9511
9512 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9513
9514         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9515         match the changes below.
9516
9517         * text2.C (toggleInset): if there is not editable inset at cursor
9518         position, try to see if cursor is _inside_ a collapsable inset
9519         and close it.
9520
9521 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9522
9523         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9524         document menu has a nice checkbox
9525
9526 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9527
9528         * lyxlength.C (asLatexString): change PW to output as percent of
9529         \textwidth.
9530
9531         * lengthcommon.C: change '%' to 't%'
9532
9533         * lyxfunc.C (dispatch): a few comments from Martin
9534
9535 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9536
9537         * WorkArea.h:
9538         * WorkArea.C:
9539         * BufferView_pimpl.h:
9540         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9541           the X selection.
9542
9543 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9544
9545         * vspace.C (inPixels): fix compiler warning
9546
9547 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9548
9549         * lyxfunc.C (getStatus): fix status message for disabled commands.
9550
9551 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9552
9553         * BufferView_pimpl.C: fix crash on close buffer
9554         during selection (#227)
9555
9556 2002-01-27  Herbert Voss  <voss@lyx.org>
9557
9558         * buffer.C: link old Figure to new graphic inset
9559
9560 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9561
9562         * FontLoader.C (getFontinfo): Change the latex font names in order
9563         to match the names of type1inst.
9564
9565 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9566
9567         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9568
9569         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9570         (extchanged): ditto
9571         (ext_exist): ditto
9572         (remove_files_with_extension): ditto
9573         (remove_file): ditto
9574         (write): ditto
9575
9576         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9577         document is smaller than the work area height. Do not initialize
9578         static variables to 0.
9579
9580 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9581
9582         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9583
9584         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9585         LFUN_LAYOUT_PARAGRAPHS.
9586
9587         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9588         tabular. It is possible to provide a possible cell, which will
9589         typically be the actcell from the corresponding insettabular
9590
9591         * lyxfunc.C (getStatus): small cleanup; disable
9592         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9593         true
9594
9595 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9596
9597         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9598
9599         * paragraph.C (startTeXParParams):
9600         (endTeXParParams): new methods. The LaTeX code to
9601         start/end paragraph formatting
9602         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9603         empty (fixes bug #200)
9604
9605         * vspace.C (inPixels): adapt to the change below
9606         (inPixels): [later] more cleanups (remove unused variables)
9607
9608         * lyxlength.C (inPixels): change to use a width and a height as
9609         parameter.
9610
9611 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9612
9613         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9614         Replaced with \paperwidth
9615
9616         * DepTable.C (insert): add std:: qualifier
9617
9618 2002-01-18  Allan Rae  <rae@lyx.org>
9619
9620         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9621         updated also?
9622
9623         * text.C (drawInset): Turned out I didn't know enough about how
9624         rebreaking worked.  This fixes most of the redraw problems.  I see
9625         an occasional cursor trail when a line is broken now and the cursor
9626         placement can seem out by a few pixels also after a rebreak.
9627
9628 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9629
9630         * buffer.C (parseSingleLyXformat2Token): update because minipage
9631         width is now a LyXLength
9632
9633         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9634
9635         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9636         math insets
9637
9638 2002-01-17  Juergen Vigna  <jug@sad.it>
9639
9640         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9641
9642         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9643         is set correctly and the inset is updated correctly.
9644
9645 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9646
9647         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9648         the beginning of the loop.
9649
9650 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9651
9652         * lyxrc.C: improve help for use_scalable_fonts
9653
9654 2002-01-17  Allan Rae  <rae@lyx.org>
9655
9656         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9657
9658 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9659
9660         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9661         make sure to set their inset_owner to the right value (bug #171)
9662
9663 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9664
9665         * DepTable.h
9666         * DepTable.C: Implement mtime checking to reduce time spent doing
9667         CRCs.
9668
9669 2002-01-16  Juergen Vigna  <jug@sad.it>
9670
9671         * tabular.C (GetAdditionalHeight): one of error fixed.
9672
9673         * lyxrc.C (output): small fix in writing use_pspell.
9674
9675 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9676
9677         * sp_base.h: #include LString.h
9678
9679 2002-01-16  Allan Rae  <rae@lyx.org>
9680
9681         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9682         Can someone check this please?
9683
9684         * text.C (drawInset): It was possible that p.row would be removed by
9685         breakAgainOneRow upsetting a few other settings.  There may be another
9686         small tweak possible by setting need_break_row = 0 when p.row has been
9687         removed but I don't know enough about the logic here.
9688
9689 2002-01-15  Allan Rae  <rae@lyx.org>
9690
9691         * text.C (insertChar): removed conditional truism.
9692
9693         * BufferView2.C (removeAutoInsets): More tweaks.
9694         cur_par_prev could be a stray pointer.  Check for trailing empty line
9695         in case last line was cur_par and only had an error inset on it.
9696
9697 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9698
9699         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9700         absolute
9701
9702         * vc-backend.C (most methods):
9703         * exporter.C (Export):
9704         * converter.C (convert):
9705         (runLaTeX):
9706         * LyXSendto.C (SendtoApplyCB):
9707         * lyxfunc.C (dispatch):
9708         (menuNew):
9709         (open):
9710         (doImport):
9711         * lyx_cb.C (AutoSave):
9712         (InsertAsciiFile):
9713         * BufferView_pimpl.C (MenuInsertLyXFile):
9714         * buffer.C (runChktex): use Buffer::filePath().
9715
9716         * buffer.h: rename filename to filename_; rename filepath to
9717         filepath_ and make it private
9718         (filePath): new method
9719
9720         * buffer.C (writeFile): use fileName()
9721         (getLatexName):
9722
9723         * lyx_main.C (init): fix starting  of LyX when the binary is a
9724         link from so,ewhere else.
9725
9726         * minibuffer.C: include <cctype> for isprint
9727
9728 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9729
9730         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9731         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9732         name clash with InsetCollapsable's width function.
9733
9734 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9735
9736         * lastfiles.C: include <iterator>
9737
9738 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9739
9740         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9741         std::count.
9742
9743         * buffer.C (makeLaTeXFile): ditto.
9744         Also make loop operation more transparent.
9745
9746 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9747
9748         * ToolbarDefaults.C: remove trailing comma closing namespace.
9749
9750         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9751
9752         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9753         as in WorkArea.
9754
9755         * trans.C (Load): comment out unused variable, allowed.
9756
9757 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9758
9759         * minibuffer.[Ch] (append_char): new method to recieve input from the
9760         drop-down completion browser. If a key was pressed, then recieve this
9761         char and append it to the existing string.
9762         (peek_event): modify the positioning data passed to the completion
9763         browser so that it can be placed above the minibuffer rather than below.
9764 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9765
9766         * LyXAction.C (init): alloe error-next for readonly documents.
9767
9768         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9769         count.
9770
9771 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9772
9773         * bufferlist.C (readFile): create the buffer _after_ checking that
9774         the file exists.
9775
9776         * lyxfunc.C (verboseDispatch): fix handling of arguments
9777
9778         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9779
9780         * lyxrc.C: use string::erase() instead of initializing to "".
9781
9782
9783 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9784
9785         * BufferView_pimpl.h:
9786         * BufferView_pimpl.C:
9787         * WorkArea.h:
9788         * WorkArea.C:
9789         * text2.C: tell X when we have made a selection for copying
9790
9791 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9792
9793         * BufferView_pimpl.C (MenuInsertLyXFile):
9794         * lyxfunc.C (menuNew):
9795         (open):
9796         (doImport): add shortcuts to directory buttons
9797
9798         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9799         open a float)
9800
9801         * lyxfunc.C (setStatusMessage):
9802         (getStatusMessage): new methods
9803         (getStatus):use setStatusMessage instead of setErrorMessage
9804         (dispatch): when function is disabled, set error message here
9805         [instead of in getStatus previously]
9806
9807         * BufferView_pimpl.C (workAreaButtonRelease): update
9808         toolbar/menubar here too.
9809
9810 2002-01-13  Allan Rae  <rae@lyx.org>
9811
9812         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9813         Now seems indestructible.  Remaining task is to audit all other
9814         code affected by deleteEmptyParagraphMechanism.  One small quirk
9815         left is that an empty document with an error in the preamble can
9816         be made to report an error but no error box appears.  I don't know
9817         where it goes.
9818         (removeAutoInsets): Improved comments.
9819
9820 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9821
9822         * Thesaurus.h:
9823         * Thesaurus.C: update for Aiksaurus 0.14
9824
9825 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9826
9827         * text2.C (firstParagraph): removed member function, all uses
9828         replaces with ownerParagraph
9829         (redoParagraphs): here
9830         (updateInset): here
9831         (toggleAppendix): here
9832         * BufferView2.C (insertErrors): here
9833         (setCursorFromRow): here
9834
9835 2002-01-13  Allan Rae  <rae@lyx.org>
9836
9837         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9838         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9839         There is still a way to segfault this although you may have to do this
9840         multiple times: Have an InsetERT with an unknown command in it.
9841         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9842         <down-arrow>, <Enter> again, View->DVI, BANG!
9843
9844         * text2.C (setCursor):
9845         (deleteEmptyParagraphMechanism):
9846         * lyxtext.h (setCursor):
9847         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9848         Making use of the return value may help fix other bugs.
9849
9850 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9851
9852         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9853
9854         * LyXView.C (updateMenubar): call MenuBar::update here
9855         (updateToolbar): but not here
9856         (showState): do not update toolbar/menubar
9857
9858         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9859         should need to care about that.
9860
9861         * lyxfunc.C (verboseDispatch): simplify a bit
9862         (getStatus): have a version which takes a pseudoaction, and
9863         another which requires a (kb_action,string).
9864
9865         * LyXAction.C (retrieveActionArg): make it work also when action
9866         is not a pseudo-action.
9867         (getActionName): simplify a bit
9868         (helpText):
9869
9870 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9871
9872         * lyxfunc.C (verboseDispatch): new families of methods with
9873         several ways to specify a command and a bool to indicate whether
9874         the command name and shortcut should be displayed in minibuffer
9875         (eventually, we could extend that to a finer bitmask like
9876         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9877         (dispatch): the pristine dispatch command which just, well,
9878         dispatchs! Note it still sets its result to minibuffer; I'm not
9879         sure we want that.
9880
9881         * lyxfunc.h: remove setHintMessage
9882
9883         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9884
9885 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9886
9887         * BufferView_pimpl.C (specialChar): delete new inset if we have
9888         not been able to insert it.
9889
9890         * kbmap.C: revert to using int instead of kb_action, since all we
9891         are dealing with is pseudo-actions.
9892
9893         * LyXAction.C (searchActionArg): change to return int instead of
9894         kb_action, since the result is a pseudoaction.
9895
9896 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9897
9898         * buffer.C (insertErtContents): Fix (partially) the font bug.
9899
9900 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9901
9902         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9903         as the other one is broken on my machine!
9904
9905 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9906
9907         * commandtags.h:
9908         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9909
9910 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9911
9912         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9913         reflect their actual use. Provide compatibility code for older lyxrc
9914         files.
9915
9916         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9917         FL_NORMAL_STYLE.
9918         change names of popup font variables in line with the changes to lyxrc.C
9919
9920 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9921
9922         * buffer.C (asciiParagraph): avoid outputing a word twice after
9923         an inset.
9924
9925         * lyxrc.C (getDescription): document that document_path and
9926         template_path can be empty.
9927
9928 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9929
9930         * LaTeXFeatures.C (getMacros):
9931         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9932
9933         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9934
9935         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9936         getPackages.
9937         (getPackages): rename feature "floats" to "float". Use an array to
9938         iterate over 'simple' features (i.e. just a \usepackage). Add
9939         handling of "amsmath" (renamed from "amsstyle").
9940
9941 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9942
9943         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9944         features list.
9945
9946 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9947
9948         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9949         FuncStaus::FuncStatus & FuncStaus::some_method().
9950
9951 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9952
9953         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9954         of the func_satus stuff. Edited and massaged in various ways by
9955         JMarc.
9956
9957         * lyxfunc.C (getStatus): use FuncStatus
9958
9959 2002-01-08  Juergen Vigna  <jug@sad.it>
9960
9961         * text.C (nextBreakPoint): use function Inset::isChar().
9962
9963         * paragraph.C (TeXOnePar): use function
9964         Inset::forceDefaultParagraphs.
9965
9966         * buffer.C (latexParagraphs): use function
9967         Inset::forceDefaultParagraphs.
9968
9969 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9970
9971         * lyx_gui.C (init): set the style of the menu popups to
9972         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9973
9974 2002-01-07  Juergen Vigna  <jug@sad.it>
9975
9976         * text.C (setHeightOfRow): small fix
9977         (prepareToPrint): don't look at alignment if we don't have the place
9978         for doing it.
9979
9980 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9981
9982         * box.C: New file. Move the Box methods and functions out of box.h,
9983         following Lars' suggestion.
9984
9985 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9986
9987         * box.h: #include "support/LOstream.h", needed for inlined function.
9988
9989         * lyxtextclass.C:
9990         * lyxtextclasslist.C: added some using std declarations.
9991
9992 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9993
9994         * box.h: make signed dimensions to allow insets wider than
9995           the screen (bug #162)
9996
9997         * BufferView_pimpl.C: add some insetHit debug
9998
9999 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10000
10001         * vc-backend.C: add FIXME
10002
10003 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10004
10005         * lyxfunc.C (getStatus): enable code for showing math font status
10006         in toolbar/menu.
10007
10008 2002-01-07  Juergen Vigna  <jug@sad.it>
10009
10010         * text.C (nextBreakPoint): removed debug output not needed anymore.
10011
10012 2002-01-06  Juergen Vigna  <jug@sad.it>
10013
10014         * text.C (nextBreakPoint): fixed up this function we had this bug
10015         since ever but now hopefully we break row better.
10016         (insertChar): we have to check if an inset is the next char as it
10017         could now happen that a large inset is causing a break.
10018
10019 2002-01-05  Juergen Vigna  <jug@sad.it>
10020
10021         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10022         if it doesn't like to be drawed.
10023
10024 2002-01-04  Juergen Vigna  <jug@sad.it>
10025
10026         * BufferView2.C (lockInset): forgot to set a cursor.
10027
10028         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10029
10030 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10031
10032         * FormMathsPanel.C:
10033         * FormMathsPanel.h
10034         * MathsSymbols.C:
10035         * form_maths_panel.C:
10036         * form_maths_panel.h:
10037         * form_maths_panel.fd: implemented sub- and super- buttons in math
10038         panel.
10039
10040         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10041         (or ^ space) to be used as in TeX (req'd by André).
10042
10043         * lyxfunc.C: Allow ^ and _ again to be used both as
10044         super/subscript (mathed) and as themselves (in text).
10045
10046 2002-01-03  Allan Rae  <rae@lyx.org>
10047
10048         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10049         "LyX" or the filename of the current buffer if it has one.  This is a
10050         modified form of John Levon's patch.
10051
10052         * XFormsView.C (setWindowTitle): also set icon title.
10053
10054         * LyXView.h (setWindowTitle): signature changed.
10055         * XFormsView.h (setWindowTitle): ditto.
10056
10057 2002-01-02  Juergen Vigna  <jug@sad.it>
10058
10059         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10060
10061 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10062
10063         * screen.C (topCursorVisible): introduce a temp var for
10064         text->cursor.row(), handle the case where this row is null. (kindo
10065         hachish)
10066
10067         * text2.C (setCursor): add a couple of asserts.
10068
10069         * paragraph.h (inset_iterator): add -> operator
10070
10071         * paragraph.[Ch] (autoDeleteInsets): remove member function
10072
10073         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10074         cursor pos correctly and handle inset deletion by itself.
10075         (insertErrors): move iterator declaration out of for expression
10076
10077         * lyxtextclass.C: add <algorithm>
10078
10079         * Makefile.am: added the new files to sources, removed layout.C
10080
10081         * layout.C: removed file
10082
10083         * layout.h: remove LYX_DUMMY_LAYOUT
10084
10085         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10086         layout.
10087
10088         * lyxlayout.[Ch]:
10089         * lyxtextclass.[Ch]:
10090         * lyxtextclasslist.[Ch]: new files
10091
10092         * include order changes to a lot of files, also changes because of
10093         the six new files.
10094
10095 2001-12-27  Juergen Vigna  <jug@sad.it>
10096
10097         * buffer.C (asciiParagraph): more fixes.
10098
10099         * tabular.C (ascii): make ascii export support export of only the
10100         data separated by a column-delimiter.
10101         (ascii): better support for ascii export.
10102
10103         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10104
10105 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10106
10107         * tabular_funcs.C: use a "using std::getline" instead of the
10108         previous fix from Angus (necessary for cxx + lyxstring)
10109
10110 2001-12-24  Juergen Vigna  <jug@sad.it>
10111
10112         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10113
10114         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10115         problems. First check a minipage also if we have some ert-contents
10116         (not only on par->size(), second set the right depth of the paragraph
10117         on the relink to the root-paragraph-list!
10118
10119         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10120         which then did not anymore update the main paragraphs on undo/redo!
10121
10122 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10123
10124         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10125         code. Support all font-changing funcs (even those which are not in
10126         menu currently). Support for reporting font settings in
10127         mathed (disabled until Andre provides a function on mathed's side).
10128
10129         * func_status.h (toggle): small helper function to set toggle
10130         state on a flag.
10131
10132 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10133
10134         * tabular_funcs.C: getline -> std::getline
10135
10136 2001-12-21  Juergen Vigna  <jug@sad.it>
10137
10138         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10139         accessed and could be 0 (I couldn't generate this but it seems
10140         Michael could!).
10141
10142 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10143
10144         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10145         * tabular_funcs.h: here and include iosfwd
10146
10147 2001-12-20  Juergen Vigna  <jug@sad.it>
10148
10149         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10150         inside inset but undo_par was.
10151
10152 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10153
10154         * Thesaurus.C: always include <config.h> in sources.
10155
10156         * Painter.h:
10157         * lyxlookup.h:
10158         * box.h: do not include <config.h> in header files
10159
10160         * text.C (paintLastRow): remove unused variable
10161
10162         * text.C (transformChar):
10163         (insertChar):
10164         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10165
10166         * Painter.C (text):
10167         * font.C (width): rewrite to use uppercase() instead of
10168         islower/toupper.
10169
10170         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10171
10172 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10173
10174         * lyxfind.C: clean up of find failure position change
10175
10176 2001-12-20  Juergen Vigna  <jug@sad.it>
10177
10178         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10179
10180         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10181         (TeXRow): added to LaTeX a single tabular row.
10182         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10183         (Latex): simplified and finally good LT-h/f support.
10184         (various_functions): just small adaptions for LT-h/f support.
10185
10186         * tabular_funcs.[hC]: added and moved here all not classfunctions
10187         of LyXTabular.
10188
10189 2001-12-19  Juergen Vigna  <jug@sad.it>
10190
10191         * tabular.[Ch]: better support for longtabular options (not finished
10192         yet!)
10193
10194 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10195
10196         * text.C (paintLastRow): use the label font instead of the font of
10197         the last character to compute the size of *_BOX. This makes more
10198         sense and avoids a crash with empty paragraphs.
10199         Use Painter::rectangle to draw EMPTY_BOX.
10200
10201 2001-12-19  Juergen Vigna  <jug@sad.it>
10202
10203         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10204         the paragraphs if the replaced paragraph is not the first one!
10205         Tried to delete not used paragraphs but does not work yet so for
10206         now it's inside #ifdef's and by default off!
10207
10208 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10209
10210         * MenuBackend.C: include "lyx_main.h" instead of declaring
10211         lastfiles (actually was declared as LastFiles* instead of a
10212         scoped_ptr).
10213
10214 2001-12-17  Juergen Vigna  <jug@sad.it>
10215
10216         * tabular.C (AppendColumn): applied John's fix
10217
10218 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10219
10220         * BufferView.h:
10221         * BufferView.C:
10222         * BufferView_pimpl.h:
10223         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10224
10225         * Makefile.am:
10226         * box.h: new start of class for above
10227
10228         * lyxfunc.C: ignore space-only minibuffer dispatches.
10229           Show the command name when it doesn't exist
10230
10231         * minibuffer.C: don't add empty lines to the history
10232
10233         * minibuffer.C: add a space on dropdown completion
10234
10235 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10236
10237         * text.C: fix line above/below drawing in insets
10238
10239 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10240
10241         * lyxlength.C (LyXLength): Initialize private variables.
10242
10243 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10244
10245         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10246         when inserting error insets.
10247
10248 2001-12-13  Juergen Vigna  <jug@sad.it>
10249
10250         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10251         actually sometimes the before-paragraph.
10252         (setUndo): don't clear the redostack if we're not actually undoing!
10253
10254 2001-12-06  Juergen Vigna  <jug@sad.it>
10255
10256         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10257         and fixed redoing of main paragraph, so we can use it now ;)
10258
10259         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10260
10261 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10262
10263         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10264         Juergen's request
10265
10266 2001-12-13  André Pönitz <poenitz@gmx.net>
10267
10268         * undostack.[Ch]:
10269         * undo_func.C: minor cleanup
10270
10271 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10272
10273         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10274         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10275         font in urw-fonts package which is marked as -urw-fontspecific and
10276         does not work (incidentally, changing the encoding in the
10277         fonts.dir of this package to -adobe-fontspecific fixes the
10278         problem).
10279
10280         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10281         is a crash when undoing first paragraph (Juergen, please take a
10282         look). THis does not mean the undo fix is wrong, just that it
10283         uncovers problems.
10284
10285         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10286         the (Paragraph*) version when needed instead of duplicating the
10287         code.
10288
10289         * text.C (workWidth): use Inset::parOwner to find out where the
10290         inset has been inserted. This is a huge performance gain for large
10291         documents with lots of insets. If Inset::parOwner is not set, fall
10292         back on the brute force method
10293
10294         * paragraph_pimpl.C (insertInset):
10295         * paragraph.C (Paragraph):
10296         (cutIntoMinibuffer): set parOwner of insets when
10297         inserting/removing them
10298
10299         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10300
10301 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10302
10303         * commandtags.h:
10304         * LyXAction.C:
10305         * lyx_main.C:
10306         * lyxfunc.C:
10307         * mathed/formulabase.C:
10308         * mathed/math_cursor.[Ch]:
10309         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10310
10311
10312 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10313
10314         * lyxlength.[Ch] (operator!=): new function
10315
10316 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10317
10318         * text.C (workWidth): use Inset::parOwner to find out where the
10319         inset has been inserted. This is a huge performance gain for large
10320         documents with lots of insets. If Inset::parOwner is not set, fall
10321         back on the brute force method
10322
10323         * paragraph_pimpl.C (insertInset):
10324         * paragraph.C (Paragraph):
10325         (cutIntoMinibuffer): set parOwner of insets when
10326         inserting/removing them
10327
10328         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10329
10330 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10331
10332         * tabular-old.C (getTokenValue):
10333         * tabular.C (getTokenValue):
10334         (write_attribute): new versions for LyXLength
10335         (everywhere): adjust the use of widths
10336
10337         * tabular.h: change the type of widths from string to LyXLength
10338
10339 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10340
10341         * paragraph.C: fixed missing line number count when exporting
10342         Environments to LaTeX file
10343
10344         * buffer.C: added informational message for checking line numbers.
10345
10346 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10347
10348         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10349         paragraph, do the 'double space' part, but not the 'empty
10350         paragraph' one.
10351
10352         * text.C (workWidth): small optimization
10353         (getLengthMarkerHeight): use minimal size for negative lengths.
10354
10355 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10356
10357         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10358
10359         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10360
10361 2001-12-11  André Pönitz <poenitz@gmx.net>
10362
10363         * FontLoader.C:
10364         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10365
10366 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10367
10368         * text2.C: keep selection on a setFont()
10369
10370 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10371
10372         * lyx_cb.C: another bv->text misuse, from insert label
10373
10374 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10375
10376         * kbsequence.h:
10377         * kbsequence.C: re-instate nmodifier mask
10378
10379 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10380
10381         * lyx_main.h: make lyxGUI private.
10382
10383 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10384
10385         * lyxfind.C: place the cursor correctly on failed search
10386
10387 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10388
10389         * text.C (getLengthMarkerHeight): for small heights, the arrows
10390         are not always on top/bottom of the text
10391         (drawLengthMarker): smaller arrows; take the left margin in
10392         account; draw also vfills.
10393         (paintFirstRow):
10394         (paintLastRow): remove special code for vfill and standard spaces,
10395         since everything is handled in drawLengthMarker now.
10396
10397 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10398
10399         * buffer.C (insertErtContents): try to handle font and language
10400         interaction a bit better.g
10401
10402         * ColorHandler.C (updateColor): change the hash to cover the whole
10403         LColor enum, ws cleanup
10404         (getGCLinepars): ditto
10405         (getGCLinepars): only lookup in the linecache once.
10406
10407 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10408
10409         * iterators.C (operator++): Make the iterator more robust
10410
10411         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10412         (John's patch)
10413         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10414
10415 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10416
10417         * lyxtext.h:
10418         * text.C: better added space drawing
10419
10420 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10421
10422         * LyXView.C:
10423         * BufferView2.C: fix layout combo update on inset unlock
10424
10425 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10426
10427         * Makefile.am: don't compile unused files
10428
10429 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10430
10431         * lyxfunc.C:
10432         * commandtags.h:
10433         * LyXAction.C: remove old LFUN_LAYOUTNO
10434
10435 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10436
10437         * paragraph_pimpl.h:
10438         * paragraph_pimpl.C: isTextAt() doesn't need font param
10439
10440 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10441
10442         * lyxlex.h:
10443         * lyxlex.C: little cleanup
10444
10445 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10446
10447         * BufferView_pimpl.C: fix insertAscii for insets
10448
10449 2001-12-05  Juergen Vigna  <jug@sad.it>
10450
10451         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10452         set the right font on the "multi" paragraph paste!
10453
10454 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10455
10456         * trans_decl.h:
10457         * trans_mgr.[Ch]:
10458         * trans.[Ch]:
10459         * lyxgluelength.C:
10460         * lyxlength.C: remove out-commented code.
10461
10462         * BufferView_pimpl:
10463         * CutAndPaste.C:
10464         * DepTable.C:
10465         * buffer.C:
10466         * chset.C:
10467         * lastfiles.C:
10468         * lyxlex.C:
10469         * lyxlex_pimpl.C:
10470         * lyxserver.C:
10471         * screen.C:
10472         * tabular-old.C:
10473         * tabular.C:
10474         * text.C:
10475         * trans_mgr.C:
10476         * vc-backend.C: change "while(" to "while ("
10477
10478         * lyxlength.[Ch]: add zero function to check if length is zero or
10479         not
10480         * lyxgluelength.C: use it
10481
10482 2001-12-05  Allan Rae  <rae@lyx.org>
10483
10484         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10485         Works for 2.95.3, from what I understand of Garst's reports this should
10486         work for other g++ versions.  We're screwed if the abs(int) definition
10487         changed between bugfix releases of gcc.
10488
10489 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10490
10491         * text.C: fix chapter label offset !
10492
10493 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10494
10495         * lyxtext.h:
10496         * text.C: fix hfill at end of line, clean up
10497
10498 2001-12-04  Juergen Vigna  <jug@sad.it>
10499
10500         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10501         that we force an update of the inset and it's owners if neccessary.
10502
10503 2001-12-03  Juergen Vigna  <jug@sad.it>
10504
10505         * text.C (rowLast): simplified code
10506
10507 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10508
10509         * lyxfunc.C: fix show options on timeout
10510
10511 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10512
10513         * screen.C (topCursorVisible): scroll half a page when the cursor
10514         reached top of bottom of screen
10515
10516 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10517
10518         * minibuffer.C: deactivate on loss of focus
10519
10520 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10521
10522         * vspace.[Ch] (operator!=): add operator.
10523
10524 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10525
10526         * BufferView_pimpl.C: refuse to open an inset when
10527         there's a selection.
10528
10529 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10530
10531         * BufferView_pimpl.C: allow to click on RHS of full row insets
10532
10533 2001-11-30  Juergen Vigna  <jug@sad.it>
10534
10535         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10536         insets for undo reasons.
10537
10538 2001-11-28  André Pönitz <poenitz@gmx.net>
10539
10540         * vspace.[Ch]: cosmetical changes
10541
10542 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10543
10544         * LyXAction.h:
10545         * LyXAction.C:
10546         * lyxfunc.h:
10547         * lyxfunc.C:
10548         * kbmap.h:
10549         * kbmap.C:
10550         * lyxrc.C:
10551         * kbsequence.h:
10552         * kbsequence.C: part re-write of old kb code
10553
10554         * Painter.C:
10555         * WorkArea.C: remove Lgb_bug_find_hack
10556
10557 2001-11-30  José Matos <jamatos@fep.up.pt>
10558
10559         * buffer.C (makeDocBookFile): add a comment to point a hack.
10560         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10561         Fixed a double write of labels.
10562
10563 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10564
10565         * LaTeX.C:
10566         * LaTeX.h Fixed bug in LaTeX class where it would not
10567         re-run latex if no depfiles were changed, but the .dvi was removed.
10568
10569 2001-11-28  André Pönitz <poenitz@gmx.net>
10570
10571         * all the files from the change on 2001/11/26:
10572         use lyx::layout_type instead of LyXTextClass::size_type
10573         use lyx::textclass_type instead of LyXTextClassList::size_type
10574
10575 2001-11-29  Juergen Vigna  <jug@sad.it>
10576
10577         * text.C: added support for paragraph::isFreeSpacing()
10578
10579         * buffer.C: same as above
10580
10581         * paragraph.h: inserted isFreeSpacing() function to enable
10582         FreeSpacing inside InsetERT.
10583
10584         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10585         of the paragraph's in the cut/copy buffer to 0!
10586
10587         * text2.C (removeRow): remove the assert as it can!
10588
10589         * lyxtext.h: added helper function firstRow returning firstrow and
10590         made firstrow private again.
10591
10592         * BufferView2.C (lockInset): don't relock if we're already locked!
10593
10594         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10595         the only paragraph.
10596         (removeRow): added Assert::(firstrow)
10597
10598         * debug.C: forgot to add INSETTEXT here.
10599
10600 2001-11-28  Juergen Vigna  <jug@sad.it>
10601
10602         * sp_spell.C (initialize): changed error text to more general
10603         spellchecker command use (not only ispell!)
10604
10605         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10606
10607         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10608
10609 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10610
10611         * vspace.C: initialise lyxgluelength on failure
10612
10613 2001-11-28  Allan Rae  <rae@lyx.org>
10614
10615         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10616         declaration & definition that looks like a function declaration.
10617
10618 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10619
10620         * BufferView2.C (copy):
10621         (copyEnvironment): do not clear the selection when doing a copy.
10622
10623         * text.C (paintFirstRow): compilation fix
10624
10625 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10626
10627         * tabular.C (Latex): correct line count when writing latex.
10628
10629 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10630
10631         * paragraph_pimpl.h:
10632         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10633           bug a bit
10634
10635 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10636
10637         * text.C:
10638         * LColor.h:
10639         * LColor.C: change vfillline->added_space
10640
10641         * text.C: add markers and text for added space
10642
10643         * vspace.C: fix comment
10644
10645 2001-11-28  André Pönitz <poenitz@gmx.net>
10646
10647         * paragraph.C: whitespace changes
10648         * all the other files from the change on 2001/11/26:
10649         change *::pos_type into lyx::pos_type
10650
10651 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10652
10653         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10654         language of the document when inserting error insets.
10655
10656 2001-11-26  André Pönitz <poenitz@gmx.net>
10657
10658         * BufferView_pimpl.[Ch]:
10659         *       CutAndPaste.C:
10660         * buffer.[Ch]:
10661         * lyxcursor.[Ch]:
10662         * lyxfind.C:
10663         * lyxfunc.C:
10664         * lyxrow.[Ch]:
10665         * paragraph.[Ch]:
10666         * paragraph_pimpl.[Ch]:
10667         * sp_spell.C:
10668         * text.C:
10669         * text2.C: reduce header dependencies, introduce type for positions
10670
10671 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10672
10673         * <various>: change to use Alert.h
10674
10675 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10676
10677         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10678         when encountering an unknown token.
10679         (readLyXformat2): Show an error message if there were unknown tokens.
10680
10681 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10682
10683         * BufferView2.C:
10684         * BufferView_pimpl.C:
10685         * buffer.C:
10686         * paragraph.h:
10687         * text.C:
10688         * text2.C: use par->isInset()
10689
10690 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10691
10692         * paragraph_pimpl.h:
10693         * paragraph_pimpl.C: cleanup
10694
10695 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10696
10697         * text2.C (removeRow):
10698         * text.C (setHeightOfRow): remove useless (and costly) call to
10699         getRow.
10700
10701 2001-11-20  Allan Rae  <rae@lyx.org>
10702
10703         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10704         Now need Inset*::checkInsertChar() to return true for appropriate
10705         cases so that the characters in the minibuffer will actually be
10706         inserted.
10707
10708 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10709
10710         * text.C: change the order of the includes.
10711         (workWidth): initialize it at once.
10712         (workWidth): make maxw unsigned
10713         (setHeightOfRow): remove unused variable (inset)
10714         (selectSelectedWord): remove unused variable (inset)
10715         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10716
10717 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10718
10719         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10720         server is not running.
10721         (openConnection):
10722         (closeConnection): add debug info when server is disabled.
10723
10724         * ColorHandler.C (getGCForeground): send debug message to GUI
10725         channel.
10726
10727         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10728
10729         * kbmap.C (bind): modify because return conventions of
10730         kb_sequence::parse have changed.
10731
10732         * kbsequence.C (parse): only ignore spaces and not any stupid
10733         control character. This avoids tests like s[i] <= ' ', which are
10734         guaranteed to fail with 8bit characters and signed chars.
10735         Change return code to string::npos when there have been no error
10736         (0 was a bad idea when error is at first character)
10737
10738 2001-11-14  José Matos  <jamatos@fep.up.pt>
10739
10740         * buffer.h:
10741         * buffer.C (simpleDocBookOnePar): removed unused argument.
10742
10743 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10744
10745         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10746         insets which are part of a word. Paragraph::isLetter takes care of
10747         that now. Use Paragraph::isInset to identify insets.
10748         (selectSelectedWord): do not test for hyphenation break.
10749
10750         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10751         that protected spaces are considered as spaces.
10752
10753         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10754         Inset::isLetter.
10755
10756 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10757
10758         * lyxserver.h:
10759         * lyxserver.C: fix it. and small cleanup.
10760
10761 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10762
10763         * BufferView_pimpl.C: use inline helpers
10764
10765         * LaTeXFeatures.h:
10766         * LaTeXFeatures.C: fix typos
10767
10768         * Spacing.h:
10769         * Spacing.C: move spacing_string into class
10770
10771         * ToolbarDefaults.C: move stuff into namespace anon
10772
10773         * layout.h: update enum
10774
10775         * lyxfunc.C: use better debug
10776
10777         * minibuffer.h: fix typo
10778
10779         * debug.h:
10780         * debug.C:
10781         * WorkArea.C: add and use Debug::WORKAREA
10782
10783         * lyxtext.h:
10784         * text.C:
10785         * text2.C: code re-organisation, inline helpers
10786
10787 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10788
10789         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10790         std::vector.empty().
10791
10792 2001-11-09  Allan Rae  <rae@lyx.org>
10793
10794         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10795         '\n's after tables.  Tabular and ERT inset work now makes this no
10796         longer necessary.
10797
10798 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10799
10800         * minibuffer.h:
10801         * minibuffer.C: fix crash, improve drop-down completion
10802
10803 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10804
10805         * lyxserver.h:
10806         * lyxserver.C: invalidate fd's when doing endPipe()
10807
10808 2001-11-08  José Matos  <jamatos@fep.up.pt>
10809
10810         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10811         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10812
10813         * paragraph.h:
10814         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10815
10816 2001-11-07  José Matos  <jamatos@fep.up.pt>
10817
10818         * buffer.h:
10819         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10820         const qualifier.
10821
10822         * buffer.C (sgmlOpenTag):
10823         * buffer.C (sgmlCloseTag): removed debug info.
10824
10825         * buffer.h (sgmlOpenTag):
10826         * buffer.h (sgmlCloseTag): made public.
10827
10828 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10829
10830         * buffer.C (saveParamsAsDefaults):
10831         * lyx_cb.C (MenuLayoutSave): remove
10832
10833         * LyXAction.C (init):
10834         * commandtags.h:
10835         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10836
10837 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10838
10839         * buffer.C (setPaperStuff): removed from here...
10840
10841         * bufferparams.C (setPaperStuff): ... and moved there.
10842
10843 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10844
10845         * minibuffer.h:
10846         * minibuffer.C:
10847         * XFormsView.C: add support for drop-down completion
10848
10849 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10850
10851         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10852         commands.
10853
10854 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10855
10856         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10857         disabled.
10858
10859 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10860
10861         * lyx_main.C: change ref to known bugs
10862
10863 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10864
10865         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10866         to work around older babel problems.
10867
10868 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10869
10870         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10871
10872 2001-10-24  Juergen Vigna  <jug@sad.it>
10873
10874         * tabular-old.C (ReadOld): below variable changes reflected.
10875
10876         * tabular.[Ch]: added ltType struct for longtable header/footer
10877         defines and changed all instances where they are used. Added
10878         future support for double top/bottom rows.
10879
10880 2001-10-24  José Matos  <jamatos@fep.up.pt>
10881
10882         * buffer.h (docbookHandleCaption):
10883         * buffer.C (docbookHandleCaption): removed unused function.
10884         (makeDocBookFile): moved docbook supported version to v4.1.
10885
10886 2001-10-24  José Matos  <jamatos@fep.up.pt>
10887
10888         * tabular.h:
10889         * tabular.C (docbookRow): new function to export docbook code of a row.
10890         (DocBook): now honors the longtable flags.
10891
10892 2001-10-23  José Matos  <jamatos@fep.up.pt>
10893
10894         * LaTeXFeatures.h:
10895         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10896         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10897
10898         * buffer.C (makeLinuxDocFile):
10899         (makeDocBookFile): reworked the preamble, more clean, and with
10900         support for lyx defined entities. Changed the document declaration
10901         to be more XML friendly.
10902
10903         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10904         if we need to output XML that should be done with a filter.
10905
10906 2001-10-22  Juergen Vigna  <jug@sad.it>
10907
10908         * sp_pspell.h (class PSpell): add alive function needed in the
10909         controller to see if the spellchecker could be started.
10910
10911 2001-10-22  Juergen Vigna  <jug@sad.it>
10912
10913         * buffer.C (insertStringAsLines): modify the font for inserting
10914         chars in certain conditions by calling checkInsertChar(font).
10915
10916 2001-10-19  Juergen Vigna  <jug@sad.it>
10917
10918         * text.C (workWidth): use getRow instead of wrong algorithm.
10919         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10920
10921 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10922
10923         * lyxserver.h:
10924         * lyxserver.C:
10925         * lyx_main.h:
10926         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10927
10928 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10929
10930         * text.C (workWidth): do not search for the exact row when
10931         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10932         optimization for big documents.
10933
10934 2001-10-18  Juergen Vigna  <jug@sad.it>
10935
10936         * text.C (workWidth): new function with added Inset * parameter.
10937
10938 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10939
10940         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10941
10942         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10943         change return type of getColumnNearX.
10944
10945
10946         * text.C (changeRegionCase): use uppercase/lowercase instead of
10947         toupper/tolower.
10948         (leftMargin):
10949         (rightMargin): simplify code by factoring out the uses of
10950         textclasslist.
10951         (labelFill):
10952         (numberOfHfills):
10953         (setHeightOfRow):
10954         (appendParagraph): use Paragraph::size_type
10955
10956 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10957
10958         * vspace.C (asLatexString): add a missing break
10959
10960 2001-10-15  Herbert Voss  <voss@perce.de>
10961
10962         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10963
10964 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10965
10966         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10967         is not available.
10968
10969 2001-10-10  André Pönitz <poenitz@gmx.net>
10970
10971         * lyxfunc.C: removed greek_kb_flag.
10972
10973 2001-10-10  Herbert Voss  <voss@perce.de>
10974
10975         * lyx_main.C: delete global string help_lyxdir.
10976
10977 2001-10-09  Herbert Voss  <voss@perce.de>
10978
10979         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10980
10981         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10982
10983         * lyx_main.C: added global string help_lyxdir.
10984
10985         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10986
10987 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10988
10989         * lyxrc.C (set_font_norm_type): support iso8859-4
10990
10991 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10992
10993         * LaTeX.C (deplog): add another regex for MikTeX
10994
10995 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10996
10997         * lyxrc.C (set_font_norm_type): support iso8859-3
10998
10999 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11000
11001         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11002
11003         * LaTeXFeatures.C: remove special case of french and index
11004
11005         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11006         before \begin{document}). This solves several incompatibilities.
11007
11008 2001-10-03  Garst Reese  <reese@isn.net>
11009
11010         * lyx_cb.C: change CheckTex error msg.
11011
11012 2001-10-03  José Matos  <jamatos@fep.up.pt>
11013
11014         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11015
11016 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11017
11018         * .cvsignore: update
11019
11020         * lyx_main.C (commandLineVersionInfo): use new style version info.
11021
11022         * buffer.C (writeFile):
11023         (makeLaTeXFile):
11024         (makeLinuxDocFile):
11025         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11026
11027         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11028
11029         * version.h: update to use stuff in version.C
11030
11031         * version.C.in: new file. Contains version information determined
11032         at compile time. This is a merging of version.h and
11033         version_info.h.in.
11034
11035 2001-10-03  Juergen Vigna  <jug@sad.it>
11036
11037         * BufferView_pimpl.C (update): don't change "dirty" status in
11038         updateInset call.
11039
11040 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11041
11042         * WorkArea.C (c-tor): re-position version string slightly.
11043
11044 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11045
11046         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11047         revert to previous code.
11048
11049         WorkArea.[Ch]: (show, destroySplash): methods removed.
11050
11051         WorkArea.C: rework code so that it's an amalgam of the codes before and
11052         after the splash screen was moved to WorkArea.
11053
11054 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11055
11056         * lyxrc.C (read):
11057         * vspace.C (inPixels):
11058         (lyx_advance):
11059         * kbmap.C (bind):
11060         * buffer.C (insertStringAsLines):
11061         (asciiParagraph): fix types to be large enough
11062
11063         * lyxlex_pimpl.h: change member status from short to int
11064
11065         * layout.h: fix type of endlabeltype
11066
11067         * kbmap.C (bind):
11068         * kbsequence.C (parse): change return type to string::size_type
11069
11070         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11071         variable
11072
11073         * Bullet.C (bulletSize):
11074         (bulletEntry): do not use short ints as parameters
11075
11076         * BufferView2.C (insertLyXFile): change a char to an int.
11077
11078         * WorkArea.C (WorkArea): remove unneeded floats in computation
11079
11080 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11081
11082         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11083
11084         * paragraph.C (asString): Do not ignore newline/hfill chars when
11085         copying to the clipboard.
11086
11087 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11088
11089         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11090         after a multi-line inset.
11091
11092 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11093
11094         * paragraph.C (validate): Set NeedLyXFootnoteCode
11095
11096 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11097
11098         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11099         and decrease-error to decrease.
11100
11101 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11102
11103         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11104         it more readable (should be equivalent)
11105
11106 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11107
11108         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11109
11110 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11111
11112         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11113         of a cursor (row, etc.) after a character has been deleted
11114         (deleteEmptyParagraphMechanism): call the method above on _all_
11115         cursors held by the LyXText when a double space has been
11116         detected/deleted.
11117
11118 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11119
11120         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11121         pixmap.
11122         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11123
11124         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11125         background. Use greyOut() and the new show() methods to toggle between
11126         the foreground and background. Add code to remove the splash after
11127         its initial showing.
11128
11129         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11130         (create_forms): no longer call Dialogs::showSplash.
11131
11132 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11133
11134         * .cvsignore: add version_info.h
11135
11136 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11137
11138         * version_info.h.in: new file
11139
11140         * Makefile.am: add version_info.h.in
11141
11142         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11143         version_info.h instead of VERSION_INFO
11144
11145 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11146
11147         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11148         The ERT inset now returns string().
11149
11150 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11151
11152         * lyxtext.h, text.C (selectNextWord): renamed as
11153         selectNextWordToSpellcheck.
11154
11155         * text.C (selectNextWordToSpellcheck): Modified to not select
11156         words inside an ERT inset.
11157
11158 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11159
11160         * lyx_cb.C (MenuLayoutSave): change a bit the question
11161
11162         * sp_base.h: include <sys/types.h>
11163
11164 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11165
11166         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11167
11168 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11169
11170         * several files: fix typos in user-visible strings
11171
11172 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11173
11174         * text2.C (pasteSelection): do not set the selection, since it
11175         will be cleared later. Actually, the intent was to fix the way the
11176         selection was set, but I figured rmoving the code was just as good.
11177
11178 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11179
11180         * FontLoader.C (available): Check if font is available without
11181         loading the font.
11182
11183 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11184
11185         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11186
11187 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11188
11189         * lyxrc.[Ch]: added display_graphics variable and associated code.
11190
11191 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11192
11193         * bufferparams.C (hasClassDefaults): new method. Returns true if
11194         the buffer parameters correspond to known class defaults
11195
11196 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11197
11198         * XFormsView.C (show): set minimum size to the main window.
11199
11200 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11201
11202         * text2.C (copySelection):
11203         (cutSelection):
11204         * lyxfind.C (LyXReplace):
11205         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11206         LyXText::selectionAsString.
11207
11208         * paragraph.C (asString): add "label" argument to the second form
11209
11210         * text2.C (selectionAsString): add "label" argument and pass it to
11211         Paragraph::asString.
11212
11213 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11214
11215         * lyx_main.C (commandLineHelp): remove version information
11216
11217 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11218
11219         * lyx_main.C: add -version commandline option
11220
11221 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11222
11223         * paragraph.h: make the optional constructor arg required instead.
11224         some modifications to other files because of this.
11225
11226         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11227
11228         * lyxserver.C (C_LyXComm_callback): make it static
11229
11230         * lyx_main.C (error_handler): make it static
11231
11232         * lyx_gui.C (LyX_XErrHandler): make it static
11233
11234         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11235
11236         * WorkArea.C: make the extern "C" methods static.
11237
11238         * Makefile.am (lyx_LDADD): simplify
11239
11240 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11241
11242         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11243         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11244
11245         * LyXAction.C (init):
11246         * lyxfunc.C (dispatch): associated code removal.
11247
11248 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11249
11250         * lyxfont.h (isSymbolFont): shut off warning
11251
11252         * text.C (setHeightOfRow):
11253         (getVisibleRow): fix crash with empty paragraphs which have a
11254         bottom line
11255
11256 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11257
11258         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11259         code.
11260
11261 2001-09-04  José Matos  <jamatos@fep.up.pt>
11262         * buffer.C
11263         * buffer.h
11264         * tabular.C (docbook): rename docBook method to docbook.
11265
11266 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11267
11268         * Makefile.am: add dependencies to main.o.
11269
11270 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11271
11272         * FontLoader.C (available): Return false if !lyxrc.use_gui
11273
11274 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11275
11276         * FontInfo.C (query):
11277         * converter.C (view):
11278         * importer.C (Import):
11279         * exporter.C (Export): Can not -> cannot.
11280
11281 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11282
11283         * BufferView_pimpl.C: allow to create index inset even if
11284           string is empty
11285
11286 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11287
11288         * buffer.C (getLists): replace boost::tie code with an explicit pair
11289         as boost::tie can break some compilers.
11290
11291         * iterators.h: Added a std:: declaration to the return type of
11292         ParIterator::size.
11293
11294 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11295
11296         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11297           case.
11298
11299 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11300
11301         * iterators.[Ch]: New files. Provide paragraph iterators.
11302
11303         * buffer.C (changeLanguage): Use paragraph iterators.
11304         (isMultiLingual): ditto
11305
11306         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11307
11308 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11309
11310         * FontLoader.C: Support for cmr font.
11311
11312 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11313
11314         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11315         (available): New method.
11316
11317         * FontInfo.C (getFontname): Use scalable fonts even when
11318         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11319         found.
11320
11321 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11322
11323         * converter.C (Formats::view): reverted! Incorrect fix.
11324
11325 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11326
11327         * converter.C (Formats::view): only output the -paper option
11328         if the dvi viewer is xdvi, thereby fixing bug #233429.
11329
11330 2001-08-23  Herbert Voss  <voss@perce>
11331
11332         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11333
11334 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11335
11336         * Spacing.h (Spacing): Set space to Default on in the default
11337         constructor.
11338
11339 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11340
11341         * vc-backend.h (RCS::versionString): add RCS to version
11342         (CVS::versionString): add CVS to version
11343
11344         * vc-backend.C (scanMaster): do not add CVS to version.
11345         (scanMaster): do not add RCS to version
11346
11347         * lyxvc.C (versionString): new method
11348
11349         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11350
11351 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11352
11353         * Spacing.C (set): initialize fval
11354
11355 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11356
11357         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11358         " or \.
11359
11360 2001-08-16  Juergen Vigna  <jug@sad.it>
11361
11362         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11363
11364 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11365
11366         * BufferView_pimpl.C:
11367         * figureForm.C:
11368         * lyxtext.h:
11369         * text2.C: setParagraph takes linespacing now
11370
11371 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11372
11373         * LyxAction.C: add internal LFUN_CITATION_INSERT
11374
11375         * LyXView.C: actually apply fix
11376
11377         * bufferlist.C: fix open non-existent file
11378
11379         * lyxfind.C: fix indentation
11380
11381         * lyxfunc.C: remove unneeded assert, fix typo
11382
11383 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11384
11385         * MenuBackend.C: use "Floatname List"
11386
11387 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11388
11389         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11390         when converting LaTeX layout to insetERT.
11391         Generate a non-collapsed float when reading old float
11392
11393 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11394
11395         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11396         ERT insets.
11397
11398 2001-08-13  Juergen Vigna  <jug@sad.it>
11399
11400         * text.C (fill): return 0 instead of 20 as this seems to be the more
11401         correct value.
11402
11403 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11404
11405         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11406         lyxrc.font_norm.
11407
11408 2001-08-13  Juergen Vigna  <jug@sad.it>
11409
11410         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11411         casesensitive off.
11412         (SearchBackward): comment out the unlocking of the inset_owner this
11413         should not be needed!
11414
11415 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11416
11417         * Many files: Remove inherit_language, and add latex_language
11418
11419         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11420         collapsible insets.
11421
11422 2001-08-10  Juergen Vigna  <jug@sad.it>
11423
11424         * text.C (prepareToPrint): fixed hfill-width in draw!
11425
11426         * BufferView2.C (selectLastWord): save the selection cursor as this
11427         now is cleared in the function LyXText::clearSelection!
11428
11429 2001-08-08  Juergen Vigna  <jug@sad.it>
11430
11431         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11432         BACKSPACE type functions.
11433
11434         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11435         is only cutted from the document but not put in the cut-buffer, where
11436         still the old stuff should be.
11437
11438         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11439
11440         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11441
11442         * tabular.C (SetWidthOfCell): fixed special case where the width
11443         was not updated!
11444         (LeftLine): handle '|' in align_special.
11445         (RightLine): ditto
11446         (LeftAlreadyDrawed): ditto
11447         (SetWidthOfCell): ditto
11448
11449 2001-08-07  Juergen Vigna  <jug@sad.it>
11450
11451         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11452
11453 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11454
11455         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11456         * lyxlex.[hC]: ditto
11457
11458 2001-08-06  Juergen Vigna  <jug@sad.it>
11459
11460         * text.C (getVisibleRow): fix up row clearing a bit.
11461
11462 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11463
11464         * minibuffer.C: make sure the X server sees the changes in the input.
11465
11466 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11467
11468         * paragraph.C (getFont): split into...
11469         (getLabelFont): this
11470         (getLayoutFont): and this
11471         * paragraph_pimpl.C (realizeFont): calling this
11472
11473         * text2.C (getFont): split into...
11474         (getLayoutFont): this
11475         (getLabelFont): and this
11476         (realizeFont): all three calling this
11477
11478         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11479         files where used.
11480
11481 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11482
11483         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11484
11485 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11486
11487         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11488         layouts from the Quote inset insertion.
11489
11490 2001-08-03  Juergen Vigna  <jug@sad.it>
11491
11492         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11493
11494         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11495         only if status not is already CHANGED_IN_DRAW (second level).
11496
11497         * text.C (draw): don't set the need_break_row when inside an
11498         InsetText LyXText.
11499
11500 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11501
11502         * buffer.C (parseSingleLyXformat2Token): handle more latex
11503         conversion cases.
11504
11505         * bufferview_funcs.[hC]: change function names to
11506         begin with small char, adjust other files.
11507
11508 2001-08-02  André Pönitz <poenitz@gmx.net>
11509
11510         * lyxfunc.C:
11511         BufferView_pimpl.C: remove broken special code for math-greek
11512
11513 2001-08-02  Juergen Vigna  <jug@sad.it>
11514
11515         * BufferView_pimpl.C (update): redone this function so that we
11516         update the text again if there was a CHANGE_IN_DRAW.
11517
11518         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11519         (drawFromTo): added a new internal bool which is used by draw() and
11520         redraw() function.
11521         (general): some cursor drawing problems fixed.
11522
11523 2001-08-01  Juergen Vigna  <jug@sad.it>
11524
11525         * lyxfind.C (LyXFind): fixed
11526         (SearchForward): ditto
11527         (SearchBackward): ditto
11528
11529         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11530         spurius drawing of the cursor in the main area.
11531
11532         * text2.C (status): small fix which could lead to a segfault!
11533         (clearSelection): remove unneeded BufferView param.
11534
11535 2001-08-01  André Pönitz <poenitz@gmx.net>
11536
11537         * lyxfunc.C: small change due to changed mathed interface
11538
11539 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11540
11541         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11542
11543 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11544
11545         * lyxfunc.c: fail gracefully if file doesn't exist
11546
11547         * LyXSendto.C:
11548         * buffer.C:
11549         * lyxfunc.C:
11550         * BufferView_pimpl.C: IsDirWriteable() proto changed
11551
11552         * LyXView.C: fix updateWindowTitle() to store the last title
11553
11554 2001-07-31  Juergen Vigna  <jug@sad.it>
11555
11556         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11557         the font (wrong since using of Paragraph::highestFontInRange).
11558
11559         * paragraph.C (highestFontInRange): added a default_size parameter.
11560
11561         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11562         (setHeightOfRow): reformat
11563
11564 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11565
11566         * converter.[hC] + affected files: move to (inital-char)lowercase
11567         function names.
11568
11569         * ParagraphParameters.C (ParagraphParameters): remove commented code
11570
11571         * PainterBase.[Ch]: remove commented code
11572
11573         * LaTeXFeatures.h: add "bool floats" for float.sty
11574
11575         * LaTeXFeatures.C (LaTeXFeatures): init floats
11576         (require): handle float
11577         (getPackages): do it with floats
11578
11579 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11580
11581         * BufferView_pimpl.C (Dispatch): improve handling of
11582         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11583
11584         * commandtags.h: #include lyxfont.h here temporarily to avoid
11585         keybinding bug.
11586
11587         * bufferlist.h: include LString.h here.
11588
11589 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11590
11591         * text2.C (getStringToIndex): new method.
11592
11593 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11594
11595         * *: Reduced header file dependencies all over.
11596
11597 2001-07-30  Baruch Even  <baruch@lyx.org>
11598
11599         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11600
11601 2001-07-29  Baruch Even  <baruch@lyx.org>
11602
11603         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11604
11605 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11606
11607         * ParameterStruct.h (endif): add a default constructor to make
11608         sure that all variables is initialized.
11609
11610         * ParagraphParameters.C (ParagraphParameters): adjust
11611
11612 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11613
11614         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11615         index; also, check that there is something to index, and that it
11616         does not span over several paragraphs.
11617         (doubleClick): use WHOLE_WORD_STRICT for double click.
11618
11619         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11620
11621         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11622         scheme.
11623
11624 2001-07-26  Baruch Even  <baruch@lyx.org>
11625
11626         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11627         an InsetFig figure, backwards compatible reading of old figure code.
11628
11629 2001-07-27  Juergen Vigna  <jug@sad.it>
11630
11631         * text2.C: font.realize function adaption.
11632
11633         * text.C (draw): add a warnings lyxerr text if needed.
11634
11635         * layout.C: font.realize function adaption.
11636
11637         * language.C: add inherit_language and implement it's handlings
11638
11639         * bufferview_funcs.C (StyleReset): remove language parameter from
11640         font creation (should be language_inherit now).
11641
11642         * bufferparams.C (writeFile): handle ignore_language.
11643
11644         * paragraph.C (getFontSettings): the language has to be resolved
11645         otherwise we have problems in LyXFont!
11646
11647         * lyxfont.C (lyxWriteChanges): added document_language parameter
11648         (update): removed unneeded language parameter
11649
11650         * paragraph.C (validate): fixed wrong output of color-package when
11651         using interface colors for certain fonts in certain environments,
11652         which should not seen as that on the final output.
11653
11654 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11655
11656         * BufferView_pimpl.C:
11657         * Thesaurus.h:
11658         * Thesaurus.C:
11659         * Makefile.am:
11660         * commandtags.h:
11661         * LyXAction.C: add thesaurus support
11662
11663         * lyxfind.h:
11664         * lyxfind.C: add "once" parameter, for thesaurus, to not
11665           move to the next match
11666
11667 2001-07-26  Juergen Vigna  <jug@sad.it>
11668
11669         * lyxfont.C (realize): honor ignore_language too!
11670         (resolved): ditto.
11671
11672         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11673
11674         * text.C (draw): one place more for ignore_language to not draw
11675         itself!
11676
11677 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11678
11679         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11680
11681 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11682
11683         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11684         the minipage conversion problem.
11685
11686 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11687
11688         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11689         insert an inset.
11690
11691 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11692
11693         * BufferView.h: don't forward declare WorkArea
11694
11695         * BufferView.C: don't include WorkArea.h
11696
11697 2001-07-25  André Pönitz <poenitz@gmx.net>
11698
11699         * commandtags.h:
11700         * LyXAction.C:
11701         * lyxfunc.C:  new LFUN 'math-space'
11702
11703         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11704
11705 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11706
11707         * text2.C (toggleInset): call open/close
11708
11709 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11710
11711         * lyxfunc.C (dispatch): add debug for the disabled case
11712
11713         * font.C (buttonText): make similar to rectText
11714
11715         * buffer.C (readInset): comment out parsing of insetlist and
11716         insttheorem
11717
11718         * PainterBase.C (rectText): small correction
11719
11720         * BufferView_pimpl.C: comment out insettheorem and insetlist
11721         * LyXAction.C: ditto
11722         * commandtags.h: ditto
11723
11724 2001-07-24  Juergen Vigna  <jug@sad.it>
11725
11726         * text.C (draw): honor the ignore_language.
11727
11728         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11729
11730 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11731
11732         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11733         char inset.
11734
11735 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11736
11737         * lyxtext.h: remove unused (and unimplemented) methods
11738
11739 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11740
11741         * text.C (getVisibleRow): honor background color
11742
11743         * PainterBase.h:
11744         * Painter.h: remove default color argument for fillRectangle
11745
11746         * text.C (backgroundColor): new method
11747
11748 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11749
11750         * text.C (getVisibleRow): adjust
11751
11752         * font.[Ch] (rectText): new method, metrics
11753         (buttonText): new method, metrics
11754
11755         * PainterBase.[hC]: make rectText and buttonText always draw and take
11756         fewer paramteres.
11757
11758 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11759
11760         * ToolbarDefaults.C (read):
11761         * MenuBackend.C (read): allow escaping in all strings
11762
11763         * BufferView_pimpl.C (insertAndEditInset): new method.
11764         (Dispatch): use insertAndEditInset whenever appropriate.
11765
11766         * BufferView_pimpl.C (insertNote): removed
11767
11768         * BufferView_pimpl.C (smartQuote): new method, moved from
11769         BufferView; if an insetquote cannot be inserted, insert a '"'
11770         character instead.
11771
11772         * BufferView2.C: remove insertCorrectQuote();
11773
11774         * lyxfunc.C (getStatus): Add support for all remaingin
11775         inset-insert lfuns.
11776
11777         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11778
11779         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11780         command (necessary to pass " as parameter of self-insert.
11781
11782         * text.C (selectWordWhenUnderCursor):
11783         (selectWord): add word_location parameter
11784         (selectWordWhenUnderCursor): same + remove special code for word
11785         boundary.
11786         (selectNextWord): use kind() to guess type of insetspecialchar,
11787         not latex().
11788
11789         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11790         (insertErtContents): create ert insets as collapsed.
11791         (readInset): better compatibility code for Info inset.
11792
11793 2001-07-20  Juergen Vigna  <jug@sad.it>
11794
11795         * lyxfunc.C (dispatch): use always LyXFind now!
11796
11797         * text2.C (init): add a reinit flag so that the LyXText can be
11798         reinited instead of deleted and reallocated (used in InsetText).
11799
11800         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11801
11802         * text.C: ditto
11803
11804         * text2.C: ditto
11805
11806 2001-07-18  Juergen Vigna  <jug@sad.it>
11807
11808         * text.C (selectNextWord): handle insets inside inset by calling
11809         always the bv->text functions so that we can go up the_locking_inset!
11810
11811         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11812         in strange locations when inside an inset!
11813
11814         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11815         handling to include insets.
11816
11817         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11818
11819 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11820
11821         * LyXAction.C (init):
11822         * commandtags.h:
11823         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11824         LIGATURE_BREAK, since the name is so stupid.
11825
11826 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11827
11828         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11829         InsetInfos.
11830
11831         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11832
11833         * sp_form.[Ch]: remove.
11834
11835         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11836
11837         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11838         InsetInfo.
11839
11840         * src/buffer.C (readInset): ditto.
11841
11842 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11843
11844         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11845         menuSeparator(), endOfSentenceDot(), ldots() and
11846         hyphenationPoint(), which are therefore removed.
11847         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11848
11849         * LyXAction.C (init):
11850         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11851
11852         * paragraph.C (getWord): removed.
11853
11854         * BufferView_pimpl.C (Dispatch): use last word or selection for
11855         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11856
11857         * lyx_main.C (queryUserLyXDir): do not ask before creating
11858         user_dir, except if it has been named explicitely.
11859
11860 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11861
11862         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11863         a document of zero size.
11864
11865 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11866
11867         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11868         approriately in the c-tor and in require().
11869         (getPackages): output the appropriate LaTeX for natbib support.
11870
11871         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11872         variables "use_natbib" and "use_numerical_citations" when reading the
11873         LyX file.
11874         (readInset): read the various natbib cite commands.
11875         (validate): white-space change.
11876
11877         * bufferparams.[Ch]: new variables "bool use_natbib" and
11878         "bool use_numerical_citations".
11879         (writeFile): output them in the LyX file.
11880
11881 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11882
11883         * lyxfunc.C (getStatus): add support for all the inset insertion
11884         commands.
11885
11886         * text2.C (insertInset):
11887         * paragraph.C (insetAllowed):
11888         * BufferView_pimpl.C (insertInset): update to take in account the
11889         renaming of insertInsetAllowed
11890
11891         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11892
11893         * text2.C (getInset): new method. returns inset at cursor position.
11894
11895         * BufferView_pimpl.C (Dispatch): changes because of this.
11896
11897         * LyXAction.C (init): rename open-stuff to inset-toggle.
11898
11899         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11900
11901         * text2.C (toggleInset): renamed from openStuff; use
11902         Inset::open().
11903
11904 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11905
11906         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11907
11908         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11909
11910 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11911
11912         * buffer.C (readLyXformat2): Add filename to the error dialog
11913
11914 2001-07-18  Juergen Vigna  <jug@sad.it>
11915
11916         * tabular.C (GetCellNumber): put an assert here instead of the check!
11917
11918 2001-07-17  Juergen Vigna  <jug@sad.it>
11919
11920         * BufferView_pimpl.C (toggleSelection): adapted too.
11921
11922         * text.C (selectNextWord): adapted for use with insets.
11923         (selectSelectedWord): ditto
11924
11925 2001-07-17  Juergen Vigna  <jug@sad.it>
11926
11927         * sp_spell.C (PSpell): fix initialitation order.
11928
11929 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11930
11931         * paragraph.C: spacing
11932
11933 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11934
11935         * sp_spell.C: repair language selection for pspell
11936
11937 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11938
11939         * lyxfunc.h: change more methods to begin with lower char.
11940
11941 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11942
11943         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11944         for unknown layouts.
11945
11946 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11947
11948         * buffer.C (readLyXformat2): Generate an error dialog if there are
11949         unknown layouts.
11950
11951 2001-07-16  Juergen Vigna  <jug@sad.it>
11952
11953         * sp_spell.C: always compile ISpell part.
11954
11955         * lyxrc.C: added use_pspell entry and it's handling.
11956
11957 2001-07-13  Juergen Vigna  <jug@sad.it>
11958
11959         * sp_spell.C: removed double includes.
11960
11961 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11962
11963         Consistent use of Lsstream.h:
11964         * Lsstream.h: added using std::stringstream for consistencies sake.
11965
11966         * buffer.C: removed using std::stringstream
11967
11968         * lyxfont.C (stateText):
11969         * paragraph.C (asString):
11970         * text.C (selectNextWord, selectSelectedWord):
11971         * text2.C (setCounter):
11972         * vspace.C (asString, asLatexString):
11973         std::ostringstream -> ostringstream.
11974
11975 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11976
11977         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11978         * commandtags.h: add LFUN_HELP_ABOUTLYX
11979         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11980
11981 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11982
11983         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11984         cursorToggle()
11985         * lyx_gui_misc.C: remove spellchecker
11986         * lyxfunc.C: showSpellchecker
11987         * sp_base.h: added
11988         * sp_ispell.h: added
11989         * sp_pspell.h: added
11990         * sp_spell.C: added
11991         * sp_form.[Ch]: removed
11992         * spellchecker.[Ch]: removed
11993
11994 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11995
11996         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11997         is set.
11998         (simpleTeXSpecialChars): Simply print the input character without
11999         any special translation if pass_thru is set.
12000
12001         * layout.h: Added bool pass_thru to layout class for being able to
12002         implement pass through of a paragraph for Literate Programming.
12003
12004         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12005         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12006         * layout.C (Read): add "passthru" to list of layout tags and add
12007         code to set the pass_thru boolean when it is read.
12008
12009 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12010
12011         * trans_decl.h: remove allowed from KmodInfo
12012
12013         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12014         remove allowed code
12015         (Load): adjust
12016
12017         * paragraph_pimpl.C (erase): use boost::prior
12018
12019         * Painter.C (text): use data() instead of c_str() when length is
12020         also provided.
12021         * WorkArea.C (putClipboard): ditto
12022         * font.h (width): ditto
12023
12024         * BufferView2.C: use it-> instead of (*it). for iterators
12025         * texrow.C: ditto
12026         * paragraph_pimpl.C: ditto
12027         * paragraph.C: ditto
12028         * minibuffer.C: ditto
12029         * language.C: ditto
12030         * kbmap.C: ditto
12031         * encoding.C: ditto
12032         * counters.C: ditto
12033         * converter.C: ditto
12034         * chset.C: ditto
12035         * Variables.C: ditto
12036         * TextCache.C: ditto
12037         * MenuBackend.C: ditto
12038         * LyXAction.C: ditto
12039         * LColor.C: ditto
12040         * FloatList.C: ditto
12041         * DepTable.C: ditto
12042         * ColorHandler.C (LyXColorHandler): ditto
12043
12044 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12045
12046         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12047
12048         * text2.C (openStuff): reintroduce this method (which had been
12049         nuked in NEW_INSETS frenzy).
12050
12051         * lyxfunc.C (Dispatch): when an action has not been handled, use
12052         its name in the error message, not its number.
12053
12054         * paragraph.C (inInset): change method name to begin with lowercase.
12055
12056         * undo_funcs.C:
12057         * text2.C: updates because of this.
12058
12059 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12060
12061         * ToolbarDefaults.C (add): add spaces in error message
12062
12063 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12064
12065         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12066         (readLyXformat2): rename return_par to first_par, use lyxlex's
12067         pushToken and remove the manual push handling.
12068         (parseSingleLyXformat2Token): add another ert comp. variable:
12069         in_tabular, rename return_par to first_par. handle newlines better
12070
12071 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12072
12073         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12074
12075 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12076
12077         * text2.C (getParFromID): removed
12078
12079         * buffer.C (getParFromID): new method moved form lyxtext.
12080         * BufferView2.C (insertErrors): adjust
12081         (setCursorFromRow): adjust
12082         * BufferView_pimpl.C (restorePosition): adjust
12083         * lyxfunc.C (Dispatch): adjust
12084         * undo_funcs.C (textUndo): adjust
12085         (textRedo): adjust
12086         (textHandleUndo): adjust
12087         (textHandleUndo): adjust
12088
12089 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12090
12091         * buffer.C: up' the LYX_FORMAT
12092
12093         * lyxfont.h: turn NO_LATEX on as default
12094
12095         * buffer.C (insertErtContents): new methods of tex style compability.
12096         (parseSingleLyXformat2Token): use it several places.
12097         * tabular.C (OldFormatRead): and here
12098
12099 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12100
12101         * text2.C: remove some commented code.
12102         reindent file.
12103
12104         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12105         * trans.C: changes because of the above.
12106
12107 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12108
12109         * text2.C (setCounter): Fix counters bug with bibliography layout.
12110
12111 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12112
12113         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12114         own member functions
12115         (simpleTeXSpecialChars): ditto
12116
12117 2001-07-06  Juergen Vigna  <jug@sad.it>
12118
12119         * a lot of files: changed the access to LyXText::status and the
12120         call of undo-functions.
12121
12122         * undo.[Ch]: added a inset_id to the undo informations.
12123
12124         * undo_funcs.[Ch]: added and moved here all undo functions.
12125
12126         * lyxtext.h: give the status enum a weight, made status_ a private
12127         variable and made accessor functions for it, removed the whole bunch
12128         of undo-functions as they are now in their own file, make some
12129         functions publically available. Added function ownerParagraph with
12130         int parameter.
12131
12132         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12133         made InInset() a const function, added getParFromID() function.
12134
12135         * buffer.[Ch]: added const version for inset_iterator functions,
12136         added getInsetFromID() function.
12137
12138         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12139         changed undo functions for new version.
12140
12141 2001-07-05  Juergen Vigna  <jug@sad.it>
12142
12143         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12144         unknow mechanism does not call the proper constructor but only this
12145         one also if I request the other!?
12146
12147 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12148
12149         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12150
12151         * text2.C (LyXText): use initialization lists.
12152
12153         * lyxtext.h (Selection): initialize set_ and mark_
12154         (init): remove method
12155
12156 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12157
12158         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12159
12160 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12161
12162         * screen.[Ch]: change method names to begin with lowercase
12163
12164         * BufferView_pimpl.C (updateScrollbar): simplify further and
12165         hopefully make it a bit faster.
12166
12167 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12168
12169         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12170         calling directly xforms functions.
12171
12172         * Painter.C (Painter):
12173         * lyx_cb.C (MenuWrite):
12174         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12175         fl_display.
12176
12177         * lyx_gui.C: remove bogus guiruntime extern declaration.
12178
12179 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12180
12181         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12182         in NEW_INSETS
12183         (redoDrawingOfParagraph): ditto
12184         (redoParagraphs): ditto
12185         (cutSelection): don't create a object for CutAndPaste use the
12186         static method directly
12187         (pasteSelection): ditto
12188
12189         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12190         LyXview (+ rename)
12191
12192 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12193
12194         * modifications to some other files because of this.
12195
12196         * Makefile.am (lyx_SOURCES): add XFormsView
12197
12198         * XFormsView.[Ch]: new files
12199
12200         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12201         the main window. Move the gui dependent stuff to XFormsView
12202
12203 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12204
12205         * tabular.C (GetCellInset): update cur_cell also in the row/col
12206         version of this function.
12207
12208         * lyxfunc.C: no need to include figure_form.h here.
12209
12210         * FontLoader.h:
12211         * lyxfunc.h:
12212         * lyxscreen.h:
12213         * text2.C:
12214         * lyxvc.C: no need to include forms.h here.
12215
12216 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12217
12218         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12219
12220         * lyxfunc.C (Dispatch):
12221         * Spacing.C (set):
12222         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12223         constructor argument.
12224
12225 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12226
12227         * paragraph.C (Paragraph): dont't clear, and just set layout.
12228         (makeSameLayout): use params's copy contructor.
12229
12230         * ParagraphParameters.[Ch] (makeSame): delete method
12231
12232 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12233
12234         * Variables.[Ch]: fix indentation, rename set to isSet
12235
12236 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12237
12238         * lyxfunc.C (Dispatch): fix typo
12239
12240 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12241
12242         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12243         upper_bound.
12244
12245         * bufferlist.C: include assert.h for emergencyWrite().
12246
12247 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12248
12249         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12250           give up at last (bug #425202) !
12251
12252 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12253
12254         * lyx_gui_misc.C:
12255         * sp_form.h:
12256         * sp_form.C:
12257         * spellchecker.h:
12258         * spellchecker.C: strip spellchecker options and bring up
12259           preferences tab instead
12260
12261 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12262
12263         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12264         the istringstream constructor
12265
12266 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12267
12268         * paragraph.C (getLayout): fix return value
12269
12270         * paragraph.h: do not declare getLayout as inline.
12271
12272         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12273
12274 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12275
12276         * lyxcursor.h (operator<): new func
12277         (operator>): new func
12278         (operator>=): new func
12279         (operator<=): new func
12280
12281         * text.C (changeCase): use selection.start and selection.end
12282         (changeRegionCase): require from to be <= to. Require par to be a
12283         valid paragraph.
12284
12285         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12286
12287 2001-06-27  Juergen Vigna  <jug@sad.it>
12288
12289         * text.C (cursorLeftOneWord): changed to return the cursor and added
12290         overlay with BufferView * parameter which calls this one.
12291         (getWord): added
12292         (selectWord): use new getWord function.
12293         (changeCase): renamed from changeWordCase as and extended to work
12294         also on selections.
12295
12296         * lyxtext.h: added enum word_location
12297
12298         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12299         changeCase as this operates now also on selections.
12300
12301 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12302
12303         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12304
12305         * many files: send debug output to Debug::INFO instead of
12306         Debug::ANY.
12307
12308         * converter.C (View):
12309         (Convert):
12310         (Move): send debug output to Debug::FILES instead of console.
12311
12312 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12313
12314         * lyxfunc.C (getStatus): use func_status
12315
12316         * func_status.h: new header, describing the results of
12317         LyXFunc::getStatus;
12318
12319         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12320         LFUN_MATH_HALIGN.
12321
12322 2001-06-25  The LyX Project  <jug@sad.it>
12323
12324         * buffer.C (sgmlOpenTag):
12325         (sgmlCloseTag):
12326         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12327
12328 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12329
12330         * text2.C: remove some dead code
12331
12332         * tabular.C (GetCellInset): store the last cell checked (gotten)
12333
12334         * tabular.h: add the helper for the speedup
12335
12336         * lyxtext.h: remove some dead code
12337
12338 2001-06-26  The LyX Project  <Asger>
12339
12340         * paragraph.C: Change export to LaTeX of alignment to
12341         \begin{center} and family for better roundtrip work with reLyX.
12342
12343         * Tune the math drawing a bit.
12344
12345 2001-06-25  The LyX Project  <Asger>
12346
12347         * LColor.C (LColor): New color for math background. New color
12348         for buttons.
12349
12350 2001-06-25  The LyX Project  <jug@sad.it>
12351
12352         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12353
12354         * lyxfunc.C (Open):
12355         * bufferlist.C (newFile): do not restrict to files ending with
12356         .lyx
12357
12358         * BufferView_pimpl.C (MenuInsertLyXFile):
12359
12360 2001-06-24  The LyX Project  <jug@sad.it>
12361
12362         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12363         of compare_no_case
12364
12365 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12366
12367         * lyxtext.h: rename most methods to begin with a small char.
12368         Lots of changes because of this.
12369
12370         * paragraph.C (Paragraph): do not call fitToSize
12371         (erase): call Pimpl::erase
12372         (insertChar): call Pimpl::insertChar
12373         (insertInset): call Pipl::insertInset
12374         (breakParagraph): do not call fitToSize
12375         (breakParagraphConservative): do not call fitToSize
12376         (fitToSize): remove method
12377
12378         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12379
12380 2001-06-24  The LyX Project  <Asger>
12381
12382         * Fix Qt compilation^2
12383
12384 2001-06-24  The LyX Project  <jug@sad.it>
12385
12386         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12387         depthHook(getDepth()-1).
12388
12389         * paragraph.h:
12390         * ParagraphParameters.h:
12391         * ParameterStruct.h: change type of depth to unsigned int ==
12392         depth_type. Many adaptations to other files before of that.
12393
12394 2001-06-24  The LyX Project  <Asger>
12395
12396         * Fix Qt compilation.
12397
12398 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12399
12400         * paragraph.h: renamed several methods to begin with small letter.
12401         several changes to many parts of the code because of this.
12402
12403 2001-06-23  The LyX Project  <jug@sad.it>
12404
12405         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12406         rewritten to discard all double spaces when KeepEmpty is off
12407         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12408         to only handle newlines but not fiddle with spaces and friends.
12409
12410         * lyxfunc.C (MenuNew): when doing 'new from template', use
12411         template_path as default directory
12412
12413 2001-06-23  The LyX Project  <Asger>
12414
12415         * Clean-up of header file includes all over
12416         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12417
12418 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12419
12420         * paragraph.h: renamed from lyxparagraph.h
12421
12422 2001-06-23  Asger  <lyx@violet.home.sad.it>
12423
12424         * Buffer.h: Removed Buffer::resize
12425         * BufferList.h: Removed BufferList::resize
12426         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12427         the document lazily when we change the width, or the font settings.
12428
12429 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12430
12431         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12432
12433 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12434
12435         * buffer.h: remove out of date comment
12436
12437 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12438
12439         * lyxscreen.h:
12440         * screen.C: fix "theoretical" GC leak
12441
12442 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12443
12444         * LaTeX.C (scanAuxFile):
12445         (deplog): remove trailing \r when reading stream (useful under
12446         win32)
12447
12448 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12449
12450         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12451         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12452         and BufferView::theLockingInset(Inset*), so should use them and not
12453         access bv_->text->the_locking_inset directly.
12454
12455         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12456
12457 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12458
12459         * Makefile.am:
12460         * tex-defs.h: remove old unused file
12461
12462 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12463
12464         * BufferView_pimpl.C: fix typo, remove minibuffer message
12465           when buffer has loaded
12466
12467 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12468
12469         * lyxfunc.C (Dispatch): use stringstream
12470         (MenuNew): use stringstream
12471         (Open): use stringstream
12472
12473         * importer.C (Import): use stringstream
12474
12475         * bufferview_funcs.C (CurrentState): use stringstream
12476
12477         * LaTeX.C (run): use stringstream
12478
12479         * BufferView_pimpl.C (savePosition): use stringstream
12480         (restorePosition): use stringstream
12481         (MenuInsertLyXFile): use stringstream
12482
12483 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12484
12485         * BufferView.C:
12486         * Bullet.C:
12487         * ColorHandler.C:
12488         * FontInfo.C:
12489         * FontLoader.C:
12490         * LColor.C:
12491         * LaTeXFeatures.C:
12492         * Painter.C:
12493         * gettext.C:
12494         * lyx_gui_misc.C:
12495         * lyxserver.C:
12496         * vspace.C: removed // -*- C++ -*- as first line.
12497
12498         * lyxfind.h:
12499         * version.h: added // -*- C++ -*- as first line.
12500
12501 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12502
12503         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12504
12505         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12506         of string
12507
12508 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12509
12510         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12511         of floats.
12512
12513 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12514
12515         * gettext.C: include LString.h even when --disable-nls is on.
12516
12517 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12518
12519         * converter.h (Get): changed argument type from int to
12520         FormatList::size_type to avoid unnecessary conversion.
12521
12522         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12523         before using it.
12524
12525 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12526
12527         * gettext.h: include LString.h even when --disable-nls is on.
12528
12529 2001-06-07  Juergen Vigna  <jug@sad.it>
12530
12531         * text.C (BreakAgain): subst spaces with tabs.
12532
12533         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12534         (resizeInsetsLyXText): set force on resizeLyXText.
12535
12536 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12537
12538         * gettext.h (gettext_init):
12539         (locale_init): use a real definition instead of a macro
12540
12541 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12542
12543         * Bufferview_pimpl.C:
12544         * LColor.h:
12545         * LColor.C: further lcolor tidies
12546
12547 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12548
12549         * BufferView_pimpl.C (updateScrollbar): simplify.
12550
12551         * BufferView2.C: don't include insets/insetinfo.h, change
12552         prototype for insertInset and call the Pimpl version. let
12553         updateInset call Pimpl version.
12554
12555         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12556         gotoInset to BufferView::Pimpl
12557
12558 2001-06-01  Juergen Vigna  <jug@sad.it>
12559
12560         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12561         inside a LockingInset (is the update needed at all?).
12562
12563 2001-05-31  Juergen Vigna  <jug@sad.it>
12564
12565         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12566         here not the old one otherwise how should we compare it afterwards
12567         if it's the same!
12568
12569 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12570
12571         * lyxfont.C:
12572         * tabular.C:
12573         * tabular-old.C:
12574         * FontInfo.C: bring C functions into global namespace when
12575         necessary
12576
12577 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12578
12579         * LString.h: make sure config.h has been loaded before LString.h.
12580
12581         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12582         (one for each char read by EatLine!).
12583
12584         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12585         variables.
12586
12587 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12588
12589         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12590         to the same as the par we break from
12591
12592 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12593
12594         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12595
12596         * MenuBackend.C (expand): also create menu entries for wide
12597         versions of the floats.
12598
12599         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12600
12601         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12602
12603         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12604         frontends/Makefile.am
12605
12606         * text2.C: adjust
12607         * text.C: adjust
12608
12609
12610         * tabular.C (getTokenValue): add std::
12611
12612         * tabular-old.C (getTokenValue): add std::
12613         (getTokenValue): ditto
12614         (getTokenValue): ditto
12615
12616         * screen.C (ToggleSelection): adjust
12617
12618         * lyxtext.h: put selection cursors inside a Selection struct.
12619
12620         * lyxfunc.C (moveCursorUpdate): adjust
12621
12622         * lyxfont.C (latexWriteStartChanges): add std::
12623
12624         * lyxfind.C: adjust
12625
12626         * font.h: delete with(char const *, LyXFont const &)
12627
12628         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12629
12630         * FontInfo.C (getFontname): add std::
12631
12632         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12633         (workAreaButtonPress): adjust
12634         (tripleClick): adjust
12635         (update): adjust
12636         (moveCursorUpdate): adjust
12637         (Dispatch): adjust
12638
12639         * BufferView2.C (gotoInset): adjust
12640
12641 2001-05-30  Juergen Vigna  <jug@sad.it>
12642
12643         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12644         to check pspell I add this as default as I now have new pspell
12645         libraries and they seem to use this.
12646
12647 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12648
12649         * text2.C (CutSelection): make the cursor valid before the call to
12650         ClearSelection.
12651
12652 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12653
12654         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12655         relied on 0 terminated strings and other horrors. Bug found due to
12656         the new assert in lyxstring!
12657
12658         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12659         KP_ keys.
12660
12661 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12662
12663         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12664         to latinkeys.bind.
12665
12666         * lyxfunc.C (processKeySym): change method of getting to the
12667         self-insert char.
12668
12669         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12670         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12671         * BufferView_pimpl.[Ch]: here as private methods.
12672
12673 2001-05-28  Juergen Vigna  <jug@sad.it>
12674
12675         * text.C (SetHeightOfRow): added the update() call again as it is
12676         needed to initialize inset dimensions!
12677
12678 2001-05-16  Juergen Vigna  <jug@sad.it>
12679
12680         * text2.C (SetCharFont): Add new function with BufferView * and
12681         bool toggleall parameters for setting insets internal fonts.
12682         (SetFont): Freeze the undo as we may change fonts in Insets and
12683         all this change should be inside only one Undo!
12684
12685         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12686         setting font's in insets as for them we have the SetFont function!
12687
12688 2001-05-15  Juergen Vigna  <jug@sad.it>
12689
12690         * text2.C (ClearSelection): to be sure we REALLY don't have any
12691         selection anymore!
12692
12693         * tabular.C (TeXCellPreamble): fixed the left border problem for
12694         multicolumn cells.
12695
12696 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12697
12698         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12699         dependancy file
12700
12701 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12702
12703         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12704         LFUN_BREAKPARAGRAPH.
12705
12706         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12707         help test to "internal only", similar for LFUN_INSERT_URL
12708
12709         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12710         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12711         auto_region_delete and deadkeys.
12712
12713 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12714
12715         * LColor.h:
12716         * LColor.C: remove some dead entries, tidy a little
12717
12718 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12719
12720         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12721         commented code.
12722         (Dispatch): implement LFUN_ESCAPE
12723
12724         * commandtags.h: add LFUN_ESCAPE
12725
12726         * LyXAction.C (init): add entry for LFUN_ESCAPE
12727
12728         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12729         Remove commented code.
12730         (insertNote): moved here
12731         (open_new_inset): moved here
12732
12733         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12734         BufferView_pimpl
12735
12736 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12737
12738         * kbmap.C (findbinding): clean it up and make it work correctly.
12739
12740         * lyx_main.C (init): do not pass argc and argv as parameters
12741
12742 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12743
12744         * buffer.C: fix path for OS/2 & Win32
12745
12746         * lyx_gui.C:
12747         * lyx_main:
12748         * lyx_main.C: Added os:: class.
12749
12750         * os2_defines.h: update
12751
12752 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12753
12754         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12755         better by trying again with reduced state.
12756
12757 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12758
12759         * lyxrc.C (read): print error about invalid key sequence only when
12760         debugging (because not all latinX keysyms are known to some X
12761         servers)
12762
12763         * kbsequence.C (getiso): add a few std:: qualifiers
12764         (getiso): comment out extra return statement.
12765
12766 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12767
12768         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12769         handling.
12770         (Dispatch): enhance the accent inset a bit. (not perfect)
12771
12772 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12773
12774         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12775
12776 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12777
12778         * bufferlist.C (emergencyWrite): fix assert() call
12779
12780 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12781
12782         * text.C (InsertChar): Added trivial patch to only send the "you
12783         can not do multiple spaces this way" message once during a
12784         session.
12785
12786 2001-05-08  Baruch Even  <baruch@lyx.org>
12787
12788         * Makefile.am: Changed order of libraries to get LyX to link properly
12789         with the gnome frontend.
12790
12791 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12792
12793         * LaTeXFeatures.h: add a std:: qualifier
12794
12795 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12796
12797         * paragraph.C (String): use stringstream
12798
12799 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12800
12801         * paragraph.C (writeFile): remove footflag arg
12802
12803         * buffer.C (makeLaTeXFile): use stringstream
12804         (latexParagraphs): remove footnot gurba
12805
12806         * LaTeXFeatures.C (getPackages): use stringstream
12807         (getMacros): likewise
12808         (getTClassPreamble): likewise
12809         (getFloatDefinitions): new method
12810
12811         * paragraph.C (writeFile): reindent
12812         (Erase): reindent
12813
12814         * WorkArea.h: revert the xpos + etc changes.
12815
12816         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12817
12818         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12819
12820         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12821         (pasteSelection): likewise
12822         * text2.C (CreateUndo): likewise
12823
12824 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12825
12826         * minibuffer.C (peek_event): temporarily reduce the functionality
12827         of the minibuffer (to allow args on lfuns)
12828
12829         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12830         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12831
12832         * buffer.C (readInset): add compability reading of old float
12833         lists, add reading of new style float list.
12834         (readInset): avoid reevaluation of inscmd.getCmdName()
12835         (getLists): reindent
12836
12837         * MenuBackend.C (MenuItem): implement parsing of
12838         md_floatlistinsert and md_floatinsert.
12839         (expand::LastFiles): move initalizaton of iterators out of loop,
12840         avoid reevaluation.
12841         (expand::Documents): introduce typdedef vector<string> Strings,
12842         and use it.
12843         (expand::ExportFormats): introduce typedef vector<Format const *>
12844         Formats, and use it.
12845         (expand): implement FloatListInsert and FloatInsert.
12846
12847         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12848         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12849         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12850
12851         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12852         handling.
12853         (Dispatch::LFUN_FLOAT_LIST): implement
12854
12855 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12856
12857         * LaTeX.C (run): Fix problem with --export code.
12858
12859 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12860
12861         * BufferView.[Ch] (workarea): removed.
12862         (getClipboard) new method; wrapper for workarea()->getClipboard()
12863
12864         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12865         bug.
12866
12867         * WorkArea.h (width, height, xpos, ypos): These methods all
12868         returned the dimensions of the work_area sub-area of WorkArea,
12869         resulting in a position error if the WorkArea were resized. Now
12870         return the dimensions of the entire WorkArea.
12871
12872         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12873
12874 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12875
12876         * LaTeX.C (deplog): correct the syntax of regex reg1
12877
12878 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12879
12880         * undo.C: remove !NEW_INSETS cruft
12881
12882 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12883
12884         * text2.C: remove !NEW_INSETS cruft
12885
12886         * text.C: remove !NEW_INSETS cruft
12887
12888         * tabular.C: remove !NEW_INSETS cruft
12889
12890         * spellchecker.C: remove !NEW_INSETS cruft
12891
12892         * lyxtext.h: remove !NEW_INSETS cruft
12893
12894         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12895
12896         * lyxfunc.C: remove !NEW_INSETS cruft
12897
12898         * lyxfind.C: remove !NEW_INSETS cruft
12899
12900         * lyx_cb.C: remove !NEW_INSETS cruft
12901
12902         * figureForm.C: remove  !NEW_INSETS cruft
12903
12904         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12905
12906         * buffer.[Ch]: remove !NEW_INSETS cruft
12907
12908         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12909
12910         * CutAndPaste.C: remove !NEW_INSETS cruft
12911
12912         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12913
12914         * BufferView2.C: remove !NEW_INSETS cruft
12915
12916         * BufferView.h: remove !NEW_INSETS cruft
12917
12918 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12919
12920         * Lsstream.h: include LString.h before the sstream headers to
12921         fix problem with gcc 2.95.3 and lyxstring
12922
12923 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12924
12925         * lyx_main.C: add using directives when needed for C functions
12926         declared in std:: namespace.
12927
12928 2001-04-27  Juergen Vigna  <jug@sad.it>
12929
12930         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12931         (SetHeightOfRow): comment out the update call should not be needed!
12932
12933 2001-04-13  Juergen Vigna  <jug@sad.it>
12934
12935         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12936         (LyXTabular): tried to minimize operator= operations (and realized
12937         hopfully Lars wish).
12938
12939 2001-04-27  Juergen Vigna  <jug@sad.it>
12940
12941         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12942
12943 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12944
12945         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12946
12947         * buffer.C (readInset): hack to make listof algorithm work
12948
12949         * BufferView_pimpl.C: hack to make listof algorithm work
12950
12951 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12952
12953         * LyXAction.C: removed all !NEW_INSETS cruft
12954         (init): moved lfun_item in method
12955
12956         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12957
12958 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12959
12960         * BufferView2.C (theLockingInset): white space.
12961
12962 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12963
12964         * minibuffer.C: include <iostream>
12965
12966         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12967
12968         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12969
12970         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12971
12972         * text.[Ch] (TransposeChars): new method
12973
12974 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12975
12976         * call message directly through LyXView instead of through LyXFunc
12977         * BufferView2.C: adjust
12978         * BufferView_pimpl.C: adjust
12979         * FontLoader.C: adjust
12980         * buffer.C: adjust
12981         * bufferview_funcs.C: adjust
12982         * converter.C: adjust
12983         * figureForm.C: adjust
12984         * importer.C: adjust
12985         * lyx_cb.C: adjust
12986         * lyx_gui_misc.C: adjust
12987         * lyxfunc.C: adjust
12988         * lyxvc.C: adjust
12989         * text2.C: adjust
12990         + more files in subdirs
12991
12992         * lyxparagraph.h (size): move up int file
12993         (GetLayout): ditto
12994
12995         * adjust all uses of Assert to lyx::Assert.
12996
12997         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12998         lyxfunctional in namespace lyx
12999         * layout.C (hasLayout): ditto
13000         (GetLayout): ditto
13001         (GetLayout): ditto
13002         (delete_layout): ditto
13003         (NumberOfClass): ditto
13004         * converter.C (GetFormat): ditto
13005         (GetNumber): ditto
13006         (Add): ditto
13007         (Delete): ditto
13008         (SetViewer): ditto
13009         * bufferlist.C (getFileNames): ditto
13010         (emergencyWriteAll): ditto
13011         (exists): ditto
13012         (getBuffer): ditto
13013         * MenuBackend.C (hasSubmenu): ditto
13014         (hasMenu): ditto
13015         (getMenu): ditto
13016         * BufferView_pimpl.C (getInsetByCode): ditto
13017
13018 2001-04-18  Juergen Vigna  <jug@sad.it>
13019
13020         * vspace.C (asLatexString): fixed the 100% problem.
13021
13022 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13023
13024         * lyxfunc.C (Dispatch):
13025         * minibuffer.C:
13026         * minibuffer.h: add a few std:: qualifiers
13027
13028 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13029
13030         * minibuffer.[Ch]: reimplement so that commands is initiated and
13031         run from lyxfunc, simplified som handling, and made the completion
13032         and history code for complete. wip.
13033
13034         * lyxfunc.C (processKeySym): call message
13035         (miniDispatch): new temporary method
13036         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13037         (LFUN_MESSAGE): implement
13038         (LFUN_MESSAGE_PUSH): implement
13039         (LFUN_MESSAGE_POP): implement
13040         (initMiniBuffer): the initial/defualt minibuffer message.
13041
13042         * lyxfont.[Ch]: inline some more getters
13043
13044         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13045
13046         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13047
13048         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13049         (AutoSave): use LFUN_MESSAGE
13050         (Reconfigure): ditto
13051
13052         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13053
13054         * figureForm.C: use LFUN_MESSAGE
13055
13056         * converter.C (runLaTeX): use LFUN_MESSAGE
13057
13058         * bufferview_funcs.C: use LFUN_MESSAGE
13059         (Melt): ditto
13060         (changeDepth): ditto
13061
13062         * bufferparams.h: use boost::
13063
13064         * bufferlist.h: inherit privately from noncopyable
13065
13066         * bufferlist.C (loadLyXFile): remove some commented code.
13067
13068         * buffer.C (runChktex): use LFUN_MESSAGE
13069
13070         * ShareContainer.h: inherit privately from noncopyable
13071
13072         * ParagraphParameters.[hC] (depth): inline it.
13073
13074         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13075         methods.
13076         (message): new method
13077         (messagePush): ditto
13078         (messagePop): ditto
13079         (show): init minibuffer
13080         (showState): direct call
13081
13082         * LaTeX.[Ch]: inherit privately from noncopyable
13083         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13084         instead of WriteStatus.
13085
13086         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13087
13088         * BufferView_pimpl.C (buffer): don't init minibuffer
13089         (workAreaButtonPress): use LFUN_MESSAGE
13090         (workAreaButtonRelease): ditto
13091         (savePosition): ditto
13092         (restorePosition): ditto
13093         (MenuInsertLyXFile): ditto
13094         (workAreaExpose): don't init minibuffer
13095         (update): remove commented code, simplify
13096
13097         * BufferView2.C (openStuff): use LFUN_MESSAGE
13098         (toggleFloat): ditto
13099         (menuUndo): ditto
13100         (menuRedo): ditto
13101         (copyEnvironment): ditto
13102         (pasteEnvironment): ditto
13103         (copy): ditto
13104         (cut): ditto
13105         (paste): ditto
13106         (gotoInset): ditto
13107         (updateInset): remove some commented code
13108
13109         * lastfiles.h: inherit privately from noncopyable
13110         * layout.h: ditto
13111         * lyx_gui.h: ditto
13112         * lyx_main.h: ditto
13113         * lyxlex.h: ditto
13114         * lyxlex_pimpl.h: ditto
13115
13116         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13117         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13118         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13119
13120         * LyXAction.h: inherit privately from noncopyable, add methods
13121         func_begin, func_end, returning iterators to the func map.
13122
13123         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13124         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13125         (func_begin): new method
13126         (func_end): new method
13127
13128         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13129         and not)
13130         (copySelection): ditto
13131         (pasteSelection): ditto
13132
13133         * BufferView.C: whitespace change
13134         * BufferView.h: inherit privately from noncopyable
13135
13136 2001-04-16  Allan Rae  <rae@lyx.org>
13137
13138         * tabular-old.C (l_getline):
13139         * spellchecker.C (sc_check_word):
13140         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13141         an unrecognised preprocessor directive.  So ensure they're wrapped.
13142
13143 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13144
13145         * src/exporter.C (Export): Give an error message when path to file
13146         contains spaces.
13147
13148 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13149
13150         * LaTeX.C (deplog): Always check that foundfile exists.
13151
13152 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13153
13154         * lyx_main.h:
13155         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13156
13157 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13158
13159         * tabular.[Ch] (getLabelList): implement new method
13160
13161         * minibuffer.h: comment ouf setTiimer
13162
13163         * minibuffer.C (ExecutingCB): constify res
13164         (peek_event): constify s
13165         (Set): constify ntext
13166         (Init): constify nicename
13167
13168         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13169
13170         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13171         (savePosition): use two params to Minibuffer::Set
13172         (restorePosition): ditto
13173
13174 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13175
13176         * lyx_main.C: include language.h
13177
13178         * Makefile.am (lyx_main.o): add language.h
13179
13180 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13181
13182         * exporter.C:
13183         * paragraph.C:
13184         * screen.C:
13185         * tabular.C:
13186         * CutAndPaste.C: include gettext.h
13187
13188         * lyxfont.h: remove old hack with ON and OFF.
13189
13190         * lyxparagraph.h:
13191         * lyxfont.h: do not include language.h...
13192
13193         * BufferView2.C:
13194         * LaTeXFeatures.C:
13195         * Painter.C:
13196         * bufferview_funcs.C:
13197         * font.C:
13198         * lyxfont.C:
13199         * text.C:
13200         * text2.C:
13201         * trans_mgr.C:
13202         * paragraph.C: ... but do it here instead
13203
13204 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13205
13206         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13207
13208         * tabular.C: small reformat
13209
13210         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13211         NEW_INSETS version
13212         (GetChar): ditto
13213         (BreakParagraph): ditto
13214         (SetOnlyLayout): ditto
13215         (SetLayout): ditto
13216
13217         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13218         with one arg less.
13219
13220         * lastfiles.C: removed most using decl, add std:: where needed
13221
13222         * buffer.C: ws changes
13223
13224         * MenuBackend.C (class compare_format): put into anon namespace
13225         (expand): constify label, names, action, action2
13226         (expand):
13227
13228         * text.C (SingleWidth): constify font
13229         (IsBoundary): constify rtl2
13230         (GetVisibleRow): constify ww
13231
13232         * LaTeX.C (deplog): constify logfile
13233
13234         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13235         start_x, end_x
13236         (workAreaExpose): constify widthChange, heightChange
13237
13238         * lyxrow.C (par): moved
13239         (height): moved
13240         (next): moved
13241         * lyxrow.h: as inlines here
13242
13243         * lyxfont.h (shape): moved from lyxfont.C
13244         (emph): moved from lyxfont.C
13245
13246         * lyxfont.C (LyXFont): use initialization list for all
13247         constructors
13248         (shape): move to lyxfont.h as inline
13249         (emph): move to lyxfont.h as inline
13250
13251
13252 2001-04-04  Juergen Vigna  <jug@sad.it>
13253
13254         * vspace.C: had to include stdio.h for use of sscanf
13255
13256 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13257
13258         * BufferView.h:
13259         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13260         independent of xforms.
13261
13262 2001-04-02  Juergen Vigna  <jug@sad.it>
13263
13264         * spellchecker.C: fixed namespace placing!
13265
13266 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13267
13268         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13269         the LyXParagraph * is 0.
13270
13271 2001-03-29  Juergen Vigna  <jug@sad.it>
13272
13273         * vspace.C: added support for %, c%, p%, l%.
13274         (stringFromUnit): added helper function.
13275         (asLatexString): changed to give right results for the %-values.
13276
13277         * buffer.C: convert the widthp in a width%.
13278
13279 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13280
13281         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13282         figureForm.[Ch].
13283
13284         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13285         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13286
13287         * lyx_cb.[Ch]: see above.
13288
13289         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13290         form1.[Ch].
13291
13292         * form1.[Ch]:
13293         * lyx.[Ch]: replaced by figure_form.[Ch].
13294
13295         * lyx_gui.C:
13296         * lyx_gui_misc.C:
13297         * lyxfunc.C: changed headers associated with above changes.
13298
13299 2001-03-27  Juergen Vigna  <jug@sad.it>
13300
13301         * BufferView_pimpl.C: set the temporary cursor right!
13302
13303 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13304
13305         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13306
13307 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13308
13309         * LString.h: removed "using std::getline"!
13310
13311         * BufferView_pimpl.C (Dispatch): changes due to changes in
13312         InsetInclude::Params.
13313
13314         * buffer.C (tag_name): removed redundant break statements as they were
13315         producing lots of warnings with my compiler.
13316
13317 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13318
13319         * LString.h: add "using std::getline" when using the real <string>.
13320
13321 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13322
13323         * buffer.C: removed bitset usage.
13324         PAR_TAG moved to an anonymous name space.
13325         (tag_name): new funtion, also in the anonymous namespace.
13326         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13327         (makeDocBookFile): clean code. Completed transition from string arrays
13328         to string vectors.
13329         (SimpleDocBookOnePar): code clean.
13330
13331 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13332
13333         * tabular.C: add some comments.
13334
13335 2001-03-22  Juergen Vigna  <jug@sad.it>
13336
13337         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13338         compatibility read a bit and fixed bug with minipage in different
13339         depth.
13340
13341 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13342
13343         * buffer.C (pop_tag): removed.
13344         (push_tag): removed.
13345         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13346         array replaced with vector. Added support for CDATA sections.
13347         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13348         at any nest level.
13349         (makeDocBookFile): XML conformant declaration of CDATA section,
13350         fixed bug related to <emphasis> in the first paragraph char.
13351         (sgmlOpenTag): exclude empty tags.
13352         (sgmlCloseTag): ditto.
13353
13354         * buffer.h (pop_tag): removed.
13355         (push_tag): removed.
13356
13357 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13358
13359         * language.h (Languages): added size_type and size().
13360
13361 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13362
13363         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13364         response on compability reading of minipages. One probliem is that
13365         the old usage of minipages was «flertydig»
13366
13367         * several files here and in subdirs: don't use static at file
13368         scope use anon namespaces instead.
13369
13370 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13371
13372         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13373         LaTeX output. This is necessary for Literate document
13374         processing.
13375
13376 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13377
13378         * buffer.C: insert hfill when needed.
13379
13380         * tabular.C (l_getline): use string::erase, small whitespace change.
13381
13382         * BufferView_pimpl.C: try the anon namespace.
13383         * WorkArea.C: ditto
13384
13385 2001-03-16  Juergen Vigna  <jug@sad.it>
13386
13387         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13388         otherwise it won't open options-dialogs.
13389
13390         * buffer.C: honor pextraWidth(p) on converting minipages.
13391
13392         * tabular.C (l_getline): changed the functions to strip trailing \r.
13393
13394 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13395
13396         * BufferView_pimpl.C:
13397         * minibuffer..C: added "using SigC::slot" declaration.
13398
13399 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13400
13401         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13402
13403         * text2.C: ditto
13404
13405         * text.C: ditto
13406
13407         * paragraph.C: ditto
13408
13409         * lyxtext.h: NO_PEXTRA
13410
13411         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13412
13413         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13414         * ParameterStruct.h: ditto
13415         * ParagraphParameters.h: ditto
13416         * lyxparagraph.h: ditto
13417
13418 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13419
13420         * buffer.C: add compability for minipage alignment.
13421         (latexParagraphs): remove unwanted pextra check.
13422
13423         * several files: remove CXX_WORKING_NAMESPACES
13424
13425         * buffer.C (pop_tag): tie is in namespace boost
13426
13427         * BufferView.h: noncopyable is in namespace boost
13428         * lyxlex.h: ditto
13429         * lyx_main.h: ditto
13430         * lyx_gui.h: ditto
13431         * layout.h: ditto
13432         * lastfiles.h: ditto
13433         * bufferlist.h: ditto
13434         * ShareContainer.h: ditto
13435         * LyXView.h: ditto
13436         * LyXAction.h: ditto
13437         * LaTeX.h: ditto
13438
13439 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13440
13441         * Merging changes from BRANCH_MVC back into HEAD.
13442
13443         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13444
13445 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13446
13447         * BufferView_pimpl.C: change from intl.C
13448
13449         * combox.h:
13450         * combox.C:
13451         * Makefile.am: move combox.*
13452
13453         * form1.h:
13454         * form1.C:
13455         * lyx_gui.C:
13456         * intl.h:
13457         * intl.C: remove dialog (covered by prefs)
13458
13459 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13460
13461         * lyxfunc.C (Dispatch): removed redundant break statement.
13462
13463 2001-03-14  Juergen Vigna  <jug@sad.it>
13464
13465         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13466
13467 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13468
13469         * buffer.C: add hack to fix compability reading of minipages.
13470
13471 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13472
13473         * buffer.C (getLists): Cleanup.
13474
13475 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13476
13477         * lyxfont.C (update): don't honor toggleall on font size.
13478
13479 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13480
13481         * bmtable.c:
13482         * bmtable.h:
13483         * Makefile.am: moved to frontends/xforms/
13484
13485         * lyx_gui_misc.C:
13486         * lyxfunc.C:
13487         * BufferView_pimpl.C: changes for moved mathpanel
13488
13489 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13490
13491         * gettext.h: fix gettext_init() in --disable-nls
13492
13493 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13494
13495         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13496
13497 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13498
13499         * lyx.C:
13500         * lyx.h: strip external form
13501
13502 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13503
13504         * BufferView_pimpl.C: add comment, destroySplash()
13505
13506 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13507
13508         * BufferView_pimpl.C:
13509         * LyXAction.C:
13510         * buffer.C:
13511         * commandtags.h:
13512         * lyxfunc.C: use re-worked insetinclude
13513
13514 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13515
13516         * buffer.C: add using std::stringstream.
13517
13518         * lyx_cb.C: readd using std::ios.
13519
13520         * buffer.C: add using std::map.
13521
13522         * BufferView_pimpl.C: add using std::vector.
13523
13524         * ShareContainer.h: add std:: to swap.
13525
13526         * buffer.h: add some typedefs
13527         * buffer.C (getLists): use them
13528         (getLists): renamed from getTocList.
13529         add a counter for the different float types and use it in the
13530         generated string.
13531         (getLists): use the same counter for the NEW_INSETS and the "non"
13532         NEW_INSETS
13533
13534         * lyx_cb.h: remove unused items, includes, using etc.
13535
13536         * ShareContainer.h: remove some commented code, add more comments
13537         and "documentation".
13538
13539 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13540
13541         * buffer.C (getTocList): make the list also when NEW_INSETS is
13542         defined.
13543
13544         * buffer.h: remove TocType
13545
13546         * buffer.C (getTocList): change to return a map<string,
13547         vector<TocItem> >, implement for dynamic number of list.
13548
13549         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13550         * text2.C (PasteSelection): adjust
13551         * CutAndPaste.C (pasteSelection): adjust
13552
13553         * FloatList.C (FloatList): update from the new_insets branch.
13554         * Floating.[Ch]: ditto
13555         * LaTeXFeatures.C: ditto
13556         * buffer.C: ditto
13557         * lyxlex_pimpl.C: ditto
13558
13559         * paragraph.C (Last): remove when NEW_INSETS is defined.
13560
13561         * other file: changes because of the above.
13562
13563 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13564
13565         * lyxparagraph.h: rename next to next_, previous to previous_,
13566         make them private for NEW_INSETS. Rename Next() to next(),
13567         Previous() to previous().
13568
13569         * other files: changes because of the above.
13570
13571 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13572
13573         * BufferView.h:
13574         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13575         problem.
13576
13577 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13578
13579         * main.C (main): pass lyx_localedir to gettext_init().
13580
13581         * gettext.h: remove locale_init and gettext_init macros
13582
13583         * gettext.C (locale_init): new function
13584         (gettext_init): new function
13585
13586         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13587         setlocale().
13588
13589 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13590
13591         * Moved credits to frontends:
13592         * credits.[Ch]: removed
13593         * credits_form.[Ch]: removed
13594         * lyx_gui_misc.C: remove credits stuff
13595         * Makefile.am:
13596
13597 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13598
13599         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13600
13601         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13602         unneeded destructor.
13603
13604         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13605         a standalone pointer again.
13606
13607         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13608
13609 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13610
13611         * Makefile.am:
13612         * filedlg.h:
13613         * filedlg.C:
13614         * LyXAction.C:
13615         * ToolbarDefaults.C:
13616         * bufferlist.C:
13617         * commandtags.h:
13618         * form1.C:
13619         * form1.h:
13620         * lyx_cb.C:
13621         * lyx_cb.h:
13622         * lyxfunc.h:
13623         * lyxfunc.C:
13624         * BufferView_pimpl.C: use new file dialog in GUII
13625
13626         * lyx_cb.h:
13627         * lyx_cb.C: remove LayoutsCB to Toolbar
13628
13629 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13630
13631         * ShareContainer.h (get): add std:: qualifier
13632
13633 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13634
13635         * ShareContainer.h: define a proper ShareContainer::value_type
13636         type (and use typename to please compaq cxx)
13637
13638 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13639
13640         * lyxparagraph.h: move serveral local vars to
13641         ParameterStruct/ParagraphParameters., use ShareContainer in
13642         FontTable., make vars in FontTable private and add getter and
13643         setter.
13644
13645         * paragraph.C: changes because of the above.
13646
13647         * lyxfont.h: remove copy constructor and copy assignment. (the
13648         default ones is ok), move number inside FontBits. move inlines to
13649         lyxfont.C
13650
13651         * lyxfont.C: add number to initializaton of statics, move several
13652         inlines here. constify several local vars. some whitespace
13653         cleanup. Dont hide outerscope variables.
13654
13655         * Spacing.h: add two new constructors to match the set methods.
13656
13657         * ShareContainer.h: new file, will perhaps be moved to support
13658
13659         * ParameterStruct.h: new file
13660
13661         * ParagraphParameters.h: new file
13662
13663         * ParagraphParameters.C: new file
13664
13665         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13666         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13667
13668         * BufferView_pimpl.C: ParagraphParameter changes.
13669         * buffer.C: Likewise.
13670         * bufferview_funcs.C: Likewise.
13671         * text.C: Likewise.
13672         * text2.C: Likewise.
13673
13674 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13675
13676         * lyxfind.C (LyXReplace): do not redefine default argument in
13677         implementation.
13678         (IsStringInText): ditto
13679         (SearchForward): ditto
13680         (SearchBackward): ditto
13681
13682 2001-03-06  Juergen Vigna  <jug@sad.it>
13683
13684         * lyxfind.C (IsStringInText): put parentes around expressions.
13685
13686 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13687
13688         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13689
13690 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13691
13692         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13693
13694         * stl_string_fwd.h: add comment
13695
13696         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13697
13698         * tabular.h:
13699         * tabular.C: remove unused DocBook methods
13700
13701         * intl.C:
13702         * language.C:
13703         * paragraph.C:
13704         * buffer.C:
13705         killed DO_USE_DEFAULT_LANGUAGE
13706
13707 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13708
13709         * lyx_gui.C: do not include language.h.
13710
13711         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13712         arguments in function implementation.
13713
13714 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13715
13716         * BufferView_pimpl.C: add <ctime>
13717
13718 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13719
13720         * BufferView_pimpl.C: add using std::find_if
13721
13722 2001-02-27  José Matos  <jamatos@fep.up.pt>
13723
13724         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13725         by OnlyPath.
13726
13727 2001-02-11  José Matos  <jamatos@fep.up.pt>
13728
13729         * buffer.C (makeDocBookFile): command styles now have a parameter as
13730         "title" by default.
13731
13732 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13733
13734         * layout_forms.[Ch]: removed
13735         * lyx_cb.[Ch]: out character
13736         * lyx_gui.C: out character
13737         * lyx_gui_misc.C: out character
13738         * bufferview_funcs.C: : out character,
13739         added toggleall as parameter in ToggleAndShow
13740
13741 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13742
13743         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13744
13745         * text2.C (SetCurrentFont): Disable number property at boundary.
13746
13747 2001-02-26  Juergen Vigna  <jug@sad.it>
13748
13749         * lyxfunc.C (getStatus): added a string argument override function so
13750         that this is correctly called from LyXFunc::Dispatch if it contains a
13751         do_not_use_argument which is used!
13752         (Dispatch): added check for "custom" export and call appropriate func.
13753
13754 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13755
13756         * lyxrc.C: Add language_command_local, language_use_babel and
13757         language_global_options.
13758
13759         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13760
13761         * buffer.C (makeLaTeXFile): Use language_use_babel and
13762         language_global_options.
13763
13764 2001-02-23  Juergen Vigna  <jug@sad.it>
13765
13766         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13767         which works with LyXText and putted it inside BufferView. Here now we
13768         only call for that part the BufferView::Dispatch() function.
13769
13770         * BufferView.C (Dispatch): added.
13771
13772         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13773         functions which needs to use a LyXText over from LyXFunc.
13774         (MenuInsertLyXFile): added
13775         (getInsetByCode): added
13776         (moveCursorUpdate): added
13777         (static TEXT): added
13778
13779 2001-02-22  Juergen Vigna  <jug@sad.it>
13780
13781         * BufferView_pimpl.C (update): call a status update to see if LyXText
13782         needs it.
13783
13784 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13785
13786         * vc-backend.C (revert): implement for CVS
13787         (getLog): implement for CVS
13788
13789 2001-02-20  Juergen Vigna  <jug@sad.it>
13790
13791         * text2.C (ClearSelection): added BufferView param for inset_owner call
13792
13793         * lyxfunc.C (TEXT): added this function and use it instead of
13794         directly owner->view()-text of getLyXText().
13795
13796 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13797
13798         * src/layout_forms.C: out preamble
13799         * src/layout_forms.h: out preamble
13800         * src/lyx_cb.C: out preamble
13801         * src/lyx_cb.h: out preamble
13802         * src/lyx_gui.C: out preamble
13803         * src/lyx_gui_misc.C: out preamble
13804         * src/lyxfunc.C: connect with guii preamble
13805
13806 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13807
13808         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13809
13810 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13811
13812         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13813         whether to run bibtex.
13814
13815 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13816
13817         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13818
13819 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13820
13821         * Makefile.am (lyx_SOURCES): removed bibforms.h
13822
13823         * vspace.h: doxygen
13824
13825         * text.C (GetVisibleRow): make several local vars const
13826
13827         * tabular.C: small cleanup.
13828
13829         * lyxserver.C (callback): use compare instead of strncmp
13830
13831         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13832         inlines to after class or to paragraph.C
13833
13834         * lyxfont.h: remove friend operator!=
13835
13836         * converter.h: move friend bool operator< to non friend and after
13837         class def.
13838
13839         * combox.h: small cleanup
13840
13841         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13842         to inlines after class def.
13843
13844         * buffer.C (pop_tag): use string operations instead of strcmp
13845
13846         * bmtable.c: doxygen, small cleanup
13847
13848         * LaTeX.h: remove friend operator==
13849
13850 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13851
13852         * screen.C:
13853         * lyxrc.[Ch]:
13854         * lyxfunc.C:
13855         * lyxfont.[Ch]:
13856         * lyx_cb.C:
13857         * intl.[Ch]:
13858         * commandtags.h:
13859         * buffer.C:
13860         * WorkArea.[Ch]:
13861         * LyXAction.C:
13862         * BufferView_pimpl.C:
13863         * BufferView.[Ch]: remove cruft
13864
13865 2001-02-14  Juergen Vigna  <jug@sad.it>
13866
13867         * lyxfunc.C: removed #if 0 unused code
13868
13869         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13870
13871         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13872
13873         * text2.C (SetSelection): added a BufferView * parameter
13874
13875 2001-02-13  Juergen Vigna  <jug@sad.it>
13876
13877         * lyxfunc.C (Dispatch): fixed protected blank problem.
13878         * BufferView2.C (protectedBlank): added LyxText * parameter.
13879
13880         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13881         (AppendColumn): same as above for column_info.
13882
13883         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13884         (moveCursorUpdate): use a LyXText param for support of InsetText.
13885
13886         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13887         (tripleClick): ditto
13888
13889         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13890
13891         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13892
13893         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13894
13895         * text2.C (SetSelection): set correct update status if inset_owner
13896         (ToggleFree): ditto
13897
13898 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13899
13900         * tabular.C: remove some commented code.
13901
13902 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13903
13904         * BufferView_pimpl.C: call hideSplash()
13905
13906         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13907
13908         * include_form.h:
13909         * bibforms.h: remove
13910
13911         * lyxfunc.C:
13912         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13913           add LFUN_CHILD_CREATE
13914
13915         * counters.h: fix tiny typo
13916
13917         * lyx_cb.C:
13918         * lyx.h:
13919         * lyx_gui.C:
13920         * lyx.C: move splash to frontends/xforms/
13921
13922         * lyx_gui_misc.C: move Include and Bibform to frontends
13923
13924         * lyxvc.h: clarify comment
13925
13926         * vspace.C: tiny housekeeping
13927
13928 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13929
13930         * text.C (PrepareToPrint): RTL Fix.
13931
13932         * paragraph.C (GetUChar): New method.
13933         (String):  Use GetUChar.
13934
13935         * buffer.C (asciiParagraph): Use GetUChar.
13936
13937 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13938
13939         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13940
13941 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13942
13943         * buffer.h:
13944         * buffer.C: rename to getLogName(), handle
13945           build log / latex log nicely
13946
13947 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13948
13949         * MenuBackend.C:
13950         * MenuBackend.h: remove support for reference menuitem type.
13951
13952 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13953
13954         * BufferView_pimpl.C: housekeeping
13955         * BufferView_pimpl.h:
13956         * LyXView.h:
13957         * Makefile.am:
13958         * Timeout.C:
13959         * Timeout.h:
13960         * minibuffer.h: move Timeout GUI-I
13961
13962 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13963
13964         * lyxrc.C (read): Update converters data-structures.
13965
13966 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13967
13968         * LaTeX.h (operator!=): add operator != for Aux_Info
13969
13970 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13971
13972         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13973
13974         * LaTeXLog.C: deleted, useful code moved to Buffer
13975
13976         * buffer.h:
13977         * buffer.C: new function getLatexLogName()
13978
13979         * lyx_gui_misc.C:
13980         * lyx_gui.C:
13981         * lyxvc.C:
13982         * lyxvc.h:
13983         * lyxfunc.C: use frontends for LaTeX and VC logs
13984
13985 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13986
13987         * LaTeX.h: yet another std:: that Allan forgot.
13988
13989         * Variables.C (set): renamed from isset(), because this clashes
13990         with some HP-UX macros (grr).
13991
13992 2001-02-06  Allan Rae  <rae@lyx.org>
13993
13994         * LaTeX.h: Another bug fix.  Missing std:: this time.
13995
13996 2001-02-04  Allan Rae  <rae@lyx.org>
13997
13998         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13999         floats problem. I've left it commented out because it's not quite
14000         correct.  It should also test that the current object is a table or
14001         figure inset.  But I haven't gotten around to figuring out how to do
14002         that.  I *think* it'll be something like: "table" == inset.type()
14003
14004         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14005         bool.
14006
14007 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14008
14009         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14010         all the citation/databases/styles in the auxilary file.
14011         (run): Rerun latex if there was a babel language error.
14012
14013 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14014
14015         * text.C (Backspace): Preserve the font when changing newline char
14016         with a space.
14017         (BreakParagraph): If the cursor is before a space, delete the space.
14018
14019         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14020
14021 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14022
14023         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14024         new argument (code).
14025         (ChangeCitationsIfUnique): New method.
14026
14027         * paragraph.C (GetPositionOfInset): Handle bibkey.
14028
14029 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14030
14031         * BufferView_pimpl.h: change type of Position::par_pos to
14032         LyXParagraph::size_type.
14033
14034 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14035
14036         * BufferView_pimpl.C (savePosition, restorePosition): Write
14037         messages to minibuffer.
14038
14039 2001-01-28  José Matos  <jamatos@fep.up.pt>
14040
14041         * buffer.C (makeDocBookFile): adds support for document language.
14042         A silly restriction on the name of LatexCommand types where removed.
14043         Added support for CDATA sections, allows to chars unescaped, used
14044         among others in code, to avoid escape < and >.
14045
14046 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14047
14048         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14049         saved positions instrad of a stack. Furthermore, a position is
14050         stored using paragraph id/paragraph position.
14051
14052         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14053         Remove LFUN_REF_BACK.
14054
14055 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14056
14057         * converter.C (dvipdfm_options): New method.
14058
14059 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14060
14061         * vspace.C (isValidLength): Fix for empty input string.
14062
14063 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14064
14065         * LyXAction.C (init): change description of LFUN_FIGURE to
14066         "Insert Graphics"
14067
14068 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14069
14070         * LaTeX.C: add using directive
14071
14072 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14073
14074         * MenuBackend.C (expand): Fix the sorting of the formats.
14075
14076 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14077
14078         * lyx_main.C: tiny error message fix
14079
14080 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14081
14082         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14083         calling fl_initialize(). This fixes the problem with ',' as
14084         decimal separator in text files.
14085
14086 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14087
14088         * trans.C (process): Fix the keymap bug.
14089
14090 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14091
14092         * LaTeX.C (scanAuxFiles): New method. Provides support for
14093         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14094         (scanLogFile) Scan for "run BibTeX" messages.
14095
14096         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14097         OT1 font encoding. Also, load the aecompl package if the ae
14098         package is loaded.
14099
14100         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14101
14102 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14103
14104         * texrow.C (increasePos): turn two error messages into debug
14105         messages.
14106
14107 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14108
14109         * LaTeX.C (scanAux): Handle the \@input macro.
14110         (runBibTeX): Use scanAux().
14111
14112         * language.C (latex_options_): New field.
14113
14114         * LaTeXFeatures.C (getMacros): Add language macros.
14115
14116         * buffer.C (makeLaTeXFile): Small fix.
14117
14118 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14119
14120         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14121
14122         * text2.C: add a using directive.
14123
14124 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14125
14126         * BufferView2.C:
14127         * lyx_gui_misc.h:
14128         * lyxfr1.C:
14129         * lyxfunc.C: kill LyXBell.
14130
14131 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14132
14133         * text.C (IsBoundary): Remove the error message
14134
14135         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14136
14137         * lyxrc.C (setDefaults): Correct initialization value for
14138         font_norm_type.
14139
14140 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14141
14142         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14143         gotoError().
14144
14145         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14146         and GotoNextNote().
14147
14148         * src/LyXAction.C: Added reference-next.
14149
14150         * text.C (InsertChar): Use contains instead of strchr.
14151
14152         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14153
14154 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14155
14156         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14157         alignment commands (when needed).
14158
14159         * text.C (InsertChar): Add ':' to number separator chars.