]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
b8e67ebaa0d0cb7a9c379fb4d2e9478a13328041
[lyx.git] / src / ChangeLog
1 2003-12-05  Angus Leeming  <leeming@lyx.org>
2
3         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
5         data to the re-worked "log" dialog.
6
7 2003-12-03  André Pönitz  <poenitz@gmx.net>
8
9         * PosIterator.C:
10         * iterators.C:
11         * lyxtext.h:
12         * output_latex.C:
13         * paragraph_funcs.C:
14         * text.C:
15         * text2.C: use Inset::getText instead of Inset::getParagraph
16
17 2003-12-03  André Pönitz  <poenitz@gmx.net>
18
19         * buffer.[Ch]:
20         * lyxtext.h:
21         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
22         InsetText::read() as LyXText::read()
23         
24 2003-12-02  Angus Leeming  <leeming@lyx.org>
25
26         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
27         type. Add a comment in the implementation that the function uses
28         the stream's bad() function rather than fail() as the std::streams
29         would do.
30
31 2003-12-02  André Pönitz  <poenitz@gmx.net>
32
33         * lyxlex.[Ch]: make interface more similar to std::stream
34
35         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
36
37 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
38
39         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
40
41 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
42
43         * vspace.[Ch]: remove VSpace::NONE
44
45 2003-12-01  André Pönitz  <poenitz@gmx.net>
46
47         * buffer.[Ch]:
48         * lyxtext.h: move ParagraphList member to LyXText
49         rename LyXText::ownerParagraphs to LyXText::paragraph
50
51         * CutAndPaste.C:
52         * bufferview_funcs.C:
53         * iterators.[Ch]:
54         * lyx_cb.C:
55         * paragraph.C:
56         * rowpainter.C:
57         * tabular.C:
58         * text.C:
59         * text2.C:
60         * text3.C: adjust
61
62         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
63
64         * undo.C: fix cursor positioning 
65
66 2003-12-01  John Levon  <levon@movementarian.org>
67
68         * BufferView_pimpl.C: fix a crash on exit with
69         a buffer open
70
71 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
72
73         * BranchList.C: fix setSelected() method.
74
75 2003-11-28  André Pönitz  <poenitz@gmx.net>
76
77         * ParagraphParameters.[Ch]:
78         * ParameterStruct.h: remove space above/below from Paragraph to
79          InsetVSpace
80
81         * BufferView_pimpl.C:
82         * factory.C:
83         * lyxfunc.C:
84         * lyxtext.h:
85         * output_latex.C:
86         * paragraph.C:
87         * paragraph_funcs.C:
88         * rowpainter.[Ch]:
89         * text.C:
90         * text2.C:
91         * text3.C: adjust
92
93 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
94
95         * factory.C: Syntax change for CharStyles
96
97 2003-11-28  André Pönitz  <poenitz@gmx.net>
98
99         * BufferView.[Ch]:
100         * BufferView.[Ch]:
101         * buffer.[Ch]:
102         * buffer.[Ch]: move LyXText member
103
104 2003-11-28  André Pönitz  <poenitz@gmx.net>
105
106         * BufferView.[Ch]: make LyXText * text a private member
107
108         * BufferView_pimpl.C:
109         * cursor.C:
110         * iterators.C:
111         * lyx_cb.C:
112         * lyxfind.C:
113         * lyxtext.h:
114         * rowpainter.[Ch]:
115         * text.C:
116         * text2.C:
117         * undo.C: adjust
118
119         * output_plaintext.C: cleanup
120
121 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
122
123         * buffer.C: 
124         * lyxtextclass.[Ch]: parametrize SGML document header
125
126 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
127
128         * converter.[Ch]:
129         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
130         getFlavor().
131
132 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
133
134         * text2.C (setFont): rework using PosIterator (no more recursive)
135         (setCharFont): no more needed 
136         (setLayout): no more selection cursors fiddling (done by redoCursor)
137         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
138         destroy remaining ones)
139
140 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
141
142         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
143         * lyxtext.h: ditto
144         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
145         selection cursors
146         * lyxfunc.C: adjust
147         * text3.C: adjust + re-allow multi par depth changes
148         * textcursor.C: simplify a bit
149
150 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
151
152         * src/buffer.C:
153         * src/lyxlayout.C:
154         * src/lyxlayout.h:
155         * src/lyxtext.h:
156         * src/output_docbook.C:
157         * src/output_latex.C:
158         * src/paragraph.C:
159         * src/paragraph.h:
160         * src/sgml.C:
161         * src/sgml.h:
162         * src/text2.C: Introducing a number of tags parametrizing various
163         XML formats that we may want to support
164
165 2003-11-25  André Pönitz  <poenitz@gmx.net>
166
167         * InsetList.[Ch] (begein, end): inline as suggested by profiler
168
169         * lyxtext.h (leftMargin/rightMargin): simplify interface
170
171         * rowpainter.C:
172         * text.C:
173         * text2.C:
174         * text3.C: adjust
175
176 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
177
178         * lyxfunc.C (dispatch): propogate the bibtex databases from the
179         master file to any child files. Fixes bug 546.
180
181 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
182
183         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
184
185 2003-11-24  André Pönitz  <poenitz@gmx.net>
186
187         * rowpainter.C: simplification
188
189         * text2.C (updateCounters): remove call to redoParagraph on 
190         changed labels as this is far too expensive.
191
192 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
193
194         * converter.C (convert): fix a crash: this function gets
195         called with buffer == 0 from importer code.
196
197 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
198
199         * text3.C (cursorPrevious): make sure that we do not compare
200         iterators form different containers.
201         (cursorNext): ditto
202
203         * rowpainter.C (paintSelection): make sure that we do not compare
204         iterators from different containers.
205
206         * text3.C (dispatch): [PRIOR] make sure that we do not compare
207         iterators from different ParagraphList containers.
208         [NEXT] ditto
209
210         * text2.C (LyXText): change order of initialization slightly
211         (operator=): new function. copy all variables except cache_par_
212         (moveUp): make sure that we do not compare iterators from
213         different ParagraphList constainers.
214         (moveDown): ditto
215
216         * text.C (firstPar): new function
217         (lastPar): new function
218         (endPar): new function
219
220         * lyxtext.h: move things around and group public functions, public
221         variables, private functions, private variables
222
223 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
224
225         * factory.C: change call to InsetERT constructor to avoid
226         additional invocation of method status
227         * text2.C (toggleInset): remove redundant update() call
228         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
229         instead of a Bufferview pointer
230
231 2003-11-21  André Pönitz  <poenitz@gmx.net>
232
233         * rowpainter.C: simplification
234
235 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
236
237         * text3.C (dispatch): make possible to extend a word/row selection
238         with the mouse
239
240 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
241
242         * lyxtext.h: x0_,y0_ -> xo_,yo_
243         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
244         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
245         * rowpainter.C (paintRows): paint full paragraphs
246
247 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
248
249         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
250         screen coordinates)
251
252 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
253
254         * lyxtext.h: add x0_, y0_
255         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
256         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
257
258 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
259
260         * text2.C (setCursorIntern): move the x_target update here *
261         * text3.C: change some bv() to true/false in calls to
262         cursorUp/Down/Right/Left
263         * cursor.C: use helper function.
264
265 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
266
267         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
268         * paragraph_funcs.[Ch]: correct comment
269         * rowpainter.C: do not paint selections away from bv->cursor()
270         Fix a long standing selection painting bug.
271         * text3.C: generalize mouse-selection code to LyXTexts other that
272         top one
273         * textcursor.C: do not use y coords if we can use par offsets
274
275 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
276
277         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
278         cursor position after e.g. inset insert)
279
280 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
281
282         * lyxfind.C (replace): adjust to locking removal + some
283         code simplification
284
285 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
286
287         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
288         of the path
289
290 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
291
292         * lyxlayout.[Ch]:
293         * output_docbook.C: XML sanitation: new layout
294         parameters InnerTag and CommandDepth
295
296 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
297
298         * BufferView_pimpl.C:
299         * factory.C:
300         * text3.C: Fix the insertion and modification of button-style
301         insets
302
303 2003-11-13  André Pönitz  <poenitz@gmx.net>
304
305         * InsetList.[Ch]: remove deleteLyXText
306
307         * paragraph.[Ch]: cache beginOfBody position
308
309         * Bidi.C:
310         * text.C:
311         * text2.C:
312         * text3.C: remove superfluous update() calls
313
314         * vspace.C: cleanup
315
316 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
317
318         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
319         * BufferView.C (fitLockedInsetCursor): remove
320         * cursor.[Ch] (getDim): add
321         * text.C (getRowNearY): add faster version
322         * text3.C: remove some update calls
323
324 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
325
326         * LaTeXFeatures.C:
327         * LyXAction.C:
328         * MenuBackend.C:
329         * MenuBackend.h:
330         * dispatchresult.h:
331         * factory.C:
332         * lfuns.h:
333         * lyxfunc.C:
334         * lyxtextclass.C:
335         * lyxtextclass.h:
336         * text3.C: The Character Style /XML short element patch.
337
338 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
339
340         * text3.C:
341         * factory.C: Small step to solving 'unable to insert some insets'
342         problem
343
344 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
345
346         * cursor.[Ch] (updatePos): new function for updating the y
347         position of the tip inset
348         * bufferview_funcs.C (put_selection_at):
349         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
350
351 2003-11-11  André Pönitz  <poenitz@gmx.net>
352
353         * text.C: remove big comment on invalid Paragraph pointers as it is
354         not valid anymore
355
356 2003-11-11  André Pönitz  <poenitz@gmx.net>
357
358         * text_funcs.[Ch]: merge with ...
359
360         * text.C: ... this
361
362         * lyxtext.h:
363         * text2.C:
364         * text3.C: adjust
365
366         * Makefile.am: remove text_funcs.[Ch]
367
368 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
369
370         * cursor.C (getPos): return absolute cached y coord
371
372         * BufferView_pimpl.C (fitCursor): new simplistic code
373         (workAreaDispatch): add a fitCursor call
374
375 2003-11-10  André Pönitz  <poenitz@gmx.net>
376
377         * BufferView.[Ch]:
378         * BufferView_pimpl.[Ch]: merge update() and updateInset()
379
380 2003-11-10  André Pönitz  <poenitz@gmx.net>
381
382         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
383         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
384         indicate that the cursor needs to leave an inset
385
386         * lyxtext.h: remove inset locking
387
388         * cursor.[Ch]: re-implement functionality provided by inset locking
389
390         * BufferView.[Ch]:
391         * BufferView_pimpl.[Ch]:
392         * LyXAction.C:
393         * bufferview_funcs.[Ch]:
394         * factory.C:
395         * funcrequest.[Ch]:
396         * iterators.C:
397         * lyx_cb.C:
398         * lyxfind.C:
399         * lyxfunc.C:
400         * text.C:
401         * text2.C:
402         * text3.C:
403         * undo.C: adjust
404
405 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
406
407         * PosIterator.[Ch]: replace the stack with a vector, add inset
408         accesor
409         * iterators.[C]: adjust
410
411 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
412
413         * lyxfind.C (replaceAll): mark the buffer dirty if something was
414         replaced
415         * paragraph_funcs.C (readParToken): put the correct id in the
416         error item, not the id of the top paragraph
417
418 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
419
420         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
421         * bufferview_funcs.C (put_selection_at): use the above
422
423 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
424
425         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
426
427 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
428
429         * output_linuxdoc.h:
430         * output_plaintext.h:
431         * output.h:
432         * output_docbook.h: add #include statements
433
434 2003-11-05  José Matos  <jamatos@lyx.org>
435
436         * output_docbook.[Ch]:
437         * output_latex.[Ch]:
438         * output_linuxdoc.[Ch]:
439         * output_plaintext.[Ch]: New files for output formats.
440         * output.[Ch]: New file for helper functions.
441
442         * buffer.[Ch]:
443         * paragraph_funcs.[Ch]: output functions moved to new files.
444
445         * outputparams.h: rename of latexrunparams.h
446
447         * LaTeX.[Ch]:
448         * buffer.[Ch]:
449         * bufferlist.[Ch]:
450         * converter.[Ch]:
451         * exporter.C:
452         * paragraph.[Ch]:
453         * paragraph_funcs.[Ch]:
454         * paragraph_pimpl.[Ch]:
455         * tabular.[Ch]: rename ascii to plaintext
456         and LatexRunParams to OutputParams.
457
458 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
459
460         * iterators.[Ch] (text): require bv argument
461         * undo.C (recordUndo):
462         * lyxfunc.C (dispatch):
463         * bufferview_funcs.C (put_selection_at): adjust
464
465 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
466
467         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
468
469 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
470
471         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
472         nestings
473
474 2003-11-04  André Pönitz  <poenitz@gmx.net>
475
476         * cursor.[Ch]: restructure
477
478         * BufferView.[Ch]:
479         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
480
481         * iterators.[Ch] (asCursor): remove
482
483         * lfuns.h: remove LFUN_INSET_EDIT
484
485         * lyxfunc.C:
486         * tabular.C:
487         * text.C:
488         * text2.C:
489         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
490
491 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
492
493         * lyxfind.[Ch]: complete overhaul
494         * BufferView_pimpl.C:
495         * lyxfunc.C: adjust
496         * paragraph.[Ch] (insert): add
497
498 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
499
500         * BufferView.[Ch]:
501         * lyxtext.h:
502         * text.C: remove dead spellcheck code
503
504 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
505
506         * dispatchresult.h: add a val setter
507
508         * cursor.C (dispatch): use a tempvar for data_[i]
509
510 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
511
512         * PosIterator.[Ch]: compile fix
513
514 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
515
516         * text.C (cursorPar): deactivate the cursor cache
517
518 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
519
520         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
521
522 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
523
524         * text3.C (dispatch): adjust for new DisptchResult semantics.
525
526         * lyxfunc.C (dispatch): handle update when return from
527         Cursor::dispatch, adjust for new DispatchResult semantics.
528
529         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
530         DispatchResult(true) mean to not update. Add class functions for
531         setting dispatched and update, as well as reading.
532
533         * cursor.C (dispatch): don't handle update here
534
535 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
536
537         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
538         * trans_mgr.C: adjust
539
540         * paragraph_funcs.C (readParToken): exception safety
541
542         * lyxvc.h: store the vcs pointer in a scoped_ptr
543         * lyxvc.C: adjust
544
545         * lyxsocket.C (serverCallback): exception safety
546
547         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
548
549         * ispell.C (clone): make it return a auto_ptr
550
551         * factory.C (createInset): exception safety
552         (readInset): exception safety
553
554         * bufferlist.C (newBuffer): exception safety
555
556         * Thesaurus.C (Thesaurus): use initialization for aik_
557
558         * MenuBackend.C (expandToc): exception safety.
559
560 2003-11-03  André Pönitz  <poenitz@gmx.net>
561
562         * buffer.C:
563         * buffer.h:
564         * bufferview_funcs.C: remove getInsetFromId()
565
566         * lyxcursor.[Ch]:
567         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
568
569         * lyxfunc.C:
570         * text2.C:
571         * text3.C: adjust
572
573 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
574
575         * PosIterator.C (distance, advance): new
576         * bufferview_funcs.[Ch] (put_selection_at): new
577         * iterators.[Ch] (lockPath): new
578
579 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
580
581         * iterators.[Ch] (asPosIterator): added
582         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
583         * PosIterator.[Ch]: added
584
585 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
586
587         * text3.C:
588         * lyxfunc.C:
589         * cursor.C (dispatch):
590         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
591
592         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
593         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
594         contructor, add a class function dispatched. Remove operator>=
595
596 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
597
598         * debug.C: only use the default constructor for debugstream
599         (lyxerr) here.
600
601         * main.C (main): include debug.h and setup the lyxerr streambuf
602         here.
603
604 2003-10-31  José Matos  <jamatos@lyx.org>
605
606         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
607
608         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
609         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
610         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
611         * paragraph_pimpl.C (simpleTeXSpecialC):
612         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
613         add LatexRunParams argument.
614
615         * exporter.C (Export): change call accordingly.
616
617         * latexrunparams.h: add new member to take care of the other backends.
618 2003-10-30  José Matos  <jamatos@lyx.org>
619
620         * buffer.C (makeLinuxDocFile, makeDocBookFile):
621         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
622         factorise code for paragraph output.
623         * buffer.[Ch]:
624         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
625         move functions.
626
627 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
628
629         * text3.C (dispatch):
630         * lyxfunc.C (dispatch):
631         * cursor.C (dispatch):
632         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
633
634         * dispatchresult.h: make the dispatch_result_t ctor explicit
635
636 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
637
638         * sgml.[Ch]:
639         * buffer.C: small refactoring of docbook stuff
640
641 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
642
643         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
644         meaning.
645
646 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
647
648         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
649         operator dispatch_result_t, and operators for == != and >=
650
651         * cursor.C (dispatch): adjust for operator dispatch_result_t
652         removal. comment out call to update
653
654         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
655
656 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
657
658         * text3.C:
659         * text2.C:
660         * text.C:
661         * lyxtext.h:
662         * lyxfunc.C:
663         * cursor.C:
664         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
665         (dispatch):
666
667         * dispatchresult.h: new file, DispatchResult broken out of
668         insets/insetbase.h
669
670         * Makefile.am (lyx_SOURCES): add dispatchresult.h
671
672 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
673
674         * text.C (rowBreakPoint): put a hack inside #if 0
675
676 2003-10-28  André Pönitz  <poenitz@gmx.net>
677
678         * lyxtext.h:
679         * metricsinfo.C:
680         * paragraph_funcs.C:
681         * rowpainter.C:
682         * text.C:
683         * text2.C: general cleanup (lots of small stuff)
684
685 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
686
687         * text2.C (cursorEnd): simple fix to the "end key goes to one
688         before the end on last row" bug
689
690 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
691
692         * text.C (backspace): fix the "zombie characters"
693
694 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
695
696         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
697
698 2003-10-27  André Pönitz  <poenitz@gmx.net>
699
700         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
701
702         * factory.C: handle new InsetPagebreak, InsetLine
703
704         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
705         and move handling into new InsetPagebreak, InsetLine
706
707         * BufferView_pimpl.C:
708         * LyXAction.C:
709         * ParagraphParameters.C:
710         * ParameterStruct.h:
711         * lyxfunc.C:
712         * lyxtext.h:
713         * paragraph.C:
714         * paragraph.h:
715         * paragraph_funcs.C:
716         * paragraph_pimpl.C:
717         * rowpainter.C:
718         * text.C:
719         * text2.C:
720         * text3.C: adjust
721
722 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
723
724         * text.C:
725         * lyxrow_funcs.[Ch]:
726         * Bidi.C:
727         * paragraph.C:
728         * lyxtext.h:
729         * rowpainter.C:
730         * text2.C:
731         * text3.C: remove lastPos uses in favour of Row::endpos
732
733 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
734
735         * undo.C (performUndoOrRedo): fix two crashes by setting a
736         cursor by hand and reordering some calls. Use bv->lockInset instead
737         of inset->edit because the latter loses cursor information
738
739 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
740
741         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
742         by Martin
743         (rowBreakPoint): fix width. change point to point + 1.
744         Add a missing check.
745
746 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
747
748         * MenuBackend.C:
749         * lyxfunc.C: fix (at least partly) the problems
750         with the Nav menu and headers inside branch insets
751         reported by Kayvan
752
753 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
754
755         * paragraph.C (getChar): add strong asserts
756
757         * lyxrow_funcs.C (lastPos): remove hideous hack
758
759         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
760         (fill): adjust to that (avoid an infinite loop)
761
762 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
763
764         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
765
766 2003-10-23  André Pönitz  <poenitz@gmx.net>
767
768         * RowList_fwd.h: change list<> to vector<> to gain speed
769         after suggestion from Alfredo
770
771 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
772
773         * lyxtext.h: move the bidi stuff from here...
774         * text.C: and here
775         * text2.C: and here
776         * Bidi.[Ch]: ... to here
777
778 2003-10-23  André Pönitz  <poenitz@gmx.net>
779
780         * lyxtext.h:
781         * text.C (isLastRow, isFirstRow): new functions
782
783         * paragraph.h: new width cache member
784
785         * rowpainter.C: replace RowList::iterator with Row & where possible
786
787         * lyxfunc.C: replace several view()->text with a single call
788
789         * toc.C: fix 'unused' warning
790
791 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
792
793         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
794         when woring with stream::pos_type
795         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
796
797 2003-10-22  André Pönitz  <poenitz@gmx.net>
798
799         * lyxtext.h:
800         * text.C: use Row & instead of RowList::iterator
801
802         * lyxrow.h: rename end() to endpos()
803
804         * rowpainter.C:
805         * text.C:
806         * text2.C: adjust
807
808 2003-10-22  Angus Leeming  <leeming@lyx.org>
809
810         * buffer.[Ch] (fully_loaded): new member function, returning true
811         only when the file has been loaded fully.
812         Used to prevent the premature generation of previews and by the
813         citation inset to prevent computation of the natbib-style label.
814
815         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
816         templates are all set up.
817
818         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
819
820 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
821
822         * text.C: fixed an "oops" in the "is a bit silly"
823         bug fix
824
825 2003-10-21  André Pönitz  <poenitz@gmx.net>
826
827         * FuncStatus.[Ch]: small stuff, whitespace
828
829         * lyxfont.[Ch]: operator<<() for debug reasons
830
831         * lyxfunc.C:
832         * lyxrow_funcs.C:
833         * lyxtext.h: whitespace, spelling
834
835         * paragraph.C: naming of variables
836
837         * text.C:
838         * text2.C: small stuff
839
840
841 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
842
843         * text.C: (1) finish off the inset display() work;
844         (2) fix the "is a bit silly" bug (accessing char
845         past end of par).
846
847 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
848
849         * text.C: re-introduce display() for insets, fixing the
850         various bugs (stretch of line above, math inset
851         positioning, ...)
852
853 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
854
855         * text.C (rightMargin): remove spurious semicolon
856
857         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
858         1415)
859
860 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
861
862         * text3.C: fix one crash due to wrong cursor def
863
864 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
865
866         * vc-backend.C (scanMaster): make the regex static
867
868         * LaTeX.C (scanAuxFile): make the regexs static
869
870         * text3.C (doInsertInset, dispatch, dispatch):
871         * text2.C (cursorUp, cursorDown):
872         * text.C (selectNextWordToSpellcheck):
873         * BufferView_pimpl.C (dispatch):
874         * lyxfunc.C (dispatch):  localDispatch -> dispatch
875
876 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
877
878         * lyxsocket.C: include <cerrno>
879
880 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
881
882         * lyxfunc.C (dispatch): remove textcache stuff
883
884         * bufferlist.C (release): remove textcache stuff
885         (closeAll): ditto
886
887         * TextCache.C: delete file
888         * TextCache.h: delete file
889
890         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
891
892         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
893         delete of the bv_->text.
894         (resizeCurrentBuffer): remove texcache stuff
895         (workAreaResize): ditto
896
897 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
898
899         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
900         action.
901
902 2003-10-16  André Pönitz  <poenitz@gmx.net>
903
904         * lyxrow.[Ch]:
905         * paragraph.h:
906         * rowpainter.C:
907         * text.C:
908         * text2.C:
909         * text3.C: speed up by storing y positions per paragraph plus per-row
910         offset instead of having a 'full' y position in the row.
911
912 2003-10-15  André Pönitz  <poenitz@gmx.net>
913
914         * iterators.[Ch]:
915         * iterators.[Ch]:
916         * undo.[Ch]: make undo aware of inner insets
917
918 2003-10-14  Angus Leeming  <leeming@lyx.org>
919
920         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
921         static member functions LyX::ref() and LyX::cref.
922         (lastfiles): new accessor functions for the new lastfiles_ member var.
923         (addLyXView, views_): add a new LyXView to the list of views_.
924         (updateInset): loop over all LyXViews to call their own updateInset
925         member function, returning a pointer to the Buffer owning the inset.
926
927         * BufferView_pimpl.C (loadLyXFile):
928         * MenuBackend.C (expandLastfiles):
929         * bufferlist.C (MenuWrite, QuitLyX):
930         lastfiles is no longer a global variable.
931         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
932
933         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
934         static function. Access through LyX::cref().emergencyCleanup().
935
936 2003-10-14  André Pönitz  <poenitz@gmx.net>
937
938         * iterators.[Ch]: new direct access to innermost LyXText and Inset
939
940         * undo.[Ch]: restoring part of 'undo in insets'
941
942         * Makefile.am:
943         * undo_funcs.[Ch]: merge with undo.[Ch]
944
945         * tabular.C: small cleansing stuff
946
947 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
948
949         * paragraph_funcs.C (readParToken): report unknown insets as error
950         boxes. Use the outer paragraph as location (also for unknown
951         tokens).
952
953         * factory.C (readInset): do not abort on reading an unknown inset.
954         Eat it and return 0.
955
956 2003-10-13  Angus Leeming  <leeming@lyx.org>
957
958         * lyx_main.C (LyX): remove call to setDisplayTranslator().
959
960         * lyxrc.C: displayTranslator is now a function,
961         declared in GraphicsTypes.h.
962
963 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
964
965         * format.C: new placeholder $$a to pass the socket address.
966
967         * bufferlist.[Ch]: new function getBufferFromTmp.
968
969         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
970           files in the temporary dir.
971
972 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
973
974         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
975
976         * Makefile.am: add lyxsocket.[Ch].
977
978         * lyx_main.C (error_handler): handle SIGPIPE.
979
980 2003-10-13  André Pönitz  <poenitz@gmx.net>
981
982         * BufferView_pimpl.C:
983         * lyxtext.h:
984         * text.C:
985         * text2.C:
986         * text3.C:
987         * undo_funcs.[Ch]: use paroffset_type instead of
988           ParagraphList::iterators to prevent multiple conversion
989           (and get a more robust interface)
990
991 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
992
993         * lyxfunc.C (dispatch): RESULT -> dispatch_result
994         * lyxtext.h: ditto
995         * text3.C (dispatch): ditto
996
997 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
998
999         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1000         move the onlyfile, use onlyfile instead of foundfile in a couple
1001         of places.
1002
1003         * DepTable.C (update): flush the error stream a bit more
1004
1005 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1006
1007         * lyxserver.C (callback): adjust
1008
1009         * lyxfunc.C (getStatus): add a missing brace in commented code
1010         (ensureBufferClean): reindent
1011         (dispatch): delete version taking a string
1012
1013 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1014
1015         * LaTeX.C (deplog): move found file handlig from here...
1016         (handleFoundFile): .. to new function here.
1017         (deplog): make sure to discover several files mentioned on the
1018         same log line.
1019
1020 2003-10-10  André Pönitz  <poenitz@gmx.net>
1021
1022         * lyxfunc.C:
1023         * lyxtext.h:
1024         * tabular.C:
1025         * text.C:
1026         * text2.C:
1027         * text3.C: fix some of the tabular crashes
1028
1029 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1030
1031         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1032
1033         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1034
1035 2003-10-09  André Pönitz  <poenitz@gmx.net>
1036
1037         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1038
1039         * BufferView.C:
1040         * BufferView_pimpl.C:
1041         * bufferview_funcs.C:
1042         * lyx_cb.C:
1043         * lyxcursor.C:
1044         * lyxfind.C:
1045         * lyxfunc.C:
1046         * lyxtext.h:
1047         * text.C:
1048         * text2.C:
1049         * text3.C:
1050         * text_funcs.[Ch]:
1051         * textcursor.[Ch]:
1052         * undo_funcs.C: adjust
1053
1054 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1055
1056         * text2.C (incrementItemDepth): new function, use a backtracking
1057         algorithm to discover the correct item depth.
1058         (resetEnumCounterIfNeeded): new function, use a backtracking
1059         algorithm to discover if counter reset is needed.
1060         (setCounter): use them. Simplify a bit. Add different labels for
1061         different item depths for itemize.
1062
1063         * paragraph.C (Paragraph): remove initialization of enumdepth
1064         (operator=): ditto
1065
1066         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1067         enumerate and itemize. Change the type of itemdepth to signed char.
1068
1069 2003-10-08  André Pönitz  <poenitz@gmx.net>
1070
1071         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1072           thing assignable.
1073         * text.C:
1074         * text2.C: adjust
1075
1076         * tabular.[Ch]: fix crash after 'row-insert'
1077
1078 2003-10-08  Angus Leeming  <leeming@lyx.org>
1079
1080         Fix doxygen warnings.
1081
1082         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1083         Remove CutAndPaste:: prefix from header file declaration.
1084
1085         * LColor.h (fill): remove LColor:: prefix from declaration.
1086
1087         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1088         use lyx::depth_type rather than Paragraph::depth_type so that
1089         header file and .C file match.
1090
1091         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1092
1093         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1094         * aspell.C: \file aspell_local.C -> \file aspell.C
1095         * gettext.C: \file gettext.C -> \file src/gettext.C
1096         * gettext.h: \file gettext.h -> \file src/gettext.h
1097         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1098         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1099         * text.C: \file text.C -> \file src/text.C
1100
1101         * toc.C: move comment so that doxygen is not confused.
1102
1103 2003-10-07  Angus Leeming  <leeming@lyx.org>
1104
1105         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1106
1107 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1108
1109         * aspell.C:
1110         * aspell_local.h: add forgotten std::string's.
1111
1112 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1113
1114         * LaTeXFeatures.C:
1115         * LyXAction.C:
1116         * factory.C:
1117         * lfuns.h:
1118         * lyxfunc.C:
1119         * text3.C: The Box patch. Fancybox support, minipage, parbox
1120
1121 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1122
1123         * CutAndPaste.h:
1124         * DepTable.h:
1125         * FloatList.h:
1126         * LaTeXFeatures.h:
1127         * ParagraphParameters.h:
1128         * TextCache.h:
1129         * Thesaurus.h:
1130         * bufferlist.h:
1131         * exporter.h:
1132         * importer.h:
1133         * lastfiles.h:
1134         * lyxfind.h:
1135         * lyxfont.h:
1136         * lyxlex.h:
1137         * lyxtextclasslist.h:
1138         * messages.h:
1139         * paragraph.h:
1140         * paragraph_pimpl.C:
1141         * textcursor.h: add <string> and other small fixes to make Lars'
1142         std::string patch compile with STLport.
1143
1144 2003-10-06  Angus Leeming  <leeming@lyx.org>
1145
1146         * LColor.h: Add missing #include <string>.
1147
1148 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1149
1150         * All most all file in all subdirs: Make <string> be the prefered
1151         way of getting to std::string, add using declarations.
1152
1153 2003-10-06  André Pönitz  <poenitz@gmx.net>
1154
1155         * metricsinfo.C: initialize LyXFont before changing attribute.
1156         (fixes the 'math in \emph is upright' bug)
1157
1158 2003-10-06  André Pönitz  <poenitz@gmx.net>
1159
1160         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1161
1162 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1163
1164         * graph.C:
1165         * paragraph_pimpl.C: Small fixes to build using STLport
1166
1167 2003-10-02  André Pönitz  <poenitz@gmx.net>
1168
1169         * lyxfunc.C:
1170         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1171
1172 2003-10-01  André Pönitz  <poenitz@gmx.net>
1173
1174         * factory.C: assert early
1175
1176 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1177
1178         * lyx_main.C: remove the global debug object
1179
1180         * debug.h: adjust for new debugstream
1181
1182         * debug.C: adjust for new debugstream and keep the global debug
1183         object here.
1184
1185 2003-09-22  Angus Leeming  <leeming@lyx.org>
1186
1187         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1188         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1189         an incomplete class LyXFont.
1190
1191 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1192
1193         * factory.C: bug fix in branches
1194
1195 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1196
1197         * lyxfunc.C (processKeySym): adjust
1198         (dispatch): adjust
1199         (dispatch): change arg name from ev to func, adjust
1200         (sendDispatchMessage): ditto
1201
1202         * lyx_main.C (defaultKeyBindings): adjust keybindings
1203         (deadKeyBindings): ditto
1204
1205         * kbsequence.C (addkey): return a FuncRequest
1206
1207         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1208
1209         * kbmap.C (bind): take a FuncRequest as arg, adjust
1210         (read): adjust
1211         (lookup): adjust
1212         (defkey): change to take a FuncRequest as arg, adjust
1213         (findbinding): take a FuncRequest as arg, adjust.
1214
1215         * funcrequest.h (operator=): added
1216
1217         * funcrequest.C (FuncRequest): default kb_action changed from
1218         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1219
1220         * buffer.C (dispatch): simplify
1221         (dispatch): adjust to take a FuncRequest as arg, adjust
1222
1223         * boost.C (assertion_failed): change assertion message slightly
1224
1225         * ToolbarBackend.C (read): simplify
1226
1227         * MenuBackend.C (binding): adjust call to findbinding, add a
1228         message if no binding is found.
1229         (read): simplify
1230         (expandToc): correct by adding a empty FuncRequest
1231
1232         * LyXAction.C: include <boost/assert.hpp>
1233         (isPseudoAction): delete function
1234         (LookupFunc): change name to...
1235         (lookupFunc): this. change return type to FuncRequest.
1236         (getActionName): take kb_action as arg, simplify
1237         (funcHasFlag): add an assert, simplify.
1238
1239 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1240
1241         * toc.C (action): return a FuncRequest, simplify
1242
1243         * lyxfunc.C (processKeySym): adjust
1244         (getStatus): delete version that takes an int.
1245         (getStatus): adjust
1246         (dispatch): delete version that takes action as int
1247         (dispatch): adjust
1248         (sendDispatchMessage): simplify and adjust
1249
1250         * funcrequest.C (getArg): take unsigned int as arg
1251
1252         * ToolbarBackend.C (read): adjust
1253         (add): delete version that takes func as a string.
1254         (getIton): take a FuncRequest as arg
1255
1256         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1257         action.
1258
1259         * MenuBackend.C (MenuItem): add a new construct that only takes a
1260         Kind, simplify the constructor use for submenus.
1261         (add): adjust
1262         (expandLastfiles): adjust
1263         (expandDocuments): adjust
1264         (expandFormats): adjust
1265         (expandFloatListInsert): adjust
1266         (expandFloatInsert): adjust
1267         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1268
1269         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1270         Remove class variables lyx_pseudo_map and lyx_arg_map
1271
1272         * LyXAction.C (searchActionArg): delete function
1273         (getPseudoAction): delete function
1274         (retrieveActionArg): delete function
1275         (LookupFunc): make it return kb_action, simplify.
1276         (getActionName): simplify
1277
1278         * factory.C (createInset): fix new bug
1279
1280 2003-09-19  Angus Leeming  <leeming@lyx.org>
1281
1282         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1283         masterFilename_ parameter in the include inset.
1284
1285         * factory.C (createInset): changes due to the changes to InsetInclude.
1286
1287 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1288
1289         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1290
1291 2003-09-18  Angus Leeming  <leeming@lyx.org>
1292
1293         * buffer.C:
1294         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1295         Inset::fillWithBibKeys.
1296         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1297
1298 2003-09-18  Angus Leeming  <leeming@lyx.org>
1299
1300         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1301         variables.
1302         (ctor): pass and store a 'Buffer const &'
1303         (buffer): new member function.
1304
1305         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1306         '*this' to the LaTeXFeatures ctor.
1307
1308 2003-09-18  Angus Leeming  <leeming@lyx.org>
1309
1310         * LColor.h:
1311         * lyxfont.C:
1312         * lyxfont.h:
1313         * lyxtext.h:
1314         * text.C: rename EnumLColor as LColor_color.
1315
1316 2003-09-18  Angus Leeming  <leeming@lyx.org>
1317
1318         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1319         remove #include "insets/insetbase.h" from cursor.h.
1320
1321 2003-09-18  Angus Leeming  <leeming@lyx.org>
1322
1323         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1324         InsetOld_code to remove #include "inset.h".
1325
1326         * iterators.C: add #include "insets/inset.h"
1327
1328 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1329
1330         * BufferView.C: remove more locking stuff that apparently doesn't
1331         do anything sensible.
1332
1333 2003-09-16  André Pönitz  <poenitz@gmx.net>
1334
1335         * paragraph.[Ch]:
1336         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1337           performance boost.
1338
1339 2003-09-16  Angus Leeming  <leeming@lyx.org>
1340
1341         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1342
1343         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1344         arg/return type.
1345
1346         * paragraph.h: remove #include "lyxfont.h". Forward declare
1347         LyXFont_size.
1348
1349 2003-09-16  Angus Leeming  <leeming@lyx.org>
1350
1351         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1352         of support/textutils.h.
1353         (isWord): move the contents of support/textutils.h's IsWordChar here.
1354
1355         * buffer.C:
1356         * lyxfind.C:
1357         * rowpainter.C:
1358         * text.C:
1359         * text2.C: add #include "paragraph.h".
1360
1361         * rowpainter.C:
1362         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1363
1364 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1365
1366         * main.C:
1367         * lyx_main.C:
1368         * lyx_cb.C:
1369         * buffer.C:
1370         * LaTeX.C: use namespace alias for lyx::support::os
1371
1372 2003-09-16  Angus Leeming  <leeming@lyx.org>
1373
1374         * bufferparams.C:
1375         * bufferview_funcs.C:
1376         * factory.C:
1377         * lyxfunc.C:
1378         * paragraph_pimpl.C:
1379         * rowpainter.C:
1380         * text.C: add #include "LColor.h".
1381
1382 2003-09-16  Angus Leeming  <leeming@lyx.org>
1383
1384         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1385         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1386         return LyXFont &.
1387         Store the FontBits::color variable as an int rather than as an
1388         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1389         file.
1390
1391         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1392         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1393         string calls together.
1394
1395         * lyxrc.C: add #include "LColor.h".
1396
1397 2003-09-15  Angus Leeming  <leeming@lyx.org>
1398
1399         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1400         a cow_ptr.
1401
1402 2003-09-15  Angus Leeming  <leeming@lyx.org>
1403
1404         * LColor.h: add an EnumLColor wrapper for LColor::color.
1405
1406         * lyxfont.[Ch] (color, setColor, realColor):
1407         * lyxtext.h, text.C (backgroundColor):
1408         pass EnumLColor args to/from the functions, rather than LColor::color
1409         ones.
1410
1411         * lyxfont.h:
1412         * lyxtext.h: forward declare EnumLColor.
1413
1414         * lyx_main.C: add #include "LColor.h".
1415
1416 2003-09-15  Angus Leeming  <leeming@lyx.org>
1417
1418         * .cvsignore: add lyx-gtk.
1419
1420 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1421
1422         * Chktex.C
1423         * LaTeX.C
1424         * LaTeXFeatures.C
1425         * ParagraphParameters.C
1426         * Spacing.C
1427         * buffer.C
1428         * bufferparams.C
1429         * bufferview_funcs.C
1430         * chset.C
1431         * counters.C
1432         * funcrequest.C
1433         * lyxfont.C
1434         * lyxgluelength.C
1435         * lyxlength.C
1436         * paragraph.C
1437         * paragraph_funcs.C
1438         * text3.C
1439         * vc-backend.C: remove usage of STRCONV
1440
1441 2003-09-15  Angus Leeming  <leeming@lyx.org>
1442
1443         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1444         explicitly define the color passed to the painter.
1445
1446 2003-09-15  Angus Leeming  <leeming@lyx.org>
1447
1448         * bufferparams.C (BufferParams): reorder member initializers to avoid
1449         compiler warning.
1450
1451 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1452
1453         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1454         * text.C (updateRowPositions): remove an unusual nop
1455
1456 2003-09-12  André Pönitz  <poenitz@gmx.net>
1457
1458         * BufferView_pimpl.C:
1459         * Bullet.C:
1460         * layout.h:
1461         * lyxfunc.C:
1462         * lyxlayout.[Ch]:
1463         * lyxtextclass.C:
1464         * rowpainter.C:
1465         * text.C:
1466         * text2.C:
1467         * Counters.[Ch]: finish the 'automatic counters' job
1468
1469 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1470
1471         * aspell.C: include <boost/assert.cpp> (compile fix)
1472
1473 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1474
1475         * boost.C (assertion_failed): use lyx::support::abort instead of
1476         assert.
1477
1478 2003-09-10  Angus Leeming  <leeming@lyx.org>
1479
1480         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1481         with their _fwd progeny.
1482
1483 2003-09-09  Angus Leeming  <leeming@lyx.org>
1484
1485         134 files throughtout the source tree: replace 'using namespace abc;'
1486         directives with the appropriate 'using abc::xyz;' declarations.
1487
1488 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1489
1490         * boost.C (emergencyCleanup): moved here from LAssert.c
1491         (assertion_failed): new function, called by BOOST_ASSERT
1492
1493         * several files: change Assert to BOOST_ASSERT
1494
1495 2003-09-09  Angus Leeming  <leeming@lyx.org>
1496
1497         * buffer.[Ch]: Add an Impl class and move Buffer's member
1498         variables into it. As a result move several header files out of
1499         buffer.h.
1500
1501         Add header files to lots of .C files all over the tree as a result.
1502
1503 2003-09-09  Angus Leeming  <leeming@lyx.org>
1504
1505         * buffer.[Ch]: make Buffer's member variables private. Add
1506         accessor functions.
1507
1508         Lots of changes all over the tree as a result.
1509
1510 2003-09-08  Angus Leeming  <leeming@lyx.org>
1511
1512         * graph.C: #include <config.h>.
1513
1514 2003-09-08  Angus Leeming  <leeming@lyx.org>
1515
1516         * BranchList.C:
1517         * BufferView.C:
1518         * BufferView_pimpl.C:
1519         * CutAndPaste.C:
1520         * DepTable.C:
1521         * LaTeX.C:
1522         * LaTeXFeatures.C:
1523         * LyXAction.C:
1524         * MenuBackend.C:
1525         * TextCache.C:
1526         * aspell.C:
1527         * buffer.C:
1528         * bufferlist.C:
1529         * changes.C:
1530         * chset.C:
1531         * converter.C:
1532         * counters.C:
1533         * debug.C:
1534         * graph.C:
1535         * ispell.C:
1536         * lyx_cb.C:
1537         * lyxfind.C:
1538         * lyxfunc.C:
1539         * lyxlex_pimpl.C:
1540         * lyxrc.C:
1541         * lyxrow.C:
1542         * paragraph.C:
1543         * rowpainter.C:
1544         * texrow.C:
1545         * text.C:
1546         * text2.C:
1547         * toc.C: remove redundant using directives.
1548
1549 2003-09-07  Angus Leeming  <leeming@lyx.org>
1550
1551         * LaTeXFeatures.h: remove #include "support/types.h".
1552         * ToolbarBackend.h: remove #include <algorithm>.
1553         * changes.h: remove #include <ctime>.
1554         * debug.h: remove #include <iosfwd>.
1555         * graph.h: remove #include "support/std_string.h".
1556         * lyx_main.h: remove #include <csignal>.
1557         * lyxlex_pimpl.h: remove #include <fstream>.
1558         * sgml.h: remove #include <algorithm>, <utility>.
1559         * toc.h: remove #include "support/std_ostream.h".
1560         Add #include <iosfwd>.
1561
1562 2003-09-07  Angus Leeming  <leeming@lyx.org>
1563
1564         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1565
1566         * converter.h: forward declare LatexRunParams.
1567         * encoding.h: remove #include "lyxrc.h".
1568         * lyxtext.h: remove #include "LColor.h".
1569         * lyxtextclass.h: remove #include "support/types.h".
1570         * trans.h: remove #include "tex-accent.h".
1571         * trans_mgr.h: remove #include "tex-accent.h".
1572         * insets/inset.h: remove #include "support/types.h", <vector>.
1573         * insets/insetcollapsable.h: remove #include "LColor.h".
1574         * insets/insetinclude.h: remove #include "dimension.h".
1575         * insets/insetlatexaccent.h: remove #include "dimension.h".
1576         * insets/insetoptarg.h:: remove #include "insettext.h".
1577         * insets/insettext.h: remove #include "dimension.h",
1578         <boost/shared_ptr.hpp>
1579
1580         * insets/renderers.h: add #include "dimension.h".
1581         * insets/updatableinset.h: add #include "support/types.h".
1582
1583         * many .C files: Associated changes.
1584
1585 2003-09-06  Angus Leeming  <leeming@lyx.org>
1586
1587         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1588         one, inside testInvariant.
1589
1590         * PrinterParams.C: new file.
1591         * PrinterParams.[Ch]: move the function bodies out of line.
1592
1593 2003-09-06  Angus Leeming  <leeming@lyx.org>
1594
1595         * ParagraphParameters.h: forward declare ParameterStruct rather than
1596         including its header file.
1597         (depth): moved out-of-line.
1598
1599 2003-09-06  Angus Leeming  <leeming@lyx.org>
1600
1601         * BufferView_pimpl.h:
1602         * kbmap.h:
1603         * kbsequence.h:
1604         * lyxfunc.h: forward declare LyXKeySym rather than
1605         #include "frontends/LyXKeySym.h".
1606
1607         * BufferView_pimpl.C:
1608         * kbmap.C:
1609         * kbsequence.C:
1610         * lyxfunc.C: associated changes.
1611
1612 2003-09-06  Angus Leeming  <leeming@lyx.org>
1613
1614         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1615         As a result, can remove the #include "insets/inset.h" from BufferView.h
1616
1617 2003-09-06  Angus Leeming  <leeming@lyx.org>
1618
1619         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1620         As a result, can remove the #include "insets/inset.h" from BufferView.h
1621
1622 2003-09-06  Angus Leeming  <leeming@lyx.org>
1623
1624         * buffer_funcs.C:
1625         * buffer.h:
1626         * bufferlist.C:
1627         * BufferView.C:
1628         * bufferview_funcs.C:
1629         * BufferView_pimpl.C:
1630         * CutAndPaste.C:
1631         * lyx_cb.C:
1632         * lyxfunc.C:
1633         * paragraph.h:
1634         * ParagraphParameters.C:
1635         * tabular.C:
1636         * text3.C:
1637         * toc.C:
1638         * undo_funcs.C:
1639         * frontends/controllers/ControlDocument.C:
1640         * insets/insetcaption.C: rearrange the #includes into some sort of
1641         coherent order.
1642
1643         * buffer.h: remove #includes ErrorList.h, undo.h
1644
1645 2003-09-06  Angus Leeming  <leeming@lyx.org>
1646
1647         * support/types.h: add a 'depth_type' typedef, used to store the
1648         nesting depth of a paragraph.
1649
1650         * paragraph.h:
1651         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1652         defining explicitly.
1653
1654         * buffer.h:
1655         * paragraph_funcs.h:
1656         * ParagraphParameters.h:
1657         * sgml.h: use lyx::depth_type rather than Paragraph or
1658         ParameterStruct's depth_type.
1659
1660         * buffer.h
1661         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1662
1663         * BufferView.C:
1664         * BufferView_pimpl.C:
1665         * CutAndPaste.C:
1666         * ParagraphParameters.C:
1667         * buffer_funcs.C:
1668         * bufferlist.C:
1669         * bufferview_funcs.C:
1670         * lyx_cb.C:
1671         * lyxfunc.C:
1672         * tabular.C:
1673         * text3.C:
1674         * toc.C:
1675         * undo_funcs.C:
1676         * frontends/LyXView.C:
1677         * frontends/controllers/ControlDocument.C:
1678         * frontends/controllers/ControlErrorList.C:
1679         * insets/insetbibitem.C:
1680         * insets/insetbranch.C:
1681         * insets/insetcaption.C:
1682         * insets/insetcollapsable.C:
1683         * insets/insetenv.C:
1684         * insets/insetert.C:
1685         * insets/insetfloat.C:
1686         * insets/insetfoot.C:
1687         * insets/insetfootlike.C:
1688         * insets/insetnewline.C:
1689         * insets/insetquotes.C:
1690         * insets/insettabular.C:
1691         * insets/insettext.C:
1692         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1693
1694         * frontends/controllers/ControlChanges.C: #include "changes.h".
1695
1696 2003-09-06  Angus Leeming  <leeming@lyx.org>
1697
1698         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1699         than #including paragraph.h.
1700
1701         * ParagraphList.h:
1702         * RowList.h: deleted. Superfluous.
1703
1704         * CutAndPaste.h:
1705         * iterators.h:
1706         * lyxcursor.h:
1707         * lyxtext.h:
1708         * text_funcs.h:
1709         * undo.h:
1710         * undo_funcs.h:
1711         * insets/inset.h:
1712         * insets/insettext.h: use ParagraphList_fwd.h rather than
1713         ParagraphList.h.
1714
1715         * paragraph.h: don't forward declare ParagraphList.
1716
1717         * buffer.h:
1718         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1719         rather than ParagraphList.h. paragraph.h is still needed for the
1720         Paragraph::depth_type parameters.
1721
1722         * textcursor.h: enable it to compile stand-alone in light of the
1723         above changes.
1724
1725         * bufferview_funcs.C:
1726         * iterators.C:
1727         * lyxfunc.C:
1728         * lyxrow_funcs.C:
1729         * paragraph.C:
1730         * rowpainter.C:
1731         * text.C:
1732         * text2.C:
1733         * text3.C:
1734         * text_funcs.C:
1735         * textcursor.C:
1736         * undo.C:
1737         * frontends/controllers/ControlParagraph.C:
1738         * frontends/controllers/ControlTabular.C:
1739         * insets/insetmarginal.C:
1740         * insets/insetminipage.C:
1741         * insets/insetnote.C:
1742         * insets/insetoptarg.C: add header files needed to compile again.
1743
1744 2003-09-06  Angus Leeming  <leeming@lyx.org>
1745
1746         * RowList_fwd.h: new file, forward-declaring Row rather than
1747         #including lyxrow.h.
1748
1749         * lyxrow_funcs.h:
1750         * lyxtext.h:
1751         * paragraph.h:
1752         * insets/insettext.h: use it instead of RowList.h
1753
1754         * bufferview_funcs.C:
1755         * lyxfunc.C:
1756         * lyxrow_funcs.C:
1757         * paragraph.C:
1758         * rowpainter.C:
1759         * text.C:
1760         * text2.C:
1761         * text3.C: #include "RowList.h".
1762
1763 2003-09-05  Angus Leeming  <leeming@lyx.org>
1764
1765         * factory.C (createInset):
1766         * vspace.C (c-tor): replace sscanf call with an istringstream.
1767         * ispell.C: re-add missing HP/UX headers.
1768         * lyxserver.C: re-add missing  os2 headers.
1769
1770 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1771
1772         * BranchList.C:
1773         * graph.C:
1774         * ispell.C:
1775         * lastfiles.C:
1776         * lyx_cb.C:
1777         * lyxserver.C:
1778         * texrow.C:
1779         * text3.C: re-add missing system headers, needed for 2.95.2.
1780
1781 2003-09-05  Angus Leeming  <leeming@lyx.org>
1782
1783         Changes most place everywhere due to the removal of using directives
1784         from support/std_sstream.h.
1785
1786 2003-09-05  Angus Leeming  <leeming@lyx.org>
1787
1788         Replace LString.h with support/std_string.h,
1789         Lsstream.h with support/std_sstream.h,
1790         support/LIstream.h with support/std_istream.h,
1791         support/LOstream.h with support/std_ostream.h.
1792
1793         Changes resulting throughout the tree.
1794
1795 2003-09-05  Angus Leeming  <leeming@lyx.org>
1796
1797         * sgml.h: ensure that the header file can be compiled stand-alone.
1798         * *.C: strip out redundant #includes. (320 in total.)
1799
1800 2003-09-04  Angus Leeming  <leeming@lyx.org>
1801
1802         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1803         here (from getPackages).
1804
1805         * debug.[Ch]: add a new EXTERNAL tag.
1806
1807 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1808
1809         * text2.C (cursorEnd): simplify
1810         (setCursor): adjust
1811         (getColumnNearX): adjust
1812
1813         * text.C (computeBidiTables): adjust
1814         (fill): adjust
1815
1816         * rowpainter.C (paintChars): adjust
1817         (paintSelection): adjust
1818         (paintChangeBar): adjust
1819         (paintText): adjust
1820
1821         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1822         lastPos instead.
1823         (numberOfSeparators): adjust
1824
1825 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1826
1827         * LyXAction.C:
1828         * box.[Ch]:
1829         * lfuns.h:
1830         * lyxfunc.C:
1831         * text3.C: Restricts the mouse click functionality
1832         of insets like bibtex, include, toc and floatlist to the visible
1833         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1834         up the dialogs. Cursor has to be in front of the inset (i.e.
1835         start of row) for this to function.
1836
1837 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1838
1839         * bufferview_funcs.C (currentState): output row information
1840
1841 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1842
1843         * bufferview_funcs.C (currentState): output paragraph position
1844
1845 2003-09-04  Angus Leeming  <leeming@lyx.org>
1846
1847         * FloatList.h: move out #include "Floating.h".
1848         * LaTeX.h: move out #include "DepTable.h".
1849         * LyXAction.h: move out #include "funcrequest.h".
1850         * buffer.h: move out #include "author.h", "iterators.h".
1851         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1852         * lyx_main.h: move out #include "errorlist.h".
1853         * lyxfunc.h: move out #include "FuncStatus.h".
1854         * lyxtext: move out #include "lyxcursor.h".
1855         * paragraph_pimpl.h: move out #include "counters.h".
1856
1857 2003-09-03  Angus Leeming  <leeming@lyx.org>
1858
1859         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1860         preamble_snippets list, enabling us to add snippets to the preamble
1861         only if the snippet was not there already.
1862
1863 2003-09-04  Angus Leeming  <leeming@lyx.org>
1864
1865         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1866
1867 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1868
1869         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1870         update
1871
1872 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1873
1874         * BranchList.C: point fix, earlier forgotten
1875
1876 2003-09-02  Angus Leeming  <leeming@lyx.org>
1877
1878         * box.C (contains): renamed from 'contained' after a fantastic
1879         amount of hot air.
1880
1881 2003-09-02  John Levon  <levon@movementarian.org>
1882
1883         * BufferView.C:
1884         * lyxcursor.h:
1885         * lyxcursor.C:
1886         * lyxfunc.C:
1887         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1888
1889 2003-09-02  John Levon  <levon@movementarian.org>
1890
1891         * text2.C: simplification of cursorEnd(), including partial
1892         fix for bug 1376
1893
1894 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1895
1896         * buffer.C (readFile): add a space
1897
1898 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1899
1900         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1901
1902 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1903
1904         * buffer.C (readFile): new function, take a filename and a
1905         ParagraphList::iterator
1906         (readFile): adjust
1907         (readFile): adjust, make it private. don't use setStream, make
1908         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1909         always contain the filename.
1910
1911         * BufferView.C (insertLyXFile): simplify and make it work for
1912         gzipped files.
1913
1914 2003-08-30  John Levon  <levon@movementarian.org>
1915
1916         * Makefile.am: fix dist (from Kayvan)
1917
1918 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1919
1920         * most files: change to use const Buffer refs
1921
1922 2003-08-27  André Pönitz  <poenitz@gmx.net>
1923
1924         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1925         on top of ownerPar().
1926
1927 2003-08-27  John Levon  <levon@movementarian.org>
1928
1929         * funcrequest.C: properly initialise POD members
1930
1931 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1932
1933         * lyxtext.h (top_y): move top_y from here
1934         * text.C:
1935         * text2.C:
1936         * text3.C:
1937         * BufferView.[Ch]:
1938         * BufferView_pimpl.[Ch]: to here
1939         * frontends/screen.C:
1940         * insets/insettabular.C:
1941         * insets/insettext.C: adjust
1942         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1943
1944 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1945
1946         * BufferView.[Ch]:
1947         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1948
1949 2003-08-26  André Pönitz  <poenitz@gmx.net>
1950
1951         * paragraph_func.[Ch] (outerPar): new function
1952
1953         * paragraph.C:
1954         * paragraph_funcs.C:
1955         * paragraph_funcs.h:
1956         * paragraph_pimpl.C:
1957         * text2.C: remove Inset::par_owner
1958
1959 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1960
1961         * lyxrow_funcs.C:
1962         * lyxtext.h:
1963         * text.C:
1964         * text2.C: eliminates the needFullRow/display() stuff
1965         altogether, putting the logic in metrics/draw in the insets.
1966
1967 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1968
1969         * text2.C (redoParagraphInternal, redoParagraphs):
1970         * text.C (redoParagraph): add a call to updateRowPositions at the
1971         end of each 'metrics-like' call. Remove all others.
1972         (getRow): remove the 'y-computing' version.
1973         (getRowNearY): do not compute nor return the real y. Solve the
1974         'y < 0' problem and simplify.
1975
1976 2003-08-22  Angus Leeming  <leeming@lyx.org>
1977
1978         * *.[Ch]: clean-up of licence and author blurbs.
1979         Also move config.h out of a few .h files and into a few .C files.
1980
1981 2003-08-22  André Pönitz  <poenitz@gmx.net>
1982
1983         * lyxrow.[Ch]: add x_ and *fill_ members
1984
1985         * lyxtext.h:
1986         * text.C:
1987         * rowpainter.C:
1988         * text2.C: adjust/remove prepareToPrint() calls
1989
1990 2003-08-22  André Pönitz  <poenitz@gmx.net>
1991
1992         * lyxrow.[Ch]: add  end_ member
1993
1994         * lyxrow_funcs.C: use LyXRow::end_
1995
1996         * lyxtext.h (singleWidth): add LyXFont parameter
1997
1998         * rowpainter.C:
1999         * text2.C: adjust LyXText::singleWidth() calls
2000
2001         * text.C (redoParagraph): simplify row breaking logic
2002
2003
2004 2003-08-19  André Pönitz  <poenitz@gmx.net>
2005
2006         * funcrequest.C: initialize button_ member
2007
2008         * text3.C:
2009         * rowpainter.[Ch]: interface consolidation
2010
2011 2003-08-18  André Pönitz  <poenitz@gmx.net>
2012
2013         * BufferView.C:
2014         * BufferView_pimpl.C:
2015         * lyxfind.C:
2016         * paragraph_funcs.C:
2017         * rowpainter.C:
2018         * text3.C: remove LyXScreen::draw() and fitCursor calls
2019
2020         * BranchList.h: remove spurious semicolons
2021
2022         * MenuBackend.C: fix branchlist related crash
2023
2024 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2025
2026         * BranchList.[Ch]:
2027         * InsetList.[Ch]:
2028         * LColor.[Ch]:
2029         * LyXAction.C:
2030         * Makefile.am:
2031         * MenuBackend.[Ch]:
2032         * bufferparams.[Ch]:
2033         * factory.C:
2034         * lfuns.h:
2035         * lyxfunc.C:
2036         * text3.C: implements the 'branch inset'
2037         idea. This allows the output of various versions of a document
2038         from a single source version, selectively outputing or suppressing
2039         output of parts of the text.
2040         This implementation contains a 'branch list editor' in a separate
2041         tab of the document settings dialog. Branches are user definable
2042         and have a "display colour" to distinguish them on-screen.
2043
2044         ColorHandler was somewhat cleaned up.
2045         (1) make possible a dynamically growing LColor list by allowing
2046         the graphic context cache to grow along (vector);
2047         (2) eliminate an IMHO unnecessary step in colour allocation.
2048
2049 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2050
2051         * BufferView_pimpl.C: compile fix
2052
2053 2003-08-15  André Pönitz  <poenitz@gmx.net>
2054
2055         * rowpainter.C: remove extra metrics calls
2056
2057         * lyxtext.h: merge the two constructors into a single one,
2058           pass reference to owner's par list
2059
2060         * BufferView_pimpl.C:
2061         * text.C:
2062         * text2.C: adjust
2063
2064 2003-08-15  André Pönitz  <poenitz@gmx.net>
2065
2066         * lyxrow_funcs.[Ch]:
2067         * lyxtext.h:
2068         * paragraph.h:
2069         * paragraph_funcs.C:
2070         * rowpainter.C:
2071         * text.C:
2072         * text2.C:
2073         * text3.C:
2074         * text_funcs.C: split LyXText::rowlist_ into individual
2075         Paragraph::rows_ chunks
2076
2077         * BufferView.[Ch]:
2078         * BufferView_pimpl.[Ch]:
2079         * lyxfind.C:
2080         * lyxtext.h:
2081         * text3.C: remove toggleSelection()
2082
2083 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2084
2085         * bufferlist.C: beautify two alerts (shorter text of buttons)
2086         * buffer.C: Remove redundant ' ' from message
2087         * tabular.h:
2088         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2089         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2090         rename VALIGN_CENTER to VALIGN_MIDDLE
2091
2092 2003-08-11  André Pönitz  <poenitz@gmx.net>
2093
2094         * lyxtext.h (getPar):
2095         * text.C: new function
2096
2097 2003-08-11  André Pönitz  <poenitz@gmx.net>
2098
2099         * Makefile.am:
2100         * tracer.[Ch]: remove unneeded files
2101
2102         * InsetList.[Ch]: remove resizeInsetsLyXText()
2103
2104         * lyxtext.h:
2105         * text.C:
2106         * text2.C:
2107         * text3.C: merge insertParagraphs() and appendParagraph()
2108         remove breakAgain(), update()
2109
2110         * BufferView_pimpl.[Ch]:
2111         * bufferview_funcs.[Ch]:
2112         * lyxfunc.C:
2113         * paragraph.[Ch]:
2114         * rowpainter.C:
2115         * tabular.C: adjust after text & InsetList changes.
2116
2117 2003-08-08  André Pönitz  <poenitz@gmx.net>
2118
2119         * text.C (insertChar, backspace): replace rowlist fiddling
2120         with rebreak of full par
2121
2122         * lyxtext.h:
2123         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2124         checkParagraph, updateInset): removed
2125
2126 2003-08-07  André Pönitz  <poenitz@gmx.net>
2127
2128         * paragraph.C:
2129         * text3.C: merge some LFUN handlers, remove dead code
2130
2131 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2132
2133         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2134
2135 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2136
2137         * text2.C (DEPM): fix part of bug 1255 and 1256
2138
2139 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2140
2141         * BufferView_pimpl.C (workAreaDispatch): change to use
2142         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2143         that are no mouse related.
2144
2145 2003-08-05  André Pönitz  <poenitz@gmx.net>
2146
2147         * BufferView.[Ch]:
2148         * BufferView_pimpl.[Ch]:
2149         * bufferview_funcs.C:
2150         * text2.C:
2151         * text3.C: rip out "deep update"
2152
2153         * textcursor.[Ch] (last_sel_cursor): remove unused member
2154
2155 2003-08-04  André Pönitz  <poenitz@gmx.net>
2156
2157         * BufferView.[Ch]:
2158         * BufferView_pimpl.[Ch]:
2159         * ParagraphParameters.C:
2160         * bufferview_funcs.C:
2161         * lyx_cb.C:
2162         * lyxfind.C:
2163         * lyxfunc.C:
2164         * text.C:
2165         * text2.C:
2166         * text3.C: replace "complicated" BufferView::update(...) calls with
2167         simpler ones.
2168
2169         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2170
2171 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2172
2173         * Makefile.am (lyx_SOURCES): add paper.h
2174
2175 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2176
2177         * Makefile.am: move things around so that both lyx-qt and
2178         lyx-xforms can be built (according to --with-frontend). Then lyx
2179         is a symbolic link to lyx-[firstfrontend]
2180
2181 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2182
2183         * Always use std::endl with lyxerr
2184
2185 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2186
2187         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2188
2189 2003-08-01  André Pönitz  <poenitz@gmx.net>
2190
2191         * BufferView.[Ch]:
2192         * BufferView_pimpl.[Ch]:
2193         * lyxfunc.C:
2194         * text3.C: merge BufferView::repaint() and BufferView::update()
2195
2196 2003-08-01  José Matos  <jamatos@lyx.org>
2197
2198         * buffer.[Ch]: file_format is no longer a buffer data element.
2199
2200 2003-08-01  André Pönitz  <poenitz@gmx.net>
2201
2202         * BufferView.C:
2203         * lyxtext.h:
2204         * text.C:
2205         * text2.C: make redoParagraph more independent of current cursor
2206
2207         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2208         * text.C:
2209         * text2.C: remove unneeded members
2210
2211 2003-07-30  André Pönitz  <poenitz@gmx.net>
2212
2213         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2214
2215         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2216           create a single function...
2217
2218         * paragraph_funcs.C (moveItem): ... here.
2219
2220         * text.C:
2221           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2222
2223 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2224
2225         * LColor.[Ch]: Add comment and greyedout logical colors.
2226
2227 2003-07-30  André Pönitz  <poenitz@gmx.net>
2228
2229         * tabular.C: don't use Assert too heavily. This crashes where it
2230           shouldn't
2231
2232 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2233
2234         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2235         is disabled (bug 1232)
2236
2237 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2238
2239         * factory.C: limited 'arg' scope
2240
2241 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2242
2243         * factory.C: fixed Note submenu issues
2244
2245 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2246
2247         * factory.C: submenu for Note/Comment/Greyedout
2248
2249 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2250
2251         * lyx_main.C (LyX):
2252         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2253
2254 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2255
2256         * LaTeXFeatures.C:
2257         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2258         greyedout. Patch provided by Jürgen Spitzmüller.
2259
2260 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2261
2262         * kbmap.C (read): fix error message when reading bind files
2263
2264 2003-07-29  Angus Leeming  <leeming@lyx.org>
2265
2266         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2267         certainly does not do what it purports to do. I am doing it, and
2268         us, a favour by killing it.
2269
2270 2003-07-28  José Matos  <jamatos@lyx.org>
2271
2272         * buffer.C (readBody, do_writeFile):
2273         * paragraph.C(readParagraph): \end_document replaces \the_end.
2274
2275 2003-07-29  André Pönitz  <poenitz@gmx.net>
2276
2277         * BufferView.[Ch]:
2278         * BufferView_pimpl.[Ch]:
2279         * lyxfunc.C:
2280         * text2.C:
2281         * text3.C:
2282         * textcursor.[Ch]: remove toggleToggle & Co
2283
2284 2003-07-28  José Matos  <jamatos@fep.up.pt>
2285
2286         * buffer.C (readParagraph):
2287         * params_func (readParToken, readParagraph):
2288         * paragraph.C (write): \layout -> \begin_layout.
2289
2290 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2291
2292         * lyxlex_pimpl.C (setFile): clean up slightly.
2293
2294         * bufferparams.h: add compressed var
2295
2296         * buffer_funcs.C (readFile): adjust for LyXLex change
2297         (newFile): ditto + simplify
2298
2299         * buffer.C (writeFile): handle writing of compressed files
2300
2301         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2302         Check if the file is compressed and set a bufferparm if so.
2303
2304         * Makefile.am (lyx_LDADD): remove explicit -lz
2305
2306 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2307
2308         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2309         makeDocBookFile): put the real LyX version in the first line of
2310         the file
2311
2312         * version.h:
2313         * version.C.in: remove lyx_docversion
2314
2315         * tabular.C (write_attribute): add a template-based version to
2316         write enums properly
2317
2318 2003-07-28  André Pönitz  <poenitz@gmx.net>
2319
2320         * lyxtext.h:
2321         * text.C:
2322         * text2.C:
2323         * text3.C: use doubles again for x-coordinates. They are needed.
2324
2325 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2326
2327         * messages.C (getLocaleDir): use lyx_localedir()
2328
2329         * lyxlex_pimpl.C (setFile): compress stuff
2330
2331         * buffer.C (writeFile): add some compression stuff
2332         (do_writeFile): new func, dont call expliti close... will this
2333         breake anything?
2334
2335         * Makefile.am (lyx_LDADD): add -lz
2336
2337 2003-07-28  José Matos  <jamatos@fep.up.pt>
2338
2339         * buffer.C: increment file format.
2340         * paragraph_funcs (readParagraph, readParToken):
2341         * paragraph.C (readParagraph): add \end_layout.
2342
2343 2003-07-27  Angus Leeming  <leeming@lyx.org>
2344
2345         * Makefile.am: remove special casing for configure-time setting of
2346         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2347
2348         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2349         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2350
2351 2003-07-26  André Pönitz  <poenitz@gmx.net>
2352
2353         * paragraph_func.[Ch]:
2354         * paragraph.C (realizeFont): inline it whereever it is used
2355
2356         * rowpainter.C:
2357         * text.C:
2358         * text2.C:
2359         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2360
2361
2362 2003-07-26  André Pönitz  <poenitz@gmx.net>
2363
2364         *       lyxtext.h:
2365         * text.C:
2366         * text2.C: get rid of LyXText::need_break_row
2367
2368 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2369
2370         * toc.[Ch]: put namespace toc inside namespace lyx
2371
2372         * MenuBackend.C (expandToc2): adjust for lyx::toc
2373         (expandToc): ditto
2374
2375         * lyxfunc.C (dispatch): adjust for lyx::find
2376
2377         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2378         lyx::find instead. Reorganize a bit.
2379         (LyXReplace): rename to replace
2380         (LyXFind): rename to find
2381
2382         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2383         (dispatch): ditto
2384
2385 2003-07-26  André Pönitz  <poenitz@gmx.net>
2386
2387         * text.C (setHeightOfRow): restrict scope of temporary variable
2388
2389         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2390           code (never has been used?)
2391
2392 2003-07-27  Asger Alstrup  <alstrup@local>
2393
2394         * text.C (fill): Optimise algorithm to exploit that we can reuse
2395         the LyXFont for many characters.
2396         (setHeightOfRow): Same thing.
2397         (rowBreakPoint): Same thing.
2398
2399 2003-07-26  Asger Alstrup  <alstrup@local>
2400
2401         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2402
2403         * text.C (singleWidth): Spurious font copying in hot-spot
2404         singleWidth avoided. Reorder tests for arabic for efficiency.
2405
2406         * text.C (fill): handle empty paragraphs better.
2407
2408 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2409
2410         * ispell.C:
2411         * encoding.h: add includes
2412
2413         * lyxrc.C: remove reading of bind files
2414
2415         * lyx_main.C (init): setup bindings and menus only if we have a
2416         gui.
2417
2418         * kbmap.C (read): new method. Do the actual reading of bind
2419         files.
2420
2421         * converter.C (dvipdfm_options):
2422         * bufferparams.C:
2423         * lyxrc.C (read):
2424         (output): adapt PAPER_* enums.
2425
2426         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2427
2428         * bufferparams.h: remove paper-related enums from there
2429
2430         * paper.h: New file. A trivial header file to hold paper-related
2431         enums. It should later expand to contain many paper-related
2432         horrors access.
2433
2434         * lyxrc.C: declare extern displayTranslator
2435
2436 2003-07-27  José Matos  <jamatos@fep.up.pt>
2437
2438         * tabular.[Ch] (linuxdoc): add support for tables and figures
2439         (linuxdoc).
2440
2441 2003-07-27  José Matos  <jamatos@fep.up.pt>
2442
2443         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2444         consistency in both functions.
2445         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2446
2447 2003-07-26  Asger Alstrup  <alstrup@local>
2448
2449         * rowpainter.C (paintRows): Change algorithm to work directly on
2450         the insets rather than asking every character in the document
2451         whether its an inset.
2452
2453 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2454
2455         * buffer.C (openFileWrite): factorize some code
2456
2457 2003-07-26  Angus Leeming  <leeming@lyx.org>
2458
2459         * lyx_cb.C:
2460         * lyx_main.[Ch]: replace occurances of system_tempdir with
2461         os::getTmpDir().
2462
2463 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2464
2465         * rename Inset to InsetOld
2466
2467 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2468
2469         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2470         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2471         which I think is a bit clearer. EDIT is gone, since it was
2472         premature optimisation, and broken for mathed anyway.
2473         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2474         with cursor positioning in insets as well (math insets still do not
2475         work, but that's a different story anyway.) It mysteriously
2476         crashes sometimes with undo in the first paragraph, but I'm fairly
2477         confident that this is a compiler bug.
2478
2479 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2480
2481         * paragraph.C (Paragraph): adjust for new clone return type
2482         (operator==): ditto
2483         (copyIntoMinibuffer): ditto
2484
2485 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2486
2487         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2488         by not having a special case, and always doing a full rebreak of
2489         the document after undo.
2490
2491 2003-07-23  Angus Leeming  <leeming@lyx.org>
2492
2493         * factory.C (createInset): InsetExternal::setParams now takes a
2494         Buffer const * arg.
2495
2496 2003-07-23  Angus Leeming  <leeming@lyx.org>
2497
2498         * factory.C (createInset): changed interface to the external and
2499         graphics mailers' string2params functions.
2500
2501 2003-07-23  Angus Leeming  <leeming@lyx.org>
2502
2503         * factory.C (createInset): pass a
2504         Buffer const * parameter to InsetExternalMailer's string2params.
2505
2506 2003-07-22  John Levon  <levon@movementarian.org>
2507
2508         * Thesaurus.h: include the right aiksaurus header
2509
2510 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2511
2512         * MenuBackend.C (expand): check menu shortcuts unconditionally
2513
2514 2003-07-21  Angus Leeming  <leeming@lyx.org>
2515
2516         * factory.C (createInset): pass a
2517         buffer_path parameter to InsetGraphicsMailer's string2params.
2518
2519 2003-07-21  Angus Leeming  <leeming@lyx.org>
2520
2521         * BufferView_pimpl.C (buffer):
2522         * buffer.C (d-tor):
2523         * lyx_main.C (LyX):
2524         * lyxfunc.C (dispatch):
2525         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2526         rather than the grfx shortcut.
2527
2528 2003-07-21  André Pönitz  <poenitz@gmx.net>
2529
2530         * rowpainter.C: remove unused variables
2531
2532         * tabular_funcs.C:
2533         * tabular_funcs.h: move to tabular.C
2534         * Makefile.am: adjust
2535
2536         * tabular.[Ch]: basic optical cleaning
2537
2538         * author.h: pass references, not values
2539
2540 2003-07-18  André Pönitz  <poenitz@gmx.net>
2541
2542         * lyxtext.h:
2543         * metricsinfo.C:
2544         * metricsinfo.h:
2545         * rowpainter.C:
2546         * text.C:
2547         * text2.C:
2548         * text3.C: two-phase drawing for InsetText and InsetTabular
2549         some float -> int changes.
2550
2551 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2552
2553         * lyx_main.C: fix the fix
2554
2555 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2556
2557         * lyx_main.C: fix a crash in batch mode if no files specified
2558         * converter.C: ws
2559
2560 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2561
2562         * format.[Ch] (papersize): moved to BufferParams
2563         * converter.[Ch] (dvips_options): moved to BufferParams
2564         (dvipdfm_options): moved to anon namespace
2565         * bufferparams.[Ch]: added above functions.
2566
2567 2003-07-17  André Pönitz  <poenitz@gmx.net>
2568
2569         * lyxtext.h:
2570         * rowpainter.C:
2571         * text2.C: don't call inset->update() anymore
2572
2573         * metricsinfo.[Ch]: add convenience constructor
2574
2575 2003-07-16  André Pönitz  <poenitz@gmx.net>
2576
2577         * lyxcursor.[Ch]:
2578         * lyxfunc.[Ch]:
2579         * text.C:
2580         * text2.C: replace the LyXCursor::irow_ member with
2581          on-demand computation of the value
2582
2583 2003-07-16  John Levon  <levon@movementarian.org>
2584
2585         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2586
2587 2003-07-15  André Pönitz  <poenitz@gmx.net>
2588
2589         * text.C:
2590         * text2.C: remove no more needed refresh_row
2591
2592 2003-07-15  André Pönitz  <poenitz@gmx.net>
2593
2594         * lyxtext.h:
2595         * rowpainter.C:
2596         * text2.C:
2597         * text3.C: refresh_status tristate -> need_update bool
2598
2599 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2600
2601         * lyxtext.h (init): remove reinit argument (act as if always true)
2602         * text2.C: adjust to that
2603
2604 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2605
2606         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2607         * text3.C: use it to delete selections in some cases
2608         (bugs 441, 673, 702, 954).
2609
2610 2003-07-14  André Pönitz  <poenitz@gmx.net>
2611
2612         * rowpainter.[Ch]: reduce interface
2613
2614 2003-07-14  André Pönitz  <poenitz@gmx.net>
2615
2616         * BufferView_pimpl.C:
2617         * text2.C: adjust after removing unused BufferView * argument
2618
2619 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2620
2621         * text2.C (init): fix a crash fired on resize
2622
2623 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2624
2625         * buffer.[Ch]: added new closing signal
2626         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2627         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2628         BufferView::Pimpl via the closing the signal
2629
2630 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2631
2632         * buffer.[Ch]: take out all bv-related from buffer
2633         * BufferView.C:
2634         * BufferView_pimpl.[Ch]: connect to new signals
2635         * CutAndPaste.C: removed useless asserts
2636         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2637         * lyxvc.[Ch]:
2638         * vc-backend.[Ch]:
2639         * lyxfunc.C: moved view-related funciontality from vc here
2640         * paragraph.C: removed outdated comments
2641         * text.C: ws
2642
2643 2003-07-10  André Pönitz  <poenitz@gmx.net>
2644
2645         * BufferView_pimpl.C:
2646         * tabular.h:
2647         * tabular_funcs.C:
2648         * text.C:
2649         * text2.C: remove InsetText::InnerCache, clean up consequences
2650
2651 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2652
2653         * ispell.C: fix two typos in error messages
2654
2655 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2656
2657         * Extend Note inset to other forms of annotation like Comment
2658         and Greyedout. Right button click gives dialog.
2659
2660         Files modified or added (+):
2661
2662         * insetnote.[Ch]
2663         * FormNote.[Ch]      +
2664         * ControlNote.[Ch]   +
2665         * form_note.fd       +
2666         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2667         frontends/controllers
2668         * xforms/Dialogs.C
2669         * factory.C
2670
2671 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2672
2673         * aspell.C: add missing namespace lyx::support
2674
2675 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2676
2677         * BufferView.[Ch] (newFile): Add
2678         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2679         * LaTeX.[Ch] (message): added this signal and use it
2680         * buffer.[Ch] (busy, message): added these signals and use them
2681         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2682         * converter.C:
2683         * exporter.C:
2684         * format.C:
2685         * importer.C: use buffer signals instead of direct bv calling
2686         * lyx_cb.[Ch] (ShowMessage): removed
2687         * lyx_main.C:
2688         * lyxfunc.C:
2689         * paragraph_funcs.C:
2690         * text2.C: use buffer signals
2691
2692 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2693
2694         * introduce namespace lyx::graphics
2695
2696 2003-07-02  André Pönitz  <poenitz@gmx.net>
2697
2698         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2699
2700 2003-07-01  André Pönitz  <poenitz@gmx.net>
2701
2702         * text.C:
2703         * text2.C:
2704         * text3.C:
2705         * text_funcs.[Ch]:
2706         * textcursor.h:
2707         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2708           text*.C to text_func.C
2709
2710 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2711
2712         * introduce namespace lyx::support
2713
2714 2003-06-30  André Pönitz  <poenitz@gmx.net>
2715
2716         * Chktex.C:
2717         * funcrequest.C:
2718         * lyxtext.h:
2719         * text.C: re-enable --with-included-string
2720
2721 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2722
2723         * textcursor.C: add <config.h>
2724
2725         * text.C (getWord): remove const from word_location arg
2726
2727         * lyxvc.C (getLogFile): fix const type order
2728
2729         * lyxtext.h: remove const from word_location arg, add arg name
2730
2731         * lyxlayout.h: currect type on labeltype.
2732
2733         * importer.C: correct \file
2734
2735         * converter.C (intToFormat): use std:: on ret val, ws changes
2736
2737         * bufferlist.h: correct \file
2738
2739         * buffer.C (makeLinuxDocFile): fix const type order
2740         (makeDocBookFile): ditto
2741         (fillWithBibKeys): use std:: on stdlib args.
2742
2743         * CutAndPaste.C: fix authors.
2744         (availableSelections): use std:: on return vector
2745
2746 2003-06-27  André Pönitz  <poenitz@gmx.net>
2747
2748         * BufferView_pimpl.C:
2749         * bufferview_funcs.C:
2750         * lyxcursor.C:
2751         * lyxcursor.h:
2752         * lyxfunc.C:
2753         * lyxtext.h:
2754         * rowpainter.C:
2755         * text.C:
2756         * text2.C:
2757         * text3.C: remove LyXCursor::row_ member
2758
2759         * lyxtext.h:
2760         * text.C: rename fullRebreak() to partialRebreak() and implement
2761           a fullRebreak() that really bereks fully
2762
2763         * textcursor.h: new struct for cursor-related data
2764
2765 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2766
2767         * lyx_main.C (LyX): get full path of document loaded on the
2768         command line
2769
2770 2003-06-26  André Pönitz  <poenitz@gmx.net>
2771
2772         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2773           remove unused/broken operator>,<,>=.
2774
2775         *       text.C: remove only use of broken operator<= in an Assert().
2776
2777 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2778
2779         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2780         moved errorlist_.clear to showErrorList
2781
2782 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2783
2784         * converter.C (scanLog, runLaTeX):
2785         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2786         move the bv->showErrorList call to the callers
2787         * lyxfunc.C: i.e. here...
2788         * text2.C: and here
2789         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2790         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2791         namespace, the second to...
2792         * buffer_funcs (BufferFormat, parseErrors): added
2793         * errorlist.C (ErrorList(TeXErrors const &)): removed
2794
2795 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2796
2797         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2798
2799 2003-06-24  "Garst R. Reese" <reese@isn.net>
2800
2801         * debug.C: fix typo
2802
2803 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2804
2805         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2806
2807         * version.C.in: change docversion to 1.4
2808
2809 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2810
2811         * buffer.C: fix a bug just introduced
2812
2813 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2814
2815         * buffer.[Ch]: added the parseError signal and use it, removed
2816         sgmlError
2817         * BufferView.[Ch] (addError): moved to ...
2818         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2819         to the Buffer::parseError signal to catch (guess what) parse errors
2820         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2821
2822 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2823
2824         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2825         ability to create a buffer and to return an existing one from
2826         the list. Moved these functions to...
2827         * buffer_funcs.[Ch]: added
2828         * BufferView.[Ch] (loadLyXFile): added
2829         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2830         job removed from bufferlist::loadLyXFile.
2831         * buffer.C (setReadOnly): make it work without view
2832         (i.e added an if (users))
2833
2834 2003-06-19  Angus Leeming  <leeming@lyx.org>
2835
2836         * lfuns.h:
2837         * LyXAction.C (init):
2838         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2839         with LFUN_DIALOG_SHOW <name> <data>.
2840
2841 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2842
2843         * CutAndPaste.C (availableSelections): small compilation fix for
2844         ancient (gcc 2.9x) compilers
2845
2846 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2847
2848         * text3.C (cursorNext): add tmp var
2849
2850         * text2.C (updateCounters): for function calling out of for clause
2851         (replaceSelectionWithString): ditto
2852         (insertStringAsParagraphs): ditto
2853         (getColumnNearX): add tmp var
2854         (setCursorFromCoordinates): add tmp var
2855         (cursorDownParagraph): add tmp var
2856         (deleteEmptyParagraphMechanism): add tmp var
2857
2858         * text.C (insertChar): add tmp var
2859
2860         * rowpainter.C (paintDepthBar): add tmp var
2861
2862         * CutAndPaste.C (availableSelections): potentially check all
2863         paragraphs in a cut to fill the shown strings.
2864
2865 2003-06-18  André Pönitz  <poenitz@gmx.net>
2866
2867         * kbmap.[Ch]: use vector<> instead of list<>
2868
2869 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2870
2871         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2872         pasteSelection with index
2873
2874         * text2.C (pasteSelection): modify, call pasteSelection with index
2875
2876         * paragraph.C (asString): reimplement version with no interval to
2877         call the one with interval.
2878
2879         * lyxtext.h: add index arg to pasteSelection
2880
2881         * MenuBackend.C (MenuItem): handle PasteRecent
2882         (Menu::read::Menutags): add md_pasterecent
2883         (read): handle it
2884         (expandPasteRecent): new function
2885         (expand): use it
2886
2887         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2888
2889         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2890         the limited stack
2891         (availableSelections): new function
2892
2893 2003-06-17  Angus Leeming  <leeming@lyx.org>
2894
2895         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2896
2897 2003-06-17  Angus Leeming  <leeming@lyx.org>
2898
2899         * lfuns.h:
2900         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2901
2902         * lyxfunc.C (dispatch): invoke it.
2903
2904 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2905
2906         * iterators.C (operator++, ParPosition): reintroduce some
2907         const_cast for the benefit of older compilers.
2908
2909 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2910
2911         * text3.C (dispatch): do not modify clipboard when doing
2912         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2913         LFUN_DELETE_SKIP on a selection selection
2914
2915 2003-06-16  André Pönitz  <poenitz@gmx.net>
2916
2917         * BufferView.C:
2918         * buffer.C:
2919         * buffer.h:
2920         * paragraph.C:
2921         * tabular.[Ch]: IU of clone() and getLabelList();
2922
2923 2003-06-13  André Pönitz  <poenitz@gmx.net>
2924
2925         * tabular.h: compactification
2926
2927 2003-06-12  André Pönitz  <poenitz@gmx.net>
2928
2929         * tabular.C:
2930         * tabular.h:
2931         * tabular_funcs.h: some renaming plus whitespace
2932
2933 2003-06-12  André Pönitz  <poenitz@gmx.net>
2934
2935         * BufferView.C:
2936         * BufferView_pimpl.C:
2937         * CutAndPaste.C:
2938         * buffer.C:
2939         * iterators.[Ch]:
2940         * lyxfunc.C:
2941         * text.C:
2942         * toc.C: Return a Paragraph & for ParIterator::operator*()
2943
2944 2003-06-11  John Levon  <levon@movementarian.org>
2945
2946         * lyx_main.C:
2947         * ToolbarBackend.h:
2948         * ToolbarBackend.C: add "Toolbars" section and
2949         put the flags there
2950
2951 2003-06-10  Angus Leeming  <leeming@lyx.org>
2952
2953         * lfuns.h:
2954         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2955
2956         * lyxfunc.C (dispatch): invoke it.
2957
2958 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2959
2960         * main.C: protect <ios> with HAVE_IOS
2961         (main): protect sync_with_stdio with HAVE_IOS
2962
2963 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2964
2965         * text2.C (cutSelection): adjust
2966         (pasteSelection): adjust
2967
2968         * messages.C: handle get of empty string
2969
2970         * main.C (main): use sync_with_stdio(false)
2971
2972         * lyxfunc.C (dispatch): adjust
2973
2974         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2975         (WriteAs): remove unneeded BufferView arg.
2976
2977         * bufferparams.h: use correct types on papersize, papersize2 and
2978         paperpackage.
2979
2980         * bufferparams.C (readToken): adjust for type
2981         (writeLaTeX): add missing cases to switch.
2982
2983         * bufferlist.C (quitWriteBuffer): adjust
2984         (close): adjust
2985
2986         * buffer.C (asciiParagraph): remove some commented code.
2987
2988         * CutAndPaste.C: remove current_view extern variable.
2989         (cutSelection): add BufferParams arg.
2990         (eraseSelection): add BufferParams arg.
2991         (pasteSelection): add Buffer const & arg
2992
2993 2003-06-07  John Levon  <levon@movementarian.org>
2994
2995         * buffer.C:
2996         * paragraph_funcs.C:
2997         * paragraph_pimpl.C:
2998         * text.C:
2999         * text2.C:
3000         * paragraph.h:
3001         * paragraph.C: allow InsetERT to freely space lines,
3002         and some consolidation of code
3003
3004 2003-06-06  José Matos  <jamatos@fep.up.pt>
3005
3006         * buffer.C (makeDocBookFile): fix bug #821
3007
3008 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3009
3010         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3011
3012 2003-06-04  Angus Leeming  <leeming@lyx.org>
3013
3014         * buffer.C: bump format to 224.
3015
3016 2003-06-05  André Pönitz  <poenitz@gmx.net>
3017
3018         * text2.C (redoParagraphs): remove two const_cast<>
3019
3020 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3021
3022         * ParagraphList.h: remove last remnants of NO_STD_LIST
3023
3024 2003-06-03  Angus Leeming  <leeming@lyx.org>
3025
3026         * factory.C (createInset): small change to the way InsetExternal's params
3027         are set.
3028
3029 2003-06-04  André Pönitz  <poenitz@gmx.net>
3030
3031         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3032
3033         * paragraph_pimpl.h:
3034         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3035
3036         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3037
3038         * undo_funcs.C: make some simple cases of undo work again
3039
3040 2003-06-03  John Levon  <levon@movementarian.org>
3041
3042         * ispell.C: HPUX doesn't have sys/select.h
3043         (from Albert Chin)
3044
3045 2003-06-03  John Levon  <levon@movementarian.org>
3046
3047         * CutAndPaste.C: update tabular and include inset
3048         buffer references
3049
3050         * buffer.h:
3051         * paragraph.h:
3052         * paragraph.C: remove owningBuffer(), don't pass Buffer
3053         to clone()
3054
3055         * factory.C: insetGraphicsParams changed
3056
3057 2003-06-02  John Levon  <levon@movementarian.org>
3058
3059         * LyXAction.C:
3060         * factory.C:
3061         * lfuns.h:
3062         * lyxfunc.C:
3063         * text3.C: remove insetparent
3064
3065 2003-06-02  John Levon  <levon@movementarian.org>
3066
3067         * buffer.h:
3068         * buffer.C: fix inset_iterator.end(), move out of line
3069         (bug 1149)
3070
3071 2003-06-01  John Levon  <levon@movementarian.org>
3072
3073         * text3.C: use a proper cut/paste when doing inset
3074         insert (from Jürgen Spitzmüller)
3075
3076 2003-06-01  John Levon  <levon@movementarian.org>
3077
3078         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3079
3080 2003-05-30  André Pönitz  <poenitz@gmx.net>
3081
3082         * rowpainter.C: unify second drawing phase
3083
3084 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3085
3086         * trans_mgr.C: remove one case of current_view
3087
3088         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3089
3090         * paragraph_funcs.h: remove paragraph.h include
3091
3092         * paragraph.h: delete NO_STD_LIST stuff
3093
3094         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3095
3096         * buffer.h: remove paragraph.h include
3097
3098         * ParagraphList.C: delete file
3099
3100         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3101
3102         * toc.C (getTocList): adjust
3103
3104         * paragraph_pimpl.C (validate): adjust
3105
3106         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3107
3108         * paragraph.C (Paragraph): adjust
3109         (getPositionOfInset): use const_iterator, adjust
3110         (bibitem): use const_iterator, adjust
3111         (setInsetOwner): adjust
3112
3113         * iterators.C (operator++): adjust
3114
3115         * InsetList.[Ch]: Replace selfmade iterator with standard
3116         vector::iterator also introduce const_iterator. Remove getPos,
3117         getInset and setInset from InsetTable. Adjust accordingly.
3118
3119         * BufferView.C (lockInset): adjust
3120         (ChangeInsets): adjust
3121
3122         * tabular.[Ch]: delete commented same_id functions
3123
3124 2003-05-28  John Levon  <levon@movementarian.org>
3125
3126         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3127
3128 2003-05-28  André Pönitz  <poenitz@gmx.net>
3129
3130         * metricsinfo.[Ch]: remove 'fullredraw' member
3131
3132 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3133
3134         * lyxtextclass.C (operator): remove caching.
3135
3136 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3137
3138         * text3.C: adjust
3139
3140         * text2.C (cursorBottom): adjust
3141         (setCounter): use ParagraphList::find, adjust
3142
3143         * text.C (workWidth): use ParagraphList::find, adjust
3144
3145         * lyxcursor.C (LyXCursor): adjust
3146
3147         * buffer.C (inset_iterator): adjust
3148
3149         * ParagraphList.h: make iterator(value_type) private, make
3150         ParagraphList a friend of iterator.
3151
3152         * ParagraphList.C (find): new function
3153
3154         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3155
3156 2003-05-27  André Pönitz  <poenitz@gmx.net>
3157
3158         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3159
3160 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3161
3162         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3163
3164 2003-05-26  John Levon  <levon@movementarian.org>
3165
3166         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3167
3168 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3169
3170         * remove same_id from function signatures, adjust.
3171
3172 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3173
3174         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3175
3176         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3177
3178         * paragraph.C (Paragraph): get rid of same_ids parameter
3179
3180         * ParagraphList.C (insert): adjust
3181         (push_back): adjust
3182
3183 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3184
3185         * paragraph_funcs.C (breakParagraph): adjust
3186         (breakParagraphConservative): adjust
3187
3188         * buffer.C (readParagraph): adjust
3189
3190         * ParagraphList.C (insert): take a reference instead of a pointer
3191         (insert): adjust
3192
3193         * paragraph.[Ch] (id): new function
3194
3195         * bufferlist.C (newFile): adjust
3196
3197         * ParagraphList.C (ParagraphList): adjust
3198         (assign): adjust
3199         (push_back): take a reference instead of a pointer.
3200
3201         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3202
3203         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3204         instead.
3205
3206         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3207         set else use old code.
3208
3209         * ParagraphList.C: remove all NO_NEXT code and only compile this
3210         code of NO_STD_LIST is set.
3211
3212 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3213
3214         * BufferView_pimpl.C:
3215         * TextCache.C:
3216         * TextCache.h:
3217         * bufferlist.C:
3218         * errorlist.h:
3219         * format.C:
3220         * format.h:
3221         * graph.C:
3222         * lyxfunc.C:
3223         * lyxrc.C:
3224         * graphics/GraphicsConverter.C:
3225         * graphics/PreviewLoader.C: header adjustment
3226
3227 2003-05-23  Angus Leeming  <leeming@lyx.org>
3228
3229         * LaTeXFeatures.[Ch] (useBabel): new method.
3230         * bufferparams.C (writeLaTeX): use it.
3231
3232 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3233
3234         * ParagraphList.h (set): remove unused function.
3235
3236 2003-05-23  André Pönitz  <poenitz@gmx.net>
3237
3238         * BufferView.C:
3239         * BufferView_pimpl.C:
3240         * buffer.C:
3241         * buffer.h:
3242         * lyxfunc.C:
3243         * undo_funcs.C: setUndo reworked
3244
3245         * iterators.[Ch]: add access to topmost ParagraphList
3246
3247         * lyxtext.[Ch] (workWidth): add a const
3248
3249 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3250
3251         * texrow.[Ch] (increasePos): remove function
3252         * exporter.C (export): removed unused var and outdated comment
3253
3254 2003-05-23  Angus Leeming  <leeming@lyx.org>
3255
3256         * latexrunparams.h: rename fragile as moving_arg.
3257         * paragraph.C (simpleTeXOnePar): ditto.
3258         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3259
3260 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3261
3262         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3263         (createUndo): ditto
3264         (textUndoOrRedo): comment out a currently unused var.
3265
3266         * paragraph.h (NO_NEXT): enable NO_NEXT
3267
3268         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3269
3270         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3271
3272         * exporter.C (Export): adjust for removeAutoInsets removal.
3273
3274         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3275
3276         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3277
3278         * BufferView.[Ch] (removeAutoInsets): delete function
3279
3280 2003-05-22  Angus Leeming  <leeming@lyx.org>
3281
3282         * latexrunparams.h: add a free_spacing variable.
3283
3284         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3285         to pass moving_arg, as the data is stored in runparams.fragile.
3286
3287         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3288         to Inset::latexOptional or to simpleTeXOnePar.
3289
3290         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3291         free_spacing arg to Inset::latexOptional.
3292
3293         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3294         free_spacing arg.
3295
3296 2003-05-22  Angus Leeming  <leeming@lyx.org>
3297
3298         * latexrunparams.h: add fragile and use_babel variables.
3299
3300         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3301         * buffer.C (makeLaTeXFile): store this returned value in
3302         runparams.use_babel, thus passing it to the inset::latex methods.
3303
3304         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3305         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3306
3307         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3308         longer has a fragile arg, as it is stored in runparams.fragile.
3309
3310         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3311         moving_arg parameter as the data is stored in runparams.fragile.
3312
3313         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3314         a fragile parameter as the data is stored in runparams.fragile.
3315
3316 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3317
3318         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3319
3320 2003-05-22  Angus Leeming  <leeming@lyx.org>
3321
3322         * latexrunparams.h: add a 'bool nice' which defaults to false.
3323
3324         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3325         now encapsulated within runparams.
3326
3327         * bufferlist.C (updateIncludedTeXfiles):
3328         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3329
3330 2003-05-22  Angus Leeming  <leeming@lyx.org>
3331
3332         * latexrunparams.h: new file containing struct LatexRunParams.
3333         * Makefile.am: add new file.
3334
3335         * LaTeX.[Ch] (c-tor, run):
3336         * buffer.[Ch] (makeLaTeXFile):
3337         * bufferlist.[Ch] (updateIncludedTeXfiles):
3338         * converter.C (convert, scanLog):
3339         * converter.[Ch] (runLaTeX):
3340         * exporter.C (Export):
3341         * paragraph.[Ch] (simpleTeXOnePar):
3342         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3343         * paragraph_funcs.[Ch] (latexParagraphs):
3344         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3345         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3346         pass around a LatexRunParams parameter.
3347
3348 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3349
3350         * paragraph.[Ch]: remove unused constructor
3351
3352         * ParagraphList.C (erase): new function, taking two iterators
3353
3354 2003-05-22  André Pönitz  <poenitz@gmx.net>
3355
3356         * undo_funcs.C: remove duplicated code
3357
3358         * iterator.[Ch]: operator=
3359
3360 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3361
3362         * tabular.C (SetMultiColumn): ws changes
3363
3364         * rowpainter.C (paintFirst): get rid of a ->previous
3365
3366         * lyx_cb.C (getPossibleLabel): parlist simplification
3367
3368         * BufferView.C (ChangeInsets): simplify slightly.
3369
3370 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3371
3372         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3373         * lfuns.h: new LFUN_SPACE
3374         * lyxfunc.C: protected space has a new lfun
3375         * paragraph_funcs.C: read new space insets
3376         * text3.C:
3377         * factory.C: handle new space insets
3378
3379 2003-05-22  André Pönitz  <poenitz@gmx.net>
3380
3381         * BufferView.C:
3382         * BufferView_pimpl.C:
3383         * buffer.[Ch]:
3384         * lyxfunc.C:
3385         * undo_funcs.C: return a ParIterator from getParFromID.
3386
3387         * iterators.[Ch]: add two const's
3388
3389 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3390
3391         * toc.C (getTocList): adjust
3392
3393         * iterators.[Ch]: rework for parlist
3394
3395         * buffer.C (par_iterator_begin): adjust
3396         (par_iterator_end): adjust
3397
3398         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3399
3400         * BufferView.C (removeAutoInsets): adjust
3401         (ChangeInsets): adjust
3402
3403 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3404
3405         * text.C (top_y): fix bug 1110
3406
3407 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3408
3409         * errorlist.[Ch]: added
3410         * buffer.C:
3411         * BufferView.[Ch]:
3412         * BufferView_pimpl.C:
3413         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3414         instead
3415
3416 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3417
3418         * Makefile.am: ensure that lyx is relinked upon changes to the
3419         various "convenience" libs.
3420
3421 2003-05-20  Angus Leeming  <leeming@lyx.org>
3422
3423         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3424         files are compiled in alphabetical order again.
3425
3426         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3427
3428 2003-05-19  Angus Leeming  <leeming@lyx.org>
3429
3430         * gettext.[Ch]: remove "char const * _(char const *)".
3431
3432 2003-05-19  André Pönitz  <poenitz@gmx.net>
3433
3434         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3435
3436         * Makefile.am:
3437         * BufferView.C:
3438         * DepTable.h:
3439         * LaTeXFeatures.C:
3440         * buffer.C:
3441         * lyxfont.C:
3442         * lyxlex.h:
3443         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3444
3445 2003-05-19  André Pönitz  <poenitz@gmx.net>
3446
3447         * buffer.C:
3448         * lyxlayout.[Ch]:
3449         * lyxtextclass.[Ch]:
3450         * paragraph.C:
3451         * paragraph_funcs.[Ch]:
3452         * text2.C:
3453         * text3.C: more insetenv work
3454
3455 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3456
3457         * ParagraphParameters.C (params2string): small bug fixed
3458
3459 2003-05-16  André Pönitz  <poenitz@gmx.net>
3460
3461         * debug.C:
3462         * bufferview_funcs.C: patch from Kornel Benko to prevent
3463           crash when _(...) is called twice in a statement
3464
3465 2003-05-16  André Pönitz  <poenitz@gmx.net>
3466
3467         * BufferView.C:
3468         * lyxfunc.C:
3469         * text.C:
3470         * text2.C:
3471         * text3.C:
3472         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3473
3474 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3475
3476         * lyx_main.C (init): remove spurious static_cast
3477
3478 2003-05-14  André Pönitz  <poenitz@gmx.net>
3479
3480         * BufferView.C: fix format string
3481
3482 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3483
3484         * BufferView.[Ch] (insertErrors): removed
3485         * BufferView.[Ch] (showErrorList): added
3486         * buffer.C (runChkTeX):
3487         * converter.C (scanLog): call showErrorList instead of inserterrors
3488
3489 2003-05-13  André Pönitz  <poenitz@gmx.net>
3490
3491         * BufferView_pimpl.C:
3492         * buffer.C:
3493         * bufferview_func.C:
3494         * MenuBackend.C:
3495         * lyxfunc.C:
3496         * lyxrc.C:
3497         * tex-accent.C:
3498         * text3.C:
3499         * toc.C:
3500         * tabular_funcs.h: tostr() from its own header
3501
3502         * ParagraphParameters.C:
3503         * ToolbarBackend.C:
3504         * bufferparams.C:
3505         * format.C:
3506         * lyxlex_pimpl.C:
3507         * text3.C: STRCONV()
3508
3509 2003-05-12  André Pönitz  <poenitz@gmx.net>
3510
3511         * BufferView.C:
3512         * BufferView_pimpl.C:
3513         * CutAndPaste.C:
3514         * LaTeX.C:
3515         * LaTeXFeatures.C:
3516         * ParagraphParameters.C:
3517         * buffer.C:
3518         * bufferlist.C:
3519         * bufferparams.C:
3520         * bufferview_funcs.C:
3521         * converter.C:
3522         * counters.C:
3523         * debug.C:
3524         * exporter.C:
3525         * format.C:
3526         * importer.C:
3527         * lyx_cb.C:
3528         * lyx_main.C:
3529         * lyxfont.C:
3530         * lyxfunc.C:
3531         * lyxvc.C:
3532         * paragraph.C:
3533         * paragraph_funcs.C:
3534         * tabular.C:
3535         * tabular_funcs.C:
3536         * text2.C:
3537         * text3.C:  boost::format -> bformat  all over the place
3538
3539
3540 2003-05-09  André Pönitz  <poenitz@gmx.net>
3541
3542         * LColor.[Ch]: Pimpl the #include <map> away
3543
3544 2003-05-09  John Levon  <levon@movementarian.org>
3545
3546         * bufferlist.C: never remove emergency saves
3547
3548 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3549
3550         * Makefile.am: better lib building
3551
3552 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3553
3554         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3555         instead.
3556         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3557         (simpleTeXSpecialChars): adjust
3558         (simpleTeXSpecialChars): adjust
3559         * paragraph.C (simpleTeXOnePar): adjust
3560         * buffer.C (makeLaTeXFile): adjust
3561
3562         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3563
3564         * text2.C (changeDepth): parlist cleanup
3565         (getColumnNearX): ditto
3566
3567         * rowpainter.C (getLabelFont): parlist cleanup
3568
3569         * bufferlist.C (newFile): parlist cleanup
3570
3571         * CutAndPaste.C (eraseSelection): parlist cleanup
3572
3573         * BufferView_pimpl.C (trackChanges): parlist cleanup
3574         (dispatch): ditto
3575
3576         * BufferView.C (lockInset): parlist cleanup.
3577         (ChangeInsets): ditto
3578
3579 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3580
3581         * CutAndPaste.h: Update file header.
3582
3583         * CutAndPaste.C: Update file header.
3584         Store the parts cut out of the Document in a limited_stack.
3585         (copySelection): adjust
3586         (pasteSelection): new function, takes the index in the limited stack.
3587         (nrOfParagraphs): adjust
3588         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3589         simplify error inset insertion.
3590         (checkPastePossible): adjust
3591
3592 2003-05-06  John Levon  <levon@movementarian.org>
3593
3594         * text2.C: don't cast wrap inset to float
3595
3596 2003-05-05  André Pönitz  <poenitz@gmx.net>
3597
3598         * iterator.C:
3599         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3600
3601         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3602           few naked Paragraph *.
3603
3604 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3605
3606         * bufferparams.C: Output warning if a document with missing
3607         TeX document class is loaded
3608         * exporter.C: Disable TeX exports if the document class is missing
3609         * lyxtextclass.C:
3610         * lyxtextclass.h:
3611         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3612         isTeXClassAvailable()
3613
3614 2003-05-03  John Levon  <levon@movementarian.org>
3615
3616         * BufferView.h:
3617         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3618         explicit cursor show/hide
3619
3620         * BufferView_pimpl.h:
3621         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3622         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3623
3624         * lyxfunc.C: hide cursor before dispatching.
3625
3626         * lyx_cb.C:
3627         * lyxfind.C:
3628         * text.C:
3629         * text3.C: remove explicit cursor hides
3630
3631 2003-05-02  André Pönitz  <poenitz@gmx.net>
3632
3633         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3634
3635         * undo_funcs.C:
3636         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3637           linked lists
3638
3639         * text2.C: tiny whitespace
3640
3641 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3642
3643         * undo_funcs.C: almost only ws changes.
3644
3645         * ParagraphList.C (splice): just return if pl is empty.
3646
3647 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3648
3649         * ParagraphList.C (splice): new function.
3650
3651         * CutAndPaste.C (pasteSelection): use it
3652
3653 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3654
3655         * CutAndPaste.C (pasteSelection): remove the last next and
3656         previous from this file.
3657
3658 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3659
3660         * CutAndPaste.C (pasteSelection): more clean up, user proper
3661         ParagraphList functions for pasteing.
3662
3663         * ParagraphList.C (insert): new function, three arg insert
3664
3665 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3666
3667         * ParagraphList.C (insert): new function, three arg insert
3668
3669         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3670         not on paragraphs.
3671
3672 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3673
3674         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3675
3676 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3677
3678         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3679
3680 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3681
3682         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3683         (copySelection): clean up a bit.
3684         (pasteSelection): use make_pair
3685
3686         * ParagraphList.C (ParagraphList): implement copy constructor
3687         (operator=): implement, base on copy constructor.
3688         (assign): new func
3689
3690         * paragraph.C (erase): return a bool
3691
3692         * paragraph_pimpl.C (erasePos): remove function, move contents...
3693         (erase): ... here. Return a bool.
3694         (erase): call erase instead of erasePos.
3695
3696 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3697
3698         * ParagraphList.h: define PitPosPair
3699         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3700         ParagraphList, fix a bug on pasting multiple pars
3701         * text2.C: change interface to C&P
3702
3703 2003-04-30  André Pönitz  <poenitz@gmx.net>
3704
3705         * undo_func.C: revert part of yesterday's patch 2
3706
3707 2003-04-30  John Levon  <levon@movementarian.org>
3708
3709         * LColor.C: s/tabular/table/
3710
3711 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3712
3713         * text3.C (dispatch): do not convert iterator -> pointer
3714         * undo_funcs.C (setCursorParUndo): ditto
3715         * text_funcs.C (transposeChars): ditto
3716
3717         * text2.C (setLayout): ws changes only
3718
3719         * text.C (breakParagraph): do not convert iterator -> pointer
3720         (insertChar): ditto
3721         (acceptChange): ditto
3722         (rejectChange): ditto
3723         (changeCase): ditto
3724         (Delete): ditto
3725         (backspace): ditto
3726
3727         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3728         pointer
3729
3730 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3731
3732         * text3.C (gotoInset): YABG (yet another bad getChar)
3733
3734 2003-04-29  André Pönitz  <poenitz@gmx.net>
3735
3736         * paragraph.h: make operator= private unimplemented as long as
3737           it is unusable
3738
3739         * ParagraphList.C: whitespace
3740
3741         * paragraph.[Ch]:
3742         * paragraph_pimpl.[Ch]:
3743         * paragraph_funcs.C:
3744         * CutAndPaste.C:
3745         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3746
3747         * text2.C:
3748           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3749
3750 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3751
3752         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3753         * paragraph.[Ch] (erase):
3754         * paragraph_pimpl.[Ch] (erase): change return type and value
3755         * text2.C (cutSelection): some rework
3756
3757 2003-04-28  John Levon  <levon@movementarian.org>
3758
3759         * bufferlist.C: changes for unsaved changes dialog
3760
3761 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3762
3763         * bufferlist.C (newFile): set language (messages_) for new
3764         documents also.
3765
3766         * buffer.C (readFile): ws changes only.
3767
3768 2003-04-28  André Pönitz  <poenitz@gmx.net>
3769
3770         * undo_funcs.C:
3771         * lyxfunc.C:
3772         * buffer.[Ch]:
3773         * BufferView_pimpl.C:
3774         * BufferView.C: getParFromID related ParagraphList::iterator changes
3775
3776 2003-04-28  André Pönitz  <poenitz@gmx.net>
3777
3778         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3779           Changes
3780
3781 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3782
3783         * messages.C: remove one more localedir class variable.
3784
3785 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3786
3787         * messages.C (getLocaleDir): singleton generation function
3788         (Pimpl): use it.
3789         (Messages): add a default constructor.
3790
3791         * main.C (main): do not setup localedir here, do not call
3792         gettext_init.
3793
3794         * gettext.C (_): use it.
3795         (gettext_init): delete funciton
3796
3797 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3798
3799         * gettext.C (getLyXMessages): new singleton generating function.
3800
3801         * buffer.C (updateDocLang): adjust
3802
3803         * Makefile.am (messages.o): add target
3804         (main.o): remove target
3805
3806 2003-04-27  John Levon  <levon@movementarian.org>
3807
3808         * bufferlist.C:
3809         * lyx_cb.C:
3810         * lyxfunc.C:
3811         * lyxvc.C: specify cancel button in Alert::prompt
3812
3813 2003-04-26  John Levon  <levon@movementarian.org>
3814
3815         * text3.C:
3816         * lyxfunc.C:
3817         * lfuns.h:
3818         * LyXAction.C: add LFUN_INSET_SETTINGS
3819
3820         * lyxfunc.C: don't enable tabular-feature when there's
3821         just any locking inset
3822
3823 2003-04-26  John Levon  <levon@movementarian.org>
3824
3825         * bufferlist.C: re-add Cancel to buffer close question
3826
3827         * lyxfunc.C: fix import UI a bit
3828
3829 2003-04-25  John Levon  <levon@movementarian.org>
3830
3831         * gettext.C: remove the broken asserts for now
3832
3833 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3834
3835         * messages.C: make case where setlocale cannot comply work better.
3836
3837         * buffer.C (updateDocLang): new function
3838         (changeLanguage): use it
3839         (readFile): use it
3840
3841         * text2.C (setCounter): use B_ a bit.
3842
3843         * lyxlayout.C (Read): be sure to trim the label strings.
3844
3845         * messages.C (Messages): fix typo in comment
3846
3847         * buffer.C (readFile): set message_ after file is loaded.
3848         (makeDocBookFile): remove double return
3849         (changeLanguage): reset message_ upon language change.
3850         (B_): new func, use this to get translated buffer strings.
3851
3852         * main.C: add myself and Jean Marc as authors.
3853
3854 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3855
3856         * messages.[hC]: pimplify Messages, and three different pimpls to be
3857         used in different circumstances.
3858
3859         * gettext.[Ch]: change for use with new message code.
3860
3861 2003-04-24 André Pönitz <poenitz@gmx.net>
3862
3863         * factory.C: support for eqref
3864
3865 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3866
3867         * messages.[Ch]: add missing char
3868
3869         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3870
3871         * messages.[Ch]: New files
3872
3873 2003-04-18  John Levon  <levon@movementarian.org>
3874
3875         * BufferView.h:
3876         * BufferView.C:
3877         * BufferView_pimpl.C:
3878         * lfuns.h:
3879         * LyXAction.C:
3880         * lyxtext.h:
3881         * text2.C: remove layout-copy/paste (bug 778)
3882
3883 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3884
3885         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3886
3887 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3888
3889         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3890         if they succeed. Act accordingly.
3891
3892 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3893
3894         * text2.C (setCharFont): adjust
3895         (setCounter): adjust
3896         (insertStringAsLines): adjust
3897
3898         * text.C (leftMargin): adjust
3899         (setHeightOfRow): adjust
3900
3901         * rowpainter.C (paintFirst): adjust
3902         (paintLast): adjust
3903
3904         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3905         (outerHook): ditto
3906         (isFirstInSequence): ditto
3907         (getEndLabel): ditto
3908         (outerFont): adjust
3909
3910         * paragraph.C (getParLanguage): comment out some hard stuff.
3911
3912         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3913         (sgmlError): ditto
3914         (simpleDocBookOnePar): ditto
3915         (makeDocBookFile): use ParagraphList::iterator
3916
3917         * CutAndPaste.C (pasteSelection): adjust
3918
3919 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3920
3921         * text2.C (getFont): adjust
3922         (getLayoutFont): adjust
3923         (getLabelFont): adjust
3924
3925         * paragraph_funcs.C (TeXOnePar): adjust
3926
3927         * buffer.C (simpleLinuxDocOnePar): adjust
3928         (simpleDocBookOnePar): adjust
3929
3930         * CutAndPaste.C (pasteSelection): adjust
3931
3932         * BufferView.C (getEncoding): adjust
3933
3934         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3935
3936 2003-04-16  John Levon  <levon@movementarian.org>
3937
3938         * lyxfind.C: use parlist stuff for search/changes
3939
3940 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3941
3942         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3943
3944         * text2.C (deleteEmptyParagraphMechanism): adjust
3945
3946         * text2.[Ch] (ownerParagraph): delete func (both of them
3947
3948 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3949
3950         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3951
3952 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3953
3954         * ParagraphList.C: prepare for NO_NEXT
3955
3956 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3957
3958         * text2.C (getFont): adjust
3959         (getLayoutFont): adjust
3960         (getLabelFont): adjust
3961
3962         * paragraph.C (getFont): adjust
3963         (getLabelFont): adjust
3964         (getLayoutFont): adjust
3965
3966         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3967
3968 2003-04-15  John Levon  <levon@movementarian.org>
3969
3970         From Angus Leeming
3971
3972         * lyx_main.C: handle Include in .ui files
3973
3974 2003-04-15  John Levon  <levon@movementarian.org>
3975
3976         * MenuBackend.C: make the doc files length shorter
3977
3978         * ToolbarBackend.h:
3979         * ToolbarBackend.C: handle toolbar placement flags,
3980         Minibuffer
3981
3982 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3983
3984         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3985         adjust
3986
3987         * paragraph_funcs.C (TeXOnePar): adjust
3988
3989         * paragraph.C (getLabelFont): add outerfont arg, adjust
3990         (getLayoutFont): ditto
3991         (simpleTeXOnePar): adjust
3992
3993         * paragraph_pimpl.C (realizeFont): delete func
3994
3995 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3996
3997         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3998         row argument, constify cur argument.
3999
4000 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4001
4002         * text2.C (getFont): adjust
4003         (getLayoutFont): adjust
4004         (getLabelFont): adjust
4005
4006         * paragraph_funcs.C (TeXOnePar): adjust
4007         (outerFont): new func...
4008         (realizeFont): ...moved out from here, changed this to facilitate
4009         transition
4010
4011         * paragraph.C (getFont): take outerfont as arg, adjust
4012         (simpleTeXOnePar): add outerfont arg, adjust
4013
4014         * buffer.C (simpleLinuxDocOnePar): adjust
4015         (simpleDocBookOnePar): adjust
4016
4017         * CutAndPaste.C (pasteSelection): adjust
4018
4019         * BufferView.C (getEncoding): adjust
4020
4021 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4022
4023         * text2.C (setCharFont): adjust
4024         (setCounter): adjust
4025
4026         * text.C (leftMargin): adjust
4027         (setHeightOfRow): adjust
4028
4029         * rowpainter.C (paintFirst): adjust
4030         (paintLast): adjust
4031
4032         * paragraph_pimpl.C (realizeFont): adjust
4033
4034         * paragraph.C (isFirstInSequence): move from here...
4035         * paragraph_funcs.C (isFirstInSequence): ...to here
4036
4037         * paragraph.C (outerHook): move from here...
4038         * paragraph_funcs.C (outerHook): ...to here
4039
4040         * paragraph.C (depthHook): move from here...
4041         * paragraph_funcs.C (depthHook): ...to here
4042
4043         * paragraph.C (getEndLabel): move from here...
4044         * paragraph_funcs.C (getEndLabel): ...to here
4045
4046         * text2.C (realizeFont): move from here...
4047         * paragraph_funcs.C (realizeFont): ...to here
4048
4049 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4050
4051         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4052
4053 2003-04-14  Angus Leeming  <leeming@lyx.org>
4054
4055         * LColor.[Ch]: scrap LColor mathcursor.
4056
4057 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4058
4059         * lyxlex.[Ch] (text): delete function
4060         * trans.C (Load): adjust
4061         * paragraph_funcs.C (readParToken): adjust
4062
4063 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4064
4065         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4066         vector<char> instead of a char[].
4067
4068         * lyxlex_pimpl.C (getString): adjust
4069         (next): adjust
4070         (lex): use getString
4071         (eatLine): adjust
4072         (nextToken): adjust
4073
4074         * lyxlex.C (text): use pimpl_->getString()
4075         (getBool): ditto
4076         (findToken): ditto
4077
4078 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4079
4080         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4081         (makeFontEntriesLayoutSpecific): temp var for par.size()
4082         (setLayout): temp var for ownerParagraphs().end()
4083         (fullRebreak): temp var for rows().end()
4084         (selectionAsString): temp var for boost::next(startpit), realize
4085         that the while really is a regular for loop.
4086         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4087         setCursor in one place.
4088         (setParagraph): temp vr for ownerParagraphs().end()
4089         (updateCounters): make the while loop a for loop
4090         (cutSelection): temp var for ownerParagraphs().end()
4091         (updateInset): make the do {} while() a regular for loop
4092         (getCursorX): use temp vars
4093         (setCurrentFont): use temp vars
4094         (getColumnNearX): use temp vars
4095
4096 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4097
4098         * text.C (transformChar): use temp var for getChar
4099         (computeBidiTables): use temp var for row->par()
4100         (fill): move temp vars for row->par() and pit->layout() earlier in
4101         the function.
4102         (labelFill): use temp var for row->par()
4103         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4104         asc and desc, realize that pit never changes and that firstpit is
4105         just a duplicate and not needed. Exchange rit->par() with pit in a
4106         lot of places.
4107         (breakAgain): use a temp var for boost::next(rit)
4108         (breakAgainOneRow): ditto
4109         (breakParagraph): use a temp var for rows().begin()
4110         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4111         (cursorRightOneWord): use temp var for cursor.par() and
4112         cursor.pos(), remove usage of tmpcursor.
4113         (cursorLeftOneWord): use temp var for cursor.par() and
4114         cursor.pos() only set cur at end of function.
4115
4116 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4117
4118         * text.C, text2.C: exchange all usage of Paragraph::next with
4119         boost::next(ParagraphList::iterator)
4120
4121         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4122
4123         * text2.C (cursorTop): simplify implementation
4124         (cursorBottom): ditto
4125         (setParagraph): use ParagraphList::iterator
4126         (setCurrentFont): adjust
4127         (getColumnNearX): adjust
4128         (cursorRight): adjust
4129         (cursorLeft): remove usage of Paragraph::previous
4130         (cursorUpParagraph): ditto
4131         (deleteEmptyParagraphMechanism): slight cleanup
4132
4133         * text.C (isBoundary): take a Paragraph const & instead of a
4134         pointer as arg.
4135         (addressBreakPoint): ditto
4136         (leftMargin): remove usage of Paragraph::previous.
4137         (setHeightOfRow): ditto
4138         (cursorLeftOneWord): ditto
4139         (selectNextWordToSpellcheck): ditto
4140         (Delete): ditto
4141         (backspace): ditto
4142         (breakParagraph): remove one usage of Paragraph::next
4143         (redoParagraph): ditto
4144         (acceptChange): ditto
4145         (insertChar): adjust
4146         (rowBreakPoint): adjust
4147
4148         * bufferview_funcs.C (toggleAndShow): adjust
4149
4150 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4151
4152         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4153         methods to access it.
4154         * lyxtext.h:
4155         * text.C: Added updateRowPositions to compute all row positions.
4156         Make top_y and getRowNearY() to use the cached y position
4157
4158 2003-04-11  John Levon  <levon@movementarian.org>
4159
4160         * text.C (rowBreakPoint): reintroduce the labelEnd
4161         checks, code copied from the row fill stuff. Deep voodoo.
4162
4163         * text.C (fill): add a comment and debugging for the
4164         next poor soul.
4165
4166 2003-04-11  John Levon  <levon@movementarian.org>
4167
4168         * text.C: make sure fullrow insets get wrapped to the next line,
4169         even when they're in a manual label
4170
4171 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4172
4173         * text2.C (insertParagraph): make it take ParagraphList::iterator
4174         as arg.
4175         (setLayout): make it return ParagraphList::iterator
4176         (redoParagraphs): ditto
4177         (setCounter): ditto
4178         (checkParagraph): ditto
4179
4180         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4181
4182         * text2.C: adjust several funcs.
4183         (realizeFont): take a ParagraphList::iterator as arg.
4184         (getLayoutFont): ditto
4185         (getLabelFont): ditto
4186         (setCharFont): ditto
4187
4188         * text.C: adjust several funcs.
4189
4190 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4191
4192         * text.C (selectNextWordToSpellcheck): don't accidentally
4193         skip insets
4194
4195 2003-04-10  John Levon  <levon@movementarian.org>
4196
4197         * ToolbarBackend.C (getIcon): special handling for
4198         LFUN_MATH_DELIM
4199
4200 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4201
4202         * text2.C (cursorRight): a getChar assert fixed
4203
4204 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4205
4206         * text2.C (getFont): change to take a ParagraphList::iterator
4207         instead of Paragraph*
4208         Adjust several functions.
4209
4210         * text.C (transformChar): change to take a ParagraphList::iterator
4211         instead of Paragraph*
4212         (singleWidth): ditto
4213         Adjust several functions.
4214
4215         * rowpainter.C: adjust several functions
4216         * rowpainter.h:store a ParagraphList::iterator and not a
4217         Paragraph&.
4218
4219
4220 2003-04-09  John Levon  <levon@movementarian.org>
4221
4222         * lyxfunc.C:
4223         * lfuns.h:
4224         * LyXAction.h:
4225         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4226         and the "help" bits as well
4227
4228 2003-04-09  John Levon  <levon@movementarian.org>
4229
4230         * ToolbarBackend.h:
4231         * ToolbarBackend.C: allow multiple toolbars
4232
4233 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4234
4235         * undo_funcs.C (setCursorParUndo): adjust
4236
4237         * text_funcs.C (transposeChars): adjust
4238
4239         * text3.C (gotoNextInset): adjust
4240         (dispatch): adjust
4241
4242         * text2.C (setLayout): adjust
4243         (changeDepth): adjust
4244         (setFont): adjust
4245         (redoParagraphs): adjust
4246         (selectionAsString): adjust
4247         (setParagraph): adjust
4248         (insertInset): adjust
4249         (cutSelection): adjust
4250         (copySelection): adjust
4251         (pasteSelection): adjust
4252         (insertStringAsLines): adjust
4253         (updateInset): adjust
4254         (setCursor): change to take a ParagraphList::iterator parameter
4255         (setCursorIntern): change to take a ParagraphList::iterator parameter
4256         (setCurrentFont): adjust
4257         (cursorLeft): adjust
4258         (cursorRight): adjust
4259         (deleteEmptyParagraphMechanism): adjust
4260
4261         * text.C (breakParagraph): adjust
4262         (insertChar): adjust
4263         (acceptChange): adjust
4264         (rejectChange): adjust
4265         (selectNextWordToSpellcheck): adjust
4266         (changeCase): adjust
4267         (Delete): adjust
4268         (backspace): adjust
4269
4270         * lyxfind.C (SearchForward): adjust
4271         (SearchBackward): adjust
4272         (nextChange): adjust
4273
4274         * lyxcursor.C (par): adjust
4275
4276         * lyxcursor.h: store a ParagraphList::iterator instead of a
4277         Paragraph*
4278
4279         * lyx_cb.C (getPossibleLabel): adjust
4280
4281         * bufferview_funcs.C (toggleAndShow): adjust
4282
4283         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4284         (dispatch): adjust
4285
4286         * BufferView.C (removeAutoInsets): adjust
4287         (lockedInsetStoreUndo): adjust
4288
4289 2003-04-09  John Levon  <levon@movementarian.org>
4290
4291         * ToolbarBackend.C: try icon without argument
4292         if with argument fails
4293
4294 2003-04-08  John Levon  <levon@movementarian.org>
4295
4296         * ToolbarBackend.h:
4297         * ToolbarBackend.C: add getIcon(), handle tooltip,
4298         and change from "Icon" to "Item".
4299
4300 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4301
4302         * BufferView.C (lockInset): another bad getchar crunched
4303
4304 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4305
4306         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4307         again)
4308
4309 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4310
4311         * lyxfind.C (searchForward, searchBackwards): bug 782
4312
4313 2003-04-07  John Levon  <levon@movementarian.org>
4314
4315         * paragraph.C: remove dead comment
4316
4317         * text.C: remove troublesome depth-fiddling code
4318         in leftMargin() and rightMargin() (bug 1017)
4319
4320         * text.C: fix breaking of rows in nested lists
4321         (bug 1004)
4322
4323         * text2.C (updateCounters): fix up depth values
4324         (bug 1013)
4325
4326 2003-04-07  John Levon  <levon@movementarian.org>
4327
4328         * BufferView_pimpl.C: clear message when doc finishes resizing,
4329         and after a mouse event
4330
4331         * lyxfunc.C: clear message after exiting inset
4332
4333 2003-04-07  John Levon  <levon@movementarian.org>
4334
4335         * bufferview_funcs.C: show math status not outside
4336         status in the statusbar
4337
4338 2003-04-07  John Levon  <levon@movementarian.org>
4339
4340         * lyxfunc.C: note status changed after a depth change
4341
4342 2003-04-04  Angus Leeming  <leeming@lyx.org>
4343
4344         * LaTeX.h: move AuxInfo operator==, != out of line.
4345         Remove LaTeX virtual destructor; nothing derives from it.
4346         Move operator()() out of public area and rename it startscript().
4347         Change protected for private.
4348
4349 2003-04-04  Angus Leeming  <leeming@lyx.org>
4350
4351         * lyxfunc.C:
4352         * text2.C: remove unneeded #includes.
4353
4354 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4355
4356         * text2.C (dEPM): fix the heigth of the next row
4357
4358 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4359
4360         * text.C: squashed an invalid getChar requester + some ws changes
4361
4362 2003-04-03  John Levon  <levon@movementarian.org>
4363
4364         * bufferview_funcs.h:
4365         * bufferview_funcs.C:
4366         * lyxfunc.C:
4367         * lyxtext.h:
4368         * text2.C: make getStatus work for the env depth lfuns
4369
4370 2003-04-03  John Levon  <levon@movementarian.org>
4371
4372         * bufferview_funcs.h:
4373         * bufferview_funcs.C:
4374         * lyxfunc.C:
4375         * lyxtext.h:
4376         * text2.C: parlistize decDepth(), by merging it with incDepth()
4377
4378 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4379
4380         * lyxrow.h: store a ParagraphList::iterator instead of a
4381         Paragraph* and adjust other class functions to suit.
4382
4383         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4384         above.
4385
4386 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4387
4388         * text2.C (setCursor): do not anchor to cursor row for the time being
4389
4390 2003-04-02  John Levon  <levon@movementarian.org>
4391
4392         * LyXAction.C:
4393         * lfuns.h:
4394         * lyx_main.C:
4395         * lyxtext.h:
4396         * text.C:
4397         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4398
4399 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4400
4401         * paragraph.h: make ParagraphList and ParagraphList::iterator
4402         friends of Paragraph.
4403
4404         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4405
4406         * ParagraphList.C: Use the private next_ and previous_ from
4407         Paragraph.
4408
4409 2003-04-01  John Levon  <levon@movementarian.org>
4410
4411         * ToolbarBackend.h:
4412         * ToolbarBackend.C:
4413         * Makefile.am: rename, remove defaults gunk
4414
4415         * MenuBackend.h:
4416         * MenuBackend.C: remove defaults gunk
4417
4418         * Languages.h:
4419         * Languages.C: remove defaults gunk
4420
4421         * lyx_main.h:
4422         * lyx_main.C: error out if files couldn't be found.
4423
4424 2003-04-02  John Levon  <levon@movementarian.org>
4425
4426         * text2.C: make incDepth() use parlist
4427
4428 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4429
4430         * undo_funcs.C (firstUndoParagraph): adjust
4431
4432         * text3.C (gotoInset): adjust
4433         (dispatch): adjust, and rewrite loop.
4434
4435         * text2.C (init): adjust, and rewrite loop.
4436         (redoParagraphs): adjust
4437         (updateInset): adjust, and rewrite loop.
4438         (deleteEmptyParagraphMechanism): adjust
4439
4440         * tabular.C (LyXTabular): adjust
4441         (SetMultiColumn): adjust
4442         (TeXRow): adjust
4443
4444         * lyxtext.[Ch] (ownerParagraph): delete function
4445         (ownerParagraphs): new function returns a ParagraphList.
4446
4447         * BufferView.C (removeAutoInsets): adjust
4448         (insertErrors): adjust
4449         (setCursorFromRow): adjust
4450
4451 2003-04-01  Angus Leeming  <leeming@lyx.org>
4452
4453         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4454         in the frontends.
4455
4456 2003-04-02  John Levon  <levon@movementarian.org>
4457
4458         * lyxtext.h:
4459         * text.C:
4460         * Makefile.am:
4461         * text_funcs.h:
4462         * text_funcs.C: make transposeChars a free function
4463
4464         * lyxrow_funcs.C: remove wrong comment
4465
4466 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4467
4468         * lyxtext.h: adjust
4469         * rowpainter.C: adjust
4470         * text.C: adjust
4471         * text2.C: adjust
4472         * text3.C: adjust
4473
4474         * lyxrow_funcs. [Ch]: new files
4475
4476         * lyxrow.[Ch]: remove next and previous pointers
4477         (next,previous): remove accessor functions
4478         (isParEnd): move to lyxrow_funcs
4479         (lastPos): move to lyxrow_funcs
4480         (nextRowIsAllInset): move to lyxrow_funcs
4481         (lastPrintablePos): move to lyxrow_funcs
4482         (numberOfSeparators): move to lyxrow_funcs
4483         (numberOfHfills): move to lyxrow_funcs
4484         (numberOfLabelHfills): move to lyxrow_funcs
4485         (hfillExpansion): move to lyxrow_funcs
4486
4487         * lyxfunc.C: adjust
4488
4489         * bufferview_funcs.C (toggleAndShow): adjust
4490
4491         * RowList.h: Remove class RowList from file leave just a
4492         std::list<Row>.
4493
4494         * RowList.C: delete file
4495
4496         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4497         and lyxrow_funcs.h
4498
4499 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4500
4501         * text3.C (cursorPrevious): adjust
4502         (cursorNext): adjust
4503         (dispatch): adjust
4504
4505         * text2.C (redoHeightOfParagraph): adjust
4506         (redoDrawingOfParagraph): adjust
4507         (setCursor): adjust
4508
4509         * text.C (breakParagraph): adjust
4510         (insertChar): adjust
4511         (backspace): adjust
4512
4513         * rowpainter.C (RowPainter): adjust
4514         (leftMargin): simplify and adjust
4515         (most rowpainter functions): adjust.
4516
4517         * rowpainter.h: store the row as RowList::iterator not as Row*
4518
4519         * lyxcursor.C (row): taka RowList::iterator as arg
4520         (irow): ditto
4521
4522         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4523         of Row*.
4524
4525 2003-04-01  Angus Leeming  <leeming@lyx.org>
4526
4527         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4528         stuff like bool Bool.
4529
4530 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4531
4532         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4533         rewrite a loop
4534
4535 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4536
4537         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4538         RowList::iterator.
4539
4540         * lyxtext.h (rows): drop one version and leve a const variant that
4541         returns a RowList::iterator.
4542
4543 2003-03-31  Angus Leeming  <leeming@lyx.org>
4544
4545         * text.C (fill): ensure that the signature is the same as that in the
4546         header file.
4547
4548 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4549
4550         * text2.C (redoParagraphs): adjust
4551         (updateCounters): adjust
4552         (checkParagraph): adjust
4553         (getColumnNearX): adjust and reformat a bit.
4554
4555         * text.C (top_y): adjust
4556         (workWidth): adjust
4557         (leftMargin): adjust
4558         (prepareToPrint): adjust
4559         (getRow): adjust
4560         (getRowNearY): adjust
4561
4562         * lyxtext.h: make rowlist_ mutable.
4563
4564         * RowList.h: add const_iterator
4565         * RowList.C: adjust for RowList::const_iterator.
4566
4567         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4568         adjust.
4569
4570 2003-03-31  John Levon  <levon@movementarian.org>
4571
4572         * lyxrc.h:
4573         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4574
4575         * lyx_main.C: set default fonts from using lyx_gui funcs
4576
4577         * exporter.C: pdf_mode moved from lyxrc
4578
4579         * lyx_cb.C:
4580         * lyxfunc.C: changes from above
4581
4582 2003-03-31  John Levon  <levon@movementarian.org>
4583
4584         * lyx_main.C: fix to the last fix
4585
4586 2003-03-31  John Levon  <levon@movementarian.org>
4587
4588         * bufferlist.C: "Load original" -> "Load Original"
4589
4590         * converter.C:
4591         * exporter.C:
4592         * importer.C:
4593         * lyx_main.C:
4594         * format.C: more Alert cleanups
4595
4596 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4597
4598         * text2.C (removeParagraph): make it take a RowList::iterator as
4599         arg, adjust.
4600         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4601         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4602
4603         * text.C (anchor_row): make it take a RowList::iterator as arg,
4604         adjust.
4605         (computeBidiTables): make it take a const reference to Row instead
4606         of Row pointer, adjust.
4607         (leftMargin): make it take a RowList::iterator as arg, adjust.
4608         (rowBreakPoint): adjust
4609         (breakAgainOneRow): make it take a RowList::iterator as arg,
4610         adjust.
4611         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4612
4613         * bufferview_funcs.C (toggleAndShow): adjust
4614
4615 2003-03-30  John Levon  <levon@movementarian.org>
4616
4617         * Makefile.am:
4618         * BoostFormat.h:
4619         * boost-inst.C: moved to support
4620
4621         * several files: changes as a result
4622
4623 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4624
4625         * text2.C (LyXText): adjust.
4626         (init): adjust
4627         (removeRow): make it take a RowList::iterator as arg, adjust.
4628         (fullRebreak): adjust
4629         (deleteEmptyParagraphMechanism): adjust
4630         (clearPaint): adjust
4631         (postPaint): adjust
4632
4633         * text.C (top_y): adjust
4634         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4635         (breakAgain): make it take a RowList::iterator as arg, adjust.
4636         (breakParagraph): adjust
4637         (insertChar): adjust
4638         (backspace): adjust
4639
4640         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4641         need_break_row, and refresh_row.
4642
4643         * text3.C (dispatch): adjust
4644
4645         * text2.C (checkParagraph): adjust
4646         (setCursor): adjust
4647         (setCursorFromCoordinates): adjust
4648
4649         * text.C (top_y): adjust
4650         (workWidth): adjust
4651         (getRow): make it return a RowList::iterator, adjust
4652         (getRowNearY): make it return a RowList::iterator, adjust
4653
4654         * text2.C (init): adjust
4655         (insertRow): remove function
4656         (insertParagraph): adjust
4657         (redoParagraphs): adjust
4658         (fullRebreak): adjust
4659         (updateCounters): adjust
4660
4661         * text.C (top_y): rewrite to use RowList iterators.
4662         (top_y): adjust
4663         (setHeightOfRow): rewrite to sue RowList iterators.
4664         (appendParagraph): adjust
4665         (breakAgain): adjust
4666         (breakAgainOneRow): adjust
4667         (breakParagraph): adjust
4668         (getRow): adjust
4669         (getRowNearY): adjust, and remove commented code.
4670
4671         * lyxtext.h (firstRow): delete function
4672         (lastRow): delete function
4673         (rows): new function (const and non-const versions.)
4674         (insertRow): delete function
4675
4676         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4677
4678 2003-03-29  John Levon  <levon@movementarian.org>
4679
4680         * BufferView_pimpl.C: always update scrollbar top
4681         because pasting text when we're anchored could mean we
4682         miss an update altogether
4683
4684 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4685
4686         * text2.C (init): use rowlist_.end() and not 0.
4687         (insertRow): change to take a RowList::iterator as arg, adjust
4688         for this.
4689         (insertParagraph): change to take a RowList::iterator as arg,
4690         adjust for this.
4691         (redoParagraphs): remove some debug msgs.
4692
4693         * text.C (appendParagraph): change to take a RowList::iterator
4694         arg, adjust for this.
4695         (breakAgain): add an assert
4696         (breakAgainOneRow): ditto
4697
4698 2003-03-29  John Levon  <levon@movementarian.org>
4699
4700         * text2.C: do not clear selection after inc/decDepth
4701         (bug 550)
4702
4703 2003-03-29  John Levon  <levon@movementarian.org>
4704
4705         * BufferView.C:
4706         * buffer.C: fix broken strerrors according to Lars
4707
4708 2003-03-29  John Levon  <levon@movementarian.org>
4709
4710         * converters.C: more Alert cleanups
4711
4712 2003-03-29  John Levon  <levon@movementarian.org>
4713
4714         * bufferview_funcs.C: remove pointless Alert
4715
4716         * buffer.C: fix confusing error message when
4717         a template is chmoded 000
4718
4719 2003-03-29  John Levon  <levon@movementarian.org>
4720
4721         * BufferView.C:
4722         * BufferView.h:
4723         * BufferView_pimpl.C: Alert fixes
4724
4725         * Makefile.am:
4726         * tabular.C:
4727         * tabular-old.C: remove unused table compat reading
4728
4729 2003-03-29  John Levon  <levon@movementarian.org>
4730
4731         * BufferView.C:
4732         * buffer.C:
4733         * lyx_cb.h:
4734         * lyx_cb.C: more Alert cleanups
4735
4736         * lyxfunc.C: don't allow chktex if not latex document
4737
4738 2003-03-29  John Levon  <levon@movementarian.org>
4739
4740         * lyx_cb.C:
4741         * BufferView.C:
4742         * buffer.C: warnings pushed down from support/,
4743         kill err_alert
4744
4745 2003-03-29  John Levon  <levon@movementarian.org>
4746
4747         * lyxfunc.C: safety check for C-r (revert)
4748
4749 2003-03-29  John Levon  <levon@movementarian.org>
4750
4751         * bufferlist.h:
4752         * bufferlist.C: several UI fixes using Alert::prompt.
4753         Fix the pointless looping quit code. Fix stupid revert
4754         behaviour (bug 938)
4755
4756         * lyxvc.h:
4757         * lyxvc.C:
4758         * lyx_cb.C: use Alert::prompt
4759
4760         * lyx_main.C: remove a silly question
4761
4762         * lyxfunc.C: remove a couple of silly questions,
4763         use Alert::prompt
4764
4765 2003-03-28  John Levon  <levon@movementarian.org>
4766
4767         * text2.C: fix bug 974 (End on empty par)
4768
4769 2003-03-28  John Levon  <levon@movementarian.org>
4770
4771         * BufferView_pimpl.C:
4772         * LyXAction.C:
4773         * lfuns.h: remove do-nothing math greek lfuns
4774
4775 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4776
4777         * lyxgluelength.h (isValidGlueLength): add default arg on
4778         parameter 2. Remove default arg from friend in class.
4779
4780         * lyxlength.h (isValidLength): add default arg on parameter 2.
4781         Remove default arg from friend in class.
4782
4783         * text2.C (LyXText): adjust, initialize refresh_row.
4784         (init): adjust
4785         (removeRow): adjust
4786         (insertRow): adjust
4787         (insertParagraph): adjst
4788         (redoParagraphs): adjust
4789         (fullRebreak): adjust
4790         (updateCounters): adjust
4791         (deleteEmptyParagraphMechanism): first attempt at fixing a
4792         crashing bug.
4793
4794         * text.C (top_y): adjust
4795         (setHeightOfRow): adjust
4796         (getRow): adjust
4797         (getRowNearY): adjust
4798
4799         * lyxtext.h: include RowList.h
4800         (~LyXText): not needed anymore, deleted.
4801         (firstRow): modify for RowList
4802         (lastRow): new function
4803         Delete firstrow and lastrow class variables, add a Rowlist
4804         rowlist_ class variable.
4805
4806         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4807         paragraph is empty.
4808
4809         * RowList.C (insert): fix case where it == begin().
4810
4811 2003-03-26  Angus Leeming  <leeming@lyx.org>
4812
4813         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4814         the thesaurus dialog.
4815
4816 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4817
4818         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4819
4820         * RowList.[Ch]: new files
4821
4822         * ParagraphList.C (erase): handle the case where it == begin
4823         correctly.
4824
4825 2003-03-25  John Levon  <levon@movementarian.org>
4826
4827         * Makefile.am:
4828         * aspell_local.h:
4829         * aspell.C: add new aspell support
4830
4831         * lyxrc.h:
4832         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4833         have it accessible.
4834
4835 2003-03-25  Angus Leeming  <leeming@lyx.org>
4836
4837         * lfuns.h:
4838         * LyXAction.C (init): new LFUN_INSET_INSERT.
4839
4840         * BufferView_pimpl.C (dispatch): split out part of the
4841         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4842
4843         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4844         LFUN_INSET_APPLY.
4845
4846 2003-03-25  Angus Leeming  <leeming@lyx.org>
4847
4848         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4849
4850 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4851
4852         * text2.C:
4853         * text3.C: remove useless row->height(0)
4854
4855 2003-03-25  John Levon  <levon@movementarian.org>
4856
4857         * lyxtext.h:
4858         * text2.C:
4859         * text3.C: rename the refreshing stuff to better names
4860
4861 2003-03-24  John Levon  <levon@movementarian.org>
4862
4863         * BufferView_pimpl.h:
4864         * BufferView_pimpl.C: update layout choice on a mouse
4865         press/release
4866
4867 2003-03-23  John Levon  <levon@movementarian.org>
4868
4869         * Makefile.am: fix commandtags.h reference
4870
4871 2003-03-22  John Levon  <levon@movementarian.org>
4872
4873         * BufferView_pimpl.C:
4874         * lyxtext.h:
4875         * rowpainter.C:
4876         * rowpainter.h:
4877         * text.C:
4878         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4879
4880 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4881
4882         * lyxtext.h:
4883         * text.C: take the rtl methods out of line
4884
4885 2003-03-21 André Pönitz <poenitz@gmx.net>
4886
4887         * metricsinfo.[Ch]: new files containing structures to be passed around
4888         during the two-phase-drawing...
4889
4890 2003-03-21 André Pönitz <poenitz@gmx.net>
4891
4892         * lyxtextclass.C: read 'environment' tag.
4893
4894 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4895
4896         * text2.C (removeRow): fix bug 964
4897
4898 2003-03-20  John Levon  <levon@movementarian.org>
4899
4900         * rowpainter.C:
4901         * text.C:
4902         * text2.C: paint cleanups. Inset::update() dropped font
4903         parameter
4904
4905 2003-03-19  John Levon  <levon@movementarian.org>
4906
4907         * lyxfunc.C: only fitcursor/markDirty if available()
4908
4909 2003-03-19  John Levon  <levon@movementarian.org>
4910
4911         * commandtags.h: rename to ...
4912
4913         * lfuns.h: ... this, and renumber / cleanup
4914
4915 2003-03-19  John Levon  <levon@movementarian.org>
4916
4917         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4918         fit the cursor after an lfun
4919
4920         * BufferView.h:
4921         * BufferView.C:
4922         * BufferView_pimpl.h:
4923         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4924
4925         * LyXAction.C: layout-character should have ReadOnly
4926
4927         * ParagraphParameters.C:
4928         * buffer.C:
4929         * bufferview_funcs.C:
4930         * lyx_cb.C:
4931         * lyxfind.C:
4932         * lyxtext.h:
4933         * text.C:
4934         * text2.C:
4935         * text3.C:
4936         * undo_funcs.C: changes from above
4937
4938 2003-03-18  John Levon  <levon@movementarian.org>
4939
4940         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4941         remove it from update()
4942
4943         * lyxfunc.C: update layout choice after an lfun
4944
4945         * text3.C: remove extra updateLayoutChoice()s
4946
4947 2003-03-18  John Levon  <levon@movementarian.org>
4948
4949         * text.C: top_y change means full repaint, fix
4950         a drawing bug with cursor movement
4951
4952 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4953
4954         * lyxtext.h:
4955         * text.C:
4956         * text2.C: anchor row on setCursor
4957
4958 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4959
4960         * lyxtext.h: remove almost all mutable keywords
4961         * text.C:
4962         * text2.C:
4963         * text3.C: remove const keywords accordingly
4964
4965 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4966
4967         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4968         anon namespace
4969         (TeXEnvironment): ditto
4970         (TeXOnePar): ditto
4971
4972 2003-03-17  John Levon  <levon@movementarian.org>
4973
4974         * text.C (rowBreakPoint): remove attempt to fix displayed
4975         math insets inside a manual label
4976
4977 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4978
4979         * lyxtext.h: remove BufferView* as first arg from almost all class
4980         functions.
4981         * other files: adjust.
4982
4983 2003-03-17  John Levon  <levon@movementarian.org>
4984
4985         * lyxtext.h:
4986         * undo_funcs.C:
4987         * text2.C: more paint cleanups
4988
4989         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4990
4991         * rowpainter.h:
4992         * rowpainter.C: remove "smart" background painting code
4993
4994 2003-03-16  John Levon  <levon@movementarian.org>
4995
4996         * lyxtext.h:
4997         * text.C:
4998         * text2.C:
4999         * text3.C: add helper functions for setting refresh_row/y
5000
5001 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5002
5003         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5004         newline inset which *can* get inserted in the pass_thru layouts.
5005         This is primarily for literate documents.
5006
5007 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5008
5009         * buffer.C: increment LYX_FORMAT to 223
5010
5011 2003-03-14 André Pönitz <poenitz@gmx.net>
5012
5013         * textclass.h: prepare for environment handling, ws changes
5014         * lyxlayout.C: read latexheader and latexfooter tags
5015
5016 2003-03-14  John Levon  <levon@movementarian.org>
5017
5018         * text2.C: rewrite ::status() a bit
5019
5020 2003-03-13  John Levon  <levon@movementarian.org>
5021
5022         * lyxtext.h: add some docs
5023
5024 2003-03-13  John Levon  <levon@movementarian.org>
5025
5026         * lyxtext.h:
5027         * text.C:
5028         * text2.C:
5029         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5030
5031 2003-03-13  John Levon  <levon@movementarian.org>
5032
5033         * text3.C: fix appendix redrawing
5034
5035 2003-03-13  John Levon  <levon@movementarian.org>
5036
5037         * text.C (setHeightOfRow):
5038         * rowpainter.h:
5039         * rowpainter.C: make appendix mark have the text
5040           "Appendix" so the user knows what it is
5041
5042         * LColor.h:
5043         * LColor.C: s/appendixline/appendix/ from above
5044
5045 2003-03-13  John Levon  <levon@movementarian.org>
5046
5047         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5048
5049         * text.C: fix a getChar(pos) bug properly
5050
5051 2003-03-13  Angus Leeming  <leeming@lyx.org>
5052
5053         * commandtags.h:
5054         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5055         Probably only temporary. Let's see how things pan out.
5056
5057         * BufferView.C (unlockInset):
5058         * BufferView_pimpl.C (fitCursor):
5059         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5060
5061         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5062         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5063
5064         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5065         new functions that convert ParagraphParameters to and from a string.
5066
5067         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5068         BufferView::Pimpl's dispatch.
5069         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5070
5071 2003-03-13 André Pönitz <poenitz@gmx.net>
5072
5073         * lyxfunc.C:
5074         * text3.C:
5075         * factory.C: make it aware of InsetEnv
5076
5077 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5078
5079         * text2.C (setCursor): never ask for one past last
5080         (setCursor): add some debugging messages.
5081
5082         * text.C (singleWidth): never ask for one past last
5083         (singleWidth): ditto
5084         (leftMargin): ditto
5085         (rightMargin): ditto
5086         (rowBreakPoint): ditto
5087         (setHeightOfRow): ditto
5088         (prepareToPrint): ditto
5089
5090         * rowpainter.C (paintBackground): never ask for one past last
5091         (paintText): never ask for one past last
5092
5093         * paragraph_pimpl.C (getChar): make the assert stricter, never
5094         allow the one past last pos to be taken
5095
5096         * paragraph.C (getChar): ws changes only
5097
5098         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5099         (numberOfSeparators): ditto
5100         (numberOfHfills): ditto
5101
5102 2003-03-12  John Levon  <levon@movementarian.org>
5103
5104         * author.h:
5105         * author.C:
5106         * bufferparams.h:
5107         * bufferparams.C:
5108         * paragraph_funcs.C: fix per-buffer authorlists
5109
5110 2003-03-12  John Levon  <levon@movementarian.org>
5111
5112         * text.C: fix newline in right address
5113
5114 2003-03-12  Angus Leeming  <leeming@lyx.org>
5115
5116         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5117         duplicate those in LyXFunc::dispatch.
5118
5119         * commandtags.h:
5120         * LyXAction.C:
5121         * ToolbarDefaults.C:
5122         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5123         Add LFUN_FONTFREE_UPDATE.
5124
5125         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5126         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5127
5128         * bufferview_func.[Ch]: several new functions to facilliate
5129         transfer of data to and from the character dialog.
5130
5131 2003-03-12  John Levon  <levon@movementarian.org>
5132
5133         * buffer.C:
5134         * paragraph.h:
5135         * paragraph.C:
5136         * paragraph_funcs.C:
5137         * paragraph_pimpl.C:
5138         * sgml.C:
5139         * tabular.C:
5140         * text.C:
5141         * text3.C: remove META_NEWLINE in favour of an inset
5142
5143         * rowpainter.h:
5144         * rowpainter.C: remove paintNewline (done by inset)
5145
5146 2003-03-12  John Levon  <levon@movementarian.org>
5147
5148         * paragraph_pimpl.C: complain about bad getChar()s
5149         for a while at least
5150
5151 2003-03-12  John Levon  <levon@movementarian.org>
5152
5153         * buffer.h:
5154         * buffer.C: move paragraph read into a separate function,
5155         a little renaming to reflect that.
5156
5157         * bufferparams.h:
5158         * bufferparams.C: remove the author_ids map, not necessary now
5159
5160         * factory.h:
5161         * factory.C: moved Buffer::readInset to here
5162
5163         * paragraph_funcs.h:
5164         * paragraph_funcs.C: readParagraph free function moved from
5165         buffer.C
5166
5167         * tabular.C: name change
5168
5169 2003-03-12  John Levon  <levon@movementarian.org>
5170
5171         * buffer.C:
5172         * ParagraphParameters.C: move par params input to
5173         a read() method
5174
5175         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5176         behave like a normal read from the stream wrt reading
5177         a line vs. a \\token
5178
5179 2003-03-12  John Levon  <levon@movementarian.org>
5180
5181         * paragraph.C:
5182         * ParagraphParameters.h:
5183         * ParagraphParameters.C: move output code to a
5184         ::write() method
5185
5186 2003-03-12  John Levon  <levon@movementarian.org>
5187
5188         * BufferView.C (insertLyXFile):
5189         * buffer.h:
5190         * buffer.C:
5191         * tabular.C: use a parlist iterator for creating the
5192           document.
5193
5194 2003-03-12  John Levon  <levon@movementarian.org>
5195
5196         * buffer.C: make current_change static local not
5197           static file-scope
5198
5199 2003-03-12  John Levon  <levon@movementarian.org>
5200
5201         * buffer.C: fix insertStringAsLines for change tracking
5202
5203 2003-03-12  John Levon  <levon@movementarian.org>
5204
5205         * BufferView.C:
5206         * tabular.C:
5207         * buffer.h:
5208         * buffer.C:
5209         * bufferparams.h:
5210         * bufferparams.C: move author list into params. Rename some
5211           functions. Move the header reading into a separate token
5212           loop. Move the header token reading into BufferParams.
5213
5214 2003-03-12  John Levon  <levon@movementarian.org>
5215
5216         * changes.C: put debug inside lyxerr.debugging() checks
5217
5218 2003-03-11 André Pönitz <poenitz@gmx.net>
5219
5220         * factory.C: make it aware of InsetHFill
5221
5222 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5223
5224         * buffer.C (latexParagraphs): move function from here...
5225         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5226         args.
5227
5228 2003-03-10  Angus Leeming  <leeming@lyx.org>
5229
5230         * LyXAction.C (init): fix bug in poplating array with multiple entries
5231         with the same LFUN (spotted by JMarc).
5232
5233 2003-03-10  John Levon  <levon@movementarian.org>
5234
5235         * text.C:
5236         * text2.C: move getColumnNearX() near its
5237         only call site
5238
5239 2003-03-10  John Levon  <levon@movementarian.org>
5240
5241         * text.C: fix break before a minipage
5242
5243 2003-03-10  John Levon  <levon@movementarian.org>
5244
5245         * text.C: fix the last commit
5246
5247 2003-03-09  John Levon  <levon@movementarian.org>
5248
5249         * lyxtext.h:
5250         * text.C:
5251         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5252         bug 365 (don't break before insets unless needed). Don't
5253         return a value > last under any circumstances.
5254
5255 2003-03-09  Angus Leeming  <leeming@lyx.org>
5256
5257         * BufferView_pimpl.C (trackChanges, dispatch): call
5258         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5259
5260 2003-03-09  Angus Leeming  <leeming@lyx.org>
5261
5262         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5263         than Dialogs::showAboutlyx().
5264
5265 2003-03-09  Angus Leeming  <leeming@lyx.org>
5266
5267         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5268         than Dialogs::showTabularCreate().
5269
5270 2003-03-09  John Levon  <levon@movementarian.org>
5271
5272         * lyxtext.h:
5273         * text.C:
5274         * text2.C: 3rd arg to nextBreakPoint was always the same.
5275           Use references.
5276
5277 2003-03-08  John Levon  <levon@movementarian.org>
5278
5279         * lyxrow.C:
5280         * paragraph.C:
5281         * paragraph.h:
5282         * rowpainter.C:
5283         * text.C:
5284         * text2.C: Remove the "main" bit from the "main body"
5285           notion.
5286
5287 2003-03-08  John Levon  <levon@movementarian.org>
5288
5289         * text.C (leftMargin): The left margin of an empty
5290         manual label paragraph should not include the label width
5291         string length.
5292
5293         * text.C (prepareToPrint): don't attempt to measure hfills
5294         for empty manual label paragraphs - the answer should be 0
5295
5296 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5297
5298         * CutAndPaste.C: remove commented code and reindent.
5299
5300 2003-03-08  John Levon  <levon@movementarian.org>
5301
5302         * lyxfunc.h:
5303         * lyxfunc.C: move reloadBuffer()
5304
5305         * BufferView.h:
5306         * BufferView.C: to here
5307
5308         * lyxvc.C: add comment
5309
5310         * vc-backend.h:
5311         * vc-backend.C: call bv->reload() to avoid
5312           getStatus() check on MENURELOAD
5313
5314 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5315
5316         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5317         to an old format .dep file.
5318
5319 2003-03-07  Angus Leeming  <leeming@lyx.org>
5320
5321         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5322         when the LFUN_MOUSE_RELEASE should have been handled by
5323         inset->localDispatch.
5324
5325 2003-03-07  Angus Leeming  <leeming@lyx.org>
5326
5327         * BufferView_pimpl.C (dispatch):
5328         * LyXAction.C (init):
5329         * ToolbarDefaults.C (init):
5330         * commandtags.h:
5331         * lyxfunc.C (getStatus):
5332         remove LFUN_INSET_GRAPHICS.
5333
5334         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5335
5336 2003-03-07  Angus Leeming  <leeming@lyx.org>
5337
5338         * commandtags.h:
5339         * LyXAction.C (init):
5340         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5341
5342         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5343
5344         * commandtags.h:
5345         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5346
5347         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5348         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5349
5350 2003-03-07  Angus Leeming  <leeming@lyx.org>
5351
5352         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5353         remove "ert".
5354
5355 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5356
5357         * ParagraphList.C (front): new function
5358         (back): implement
5359
5360 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5361
5362         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5363         and top_row_offset_. removed var first_y.
5364         * text.C (top_y):
5365         * text2.C (LyXText, removeRow):
5366         * text3.C:
5367         * BufferView_pimpl.C:
5368         use these methods instead of using first_y
5369
5370 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5371
5372         * text2.C (pasteSelection): adjust for checkPastePossible
5373
5374         * CutAndPaste.C: remove Paragraph * buf and replace with
5375         ParagraphList paragraphs.
5376         (DeleteBuffer): delete
5377         (cutSelection): change the tc type to textclass_type
5378         (copySelection): change the tc type to textclass_type
5379         (copySelection): adjust for ParagraphList
5380         (pasteSelection): change the tc type to textclass_type
5381         (pasteSelection): adjust for Paragraphlist
5382         (nrOfParagraphs): simplify for ParagraphList
5383         (checkPastePossible): simplify for ParagraphList
5384         (checkPastePossible): remove unused arg
5385
5386         * ParagraphList.C (insert): handle the case where there are no
5387         paragraphs yet.
5388
5389         * CutAndPaste.h: make CutAndPaste a namespace.
5390
5391         * text3.C (dispatch): adjust
5392
5393         * text.C (breakParagraph): add a ParagraphList as arg
5394
5395         * paragraph_funcs.C (breakParagraph): change to take a
5396         BufferParams and a ParagraphList as args.
5397         (breakParagraphConservative): ditto
5398         (mergeParagraph): ditto
5399         (TeXDeeper): add a ParagraphList arg
5400         (TeXEnvironment): ditto
5401         (TeXOnePar): ditto
5402
5403         * buffer.C (readLyXformat2): adjust
5404         (insertStringAsLines): adjust
5405         (latexParagraphs): adjust
5406
5407         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5408         (cutSelection): adjust
5409         (pasteSelection): adjust
5410
5411         * BufferView_pimpl.C (insertInset): adjust
5412
5413 2003-03-05  Angus Leeming  <leeming@lyx.org>
5414
5415         * commandtags.h:
5416         * LyXAction.C (init):
5417         * BufferView_pimpl.C (dispatch):
5418         * lyxfunc.C (getStatus):
5419         remove LFUN_CHILD_INSERT.
5420
5421         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5422
5423 2003-03-05  Angus Leeming  <leeming@lyx.org>
5424
5425         * commandtags.h:
5426         * LyXAction.C (init):
5427         * src/factory.C (createInset):
5428         * lyxfunc.C (getStatus):
5429         * text3.C (dispatch):
5430         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5431
5432         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5433
5434 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5435
5436         * ParagraphList.C (insert): handle insert right before end()
5437         (erase): fix cases where it can be first or last paragraph.
5438
5439 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5440
5441         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5442         Paragraph::next and Paragraph::previous
5443         (TeXOnePar): ditto
5444
5445         * text.C (breakParagraph): adjust
5446
5447         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5448         BufferParams& as arg.
5449         (breakParagraph): use ParagraphList::insert
5450         (breakParagraphConservative): take a Buffer* instead of a
5451         BufferParams& as arg.
5452         (breakParagraphConservative): use ParagraphList::insert.
5453
5454         * buffer.C (insertStringAsLines): un-const it
5455         (insertStringAsLines): adjust
5456
5457         * ParagraphList.C (insert): new function
5458
5459         * CutAndPaste.C (pasteSelection): adjust
5460
5461         * text.C (backspace): adjust
5462
5463         * tabular.C (SetMultiColumn): adjust
5464
5465         * CutAndPaste.C (cutSelection): adjust
5466         (pasteSelection): adjust
5467
5468         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5469         Buffer const * as arg
5470
5471         * ParagraphList.C (erase): new function
5472         * paragraph_funcs.C (mergeParagraph): use it
5473         (mergeParagraph): make it take a Buffer* instead of a
5474         BufferParams* as arg
5475
5476         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5477         as arg
5478         (breakParagraphConservative): ditto
5479
5480         * paragraph.h: remove the breakParagraph friend
5481
5482         * paragraph.C (eraseIntern): new function
5483         (setChange): new function
5484
5485         * paragraph_funcs.C (mergeParagraph): make it take a
5486         ParagraphList::iterator instead of a Paragraph *, adjust
5487         accordingly.
5488
5489         * paragraph.h: move an #endif so that the change tracking stuff
5490         also works in the NO_NEXT case.
5491
5492 2003-03-04  Angus Leeming  <leeming@lyx.org>
5493
5494         * commandtags.h:
5495         * LyXAction.C: new LFUN_INSET_MODIFY.
5496
5497         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5498         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5499
5500 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5501
5502         * several files: ws changes only
5503
5504         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5505         (TeXEnvironment): ditto
5506         (TeXDeeper): ditto
5507
5508         * buffer.C (makeLaTeXFile): adjust
5509         (latexParagraphs): make it take ParagraphList::iterator as args
5510
5511 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5512
5513         * buffer.C (latexParagraphs): adjust
5514
5515         * paragraph.C (TeXOnePar): move function...
5516         (optArgInset): move function...
5517         (TeXEnvironment): move function...
5518         * paragraph_pimpl.C (TeXDeeper): move function...
5519         * paragraph_funcs.C: ...here
5520
5521         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5522
5523 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5524
5525         * buffer.C (readInset): remove compability code for old Figure and
5526         InsetInfo insets
5527
5528 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5529
5530         * buffer.C: ws changes
5531         (readInset):
5532
5533         * BufferView_pimpl.C: ditto
5534         * author.C: ditto
5535         * buffer.h: ditto
5536         * bufferlist.h: ditto
5537         * changes.h: ditto
5538         * lyxfunc.C: ditto
5539
5540 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5541
5542         * converter.[Ch]: split into itself +
5543         * graph.[Ch]
5544         * format.[Ch]
5545         * Makefile.am: += graph.[Ch] + format.[Ch]
5546         * MenuBackend.C
5547         * buffer.C
5548         * exporter.C
5549         * importer.C
5550         * lyx_main.C
5551         * lyxfunc.C
5552         * lyxrc.C: added #include "format.h"
5553
5554 2003-02-27  Angus Leeming  <leeming@lyx.org>
5555
5556         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5557           a label.
5558
5559         * factory.C (createInset): add "label" to the factory.
5560
5561         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5562           string and do no more.
5563
5564 2003-02-27  Angus Leeming  <leeming@lyx.org>
5565
5566         * commandtags.h:
5567         * LyXAction.C (init):
5568         * factory.C (createInset):
5569         * BufferView_pimpl.C (dispatch):
5570           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5571
5572         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5573
5574         * lyxfunc.C (dispatch):
5575         * text3.C (dispatch): pass name to params2string.
5576
5577 2003-02-26  Angus Leeming  <leeming@lyx.org>
5578
5579         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5580           blocks together.
5581           Rearrange the ~includes. Strip out the unnecessary ones.
5582
5583         * factory.C (createInset): reformat.
5584           create new insets for the various LFUN_XYZ_APPLY lfuns.
5585
5586 2003-02-26  John Levon  <levon@movementarian.org>
5587
5588         * lyxrow.h:
5589         * lyxrow.C: add isParStart,isParEnd helpers
5590
5591         * paragraph.h: make isInserted/DeletedText take refs
5592
5593         * paragraph_funcs.h:
5594         * paragraph_funcs.C: remove #if 0'd code
5595
5596         * lyxtext.h:
5597         * text3.C:
5598         * text2.C:
5599         * text.C: use lyxrow helpers above.
5600           Move draw and paint routines to RowPainter.
5601           Make several methods use refs not pointers.
5602           Make backgroundColor() const.
5603           Add markChangeInDraw(), isInInset().
5604           Merge changeRegionCase into changeCase.
5605           Make workWidth() shouldn't-happen code into an Assert.
5606
5607         * rowpainter.h:
5608         * rowpainter.C: new class for painting a row.
5609
5610         * vspace.h:
5611         * vspace.C: make inPixels take a ref
5612
5613 2003-02-26  Angus Leeming  <leeming@lyx.org>
5614
5615         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5616         LFUN_REF_APPLY.
5617
5618 2003-02-25  John Levon  <levon@movementarian.org>
5619
5620         * ispell.C: give the forked command a more accurate name
5621
5622 2003-02-22  John Levon  <levon@movementarian.org>
5623
5624         * toc.h:
5625         * toc.C: make TocItem store an id not a Paragraph *
5626           (bug #913)
5627
5628 2003-02-21  Angus Leeming  <leeming@lyx.org>
5629
5630         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5631           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5632           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5633           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5634           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5635           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5636
5637         * BufferView_pimpl.C (dispatch):
5638         * LyXAction.C (init):
5639         * factory.C (createInset):
5640         * lyxfunc.C (getStatus, dispatch):
5641         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5642
5643 2003-02-21  Angus Leeming  <leeming@lyx.org>
5644
5645         * BufferView_pimpl.C (MenuInsertLyXFile):
5646         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5647         * lyxfunc.C (menuNew, open, doImport):
5648           no longer pass a LyXView & to fileDlg.
5649
5650 2003-02-21  Angus Leeming  <leeming@lyx.org>
5651
5652         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5653         * LyXAction.C: change, BIBKEY to BIBITEM.
5654         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5655         Change InsetBibKey to InsetBibitem.
5656         Change BIBKEY_CODE to BIBITEM_CODE.
5657         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5658         * factory.C: replace insetbib.h with insetbibitem.h.
5659         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5660         * paragraph.C: replace insetbib.h with insetbibitem.h.
5661         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5662         Change bibkey() to bibitem().
5663         * text.C: remove insetbib.h.
5664         * text2.C: replace insetbib.h with insetbibitem.h.
5665         change bibkey() to bibitem().
5666         * text3.C: remove insetbib.h.
5667         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5668
5669 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5670
5671         * lyxrc.C (output): enclose user email in quotes (in case there are
5672         several words)
5673
5674 2003-02-18  John Levon  <levon@movementarian.org>
5675
5676         * buffer.h: add std::
5677
5678 2003-02-17  John Levon  <levon@movementarian.org>
5679
5680         * SpellBase.h:
5681         * ispell.h:
5682         * ispell.C:
5683         * pspell.h:
5684         * pspell.C: reworking. Especially in ispell, a large
5685           number of clean ups and bug fixes.
5686
5687         * lyxfunc.C: fix revert to behave sensibly
5688
5689 2003-02-17 André Pönitz <poenitz@gmx.net>
5690
5691         * LyXAction.C:
5692         * commandtags.h: new LFUN_INSERT_BIBKEY
5693
5694         * layout.h:
5695         * lyxlayout.C:
5696         * buffer.C:
5697         * factory.C:
5698         * text.C:
5699         * text2.C:
5700         * text3.C:
5701         * paragraph.[Ch]:
5702         * paragraph_func.C: remove special bibkey handling
5703
5704 2003-02-17  John Levon  <levon@movementarian.org>
5705
5706         * text.C (Delete): fix case where delete at the end of
5707           the very first paragraph would not merge the pars
5708
5709 2003-02-17  John Levon  <levon@movementarian.org>
5710
5711         * lyxrow.C: fix lastPrintablePos()
5712
5713 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5714
5715         * bufferparams.C (writeLaTeX): add a std:here
5716
5717         * buffer.C: and remove a using directive there
5718
5719 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5720
5721         * buffer.C (makeLaTeXFile): move the code that generates the
5722           preamble...
5723
5724         * bufferparams.C (writeLaTeX): ... in this new method
5725
5726         * LaTeXFeatures.C (getEncodingSet): make const
5727           (getLanguages): make const
5728
5729         * MenuBackend.C (binding): returns the binding associated to this
5730           action
5731           (add): sets the status of each item by calling getStatus. Adds
5732           some intelligence.
5733           (read): add support for OptSubMenu
5734           (expand): remove extra separator at the end of expanded menu
5735
5736 2003-02-15  John Levon  <levon@movementarian.org>
5737
5738         * BufferView.C:
5739         * BufferView_pimpl.C:
5740         * bufferlist.h:
5741         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5742           inset code that had no actual effect. Remove unneeded status
5743           code.
5744
5745 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5746
5747         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5748           in preamble
5749
5750 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5751
5752         * text.C (drawLengthMarker): also draw an arrow marker for
5753           symbolic lengths (medskip...)
5754
5755 2003-02-14  John Levon  <levon@movementarian.org>
5756
5757         * tabular.h:
5758         * tabular.C: better method names
5759
5760 2003-02-14  John Levon  <levon@movementarian.org>
5761
5762         * BufferView_pimpl.C:
5763         * bufferlist.C:
5764         * buffer.C:
5765         * converter.C:
5766         * lyx_cb.C:
5767         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5768           it's a more accurate name. Remove some pointless uses.
5769
5770 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5771
5772         * text2.C (LyXText): change order of initilizers to shut off
5773           warnings
5774
5775 2003-02-14  John Levon  <levon@movementarian.org>
5776
5777         * buffer.C: use ParIterator for getParFromID()
5778
5779         * paragraph.h:
5780         * paragraph.C:
5781         * paragraph_pimpl.h:
5782         * paragraph_pimpl.C: remove unused getParFromID()
5783
5784 2003-02-14  John Levon  <levon@movementarian.org>
5785
5786         * buffer.C: remove some very old #if 0'd parse code
5787
5788 2003-02-13  John Levon  <levon@movementarian.org>
5789
5790         * text.h:
5791         * text.C:
5792         * text2.C: move hfillExpansion(), numberOfSeparators(),
5793           rowLast(), rowLastPrintable(), numberofHfills(),
5794           numberOfLabelHfills() ...
5795
5796         * lyxrow.h:
5797         * lyxrow.C: ... to member functions here.
5798
5799         * paragraph.h:
5800         * paragraph.C:
5801         * lyxtext.h:
5802         * text.C: remove LyXText::beginningOfMainBody(), and call
5803           p->beginningOfMainBody() directly. Move the check for
5804           LABEL_MANUAL into the latter.
5805
5806         * text.h:
5807         * text.C:
5808         * text2.C:
5809         * vspace.C:
5810         * BufferView.h:
5811         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5812
5813         * text.h:
5814         * text.C:
5815         * text2.C:
5816         * text3.C:
5817         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5818           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5819
5820 2003-02-13  John Levon  <levon@movementarian.org>
5821
5822         * CutAndPaste.C: remove debug
5823
5824 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5825
5826         * paragraph.C (asString): remove two unused variables
5827
5828         * lyxtextclass.C (readTitleType):
5829           (Read):
5830           (LyXTextClass): handle new members titletype_ and titlename_
5831
5832         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5833
5834 2003-02-09  John Levon  <levon@movementarian.org>
5835
5836         * buffer.h:
5837         * buffer.C: replace hand-coded list with a map for the dep clean
5838
5839 2003-02-08  John Levon  <levon@movementarian.org>
5840
5841         * LaTeX.C: consolidate code into showRunMessage() helper
5842
5843 2003-02-08  John Levon  <levon@movementarian.org>
5844
5845         * lyxfind.C:
5846         * lyxtext.h:
5847         * text2.C:
5848         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5849           and pass the size in explicitly
5850
5851         * BufferView_pimpl.h:
5852         * BufferView_pimpl.C:
5853         * BufferView.h:
5854         * BufferView.C: add getCurrentChange()
5855
5856         * BufferView_pimpl.h:
5857         * BufferView_pimpl.C: handle change lfuns
5858
5859         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5860           for changes. Mark pasted paragraphs as new.
5861
5862         * support/lyxtime.h:
5863         * support/lyxtime.C:
5864         * DepTable.C: abstract time_t as lyx::time_type
5865
5866         * LColor.h:
5867         * LColor.C: add colours for new text, deleted text, changebars
5868
5869         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5870           package use "usenames" option.
5871
5872         * commandtags.h:
5873         * lyxfunc.C:
5874         * LyXAction.C: add change lfuns
5875
5876         * Makefile.am:
5877         * author.h:
5878         * author.C: author handling
5879
5880         * buffer.h:
5881         * buffer.C: add a per-buffer author list, with first entry as
5882           current author. Handle new .lyx tokens for change tracking. Output
5883           author list to .lyx file. Output dvipost stuff to .tex preamble.
5884           Bump lyx format to 222.
5885
5886         * bufferlist.h:
5887         * bufferlist.C: add setCurrentAuthor() to reset current author details
5888           in all buffers.
5889
5890         * bufferparams.h:
5891         * bufferparams.C: add param for tracking
5892
5893         * bufferview_funcs.C: output change info in minibuffer
5894
5895         * Makefile.am:
5896         * changes.h:
5897         * changes.C: add change-tracking structure
5898
5899         * debug.h:
5900         * debug.C: add CHANGES debug flag
5901
5902         * lyxfind.h:
5903         * lyxfind.C: add code for finding the next change piece
5904
5905         * lyxrc.h:
5906         * lyxrc.C: add user_name and user_email
5907
5908         * lyxrow.h:
5909         * lyxrow.C: add a metric for the top of the text line
5910
5911         * lyxtext.h:
5912         * text.C: implement accept/rejectChange()
5913
5914         * lyxtext.h:
5915         * text.C: paint changebars. Paint new/deleted text in the chosen
5916         colours. Strike through deleted text.
5917
5918         * paragraph.h:
5919         * paragraph.C:
5920         * paragraph_pimpl.h:
5921         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5922           in the current change to the insert functions. Rework erase to
5923           mark text as deleted, adding an eraseIntern() and a range-based
5924           erase(). Implement per-paragraph change lookup and
5925           accept/reject.
5926
5927         * paragraph_funcs.C: Fixup paste for change tracking.
5928
5929         * tabular.C: mark added row/columns as new.
5930
5931         * text.C: fix rowLast() to never return -1. Don't allow
5932           spellchecking of deleted text. Track transpose changes. Don't
5933           allow paragraph break or merge where appropriate.
5934
5935         * text2.C: leave cursor at end of selection after a cut.
5936
5937 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5938
5939         * text.C (getLengthMarkerHeight):
5940         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5941         visible on screen too.
5942
5943 2003-02-07  John Levon  <levon@movementarian.org>
5944
5945         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5946
5947 2003-02-05  Angus Leeming  <leeming@lyx.org>
5948
5949         * lyxserver.C (read_ready): revert my patch of 11 September last year
5950         as it sends PC cpu through the roof. Presumably this means that
5951         the lyxserver will no longer run on an Alpha...
5952
5953 2003-01-30  Angus Leeming  <leeming@lyx.org>
5954
5955         * factory.C (createInset): create an InsetCommandParam of type "index"
5956         and use it to 'do the right thing'.
5957
5958         * text2.C (getStringToIndex): ensure that cursor position is always
5959         reset to the reset_cursor position.
5960
5961 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5962
5963         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5964         disabled.
5965
5966 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5967
5968         * bufferview.C:
5969         * lyxcb.C:
5970         * lyxfunc.C: Output messages with identical spelling, punctuation,
5971         and spaces
5972
5973 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5974
5975         * MenuBackend.C (expandFormats): List only viewable export formats
5976         in "View" menu
5977
5978         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5979         message
5980
5981         * lyxfunc.C (getStatus): Make sure that formats other than
5982         "fax" can also be disabled
5983
5984 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5985
5986         * text3.C (dispatch): put the lfuns that insert insets in 3
5987         groups, and call doInsertInset with appropriate arguments.
5988         (doInsertInset): new function, that creates an inset and inserts
5989         it according to some boolean parameters.
5990
5991 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5992
5993         * buffer.C (readFile): remember to pass on 'par' when calling
5994         readFile recursively.
5995
5996 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5997
5998         * MenuBackend.C (expandFormats): add "..." to import formats.
5999
6000 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6001
6002         * paragraph.C (asString): Remove XForms RTL hacks.
6003
6004 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6005         * buffer.C: fix typo
6006
6007 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6008
6009         * Makefile.am (LIBS): delete var
6010         (lyx_LDADD): add @LIBS@ here instead.
6011
6012 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6013
6014         * Clarify the meaning of "wheel mouse jump"
6015
6016 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6017
6018         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6019         tabular in a float
6020
6021 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6022
6023         * importer.C (Loaders): do not preallocate 3 elements in the
6024         vector, since one ends up with 6 elements otherwise
6025
6026 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6027
6028         * DepTable.C (write): write the file name as last element of the
6029         .dep file (because it may contain spaces)
6030         (read): read info in the right order
6031
6032 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6033
6034         * paragraph_pimpl.C (simpleTeXBlanks):
6035         (simpleTeXSpecialChars):
6036         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6037
6038         * tabular.C (latex): add some missing case statements. Reindent.
6039
6040         * MenuBackend.C (expandToc): remove unused variable.
6041
6042 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6043
6044         * LColor.C:
6045         * LaTeX.C:
6046         * LyXAction.C:
6047         * MenuBackend.C:
6048         * buffer.C:
6049         * exporter.C:
6050         * lyxfunc.C:
6051         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6052         and the like.
6053
6054 2003-01-05  John Levon  <levon@movementarian.org>
6055
6056         * BufferView.h:
6057         * BufferView.C: add getEncoding()
6058
6059         * kbsequence.h:
6060         * kbsequence.C: do not store last keypress
6061
6062         * lyxfunc.h:
6063         * lyxfunc.C: store last keypress here instead. Pass encoding
6064           to getISOEncoded()
6065
6066 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6067
6068         * lyx_main.C (init): remove annoying error message when following
6069         symbolic links (bug #780)
6070
6071 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6072
6073         * text.C (insertChar):
6074         * lyxrc.C (getDescription): remove extra spaces
6075
6076 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6077
6078         * lyxrc.C (getDescription): remove extra spaces
6079
6080 2002-12-20  John Levon  <levon@movementarian.org>
6081
6082         * text3.C: hack fix for page up/down across tall rows
6083
6084 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6085
6086         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6087         not been invoked
6088
6089 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6090
6091         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6092         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6093         thesaurus is not compiled in
6094
6095 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6096
6097         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6098
6099 2002-12-16  Angus Leeming  <leeming@lyx.org>
6100
6101         * lyxrc.[Ch]:
6102         * lyx_main.C (init): remove override_x_deadkeys stuff.
6103
6104 2002-12-12  John Levon  <levon@movementarian.org>
6105
6106         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6107           insert. Only remove shift modifier under strict
6108           circumstances.
6109
6110 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6111
6112         * MenuBackend.C (expandToc): fix crash.
6113
6114 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6115
6116         * MenuBackend.C (expandToc): gettext on float names.
6117
6118 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6119
6120         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6121         implement bool empty() [bug 490]
6122
6123 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6124
6125         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6126
6127 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6128
6129         * several files: ws changes
6130
6131 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6132
6133         * text2.C (setCounter): clean up a bit, use boost.format.
6134         (updateCounters): initialize par upon declaration.
6135
6136         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6137         if the layout exists. We do not just store the layout any more.
6138         (SwitchLayoutsBetweenClasses): use boost.format
6139
6140 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6141
6142         * converter.C (convert): if from and to files are the same, use a
6143         temporary files as intermediary
6144
6145 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6146
6147         * commandtags.h:
6148         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6149
6150 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6151
6152         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6153
6154 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6155
6156         * tabular.C (asciiPrintCell): use string(size, char) instead of
6157         explicit loop.
6158
6159         * sgml.C (openTag): fix order of arguments to string constructor
6160         (closeTag): ditto
6161
6162         * lyxfunc.C (dispatch): use boost.format
6163
6164         * lots of files: change "c" -> 'c'
6165
6166 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6167
6168         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6169
6170 2002-11-25  Angus Leeming  <leeming@lyx.org>
6171
6172         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6173
6174         * lyx_main.C (init): compile fix.
6175
6176 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6177
6178         * lyx_cb.C (start): boost.formatify
6179         do not include <iostream>
6180
6181         * lengthcommon.C: ws only
6182
6183         * boost-inst.C,BoostFormat.h: add more explict instantations
6184
6185 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6186
6187         * lots of files: handle USE_BOOST_FORMAT
6188
6189 2002-11-21  John Levon  <levon@movementarian.org>
6190
6191         * pspell.C: fix compile
6192
6193 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6194
6195         * lyxfunc.C (dispatch): use boost::format
6196         (open): ditto
6197         (doImport): ditto
6198
6199         * lyxfont.C (stateText): use boost::format
6200
6201         * lyx_main.C (LyX): use boost::format
6202         (init): ditto
6203         (queryUserLyXDir): ditto
6204         (readRcFile): ditto
6205         (parse_dbg): ditto
6206         (typedef boost::function): use the recommened syntax.
6207
6208         * importer.C (Import): use boost::format
6209
6210         * debug.C (showLevel): use boost::format
6211
6212         * converter.C (view): use boost::format
6213         (convert): ditto
6214         (move): ditto
6215         (scanLog): ditto
6216
6217         * bufferview_funcs.C (currentState): use boost::format
6218
6219         * bufferlist.C (emergencyWrite): use boost::format
6220
6221         * buffer.C (readLyXformat2): use boost::format
6222         (parseSingleLyXformat2Token): ditto
6223
6224         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6225
6226         * LaTeX.C (run): use boost::format
6227
6228         * Chktex.C (scanLogFile): use boost::format
6229
6230         * BufferView_pimpl.C (savePosition): use boost::format
6231         (restorePosition): ditto
6232         (MenuInsertLyXFile): ditto
6233
6234         * BoostFormat.h: help file for explicit instation.
6235
6236 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6237
6238         * tabular.C (latex): Support for block alignment in fixed width
6239         columns.
6240
6241 2002-11-17  John Levon  <levon@movementarian.org>
6242
6243         * BufferView_pimpl.C:
6244         * lyx_cb.C:
6245         * lyxfunc.C: split filedialog into open/save
6246
6247 2002-11-08  Juergen Vigna  <jug@sad.it>
6248
6249         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6250         by my last patch (hopefully).
6251
6252 2002-11-08  John Levon  <levon@movementarian.org>
6253
6254         * iterators.h:
6255         * iterators.C:
6256         * buffer.h:
6257         * buffer.C:
6258         * paragraph.h:
6259         * paragraph.C:
6260         * toc.h:
6261         * toc.C: ParConstIterator, and use it (from Lars)
6262
6263 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6264
6265         * lyxtextclass.[Ch]: revise and add doxygen comments
6266
6267 2002-11-07  John Levon  <levon@movementarian.org>
6268
6269         * text.C: fix progress value for spellchecker
6270
6271         * toc.C: fix navigate menu for insetwrap inside minipage
6272
6273         * paragraph_funcs.C: added FIXME for suspect code
6274
6275 2002-11-07  John Levon  <levon@movementarian.org>
6276
6277         * BufferView_pimpl.C: fix redrawing of insets
6278           on buffer switch
6279
6280 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6281
6282         * text2.C (updateCounters): fix bug 668
6283
6284 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6285
6286         * text3.C (dispatch): Do not make the buffer dirty when moving the
6287         cursor.
6288
6289 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6290
6291         * vc-backend.C: STRCONV
6292         (scanMaster): ditto
6293
6294         * text2.C (setCounter): STRCONV
6295
6296         * paragraph.C (asString): STRCONV
6297
6298         * lyxlength.C (asString): STRCONV
6299         (asLatexString): ditto
6300
6301         * lyxgluelength.C (asString): STRCONV
6302         (asLatexString): ditto
6303
6304         * lyxfunc.C (dispatch): STRCONV
6305         (open): ditto
6306
6307         * lyxfont.C (stateText): STRCONV
6308
6309         * importer.C (Import): STRCONV
6310
6311         * counters.C (labelItem): STRCONV
6312         (numberLabel): ditto
6313         (numberLabel): remove unused ostringstream o
6314
6315         * chset.C: STRCONV
6316         (loadFile): ditto
6317
6318         * bufferview_funcs.C (currentState): STRCONV
6319
6320         * buffer.C (readFile): STRCONV
6321         (asciiParagraph): ditto
6322         (makeLaTeXFile): ditto
6323
6324         * Spacing.C (writeEnvirBegin): STRCONV
6325
6326         * LaTeXFeatures.C (getLanguages): STRCONV
6327         (getPackages): ditto
6328         (getMacros): ditto
6329         (getBabelOptions): ditto
6330         (getTClassPreamble): ditto
6331         (getLyXSGMLEntities): ditto
6332         (getIncludedFiles): ditto
6333
6334         * LaTeX.C: STRCONV
6335         (run): ditto
6336         (scanAuxFile): ditto
6337         (deplog): ditto
6338
6339         * LString.h: add the STRCONV macros
6340
6341         * BufferView_pimpl.C (savePosition): STRCONV
6342         (restorePosition): ditto
6343         (MenuInsertLyXFile): ditto
6344
6345         * vc-backend.C (scanMaster): change from submatch[...] to
6346         submatch.str(...)
6347
6348         * funcrequest.C: include config.h
6349
6350         * factory.C: include config.h
6351
6352         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6353
6354         * box.C: include config.h
6355
6356         * LaTeX.C (scanAuxFile): change from submatch[...] to
6357         submatch.str(...)
6358         (deplog): ditto
6359
6360 2002-10-25  Angus Leeming  <leeming@lyx.org>
6361
6362         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6363
6364         * ispell.[Ch] (setError): new method.
6365         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6366         Use setError() insetead of goto END.
6367
6368         * lyx_cb.C (AutoSave): move out child process into new class
6369         AutoSaveBuffer.
6370
6371 2002-10-30  John Levon  <levon@movementarian.org>
6372
6373         * text3.C: make start appendix undoable
6374
6375 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6376
6377         * lyxlength.C (inPixels): Fix returned value.
6378
6379         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6380         environment.
6381
6382 2002-10-24  Angus Leeming  <leeming@lyx.org>
6383
6384         * lyxgluelength.h: no need to forward declare BufferParams
6385         or BufferView, so don't.
6386
6387 2002-10-21  John Levon  <levon@movementarian.org>
6388
6389         * BufferView.C: menuUndo ->undo, redo
6390
6391         * BufferView.h: document, remove dead, make some methods private
6392
6393         * paragraph_funcs.h:
6394         * paragraph_funcs.C:
6395         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6396
6397         * buffer.h:
6398         * buffer.C:
6399         * sgml.h:
6400         * sgml.C: move sgml open/close tag into sgml.C
6401
6402         * bufferview_funcs.h: unused prototype
6403
6404         * lyxfunc.h:
6405         * lyxfunc.C: remove unused
6406
6407         * lyxtext.h:
6408         * text.C: remove unused
6409
6410 2002-10-21  John Levon  <levon@movementarian.org>
6411
6412         * BufferView.h:
6413         * BufferView.C:
6414         * BufferView_pimpl.h:
6415         * BufferView_pimpl.C: fix mouse wheel handling based on
6416           patch from Darren Freeman
6417
6418 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6419
6420         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6421
6422 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6423
6424         * lyxlength.C (inPixels): Fix hanfling of negative length.
6425         Fix LyXLength::MU case.
6426
6427 2002-10-16  John Levon  <levon@movementarian.org>
6428
6429         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6430
6431 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6432
6433         * converter.C (view): add support for $$i (file name) and $$p
6434         (file path) for the viewer command. If $$i is not specified, then
6435         it is appended to the command (for compatibility with old syntax)
6436
6437 2002-10-14  Juergen Vigna  <jug@sad.it>
6438
6439         * undo_funcs.C (textHandleUndo): alter the order in which the
6440         new undopar is added to the LyXText, as we have to set first
6441         the right prev/next and then add it as otherwise the rebuild of
6442         LyXText is not correct. Also reset the cursor to the right paragraph,
6443         with this IMO we could remove the hack in "redoParagraphs()".
6444
6445 2002-10-09  Angus Leeming  <leeming@lyx.org>
6446
6447         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6448         to turn off an optimisation if a new inset is to be inserted.
6449
6450 2002-10-11 André Pönitz <poenitz@gmx.net>
6451
6452         * lyxtext.h: make some functions public to allow access
6453         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6454
6455 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6456
6457         * text3.C (dispatch): when changing layout, avoid an infinite loop
6458         [bug #652]
6459
6460 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6461
6462         * lyxrc.C (read): treat a viewer or converter command of "none" as
6463         if it were empty.
6464
6465         * MenuBackend.C (expandFormats): for an update, also allow the
6466         formats that are not viewable
6467
6468         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6469         script if it is newer than the lyxrc.defaults in user directory
6470
6471 2002-10-07 André Pönitz <poenitz@gmx.net>
6472
6473         * text.C: Vitaly Lipatov's small i18n fix
6474
6475 2002-09-25  Angus Leeming  <leeming@lyx.org>
6476
6477         * ispell.h: doxygen fix.
6478
6479 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6480
6481         * buffer.h (readFile): Add a new argument to the method, to allow
6482         reading of old-format templates.
6483
6484 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6485
6486         * toc.C (getTocList): Get TOC from InsetWrap.
6487
6488 2002-09-16  John Levon  <levon@movementarian.org>
6489
6490         * lyxfunc.C: check tabular for cut/copy too
6491
6492 2002-09-12  John Levon  <levon@movementarian.org>
6493
6494         * LyXAction.C: tidy
6495
6496         * factory.h:
6497         * factory.C: add header
6498
6499         * paragraph_funcs.h:
6500         * paragraph_funcs.C: cleanup
6501
6502 2002-09-11  John Levon  <levon@movementarian.org>
6503
6504         * PrinterParams.h: odd/even default to true
6505
6506 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6507
6508         * PrinterParams.h: update printer parameters for new xforms dialog
6509
6510 2002-09-11  Angus Leeming  <leeming@lyx.org>
6511
6512         * lyxserver.C (read_ready): re-write to make it more transparent
6513         and to make it work in coherent fashion under Tru64 Unix.
6514
6515 2002-09-11  André Pönitz <poenitz@gmx.net>
6516
6517         * commandtags.h:
6518         * LyXAction.C:
6519         * text3.C: implement LFUN_WORDSEL
6520
6521 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6522
6523         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6524         make floatlist_ a boost::shared_ptr<FloatList>
6525
6526         * lyxtextclass.C: include FloatList.h
6527         (LyXTextClass): initialize floatlist_
6528         (TextClassTags): add TC_NOFLOAT
6529         (Read): match "nofloat" to TC_NOFLOAT and use it.
6530         (readFloat): modify call to floatlist_
6531         (floats): ditto
6532         (floats): ditto
6533
6534         * FloatList.[Ch] (FloatList): remove commented out float
6535         initialization.
6536         (erase): new function
6537
6538 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6539
6540         * MenuBackend.C (expandToc): fix crash when there is no document
6541         open
6542
6543 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6544
6545         * many files: Add insetwrap.
6546
6547 2002-09-09  John Levon  <levon@movementarian.org>
6548
6549         * text2.C: remove confusing and awkward depth wraparound
6550
6551 2002-09-09  John Levon  <levon@movementarian.org>
6552
6553         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6554
6555         * buffer.h:
6556         * buffer.C: remove getIncludeonlyList()
6557
6558         * paragraph.C:
6559         * lyxfunc.C: remove headers
6560
6561 2002-09-09  Juergen Vigna  <jug@sad.it>
6562
6563         * text.C (getColumnNearX): fix form Michael this is most
6564         probably a cut&paste bug.
6565
6566 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6567
6568         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6569
6570         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6571         references, ws changes.
6572
6573         * text2.C (init): update counters after init
6574         (insertParagraph): no need to set counter on idividual paragraphs.
6575         (setCounter): access the counters object in the textclass object
6576         on in the buffer object.
6577         (updateCounters): ditto
6578
6579         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6580         shared_ptr<Counters> to avoid loading counters.h in all
6581         compilation units.
6582         (LyXTextClass): initialize ctrs_
6583         (TextClassTags): add TC_COUNTER, and ...
6584         (Read): use it here.
6585         (CounterTags): new tags
6586         (readCounter): new function
6587         (counters): new funtion
6588         (defaultLayoutName): return a const reference
6589
6590         * counters.C (Counters): remove contructor
6591         (newCounter): remove a couple of unneeded statements.
6592         (newCounter): simplify a bit.
6593         (numberLabel): some small formatting changes.
6594
6595         * buffer.[Ch]: remove all traces of counters, move the Counters
6596         object to the LyXTextClass.
6597
6598 2002-09-06  Alain Castera  <castera@in2p3.fr>
6599
6600         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6601         package to set the horizontal alignment on fixed width columns.
6602
6603         * lyx_sty.C:
6604         * lyx_sty.h: added tabularnewline macro def.
6605
6606         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6607
6608 2002-09-06  John Levon  <levon@movementarian.org>
6609
6610         * LyXAction.C: tooltips for sub/superscript
6611
6612         * MenuBackend.C: a bit more verbose
6613
6614         * lyxfunc.C: tiny clean
6615
6616         * undo_funcs.C: document undo_frozen
6617
6618 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6619
6620         * counters.C (Counters): add missing algorithm counter.
6621
6622         * text2.C (setCounter): lookup the counter with layouts latexname
6623         instead of by section number.
6624         (setCounter): use a hackish way to lookup the correct enum
6625         counter.
6626         a float name->type change
6627         reset enum couners with counter name directly instead of depth value.
6628
6629         * counters.C (Counters): remove the push_backs, change to use the
6630         float type not the float name.
6631         (labelItem): remove unused string, float name->type change
6632
6633         * counters.h: don't include vector, loose the enums and sects vectors
6634
6635 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6636
6637         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6638         (Read): add float->TC_FLOAT to textclassTags
6639         (Read): and handle it in the switch
6640         (readFloat): new function
6641
6642         * FloatList.C (FloatList): comment out the hardcoded float
6643         definitions.
6644
6645         * lyxlayout.h: ws change.
6646
6647 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6648
6649         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6650
6651 2002-09-03  Angus Leeming  <leeming@lyx.org>
6652
6653         * BufferView_pimpl.h: qualified name is not allowed in member
6654         declaration: WorkArea & Pimpl::workarea() const;
6655
6656         * factory.C: added using std::endl directive.
6657
6658         * text3.C: added using std::find and std::vector directives.
6659
6660 2002-08-29  André Pönitz <poenitz@gmx.net>
6661
6662         * lyxtext.h:
6663         * text2.C: remove unused member number_of_rows
6664
6665         * Makefile.am:
6666         * BufferView2.C: remove file, move contents to...
6667         * BufferView.C: ... here
6668
6669         * BufferView_pimpl.C:
6670         * factory.C: move more inset creation to factory
6671
6672         * vspace.C: avoid direct usage of LyXText, ws changes
6673
6674         * BufferView.[Ch]:
6675                 don't provide direct access to WorkArea, use two simple
6676                 acessors haveSelction() and workHeight() instead
6677
6678
6679 2002-08-29  John Levon  <levon@movementarian.org>
6680
6681         * BufferView_pimpl.C (dispatch): do not continue when
6682           no buffer
6683
6684 2002-08-28  André Pönitz <poenitz@gmx.net>
6685
6686         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6687
6688         * BufferView.h:
6689         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6690
6691 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6692
6693         * buffer.C: increment LYX_FORMAT to 221
6694
6695         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6696         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6697
6698         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6699
6700         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6701
6702 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6703
6704         * factory.C (createInset): use LyXTextClass::floats
6705
6706         * MenuBackend.C (expandFloatListInsert):
6707         (expandFloatInsert):
6708         (expandToc):
6709
6710         * text2.C (setCounter):
6711
6712         * LaTeXFeatures.C (useFloat):
6713         (getFloatDefinitions):
6714
6715         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6716
6717         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6718         floatlist_, with accessor floats().
6719
6720         * FloatList.h: remove global FloatList
6721
6722 2002-08-26  André Pönitz <poenitz@gmx.net>
6723
6724         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6725
6726         * BufferView.h:
6727         * BufferView2.C:
6728         * BufferView_pimpl.C:
6729         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6730
6731 2002-08-25  John Levon  <levon@movementarian.org>
6732
6733         * LyXAction.C: fix margin note description
6734
6735 2002-08-24  John Levon  <levon@movementarian.org>
6736
6737         * buffer.C:
6738         * bufferlist.C:
6739         * bufferview_funcs.C:
6740         * lyxfont.C:
6741         * undo_funcs.C: cleanups
6742
6743         * lyxfunc.C: disable CUT/COPY when no selection
6744
6745 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6746
6747         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6748         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6749
6750         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6751         Add backward compatibility to "mono", "gray" and "no".
6752
6753 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6754
6755         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6756         (and file_format >= 200).
6757
6758 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6759
6760         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6761
6762 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6763
6764         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6765
6766 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6767
6768         * BufferView_pimpl.C:
6769         * LyXAction.C:
6770         * buffer.C:
6771         * commandtags.h:
6772         * lyxfunc.C:
6773         * paragraph.[Ch]:
6774         * text2.C:
6775         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6776         inset and code to make it  work with the paragraph code. The inset
6777         can be anywhere in the paragraph, but will only do the expected
6778         thing in LaTeX if the layout file contains the parameter line
6779                         OptionalArgs    1
6780         (or more generally, a nonzero value) for that layout.
6781
6782 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6783
6784         * paragraph.h: remove the declaration of undefined counters class
6785         function.
6786
6787 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6788
6789         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6790         Dr. Richard Hawkins.
6791
6792 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6793
6794         * paragraph_funcs.h: remove some unneeded includes
6795
6796         * text.C (backspace): pasteParagraph now in global scipe
6797
6798         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6799         (pasteSelection): ditto
6800
6801         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6802         * paragraph_funcs.C (pasteParagraph): ... here
6803
6804 2002-08-20  André Pönitz <poenitz@gmx.net>
6805
6806         * commandtags.h: new LFUNs for swapping/copying table row/colums
6807
6808         * LyXAction.C:
6809         * lyxfunc.C: support for new lfuns
6810
6811 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6812
6813         * tabular.C:
6814         * buffer.[Ch]: remove NO_COMPABILITY stuff
6815
6816 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6817
6818         * boost.C (throw_exception): new file, with helper function for
6819         boost compiled without exceptions.
6820
6821         * paragraph.h:
6822         * lyxlength.C:
6823         * buffer.C:
6824         * ParameterStruct.h:
6825         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6826
6827         * bufferlist.C (emergencyWriteAll): use boost bind
6828
6829         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6830
6831         * text.C: include paragraph_funcs.h
6832         (breakParagraph): breakParagraph is now in global scope
6833
6834         * paragraph_funcs.[Ch]: new files
6835
6836         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6837         global scope
6838
6839         * buffer.C: include paragraph_funcs.h
6840         (insertStringAsLines): breakParagraph is now in global scope
6841
6842         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6843         paragraph_funcs.C
6844
6845         * CutAndPaste.C: include paragraph_funcs.h
6846         (cutSelection): breakParagraphConservative is now in global scope
6847         (pasteSelection): ditto
6848
6849         * buffer.h: declare oprator== and operator!= for
6850         Buffer::inset_iterator
6851
6852         * bufferlist.C (emergencyWrite): don't use fmt(...)
6853
6854         * text3.C: add using std::endl
6855
6856         * BufferView.C (moveCursorUpdate): remove default arg
6857
6858 2002-08-20  André Pönitz <poenitz@gmx.net>
6859
6860         * buffer.[Ch]: move inline functions to .C
6861
6862         * BufferView2.C:
6863         * BufferView_pimpl.C:
6864         * text.C:
6865         * buffer.[Ch]: use improved inset_iterator
6866
6867         * buffer.C:
6868         * paragraph.[Ch]: write one paragraph at a time
6869
6870 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6871
6872         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6873         style if style is not specified.
6874
6875 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6876
6877         * text2.C (setCounter): when searching for right label for a
6878         caption, make sure to recurse to parent insets (so that a caption
6879         in a minipage in a figure float works) (bug #568)
6880
6881 2002-08-20  André Pönitz <poenitz@gmx.net>
6882
6883         * text3.C: new file for LyXText::dispatch() and helpers
6884
6885         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6886
6887         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6888
6889 2002-08-19  André Pönitz <poenitz@gmx.net>
6890
6891         * lyxtext.h:
6892         * text.C: new LyXText::dispatch()
6893
6894         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6895
6896 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6897
6898         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6899
6900         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6901         Hebrew text.
6902
6903 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6904
6905         * Makefile.am: use $(variables) instead of @substitutions@
6906
6907 2002-08-15  André Pönitz <poenitz@gmx.net>
6908
6909         * lyxfunc.C:
6910         * BufferView_pimpl.C: streamlining mathed <-> outer world
6911         interaction
6912
6913         * commandtags.h:
6914         * LyXAction.C: remove unused LFUN_MATH
6915
6916 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6917
6918         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6919
6920 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6921
6922         * paragraph.C (Paragraph): reformat a bit
6923         (cutIntoMinibuffer): use builtin InsetList function instad of
6924         doing it manually.
6925         (getInset): ditto
6926
6927         * buffer.C: include boost/bind.hpp, add using std::for_each
6928         (writeFileAscii): use ParagraphList iterators
6929         (validate): use for_each for validate traversal of paragraphs
6930         (getBibkeyList): use ParagraphList iterators
6931         (resizeInsets): use for_each to resizeInsetsLyXText for all
6932         paragraphs.
6933         (getParFromID): use ParagraphList iterators
6934
6935         * BufferView2.C (lockInset): use paragraph list and iterators
6936
6937 2002-08-14  John Levon  <levon@movementarian.org>
6938
6939         * lyxserver.C: remove spurious xforms include
6940
6941 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6942
6943         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6944
6945 2002-08-13  André Pönitz <poenitz@gmx.net>
6946
6947         * LyXAction.[Ch]:
6948         * lyxfunc.C: further cleaning
6949
6950 2002-08-13  André Pönitz <poenitz@gmx.net>
6951
6952         * funcrequest.h: new constructor
6953
6954         * funcrequest.C: move stuff here from .h
6955
6956         * Makefile.am:
6957         * BufferView_pimpl.C:
6958         * LyXAction.C:
6959         * toc.C:
6960         * lyxfunc.C: subsequent changes
6961
6962         * lyxfunc.h: new view() member function
6963
6964         * lyxfunc.C: subsequent changes
6965
6966 2002-08-13  Angus Leeming  <leeming@lyx.org>
6967
6968         * BufferView2.C:
6969         * BufferView_pimpl.C:
6970         * buffer.C:
6971         * converter.C:
6972         * importer.C:
6973         * lyxfunc.C:
6974         * lyxvc.C:
6975         * toc.C:
6976         * vc-backend.C:
6977         changes due to the changed LyXView interface that now returns references
6978         to member variables not pointers.
6979
6980 2002-08-13  Angus Leeming  <leeming@lyx.org>
6981
6982         * WordLangTuple (word, lang_code): return references to strings,
6983         not strings.
6984
6985         * BufferView.h:
6986         * SpellBase.h:
6987         * lyxtext.h: forward-declare WordLangTuple.
6988
6989         * BufferView2.C:
6990         * ispell.C:
6991         * pspell.C:
6992         * text.C: #include "WordLangTuple.h".
6993
6994         * lyxtext.h:
6995         * text.C: (selectNextWordToSpellcheck): constify return type.
6996
6997 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6998
6999         * buffer.C:
7000         * buffer.h:
7001         * lyxtext.h:
7002         * paragraph.C:
7003         * paragraph_pimpl.h:
7004         * text.C:
7005         * text2.C:
7006         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7007         suggested by Angus.
7008         Made updateCounter always count from start of buffer, and removed
7009         second argument (par).
7010         Reverted floats number display to '#'. Perhaps I'll try again when the
7011         code base is sanitized a bit.
7012
7013 2002-08-12  Angus Leeming  <leeming@lyx.org>
7014
7015         * buffer.[Ch] (getLabelList): constify.
7016
7017 2002-08-07  André Pönitz <poenitz@gmx.net>
7018
7019         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7020
7021         * funcrequest.h: extension to keep mouse (x,y) position
7022
7023 2002-08-12  Juergen Vigna  <jug@sad.it>
7024
7025         * BufferView2.C (insertErrors): forbid undo when inserting error
7026         insets.
7027
7028         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7029
7030 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7031
7032         * ParagraphList.[Ch]: new files
7033
7034         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7035
7036         * BufferView2.C (lockInset): ParagraphList changes
7037         * toc.C: ditto
7038         * text2.C: ditto
7039         * bufferlist.C: ditto
7040         * buffer.h: ditto
7041         * buffer.C: ditto
7042
7043 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7044
7045         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7046         unused class variable counter_,
7047
7048         * paragraph.[Ch] (getFirstCounter): delete unused function
7049
7050         * counters.C: include LAssert.h
7051         (reset): add a new function with no arg, change other version to
7052         not have def. arg and to not allow empty arg.
7053
7054         * text2.C (setCounter): remove empty arg from call to Counters::reset
7055
7056 2002-08-11  John Levon  <levon@movementarian.org>
7057
7058         * Makefile.am: add WordLangTuple.h
7059
7060 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7061
7062         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7063         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7064
7065         * insets/insettext.C: InsetList changes
7066
7067         * graphics/GraphicsSupport.C (operator()): InsetList changes
7068
7069         * toc.C (getTocList): InsetList changes
7070
7071         * paragraph_pimpl.[Ch]: InsetList changes
7072
7073         * paragraph.[Ch]: InsetList changes
7074
7075         * buffer.C (inset_iterator): InsetList changes
7076         (setParagraph): ditto
7077         * buffer.h (inset_iterator): ditto
7078         * iterators.C (operator++): ditto
7079         * iterators.h: ditto
7080
7081         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7082
7083         * InsetList.[Ch]: new files, most InsetList handling moved out of
7084         paragraph.C.
7085
7086         * BufferView2.C (removeAutoInsets): InsetList changes
7087         (lockInset): ditto
7088         (ChangeInsets): ditto
7089
7090 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7091
7092         * paragraph_pimpl.h (empty): new function
7093
7094         * paragraph.[Ch] (empty): new function
7095
7096         * other files: use the new Paragraph::empty function
7097
7098 2002-08-09  John Levon  <levon@movementarian.org>
7099
7100         * lyxtext.h: remove unused refresh_height
7101
7102 2002-08-09  John Levon  <levon@movementarian.org>
7103
7104         * Makefile.am:
7105         * sgml.h:
7106         * sgml.C:
7107         * buffer.C:
7108         * paragraph.h:
7109         * paragraph.C: move sgml char escaping out of paragraph
7110
7111         * paragraph.h:
7112         * paragraph.C: remove id setter
7113
7114         * buffer.C:
7115         * paragraph.C:
7116         * paragraph_pimpl.C: remove dead tex_code_break_column
7117
7118         * bufferview_funcs.C: small cleanup
7119
7120         * lyxfunc.C: remove dead proto
7121
7122         * lyxtext.h: make some stuff private. Remove some dead stuff.
7123
7124         * lyxgluelength.C: make as[LyX]String() readable
7125
7126 2002-08-08  John Levon  <levon@movementarian.org>
7127
7128         * LyXAction.h:
7129         * LyXAction.C:
7130         * MenuBackend.C:
7131         * ToolbarDefaults.C:
7132         * lyxfunc.C:
7133         * lyxrc.C:
7134         * toc.C: lyxaction cleanup
7135
7136 2002-08-08  John Levon  <levon@movementarian.org>
7137
7138         * BufferView2.C: small cleanup
7139
7140         * lyxfind.h:
7141         * lyxfind.C: move unnecessary header into the .C
7142
7143 2002-08-08  John Levon  <levon@movementarian.org>
7144
7145         * funcrequest.h: just tedious nonsense
7146
7147         * lyx_main.h:
7148         * lyx_main.C: cleanups
7149
7150         * buffer.C:
7151         * vspace.C: remove dead header lyx_main.h
7152
7153 2002-08-07  Angus Leeming  <leeming@lyx.org>
7154
7155         * Paragraph.[Ch]:
7156         * paragraph_pimpl.h:
7157         Forward declare class Counters in paragraph.h by moving the ctrs member
7158         variable into Paragraph::Pimpl.
7159         (counters): new method, returning a reference to pimpl_->ctrs.
7160
7161         * text2.C: ensuing changes.
7162
7163 2002-08-07  John Levon  <levon@movementarian.org>
7164
7165         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7166
7167         * BufferView_pimpl.C: announce X selection on double/triple
7168           click
7169
7170         * lyx_main.C: use correct bool in batch dispatch
7171
7172         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7173
7174 2002-08-07  André Pönitz <poenitz@gmx.net>
7175
7176         * funcrequest.h: new class to wrap a kb_action and its argument
7177
7178         * BufferView.[Ch]:
7179         * BufferView_pimpl[Ch]:
7180         * LaTeX.C:
7181         * LyXAction.[Ch]:
7182         * lyxfunc.[Ch]:
7183         * lyxrc.C: subsequent changes
7184
7185
7186 2002-08-07  John Levon  <levon@movementarian.org>
7187
7188         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7189           document options change.
7190
7191 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7192
7193         * counters.[Ch]
7194         * text2.C
7195         * paragraph.[Ch]
7196         * makefile.am: move counters functionality over from
7197         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7198
7199 2002-08-06  John Levon  <levon@movementarian.org>
7200
7201         * WordLangTuple.h: new file for word + language code tuple
7202
7203         * SpellBase.h:
7204         * pspell.h:
7205         * pspell.C:
7206         * ispell.h:
7207         * ispell.C:
7208         * lyxtext.h:
7209         * text.C:
7210         * text2.C:
7211         * BufferView.h:
7212         * BufferView2.C: use WordLangTuple
7213
7214         * layout.h:
7215         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7216
7217 2002-08-06  John Levon  <levon@movementarian.org>
7218
7219         * lyx_main.C: fix cmdline batch handling
7220
7221 2002-08-06  André Pönitz <poenitz@gmx.net>
7222
7223         * lyxrc.C: set default for show_banner to true
7224
7225 2002-08-06  John Levon  <levon@movementarian.org>
7226
7227         * pspell.C: fix a crash, and allow new aspell to work
7228
7229 2002-08-06  John Levon  <levon@movementarian.org>
7230
7231         * lyxfunc.C:
7232         * kbmap.C: small cleanup
7233
7234         * vspace.h:
7235         * vspace.C: add const
7236
7237 2002-08-05  John Levon  <levon@movementarian.org>
7238
7239         * LyXAction.C: back to tabular-insert
7240
7241 2002-08-04  John Levon  <levon@movementarian.org>
7242
7243         * BufferView.h:
7244         * BufferView.C: cosmetic change
7245
7246         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7247
7248         * bufferlist.C:
7249         * buffer.h:
7250         * buffer.C:
7251         * lyxcb.h:
7252         * lyxcb.C:
7253         * lyxserver.C:
7254         * lyxvc.C:
7255         * vc-backend.C:
7256         * BufferView2.C: purge all "Lyx" not "LyX" strings
7257
7258         * lyxcursor.h:
7259         * lyxcursor.C: attempt to add some documentation
7260
7261         * lyxfunc.C:
7262         * commandtags.h:
7263         * LyXAction.C:
7264         * ToolbarDefaults.C:
7265         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7266           merge with LFUN_TABULAR_INSERT
7267
7268         * Makefile.am:
7269         * SpellBase.h:
7270         * ispell.h:
7271         * ispell.C:
7272         * pspell.h:
7273         * pspell.C: split up i/pspell implementations into separate
7274           files, many cleanups
7275
7276         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7277
7278         * text2.C: some cleanup
7279
7280         * lyxfunc.C: don't check for isp_command == "none" any more, it
7281           didn't make any sense
7282
7283 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7284
7285         * counters.[Ch]
7286         * text2.C
7287         * paragraph.[Ch]
7288         * makefile.am: move counters functionality over
7289         from text2.C/paragraph.[Ch] to counters.[Ch], and
7290         make proper C++.
7291 2002-08-02  John Levon  <levon@movementarian.org>
7292
7293         * buffer.C: s/lyxconvert/lyx2lyx/
7294
7295 2002-08-02  Angus Leeming  <leeming@lyx.org>
7296
7297         * lyxlex.C: revert John's change as it breaks reading of the user
7298         preamble.
7299
7300 2002-08-02  Angus Leeming  <leeming@lyx.org>
7301
7302         * importer.C (Import):
7303         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7304         changes due to LyXView::view() now returning a boost::shared_ptr.
7305
7306 2002-08-02  John Levon  <levon@movementarian.org>
7307
7308         * lyxlex.C: small cleanup
7309
7310 2002-08-02  John Levon  <levon@movementarian.org>
7311
7312         * text2.C (status): small cleanup, no logic change
7313
7314 2002-08-01  John Levon  <levon@movementarian.org>
7315
7316         * buffer.h:
7317         * buffer.C (writeFile): don't output alerts, caller
7318           handles this
7319
7320         * bufferlist.C:
7321         * lyx_cb.C: from above
7322
7323         * lyxfunc.C: allow to open non-existent files
7324
7325 2002-07-31  John Levon  <levon@movementarian.org>
7326
7327         * lyxserver.C: don't let incidental errors get
7328           in the way (errno)
7329
7330 2002-07-30  John Levon  <levon@movementarian.org>
7331
7332         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7333
7334 2002-07-30  John Levon  <levon@movementarian.org>
7335
7336         * lyxserver.h:
7337         * lyxserver.C: remove I/O callback too
7338
7339 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7340
7341         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7342         log.
7343
7344 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7345
7346         * many files: strip,frontStrip -> trim,ltrim,rtrim
7347
7348 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7349
7350         * PrinterParams.h: remove extern containsOnly, and include
7351         support/lstrings.h instead.
7352
7353         * LaTeX.C (scanAuxFile): modify because of strip changes
7354         (deplog): ditto
7355         * buffer.C (makeLaTeXFile): ditto
7356         * bufferparams.C (writeFile): ditt
7357         * lyxfont.C (stateText): ditto
7358         * lyxserver.C (read_ready): ditto
7359         * vc-backend.C (scanMaster): ditto
7360
7361         * BufferView_pimpl.h: ws changes
7362
7363         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7364
7365 2002-07-26  André Pönitz <poenitz@gmx.net>
7366
7367         * kb_sequence.C: remove unnedred usings
7368
7369 2002-07-26  Juergen Vigna  <jug@sad.it>
7370
7371         * lyxfind.C (LyXReplace): we have to check better if the returned
7372         text is not of theLockingInset()->getLockingInset().
7373
7374 2002-07-25  Juergen Vigna  <jug@sad.it>
7375
7376         * lyxfind.C (LyXReplace): don't replace if we don't get the
7377         right LyXText.
7378
7379         * undo_funcs.C (createUndo): remove debugging code.
7380
7381 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7382
7383         * buffer.C (parseSingleLyXformat2Token): Use default placement
7384         when reading old floats.
7385
7386         * FloatList.C (FloatList): Change the default placement of figure
7387         and tables to "tbp".
7388
7389 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7390
7391         * MenuBackend.C: using std::max
7392
7393 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7394
7395         * MenuBackend.C (expandToc):
7396         (expandToc2): code moved from xforms menu frontend. It is now
7397         generic and TOCs are transparent to menu frontends.
7398
7399 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7400
7401         * toc.C (getTocList): protect against buf=0
7402
7403         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7404         Menu as first parameter. Now, this calls itself recursively to
7405         expand a whole tree (this will be useful for TOC handling)
7406         (expandFloatInsert): remove 'wide' version of floats
7407
7408         * MenuBackend.h (submenuname): returns the name of the submenu.
7409         (submenu): returns the submenu itself, provided it has been
7410         created by MenuBackend::expand
7411
7412 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7413
7414         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7415         insets which have noFontChange == true. (bug #172)
7416
7417 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7418
7419         * BufferView_pimpl.C: add connection objects and use them...
7420         (Pimpl): here.
7421
7422 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7423
7424         * MenuBackend.C (expandLastfiles):
7425         (expandDocuments):
7426         (expandFormats):
7427         (expandFloatListInsert):
7428         (expandFloatInsert):
7429         (expand): split expand in parts
7430
7431 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7432
7433         * lyx_gui.C: use lyx_gui::exit()
7434
7435 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7436
7437         * LyXAction.C: show the failing pseudo action
7438
7439 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7440
7441         * buffer.C (readFile): Run the lyxconvert script in order to read
7442         old files.
7443
7444 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7445
7446         * LyXAction.C:
7447         * commandtags.h:
7448         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7449
7450 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7451
7452         * LyXAction.C:
7453         * commandtags.h:
7454         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7455
7456 2002-07-22  Herbert Voss  <voss@lyx.org>
7457
7458         * lengthcommon.C:
7459         * lyxlength.[Ch]: add support for the vertical lengths
7460
7461 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7462
7463         * toc.[Ch]: std:: fixes
7464
7465 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7466
7467         * lyxrc.C: do not include lyx_main.h
7468
7469         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7470         for layouts
7471
7472         * lyxrc.C:
7473         * encoding.C:
7474         * bufferlist.C:
7475         * BufferView2.C: include "lyxlex.h"
7476
7477         * tabular.h:
7478         * bufferparams.h: do not #include "lyxlex.h"
7479
7480         * lyxtextclasslist.C (Add): remove method
7481         (classlist): renamed to classlist_
7482
7483         * paragraph_pimpl.C:
7484         * paragraph.C:
7485         * text2.C:
7486         * CutAndPaste.C:
7487         * bufferview_funcs.C:
7488         * bufferlist.C:
7489         * text.C:
7490         * LaTeXFeatures.C:
7491         * buffer.C:
7492         * toc.C (getTocList): use BufferParams::getLyXTextClass
7493
7494         * toc.C (getTocList): use InsetFloat::addToToc
7495
7496         * toc.[Ch]: new files, containing helper functions to handle table
7497         of contents
7498
7499         * lyxfunc.C (dispatch): no need to remove spaces around command
7500         given as a string
7501         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7502         first command of the sequence; it is not very clever, but I do not
7503         have a better idea, actually
7504
7505         * LyXAction.C (LookupFunc): make sure to remove space at the
7506         beginning and end of the command
7507
7508 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7509
7510         * MenuBackend.C (getMenubar): new method: return the menubar of
7511         this menu set
7512         (read): treat differently reading of menu and menubar (in
7513         particular, the menubar has no name now)
7514         (Menu::menubar): remove
7515
7516         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7517         saving is finished
7518
7519 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7520
7521         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7522         a bibitem inset in a RTL paragraph.
7523
7524 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7525
7526         * paragraph_pimpl.C: constify
7527
7528         * BufferView_pimpl.C:
7529         * LaTeX.C:
7530         * lyxfunc.C: fix dispatch in a nicer way
7531
7532 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7533
7534         * lyxfunc.C (dispatch):
7535         * BufferView_pimpl.C:
7536         * BufferView_pimpl.h:
7537         * BufferView.C:
7538         * BufferView.h: rename Dispatch() to dispatch()
7539
7540         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7541
7542         * lyxlayout.C (Read): honor DependsOn tag
7543
7544         * lyxlayout.[Ch] (depends_on): new method
7545
7546         * version.C.in: update lyx_docversion
7547
7548         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7549
7550         * paragraph.C (validate): remove from here...
7551         * paragraph_pimpl.C (validate): ... and move here
7552         (isTextAt): make it const
7553
7554         * buffer.C (getLists): ws cleanup
7555
7556 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7557
7558         * language.C (read): Use iso8859-1 encoding in latex_lang
7559         (this prevents LyX from crashing when using iso10646-1 encoding).
7560
7561 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7562
7563         * text2.C (toggleInset): if cursor is inside an inset, close the
7564         inset and leave cursor _after_ it
7565
7566 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7567
7568         * lyxfunc.C: move minibuffer completion handling out of here
7569
7570 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7571
7572         * BufferView_pimpl.C:
7573         * LaTeX.C: fix dispatch calls
7574
7575 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7576
7577         * text.C (drawChars): Fix Arabic text rendering.
7578
7579 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7580
7581         * LyXAction.C:
7582         * commandtags.h:
7583         * lyxfunc.C: remove message-push/pop
7584
7585         * lyxserver.C:
7586         * lyxfunc.h:
7587         * lyxfunc.C: rationalise some code by removing verboseDispatch
7588           in favour of a bool argument to dispatch()
7589
7590 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7591
7592         * lyx_main.C (init): make sure to read symlinks as absolute paths
7593
7594 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7595
7596         * lyxfunc.h:
7597         * lyxfunc.C: no need for commandshortcut to be a member
7598
7599 2002-07-15  André Pönitz <poenitz@gmx.net>
7600
7601         * converter.C: add support for $$s (scripts from lib/scripts dir)
7602         * lyx_main.C: white space
7603
7604 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7605
7606         * bufferlist.C:
7607         * lyxrc.h:
7608         * lyxrc.C: remove second exit confirmation
7609
7610 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7611
7612         * BufferView.h:
7613         * BufferView.C:
7614         * BufferView2.C:
7615         * BufferView_pimpl.h:
7616         * BufferView_pimpl.C:
7617         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7618
7619 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7620
7621         * MenuBackend.C (expand): add numeric shortcuts to document menu
7622
7623         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7624
7625 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7626
7627         * lyxfont.C (setLyXFamily):
7628         (setLyXSeries):
7629         (setLyXShape):
7630         (setLyXSize):
7631         (setLyXMisc):
7632         (lyxRead):
7633         * debug.C (value):
7634         * buffer.C (asciiParagraph): use ascii_lowercase
7635
7636 2002-07-15  Mike Fabian  <mfabian@suse.de>
7637
7638         * lyxlex_pimpl.C (search_kw):
7639         * lyxlex.C (getLongString):
7640         * converter.h (operator<):
7641         * converter.C (operator<):
7642         * buffer.C (parseSingleLyXformat2Token):
7643         (asciiParagraph):
7644         * ToolbarDefaults.C (read):
7645         * MenuBackend.C (checkShortcuts):
7646         (read):
7647         * LColor.C (getFromGUIName):
7648         (getFromLyXName): use the compare_ascii_no_case instead of
7649         compare_no_case, because in turkish, 'i' is not the lowercase
7650         version of 'I', and thus turkish locale breaks parsing of tags.
7651
7652 2002-07-16  Angus Leeming  <leeming@lyx.org>
7653
7654         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7655         now takes a Buffer const & argument.
7656
7657 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7658
7659         * BufferView.C (resize): check there's a buffer to resize
7660
7661 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7662
7663         * lyxfunc.C: remove dead code
7664
7665         * lyxserver.h:
7666         * lyxserver.C: use lyx_guii::set_read_callback
7667
7668 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7669
7670         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7671         an inset in a RTL paragraph.
7672
7673 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7674
7675         * lyxfunc.C: repaint after a font size update
7676
7677 2002-07-15  André Pönitz <poenitz@gmx.net>
7678
7679         * lyxlength.C: inBP should be able to return negative values
7680
7681 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7682
7683         * lyxfunc.C: use lyx_gui::update_fonts()
7684
7685 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7686
7687         * lyxfunc.C: use lyx_gui::update_color()
7688
7689 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7690
7691         * bufferlist.C:
7692         * lyxfunc.h:
7693         * lyxfunc.C:
7694         * lyxrc.h:
7695         * lyxrc.C: remove file->new asks for name option, and let
7696           buffer-new take an argument
7697
7698 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7699
7700         * BufferView_pimpl.C: remove unneeded extra repaint()
7701
7702 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7703
7704         * LyXAction.C: allow command-sequence with NoBuffer
7705
7706         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7707
7708 2002-07-10  Angus Leeming  <leeming@lyx.org>
7709
7710         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7711
7712 2002-07-09  Angus Leeming  <leeming@lyx.org>
7713
7714         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7715
7716 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7717
7718         * lengthcommon.h: whitespace
7719
7720         * lyxfunc.C: update scrollbar after goto paragraph
7721
7722         * lyxtext.h: factor out page break drawing, and fix it so
7723           page break/added space paints as selected nicely
7724
7725 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7726
7727         * BufferView_pimpl.C: add FIXMEs, clean up a little
7728
7729 2002-07-09  André Pönitz <poenitz@gmx.net>
7730
7731         * lyxfont.[Ch]: support for wasy symbols
7732
7733 2002-07-08  André Pönitz <poenitz@gmx.net>
7734
7735         * BufferView_pimpl.C: apply John's patch for #93.
7736
7737 2002-07-05  Angus Leeming  <leeming@lyx.org>
7738
7739         * BufferView_pimpl.C (buffer): generate previews if desired.
7740
7741         * LColor.h: add "preview" to the color enum.
7742
7743         * LColor.C (LColor): add a corresponding entry to the items array.
7744
7745         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7746         with this buffer.
7747
7748 2002-07-05  Angus Leeming  <leeming@lyx.org>
7749
7750         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7751         The body of the code is now in the method that is passed an ostream &
7752         rather than a file name.
7753         Pass an additional only_preamble parameter, useful for the forthcoming
7754         preview stuff.
7755
7756 2002-07-03  André Pönitz <poenitz@gmx.net>
7757
7758         * lyxfunc.C: simplify getStatus() a bit for math stuff
7759
7760 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7761
7762         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7763
7764 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7765
7766         * text.C (changeRegionCase): do not change case of all the
7767         document when region ends at paragraph end (bug #461)
7768
7769 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7770
7771         * paragraph.C (startTeXParParams):
7772         (endTeXParParams): add \protect when necessary
7773
7774 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7775
7776         * BufferView_pimpl.C (workAreaExpose): remove warning
7777
7778 2002-06-27  Angus Leeming  <leeming@lyx.org>
7779
7780         * Makefile.am: add lyxlayout_ptr_fwd.h.
7781
7782 2002-06-26  André Pönitz <poenitz@gmx.net>
7783
7784         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7785
7786 2002-06-25  Angus Leeming  <leeming@lyx.org>
7787
7788         * lyxfunc.C (dispatch): Comment out the call to
7789         grfx::GCache::changeDisplay. The method no longer exists now that the
7790         pixmap generation part of the graphics loader has been moved into
7791         InsetGraphics.
7792
7793 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7794
7795         * text2.C: layout as layout
7796
7797         * text.C: layout as layout
7798
7799         * tabular.C (OldFormatRead): layout as layout
7800
7801         * paragraph_pimpl.C (TeXDeeper): layout as layout
7802         (realizeFont): layout as layout
7803
7804         * paragraph.C (writeFile): layout as layout
7805         (validate): layout as layout
7806         (getFont): layout as layout
7807         (getLabelFont): layout as layout
7808         (getLayoutFont): layout as layout
7809         (breakParagraph): layout as layout
7810         (stripLeadingSpaces): layout as layout
7811         (getEndLabel): layout as layout
7812         (getMaxDepthAfter): layout as layout
7813         (applyLayout): layout as layout
7814         (TeXOnePar): layout as layout
7815         (simpleTeXOnePar): layout as layout
7816         (TeXEnvironment): layout as layout
7817         (layout): layout as layout
7818         (layout): layout as layout
7819
7820         * lyxtextclass.C (compare_name): new functor to work with
7821         shared_ptr, layout as layout
7822         (Read): layout as layout
7823         (hasLayout): layout as layout
7824         (operator): layout as layout
7825         (delete_layout): layout as layout
7826         (defaultLayout): layout as layout
7827
7828         * lyxlayout_ptr_fwd.h: new file
7829
7830         * lyxlayout.C (Read): layout as layout
7831
7832         * lyx_cb.C (MenuInsertLabel): layout as layout
7833
7834         * bufferlist.C (newFile): layout as layout
7835
7836         * buffer.C (readLyXformat2): layout as layout
7837         (parseSingleLyXformat2Token): layout as layout
7838         (insertStringAsLines): layout as layout
7839         (asciiParagraph): layout as layout
7840         (latexParagraphs): layout as layout
7841         (makeLinuxDocFile): layout as layout
7842         (simpleLinuxDocOnePar): layout as layout
7843         (makeDocBookFile): layout as layout
7844         (simpleDocBookOnePar): layout as layout
7845         (getLists): layout as layout
7846
7847         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7848
7849         * CutAndPaste.C (cutSelection): layout as layout
7850         (pasteSelection): layout as layout
7851         (SwitchLayoutsBetweenClasses): layout as layout
7852
7853         * BufferView_pimpl.C (Dispatch): layout as layout
7854         (smartQuote): layout as layout
7855
7856         * BufferView2.C (unlockInset): layout as layout
7857
7858 2002-06-24  André Pönitz <poenitz@gmx.net>
7859
7860         * lyxfunc.C: fix #487
7861
7862 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7863
7864         * lyxrc.h:
7865         * lyxrc.C:
7866         * lyxfunc.C: remove display_shortcuts, show_banner
7867
7868 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7869
7870         * Buffer_pimpl.C: oops, update on resize
7871
7872 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7873
7874         * buffer.C:
7875         * converter.C:
7876         * exporter.C:
7877         * lyxfunc.C:
7878         * BufferView.h:
7879         * BufferView.C: use repaint()
7880
7881         * BufferView_pimpl.h:
7882         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7883           as it's a clearer description. Remove superfluous
7884           redraws.
7885
7886 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7887
7888         * text.C: fix bug 488. Not ideal, but getting
7889           getWord() to work properly for the insets that
7890           matter is more difficult ...
7891
7892 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7893
7894         * BufferView_pimpl.C:
7895         * LyXAction.C:
7896         * commandtags.h:
7897         * lyxfunc.C: remove the six million index lyxfuncs to just
7898           one, and DTRT (bug 458)
7899
7900 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7901
7902         * BufferView.h:
7903         * BufferView.C:
7904         * BufferView_pimpl.h:
7905         * BufferView_pimpl.C: clean up resize() stuff,
7906           and unnecessary updateScreen()s
7907
7908 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7909
7910         * BufferView.h:
7911         * BufferView.C:
7912         * BufferView_pimpl.h:
7913         * BufferView_pimpl.C:
7914         * lyxfind.h:
7915         * lyxfind.C:
7916         * minibuffer.C: remove focus management of workarea,
7917           not needed. Use screen's greyOut()
7918
7919 2002-06-17  Herbert Voss  <voss@lyx.org>
7920
7921         * converter.C: (convert) do not post a message, when converting
7922         fails, let the calling function decide what to do in this case
7923
7924 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7925
7926         * lyxfunc.C: tidy up a little
7927
7928 2002-06-16    <alstrup@diku.dk>
7929
7930         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7931         Got rid of FORMS_H_LOCATION include. Now we are
7932         GUII.
7933
7934 2002-06-15  LyX Development team  <lyx@rilke>
7935
7936         * buffer.[Ch] (sgmlOpenTag):
7937         (sgmlCloseTag): Added support for avoiding pernicious mixed
7938         content. Return number of lines written.
7939
7940         (makeLinuxDocFile):
7941         (makeDocBookFile): Fixed calls to sgml*Tag.
7942         Simple white space clean.
7943
7944         (simpleDocBookOnePar): Simple white space clean.
7945
7946         * tabular.[Ch] (docBook): Renamed to docbook and got another
7947         argument to related with the pernicious mixed content.
7948
7949         (docbookRow): Fixed calls for docbook inset method.
7950
7951 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7952
7953         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7954         so it's X11 independent.
7955
7956         * kb*.[Ch]: ditto.
7957
7958         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7959
7960 2002-06-15  Lyx Development team  <lyx@electronia>
7961
7962         * intl.h: Renamed getTrans to getTransManager.
7963
7964 2002-06-14  Angus Leeming  <leeming@lyx.org>
7965
7966         * Makefile.am: nuke forgotten stl_string_fwd.h.
7967
7968 2002-06-12  Angus Leeming  <leeming@lyx.org>
7969
7970         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7971
7972 2002-06-13  Angus Leeming  <leeming@lyx.org>
7973
7974         * LaTeX.C:
7975         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7976
7977 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7978
7979         * kbmap.C (getiso): add support for cyrillic and greek
7980
7981 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7982
7983         * BufferView.h:
7984         * BufferView.C:
7985         * BufferView_pimpl.h:
7986         * BufferView_pimpl.C: move bogus scrolling logic
7987           to xforms
7988
7989 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7990
7991         * lyxfunc.C:
7992         * BufferView_pimpl.C: view->resize() change
7993
7994 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7995
7996         * BufferView_pimpl.C: topCursorVisible
7997           prototype change
7998
7999 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8000
8001         * Makefile.am:
8002         * lyx_gui.h:
8003         * lyx_gui.C: move to frontends/
8004
8005         * main.C:
8006         * lyx_main.h:
8007         * lyx_main.C: changes from above
8008
8009 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8010
8011         * intl.C:
8012         * intl.h:
8013         * kbmap.C:
8014         * kbsequence.C:
8015         * lyx_cb.C:
8016         * lyx_main.C: minor tidy
8017
8018 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8019
8020         * BufferView_pimpl.h:
8021         * BufferView_pimpl.C:
8022         * BufferView.h:
8023         * BufferView.C: make painter() const,
8024           remove dead code
8025
8026         * BufferView2.C: use screen() accessor
8027
8028         * lyx_main.h:
8029         * lyx_main.C: some minor cleanup
8030
8031 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8032
8033         * BufferView_pimpl.h:
8034         * BufferView_pimpl.C: remove enter/leaveView,
8035           use workHeight()
8036
8037 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8038
8039         * BufferView.h:
8040         * BufferView.C:
8041         * BufferView2.C:
8042         * BufferView_pimpl.h:
8043         * BufferView_pimpl.C: only construct screen once,
8044           rename
8045
8046         * lyxrc.C: remove pointless comment
8047
8048 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8049
8050         * BufferView.h:
8051         * BufferView.C: remove active() and belowMouse()
8052
8053         * BufferView_pimpl.h:
8054         * BufferView_pimpl.C: use workarea() not workarea_,
8055           and make it use a scoped_ptr instead
8056
8057 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8058
8059         * lyx_gui.C: add debug message on BadWindow
8060
8061 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8062
8063         * sp_spell.C: fdopen is not part of the C++ standard.
8064
8065         * paragraph.C (InsetIterator): use >= instead of ==
8066
8067 2002-06-07  Angus Leeming  <leeming@lyx.org>
8068
8069         Fixes needed to compile with Compaq cxx 6.5.
8070         * BufferView_pimpl.C:
8071         * DepTable.C:
8072         * buffer.C:
8073         * converter.C:
8074         * encoding.C:
8075         * lyx_gui.C:
8076         * lyx_main.C:
8077         * lyxtextclasslist.C:
8078         * minibuffer.C:
8079         * sp_spell.C:
8080         * tabular_funcs.C:
8081         * vc-backend.C:
8082         all c-library variables have been moved into namespace std. Wrap
8083         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8084
8085         * lyxlength.C:
8086         * tabular-old.C:
8087         * tabular.C:
8088         Add a using std::abs declaration.
8089
8090         * kbmap.h (modifier_pair):
8091         * paragraph.h (InsetTable, InsetList):
8092         * lyxfont.h (FontBits):
8093         type definition made public.
8094
8095         * bufferlist.C (emergencyWriteAll): the compiler complains that
8096         there is more than one possible lyx::class_fun template to choose from.
8097         I re-named the void specialisation as lyx::void_class_fun.
8098
8099         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8100
8101         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8102         the compiler is is unable to find tostr in write_attribute.
8103
8104 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8105
8106         * buffer.C (sgmlError): hide #warning
8107
8108 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8109
8110         * xtl/*: get rid of xtl, which is not in use anyway
8111
8112         * LyXAction.C (init):
8113         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8114         were unimplemented xtl experimentation
8115
8116 2002-06-04  André Pönitz <poenitz@gmx.net>
8117
8118         * lyxfunc.C: disable array operation on simple formulae
8119
8120 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8121
8122         * converter.C: constify a bit
8123
8124 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8125
8126         * lyx_gui.C: check xforms version correctly
8127
8128 2002-04-30  Herbert Voss  <voss@lyx.org>
8129
8130         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8131         "keep" option
8132
8133 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8134
8135         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8136           attempt to register it with a VCS)
8137
8138 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8139
8140         * lyx_main.C (init): honor variables LYX_DIR_13x and
8141         LYX_USERDIR_13x
8142
8143 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8144
8145         * buffer.h:
8146         * buffer.C:
8147         * lyx_main.C: fix a crash on bad command line,
8148           and give a useful exit status on error
8149
8150         * lyxfunc.C (doImport): allow -i lyx to work
8151
8152 2002-03-30  André Pönitz <poenitz@gmx.net>
8153
8154         * lyxfunc.C: mathed font changes
8155
8156 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8157
8158         * LaTeX.C:
8159         * importer.h:
8160         * importer.C:
8161         * lyx_sty.h:
8162         * lyx_sty.C:
8163         * lyxlex.C:
8164         * lyxrow.h:
8165         * lyxtext.h:
8166         * paragraph.h:
8167         * paragraph.C:
8168         * texrow.h:
8169         * texrow.C:
8170         * text.C:
8171         * trans_mgr.h: srcdocs, and some minor cleanups
8172
8173 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8174
8175         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8176         call getFont all the time)
8177
8178 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8179
8180         * switch from SigC signals to boost::signals
8181
8182 2002-05-29  André Pönitz <poenitz@gmx.net>
8183
8184         * paragraph_pimpl.C (getChar): don't call size() too often...
8185
8186 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8187
8188         * paragraph_pimpl.C (insertChar): do not try to update tables when
8189         appending (pos == size())
8190
8191         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8192         in order to reduce drastically the number of comparisons needed to
8193         parse a large document
8194
8195 2002-05-29  André Pönitz <poenitz@gmx.net>
8196
8197         * text.C:
8198         * text2.C:
8199         * lyxtextclass.C:
8200         * sp_pspell.h:
8201         * textclasslist.[Ch]:
8202         * sp_ispell.h: whitespace change
8203
8204 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8205
8206         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8207         lyxaction directly now.
8208
8209 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8210
8211         * trans.C:
8212         * lyxfont.C:
8213         * lyxvc.C: remove unused headers
8214
8215 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8216
8217         * Makefile.am:
8218         * buffer.h:
8219         * undostack.h:
8220         * undostack.C:
8221         * undo_funcs.h:
8222         * undo_funcs.C: some cleanups. Use shared_ptr
8223           and a template for the undo stacks.
8224
8225 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8226
8227         * BufferView_pimpl.h:
8228         * BufferView_pimpl.C:
8229         * kbmap.h:
8230         * kbmap.C:
8231         * kbsequence.h:
8232         * kbsequence.C:
8233         * lyxfunc.h:
8234         * lyxfunc.C:
8235         * text2.C: use key_state/mouse_state
8236
8237 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8238
8239         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8240         and LSubstring
8241
8242         * chset.C: change include order
8243         (loadFile): use boost regex and get rid of LRegex and LSubstring
8244
8245         * Makefile.am (BOOST_LIBS): new variable
8246         (lyx_LDADD): use it
8247
8248         * LaTeX.C: change include order.
8249         (scanAuxFile): use boost regex and get rid of LRegex and
8250         LSubstring
8251         (deplog): ditto
8252
8253 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8254
8255         * ColorHandler.h:
8256         * ColorHandler.C:
8257         * FontInfo.h:
8258         * FontInfo.C: moved to frontends/xforms/
8259
8260         * FontLoader.h:
8261         * FontLoader.C: moved into frontends for GUIIzation
8262
8263         * Makefile.am:
8264         * lyx_gui.C:
8265         * lyxfont.C:
8266         * lyxfunc.C: changes from above
8267
8268 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8269
8270         * LColor.C: remove spurious X include
8271
8272         * BufferView_pimpl.C:
8273         * Makefile.am:
8274         * font.h:
8275         * font.C:
8276         * text.C:
8277         * text2.C: move font metrics to frontends/
8278
8279 2002-05-24  Juergen Vigna  <jug@sad.it>
8280
8281         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8282         setting the undo_cursor.
8283
8284         * ParagraphParameters.h: include local includes first.
8285
8286 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8287
8288         * BufferView_pimpl.C:
8289         * BufferView_pimpl.h:
8290         * Makefile.am:
8291         * WorkArea.h:
8292         * WorkArea.C:
8293         * screen.C: move WorkArea into frontends/
8294
8295         * lyxscreen.h:
8296         * screen.C:
8297         * text.C:
8298         * BufferView.C:
8299         * BufferView2.C: move LyXScreen into frontends/
8300
8301         * lyxlookup.h:
8302         * lyxlookup.C:
8303         * lyx_gui.C: move lyxlookup into frontends/xforms/
8304
8305 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8306
8307         * BufferView2.C:
8308         * BufferView_pimpl.C:
8309         * FontLoader.C:
8310         * LyXView.h:
8311         * LyXView.C:
8312         * Makefile.am:
8313         * WorkArea.C:
8314         * XFormsView.h:
8315         * XFormsView.C:
8316         * buffer.C:
8317         * bufferlist.C:
8318         * bufferview_funcs.C:
8319         * converter.C:
8320         * importer.C:
8321         * lyx_cb.C:
8322         * lyx_gui.C:
8323         * lyx_main.C:
8324         * lyx_find.C:
8325         * lyxfunc.C:
8326         * lyxvc.C:
8327         * minibuffer.C:
8328         * text.C:
8329         * text2.C:
8330         * trans.C:
8331         * vc-backend.C: move LyX/XFormsView into frontends/
8332
8333 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8334
8335         * Makefile.am:
8336         * PainterBase.C:
8337         * PainterBase.h:
8338         * Painter.C:
8339         * Painter.h:
8340         * WorkArea.C:
8341         * WorkArea.h:
8342         * screen.C:
8343         * tabular.C:
8344         * text.C:
8345         * text2.C: move Painter to frontends/
8346
8347 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8348
8349         * buffer.C: comment out some some code that depend upon lyx_format
8350         < 220
8351
8352         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8353         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8354
8355         * buffer.h (NO_COMPABILITY): turn off compability
8356
8357         * ColorHandler.C: include scoped_array.hpp
8358
8359         * font.C: Use more specific smart_ptr header.
8360         * Painter.C: ditto
8361         * gettext.C: ditto
8362         * ShareContainer.h: ditto
8363         * lyx_main.h: ditto
8364         * kbmap.h: ditto
8365         * FontInfo.h: ditto
8366         * BufferView_pimpl.h: ditto
8367         * ColorHandler.h: ditto
8368
8369         * kbmap.C (defkey): change call to shared_ptr::reset
8370
8371 2002-05-21  Juergen Vigna  <jug@sad.it>
8372
8373         * buffer.C (insertErtContents): fix to insert ert asis if it is
8374         non empty. Skip it completely if it contains only whitespaces.
8375
8376 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8377
8378         * BufferView_pimpl.C:
8379         * BufferView2.C: clear selection on paste (bug 393)
8380
8381 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8382
8383         * DepTable.C: include ctime
8384
8385 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8386
8387         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8388
8389 2002-05-14  Juergen Vigna  <jug@sad.it>
8390
8391         * text.C (breakParagraph): fixed function to honor the keepempty
8392         layout in the right maner and also to permit the right breaking
8393         algorithm on empty or non empyt keepempty paragraphs.
8394
8395         * paragraph.C (breakParagraph): we have to check also if the par
8396         is really empty (!size()) for isempty otherwise we do the wrong
8397         paragraph break.
8398
8399 2002-05-10  Juergen Vigna  <jug@sad.it>
8400
8401         * buffer.[Ch] : The following are only changes to the ert
8402         compatibility read reading old LaTeX layout and font stuff and
8403         convert it to ERTInsets.
8404
8405         * buffer.h: added isErtInset().
8406
8407         * buffer.C (struct ErtComp): add a fromlayout bool to check
8408         if we're inside a LaTeX layout.
8409         (isErtInset): new helper function.
8410         (insertErtContents): look for other ert insets before this one
8411         and insert the contents there, so that we don't have subsequent
8412         ERT insets with nothing between them. This way we create only one
8413         inset with multiple paragraphs. Also check if we don't insert only
8414         spaces ' ' as they are ignored anyway afterwards in the .tex file
8415         so if we have only spaces we will ignore this latex part in the
8416         new file.
8417         (parseSingleLyXformat2Token \\layout): better compatibility when
8418         reading layout-latex stuff.
8419         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8420         language tag.
8421         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8422         stuff after reading the inset only get the information back from
8423         the stack.
8424
8425 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8426
8427         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8428
8429         * LaTeXFeatures.C (getBabelOptions): New method.
8430
8431 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8432
8433         * BufferView_pimpl.C (Dispatch): work around missing argument for
8434         'layout'
8435
8436 2002-05-08  Juergen Vigna  <jug@sad.it>
8437
8438         * text.C (leftMargin): handle paragraph leftindent.
8439
8440         * paragraph.C (writeFile): write the new \\leftindent tag.
8441         (validate): handle leftindent code.
8442         (TeXEnvironment): handle paragraphleftindent code again.
8443
8444         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8445
8446         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8447         for paragrap_extra indent code and new token \\leftindent.
8448         (latexParagraphs): handle the leftindent as environment.
8449
8450         * ParameterStruct.h: added leftindent support.
8451
8452         * ParagraphParameters.C (leftIndent): added support functions for
8453         the paragraph left indent.
8454
8455         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8456         more appropriate.
8457
8458 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8459
8460         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8461         inside insetERT.
8462
8463         * text.C (computeBidiTables): No bidi in insetERT.
8464
8465         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8466         in RTL documents.
8467
8468 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8469
8470         * version.C.in: pre 5
8471
8472 2002-05-02  José Matos  <jamatos@fep.up.pt>
8473         * buffer.C (makeDocBookFile): white space changes, add newline to
8474         command styles.
8475         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8476
8477         * tabular.C (docBook): fix typo.
8478
8479 2002-05-03  Juergen Vigna  <jug@sad.it>
8480
8481         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8482         change in LyXText as we can not be sure it was not freed.
8483         (drawOneRow): remove unused code.
8484
8485         * text.C (drawInset): redo the calculation of the need_break_row as
8486         it could have a row which was already freed.
8487         (draw): look at the return value of drawInset and return false if
8488         it also returned false.
8489         (paintRowText): look at the return value of draw and return false if
8490         it also returned false.
8491
8492         * lyxtext.h: added bool return type to drawInset() and draw() so that
8493         if we have a change in the row so that the rowbreak has to be redone
8494         we abort drawing as it will be called again.
8495
8496 2002-05-02  Juergen Vigna  <jug@sad.it>
8497
8498         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8499         a change in the maintext also if we're inside an inset.
8500         (Dispatch): set the cursor again after a break line and after the
8501         screen has been updated as it could be we're in a different row.
8502
8503         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8504         to set the cursor behind the pargraph with > size().
8505         (setCursor): check also for the same paragraph when checking where
8506         to put the cursor if we have a NFR inset.
8507
8508         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8509         parts of layout read further up as it still was in the wrong
8510         position.
8511
8512 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8513
8514         * screen.C (drawFromTo): change sine fullRebreak always return
8515         true.
8516
8517         * buffer.C (parseSingleLyXformat2Token): reindent some
8518
8519         * BufferView_pimpl.C (update): change since fullRebreak always
8520         return true.
8521         (Dispatch): git rid of the last hardcoded "Standard"s.
8522
8523 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8524
8525         * text2.[Ch] (fullRebreak): make it return void now that we always
8526         returned true.
8527
8528 2002-04-30  Juergen Vigna  <jug@sad.it>
8529
8530         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8531         ert compatibility check for "latex" layout.
8532
8533 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8534
8535         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8536         minipages: use col% instead of p%, and also use the current font.
8537         (makeLaTeXFile): Fix use babel condition.
8538         (parseSingleLyXformat2Token): Correct font when reading old floats.
8539
8540 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8541
8542         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8543         inserting list of floats.
8544
8545 2002-04-25  Herbert Voss  <voss@lyx.org>
8546
8547         * MenuBackend.C (expand): don't add the graphics extensions to the
8548         export menu
8549
8550 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8551
8552         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8553         non-existing layout, do not complain if it was the default layout
8554         of the original class (bug #342)
8555
8556 2002-04-24  Juergen Vigna  <jug@sad.it>
8557
8558         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8559         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8560
8561 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8562
8563         * buffer.C (getBibkeyList): If using \bibliography, return the
8564         option field with the reference itself. Enables us to provide natbib
8565         support when using \bibliography.
8566
8567 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8568
8569         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8570
8571         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8572         natbib is provided by the LaTeX class.
8573
8574 2002-04-23  Juergen Vigna  <jug@sad.it>
8575
8576         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8577         Wakeup functions.
8578
8579         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8580
8581 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8582
8583         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8584
8585         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8586         ensuremath around textordmasculine, textordfeminine and
8587         textdegree.
8588
8589 2002-04-19  Juergen Vigna  <jug@sad.it>
8590
8591         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8592         reinitializing the buffer otherwise row-dimensions may be wrong.
8593         (update): reset also the selection cursors if they do exits otherwise
8594         their x/y positions may be wrong.
8595
8596         * text2.C (cursorDown): don't enter the inset if we came from a row
8597         above and are one row over the inset.
8598
8599         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8600         really leaving an inset.
8601
8602 2002-04-18  Juergen Vigna  <jug@sad.it>
8603
8604         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8605         of the selected paragraph does not have the selected layout also if
8606         the last one had!
8607
8608         * text2.C (setLayout): fixed bug which did not change last selected
8609         paragraph.
8610
8611         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8612         changed the read and substituted \\end_float with \\end_inset!
8613
8614         * BufferView_pimpl.C (cursorPrevious):
8615         (cursorNext): fixed to make it work with rows heigher than the work
8616         area without moving the cursor only the draw of the row.
8617         (workAreaMotionNotify): fix jumping over high rows.
8618
8619 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8620
8621         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8622         Ressler.
8623
8624 2002-04-16  Juergen Vigna  <jug@sad.it>
8625
8626         * text2.C (setCursor): set also the irow().
8627         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8628         (cursorUp):
8629         (cursorDown): support for locking an inset if the x_fix value goes
8630         inside it. That way I can transverse insets too with cursor up/down.
8631
8632         * lyxrow.h: added irow helper function same as other (i) functions.
8633
8634         * BufferView_pimpl.C (cursorPrevious):
8635         (cursorNext): fixed for insets!
8636
8637 2002-04-15  Juergen Vigna  <jug@sad.it>
8638
8639         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8640         position otherwise it is wrong in some cases.
8641
8642         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8643         inside the inset before the call.
8644
8645 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8646
8647         * buffer.[Ch] (getBibkeyList): make it const.
8648
8649 2002-04-12  Juergen Vigna  <jug@sad.it>
8650
8651         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8652
8653         * text2.C (getCursorX): new helper function
8654         (setCursor): compute also ix_
8655         (setCursorFromCoordinates): set also ix.
8656
8657         * lyxcursor.h: added ix_ and helper functions.
8658
8659         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8660
8661         * buffer.C (insertStringAsLines): dont break paragraph if the this
8662         paragraph is inside an inset which does not permit it!
8663
8664         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8665         also with no chars on this paragraph.
8666         (paintRowText): only paint stuff if it's inside the workarea!
8667
8668         * paragraph.C (breakParagraph): honor keepempty flag and break the
8669         paragraph always below not above.
8670
8671         * BufferView2.C (unlockInset): update the paragraph layout on inset
8672         unlock as we changed paragraph in such a case.
8673
8674         * lyxfind.C (LyXFind): clear the former selection if not found!
8675
8676         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8677         again called in insertChar().
8678
8679         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8680         an inset which uses the whole row!
8681         (rightMargin): ditto.
8682         (insertChar): force a rebreak if we inserted an inset!
8683
8684 2002-03-28  Herbert Voss  <voss@lyx.org>
8685
8686         * lyxlength.[Ch]: add inBP() to get the right PS-point
8687         units (BigPoint). With inPixels we have rounding errors
8688
8689 2002-04-11  Juergen Vigna  <jug@sad.it>
8690
8691         * text2.C (setCursorFromCoordinates): set iy to the right value.
8692         (setCursor): add check if row->previous exists!
8693
8694         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8695         an old float_type as this was the case in the old code!
8696
8697         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8698
8699         * BufferView2.C (showLockedInsetCursor): use iy
8700         (fitLockedInsetCursor): ditto
8701
8702         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8703         locked insets as there we have the right value now.
8704
8705         * lyxcursor.C: added iy_ variable and iy functions to set to the
8706         baseline of cursor-y of the locked inset.
8707
8708         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8709         (setCursor): fixed for insets which need a full row.
8710
8711         * text.C (rowLastPrintable): don't ignore the last space when before
8712         an inset which needs a full row.
8713         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8714         as last character of a row when before a inset which needs a full row.
8715
8716 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8717
8718         * version.C.in: update date
8719
8720         * text2.C (fullRebreak): try to always return true and see what
8721         happens...
8722
8723 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8724
8725         * MenuBackend.C (expand): use Floating::listName
8726
8727         * FloatList.C (FloatList): add listName argument to the built-in
8728         floats
8729
8730         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8731         text associated with the float.
8732
8733 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8734
8735         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8736
8737 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8738
8739         * ShareContainer.h: add a couple of missing typenames.
8740
8741 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8742
8743         * lyxrc.C (getDescription): use _() correctly rather than N_().
8744
8745 2002-03-28  Herbert Voss  <voss@lyx.org>
8746
8747         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8748         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8749
8750 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8751
8752         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8753         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8754
8755 2002-03-29  Juergen Vigna  <jug@sad.it>
8756
8757         * lyxfunc.C (dispatch): add a missing fitCursor call.
8758
8759         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8760         it was scrolled by a cursor move, so return the bool status.
8761
8762         * BufferView.C (fitCursor): return the bool flag also to the outside
8763         world as this is needed.
8764
8765         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8766
8767         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8768         call the edit() as it is not needed (and wrong) IMO.
8769         (workAreaButtonPress): set the screen_first variable before evt.
8770         unlock the inset as this may change screen_first and then we have
8771         a wrong y position for the click!
8772
8773 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8774
8775         * MenuBackend.C (expand): another translation that I missed
8776
8777 2002-03-28  Juergen Vigna  <jug@sad.it>
8778
8779         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8780
8781         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8782
8783 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8784
8785         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8786
8787         * MenuBackend.C (expand): fix export/view/update when there is no
8788         document open.
8789
8790 2002-03-27  Herbert Voss  <voss@lyx.org>
8791
8792         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8793         and text%
8794
8795 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8796
8797         * bufferview_funcs.C (currentState): only show paragraph number
8798         for is DEVEL_VERSION is set.
8799
8800         * lyxfunc.C (dispatch): put warning in INFO channel
8801
8802         * MenuBackend.C (expand): translate the name of floats
8803
8804         * FloatList.C (FloatList): mark the float names for translation
8805
8806         * converter.C (convert): use LibScriptSearch
8807
8808 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8809
8810         * MenuBackend.C (defaults): fix default menu (we might as well get
8811         rid of it...)
8812
8813 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8814
8815         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8816         directory.
8817
8818 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8819
8820         * lyxvc.C: reorder includes.
8821
8822 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8823
8824         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8825           properly
8826
8827 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8828
8829         * CutAndPaste.C: change layouts earlier on paste
8830           to avoid crashing when calling getFont()
8831
8832 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8833
8834         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8835         irritating #error.
8836
8837 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8838
8839         * WorkArea.C: remove 'Pending' debug message.
8840
8841         * most files: ws cleanup
8842
8843         * buffer.[Ch]: ws changes
8844
8845         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8846
8847 2002-03-21  Juergen Vigna  <jug@sad.it>
8848
8849         * tabular.C (SetMultiColumn): collapse also the contents of the
8850         cells and set the last border right. Added a Buffer const * param.
8851
8852 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8853
8854         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8855         linking or not.
8856
8857 2002-03-19  Juergen Vigna  <jug@sad.it>
8858
8859         * text2.C (clearSelection): reset also xsel_cache.
8860
8861         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8862         where it needs to be called (John tells us to do so too :)
8863         (selectionLost): reset sel_cache.
8864
8865         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8866
8867 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8868
8869         * text2.C (setCursorIntern): put debuging code in INSETS channel
8870
8871 2002-03-19  André Pönitz <poenitz@gmx.net>
8872
8873         * lyxfunc.C: tiny whitespace change
8874
8875 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8876
8877         * ToolbarDefaults.C (init):
8878         * LyXAction.C (init):
8879         * commandtags.h:
8880         * BufferView_pimpl.C (Dispatch):
8881         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8882
8883 2002-03-19  Allan Rae  <rae@lyx.org>
8884
8885         * exporter.C (Export): removeAutoInsets before doing anything else.
8886         While I've just introduced a dependency on BufferView this really is
8887         the best place to clean the buffer otherwise you need to cleanup in
8888         a dozen places before calling export or cleanup in a dozen functions
8889         that export calls.
8890
8891         * converter.C (runLaTeX):
8892         (scanLog): Better handling of removeAutoInsets and screen updates.
8893
8894         * lyxfunc.C (dispatch): small whitespace changes
8895
8896 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8897
8898         * WorkArea.C (C_WorkAreaEvent): return a value.
8899         (event_cb): return 1 if we handled the event, 0 otherwise.
8900
8901         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8902
8903 2002-03-18  Juergen Vigna  <jug@sad.it>
8904
8905         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8906         (GetAdditionalWidth): ditto.
8907         (RightLine): ditto.
8908         (LeftLine): ditto.
8909
8910         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8911         inset if we're there actually (probably not used right now but this
8912         is the direction to go for unifying code).
8913         (paste): disable code to clear the selection.
8914
8915         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8916         inside an InsetText and move the check further up as it is in the
8917         wrong place.
8918
8919         * text2.C (pasteSelection): set a selection over the pasted text.
8920
8921 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8922
8923         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8924         and libgraphics to build on Cygwin.
8925
8926 2002-03-15  Juergen Vigna  <jug@sad.it>
8927
8928         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8929         inserting an Inset into the paragraph. I know this is not the best
8930         fix but we already use current_view in CutAndPaste so we will remove
8931         all of it's using at the same time.
8932
8933         * buffer.C (sgmlError): deactivated function till it is rewritten in
8934         the right mode, now it can create problems.
8935
8936         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8937         before accessing it.
8938
8939 2002-03-14  Juergen Vigna  <jug@sad.it>
8940
8941         * undo_funcs.C (textHandleUndo): do the right thing when updating
8942         the inset after the undo/redo.
8943
8944         * text2.C (setCursor): just some testcode for #44 not ready yet.
8945
8946         * undo_funcs.C (textHandleUndo): set the next() and previous()
8947         pointers of the paragraph to 0 before deleting otherwise we have
8948         problems with the Paragraph::[destructor].
8949
8950         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8951         on a paragraph insertion.
8952
8953 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8954
8955         * buffer.C (asciiParagraph): use += operator for char append to
8956         string.
8957
8958         * paragraph.C (getFontSettings): compare >= not just >
8959         (highestFontInRange): ditto
8960         (setFont): ditto
8961
8962 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8963
8964         * paragraph.C: change several algorithm to be more appripriate for
8965         the problem domain. This is lookip in FontList and in the InsetList.
8966
8967 2002-03-13  André Pönitz <poenitz@gmx.net>
8968
8969         * commandtags.h:
8970         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8971
8972 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8973
8974         * commandtags.h:
8975         * LyXAction.C:
8976         * lyxfunc.C:
8977         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8978
8979 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8980
8981         * Painter.C (display): anon helper function, adjust code for this
8982         change.
8983         (pixmap): remove function.
8984
8985         * Painter.h: remove private display variable.
8986
8987         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8988
8989 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8990
8991         * WorkArea.[Ch]: remove figinset_canvas cruft.
8992
8993 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8994
8995         * lyxtextclass.C (operator): add one item cache optimization.
8996
8997         * bufferlist.h: doxy changes
8998
8999         * bufferlist.C: ws changes
9000
9001         * DepTable.[Ch] (ext_exist): place const in the right spot.
9002
9003         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9004         call resizeInsets.
9005         (workAreaExpose): call resizeInsets when the with BufferView changes.
9006         (Dispatch): adjust for protectedBlank removal
9007         (specialChar): call updateInset if the insert went ok.
9008
9009         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9010         specialChar instead.
9011
9012         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9013
9014         * BufferView.h: doxy change
9015
9016         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9017
9018         * lyxtextclass.C (operator[]): remove non-const version
9019         (defaultLayout): remove non-const version
9020
9021 2002-03-12  Juergen Vigna  <jug@sad.it>
9022
9023         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9024         did resize the LyXText too.
9025
9026         * buffer.C (readLyXformat2): set layout information on newly allocated
9027         paragraphs.
9028
9029         * tabular.C (OldFormatRead): set layout information on the paragraph.
9030
9031 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9032
9033         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9034
9035 2002-03-11  Juergen Vigna  <jug@sad.it>
9036
9037         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9038         plainly wrong.
9039         (resizeCurrentBuffer): force also the insets to resize themselfes.
9040         (moveCursorUpdate): fixed up for InsetText.
9041
9042 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9043
9044         * commandtags.h:
9045         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9046         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9047         value of Dialogs::tooltipsEnabled().
9048         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9049
9050 2002-03-08  Juergen Vigna  <jug@sad.it>
9051
9052         * BufferView_pimpl.C (updateInset): update inset inside inset also
9053         if it isn't inside theLockingInset().
9054
9055 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9056
9057         * buffer.C (asciiParagraph): redo some of the word and line length
9058         handling.
9059         (getLists): look for Caption instead of caption.
9060
9061 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9062
9063         * buffer.C (Buffer): initialize niceFile to true
9064         (makeLaTeXFile):
9065         (makeLinuxDocFile):
9066         (makeDocBookFile): make sure niceFile is true on exit
9067
9068 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9069
9070         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9071
9072 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9073
9074         * LyXSendto.C: remove.
9075         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9076         * lyx_gui.C: remove now-redundant comment.
9077         * ColorHandler.h: remove forward declaration of class WorkArea.
9078         * lyxfunc.C: remove #include "WorkArea.h".
9079
9080 2002-03-07  Juergen Vigna  <jug@sad.it>
9081
9082         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9083         got moved away with the DEPM and also set the inset_owner always
9084         right which before could have been omitted.
9085
9086 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9087
9088         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9089         wanted layout is not found.
9090
9091 2002-03-07  Juergen Vigna  <jug@sad.it>
9092
9093         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9094
9095 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9096
9097         * paragraph.C (breakParagraph): use default layout not layout of
9098         prev paragraph.
9099         (Paragraph): clear ParagraphParameters.
9100
9101 2002-03-06  Juergen Vigna  <jug@sad.it>
9102
9103         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9104         otherwise it would not be a valid lenght. Fixed a special case in
9105         the minipage compatibility read where we end the document with a
9106         minipage.
9107
9108         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9109         was set as it could be 0 for InsetTexts first entry.
9110
9111 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9112
9113         * paragraph.C (writeFile): if layout is empty write out
9114         defaultLayoutName().
9115
9116         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9117         file without named layout we set layout to defaultLayoutName().
9118
9119 2002-03-06  Juergen Vigna  <jug@sad.it>
9120
9121         * CutAndPaste.C (copySelection): set layout for new paragraph.
9122
9123         * text.C (prepareToPrint): leave ERT inset left aligned
9124         (leftMargin): don't indent paragraphs inside ERT insets
9125
9126 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9127
9128         * paragraph.C (breakParagraph): dont call clear do the work manually
9129
9130         * paragraph.[Ch] (clear): remove function
9131
9132 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9133
9134         * paragraph.C (Paragraph): dont call clear, the work has already
9135         been done.
9136
9137         * lyxtextclass.C (operator): assert if n is empty
9138
9139         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9140         work manually instead.
9141
9142 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9143
9144         * BufferView_pimpl.C: protect selectionLost against text == 0
9145
9146 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9147
9148         * text.C (breakParagraph): fix a setting layout to '0' problem.
9149
9150 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9151
9152         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9153         final location of file, for the included files, and graphics.
9154
9155 2002-03-05  Juergen Vigna  <jug@sad.it>
9156
9157         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9158
9159 2002-03-04  Juergen Vigna  <jug@sad.it>
9160
9161         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9162
9163         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9164         last column of multicolumn cells.
9165         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9166
9167 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9168
9169         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9170         file if it doesn't go to a temporary file.
9171
9172         * buffer.C (sgmlOpenTag):
9173         (sgmlCloseTag):  remove extra newline insertion.
9174
9175 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9176
9177         * text.C (getRowNearY): comment out debug msg
9178
9179 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9180
9181         * text2.C: first -> first_y
9182
9183         * text.C (getRowNearY): add some attemts at a possible
9184         optimization, not working.
9185
9186         * tabular.[Ch]: add BufferParams to several function so that newly
9187         created paragraph can be initialized to he default layotu for the
9188         buffers textclass.
9189
9190         * tabular-old.C (ReadOld): add buf->params to call of Init
9191
9192         * screen.C: rename text->first to text->first_y
9193
9194         * paragraph.C (breakParagraph): always set layout in the broken
9195         paragraph
9196
9197         * lyxtextclass.C (Read): remove lowercase
9198         (hasLayout): ditto
9199         (operator): ditto
9200         (delete_layout): ditto
9201
9202         * lyxtext.h: rename first -> first_y
9203
9204         * lyxlayout.C (Read): remove lowercase
9205         (name): ditto
9206         (setName): ditto
9207         (obsoleted_by): ditto
9208
9209         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9210
9211         * buffer.C (insertErtContents): add params are to InsetERT
9212         (parseSingleLyXformat2Token): add code to check if a paragraphs
9213         layout really exist.
9214         (parseSingleLyXformat2Token): add params to several inset
9215         constructors
9216         (asciiParagraph): remove lowercase, do the layout comparisons with
9217         no_case
9218
9219         * BufferView_pimpl.C (cursorNext): first -> first_y
9220         (resizeCurrentBuffer): first -> first_y
9221         (updateScrollbar): first -> first_y
9222         (scrollCB): first -> first_y
9223         (workAreaMotionNotify): first -> first_y
9224         (workAreaButtonPress): first -> first_y
9225         (checkInsetHit): first -> first_y
9226         (cursorPrevious): first -> first_y
9227         (cursorNext): first -> first_y
9228         (Dispatch): add buffer_->params to severl inset contructors
9229
9230 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9231
9232         * lyxlayout.C (Read): remove some debug info that I forgot.
9233
9234         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9235         clean up the code slightly.
9236         (makeLinuxDocFile): ditto
9237         (makeDocBookFile): ditto
9238
9239         * text2.C: layout as string
9240
9241         * text.C: layout as string
9242
9243         * paragraph_pimpl.C: layout as string
9244
9245         * paragraph.[Ch]: layout as string
9246
9247         * lyxtextclasslist.[Ch]: layout as string
9248
9249         * lyxtextclass.[Ch]: layout as string
9250
9251         * lyxtext.h: layout as string
9252
9253         * lyxlayout.[Ch]: layout as string
9254
9255         * lyx_cb.C: layout as string
9256
9257         * bufferview_funcs.C: layout as string
9258
9259         * bufferparams.C: layout as string
9260
9261         * buffer.C: layout as string
9262
9263         * LyXView.[Ch]: layout as string
9264
9265         * LaTeXFeatures.[Ch]: layout as string
9266
9267         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9268
9269         * BufferView_pimpl.C: change current_layout to string, remove
9270         lyx::layout_type.
9271         (Dispatch):
9272         (smartQuote):
9273         (insertInset):
9274         (workAreaButtonRelease): layout as string
9275
9276         * BufferView2.C (unlockInset): adjust
9277
9278         * vspace.C (asLatexCommand): use an explict temp variable.
9279
9280 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9281
9282         * Makefile.am: use FRONTEND_*
9283
9284 2002-03-01  Juergen Vigna  <jug@sad.it>
9285
9286         * tabular.C (SetWidthOfMulticolCell): changed to something better
9287         I hope but still work in progress.
9288         (recalculateMulticolumnsOfColumn): renamed function from
9289         recalculateMulticolCells as it is more appropriate now.
9290         (SetWidthOfCell): calculate multicols better.
9291
9292 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9293
9294         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9295
9296         * lyxfunc.C (processKeySym): print sequence also if it is
9297         `deleted' (complete)
9298
9299         * kbsequence.C (print): print sequence even if it is deleted
9300         (complete would be a better word, actually).
9301
9302         * lyxfunc.C (dispatch): print complete options after a prefix key
9303
9304         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9305
9306 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9307
9308         * text2.C (setCharFont): eliminate setCharFont code duplication.
9309
9310 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9311
9312         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9313         LFUN_TABULAR_FEATURE (bug #177)
9314
9315 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9316
9317         * Makefile.am: remove figure.h
9318
9319 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9320
9321         * Bufferview_pimpl.C:
9322         * CutAndPasteC:
9323         * LaTeX.C:
9324         * LyXSendto.C:
9325         * buffer.C:
9326         * bufferlist.C:
9327         * converter.C:
9328         * language.C:
9329         * lyxfunc.C:
9330         * lyxvc.C:
9331         * paragraph.C:
9332         * text.C:
9333         * text2.C: remove #include "lyx_gui_misc.h".
9334
9335         * LaTeX.C: added #include <cstdio>
9336
9337 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9338
9339         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9340         that the paragraph following this one can have.
9341
9342         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9343
9344         * vspace.C (asLatexCommand): fix bogus gcc warning
9345
9346         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9347
9348 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9349
9350         * text2.C (setLayout): get rid of redundant code
9351
9352 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9353
9354         * text2.C (incDepth): make sure depth cannot be increased beyond
9355         reasonable values.
9356
9357 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9358
9359         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9360         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9361
9362         * PainterBase.h (image):
9363         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9364         a LyXImage const *.
9365
9366 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9367
9368         * BufferView.C:
9369         * BufferView.h:
9370         * BufferView_pimpl.C:
9371         * BufferView_pimpl.h:
9372         * LaTeXFeatures.C:
9373         * LyXAction.C:
9374         * LyXView.C:
9375         * Makefile.am:
9376         * UpdateList.h:
9377         * UpdateList.C:
9378         * buffer.C:
9379         * figure.h:
9380         * figureForm.C:
9381         * figureForm.h:
9382         * figure_form.C:
9383         * figure_form.h:
9384         * lyx_cb.C:
9385         * lyx_gui.C:
9386         * lyx_gui_misc.C:
9387         * lyxfunc.C:
9388         * sp_base.h:
9389         * sp_ispell.h:
9390         * sp_pspell.h:
9391         * sp_spell.C: remove fig inset, and the crap house of
9392           cards that follows it
9393
9394 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9395
9396         * Makefile.am:
9397         * lyxserver.C:
9398         * os2_defines.h:
9399         * os2_errortable.h:
9400         * nt_defines.h: move .h into support/
9401
9402         * vms_defines.h: remove
9403
9404         * WorkArea.C: add space in debug output
9405
9406         * text2.C:
9407         * paragraph.C:
9408         * buffer.C: add WITH_WARNINGS
9409
9410         * vc-backend.h:
9411         * vc-backend.C:
9412         * bufferlist.C: s/retrive/retrieve/, add docs
9413
9414         * vspace.h:
9415         * vspace.C:
9416         * kbmap.h:
9417         * lyxlength.h:
9418         * lyxgluelength.h:
9419         * length_common.h:
9420         * chset.h:
9421         * chset.C: add docs
9422
9423         * lyxgui.C: add ID to X error handler
9424
9425         * lyxtestclass.c: fix typo
9426
9427 2002-02-26  Juergen Vigna  <jug@sad.it>
9428
9429         * tabular_funcs.C (write_attribute): changed so that some default
9430         attributes are not written at all.
9431         (getTokenValue): set default values before trying to read the
9432         value so we have the return value always set as default if we don't
9433         find the token we search for.
9434
9435         * tabular.C (Write): write bools as bools not as strings!
9436
9437 2002-02-22  Juergen Vigna  <jug@sad.it>
9438
9439         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9440         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9441
9442         * text.C (leftMargin): don't add an indent for paragraphs inside
9443         tabular cells (fix #208).
9444
9445 2002-02-21  José Matos  <jamatos@fep.up.pt>
9446
9447         * tabular.C (docBook): fixed support for long tables.
9448
9449 2002-02-20  Juergen Vigna  <jug@sad.it>
9450
9451         * text2.C (getFont): get the drawing font of the Inset if this
9452         paragraph is inside an inset (only important for InsetERT for now).
9453
9454         * buffer.C (insertErtContents): use new lanugage params in ERT
9455         constructor.
9456
9457         * CutAndPaste.C: commenting out seemingly uneeded code.
9458
9459 2002-02-19  Allan Rae  <rae@lyx.org>
9460
9461         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9462         Iterators might be simple to use but they also get invalidated.
9463         (removeAutoInsets): renamed saved cursor tracking variables and added
9464         some comments to clarify what everything does.
9465
9466 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9467
9468         * Chktex.C:
9469         * LaTeX.C:
9470         * LyXSendto.C:
9471         * converter.C:
9472         * lyx_cb.C:
9473         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9474         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9475
9476         * lyxfunc.C:
9477         * vc-backend.h: remove #include "support/syscall.h"
9478
9479         * LaTeX.C:
9480         * LyXSendto.C:
9481         * converter.C: rearrange #includes in Lars' approved fashion.
9482
9483         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9484         forward declare class Timeout in the header file.
9485
9486         * XFormsView.C: changes due to the above.
9487
9488         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9489         similar to LyXView.
9490
9491         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9492         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9493
9494 2002-02-18  José Matos  <jamatos@fep.up.pt>
9495
9496         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9497         insets contents.
9498
9499 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9500
9501         * a lot of small ws changes
9502         * add a lot of using std::XXX
9503         * use std construcs some places where approp.
9504         * use some exisint stuff from lyxfunctional where approp.
9505         * Make file changes to use partial linking (lets test this now...)
9506
9507 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9508
9509         * Chktex.C:
9510         * buffer.C:
9511         remove #include "support/syscontr.h" as it's redundant. Always has been.
9512
9513         * Chktex.C:
9514         * LaTeX.C:
9515         * LyXSendto.C:
9516         * converter.C:
9517         * lyx_cb.C:
9518         * vc-backend.C:
9519         change Systemcalls::System to Systemcalls::Wait and
9520         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9521         No change of functionality, just reflects the stripped down Systemcalls
9522         class.
9523
9524 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9525
9526         * debug.[Ch]: add a GRAPHICS type to the enum.
9527
9528 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9529
9530         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9531
9532         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9533         there is an inset.
9534
9535 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9536
9537         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9538         match the changes below.
9539
9540         * text2.C (toggleInset): if there is not editable inset at cursor
9541         position, try to see if cursor is _inside_ a collapsable inset
9542         and close it.
9543
9544 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9545
9546         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9547         document menu has a nice checkbox
9548
9549 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9550
9551         * lyxlength.C (asLatexString): change PW to output as percent of
9552         \textwidth.
9553
9554         * lengthcommon.C: change '%' to 't%'
9555
9556         * lyxfunc.C (dispatch): a few comments from Martin
9557
9558 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9559
9560         * WorkArea.h:
9561         * WorkArea.C:
9562         * BufferView_pimpl.h:
9563         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9564           the X selection.
9565
9566 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9567
9568         * vspace.C (inPixels): fix compiler warning
9569
9570 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9571
9572         * lyxfunc.C (getStatus): fix status message for disabled commands.
9573
9574 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9575
9576         * BufferView_pimpl.C: fix crash on close buffer
9577         during selection (#227)
9578
9579 2002-01-27  Herbert Voss  <voss@lyx.org>
9580
9581         * buffer.C: link old Figure to new graphic inset
9582
9583 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9584
9585         * FontLoader.C (getFontinfo): Change the latex font names in order
9586         to match the names of type1inst.
9587
9588 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9589
9590         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9591
9592         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9593         (extchanged): ditto
9594         (ext_exist): ditto
9595         (remove_files_with_extension): ditto
9596         (remove_file): ditto
9597         (write): ditto
9598
9599         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9600         document is smaller than the work area height. Do not initialize
9601         static variables to 0.
9602
9603 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9604
9605         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9606
9607         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9608         LFUN_LAYOUT_PARAGRAPHS.
9609
9610         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9611         tabular. It is possible to provide a possible cell, which will
9612         typically be the actcell from the corresponding insettabular
9613
9614         * lyxfunc.C (getStatus): small cleanup; disable
9615         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9616         true
9617
9618 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9619
9620         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9621
9622         * paragraph.C (startTeXParParams):
9623         (endTeXParParams): new methods. The LaTeX code to
9624         start/end paragraph formatting
9625         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9626         empty (fixes bug #200)
9627
9628         * vspace.C (inPixels): adapt to the change below
9629         (inPixels): [later] more cleanups (remove unused variables)
9630
9631         * lyxlength.C (inPixels): change to use a width and a height as
9632         parameter.
9633
9634 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9635
9636         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9637         Replaced with \paperwidth
9638
9639         * DepTable.C (insert): add std:: qualifier
9640
9641 2002-01-18  Allan Rae  <rae@lyx.org>
9642
9643         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9644         updated also?
9645
9646         * text.C (drawInset): Turned out I didn't know enough about how
9647         rebreaking worked.  This fixes most of the redraw problems.  I see
9648         an occasional cursor trail when a line is broken now and the cursor
9649         placement can seem out by a few pixels also after a rebreak.
9650
9651 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9652
9653         * buffer.C (parseSingleLyXformat2Token): update because minipage
9654         width is now a LyXLength
9655
9656         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9657
9658         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9659         math insets
9660
9661 2002-01-17  Juergen Vigna  <jug@sad.it>
9662
9663         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9664
9665         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9666         is set correctly and the inset is updated correctly.
9667
9668 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9669
9670         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9671         the beginning of the loop.
9672
9673 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9674
9675         * lyxrc.C: improve help for use_scalable_fonts
9676
9677 2002-01-17  Allan Rae  <rae@lyx.org>
9678
9679         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9680
9681 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9682
9683         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9684         make sure to set their inset_owner to the right value (bug #171)
9685
9686 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9687
9688         * DepTable.h
9689         * DepTable.C: Implement mtime checking to reduce time spent doing
9690         CRCs.
9691
9692 2002-01-16  Juergen Vigna  <jug@sad.it>
9693
9694         * tabular.C (GetAdditionalHeight): one of error fixed.
9695
9696         * lyxrc.C (output): small fix in writing use_pspell.
9697
9698 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9699
9700         * sp_base.h: #include LString.h
9701
9702 2002-01-16  Allan Rae  <rae@lyx.org>
9703
9704         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9705         Can someone check this please?
9706
9707         * text.C (drawInset): It was possible that p.row would be removed by
9708         breakAgainOneRow upsetting a few other settings.  There may be another
9709         small tweak possible by setting need_break_row = 0 when p.row has been
9710         removed but I don't know enough about the logic here.
9711
9712 2002-01-15  Allan Rae  <rae@lyx.org>
9713
9714         * text.C (insertChar): removed conditional truism.
9715
9716         * BufferView2.C (removeAutoInsets): More tweaks.
9717         cur_par_prev could be a stray pointer.  Check for trailing empty line
9718         in case last line was cur_par and only had an error inset on it.
9719
9720 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9721
9722         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9723         absolute
9724
9725         * vc-backend.C (most methods):
9726         * exporter.C (Export):
9727         * converter.C (convert):
9728         (runLaTeX):
9729         * LyXSendto.C (SendtoApplyCB):
9730         * lyxfunc.C (dispatch):
9731         (menuNew):
9732         (open):
9733         (doImport):
9734         * lyx_cb.C (AutoSave):
9735         (InsertAsciiFile):
9736         * BufferView_pimpl.C (MenuInsertLyXFile):
9737         * buffer.C (runChktex): use Buffer::filePath().
9738
9739         * buffer.h: rename filename to filename_; rename filepath to
9740         filepath_ and make it private
9741         (filePath): new method
9742
9743         * buffer.C (writeFile): use fileName()
9744         (getLatexName):
9745
9746         * lyx_main.C (init): fix starting  of LyX when the binary is a
9747         link from so,ewhere else.
9748
9749         * minibuffer.C: include <cctype> for isprint
9750
9751 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9752
9753         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9754         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9755         name clash with InsetCollapsable's width function.
9756
9757 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9758
9759         * lastfiles.C: include <iterator>
9760
9761 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9762
9763         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9764         std::count.
9765
9766         * buffer.C (makeLaTeXFile): ditto.
9767         Also make loop operation more transparent.
9768
9769 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9770
9771         * ToolbarDefaults.C: remove trailing comma closing namespace.
9772
9773         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9774
9775         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9776         as in WorkArea.
9777
9778         * trans.C (Load): comment out unused variable, allowed.
9779
9780 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9781
9782         * minibuffer.[Ch] (append_char): new method to recieve input from the
9783         drop-down completion browser. If a key was pressed, then recieve this
9784         char and append it to the existing string.
9785         (peek_event): modify the positioning data passed to the completion
9786         browser so that it can be placed above the minibuffer rather than below.
9787 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9788
9789         * LyXAction.C (init): alloe error-next for readonly documents.
9790
9791         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9792         count.
9793
9794 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9795
9796         * bufferlist.C (readFile): create the buffer _after_ checking that
9797         the file exists.
9798
9799         * lyxfunc.C (verboseDispatch): fix handling of arguments
9800
9801         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9802
9803         * lyxrc.C: use string::erase() instead of initializing to "".
9804
9805
9806 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9807
9808         * BufferView_pimpl.h:
9809         * BufferView_pimpl.C:
9810         * WorkArea.h:
9811         * WorkArea.C:
9812         * text2.C: tell X when we have made a selection for copying
9813
9814 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9815
9816         * BufferView_pimpl.C (MenuInsertLyXFile):
9817         * lyxfunc.C (menuNew):
9818         (open):
9819         (doImport): add shortcuts to directory buttons
9820
9821         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9822         open a float)
9823
9824         * lyxfunc.C (setStatusMessage):
9825         (getStatusMessage): new methods
9826         (getStatus):use setStatusMessage instead of setErrorMessage
9827         (dispatch): when function is disabled, set error message here
9828         [instead of in getStatus previously]
9829
9830         * BufferView_pimpl.C (workAreaButtonRelease): update
9831         toolbar/menubar here too.
9832
9833 2002-01-13  Allan Rae  <rae@lyx.org>
9834
9835         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9836         Now seems indestructible.  Remaining task is to audit all other
9837         code affected by deleteEmptyParagraphMechanism.  One small quirk
9838         left is that an empty document with an error in the preamble can
9839         be made to report an error but no error box appears.  I don't know
9840         where it goes.
9841         (removeAutoInsets): Improved comments.
9842
9843 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9844
9845         * Thesaurus.h:
9846         * Thesaurus.C: update for Aiksaurus 0.14
9847
9848 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9849
9850         * text2.C (firstParagraph): removed member function, all uses
9851         replaces with ownerParagraph
9852         (redoParagraphs): here
9853         (updateInset): here
9854         (toggleAppendix): here
9855         * BufferView2.C (insertErrors): here
9856         (setCursorFromRow): here
9857
9858 2002-01-13  Allan Rae  <rae@lyx.org>
9859
9860         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9861         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9862         There is still a way to segfault this although you may have to do this
9863         multiple times: Have an InsetERT with an unknown command in it.
9864         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9865         <down-arrow>, <Enter> again, View->DVI, BANG!
9866
9867         * text2.C (setCursor):
9868         (deleteEmptyParagraphMechanism):
9869         * lyxtext.h (setCursor):
9870         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9871         Making use of the return value may help fix other bugs.
9872
9873 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9874
9875         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9876
9877         * LyXView.C (updateMenubar): call MenuBar::update here
9878         (updateToolbar): but not here
9879         (showState): do not update toolbar/menubar
9880
9881         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9882         should need to care about that.
9883
9884         * lyxfunc.C (verboseDispatch): simplify a bit
9885         (getStatus): have a version which takes a pseudoaction, and
9886         another which requires a (kb_action,string).
9887
9888         * LyXAction.C (retrieveActionArg): make it work also when action
9889         is not a pseudo-action.
9890         (getActionName): simplify a bit
9891         (helpText):
9892
9893 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9894
9895         * lyxfunc.C (verboseDispatch): new families of methods with
9896         several ways to specify a command and a bool to indicate whether
9897         the command name and shortcut should be displayed in minibuffer
9898         (eventually, we could extend that to a finer bitmask like
9899         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9900         (dispatch): the pristine dispatch command which just, well,
9901         dispatchs! Note it still sets its result to minibuffer; I'm not
9902         sure we want that.
9903
9904         * lyxfunc.h: remove setHintMessage
9905
9906         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9907
9908 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9909
9910         * BufferView_pimpl.C (specialChar): delete new inset if we have
9911         not been able to insert it.
9912
9913         * kbmap.C: revert to using int instead of kb_action, since all we
9914         are dealing with is pseudo-actions.
9915
9916         * LyXAction.C (searchActionArg): change to return int instead of
9917         kb_action, since the result is a pseudoaction.
9918
9919 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9920
9921         * buffer.C (insertErtContents): Fix (partially) the font bug.
9922
9923 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9924
9925         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9926         as the other one is broken on my machine!
9927
9928 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9929
9930         * commandtags.h:
9931         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9932
9933 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9934
9935         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9936         reflect their actual use. Provide compatibility code for older lyxrc
9937         files.
9938
9939         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9940         FL_NORMAL_STYLE.
9941         change names of popup font variables in line with the changes to lyxrc.C
9942
9943 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9944
9945         * buffer.C (asciiParagraph): avoid outputing a word twice after
9946         an inset.
9947
9948         * lyxrc.C (getDescription): document that document_path and
9949         template_path can be empty.
9950
9951 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9952
9953         * LaTeXFeatures.C (getMacros):
9954         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9955
9956         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9957
9958         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9959         getPackages.
9960         (getPackages): rename feature "floats" to "float". Use an array to
9961         iterate over 'simple' features (i.e. just a \usepackage). Add
9962         handling of "amsmath" (renamed from "amsstyle").
9963
9964 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9965
9966         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9967         features list.
9968
9969 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9970
9971         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9972         FuncStaus::FuncStatus & FuncStaus::some_method().
9973
9974 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9975
9976         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9977         of the func_satus stuff. Edited and massaged in various ways by
9978         JMarc.
9979
9980         * lyxfunc.C (getStatus): use FuncStatus
9981
9982 2002-01-08  Juergen Vigna  <jug@sad.it>
9983
9984         * text.C (nextBreakPoint): use function Inset::isChar().
9985
9986         * paragraph.C (TeXOnePar): use function
9987         Inset::forceDefaultParagraphs.
9988
9989         * buffer.C (latexParagraphs): use function
9990         Inset::forceDefaultParagraphs.
9991
9992 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9993
9994         * lyx_gui.C (init): set the style of the menu popups to
9995         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9996
9997 2002-01-07  Juergen Vigna  <jug@sad.it>
9998
9999         * text.C (setHeightOfRow): small fix
10000         (prepareToPrint): don't look at alignment if we don't have the place
10001         for doing it.
10002
10003 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10004
10005         * box.C: New file. Move the Box methods and functions out of box.h,
10006         following Lars' suggestion.
10007
10008 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10009
10010         * box.h: #include "support/LOstream.h", needed for inlined function.
10011
10012         * lyxtextclass.C:
10013         * lyxtextclasslist.C: added some using std declarations.
10014
10015 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10016
10017         * box.h: make signed dimensions to allow insets wider than
10018           the screen (bug #162)
10019
10020         * BufferView_pimpl.C: add some insetHit debug
10021
10022 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10023
10024         * vc-backend.C: add FIXME
10025
10026 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10027
10028         * lyxfunc.C (getStatus): enable code for showing math font status
10029         in toolbar/menu.
10030
10031 2002-01-07  Juergen Vigna  <jug@sad.it>
10032
10033         * text.C (nextBreakPoint): removed debug output not needed anymore.
10034
10035 2002-01-06  Juergen Vigna  <jug@sad.it>
10036
10037         * text.C (nextBreakPoint): fixed up this function we had this bug
10038         since ever but now hopefully we break row better.
10039         (insertChar): we have to check if an inset is the next char as it
10040         could now happen that a large inset is causing a break.
10041
10042 2002-01-05  Juergen Vigna  <jug@sad.it>
10043
10044         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10045         if it doesn't like to be drawed.
10046
10047 2002-01-04  Juergen Vigna  <jug@sad.it>
10048
10049         * BufferView2.C (lockInset): forgot to set a cursor.
10050
10051         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10052
10053 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10054
10055         * FormMathsPanel.C:
10056         * FormMathsPanel.h
10057         * MathsSymbols.C:
10058         * form_maths_panel.C:
10059         * form_maths_panel.h:
10060         * form_maths_panel.fd: implemented sub- and super- buttons in math
10061         panel.
10062
10063         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10064         (or ^ space) to be used as in TeX (req'd by André).
10065
10066         * lyxfunc.C: Allow ^ and _ again to be used both as
10067         super/subscript (mathed) and as themselves (in text).
10068
10069 2002-01-03  Allan Rae  <rae@lyx.org>
10070
10071         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10072         "LyX" or the filename of the current buffer if it has one.  This is a
10073         modified form of John Levon's patch.
10074
10075         * XFormsView.C (setWindowTitle): also set icon title.
10076
10077         * LyXView.h (setWindowTitle): signature changed.
10078         * XFormsView.h (setWindowTitle): ditto.
10079
10080 2002-01-02  Juergen Vigna  <jug@sad.it>
10081
10082         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10083
10084 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10085
10086         * screen.C (topCursorVisible): introduce a temp var for
10087         text->cursor.row(), handle the case where this row is null. (kindo
10088         hachish)
10089
10090         * text2.C (setCursor): add a couple of asserts.
10091
10092         * paragraph.h (inset_iterator): add -> operator
10093
10094         * paragraph.[Ch] (autoDeleteInsets): remove member function
10095
10096         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10097         cursor pos correctly and handle inset deletion by itself.
10098         (insertErrors): move iterator declaration out of for expression
10099
10100         * lyxtextclass.C: add <algorithm>
10101
10102         * Makefile.am: added the new files to sources, removed layout.C
10103
10104         * layout.C: removed file
10105
10106         * layout.h: remove LYX_DUMMY_LAYOUT
10107
10108         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10109         layout.
10110
10111         * lyxlayout.[Ch]:
10112         * lyxtextclass.[Ch]:
10113         * lyxtextclasslist.[Ch]: new files
10114
10115         * include order changes to a lot of files, also changes because of
10116         the six new files.
10117
10118 2001-12-27  Juergen Vigna  <jug@sad.it>
10119
10120         * buffer.C (asciiParagraph): more fixes.
10121
10122         * tabular.C (ascii): make ascii export support export of only the
10123         data separated by a column-delimiter.
10124         (ascii): better support for ascii export.
10125
10126         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10127
10128 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10129
10130         * tabular_funcs.C: use a "using std::getline" instead of the
10131         previous fix from Angus (necessary for cxx + lyxstring)
10132
10133 2001-12-24  Juergen Vigna  <jug@sad.it>
10134
10135         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10136
10137         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10138         problems. First check a minipage also if we have some ert-contents
10139         (not only on par->size(), second set the right depth of the paragraph
10140         on the relink to the root-paragraph-list!
10141
10142         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10143         which then did not anymore update the main paragraphs on undo/redo!
10144
10145 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10146
10147         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10148         code. Support all font-changing funcs (even those which are not in
10149         menu currently). Support for reporting font settings in
10150         mathed (disabled until Andre provides a function on mathed's side).
10151
10152         * func_status.h (toggle): small helper function to set toggle
10153         state on a flag.
10154
10155 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10156
10157         * tabular_funcs.C: getline -> std::getline
10158
10159 2001-12-21  Juergen Vigna  <jug@sad.it>
10160
10161         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10162         accessed and could be 0 (I couldn't generate this but it seems
10163         Michael could!).
10164
10165 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10166
10167         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10168         * tabular_funcs.h: here and include iosfwd
10169
10170 2001-12-20  Juergen Vigna  <jug@sad.it>
10171
10172         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10173         inside inset but undo_par was.
10174
10175 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10176
10177         * Thesaurus.C: always include <config.h> in sources.
10178
10179         * Painter.h:
10180         * lyxlookup.h:
10181         * box.h: do not include <config.h> in header files
10182
10183         * text.C (paintLastRow): remove unused variable
10184
10185         * text.C (transformChar):
10186         (insertChar):
10187         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10188
10189         * Painter.C (text):
10190         * font.C (width): rewrite to use uppercase() instead of
10191         islower/toupper.
10192
10193         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10194
10195 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10196
10197         * lyxfind.C: clean up of find failure position change
10198
10199 2001-12-20  Juergen Vigna  <jug@sad.it>
10200
10201         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10202
10203         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10204         (TeXRow): added to LaTeX a single tabular row.
10205         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10206         (Latex): simplified and finally good LT-h/f support.
10207         (various_functions): just small adaptions for LT-h/f support.
10208
10209         * tabular_funcs.[hC]: added and moved here all not classfunctions
10210         of LyXTabular.
10211
10212 2001-12-19  Juergen Vigna  <jug@sad.it>
10213
10214         * tabular.[Ch]: better support for longtabular options (not finished
10215         yet!)
10216
10217 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10218
10219         * text.C (paintLastRow): use the label font instead of the font of
10220         the last character to compute the size of *_BOX. This makes more
10221         sense and avoids a crash with empty paragraphs.
10222         Use Painter::rectangle to draw EMPTY_BOX.
10223
10224 2001-12-19  Juergen Vigna  <jug@sad.it>
10225
10226         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10227         the paragraphs if the replaced paragraph is not the first one!
10228         Tried to delete not used paragraphs but does not work yet so for
10229         now it's inside #ifdef's and by default off!
10230
10231 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10232
10233         * MenuBackend.C: include "lyx_main.h" instead of declaring
10234         lastfiles (actually was declared as LastFiles* instead of a
10235         scoped_ptr).
10236
10237 2001-12-17  Juergen Vigna  <jug@sad.it>
10238
10239         * tabular.C (AppendColumn): applied John's fix
10240
10241 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10242
10243         * BufferView.h:
10244         * BufferView.C:
10245         * BufferView_pimpl.h:
10246         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10247
10248         * Makefile.am:
10249         * box.h: new start of class for above
10250
10251         * lyxfunc.C: ignore space-only minibuffer dispatches.
10252           Show the command name when it doesn't exist
10253
10254         * minibuffer.C: don't add empty lines to the history
10255
10256         * minibuffer.C: add a space on dropdown completion
10257
10258 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10259
10260         * text.C: fix line above/below drawing in insets
10261
10262 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10263
10264         * lyxlength.C (LyXLength): Initialize private variables.
10265
10266 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10267
10268         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10269         when inserting error insets.
10270
10271 2001-12-13  Juergen Vigna  <jug@sad.it>
10272
10273         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10274         actually sometimes the before-paragraph.
10275         (setUndo): don't clear the redostack if we're not actually undoing!
10276
10277 2001-12-06  Juergen Vigna  <jug@sad.it>
10278
10279         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10280         and fixed redoing of main paragraph, so we can use it now ;)
10281
10282         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10283
10284 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10285
10286         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10287         Juergen's request
10288
10289 2001-12-13  André Pönitz <poenitz@gmx.net>
10290
10291         * undostack.[Ch]:
10292         * undo_func.C: minor cleanup
10293
10294 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10295
10296         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10297         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10298         font in urw-fonts package which is marked as -urw-fontspecific and
10299         does not work (incidentally, changing the encoding in the
10300         fonts.dir of this package to -adobe-fontspecific fixes the
10301         problem).
10302
10303         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10304         is a crash when undoing first paragraph (Juergen, please take a
10305         look). THis does not mean the undo fix is wrong, just that it
10306         uncovers problems.
10307
10308         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10309         the (Paragraph*) version when needed instead of duplicating the
10310         code.
10311
10312         * text.C (workWidth): use Inset::parOwner to find out where the
10313         inset has been inserted. This is a huge performance gain for large
10314         documents with lots of insets. If Inset::parOwner is not set, fall
10315         back on the brute force method
10316
10317         * paragraph_pimpl.C (insertInset):
10318         * paragraph.C (Paragraph):
10319         (cutIntoMinibuffer): set parOwner of insets when
10320         inserting/removing them
10321
10322         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10323
10324 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10325
10326         * commandtags.h:
10327         * LyXAction.C:
10328         * lyx_main.C:
10329         * lyxfunc.C:
10330         * mathed/formulabase.C:
10331         * mathed/math_cursor.[Ch]:
10332         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10333
10334
10335 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10336
10337         * lyxlength.[Ch] (operator!=): new function
10338
10339 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10340
10341         * text.C (workWidth): use Inset::parOwner to find out where the
10342         inset has been inserted. This is a huge performance gain for large
10343         documents with lots of insets. If Inset::parOwner is not set, fall
10344         back on the brute force method
10345
10346         * paragraph_pimpl.C (insertInset):
10347         * paragraph.C (Paragraph):
10348         (cutIntoMinibuffer): set parOwner of insets when
10349         inserting/removing them
10350
10351         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10352
10353 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10354
10355         * tabular-old.C (getTokenValue):
10356         * tabular.C (getTokenValue):
10357         (write_attribute): new versions for LyXLength
10358         (everywhere): adjust the use of widths
10359
10360         * tabular.h: change the type of widths from string to LyXLength
10361
10362 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10363
10364         * paragraph.C: fixed missing line number count when exporting
10365         Environments to LaTeX file
10366
10367         * buffer.C: added informational message for checking line numbers.
10368
10369 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10370
10371         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10372         paragraph, do the 'double space' part, but not the 'empty
10373         paragraph' one.
10374
10375         * text.C (workWidth): small optimization
10376         (getLengthMarkerHeight): use minimal size for negative lengths.
10377
10378 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10379
10380         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10381
10382         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10383
10384 2001-12-11  André Pönitz <poenitz@gmx.net>
10385
10386         * FontLoader.C:
10387         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10388
10389 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10390
10391         * text2.C: keep selection on a setFont()
10392
10393 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10394
10395         * lyx_cb.C: another bv->text misuse, from insert label
10396
10397 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10398
10399         * kbsequence.h:
10400         * kbsequence.C: re-instate nmodifier mask
10401
10402 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10403
10404         * lyx_main.h: make lyxGUI private.
10405
10406 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10407
10408         * lyxfind.C: place the cursor correctly on failed search
10409
10410 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10411
10412         * text.C (getLengthMarkerHeight): for small heights, the arrows
10413         are not always on top/bottom of the text
10414         (drawLengthMarker): smaller arrows; take the left margin in
10415         account; draw also vfills.
10416         (paintFirstRow):
10417         (paintLastRow): remove special code for vfill and standard spaces,
10418         since everything is handled in drawLengthMarker now.
10419
10420 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10421
10422         * buffer.C (insertErtContents): try to handle font and language
10423         interaction a bit better.g
10424
10425         * ColorHandler.C (updateColor): change the hash to cover the whole
10426         LColor enum, ws cleanup
10427         (getGCLinepars): ditto
10428         (getGCLinepars): only lookup in the linecache once.
10429
10430 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10431
10432         * iterators.C (operator++): Make the iterator more robust
10433
10434         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10435         (John's patch)
10436         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10437
10438 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10439
10440         * lyxtext.h:
10441         * text.C: better added space drawing
10442
10443 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10444
10445         * LyXView.C:
10446         * BufferView2.C: fix layout combo update on inset unlock
10447
10448 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10449
10450         * Makefile.am: don't compile unused files
10451
10452 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10453
10454         * lyxfunc.C:
10455         * commandtags.h:
10456         * LyXAction.C: remove old LFUN_LAYOUTNO
10457
10458 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10459
10460         * paragraph_pimpl.h:
10461         * paragraph_pimpl.C: isTextAt() doesn't need font param
10462
10463 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10464
10465         * lyxlex.h:
10466         * lyxlex.C: little cleanup
10467
10468 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10469
10470         * BufferView_pimpl.C: fix insertAscii for insets
10471
10472 2001-12-05  Juergen Vigna  <jug@sad.it>
10473
10474         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10475         set the right font on the "multi" paragraph paste!
10476
10477 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10478
10479         * trans_decl.h:
10480         * trans_mgr.[Ch]:
10481         * trans.[Ch]:
10482         * lyxgluelength.C:
10483         * lyxlength.C: remove out-commented code.
10484
10485         * BufferView_pimpl:
10486         * CutAndPaste.C:
10487         * DepTable.C:
10488         * buffer.C:
10489         * chset.C:
10490         * lastfiles.C:
10491         * lyxlex.C:
10492         * lyxlex_pimpl.C:
10493         * lyxserver.C:
10494         * screen.C:
10495         * tabular-old.C:
10496         * tabular.C:
10497         * text.C:
10498         * trans_mgr.C:
10499         * vc-backend.C: change "while(" to "while ("
10500
10501         * lyxlength.[Ch]: add zero function to check if length is zero or
10502         not
10503         * lyxgluelength.C: use it
10504
10505 2001-12-05  Allan Rae  <rae@lyx.org>
10506
10507         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10508         Works for 2.95.3, from what I understand of Garst's reports this should
10509         work for other g++ versions.  We're screwed if the abs(int) definition
10510         changed between bugfix releases of gcc.
10511
10512 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10513
10514         * text.C: fix chapter label offset !
10515
10516 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10517
10518         * lyxtext.h:
10519         * text.C: fix hfill at end of line, clean up
10520
10521 2001-12-04  Juergen Vigna  <jug@sad.it>
10522
10523         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10524         that we force an update of the inset and it's owners if neccessary.
10525
10526 2001-12-03  Juergen Vigna  <jug@sad.it>
10527
10528         * text.C (rowLast): simplified code
10529
10530 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10531
10532         * lyxfunc.C: fix show options on timeout
10533
10534 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10535
10536         * screen.C (topCursorVisible): scroll half a page when the cursor
10537         reached top of bottom of screen
10538
10539 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10540
10541         * minibuffer.C: deactivate on loss of focus
10542
10543 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10544
10545         * vspace.[Ch] (operator!=): add operator.
10546
10547 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10548
10549         * BufferView_pimpl.C: refuse to open an inset when
10550         there's a selection.
10551
10552 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10553
10554         * BufferView_pimpl.C: allow to click on RHS of full row insets
10555
10556 2001-11-30  Juergen Vigna  <jug@sad.it>
10557
10558         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10559         insets for undo reasons.
10560
10561 2001-11-28  André Pönitz <poenitz@gmx.net>
10562
10563         * vspace.[Ch]: cosmetical changes
10564
10565 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10566
10567         * LyXAction.h:
10568         * LyXAction.C:
10569         * lyxfunc.h:
10570         * lyxfunc.C:
10571         * kbmap.h:
10572         * kbmap.C:
10573         * lyxrc.C:
10574         * kbsequence.h:
10575         * kbsequence.C: part re-write of old kb code
10576
10577         * Painter.C:
10578         * WorkArea.C: remove Lgb_bug_find_hack
10579
10580 2001-11-30  José Matos <jamatos@fep.up.pt>
10581
10582         * buffer.C (makeDocBookFile): add a comment to point a hack.
10583         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10584         Fixed a double write of labels.
10585
10586 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10587
10588         * LaTeX.C:
10589         * LaTeX.h Fixed bug in LaTeX class where it would not
10590         re-run latex if no depfiles were changed, but the .dvi was removed.
10591
10592 2001-11-28  André Pönitz <poenitz@gmx.net>
10593
10594         * all the files from the change on 2001/11/26:
10595         use lyx::layout_type instead of LyXTextClass::size_type
10596         use lyx::textclass_type instead of LyXTextClassList::size_type
10597
10598 2001-11-29  Juergen Vigna  <jug@sad.it>
10599
10600         * text.C: added support for paragraph::isFreeSpacing()
10601
10602         * buffer.C: same as above
10603
10604         * paragraph.h: inserted isFreeSpacing() function to enable
10605         FreeSpacing inside InsetERT.
10606
10607         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10608         of the paragraph's in the cut/copy buffer to 0!
10609
10610         * text2.C (removeRow): remove the assert as it can!
10611
10612         * lyxtext.h: added helper function firstRow returning firstrow and
10613         made firstrow private again.
10614
10615         * BufferView2.C (lockInset): don't relock if we're already locked!
10616
10617         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10618         the only paragraph.
10619         (removeRow): added Assert::(firstrow)
10620
10621         * debug.C: forgot to add INSETTEXT here.
10622
10623 2001-11-28  Juergen Vigna  <jug@sad.it>
10624
10625         * sp_spell.C (initialize): changed error text to more general
10626         spellchecker command use (not only ispell!)
10627
10628         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10629
10630         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10631
10632 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10633
10634         * vspace.C: initialise lyxgluelength on failure
10635
10636 2001-11-28  Allan Rae  <rae@lyx.org>
10637
10638         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10639         declaration & definition that looks like a function declaration.
10640
10641 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10642
10643         * BufferView2.C (copy):
10644         (copyEnvironment): do not clear the selection when doing a copy.
10645
10646         * text.C (paintFirstRow): compilation fix
10647
10648 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10649
10650         * tabular.C (Latex): correct line count when writing latex.
10651
10652 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10653
10654         * paragraph_pimpl.h:
10655         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10656           bug a bit
10657
10658 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10659
10660         * text.C:
10661         * LColor.h:
10662         * LColor.C: change vfillline->added_space
10663
10664         * text.C: add markers and text for added space
10665
10666         * vspace.C: fix comment
10667
10668 2001-11-28  André Pönitz <poenitz@gmx.net>
10669
10670         * paragraph.C: whitespace changes
10671         * all the other files from the change on 2001/11/26:
10672         change *::pos_type into lyx::pos_type
10673
10674 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10675
10676         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10677         language of the document when inserting error insets.
10678
10679 2001-11-26  André Pönitz <poenitz@gmx.net>
10680
10681         * BufferView_pimpl.[Ch]:
10682         *       CutAndPaste.C:
10683         * buffer.[Ch]:
10684         * lyxcursor.[Ch]:
10685         * lyxfind.C:
10686         * lyxfunc.C:
10687         * lyxrow.[Ch]:
10688         * paragraph.[Ch]:
10689         * paragraph_pimpl.[Ch]:
10690         * sp_spell.C:
10691         * text.C:
10692         * text2.C: reduce header dependencies, introduce type for positions
10693
10694 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10695
10696         * <various>: change to use Alert.h
10697
10698 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10699
10700         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10701         when encountering an unknown token.
10702         (readLyXformat2): Show an error message if there were unknown tokens.
10703
10704 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10705
10706         * BufferView2.C:
10707         * BufferView_pimpl.C:
10708         * buffer.C:
10709         * paragraph.h:
10710         * text.C:
10711         * text2.C: use par->isInset()
10712
10713 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10714
10715         * paragraph_pimpl.h:
10716         * paragraph_pimpl.C: cleanup
10717
10718 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10719
10720         * text2.C (removeRow):
10721         * text.C (setHeightOfRow): remove useless (and costly) call to
10722         getRow.
10723
10724 2001-11-20  Allan Rae  <rae@lyx.org>
10725
10726         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10727         Now need Inset*::checkInsertChar() to return true for appropriate
10728         cases so that the characters in the minibuffer will actually be
10729         inserted.
10730
10731 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10732
10733         * text.C: change the order of the includes.
10734         (workWidth): initialize it at once.
10735         (workWidth): make maxw unsigned
10736         (setHeightOfRow): remove unused variable (inset)
10737         (selectSelectedWord): remove unused variable (inset)
10738         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10739
10740 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10741
10742         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10743         server is not running.
10744         (openConnection):
10745         (closeConnection): add debug info when server is disabled.
10746
10747         * ColorHandler.C (getGCForeground): send debug message to GUI
10748         channel.
10749
10750         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10751
10752         * kbmap.C (bind): modify because return conventions of
10753         kb_sequence::parse have changed.
10754
10755         * kbsequence.C (parse): only ignore spaces and not any stupid
10756         control character. This avoids tests like s[i] <= ' ', which are
10757         guaranteed to fail with 8bit characters and signed chars.
10758         Change return code to string::npos when there have been no error
10759         (0 was a bad idea when error is at first character)
10760
10761 2001-11-14  José Matos  <jamatos@fep.up.pt>
10762
10763         * buffer.h:
10764         * buffer.C (simpleDocBookOnePar): removed unused argument.
10765
10766 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10767
10768         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10769         insets which are part of a word. Paragraph::isLetter takes care of
10770         that now. Use Paragraph::isInset to identify insets.
10771         (selectSelectedWord): do not test for hyphenation break.
10772
10773         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10774         that protected spaces are considered as spaces.
10775
10776         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10777         Inset::isLetter.
10778
10779 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10780
10781         * lyxserver.h:
10782         * lyxserver.C: fix it. and small cleanup.
10783
10784 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10785
10786         * BufferView_pimpl.C: use inline helpers
10787
10788         * LaTeXFeatures.h:
10789         * LaTeXFeatures.C: fix typos
10790
10791         * Spacing.h:
10792         * Spacing.C: move spacing_string into class
10793
10794         * ToolbarDefaults.C: move stuff into namespace anon
10795
10796         * layout.h: update enum
10797
10798         * lyxfunc.C: use better debug
10799
10800         * minibuffer.h: fix typo
10801
10802         * debug.h:
10803         * debug.C:
10804         * WorkArea.C: add and use Debug::WORKAREA
10805
10806         * lyxtext.h:
10807         * text.C:
10808         * text2.C: code re-organisation, inline helpers
10809
10810 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10811
10812         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10813         std::vector.empty().
10814
10815 2001-11-09  Allan Rae  <rae@lyx.org>
10816
10817         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10818         '\n's after tables.  Tabular and ERT inset work now makes this no
10819         longer necessary.
10820
10821 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10822
10823         * minibuffer.h:
10824         * minibuffer.C: fix crash, improve drop-down completion
10825
10826 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10827
10828         * lyxserver.h:
10829         * lyxserver.C: invalidate fd's when doing endPipe()
10830
10831 2001-11-08  José Matos  <jamatos@fep.up.pt>
10832
10833         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10834         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10835
10836         * paragraph.h:
10837         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10838
10839 2001-11-07  José Matos  <jamatos@fep.up.pt>
10840
10841         * buffer.h:
10842         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10843         const qualifier.
10844
10845         * buffer.C (sgmlOpenTag):
10846         * buffer.C (sgmlCloseTag): removed debug info.
10847
10848         * buffer.h (sgmlOpenTag):
10849         * buffer.h (sgmlCloseTag): made public.
10850
10851 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10852
10853         * buffer.C (saveParamsAsDefaults):
10854         * lyx_cb.C (MenuLayoutSave): remove
10855
10856         * LyXAction.C (init):
10857         * commandtags.h:
10858         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10859
10860 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10861
10862         * buffer.C (setPaperStuff): removed from here...
10863
10864         * bufferparams.C (setPaperStuff): ... and moved there.
10865
10866 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10867
10868         * minibuffer.h:
10869         * minibuffer.C:
10870         * XFormsView.C: add support for drop-down completion
10871
10872 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10873
10874         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10875         commands.
10876
10877 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10878
10879         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10880         disabled.
10881
10882 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10883
10884         * lyx_main.C: change ref to known bugs
10885
10886 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10887
10888         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10889         to work around older babel problems.
10890
10891 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10892
10893         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10894
10895 2001-10-24  Juergen Vigna  <jug@sad.it>
10896
10897         * tabular-old.C (ReadOld): below variable changes reflected.
10898
10899         * tabular.[Ch]: added ltType struct for longtable header/footer
10900         defines and changed all instances where they are used. Added
10901         future support for double top/bottom rows.
10902
10903 2001-10-24  José Matos  <jamatos@fep.up.pt>
10904
10905         * buffer.h (docbookHandleCaption):
10906         * buffer.C (docbookHandleCaption): removed unused function.
10907         (makeDocBookFile): moved docbook supported version to v4.1.
10908
10909 2001-10-24  José Matos  <jamatos@fep.up.pt>
10910
10911         * tabular.h:
10912         * tabular.C (docbookRow): new function to export docbook code of a row.
10913         (DocBook): now honors the longtable flags.
10914
10915 2001-10-23  José Matos  <jamatos@fep.up.pt>
10916
10917         * LaTeXFeatures.h:
10918         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10919         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10920
10921         * buffer.C (makeLinuxDocFile):
10922         (makeDocBookFile): reworked the preamble, more clean, and with
10923         support for lyx defined entities. Changed the document declaration
10924         to be more XML friendly.
10925
10926         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10927         if we need to output XML that should be done with a filter.
10928
10929 2001-10-22  Juergen Vigna  <jug@sad.it>
10930
10931         * sp_pspell.h (class PSpell): add alive function needed in the
10932         controller to see if the spellchecker could be started.
10933
10934 2001-10-22  Juergen Vigna  <jug@sad.it>
10935
10936         * buffer.C (insertStringAsLines): modify the font for inserting
10937         chars in certain conditions by calling checkInsertChar(font).
10938
10939 2001-10-19  Juergen Vigna  <jug@sad.it>
10940
10941         * text.C (workWidth): use getRow instead of wrong algorithm.
10942         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10943
10944 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10945
10946         * lyxserver.h:
10947         * lyxserver.C:
10948         * lyx_main.h:
10949         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10950
10951 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10952
10953         * text.C (workWidth): do not search for the exact row when
10954         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10955         optimization for big documents.
10956
10957 2001-10-18  Juergen Vigna  <jug@sad.it>
10958
10959         * text.C (workWidth): new function with added Inset * parameter.
10960
10961 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10962
10963         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10964
10965         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10966         change return type of getColumnNearX.
10967
10968
10969         * text.C (changeRegionCase): use uppercase/lowercase instead of
10970         toupper/tolower.
10971         (leftMargin):
10972         (rightMargin): simplify code by factoring out the uses of
10973         textclasslist.
10974         (labelFill):
10975         (numberOfHfills):
10976         (setHeightOfRow):
10977         (appendParagraph): use Paragraph::size_type
10978
10979 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10980
10981         * vspace.C (asLatexString): add a missing break
10982
10983 2001-10-15  Herbert Voss  <voss@perce.de>
10984
10985         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10986
10987 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10988
10989         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10990         is not available.
10991
10992 2001-10-10  André Pönitz <poenitz@gmx.net>
10993
10994         * lyxfunc.C: removed greek_kb_flag.
10995
10996 2001-10-10  Herbert Voss  <voss@perce.de>
10997
10998         * lyx_main.C: delete global string help_lyxdir.
10999
11000 2001-10-09  Herbert Voss  <voss@perce.de>
11001
11002         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11003
11004         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11005
11006         * lyx_main.C: added global string help_lyxdir.
11007
11008         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11009
11010 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11011
11012         * lyxrc.C (set_font_norm_type): support iso8859-4
11013
11014 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11015
11016         * LaTeX.C (deplog): add another regex for MikTeX
11017
11018 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11019
11020         * lyxrc.C (set_font_norm_type): support iso8859-3
11021
11022 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11023
11024         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11025
11026         * LaTeXFeatures.C: remove special case of french and index
11027
11028         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11029         before \begin{document}). This solves several incompatibilities.
11030
11031 2001-10-03  Garst Reese  <reese@isn.net>
11032
11033         * lyx_cb.C: change CheckTex error msg.
11034
11035 2001-10-03  José Matos  <jamatos@fep.up.pt>
11036
11037         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11038
11039 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11040
11041         * .cvsignore: update
11042
11043         * lyx_main.C (commandLineVersionInfo): use new style version info.
11044
11045         * buffer.C (writeFile):
11046         (makeLaTeXFile):
11047         (makeLinuxDocFile):
11048         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11049
11050         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11051
11052         * version.h: update to use stuff in version.C
11053
11054         * version.C.in: new file. Contains version information determined
11055         at compile time. This is a merging of version.h and
11056         version_info.h.in.
11057
11058 2001-10-03  Juergen Vigna  <jug@sad.it>
11059
11060         * BufferView_pimpl.C (update): don't change "dirty" status in
11061         updateInset call.
11062
11063 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11064
11065         * WorkArea.C (c-tor): re-position version string slightly.
11066
11067 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11068
11069         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11070         revert to previous code.
11071
11072         WorkArea.[Ch]: (show, destroySplash): methods removed.
11073
11074         WorkArea.C: rework code so that it's an amalgam of the codes before and
11075         after the splash screen was moved to WorkArea.
11076
11077 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11078
11079         * lyxrc.C (read):
11080         * vspace.C (inPixels):
11081         (lyx_advance):
11082         * kbmap.C (bind):
11083         * buffer.C (insertStringAsLines):
11084         (asciiParagraph): fix types to be large enough
11085
11086         * lyxlex_pimpl.h: change member status from short to int
11087
11088         * layout.h: fix type of endlabeltype
11089
11090         * kbmap.C (bind):
11091         * kbsequence.C (parse): change return type to string::size_type
11092
11093         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11094         variable
11095
11096         * Bullet.C (bulletSize):
11097         (bulletEntry): do not use short ints as parameters
11098
11099         * BufferView2.C (insertLyXFile): change a char to an int.
11100
11101         * WorkArea.C (WorkArea): remove unneeded floats in computation
11102
11103 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11104
11105         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11106
11107         * paragraph.C (asString): Do not ignore newline/hfill chars when
11108         copying to the clipboard.
11109
11110 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11111
11112         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11113         after a multi-line inset.
11114
11115 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11116
11117         * paragraph.C (validate): Set NeedLyXFootnoteCode
11118
11119 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11120
11121         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11122         and decrease-error to decrease.
11123
11124 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11125
11126         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11127         it more readable (should be equivalent)
11128
11129 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11130
11131         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11132
11133 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11134
11135         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11136         of a cursor (row, etc.) after a character has been deleted
11137         (deleteEmptyParagraphMechanism): call the method above on _all_
11138         cursors held by the LyXText when a double space has been
11139         detected/deleted.
11140
11141 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11142
11143         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11144         pixmap.
11145         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11146
11147         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11148         background. Use greyOut() and the new show() methods to toggle between
11149         the foreground and background. Add code to remove the splash after
11150         its initial showing.
11151
11152         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11153         (create_forms): no longer call Dialogs::showSplash.
11154
11155 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11156
11157         * .cvsignore: add version_info.h
11158
11159 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11160
11161         * version_info.h.in: new file
11162
11163         * Makefile.am: add version_info.h.in
11164
11165         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11166         version_info.h instead of VERSION_INFO
11167
11168 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11169
11170         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11171         The ERT inset now returns string().
11172
11173 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11174
11175         * lyxtext.h, text.C (selectNextWord): renamed as
11176         selectNextWordToSpellcheck.
11177
11178         * text.C (selectNextWordToSpellcheck): Modified to not select
11179         words inside an ERT inset.
11180
11181 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11182
11183         * lyx_cb.C (MenuLayoutSave): change a bit the question
11184
11185         * sp_base.h: include <sys/types.h>
11186
11187 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11188
11189         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11190
11191 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11192
11193         * several files: fix typos in user-visible strings
11194
11195 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11196
11197         * text2.C (pasteSelection): do not set the selection, since it
11198         will be cleared later. Actually, the intent was to fix the way the
11199         selection was set, but I figured rmoving the code was just as good.
11200
11201 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11202
11203         * FontLoader.C (available): Check if font is available without
11204         loading the font.
11205
11206 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11207
11208         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11209
11210 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11211
11212         * lyxrc.[Ch]: added display_graphics variable and associated code.
11213
11214 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11215
11216         * bufferparams.C (hasClassDefaults): new method. Returns true if
11217         the buffer parameters correspond to known class defaults
11218
11219 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11220
11221         * XFormsView.C (show): set minimum size to the main window.
11222
11223 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11224
11225         * text2.C (copySelection):
11226         (cutSelection):
11227         * lyxfind.C (LyXReplace):
11228         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11229         LyXText::selectionAsString.
11230
11231         * paragraph.C (asString): add "label" argument to the second form
11232
11233         * text2.C (selectionAsString): add "label" argument and pass it to
11234         Paragraph::asString.
11235
11236 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11237
11238         * lyx_main.C (commandLineHelp): remove version information
11239
11240 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11241
11242         * lyx_main.C: add -version commandline option
11243
11244 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11245
11246         * paragraph.h: make the optional constructor arg required instead.
11247         some modifications to other files because of this.
11248
11249         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11250
11251         * lyxserver.C (C_LyXComm_callback): make it static
11252
11253         * lyx_main.C (error_handler): make it static
11254
11255         * lyx_gui.C (LyX_XErrHandler): make it static
11256
11257         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11258
11259         * WorkArea.C: make the extern "C" methods static.
11260
11261         * Makefile.am (lyx_LDADD): simplify
11262
11263 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11264
11265         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11266         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11267
11268         * LyXAction.C (init):
11269         * lyxfunc.C (dispatch): associated code removal.
11270
11271 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11272
11273         * lyxfont.h (isSymbolFont): shut off warning
11274
11275         * text.C (setHeightOfRow):
11276         (getVisibleRow): fix crash with empty paragraphs which have a
11277         bottom line
11278
11279 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11280
11281         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11282         code.
11283
11284 2001-09-04  José Matos  <jamatos@fep.up.pt>
11285         * buffer.C
11286         * buffer.h
11287         * tabular.C (docbook): rename docBook method to docbook.
11288
11289 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11290
11291         * Makefile.am: add dependencies to main.o.
11292
11293 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11294
11295         * FontLoader.C (available): Return false if !lyxrc.use_gui
11296
11297 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11298
11299         * FontInfo.C (query):
11300         * converter.C (view):
11301         * importer.C (Import):
11302         * exporter.C (Export): Can not -> cannot.
11303
11304 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11305
11306         * BufferView_pimpl.C: allow to create index inset even if
11307           string is empty
11308
11309 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11310
11311         * buffer.C (getLists): replace boost::tie code with an explicit pair
11312         as boost::tie can break some compilers.
11313
11314         * iterators.h: Added a std:: declaration to the return type of
11315         ParIterator::size.
11316
11317 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11318
11319         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11320           case.
11321
11322 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11323
11324         * iterators.[Ch]: New files. Provide paragraph iterators.
11325
11326         * buffer.C (changeLanguage): Use paragraph iterators.
11327         (isMultiLingual): ditto
11328
11329         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11330
11331 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11332
11333         * FontLoader.C: Support for cmr font.
11334
11335 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11336
11337         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11338         (available): New method.
11339
11340         * FontInfo.C (getFontname): Use scalable fonts even when
11341         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11342         found.
11343
11344 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11345
11346         * converter.C (Formats::view): reverted! Incorrect fix.
11347
11348 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11349
11350         * converter.C (Formats::view): only output the -paper option
11351         if the dvi viewer is xdvi, thereby fixing bug #233429.
11352
11353 2001-08-23  Herbert Voss  <voss@perce>
11354
11355         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11356
11357 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11358
11359         * Spacing.h (Spacing): Set space to Default on in the default
11360         constructor.
11361
11362 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11363
11364         * vc-backend.h (RCS::versionString): add RCS to version
11365         (CVS::versionString): add CVS to version
11366
11367         * vc-backend.C (scanMaster): do not add CVS to version.
11368         (scanMaster): do not add RCS to version
11369
11370         * lyxvc.C (versionString): new method
11371
11372         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11373
11374 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11375
11376         * Spacing.C (set): initialize fval
11377
11378 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11379
11380         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11381         " or \.
11382
11383 2001-08-16  Juergen Vigna  <jug@sad.it>
11384
11385         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11386
11387 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11388
11389         * BufferView_pimpl.C:
11390         * figureForm.C:
11391         * lyxtext.h:
11392         * text2.C: setParagraph takes linespacing now
11393
11394 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11395
11396         * LyxAction.C: add internal LFUN_CITATION_INSERT
11397
11398         * LyXView.C: actually apply fix
11399
11400         * bufferlist.C: fix open non-existent file
11401
11402         * lyxfind.C: fix indentation
11403
11404         * lyxfunc.C: remove unneeded assert, fix typo
11405
11406 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11407
11408         * MenuBackend.C: use "Floatname List"
11409
11410 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11411
11412         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11413         when converting LaTeX layout to insetERT.
11414         Generate a non-collapsed float when reading old float
11415
11416 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11417
11418         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11419         ERT insets.
11420
11421 2001-08-13  Juergen Vigna  <jug@sad.it>
11422
11423         * text.C (fill): return 0 instead of 20 as this seems to be the more
11424         correct value.
11425
11426 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11427
11428         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11429         lyxrc.font_norm.
11430
11431 2001-08-13  Juergen Vigna  <jug@sad.it>
11432
11433         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11434         casesensitive off.
11435         (SearchBackward): comment out the unlocking of the inset_owner this
11436         should not be needed!
11437
11438 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11439
11440         * Many files: Remove inherit_language, and add latex_language
11441
11442         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11443         collapsible insets.
11444
11445 2001-08-10  Juergen Vigna  <jug@sad.it>
11446
11447         * text.C (prepareToPrint): fixed hfill-width in draw!
11448
11449         * BufferView2.C (selectLastWord): save the selection cursor as this
11450         now is cleared in the function LyXText::clearSelection!
11451
11452 2001-08-08  Juergen Vigna  <jug@sad.it>
11453
11454         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11455         BACKSPACE type functions.
11456
11457         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11458         is only cutted from the document but not put in the cut-buffer, where
11459         still the old stuff should be.
11460
11461         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11462
11463         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11464
11465         * tabular.C (SetWidthOfCell): fixed special case where the width
11466         was not updated!
11467         (LeftLine): handle '|' in align_special.
11468         (RightLine): ditto
11469         (LeftAlreadyDrawed): ditto
11470         (SetWidthOfCell): ditto
11471
11472 2001-08-07  Juergen Vigna  <jug@sad.it>
11473
11474         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11475
11476 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11477
11478         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11479         * lyxlex.[hC]: ditto
11480
11481 2001-08-06  Juergen Vigna  <jug@sad.it>
11482
11483         * text.C (getVisibleRow): fix up row clearing a bit.
11484
11485 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11486
11487         * minibuffer.C: make sure the X server sees the changes in the input.
11488
11489 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11490
11491         * paragraph.C (getFont): split into...
11492         (getLabelFont): this
11493         (getLayoutFont): and this
11494         * paragraph_pimpl.C (realizeFont): calling this
11495
11496         * text2.C (getFont): split into...
11497         (getLayoutFont): this
11498         (getLabelFont): and this
11499         (realizeFont): all three calling this
11500
11501         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11502         files where used.
11503
11504 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11505
11506         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11507
11508 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11509
11510         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11511         layouts from the Quote inset insertion.
11512
11513 2001-08-03  Juergen Vigna  <jug@sad.it>
11514
11515         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11516
11517         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11518         only if status not is already CHANGED_IN_DRAW (second level).
11519
11520         * text.C (draw): don't set the need_break_row when inside an
11521         InsetText LyXText.
11522
11523 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11524
11525         * buffer.C (parseSingleLyXformat2Token): handle more latex
11526         conversion cases.
11527
11528         * bufferview_funcs.[hC]: change function names to
11529         begin with small char, adjust other files.
11530
11531 2001-08-02  André Pönitz <poenitz@gmx.net>
11532
11533         * lyxfunc.C:
11534         BufferView_pimpl.C: remove broken special code for math-greek
11535
11536 2001-08-02  Juergen Vigna  <jug@sad.it>
11537
11538         * BufferView_pimpl.C (update): redone this function so that we
11539         update the text again if there was a CHANGE_IN_DRAW.
11540
11541         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11542         (drawFromTo): added a new internal bool which is used by draw() and
11543         redraw() function.
11544         (general): some cursor drawing problems fixed.
11545
11546 2001-08-01  Juergen Vigna  <jug@sad.it>
11547
11548         * lyxfind.C (LyXFind): fixed
11549         (SearchForward): ditto
11550         (SearchBackward): ditto
11551
11552         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11553         spurius drawing of the cursor in the main area.
11554
11555         * text2.C (status): small fix which could lead to a segfault!
11556         (clearSelection): remove unneeded BufferView param.
11557
11558 2001-08-01  André Pönitz <poenitz@gmx.net>
11559
11560         * lyxfunc.C: small change due to changed mathed interface
11561
11562 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11563
11564         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11565
11566 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11567
11568         * lyxfunc.c: fail gracefully if file doesn't exist
11569
11570         * LyXSendto.C:
11571         * buffer.C:
11572         * lyxfunc.C:
11573         * BufferView_pimpl.C: IsDirWriteable() proto changed
11574
11575         * LyXView.C: fix updateWindowTitle() to store the last title
11576
11577 2001-07-31  Juergen Vigna  <jug@sad.it>
11578
11579         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11580         the font (wrong since using of Paragraph::highestFontInRange).
11581
11582         * paragraph.C (highestFontInRange): added a default_size parameter.
11583
11584         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11585         (setHeightOfRow): reformat
11586
11587 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11588
11589         * converter.[hC] + affected files: move to (inital-char)lowercase
11590         function names.
11591
11592         * ParagraphParameters.C (ParagraphParameters): remove commented code
11593
11594         * PainterBase.[Ch]: remove commented code
11595
11596         * LaTeXFeatures.h: add "bool floats" for float.sty
11597
11598         * LaTeXFeatures.C (LaTeXFeatures): init floats
11599         (require): handle float
11600         (getPackages): do it with floats
11601
11602 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11603
11604         * BufferView_pimpl.C (Dispatch): improve handling of
11605         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11606
11607         * commandtags.h: #include lyxfont.h here temporarily to avoid
11608         keybinding bug.
11609
11610         * bufferlist.h: include LString.h here.
11611
11612 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11613
11614         * text2.C (getStringToIndex): new method.
11615
11616 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11617
11618         * *: Reduced header file dependencies all over.
11619
11620 2001-07-30  Baruch Even  <baruch@lyx.org>
11621
11622         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11623
11624 2001-07-29  Baruch Even  <baruch@lyx.org>
11625
11626         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11627
11628 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11629
11630         * ParameterStruct.h (endif): add a default constructor to make
11631         sure that all variables is initialized.
11632
11633         * ParagraphParameters.C (ParagraphParameters): adjust
11634
11635 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11636
11637         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11638         index; also, check that there is something to index, and that it
11639         does not span over several paragraphs.
11640         (doubleClick): use WHOLE_WORD_STRICT for double click.
11641
11642         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11643
11644         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11645         scheme.
11646
11647 2001-07-26  Baruch Even  <baruch@lyx.org>
11648
11649         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11650         an InsetFig figure, backwards compatible reading of old figure code.
11651
11652 2001-07-27  Juergen Vigna  <jug@sad.it>
11653
11654         * text2.C: font.realize function adaption.
11655
11656         * text.C (draw): add a warnings lyxerr text if needed.
11657
11658         * layout.C: font.realize function adaption.
11659
11660         * language.C: add inherit_language and implement it's handlings
11661
11662         * bufferview_funcs.C (StyleReset): remove language parameter from
11663         font creation (should be language_inherit now).
11664
11665         * bufferparams.C (writeFile): handle ignore_language.
11666
11667         * paragraph.C (getFontSettings): the language has to be resolved
11668         otherwise we have problems in LyXFont!
11669
11670         * lyxfont.C (lyxWriteChanges): added document_language parameter
11671         (update): removed unneeded language parameter
11672
11673         * paragraph.C (validate): fixed wrong output of color-package when
11674         using interface colors for certain fonts in certain environments,
11675         which should not seen as that on the final output.
11676
11677 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11678
11679         * BufferView_pimpl.C:
11680         * Thesaurus.h:
11681         * Thesaurus.C:
11682         * Makefile.am:
11683         * commandtags.h:
11684         * LyXAction.C: add thesaurus support
11685
11686         * lyxfind.h:
11687         * lyxfind.C: add "once" parameter, for thesaurus, to not
11688           move to the next match
11689
11690 2001-07-26  Juergen Vigna  <jug@sad.it>
11691
11692         * lyxfont.C (realize): honor ignore_language too!
11693         (resolved): ditto.
11694
11695         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11696
11697         * text.C (draw): one place more for ignore_language to not draw
11698         itself!
11699
11700 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11701
11702         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11703
11704 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11705
11706         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11707         the minipage conversion problem.
11708
11709 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11710
11711         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11712         insert an inset.
11713
11714 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11715
11716         * BufferView.h: don't forward declare WorkArea
11717
11718         * BufferView.C: don't include WorkArea.h
11719
11720 2001-07-25  André Pönitz <poenitz@gmx.net>
11721
11722         * commandtags.h:
11723         * LyXAction.C:
11724         * lyxfunc.C:  new LFUN 'math-space'
11725
11726         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11727
11728 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11729
11730         * text2.C (toggleInset): call open/close
11731
11732 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11733
11734         * lyxfunc.C (dispatch): add debug for the disabled case
11735
11736         * font.C (buttonText): make similar to rectText
11737
11738         * buffer.C (readInset): comment out parsing of insetlist and
11739         insttheorem
11740
11741         * PainterBase.C (rectText): small correction
11742
11743         * BufferView_pimpl.C: comment out insettheorem and insetlist
11744         * LyXAction.C: ditto
11745         * commandtags.h: ditto
11746
11747 2001-07-24  Juergen Vigna  <jug@sad.it>
11748
11749         * text.C (draw): honor the ignore_language.
11750
11751         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11752
11753 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11754
11755         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11756         char inset.
11757
11758 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11759
11760         * lyxtext.h: remove unused (and unimplemented) methods
11761
11762 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11763
11764         * text.C (getVisibleRow): honor background color
11765
11766         * PainterBase.h:
11767         * Painter.h: remove default color argument for fillRectangle
11768
11769         * text.C (backgroundColor): new method
11770
11771 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11772
11773         * text.C (getVisibleRow): adjust
11774
11775         * font.[Ch] (rectText): new method, metrics
11776         (buttonText): new method, metrics
11777
11778         * PainterBase.[hC]: make rectText and buttonText always draw and take
11779         fewer paramteres.
11780
11781 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11782
11783         * ToolbarDefaults.C (read):
11784         * MenuBackend.C (read): allow escaping in all strings
11785
11786         * BufferView_pimpl.C (insertAndEditInset): new method.
11787         (Dispatch): use insertAndEditInset whenever appropriate.
11788
11789         * BufferView_pimpl.C (insertNote): removed
11790
11791         * BufferView_pimpl.C (smartQuote): new method, moved from
11792         BufferView; if an insetquote cannot be inserted, insert a '"'
11793         character instead.
11794
11795         * BufferView2.C: remove insertCorrectQuote();
11796
11797         * lyxfunc.C (getStatus): Add support for all remaingin
11798         inset-insert lfuns.
11799
11800         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11801
11802         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11803         command (necessary to pass " as parameter of self-insert.
11804
11805         * text.C (selectWordWhenUnderCursor):
11806         (selectWord): add word_location parameter
11807         (selectWordWhenUnderCursor): same + remove special code for word
11808         boundary.
11809         (selectNextWord): use kind() to guess type of insetspecialchar,
11810         not latex().
11811
11812         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11813         (insertErtContents): create ert insets as collapsed.
11814         (readInset): better compatibility code for Info inset.
11815
11816 2001-07-20  Juergen Vigna  <jug@sad.it>
11817
11818         * lyxfunc.C (dispatch): use always LyXFind now!
11819
11820         * text2.C (init): add a reinit flag so that the LyXText can be
11821         reinited instead of deleted and reallocated (used in InsetText).
11822
11823         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11824
11825         * text.C: ditto
11826
11827         * text2.C: ditto
11828
11829 2001-07-18  Juergen Vigna  <jug@sad.it>
11830
11831         * text.C (selectNextWord): handle insets inside inset by calling
11832         always the bv->text functions so that we can go up the_locking_inset!
11833
11834         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11835         in strange locations when inside an inset!
11836
11837         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11838         handling to include insets.
11839
11840         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11841
11842 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11843
11844         * LyXAction.C (init):
11845         * commandtags.h:
11846         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11847         LIGATURE_BREAK, since the name is so stupid.
11848
11849 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11850
11851         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11852         InsetInfos.
11853
11854         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11855
11856         * sp_form.[Ch]: remove.
11857
11858         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11859
11860         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11861         InsetInfo.
11862
11863         * src/buffer.C (readInset): ditto.
11864
11865 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11866
11867         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11868         menuSeparator(), endOfSentenceDot(), ldots() and
11869         hyphenationPoint(), which are therefore removed.
11870         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11871
11872         * LyXAction.C (init):
11873         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11874
11875         * paragraph.C (getWord): removed.
11876
11877         * BufferView_pimpl.C (Dispatch): use last word or selection for
11878         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11879
11880         * lyx_main.C (queryUserLyXDir): do not ask before creating
11881         user_dir, except if it has been named explicitely.
11882
11883 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11884
11885         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11886         a document of zero size.
11887
11888 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11889
11890         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11891         approriately in the c-tor and in require().
11892         (getPackages): output the appropriate LaTeX for natbib support.
11893
11894         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11895         variables "use_natbib" and "use_numerical_citations" when reading the
11896         LyX file.
11897         (readInset): read the various natbib cite commands.
11898         (validate): white-space change.
11899
11900         * bufferparams.[Ch]: new variables "bool use_natbib" and
11901         "bool use_numerical_citations".
11902         (writeFile): output them in the LyX file.
11903
11904 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11905
11906         * lyxfunc.C (getStatus): add support for all the inset insertion
11907         commands.
11908
11909         * text2.C (insertInset):
11910         * paragraph.C (insetAllowed):
11911         * BufferView_pimpl.C (insertInset): update to take in account the
11912         renaming of insertInsetAllowed
11913
11914         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11915
11916         * text2.C (getInset): new method. returns inset at cursor position.
11917
11918         * BufferView_pimpl.C (Dispatch): changes because of this.
11919
11920         * LyXAction.C (init): rename open-stuff to inset-toggle.
11921
11922         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11923
11924         * text2.C (toggleInset): renamed from openStuff; use
11925         Inset::open().
11926
11927 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11928
11929         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11930
11931         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11932
11933 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11934
11935         * buffer.C (readLyXformat2): Add filename to the error dialog
11936
11937 2001-07-18  Juergen Vigna  <jug@sad.it>
11938
11939         * tabular.C (GetCellNumber): put an assert here instead of the check!
11940
11941 2001-07-17  Juergen Vigna  <jug@sad.it>
11942
11943         * BufferView_pimpl.C (toggleSelection): adapted too.
11944
11945         * text.C (selectNextWord): adapted for use with insets.
11946         (selectSelectedWord): ditto
11947
11948 2001-07-17  Juergen Vigna  <jug@sad.it>
11949
11950         * sp_spell.C (PSpell): fix initialitation order.
11951
11952 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11953
11954         * paragraph.C: spacing
11955
11956 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11957
11958         * sp_spell.C: repair language selection for pspell
11959
11960 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11961
11962         * lyxfunc.h: change more methods to begin with lower char.
11963
11964 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11965
11966         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11967         for unknown layouts.
11968
11969 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11970
11971         * buffer.C (readLyXformat2): Generate an error dialog if there are
11972         unknown layouts.
11973
11974 2001-07-16  Juergen Vigna  <jug@sad.it>
11975
11976         * sp_spell.C: always compile ISpell part.
11977
11978         * lyxrc.C: added use_pspell entry and it's handling.
11979
11980 2001-07-13  Juergen Vigna  <jug@sad.it>
11981
11982         * sp_spell.C: removed double includes.
11983
11984 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11985
11986         Consistent use of Lsstream.h:
11987         * Lsstream.h: added using std::stringstream for consistencies sake.
11988
11989         * buffer.C: removed using std::stringstream
11990
11991         * lyxfont.C (stateText):
11992         * paragraph.C (asString):
11993         * text.C (selectNextWord, selectSelectedWord):
11994         * text2.C (setCounter):
11995         * vspace.C (asString, asLatexString):
11996         std::ostringstream -> ostringstream.
11997
11998 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11999
12000         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12001         * commandtags.h: add LFUN_HELP_ABOUTLYX
12002         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12003
12004 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12005
12006         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12007         cursorToggle()
12008         * lyx_gui_misc.C: remove spellchecker
12009         * lyxfunc.C: showSpellchecker
12010         * sp_base.h: added
12011         * sp_ispell.h: added
12012         * sp_pspell.h: added
12013         * sp_spell.C: added
12014         * sp_form.[Ch]: removed
12015         * spellchecker.[Ch]: removed
12016
12017 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12018
12019         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12020         is set.
12021         (simpleTeXSpecialChars): Simply print the input character without
12022         any special translation if pass_thru is set.
12023
12024         * layout.h: Added bool pass_thru to layout class for being able to
12025         implement pass through of a paragraph for Literate Programming.
12026
12027         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12028         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12029         * layout.C (Read): add "passthru" to list of layout tags and add
12030         code to set the pass_thru boolean when it is read.
12031
12032 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12033
12034         * trans_decl.h: remove allowed from KmodInfo
12035
12036         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12037         remove allowed code
12038         (Load): adjust
12039
12040         * paragraph_pimpl.C (erase): use boost::prior
12041
12042         * Painter.C (text): use data() instead of c_str() when length is
12043         also provided.
12044         * WorkArea.C (putClipboard): ditto
12045         * font.h (width): ditto
12046
12047         * BufferView2.C: use it-> instead of (*it). for iterators
12048         * texrow.C: ditto
12049         * paragraph_pimpl.C: ditto
12050         * paragraph.C: ditto
12051         * minibuffer.C: ditto
12052         * language.C: ditto
12053         * kbmap.C: ditto
12054         * encoding.C: ditto
12055         * counters.C: ditto
12056         * converter.C: ditto
12057         * chset.C: ditto
12058         * Variables.C: ditto
12059         * TextCache.C: ditto
12060         * MenuBackend.C: ditto
12061         * LyXAction.C: ditto
12062         * LColor.C: ditto
12063         * FloatList.C: ditto
12064         * DepTable.C: ditto
12065         * ColorHandler.C (LyXColorHandler): ditto
12066
12067 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12068
12069         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12070
12071         * text2.C (openStuff): reintroduce this method (which had been
12072         nuked in NEW_INSETS frenzy).
12073
12074         * lyxfunc.C (Dispatch): when an action has not been handled, use
12075         its name in the error message, not its number.
12076
12077         * paragraph.C (inInset): change method name to begin with lowercase.
12078
12079         * undo_funcs.C:
12080         * text2.C: updates because of this.
12081
12082 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12083
12084         * ToolbarDefaults.C (add): add spaces in error message
12085
12086 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12087
12088         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12089         (readLyXformat2): rename return_par to first_par, use lyxlex's
12090         pushToken and remove the manual push handling.
12091         (parseSingleLyXformat2Token): add another ert comp. variable:
12092         in_tabular, rename return_par to first_par. handle newlines better
12093
12094 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12095
12096         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12097
12098 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12099
12100         * text2.C (getParFromID): removed
12101
12102         * buffer.C (getParFromID): new method moved form lyxtext.
12103         * BufferView2.C (insertErrors): adjust
12104         (setCursorFromRow): adjust
12105         * BufferView_pimpl.C (restorePosition): adjust
12106         * lyxfunc.C (Dispatch): adjust
12107         * undo_funcs.C (textUndo): adjust
12108         (textRedo): adjust
12109         (textHandleUndo): adjust
12110         (textHandleUndo): adjust
12111
12112 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12113
12114         * buffer.C: up' the LYX_FORMAT
12115
12116         * lyxfont.h: turn NO_LATEX on as default
12117
12118         * buffer.C (insertErtContents): new methods of tex style compability.
12119         (parseSingleLyXformat2Token): use it several places.
12120         * tabular.C (OldFormatRead): and here
12121
12122 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12123
12124         * text2.C: remove some commented code.
12125         reindent file.
12126
12127         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12128         * trans.C: changes because of the above.
12129
12130 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12131
12132         * text2.C (setCounter): Fix counters bug with bibliography layout.
12133
12134 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12135
12136         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12137         own member functions
12138         (simpleTeXSpecialChars): ditto
12139
12140 2001-07-06  Juergen Vigna  <jug@sad.it>
12141
12142         * a lot of files: changed the access to LyXText::status and the
12143         call of undo-functions.
12144
12145         * undo.[Ch]: added a inset_id to the undo informations.
12146
12147         * undo_funcs.[Ch]: added and moved here all undo functions.
12148
12149         * lyxtext.h: give the status enum a weight, made status_ a private
12150         variable and made accessor functions for it, removed the whole bunch
12151         of undo-functions as they are now in their own file, make some
12152         functions publically available. Added function ownerParagraph with
12153         int parameter.
12154
12155         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12156         made InInset() a const function, added getParFromID() function.
12157
12158         * buffer.[Ch]: added const version for inset_iterator functions,
12159         added getInsetFromID() function.
12160
12161         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12162         changed undo functions for new version.
12163
12164 2001-07-05  Juergen Vigna  <jug@sad.it>
12165
12166         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12167         unknow mechanism does not call the proper constructor but only this
12168         one also if I request the other!?
12169
12170 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12171
12172         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12173
12174         * text2.C (LyXText): use initialization lists.
12175
12176         * lyxtext.h (Selection): initialize set_ and mark_
12177         (init): remove method
12178
12179 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12180
12181         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12182
12183 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12184
12185         * screen.[Ch]: change method names to begin with lowercase
12186
12187         * BufferView_pimpl.C (updateScrollbar): simplify further and
12188         hopefully make it a bit faster.
12189
12190 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12191
12192         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12193         calling directly xforms functions.
12194
12195         * Painter.C (Painter):
12196         * lyx_cb.C (MenuWrite):
12197         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12198         fl_display.
12199
12200         * lyx_gui.C: remove bogus guiruntime extern declaration.
12201
12202 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12203
12204         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12205         in NEW_INSETS
12206         (redoDrawingOfParagraph): ditto
12207         (redoParagraphs): ditto
12208         (cutSelection): don't create a object for CutAndPaste use the
12209         static method directly
12210         (pasteSelection): ditto
12211
12212         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12213         LyXview (+ rename)
12214
12215 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12216
12217         * modifications to some other files because of this.
12218
12219         * Makefile.am (lyx_SOURCES): add XFormsView
12220
12221         * XFormsView.[Ch]: new files
12222
12223         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12224         the main window. Move the gui dependent stuff to XFormsView
12225
12226 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12227
12228         * tabular.C (GetCellInset): update cur_cell also in the row/col
12229         version of this function.
12230
12231         * lyxfunc.C: no need to include figure_form.h here.
12232
12233         * FontLoader.h:
12234         * lyxfunc.h:
12235         * lyxscreen.h:
12236         * text2.C:
12237         * lyxvc.C: no need to include forms.h here.
12238
12239 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12240
12241         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12242
12243         * lyxfunc.C (Dispatch):
12244         * Spacing.C (set):
12245         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12246         constructor argument.
12247
12248 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12249
12250         * paragraph.C (Paragraph): dont't clear, and just set layout.
12251         (makeSameLayout): use params's copy contructor.
12252
12253         * ParagraphParameters.[Ch] (makeSame): delete method
12254
12255 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12256
12257         * Variables.[Ch]: fix indentation, rename set to isSet
12258
12259 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12260
12261         * lyxfunc.C (Dispatch): fix typo
12262
12263 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12264
12265         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12266         upper_bound.
12267
12268         * bufferlist.C: include assert.h for emergencyWrite().
12269
12270 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12271
12272         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12273           give up at last (bug #425202) !
12274
12275 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12276
12277         * lyx_gui_misc.C:
12278         * sp_form.h:
12279         * sp_form.C:
12280         * spellchecker.h:
12281         * spellchecker.C: strip spellchecker options and bring up
12282           preferences tab instead
12283
12284 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12285
12286         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12287         the istringstream constructor
12288
12289 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12290
12291         * paragraph.C (getLayout): fix return value
12292
12293         * paragraph.h: do not declare getLayout as inline.
12294
12295         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12296
12297 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12298
12299         * lyxcursor.h (operator<): new func
12300         (operator>): new func
12301         (operator>=): new func
12302         (operator<=): new func
12303
12304         * text.C (changeCase): use selection.start and selection.end
12305         (changeRegionCase): require from to be <= to. Require par to be a
12306         valid paragraph.
12307
12308         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12309
12310 2001-06-27  Juergen Vigna  <jug@sad.it>
12311
12312         * text.C (cursorLeftOneWord): changed to return the cursor and added
12313         overlay with BufferView * parameter which calls this one.
12314         (getWord): added
12315         (selectWord): use new getWord function.
12316         (changeCase): renamed from changeWordCase as and extended to work
12317         also on selections.
12318
12319         * lyxtext.h: added enum word_location
12320
12321         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12322         changeCase as this operates now also on selections.
12323
12324 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12325
12326         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12327
12328         * many files: send debug output to Debug::INFO instead of
12329         Debug::ANY.
12330
12331         * converter.C (View):
12332         (Convert):
12333         (Move): send debug output to Debug::FILES instead of console.
12334
12335 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12336
12337         * lyxfunc.C (getStatus): use func_status
12338
12339         * func_status.h: new header, describing the results of
12340         LyXFunc::getStatus;
12341
12342         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12343         LFUN_MATH_HALIGN.
12344
12345 2001-06-25  The LyX Project  <jug@sad.it>
12346
12347         * buffer.C (sgmlOpenTag):
12348         (sgmlCloseTag):
12349         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12350
12351 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12352
12353         * text2.C: remove some dead code
12354
12355         * tabular.C (GetCellInset): store the last cell checked (gotten)
12356
12357         * tabular.h: add the helper for the speedup
12358
12359         * lyxtext.h: remove some dead code
12360
12361 2001-06-26  The LyX Project  <Asger>
12362
12363         * paragraph.C: Change export to LaTeX of alignment to
12364         \begin{center} and family for better roundtrip work with reLyX.
12365
12366         * Tune the math drawing a bit.
12367
12368 2001-06-25  The LyX Project  <Asger>
12369
12370         * LColor.C (LColor): New color for math background. New color
12371         for buttons.
12372
12373 2001-06-25  The LyX Project  <jug@sad.it>
12374
12375         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12376
12377         * lyxfunc.C (Open):
12378         * bufferlist.C (newFile): do not restrict to files ending with
12379         .lyx
12380
12381         * BufferView_pimpl.C (MenuInsertLyXFile):
12382
12383 2001-06-24  The LyX Project  <jug@sad.it>
12384
12385         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12386         of compare_no_case
12387
12388 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12389
12390         * lyxtext.h: rename most methods to begin with a small char.
12391         Lots of changes because of this.
12392
12393         * paragraph.C (Paragraph): do not call fitToSize
12394         (erase): call Pimpl::erase
12395         (insertChar): call Pimpl::insertChar
12396         (insertInset): call Pipl::insertInset
12397         (breakParagraph): do not call fitToSize
12398         (breakParagraphConservative): do not call fitToSize
12399         (fitToSize): remove method
12400
12401         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12402
12403 2001-06-24  The LyX Project  <Asger>
12404
12405         * Fix Qt compilation^2
12406
12407 2001-06-24  The LyX Project  <jug@sad.it>
12408
12409         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12410         depthHook(getDepth()-1).
12411
12412         * paragraph.h:
12413         * ParagraphParameters.h:
12414         * ParameterStruct.h: change type of depth to unsigned int ==
12415         depth_type. Many adaptations to other files before of that.
12416
12417 2001-06-24  The LyX Project  <Asger>
12418
12419         * Fix Qt compilation.
12420
12421 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12422
12423         * paragraph.h: renamed several methods to begin with small letter.
12424         several changes to many parts of the code because of this.
12425
12426 2001-06-23  The LyX Project  <jug@sad.it>
12427
12428         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12429         rewritten to discard all double spaces when KeepEmpty is off
12430         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12431         to only handle newlines but not fiddle with spaces and friends.
12432
12433         * lyxfunc.C (MenuNew): when doing 'new from template', use
12434         template_path as default directory
12435
12436 2001-06-23  The LyX Project  <Asger>
12437
12438         * Clean-up of header file includes all over
12439         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12440
12441 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12442
12443         * paragraph.h: renamed from lyxparagraph.h
12444
12445 2001-06-23  Asger  <lyx@violet.home.sad.it>
12446
12447         * Buffer.h: Removed Buffer::resize
12448         * BufferList.h: Removed BufferList::resize
12449         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12450         the document lazily when we change the width, or the font settings.
12451
12452 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12453
12454         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12455
12456 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12457
12458         * buffer.h: remove out of date comment
12459
12460 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12461
12462         * lyxscreen.h:
12463         * screen.C: fix "theoretical" GC leak
12464
12465 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12466
12467         * LaTeX.C (scanAuxFile):
12468         (deplog): remove trailing \r when reading stream (useful under
12469         win32)
12470
12471 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12472
12473         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12474         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12475         and BufferView::theLockingInset(Inset*), so should use them and not
12476         access bv_->text->the_locking_inset directly.
12477
12478         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12479
12480 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12481
12482         * Makefile.am:
12483         * tex-defs.h: remove old unused file
12484
12485 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12486
12487         * BufferView_pimpl.C: fix typo, remove minibuffer message
12488           when buffer has loaded
12489
12490 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12491
12492         * lyxfunc.C (Dispatch): use stringstream
12493         (MenuNew): use stringstream
12494         (Open): use stringstream
12495
12496         * importer.C (Import): use stringstream
12497
12498         * bufferview_funcs.C (CurrentState): use stringstream
12499
12500         * LaTeX.C (run): use stringstream
12501
12502         * BufferView_pimpl.C (savePosition): use stringstream
12503         (restorePosition): use stringstream
12504         (MenuInsertLyXFile): use stringstream
12505
12506 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12507
12508         * BufferView.C:
12509         * Bullet.C:
12510         * ColorHandler.C:
12511         * FontInfo.C:
12512         * FontLoader.C:
12513         * LColor.C:
12514         * LaTeXFeatures.C:
12515         * Painter.C:
12516         * gettext.C:
12517         * lyx_gui_misc.C:
12518         * lyxserver.C:
12519         * vspace.C: removed // -*- C++ -*- as first line.
12520
12521         * lyxfind.h:
12522         * version.h: added // -*- C++ -*- as first line.
12523
12524 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12525
12526         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12527
12528         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12529         of string
12530
12531 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12532
12533         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12534         of floats.
12535
12536 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12537
12538         * gettext.C: include LString.h even when --disable-nls is on.
12539
12540 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12541
12542         * converter.h (Get): changed argument type from int to
12543         FormatList::size_type to avoid unnecessary conversion.
12544
12545         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12546         before using it.
12547
12548 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12549
12550         * gettext.h: include LString.h even when --disable-nls is on.
12551
12552 2001-06-07  Juergen Vigna  <jug@sad.it>
12553
12554         * text.C (BreakAgain): subst spaces with tabs.
12555
12556         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12557         (resizeInsetsLyXText): set force on resizeLyXText.
12558
12559 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12560
12561         * gettext.h (gettext_init):
12562         (locale_init): use a real definition instead of a macro
12563
12564 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12565
12566         * Bufferview_pimpl.C:
12567         * LColor.h:
12568         * LColor.C: further lcolor tidies
12569
12570 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12571
12572         * BufferView_pimpl.C (updateScrollbar): simplify.
12573
12574         * BufferView2.C: don't include insets/insetinfo.h, change
12575         prototype for insertInset and call the Pimpl version. let
12576         updateInset call Pimpl version.
12577
12578         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12579         gotoInset to BufferView::Pimpl
12580
12581 2001-06-01  Juergen Vigna  <jug@sad.it>
12582
12583         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12584         inside a LockingInset (is the update needed at all?).
12585
12586 2001-05-31  Juergen Vigna  <jug@sad.it>
12587
12588         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12589         here not the old one otherwise how should we compare it afterwards
12590         if it's the same!
12591
12592 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12593
12594         * lyxfont.C:
12595         * tabular.C:
12596         * tabular-old.C:
12597         * FontInfo.C: bring C functions into global namespace when
12598         necessary
12599
12600 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12601
12602         * LString.h: make sure config.h has been loaded before LString.h.
12603
12604         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12605         (one for each char read by EatLine!).
12606
12607         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12608         variables.
12609
12610 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12611
12612         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12613         to the same as the par we break from
12614
12615 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12616
12617         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12618
12619         * MenuBackend.C (expand): also create menu entries for wide
12620         versions of the floats.
12621
12622         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12623
12624         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12625
12626         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12627         frontends/Makefile.am
12628
12629         * text2.C: adjust
12630         * text.C: adjust
12631
12632
12633         * tabular.C (getTokenValue): add std::
12634
12635         * tabular-old.C (getTokenValue): add std::
12636         (getTokenValue): ditto
12637         (getTokenValue): ditto
12638
12639         * screen.C (ToggleSelection): adjust
12640
12641         * lyxtext.h: put selection cursors inside a Selection struct.
12642
12643         * lyxfunc.C (moveCursorUpdate): adjust
12644
12645         * lyxfont.C (latexWriteStartChanges): add std::
12646
12647         * lyxfind.C: adjust
12648
12649         * font.h: delete with(char const *, LyXFont const &)
12650
12651         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12652
12653         * FontInfo.C (getFontname): add std::
12654
12655         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12656         (workAreaButtonPress): adjust
12657         (tripleClick): adjust
12658         (update): adjust
12659         (moveCursorUpdate): adjust
12660         (Dispatch): adjust
12661
12662         * BufferView2.C (gotoInset): adjust
12663
12664 2001-05-30  Juergen Vigna  <jug@sad.it>
12665
12666         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12667         to check pspell I add this as default as I now have new pspell
12668         libraries and they seem to use this.
12669
12670 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12671
12672         * text2.C (CutSelection): make the cursor valid before the call to
12673         ClearSelection.
12674
12675 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12676
12677         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12678         relied on 0 terminated strings and other horrors. Bug found due to
12679         the new assert in lyxstring!
12680
12681         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12682         KP_ keys.
12683
12684 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12685
12686         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12687         to latinkeys.bind.
12688
12689         * lyxfunc.C (processKeySym): change method of getting to the
12690         self-insert char.
12691
12692         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12693         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12694         * BufferView_pimpl.[Ch]: here as private methods.
12695
12696 2001-05-28  Juergen Vigna  <jug@sad.it>
12697
12698         * text.C (SetHeightOfRow): added the update() call again as it is
12699         needed to initialize inset dimensions!
12700
12701 2001-05-16  Juergen Vigna  <jug@sad.it>
12702
12703         * text2.C (SetCharFont): Add new function with BufferView * and
12704         bool toggleall parameters for setting insets internal fonts.
12705         (SetFont): Freeze the undo as we may change fonts in Insets and
12706         all this change should be inside only one Undo!
12707
12708         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12709         setting font's in insets as for them we have the SetFont function!
12710
12711 2001-05-15  Juergen Vigna  <jug@sad.it>
12712
12713         * text2.C (ClearSelection): to be sure we REALLY don't have any
12714         selection anymore!
12715
12716         * tabular.C (TeXCellPreamble): fixed the left border problem for
12717         multicolumn cells.
12718
12719 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12720
12721         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12722         dependancy file
12723
12724 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12725
12726         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12727         LFUN_BREAKPARAGRAPH.
12728
12729         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12730         help test to "internal only", similar for LFUN_INSERT_URL
12731
12732         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12733         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12734         auto_region_delete and deadkeys.
12735
12736 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12737
12738         * LColor.h:
12739         * LColor.C: remove some dead entries, tidy a little
12740
12741 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12742
12743         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12744         commented code.
12745         (Dispatch): implement LFUN_ESCAPE
12746
12747         * commandtags.h: add LFUN_ESCAPE
12748
12749         * LyXAction.C (init): add entry for LFUN_ESCAPE
12750
12751         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12752         Remove commented code.
12753         (insertNote): moved here
12754         (open_new_inset): moved here
12755
12756         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12757         BufferView_pimpl
12758
12759 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12760
12761         * kbmap.C (findbinding): clean it up and make it work correctly.
12762
12763         * lyx_main.C (init): do not pass argc and argv as parameters
12764
12765 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12766
12767         * buffer.C: fix path for OS/2 & Win32
12768
12769         * lyx_gui.C:
12770         * lyx_main:
12771         * lyx_main.C: Added os:: class.
12772
12773         * os2_defines.h: update
12774
12775 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12776
12777         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12778         better by trying again with reduced state.
12779
12780 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12781
12782         * lyxrc.C (read): print error about invalid key sequence only when
12783         debugging (because not all latinX keysyms are known to some X
12784         servers)
12785
12786         * kbsequence.C (getiso): add a few std:: qualifiers
12787         (getiso): comment out extra return statement.
12788
12789 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12790
12791         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12792         handling.
12793         (Dispatch): enhance the accent inset a bit. (not perfect)
12794
12795 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12796
12797         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12798
12799 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12800
12801         * bufferlist.C (emergencyWrite): fix assert() call
12802
12803 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12804
12805         * text.C (InsertChar): Added trivial patch to only send the "you
12806         can not do multiple spaces this way" message once during a
12807         session.
12808
12809 2001-05-08  Baruch Even  <baruch@lyx.org>
12810
12811         * Makefile.am: Changed order of libraries to get LyX to link properly
12812         with the gnome frontend.
12813
12814 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12815
12816         * LaTeXFeatures.h: add a std:: qualifier
12817
12818 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12819
12820         * paragraph.C (String): use stringstream
12821
12822 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12823
12824         * paragraph.C (writeFile): remove footflag arg
12825
12826         * buffer.C (makeLaTeXFile): use stringstream
12827         (latexParagraphs): remove footnot gurba
12828
12829         * LaTeXFeatures.C (getPackages): use stringstream
12830         (getMacros): likewise
12831         (getTClassPreamble): likewise
12832         (getFloatDefinitions): new method
12833
12834         * paragraph.C (writeFile): reindent
12835         (Erase): reindent
12836
12837         * WorkArea.h: revert the xpos + etc changes.
12838
12839         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12840
12841         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12842
12843         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12844         (pasteSelection): likewise
12845         * text2.C (CreateUndo): likewise
12846
12847 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12848
12849         * minibuffer.C (peek_event): temporarily reduce the functionality
12850         of the minibuffer (to allow args on lfuns)
12851
12852         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12853         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12854
12855         * buffer.C (readInset): add compability reading of old float
12856         lists, add reading of new style float list.
12857         (readInset): avoid reevaluation of inscmd.getCmdName()
12858         (getLists): reindent
12859
12860         * MenuBackend.C (MenuItem): implement parsing of
12861         md_floatlistinsert and md_floatinsert.
12862         (expand::LastFiles): move initalizaton of iterators out of loop,
12863         avoid reevaluation.
12864         (expand::Documents): introduce typdedef vector<string> Strings,
12865         and use it.
12866         (expand::ExportFormats): introduce typedef vector<Format const *>
12867         Formats, and use it.
12868         (expand): implement FloatListInsert and FloatInsert.
12869
12870         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12871         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12872         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12873
12874         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12875         handling.
12876         (Dispatch::LFUN_FLOAT_LIST): implement
12877
12878 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12879
12880         * LaTeX.C (run): Fix problem with --export code.
12881
12882 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12883
12884         * BufferView.[Ch] (workarea): removed.
12885         (getClipboard) new method; wrapper for workarea()->getClipboard()
12886
12887         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12888         bug.
12889
12890         * WorkArea.h (width, height, xpos, ypos): These methods all
12891         returned the dimensions of the work_area sub-area of WorkArea,
12892         resulting in a position error if the WorkArea were resized. Now
12893         return the dimensions of the entire WorkArea.
12894
12895         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12896
12897 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12898
12899         * LaTeX.C (deplog): correct the syntax of regex reg1
12900
12901 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12902
12903         * undo.C: remove !NEW_INSETS cruft
12904
12905 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12906
12907         * text2.C: remove !NEW_INSETS cruft
12908
12909         * text.C: remove !NEW_INSETS cruft
12910
12911         * tabular.C: remove !NEW_INSETS cruft
12912
12913         * spellchecker.C: remove !NEW_INSETS cruft
12914
12915         * lyxtext.h: remove !NEW_INSETS cruft
12916
12917         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12918
12919         * lyxfunc.C: remove !NEW_INSETS cruft
12920
12921         * lyxfind.C: remove !NEW_INSETS cruft
12922
12923         * lyx_cb.C: remove !NEW_INSETS cruft
12924
12925         * figureForm.C: remove  !NEW_INSETS cruft
12926
12927         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12928
12929         * buffer.[Ch]: remove !NEW_INSETS cruft
12930
12931         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12932
12933         * CutAndPaste.C: remove !NEW_INSETS cruft
12934
12935         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12936
12937         * BufferView2.C: remove !NEW_INSETS cruft
12938
12939         * BufferView.h: remove !NEW_INSETS cruft
12940
12941 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12942
12943         * Lsstream.h: include LString.h before the sstream headers to
12944         fix problem with gcc 2.95.3 and lyxstring
12945
12946 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12947
12948         * lyx_main.C: add using directives when needed for C functions
12949         declared in std:: namespace.
12950
12951 2001-04-27  Juergen Vigna  <jug@sad.it>
12952
12953         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12954         (SetHeightOfRow): comment out the update call should not be needed!
12955
12956 2001-04-13  Juergen Vigna  <jug@sad.it>
12957
12958         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12959         (LyXTabular): tried to minimize operator= operations (and realized
12960         hopfully Lars wish).
12961
12962 2001-04-27  Juergen Vigna  <jug@sad.it>
12963
12964         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12965
12966 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12967
12968         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12969
12970         * buffer.C (readInset): hack to make listof algorithm work
12971
12972         * BufferView_pimpl.C: hack to make listof algorithm work
12973
12974 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12975
12976         * LyXAction.C: removed all !NEW_INSETS cruft
12977         (init): moved lfun_item in method
12978
12979         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12980
12981 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12982
12983         * BufferView2.C (theLockingInset): white space.
12984
12985 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12986
12987         * minibuffer.C: include <iostream>
12988
12989         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12990
12991         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12992
12993         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12994
12995         * text.[Ch] (TransposeChars): new method
12996
12997 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12998
12999         * call message directly through LyXView instead of through LyXFunc
13000         * BufferView2.C: adjust
13001         * BufferView_pimpl.C: adjust
13002         * FontLoader.C: adjust
13003         * buffer.C: adjust
13004         * bufferview_funcs.C: adjust
13005         * converter.C: adjust
13006         * figureForm.C: adjust
13007         * importer.C: adjust
13008         * lyx_cb.C: adjust
13009         * lyx_gui_misc.C: adjust
13010         * lyxfunc.C: adjust
13011         * lyxvc.C: adjust
13012         * text2.C: adjust
13013         + more files in subdirs
13014
13015         * lyxparagraph.h (size): move up int file
13016         (GetLayout): ditto
13017
13018         * adjust all uses of Assert to lyx::Assert.
13019
13020         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13021         lyxfunctional in namespace lyx
13022         * layout.C (hasLayout): ditto
13023         (GetLayout): ditto
13024         (GetLayout): ditto
13025         (delete_layout): ditto
13026         (NumberOfClass): ditto
13027         * converter.C (GetFormat): ditto
13028         (GetNumber): ditto
13029         (Add): ditto
13030         (Delete): ditto
13031         (SetViewer): ditto
13032         * bufferlist.C (getFileNames): ditto
13033         (emergencyWriteAll): ditto
13034         (exists): ditto
13035         (getBuffer): ditto
13036         * MenuBackend.C (hasSubmenu): ditto
13037         (hasMenu): ditto
13038         (getMenu): ditto
13039         * BufferView_pimpl.C (getInsetByCode): ditto
13040
13041 2001-04-18  Juergen Vigna  <jug@sad.it>
13042
13043         * vspace.C (asLatexString): fixed the 100% problem.
13044
13045 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13046
13047         * lyxfunc.C (Dispatch):
13048         * minibuffer.C:
13049         * minibuffer.h: add a few std:: qualifiers
13050
13051 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13052
13053         * minibuffer.[Ch]: reimplement so that commands is initiated and
13054         run from lyxfunc, simplified som handling, and made the completion
13055         and history code for complete. wip.
13056
13057         * lyxfunc.C (processKeySym): call message
13058         (miniDispatch): new temporary method
13059         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13060         (LFUN_MESSAGE): implement
13061         (LFUN_MESSAGE_PUSH): implement
13062         (LFUN_MESSAGE_POP): implement
13063         (initMiniBuffer): the initial/defualt minibuffer message.
13064
13065         * lyxfont.[Ch]: inline some more getters
13066
13067         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13068
13069         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13070
13071         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13072         (AutoSave): use LFUN_MESSAGE
13073         (Reconfigure): ditto
13074
13075         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13076
13077         * figureForm.C: use LFUN_MESSAGE
13078
13079         * converter.C (runLaTeX): use LFUN_MESSAGE
13080
13081         * bufferview_funcs.C: use LFUN_MESSAGE
13082         (Melt): ditto
13083         (changeDepth): ditto
13084
13085         * bufferparams.h: use boost::
13086
13087         * bufferlist.h: inherit privately from noncopyable
13088
13089         * bufferlist.C (loadLyXFile): remove some commented code.
13090
13091         * buffer.C (runChktex): use LFUN_MESSAGE
13092
13093         * ShareContainer.h: inherit privately from noncopyable
13094
13095         * ParagraphParameters.[hC] (depth): inline it.
13096
13097         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13098         methods.
13099         (message): new method
13100         (messagePush): ditto
13101         (messagePop): ditto
13102         (show): init minibuffer
13103         (showState): direct call
13104
13105         * LaTeX.[Ch]: inherit privately from noncopyable
13106         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13107         instead of WriteStatus.
13108
13109         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13110
13111         * BufferView_pimpl.C (buffer): don't init minibuffer
13112         (workAreaButtonPress): use LFUN_MESSAGE
13113         (workAreaButtonRelease): ditto
13114         (savePosition): ditto
13115         (restorePosition): ditto
13116         (MenuInsertLyXFile): ditto
13117         (workAreaExpose): don't init minibuffer
13118         (update): remove commented code, simplify
13119
13120         * BufferView2.C (openStuff): use LFUN_MESSAGE
13121         (toggleFloat): ditto
13122         (menuUndo): ditto
13123         (menuRedo): ditto
13124         (copyEnvironment): ditto
13125         (pasteEnvironment): ditto
13126         (copy): ditto
13127         (cut): ditto
13128         (paste): ditto
13129         (gotoInset): ditto
13130         (updateInset): remove some commented code
13131
13132         * lastfiles.h: inherit privately from noncopyable
13133         * layout.h: ditto
13134         * lyx_gui.h: ditto
13135         * lyx_main.h: ditto
13136         * lyxlex.h: ditto
13137         * lyxlex_pimpl.h: ditto
13138
13139         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13140         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13141         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13142
13143         * LyXAction.h: inherit privately from noncopyable, add methods
13144         func_begin, func_end, returning iterators to the func map.
13145
13146         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13147         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13148         (func_begin): new method
13149         (func_end): new method
13150
13151         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13152         and not)
13153         (copySelection): ditto
13154         (pasteSelection): ditto
13155
13156         * BufferView.C: whitespace change
13157         * BufferView.h: inherit privately from noncopyable
13158
13159 2001-04-16  Allan Rae  <rae@lyx.org>
13160
13161         * tabular-old.C (l_getline):
13162         * spellchecker.C (sc_check_word):
13163         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13164         an unrecognised preprocessor directive.  So ensure they're wrapped.
13165
13166 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13167
13168         * src/exporter.C (Export): Give an error message when path to file
13169         contains spaces.
13170
13171 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13172
13173         * LaTeX.C (deplog): Always check that foundfile exists.
13174
13175 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13176
13177         * lyx_main.h:
13178         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13179
13180 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13181
13182         * tabular.[Ch] (getLabelList): implement new method
13183
13184         * minibuffer.h: comment ouf setTiimer
13185
13186         * minibuffer.C (ExecutingCB): constify res
13187         (peek_event): constify s
13188         (Set): constify ntext
13189         (Init): constify nicename
13190
13191         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13192
13193         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13194         (savePosition): use two params to Minibuffer::Set
13195         (restorePosition): ditto
13196
13197 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13198
13199         * lyx_main.C: include language.h
13200
13201         * Makefile.am (lyx_main.o): add language.h
13202
13203 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13204
13205         * exporter.C:
13206         * paragraph.C:
13207         * screen.C:
13208         * tabular.C:
13209         * CutAndPaste.C: include gettext.h
13210
13211         * lyxfont.h: remove old hack with ON and OFF.
13212
13213         * lyxparagraph.h:
13214         * lyxfont.h: do not include language.h...
13215
13216         * BufferView2.C:
13217         * LaTeXFeatures.C:
13218         * Painter.C:
13219         * bufferview_funcs.C:
13220         * font.C:
13221         * lyxfont.C:
13222         * text.C:
13223         * text2.C:
13224         * trans_mgr.C:
13225         * paragraph.C: ... but do it here instead
13226
13227 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13228
13229         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13230
13231         * tabular.C: small reformat
13232
13233         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13234         NEW_INSETS version
13235         (GetChar): ditto
13236         (BreakParagraph): ditto
13237         (SetOnlyLayout): ditto
13238         (SetLayout): ditto
13239
13240         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13241         with one arg less.
13242
13243         * lastfiles.C: removed most using decl, add std:: where needed
13244
13245         * buffer.C: ws changes
13246
13247         * MenuBackend.C (class compare_format): put into anon namespace
13248         (expand): constify label, names, action, action2
13249         (expand):
13250
13251         * text.C (SingleWidth): constify font
13252         (IsBoundary): constify rtl2
13253         (GetVisibleRow): constify ww
13254
13255         * LaTeX.C (deplog): constify logfile
13256
13257         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13258         start_x, end_x
13259         (workAreaExpose): constify widthChange, heightChange
13260
13261         * lyxrow.C (par): moved
13262         (height): moved
13263         (next): moved
13264         * lyxrow.h: as inlines here
13265
13266         * lyxfont.h (shape): moved from lyxfont.C
13267         (emph): moved from lyxfont.C
13268
13269         * lyxfont.C (LyXFont): use initialization list for all
13270         constructors
13271         (shape): move to lyxfont.h as inline
13272         (emph): move to lyxfont.h as inline
13273
13274
13275 2001-04-04  Juergen Vigna  <jug@sad.it>
13276
13277         * vspace.C: had to include stdio.h for use of sscanf
13278
13279 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13280
13281         * BufferView.h:
13282         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13283         independent of xforms.
13284
13285 2001-04-02  Juergen Vigna  <jug@sad.it>
13286
13287         * spellchecker.C: fixed namespace placing!
13288
13289 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13290
13291         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13292         the LyXParagraph * is 0.
13293
13294 2001-03-29  Juergen Vigna  <jug@sad.it>
13295
13296         * vspace.C: added support for %, c%, p%, l%.
13297         (stringFromUnit): added helper function.
13298         (asLatexString): changed to give right results for the %-values.
13299
13300         * buffer.C: convert the widthp in a width%.
13301
13302 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13303
13304         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13305         figureForm.[Ch].
13306
13307         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13308         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13309
13310         * lyx_cb.[Ch]: see above.
13311
13312         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13313         form1.[Ch].
13314
13315         * form1.[Ch]:
13316         * lyx.[Ch]: replaced by figure_form.[Ch].
13317
13318         * lyx_gui.C:
13319         * lyx_gui_misc.C:
13320         * lyxfunc.C: changed headers associated with above changes.
13321
13322 2001-03-27  Juergen Vigna  <jug@sad.it>
13323
13324         * BufferView_pimpl.C: set the temporary cursor right!
13325
13326 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13327
13328         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13329
13330 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13331
13332         * LString.h: removed "using std::getline"!
13333
13334         * BufferView_pimpl.C (Dispatch): changes due to changes in
13335         InsetInclude::Params.
13336
13337         * buffer.C (tag_name): removed redundant break statements as they were
13338         producing lots of warnings with my compiler.
13339
13340 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13341
13342         * LString.h: add "using std::getline" when using the real <string>.
13343
13344 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13345
13346         * buffer.C: removed bitset usage.
13347         PAR_TAG moved to an anonymous name space.
13348         (tag_name): new funtion, also in the anonymous namespace.
13349         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13350         (makeDocBookFile): clean code. Completed transition from string arrays
13351         to string vectors.
13352         (SimpleDocBookOnePar): code clean.
13353
13354 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13355
13356         * tabular.C: add some comments.
13357
13358 2001-03-22  Juergen Vigna  <jug@sad.it>
13359
13360         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13361         compatibility read a bit and fixed bug with minipage in different
13362         depth.
13363
13364 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13365
13366         * buffer.C (pop_tag): removed.
13367         (push_tag): removed.
13368         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13369         array replaced with vector. Added support for CDATA sections.
13370         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13371         at any nest level.
13372         (makeDocBookFile): XML conformant declaration of CDATA section,
13373         fixed bug related to <emphasis> in the first paragraph char.
13374         (sgmlOpenTag): exclude empty tags.
13375         (sgmlCloseTag): ditto.
13376
13377         * buffer.h (pop_tag): removed.
13378         (push_tag): removed.
13379
13380 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13381
13382         * language.h (Languages): added size_type and size().
13383
13384 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13385
13386         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13387         response on compability reading of minipages. One probliem is that
13388         the old usage of minipages was «flertydig»
13389
13390         * several files here and in subdirs: don't use static at file
13391         scope use anon namespaces instead.
13392
13393 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13394
13395         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13396         LaTeX output. This is necessary for Literate document
13397         processing.
13398
13399 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13400
13401         * buffer.C: insert hfill when needed.
13402
13403         * tabular.C (l_getline): use string::erase, small whitespace change.
13404
13405         * BufferView_pimpl.C: try the anon namespace.
13406         * WorkArea.C: ditto
13407
13408 2001-03-16  Juergen Vigna  <jug@sad.it>
13409
13410         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13411         otherwise it won't open options-dialogs.
13412
13413         * buffer.C: honor pextraWidth(p) on converting minipages.
13414
13415         * tabular.C (l_getline): changed the functions to strip trailing \r.
13416
13417 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13418
13419         * BufferView_pimpl.C:
13420         * minibuffer..C: added "using SigC::slot" declaration.
13421
13422 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13423
13424         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13425
13426         * text2.C: ditto
13427
13428         * text.C: ditto
13429
13430         * paragraph.C: ditto
13431
13432         * lyxtext.h: NO_PEXTRA
13433
13434         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13435
13436         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13437         * ParameterStruct.h: ditto
13438         * ParagraphParameters.h: ditto
13439         * lyxparagraph.h: ditto
13440
13441 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13442
13443         * buffer.C: add compability for minipage alignment.
13444         (latexParagraphs): remove unwanted pextra check.
13445
13446         * several files: remove CXX_WORKING_NAMESPACES
13447
13448         * buffer.C (pop_tag): tie is in namespace boost
13449
13450         * BufferView.h: noncopyable is in namespace boost
13451         * lyxlex.h: ditto
13452         * lyx_main.h: ditto
13453         * lyx_gui.h: ditto
13454         * layout.h: ditto
13455         * lastfiles.h: ditto
13456         * bufferlist.h: ditto
13457         * ShareContainer.h: ditto
13458         * LyXView.h: ditto
13459         * LyXAction.h: ditto
13460         * LaTeX.h: ditto
13461
13462 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13463
13464         * Merging changes from BRANCH_MVC back into HEAD.
13465
13466         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13467
13468 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13469
13470         * BufferView_pimpl.C: change from intl.C
13471
13472         * combox.h:
13473         * combox.C:
13474         * Makefile.am: move combox.*
13475
13476         * form1.h:
13477         * form1.C:
13478         * lyx_gui.C:
13479         * intl.h:
13480         * intl.C: remove dialog (covered by prefs)
13481
13482 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13483
13484         * lyxfunc.C (Dispatch): removed redundant break statement.
13485
13486 2001-03-14  Juergen Vigna  <jug@sad.it>
13487
13488         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13489
13490 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13491
13492         * buffer.C: add hack to fix compability reading of minipages.
13493
13494 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13495
13496         * buffer.C (getLists): Cleanup.
13497
13498 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13499
13500         * lyxfont.C (update): don't honor toggleall on font size.
13501
13502 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13503
13504         * bmtable.c:
13505         * bmtable.h:
13506         * Makefile.am: moved to frontends/xforms/
13507
13508         * lyx_gui_misc.C:
13509         * lyxfunc.C:
13510         * BufferView_pimpl.C: changes for moved mathpanel
13511
13512 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13513
13514         * gettext.h: fix gettext_init() in --disable-nls
13515
13516 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13517
13518         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13519
13520 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13521
13522         * lyx.C:
13523         * lyx.h: strip external form
13524
13525 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13526
13527         * BufferView_pimpl.C: add comment, destroySplash()
13528
13529 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13530
13531         * BufferView_pimpl.C:
13532         * LyXAction.C:
13533         * buffer.C:
13534         * commandtags.h:
13535         * lyxfunc.C: use re-worked insetinclude
13536
13537 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13538
13539         * buffer.C: add using std::stringstream.
13540
13541         * lyx_cb.C: readd using std::ios.
13542
13543         * buffer.C: add using std::map.
13544
13545         * BufferView_pimpl.C: add using std::vector.
13546
13547         * ShareContainer.h: add std:: to swap.
13548
13549         * buffer.h: add some typedefs
13550         * buffer.C (getLists): use them
13551         (getLists): renamed from getTocList.
13552         add a counter for the different float types and use it in the
13553         generated string.
13554         (getLists): use the same counter for the NEW_INSETS and the "non"
13555         NEW_INSETS
13556
13557         * lyx_cb.h: remove unused items, includes, using etc.
13558
13559         * ShareContainer.h: remove some commented code, add more comments
13560         and "documentation".
13561
13562 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13563
13564         * buffer.C (getTocList): make the list also when NEW_INSETS is
13565         defined.
13566
13567         * buffer.h: remove TocType
13568
13569         * buffer.C (getTocList): change to return a map<string,
13570         vector<TocItem> >, implement for dynamic number of list.
13571
13572         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13573         * text2.C (PasteSelection): adjust
13574         * CutAndPaste.C (pasteSelection): adjust
13575
13576         * FloatList.C (FloatList): update from the new_insets branch.
13577         * Floating.[Ch]: ditto
13578         * LaTeXFeatures.C: ditto
13579         * buffer.C: ditto
13580         * lyxlex_pimpl.C: ditto
13581
13582         * paragraph.C (Last): remove when NEW_INSETS is defined.
13583
13584         * other file: changes because of the above.
13585
13586 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13587
13588         * lyxparagraph.h: rename next to next_, previous to previous_,
13589         make them private for NEW_INSETS. Rename Next() to next(),
13590         Previous() to previous().
13591
13592         * other files: changes because of the above.
13593
13594 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13595
13596         * BufferView.h:
13597         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13598         problem.
13599
13600 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13601
13602         * main.C (main): pass lyx_localedir to gettext_init().
13603
13604         * gettext.h: remove locale_init and gettext_init macros
13605
13606         * gettext.C (locale_init): new function
13607         (gettext_init): new function
13608
13609         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13610         setlocale().
13611
13612 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13613
13614         * Moved credits to frontends:
13615         * credits.[Ch]: removed
13616         * credits_form.[Ch]: removed
13617         * lyx_gui_misc.C: remove credits stuff
13618         * Makefile.am:
13619
13620 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13621
13622         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13623
13624         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13625         unneeded destructor.
13626
13627         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13628         a standalone pointer again.
13629
13630         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13631
13632 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13633
13634         * Makefile.am:
13635         * filedlg.h:
13636         * filedlg.C:
13637         * LyXAction.C:
13638         * ToolbarDefaults.C:
13639         * bufferlist.C:
13640         * commandtags.h:
13641         * form1.C:
13642         * form1.h:
13643         * lyx_cb.C:
13644         * lyx_cb.h:
13645         * lyxfunc.h:
13646         * lyxfunc.C:
13647         * BufferView_pimpl.C: use new file dialog in GUII
13648
13649         * lyx_cb.h:
13650         * lyx_cb.C: remove LayoutsCB to Toolbar
13651
13652 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13653
13654         * ShareContainer.h (get): add std:: qualifier
13655
13656 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13657
13658         * ShareContainer.h: define a proper ShareContainer::value_type
13659         type (and use typename to please compaq cxx)
13660
13661 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13662
13663         * lyxparagraph.h: move serveral local vars to
13664         ParameterStruct/ParagraphParameters., use ShareContainer in
13665         FontTable., make vars in FontTable private and add getter and
13666         setter.
13667
13668         * paragraph.C: changes because of the above.
13669
13670         * lyxfont.h: remove copy constructor and copy assignment. (the
13671         default ones is ok), move number inside FontBits. move inlines to
13672         lyxfont.C
13673
13674         * lyxfont.C: add number to initializaton of statics, move several
13675         inlines here. constify several local vars. some whitespace
13676         cleanup. Dont hide outerscope variables.
13677
13678         * Spacing.h: add two new constructors to match the set methods.
13679
13680         * ShareContainer.h: new file, will perhaps be moved to support
13681
13682         * ParameterStruct.h: new file
13683
13684         * ParagraphParameters.h: new file
13685
13686         * ParagraphParameters.C: new file
13687
13688         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13689         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13690
13691         * BufferView_pimpl.C: ParagraphParameter changes.
13692         * buffer.C: Likewise.
13693         * bufferview_funcs.C: Likewise.
13694         * text.C: Likewise.
13695         * text2.C: Likewise.
13696
13697 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13698
13699         * lyxfind.C (LyXReplace): do not redefine default argument in
13700         implementation.
13701         (IsStringInText): ditto
13702         (SearchForward): ditto
13703         (SearchBackward): ditto
13704
13705 2001-03-06  Juergen Vigna  <jug@sad.it>
13706
13707         * lyxfind.C (IsStringInText): put parentes around expressions.
13708
13709 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13710
13711         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13712
13713 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13714
13715         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13716
13717         * stl_string_fwd.h: add comment
13718
13719         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13720
13721         * tabular.h:
13722         * tabular.C: remove unused DocBook methods
13723
13724         * intl.C:
13725         * language.C:
13726         * paragraph.C:
13727         * buffer.C:
13728         killed DO_USE_DEFAULT_LANGUAGE
13729
13730 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13731
13732         * lyx_gui.C: do not include language.h.
13733
13734         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13735         arguments in function implementation.
13736
13737 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13738
13739         * BufferView_pimpl.C: add <ctime>
13740
13741 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13742
13743         * BufferView_pimpl.C: add using std::find_if
13744
13745 2001-02-27  José Matos  <jamatos@fep.up.pt>
13746
13747         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13748         by OnlyPath.
13749
13750 2001-02-11  José Matos  <jamatos@fep.up.pt>
13751
13752         * buffer.C (makeDocBookFile): command styles now have a parameter as
13753         "title" by default.
13754
13755 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13756
13757         * layout_forms.[Ch]: removed
13758         * lyx_cb.[Ch]: out character
13759         * lyx_gui.C: out character
13760         * lyx_gui_misc.C: out character
13761         * bufferview_funcs.C: : out character,
13762         added toggleall as parameter in ToggleAndShow
13763
13764 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13765
13766         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13767
13768         * text2.C (SetCurrentFont): Disable number property at boundary.
13769
13770 2001-02-26  Juergen Vigna  <jug@sad.it>
13771
13772         * lyxfunc.C (getStatus): added a string argument override function so
13773         that this is correctly called from LyXFunc::Dispatch if it contains a
13774         do_not_use_argument which is used!
13775         (Dispatch): added check for "custom" export and call appropriate func.
13776
13777 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13778
13779         * lyxrc.C: Add language_command_local, language_use_babel and
13780         language_global_options.
13781
13782         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13783
13784         * buffer.C (makeLaTeXFile): Use language_use_babel and
13785         language_global_options.
13786
13787 2001-02-23  Juergen Vigna  <jug@sad.it>
13788
13789         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13790         which works with LyXText and putted it inside BufferView. Here now we
13791         only call for that part the BufferView::Dispatch() function.
13792
13793         * BufferView.C (Dispatch): added.
13794
13795         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13796         functions which needs to use a LyXText over from LyXFunc.
13797         (MenuInsertLyXFile): added
13798         (getInsetByCode): added
13799         (moveCursorUpdate): added
13800         (static TEXT): added
13801
13802 2001-02-22  Juergen Vigna  <jug@sad.it>
13803
13804         * BufferView_pimpl.C (update): call a status update to see if LyXText
13805         needs it.
13806
13807 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13808
13809         * vc-backend.C (revert): implement for CVS
13810         (getLog): implement for CVS
13811
13812 2001-02-20  Juergen Vigna  <jug@sad.it>
13813
13814         * text2.C (ClearSelection): added BufferView param for inset_owner call
13815
13816         * lyxfunc.C (TEXT): added this function and use it instead of
13817         directly owner->view()-text of getLyXText().
13818
13819 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13820
13821         * src/layout_forms.C: out preamble
13822         * src/layout_forms.h: out preamble
13823         * src/lyx_cb.C: out preamble
13824         * src/lyx_cb.h: out preamble
13825         * src/lyx_gui.C: out preamble
13826         * src/lyx_gui_misc.C: out preamble
13827         * src/lyxfunc.C: connect with guii preamble
13828
13829 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13830
13831         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13832
13833 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13834
13835         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13836         whether to run bibtex.
13837
13838 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13839
13840         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13841
13842 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13843
13844         * Makefile.am (lyx_SOURCES): removed bibforms.h
13845
13846         * vspace.h: doxygen
13847
13848         * text.C (GetVisibleRow): make several local vars const
13849
13850         * tabular.C: small cleanup.
13851
13852         * lyxserver.C (callback): use compare instead of strncmp
13853
13854         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13855         inlines to after class or to paragraph.C
13856
13857         * lyxfont.h: remove friend operator!=
13858
13859         * converter.h: move friend bool operator< to non friend and after
13860         class def.
13861
13862         * combox.h: small cleanup
13863
13864         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13865         to inlines after class def.
13866
13867         * buffer.C (pop_tag): use string operations instead of strcmp
13868
13869         * bmtable.c: doxygen, small cleanup
13870
13871         * LaTeX.h: remove friend operator==
13872
13873 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13874
13875         * screen.C:
13876         * lyxrc.[Ch]:
13877         * lyxfunc.C:
13878         * lyxfont.[Ch]:
13879         * lyx_cb.C:
13880         * intl.[Ch]:
13881         * commandtags.h:
13882         * buffer.C:
13883         * WorkArea.[Ch]:
13884         * LyXAction.C:
13885         * BufferView_pimpl.C:
13886         * BufferView.[Ch]: remove cruft
13887
13888 2001-02-14  Juergen Vigna  <jug@sad.it>
13889
13890         * lyxfunc.C: removed #if 0 unused code
13891
13892         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13893
13894         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13895
13896         * text2.C (SetSelection): added a BufferView * parameter
13897
13898 2001-02-13  Juergen Vigna  <jug@sad.it>
13899
13900         * lyxfunc.C (Dispatch): fixed protected blank problem.
13901         * BufferView2.C (protectedBlank): added LyxText * parameter.
13902
13903         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13904         (AppendColumn): same as above for column_info.
13905
13906         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13907         (moveCursorUpdate): use a LyXText param for support of InsetText.
13908
13909         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13910         (tripleClick): ditto
13911
13912         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13913
13914         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13915
13916         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13917
13918         * text2.C (SetSelection): set correct update status if inset_owner
13919         (ToggleFree): ditto
13920
13921 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13922
13923         * tabular.C: remove some commented code.
13924
13925 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13926
13927         * BufferView_pimpl.C: call hideSplash()
13928
13929         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13930
13931         * include_form.h:
13932         * bibforms.h: remove
13933
13934         * lyxfunc.C:
13935         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13936           add LFUN_CHILD_CREATE
13937
13938         * counters.h: fix tiny typo
13939
13940         * lyx_cb.C:
13941         * lyx.h:
13942         * lyx_gui.C:
13943         * lyx.C: move splash to frontends/xforms/
13944
13945         * lyx_gui_misc.C: move Include and Bibform to frontends
13946
13947         * lyxvc.h: clarify comment
13948
13949         * vspace.C: tiny housekeeping
13950
13951 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13952
13953         * text.C (PrepareToPrint): RTL Fix.
13954
13955         * paragraph.C (GetUChar): New method.
13956         (String):  Use GetUChar.
13957
13958         * buffer.C (asciiParagraph): Use GetUChar.
13959
13960 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13961
13962         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13963
13964 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13965
13966         * buffer.h:
13967         * buffer.C: rename to getLogName(), handle
13968           build log / latex log nicely
13969
13970 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13971
13972         * MenuBackend.C:
13973         * MenuBackend.h: remove support for reference menuitem type.
13974
13975 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13976
13977         * BufferView_pimpl.C: housekeeping
13978         * BufferView_pimpl.h:
13979         * LyXView.h:
13980         * Makefile.am:
13981         * Timeout.C:
13982         * Timeout.h:
13983         * minibuffer.h: move Timeout GUI-I
13984
13985 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13986
13987         * lyxrc.C (read): Update converters data-structures.
13988
13989 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13990
13991         * LaTeX.h (operator!=): add operator != for Aux_Info
13992
13993 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13994
13995         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13996
13997         * LaTeXLog.C: deleted, useful code moved to Buffer
13998
13999         * buffer.h:
14000         * buffer.C: new function getLatexLogName()
14001
14002         * lyx_gui_misc.C:
14003         * lyx_gui.C:
14004         * lyxvc.C:
14005         * lyxvc.h:
14006         * lyxfunc.C: use frontends for LaTeX and VC logs
14007
14008 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14009
14010         * LaTeX.h: yet another std:: that Allan forgot.
14011
14012         * Variables.C (set): renamed from isset(), because this clashes
14013         with some HP-UX macros (grr).
14014
14015 2001-02-06  Allan Rae  <rae@lyx.org>
14016
14017         * LaTeX.h: Another bug fix.  Missing std:: this time.
14018
14019 2001-02-04  Allan Rae  <rae@lyx.org>
14020
14021         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14022         floats problem. I've left it commented out because it's not quite
14023         correct.  It should also test that the current object is a table or
14024         figure inset.  But I haven't gotten around to figuring out how to do
14025         that.  I *think* it'll be something like: "table" == inset.type()
14026
14027         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14028         bool.
14029
14030 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14031
14032         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14033         all the citation/databases/styles in the auxilary file.
14034         (run): Rerun latex if there was a babel language error.
14035
14036 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14037
14038         * text.C (Backspace): Preserve the font when changing newline char
14039         with a space.
14040         (BreakParagraph): If the cursor is before a space, delete the space.
14041
14042         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14043
14044 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14045
14046         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14047         new argument (code).
14048         (ChangeCitationsIfUnique): New method.
14049
14050         * paragraph.C (GetPositionOfInset): Handle bibkey.
14051
14052 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14053
14054         * BufferView_pimpl.h: change type of Position::par_pos to
14055         LyXParagraph::size_type.
14056
14057 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14058
14059         * BufferView_pimpl.C (savePosition, restorePosition): Write
14060         messages to minibuffer.
14061
14062 2001-01-28  José Matos  <jamatos@fep.up.pt>
14063
14064         * buffer.C (makeDocBookFile): adds support for document language.
14065         A silly restriction on the name of LatexCommand types where removed.
14066         Added support for CDATA sections, allows to chars unescaped, used
14067         among others in code, to avoid escape < and >.
14068
14069 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14070
14071         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14072         saved positions instrad of a stack. Furthermore, a position is
14073         stored using paragraph id/paragraph position.
14074
14075         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14076         Remove LFUN_REF_BACK.
14077
14078 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14079
14080         * converter.C (dvipdfm_options): New method.
14081
14082 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14083
14084         * vspace.C (isValidLength): Fix for empty input string.
14085
14086 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14087
14088         * LyXAction.C (init): change description of LFUN_FIGURE to
14089         "Insert Graphics"
14090
14091 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14092
14093         * LaTeX.C: add using directive
14094
14095 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14096
14097         * MenuBackend.C (expand): Fix the sorting of the formats.
14098
14099 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14100
14101         * lyx_main.C: tiny error message fix
14102
14103 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14104
14105         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14106         calling fl_initialize(). This fixes the problem with ',' as
14107         decimal separator in text files.
14108
14109 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14110
14111         * trans.C (process): Fix the keymap bug.
14112
14113 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14114
14115         * LaTeX.C (scanAuxFiles): New method. Provides support for
14116         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14117         (scanLogFile) Scan for "run BibTeX" messages.
14118
14119         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14120         OT1 font encoding. Also, load the aecompl package if the ae
14121         package is loaded.
14122
14123         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14124
14125 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14126
14127         * texrow.C (increasePos): turn two error messages into debug
14128         messages.
14129
14130 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14131
14132         * LaTeX.C (scanAux): Handle the \@input macro.
14133         (runBibTeX): Use scanAux().
14134
14135         * language.C (latex_options_): New field.
14136
14137         * LaTeXFeatures.C (getMacros): Add language macros.
14138
14139         * buffer.C (makeLaTeXFile): Small fix.
14140
14141 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14142
14143         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14144
14145         * text2.C: add a using directive.
14146
14147 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14148
14149         * BufferView2.C:
14150         * lyx_gui_misc.h:
14151         * lyxfr1.C:
14152         * lyxfunc.C: kill LyXBell.
14153
14154 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14155
14156         * text.C (IsBoundary): Remove the error message
14157
14158         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14159
14160         * lyxrc.C (setDefaults): Correct initialization value for
14161         font_norm_type.
14162
14163 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14164
14165         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14166         gotoError().
14167
14168         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14169         and GotoNextNote().
14170
14171         * src/LyXAction.C: Added reference-next.
14172
14173         * text.C (InsertChar): Use contains instead of strchr.
14174
14175         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14176
14177 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14178
14179         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14180         alignment commands (when needed).
14181
14182         * text.C (InsertChar): Add ':' to number separator chars.