]> git.lyx.org Git - features.git/blob - src/ChangeLog
lyxtext.h, text2.C (setLayout): don't use cursor to iterate when a pit is enough...
[features.git] / src / ChangeLog
1 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2
3         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4         when a pit is enough. Standarize a couple of loops. 
5
6 2003-12-05  Angus Leeming  <leeming@lyx.org>
7
8         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
9         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
10         data to the re-worked "log" dialog.
11
12 2003-12-03  André Pönitz  <poenitz@gmx.net>
13
14         * PosIterator.C:
15         * iterators.C:
16         * lyxtext.h:
17         * output_latex.C:
18         * paragraph_funcs.C:
19         * text.C:
20         * text2.C: use Inset::getText instead of Inset::getParagraph
21
22 2003-12-03  André Pönitz  <poenitz@gmx.net>
23
24         * buffer.[Ch]:
25         * lyxtext.h:
26         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
27         InsetText::read() as LyXText::read()
28         
29 2003-12-02  Angus Leeming  <leeming@lyx.org>
30
31         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
32         type. Add a comment in the implementation that the function uses
33         the stream's bad() function rather than fail() as the std::streams
34         would do.
35
36 2003-12-02  André Pönitz  <poenitz@gmx.net>
37
38         * lyxlex.[Ch]: make interface more similar to std::stream
39
40         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
41
42 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
43
44         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
45
46 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
47
48         * vspace.[Ch]: remove VSpace::NONE
49
50 2003-12-01  André Pönitz  <poenitz@gmx.net>
51
52         * buffer.[Ch]:
53         * lyxtext.h: move ParagraphList member to LyXText
54         rename LyXText::ownerParagraphs to LyXText::paragraph
55
56         * CutAndPaste.C:
57         * bufferview_funcs.C:
58         * iterators.[Ch]:
59         * lyx_cb.C:
60         * paragraph.C:
61         * rowpainter.C:
62         * tabular.C:
63         * text.C:
64         * text2.C:
65         * text3.C: adjust
66
67         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
68
69         * undo.C: fix cursor positioning 
70
71 2003-12-01  John Levon  <levon@movementarian.org>
72
73         * BufferView_pimpl.C: fix a crash on exit with
74         a buffer open
75
76 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
77
78         * BranchList.C: fix setSelected() method.
79
80 2003-11-28  André Pönitz  <poenitz@gmx.net>
81
82         * ParagraphParameters.[Ch]:
83         * ParameterStruct.h: remove space above/below from Paragraph to
84          InsetVSpace
85
86         * BufferView_pimpl.C:
87         * factory.C:
88         * lyxfunc.C:
89         * lyxtext.h:
90         * output_latex.C:
91         * paragraph.C:
92         * paragraph_funcs.C:
93         * rowpainter.[Ch]:
94         * text.C:
95         * text2.C:
96         * text3.C: adjust
97
98 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
99
100         * factory.C: Syntax change for CharStyles
101
102 2003-11-28  André Pönitz  <poenitz@gmx.net>
103
104         * BufferView.[Ch]:
105         * BufferView.[Ch]:
106         * buffer.[Ch]:
107         * buffer.[Ch]: move LyXText member
108
109 2003-11-28  André Pönitz  <poenitz@gmx.net>
110
111         * BufferView.[Ch]: make LyXText * text a private member
112
113         * BufferView_pimpl.C:
114         * cursor.C:
115         * iterators.C:
116         * lyx_cb.C:
117         * lyxfind.C:
118         * lyxtext.h:
119         * rowpainter.[Ch]:
120         * text.C:
121         * text2.C:
122         * undo.C: adjust
123
124         * output_plaintext.C: cleanup
125
126 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
127
128         * buffer.C: 
129         * lyxtextclass.[Ch]: parametrize SGML document header
130
131 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
132
133         * converter.[Ch]:
134         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
135         getFlavor().
136
137 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
138
139         * text2.C (setFont): rework using PosIterator (no more recursive)
140         (setCharFont): no more needed 
141         (setLayout): no more selection cursors fiddling (done by redoCursor)
142         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
143         destroy remaining ones)
144
145 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
146
147         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
148         * lyxtext.h: ditto
149         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
150         selection cursors
151         * lyxfunc.C: adjust
152         * text3.C: adjust + re-allow multi par depth changes
153         * textcursor.C: simplify a bit
154
155 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
156
157         * src/buffer.C:
158         * src/lyxlayout.C:
159         * src/lyxlayout.h:
160         * src/lyxtext.h:
161         * src/output_docbook.C:
162         * src/output_latex.C:
163         * src/paragraph.C:
164         * src/paragraph.h:
165         * src/sgml.C:
166         * src/sgml.h:
167         * src/text2.C: Introducing a number of tags parametrizing various
168         XML formats that we may want to support
169
170 2003-11-25  André Pönitz  <poenitz@gmx.net>
171
172         * InsetList.[Ch] (begein, end): inline as suggested by profiler
173
174         * lyxtext.h (leftMargin/rightMargin): simplify interface
175
176         * rowpainter.C:
177         * text.C:
178         * text2.C:
179         * text3.C: adjust
180
181 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
182
183         * lyxfunc.C (dispatch): propogate the bibtex databases from the
184         master file to any child files. Fixes bug 546.
185
186 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
187
188         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
189
190 2003-11-24  André Pönitz  <poenitz@gmx.net>
191
192         * rowpainter.C: simplification
193
194         * text2.C (updateCounters): remove call to redoParagraph on 
195         changed labels as this is far too expensive.
196
197 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
198
199         * converter.C (convert): fix a crash: this function gets
200         called with buffer == 0 from importer code.
201
202 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
203
204         * text3.C (cursorPrevious): make sure that we do not compare
205         iterators form different containers.
206         (cursorNext): ditto
207
208         * rowpainter.C (paintSelection): make sure that we do not compare
209         iterators from different containers.
210
211         * text3.C (dispatch): [PRIOR] make sure that we do not compare
212         iterators from different ParagraphList containers.
213         [NEXT] ditto
214
215         * text2.C (LyXText): change order of initialization slightly
216         (operator=): new function. copy all variables except cache_par_
217         (moveUp): make sure that we do not compare iterators from
218         different ParagraphList constainers.
219         (moveDown): ditto
220
221         * text.C (firstPar): new function
222         (lastPar): new function
223         (endPar): new function
224
225         * lyxtext.h: move things around and group public functions, public
226         variables, private functions, private variables
227
228 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
229
230         * factory.C: change call to InsetERT constructor to avoid
231         additional invocation of method status
232         * text2.C (toggleInset): remove redundant update() call
233         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
234         instead of a Bufferview pointer
235
236 2003-11-21  André Pönitz  <poenitz@gmx.net>
237
238         * rowpainter.C: simplification
239
240 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
241
242         * text3.C (dispatch): make possible to extend a word/row selection
243         with the mouse
244
245 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
246
247         * lyxtext.h: x0_,y0_ -> xo_,yo_
248         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
249         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
250         * rowpainter.C (paintRows): paint full paragraphs
251
252 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
253
254         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
255         screen coordinates)
256
257 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
258
259         * lyxtext.h: add x0_, y0_
260         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
261         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
262
263 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
264
265         * text2.C (setCursorIntern): move the x_target update here *
266         * text3.C: change some bv() to true/false in calls to
267         cursorUp/Down/Right/Left
268         * cursor.C: use helper function.
269
270 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
271
272         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
273         * paragraph_funcs.[Ch]: correct comment
274         * rowpainter.C: do not paint selections away from bv->cursor()
275         Fix a long standing selection painting bug.
276         * text3.C: generalize mouse-selection code to LyXTexts other that
277         top one
278         * textcursor.C: do not use y coords if we can use par offsets
279
280 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
281
282         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
283         cursor position after e.g. inset insert)
284
285 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
286
287         * lyxfind.C (replace): adjust to locking removal + some
288         code simplification
289
290 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
291
292         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
293         of the path
294
295 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
296
297         * lyxlayout.[Ch]:
298         * output_docbook.C: XML sanitation: new layout
299         parameters InnerTag and CommandDepth
300
301 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
302
303         * BufferView_pimpl.C:
304         * factory.C:
305         * text3.C: Fix the insertion and modification of button-style
306         insets
307
308 2003-11-13  André Pönitz  <poenitz@gmx.net>
309
310         * InsetList.[Ch]: remove deleteLyXText
311
312         * paragraph.[Ch]: cache beginOfBody position
313
314         * Bidi.C:
315         * text.C:
316         * text2.C:
317         * text3.C: remove superfluous update() calls
318
319         * vspace.C: cleanup
320
321 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
322
323         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
324         * BufferView.C (fitLockedInsetCursor): remove
325         * cursor.[Ch] (getDim): add
326         * text.C (getRowNearY): add faster version
327         * text3.C: remove some update calls
328
329 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
330
331         * LaTeXFeatures.C:
332         * LyXAction.C:
333         * MenuBackend.C:
334         * MenuBackend.h:
335         * dispatchresult.h:
336         * factory.C:
337         * lfuns.h:
338         * lyxfunc.C:
339         * lyxtextclass.C:
340         * lyxtextclass.h:
341         * text3.C: The Character Style /XML short element patch.
342
343 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
344
345         * text3.C:
346         * factory.C: Small step to solving 'unable to insert some insets'
347         problem
348
349 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
350
351         * cursor.[Ch] (updatePos): new function for updating the y
352         position of the tip inset
353         * bufferview_funcs.C (put_selection_at):
354         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
355
356 2003-11-11  André Pönitz  <poenitz@gmx.net>
357
358         * text.C: remove big comment on invalid Paragraph pointers as it is
359         not valid anymore
360
361 2003-11-11  André Pönitz  <poenitz@gmx.net>
362
363         * text_funcs.[Ch]: merge with ...
364
365         * text.C: ... this
366
367         * lyxtext.h:
368         * text2.C:
369         * text3.C: adjust
370
371         * Makefile.am: remove text_funcs.[Ch]
372
373 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
374
375         * cursor.C (getPos): return absolute cached y coord
376
377         * BufferView_pimpl.C (fitCursor): new simplistic code
378         (workAreaDispatch): add a fitCursor call
379
380 2003-11-10  André Pönitz  <poenitz@gmx.net>
381
382         * BufferView.[Ch]:
383         * BufferView_pimpl.[Ch]: merge update() and updateInset()
384
385 2003-11-10  André Pönitz  <poenitz@gmx.net>
386
387         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
388         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
389         indicate that the cursor needs to leave an inset
390
391         * lyxtext.h: remove inset locking
392
393         * cursor.[Ch]: re-implement functionality provided by inset locking
394
395         * BufferView.[Ch]:
396         * BufferView_pimpl.[Ch]:
397         * LyXAction.C:
398         * bufferview_funcs.[Ch]:
399         * factory.C:
400         * funcrequest.[Ch]:
401         * iterators.C:
402         * lyx_cb.C:
403         * lyxfind.C:
404         * lyxfunc.C:
405         * text.C:
406         * text2.C:
407         * text3.C:
408         * undo.C: adjust
409
410 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
411
412         * PosIterator.[Ch]: replace the stack with a vector, add inset
413         accesor
414         * iterators.[C]: adjust
415
416 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
417
418         * lyxfind.C (replaceAll): mark the buffer dirty if something was
419         replaced
420         * paragraph_funcs.C (readParToken): put the correct id in the
421         error item, not the id of the top paragraph
422
423 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
424
425         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
426         * bufferview_funcs.C (put_selection_at): use the above
427
428 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
429
430         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
431
432 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
433
434         * output_linuxdoc.h:
435         * output_plaintext.h:
436         * output.h:
437         * output_docbook.h: add #include statements
438
439 2003-11-05  José Matos  <jamatos@lyx.org>
440
441         * output_docbook.[Ch]:
442         * output_latex.[Ch]:
443         * output_linuxdoc.[Ch]:
444         * output_plaintext.[Ch]: New files for output formats.
445         * output.[Ch]: New file for helper functions.
446
447         * buffer.[Ch]:
448         * paragraph_funcs.[Ch]: output functions moved to new files.
449
450         * outputparams.h: rename of latexrunparams.h
451
452         * LaTeX.[Ch]:
453         * buffer.[Ch]:
454         * bufferlist.[Ch]:
455         * converter.[Ch]:
456         * exporter.C:
457         * paragraph.[Ch]:
458         * paragraph_funcs.[Ch]:
459         * paragraph_pimpl.[Ch]:
460         * tabular.[Ch]: rename ascii to plaintext
461         and LatexRunParams to OutputParams.
462
463 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
464
465         * iterators.[Ch] (text): require bv argument
466         * undo.C (recordUndo):
467         * lyxfunc.C (dispatch):
468         * bufferview_funcs.C (put_selection_at): adjust
469
470 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
471
472         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
473
474 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
475
476         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
477         nestings
478
479 2003-11-04  André Pönitz  <poenitz@gmx.net>
480
481         * cursor.[Ch]: restructure
482
483         * BufferView.[Ch]:
484         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
485
486         * iterators.[Ch] (asCursor): remove
487
488         * lfuns.h: remove LFUN_INSET_EDIT
489
490         * lyxfunc.C:
491         * tabular.C:
492         * text.C:
493         * text2.C:
494         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
495
496 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
497
498         * lyxfind.[Ch]: complete overhaul
499         * BufferView_pimpl.C:
500         * lyxfunc.C: adjust
501         * paragraph.[Ch] (insert): add
502
503 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
504
505         * BufferView.[Ch]:
506         * lyxtext.h:
507         * text.C: remove dead spellcheck code
508
509 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
510
511         * dispatchresult.h: add a val setter
512
513         * cursor.C (dispatch): use a tempvar for data_[i]
514
515 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
516
517         * PosIterator.[Ch]: compile fix
518
519 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
520
521         * text.C (cursorPar): deactivate the cursor cache
522
523 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
524
525         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
526
527 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
528
529         * text3.C (dispatch): adjust for new DisptchResult semantics.
530
531         * lyxfunc.C (dispatch): handle update when return from
532         Cursor::dispatch, adjust for new DispatchResult semantics.
533
534         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
535         DispatchResult(true) mean to not update. Add class functions for
536         setting dispatched and update, as well as reading.
537
538         * cursor.C (dispatch): don't handle update here
539
540 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
541
542         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
543         * trans_mgr.C: adjust
544
545         * paragraph_funcs.C (readParToken): exception safety
546
547         * lyxvc.h: store the vcs pointer in a scoped_ptr
548         * lyxvc.C: adjust
549
550         * lyxsocket.C (serverCallback): exception safety
551
552         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
553
554         * ispell.C (clone): make it return a auto_ptr
555
556         * factory.C (createInset): exception safety
557         (readInset): exception safety
558
559         * bufferlist.C (newBuffer): exception safety
560
561         * Thesaurus.C (Thesaurus): use initialization for aik_
562
563         * MenuBackend.C (expandToc): exception safety.
564
565 2003-11-03  André Pönitz  <poenitz@gmx.net>
566
567         * buffer.C:
568         * buffer.h:
569         * bufferview_funcs.C: remove getInsetFromId()
570
571         * lyxcursor.[Ch]:
572         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
573
574         * lyxfunc.C:
575         * text2.C:
576         * text3.C: adjust
577
578 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
579
580         * PosIterator.C (distance, advance): new
581         * bufferview_funcs.[Ch] (put_selection_at): new
582         * iterators.[Ch] (lockPath): new
583
584 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
585
586         * iterators.[Ch] (asPosIterator): added
587         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
588         * PosIterator.[Ch]: added
589
590 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
591
592         * text3.C:
593         * lyxfunc.C:
594         * cursor.C (dispatch):
595         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
596
597         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
598         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
599         contructor, add a class function dispatched. Remove operator>=
600
601 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
602
603         * debug.C: only use the default constructor for debugstream
604         (lyxerr) here.
605
606         * main.C (main): include debug.h and setup the lyxerr streambuf
607         here.
608
609 2003-10-31  José Matos  <jamatos@lyx.org>
610
611         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
612
613         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
614         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
615         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
616         * paragraph_pimpl.C (simpleTeXSpecialC):
617         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
618         add LatexRunParams argument.
619
620         * exporter.C (Export): change call accordingly.
621
622         * latexrunparams.h: add new member to take care of the other backends.
623 2003-10-30  José Matos  <jamatos@lyx.org>
624
625         * buffer.C (makeLinuxDocFile, makeDocBookFile):
626         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
627         factorise code for paragraph output.
628         * buffer.[Ch]:
629         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
630         move functions.
631
632 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
633
634         * text3.C (dispatch):
635         * lyxfunc.C (dispatch):
636         * cursor.C (dispatch):
637         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
638
639         * dispatchresult.h: make the dispatch_result_t ctor explicit
640
641 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
642
643         * sgml.[Ch]:
644         * buffer.C: small refactoring of docbook stuff
645
646 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
647
648         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
649         meaning.
650
651 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
652
653         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
654         operator dispatch_result_t, and operators for == != and >=
655
656         * cursor.C (dispatch): adjust for operator dispatch_result_t
657         removal. comment out call to update
658
659         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
660
661 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
662
663         * text3.C:
664         * text2.C:
665         * text.C:
666         * lyxtext.h:
667         * lyxfunc.C:
668         * cursor.C:
669         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
670         (dispatch):
671
672         * dispatchresult.h: new file, DispatchResult broken out of
673         insets/insetbase.h
674
675         * Makefile.am (lyx_SOURCES): add dispatchresult.h
676
677 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
678
679         * text.C (rowBreakPoint): put a hack inside #if 0
680
681 2003-10-28  André Pönitz  <poenitz@gmx.net>
682
683         * lyxtext.h:
684         * metricsinfo.C:
685         * paragraph_funcs.C:
686         * rowpainter.C:
687         * text.C:
688         * text2.C: general cleanup (lots of small stuff)
689
690 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
691
692         * text2.C (cursorEnd): simple fix to the "end key goes to one
693         before the end on last row" bug
694
695 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
696
697         * text.C (backspace): fix the "zombie characters"
698
699 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
700
701         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
702
703 2003-10-27  André Pönitz  <poenitz@gmx.net>
704
705         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
706
707         * factory.C: handle new InsetPagebreak, InsetLine
708
709         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
710         and move handling into new InsetPagebreak, InsetLine
711
712         * BufferView_pimpl.C:
713         * LyXAction.C:
714         * ParagraphParameters.C:
715         * ParameterStruct.h:
716         * lyxfunc.C:
717         * lyxtext.h:
718         * paragraph.C:
719         * paragraph.h:
720         * paragraph_funcs.C:
721         * paragraph_pimpl.C:
722         * rowpainter.C:
723         * text.C:
724         * text2.C:
725         * text3.C: adjust
726
727 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
728
729         * text.C:
730         * lyxrow_funcs.[Ch]:
731         * Bidi.C:
732         * paragraph.C:
733         * lyxtext.h:
734         * rowpainter.C:
735         * text2.C:
736         * text3.C: remove lastPos uses in favour of Row::endpos
737
738 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
739
740         * undo.C (performUndoOrRedo): fix two crashes by setting a
741         cursor by hand and reordering some calls. Use bv->lockInset instead
742         of inset->edit because the latter loses cursor information
743
744 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
745
746         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
747         by Martin
748         (rowBreakPoint): fix width. change point to point + 1.
749         Add a missing check.
750
751 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
752
753         * MenuBackend.C:
754         * lyxfunc.C: fix (at least partly) the problems
755         with the Nav menu and headers inside branch insets
756         reported by Kayvan
757
758 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
759
760         * paragraph.C (getChar): add strong asserts
761
762         * lyxrow_funcs.C (lastPos): remove hideous hack
763
764         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
765         (fill): adjust to that (avoid an infinite loop)
766
767 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
768
769         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
770
771 2003-10-23  André Pönitz  <poenitz@gmx.net>
772
773         * RowList_fwd.h: change list<> to vector<> to gain speed
774         after suggestion from Alfredo
775
776 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
777
778         * lyxtext.h: move the bidi stuff from here...
779         * text.C: and here
780         * text2.C: and here
781         * Bidi.[Ch]: ... to here
782
783 2003-10-23  André Pönitz  <poenitz@gmx.net>
784
785         * lyxtext.h:
786         * text.C (isLastRow, isFirstRow): new functions
787
788         * paragraph.h: new width cache member
789
790         * rowpainter.C: replace RowList::iterator with Row & where possible
791
792         * lyxfunc.C: replace several view()->text with a single call
793
794         * toc.C: fix 'unused' warning
795
796 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
797
798         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
799         when woring with stream::pos_type
800         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
801
802 2003-10-22  André Pönitz  <poenitz@gmx.net>
803
804         * lyxtext.h:
805         * text.C: use Row & instead of RowList::iterator
806
807         * lyxrow.h: rename end() to endpos()
808
809         * rowpainter.C:
810         * text.C:
811         * text2.C: adjust
812
813 2003-10-22  Angus Leeming  <leeming@lyx.org>
814
815         * buffer.[Ch] (fully_loaded): new member function, returning true
816         only when the file has been loaded fully.
817         Used to prevent the premature generation of previews and by the
818         citation inset to prevent computation of the natbib-style label.
819
820         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
821         templates are all set up.
822
823         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
824
825 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
826
827         * text.C: fixed an "oops" in the "is a bit silly"
828         bug fix
829
830 2003-10-21  André Pönitz  <poenitz@gmx.net>
831
832         * FuncStatus.[Ch]: small stuff, whitespace
833
834         * lyxfont.[Ch]: operator<<() for debug reasons
835
836         * lyxfunc.C:
837         * lyxrow_funcs.C:
838         * lyxtext.h: whitespace, spelling
839
840         * paragraph.C: naming of variables
841
842         * text.C:
843         * text2.C: small stuff
844
845
846 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
847
848         * text.C: (1) finish off the inset display() work;
849         (2) fix the "is a bit silly" bug (accessing char
850         past end of par).
851
852 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
853
854         * text.C: re-introduce display() for insets, fixing the
855         various bugs (stretch of line above, math inset
856         positioning, ...)
857
858 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
859
860         * text.C (rightMargin): remove spurious semicolon
861
862         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
863         1415)
864
865 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
866
867         * text3.C: fix one crash due to wrong cursor def
868
869 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
870
871         * vc-backend.C (scanMaster): make the regex static
872
873         * LaTeX.C (scanAuxFile): make the regexs static
874
875         * text3.C (doInsertInset, dispatch, dispatch):
876         * text2.C (cursorUp, cursorDown):
877         * text.C (selectNextWordToSpellcheck):
878         * BufferView_pimpl.C (dispatch):
879         * lyxfunc.C (dispatch):  localDispatch -> dispatch
880
881 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
882
883         * lyxsocket.C: include <cerrno>
884
885 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
886
887         * lyxfunc.C (dispatch): remove textcache stuff
888
889         * bufferlist.C (release): remove textcache stuff
890         (closeAll): ditto
891
892         * TextCache.C: delete file
893         * TextCache.h: delete file
894
895         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
896
897         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
898         delete of the bv_->text.
899         (resizeCurrentBuffer): remove texcache stuff
900         (workAreaResize): ditto
901
902 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
903
904         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
905         action.
906
907 2003-10-16  André Pönitz  <poenitz@gmx.net>
908
909         * lyxrow.[Ch]:
910         * paragraph.h:
911         * rowpainter.C:
912         * text.C:
913         * text2.C:
914         * text3.C: speed up by storing y positions per paragraph plus per-row
915         offset instead of having a 'full' y position in the row.
916
917 2003-10-15  André Pönitz  <poenitz@gmx.net>
918
919         * iterators.[Ch]:
920         * iterators.[Ch]:
921         * undo.[Ch]: make undo aware of inner insets
922
923 2003-10-14  Angus Leeming  <leeming@lyx.org>
924
925         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
926         static member functions LyX::ref() and LyX::cref.
927         (lastfiles): new accessor functions for the new lastfiles_ member var.
928         (addLyXView, views_): add a new LyXView to the list of views_.
929         (updateInset): loop over all LyXViews to call their own updateInset
930         member function, returning a pointer to the Buffer owning the inset.
931
932         * BufferView_pimpl.C (loadLyXFile):
933         * MenuBackend.C (expandLastfiles):
934         * bufferlist.C (MenuWrite, QuitLyX):
935         lastfiles is no longer a global variable.
936         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
937
938         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
939         static function. Access through LyX::cref().emergencyCleanup().
940
941 2003-10-14  André Pönitz  <poenitz@gmx.net>
942
943         * iterators.[Ch]: new direct access to innermost LyXText and Inset
944
945         * undo.[Ch]: restoring part of 'undo in insets'
946
947         * Makefile.am:
948         * undo_funcs.[Ch]: merge with undo.[Ch]
949
950         * tabular.C: small cleansing stuff
951
952 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
953
954         * paragraph_funcs.C (readParToken): report unknown insets as error
955         boxes. Use the outer paragraph as location (also for unknown
956         tokens).
957
958         * factory.C (readInset): do not abort on reading an unknown inset.
959         Eat it and return 0.
960
961 2003-10-13  Angus Leeming  <leeming@lyx.org>
962
963         * lyx_main.C (LyX): remove call to setDisplayTranslator().
964
965         * lyxrc.C: displayTranslator is now a function,
966         declared in GraphicsTypes.h.
967
968 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
969
970         * format.C: new placeholder $$a to pass the socket address.
971
972         * bufferlist.[Ch]: new function getBufferFromTmp.
973
974         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
975           files in the temporary dir.
976
977 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
978
979         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
980
981         * Makefile.am: add lyxsocket.[Ch].
982
983         * lyx_main.C (error_handler): handle SIGPIPE.
984
985 2003-10-13  André Pönitz  <poenitz@gmx.net>
986
987         * BufferView_pimpl.C:
988         * lyxtext.h:
989         * text.C:
990         * text2.C:
991         * text3.C:
992         * undo_funcs.[Ch]: use paroffset_type instead of
993           ParagraphList::iterators to prevent multiple conversion
994           (and get a more robust interface)
995
996 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
997
998         * lyxfunc.C (dispatch): RESULT -> dispatch_result
999         * lyxtext.h: ditto
1000         * text3.C (dispatch): ditto
1001
1002 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1003
1004         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1005         move the onlyfile, use onlyfile instead of foundfile in a couple
1006         of places.
1007
1008         * DepTable.C (update): flush the error stream a bit more
1009
1010 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1011
1012         * lyxserver.C (callback): adjust
1013
1014         * lyxfunc.C (getStatus): add a missing brace in commented code
1015         (ensureBufferClean): reindent
1016         (dispatch): delete version taking a string
1017
1018 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1019
1020         * LaTeX.C (deplog): move found file handlig from here...
1021         (handleFoundFile): .. to new function here.
1022         (deplog): make sure to discover several files mentioned on the
1023         same log line.
1024
1025 2003-10-10  André Pönitz  <poenitz@gmx.net>
1026
1027         * lyxfunc.C:
1028         * lyxtext.h:
1029         * tabular.C:
1030         * text.C:
1031         * text2.C:
1032         * text3.C: fix some of the tabular crashes
1033
1034 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1035
1036         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1037
1038         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1039
1040 2003-10-09  André Pönitz  <poenitz@gmx.net>
1041
1042         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1043
1044         * BufferView.C:
1045         * BufferView_pimpl.C:
1046         * bufferview_funcs.C:
1047         * lyx_cb.C:
1048         * lyxcursor.C:
1049         * lyxfind.C:
1050         * lyxfunc.C:
1051         * lyxtext.h:
1052         * text.C:
1053         * text2.C:
1054         * text3.C:
1055         * text_funcs.[Ch]:
1056         * textcursor.[Ch]:
1057         * undo_funcs.C: adjust
1058
1059 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1060
1061         * text2.C (incrementItemDepth): new function, use a backtracking
1062         algorithm to discover the correct item depth.
1063         (resetEnumCounterIfNeeded): new function, use a backtracking
1064         algorithm to discover if counter reset is needed.
1065         (setCounter): use them. Simplify a bit. Add different labels for
1066         different item depths for itemize.
1067
1068         * paragraph.C (Paragraph): remove initialization of enumdepth
1069         (operator=): ditto
1070
1071         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1072         enumerate and itemize. Change the type of itemdepth to signed char.
1073
1074 2003-10-08  André Pönitz  <poenitz@gmx.net>
1075
1076         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1077           thing assignable.
1078         * text.C:
1079         * text2.C: adjust
1080
1081         * tabular.[Ch]: fix crash after 'row-insert'
1082
1083 2003-10-08  Angus Leeming  <leeming@lyx.org>
1084
1085         Fix doxygen warnings.
1086
1087         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1088         Remove CutAndPaste:: prefix from header file declaration.
1089
1090         * LColor.h (fill): remove LColor:: prefix from declaration.
1091
1092         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1093         use lyx::depth_type rather than Paragraph::depth_type so that
1094         header file and .C file match.
1095
1096         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1097
1098         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1099         * aspell.C: \file aspell_local.C -> \file aspell.C
1100         * gettext.C: \file gettext.C -> \file src/gettext.C
1101         * gettext.h: \file gettext.h -> \file src/gettext.h
1102         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1103         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1104         * text.C: \file text.C -> \file src/text.C
1105
1106         * toc.C: move comment so that doxygen is not confused.
1107
1108 2003-10-07  Angus Leeming  <leeming@lyx.org>
1109
1110         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1111
1112 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1113
1114         * aspell.C:
1115         * aspell_local.h: add forgotten std::string's.
1116
1117 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1118
1119         * LaTeXFeatures.C:
1120         * LyXAction.C:
1121         * factory.C:
1122         * lfuns.h:
1123         * lyxfunc.C:
1124         * text3.C: The Box patch. Fancybox support, minipage, parbox
1125
1126 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1127
1128         * CutAndPaste.h:
1129         * DepTable.h:
1130         * FloatList.h:
1131         * LaTeXFeatures.h:
1132         * ParagraphParameters.h:
1133         * TextCache.h:
1134         * Thesaurus.h:
1135         * bufferlist.h:
1136         * exporter.h:
1137         * importer.h:
1138         * lastfiles.h:
1139         * lyxfind.h:
1140         * lyxfont.h:
1141         * lyxlex.h:
1142         * lyxtextclasslist.h:
1143         * messages.h:
1144         * paragraph.h:
1145         * paragraph_pimpl.C:
1146         * textcursor.h: add <string> and other small fixes to make Lars'
1147         std::string patch compile with STLport.
1148
1149 2003-10-06  Angus Leeming  <leeming@lyx.org>
1150
1151         * LColor.h: Add missing #include <string>.
1152
1153 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1154
1155         * All most all file in all subdirs: Make <string> be the prefered
1156         way of getting to std::string, add using declarations.
1157
1158 2003-10-06  André Pönitz  <poenitz@gmx.net>
1159
1160         * metricsinfo.C: initialize LyXFont before changing attribute.
1161         (fixes the 'math in \emph is upright' bug)
1162
1163 2003-10-06  André Pönitz  <poenitz@gmx.net>
1164
1165         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1166
1167 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1168
1169         * graph.C:
1170         * paragraph_pimpl.C: Small fixes to build using STLport
1171
1172 2003-10-02  André Pönitz  <poenitz@gmx.net>
1173
1174         * lyxfunc.C:
1175         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1176
1177 2003-10-01  André Pönitz  <poenitz@gmx.net>
1178
1179         * factory.C: assert early
1180
1181 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1182
1183         * lyx_main.C: remove the global debug object
1184
1185         * debug.h: adjust for new debugstream
1186
1187         * debug.C: adjust for new debugstream and keep the global debug
1188         object here.
1189
1190 2003-09-22  Angus Leeming  <leeming@lyx.org>
1191
1192         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1193         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1194         an incomplete class LyXFont.
1195
1196 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1197
1198         * factory.C: bug fix in branches
1199
1200 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1201
1202         * lyxfunc.C (processKeySym): adjust
1203         (dispatch): adjust
1204         (dispatch): change arg name from ev to func, adjust
1205         (sendDispatchMessage): ditto
1206
1207         * lyx_main.C (defaultKeyBindings): adjust keybindings
1208         (deadKeyBindings): ditto
1209
1210         * kbsequence.C (addkey): return a FuncRequest
1211
1212         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1213
1214         * kbmap.C (bind): take a FuncRequest as arg, adjust
1215         (read): adjust
1216         (lookup): adjust
1217         (defkey): change to take a FuncRequest as arg, adjust
1218         (findbinding): take a FuncRequest as arg, adjust.
1219
1220         * funcrequest.h (operator=): added
1221
1222         * funcrequest.C (FuncRequest): default kb_action changed from
1223         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1224
1225         * buffer.C (dispatch): simplify
1226         (dispatch): adjust to take a FuncRequest as arg, adjust
1227
1228         * boost.C (assertion_failed): change assertion message slightly
1229
1230         * ToolbarBackend.C (read): simplify
1231
1232         * MenuBackend.C (binding): adjust call to findbinding, add a
1233         message if no binding is found.
1234         (read): simplify
1235         (expandToc): correct by adding a empty FuncRequest
1236
1237         * LyXAction.C: include <boost/assert.hpp>
1238         (isPseudoAction): delete function
1239         (LookupFunc): change name to...
1240         (lookupFunc): this. change return type to FuncRequest.
1241         (getActionName): take kb_action as arg, simplify
1242         (funcHasFlag): add an assert, simplify.
1243
1244 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1245
1246         * toc.C (action): return a FuncRequest, simplify
1247
1248         * lyxfunc.C (processKeySym): adjust
1249         (getStatus): delete version that takes an int.
1250         (getStatus): adjust
1251         (dispatch): delete version that takes action as int
1252         (dispatch): adjust
1253         (sendDispatchMessage): simplify and adjust
1254
1255         * funcrequest.C (getArg): take unsigned int as arg
1256
1257         * ToolbarBackend.C (read): adjust
1258         (add): delete version that takes func as a string.
1259         (getIton): take a FuncRequest as arg
1260
1261         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1262         action.
1263
1264         * MenuBackend.C (MenuItem): add a new construct that only takes a
1265         Kind, simplify the constructor use for submenus.
1266         (add): adjust
1267         (expandLastfiles): adjust
1268         (expandDocuments): adjust
1269         (expandFormats): adjust
1270         (expandFloatListInsert): adjust
1271         (expandFloatInsert): adjust
1272         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1273
1274         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1275         Remove class variables lyx_pseudo_map and lyx_arg_map
1276
1277         * LyXAction.C (searchActionArg): delete function
1278         (getPseudoAction): delete function
1279         (retrieveActionArg): delete function
1280         (LookupFunc): make it return kb_action, simplify.
1281         (getActionName): simplify
1282
1283         * factory.C (createInset): fix new bug
1284
1285 2003-09-19  Angus Leeming  <leeming@lyx.org>
1286
1287         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1288         masterFilename_ parameter in the include inset.
1289
1290         * factory.C (createInset): changes due to the changes to InsetInclude.
1291
1292 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1293
1294         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1295
1296 2003-09-18  Angus Leeming  <leeming@lyx.org>
1297
1298         * buffer.C:
1299         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1300         Inset::fillWithBibKeys.
1301         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1302
1303 2003-09-18  Angus Leeming  <leeming@lyx.org>
1304
1305         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1306         variables.
1307         (ctor): pass and store a 'Buffer const &'
1308         (buffer): new member function.
1309
1310         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1311         '*this' to the LaTeXFeatures ctor.
1312
1313 2003-09-18  Angus Leeming  <leeming@lyx.org>
1314
1315         * LColor.h:
1316         * lyxfont.C:
1317         * lyxfont.h:
1318         * lyxtext.h:
1319         * text.C: rename EnumLColor as LColor_color.
1320
1321 2003-09-18  Angus Leeming  <leeming@lyx.org>
1322
1323         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1324         remove #include "insets/insetbase.h" from cursor.h.
1325
1326 2003-09-18  Angus Leeming  <leeming@lyx.org>
1327
1328         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1329         InsetOld_code to remove #include "inset.h".
1330
1331         * iterators.C: add #include "insets/inset.h"
1332
1333 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1334
1335         * BufferView.C: remove more locking stuff that apparently doesn't
1336         do anything sensible.
1337
1338 2003-09-16  André Pönitz  <poenitz@gmx.net>
1339
1340         * paragraph.[Ch]:
1341         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1342           performance boost.
1343
1344 2003-09-16  Angus Leeming  <leeming@lyx.org>
1345
1346         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1347
1348         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1349         arg/return type.
1350
1351         * paragraph.h: remove #include "lyxfont.h". Forward declare
1352         LyXFont_size.
1353
1354 2003-09-16  Angus Leeming  <leeming@lyx.org>
1355
1356         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1357         of support/textutils.h.
1358         (isWord): move the contents of support/textutils.h's IsWordChar here.
1359
1360         * buffer.C:
1361         * lyxfind.C:
1362         * rowpainter.C:
1363         * text.C:
1364         * text2.C: add #include "paragraph.h".
1365
1366         * rowpainter.C:
1367         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1368
1369 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1370
1371         * main.C:
1372         * lyx_main.C:
1373         * lyx_cb.C:
1374         * buffer.C:
1375         * LaTeX.C: use namespace alias for lyx::support::os
1376
1377 2003-09-16  Angus Leeming  <leeming@lyx.org>
1378
1379         * bufferparams.C:
1380         * bufferview_funcs.C:
1381         * factory.C:
1382         * lyxfunc.C:
1383         * paragraph_pimpl.C:
1384         * rowpainter.C:
1385         * text.C: add #include "LColor.h".
1386
1387 2003-09-16  Angus Leeming  <leeming@lyx.org>
1388
1389         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1390         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1391         return LyXFont &.
1392         Store the FontBits::color variable as an int rather than as an
1393         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1394         file.
1395
1396         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1397         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1398         string calls together.
1399
1400         * lyxrc.C: add #include "LColor.h".
1401
1402 2003-09-15  Angus Leeming  <leeming@lyx.org>
1403
1404         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1405         a cow_ptr.
1406
1407 2003-09-15  Angus Leeming  <leeming@lyx.org>
1408
1409         * LColor.h: add an EnumLColor wrapper for LColor::color.
1410
1411         * lyxfont.[Ch] (color, setColor, realColor):
1412         * lyxtext.h, text.C (backgroundColor):
1413         pass EnumLColor args to/from the functions, rather than LColor::color
1414         ones.
1415
1416         * lyxfont.h:
1417         * lyxtext.h: forward declare EnumLColor.
1418
1419         * lyx_main.C: add #include "LColor.h".
1420
1421 2003-09-15  Angus Leeming  <leeming@lyx.org>
1422
1423         * .cvsignore: add lyx-gtk.
1424
1425 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1426
1427         * Chktex.C
1428         * LaTeX.C
1429         * LaTeXFeatures.C
1430         * ParagraphParameters.C
1431         * Spacing.C
1432         * buffer.C
1433         * bufferparams.C
1434         * bufferview_funcs.C
1435         * chset.C
1436         * counters.C
1437         * funcrequest.C
1438         * lyxfont.C
1439         * lyxgluelength.C
1440         * lyxlength.C
1441         * paragraph.C
1442         * paragraph_funcs.C
1443         * text3.C
1444         * vc-backend.C: remove usage of STRCONV
1445
1446 2003-09-15  Angus Leeming  <leeming@lyx.org>
1447
1448         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1449         explicitly define the color passed to the painter.
1450
1451 2003-09-15  Angus Leeming  <leeming@lyx.org>
1452
1453         * bufferparams.C (BufferParams): reorder member initializers to avoid
1454         compiler warning.
1455
1456 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1457
1458         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1459         * text.C (updateRowPositions): remove an unusual nop
1460
1461 2003-09-12  André Pönitz  <poenitz@gmx.net>
1462
1463         * BufferView_pimpl.C:
1464         * Bullet.C:
1465         * layout.h:
1466         * lyxfunc.C:
1467         * lyxlayout.[Ch]:
1468         * lyxtextclass.C:
1469         * rowpainter.C:
1470         * text.C:
1471         * text2.C:
1472         * Counters.[Ch]: finish the 'automatic counters' job
1473
1474 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1475
1476         * aspell.C: include <boost/assert.cpp> (compile fix)
1477
1478 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1479
1480         * boost.C (assertion_failed): use lyx::support::abort instead of
1481         assert.
1482
1483 2003-09-10  Angus Leeming  <leeming@lyx.org>
1484
1485         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1486         with their _fwd progeny.
1487
1488 2003-09-09  Angus Leeming  <leeming@lyx.org>
1489
1490         134 files throughtout the source tree: replace 'using namespace abc;'
1491         directives with the appropriate 'using abc::xyz;' declarations.
1492
1493 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1494
1495         * boost.C (emergencyCleanup): moved here from LAssert.c
1496         (assertion_failed): new function, called by BOOST_ASSERT
1497
1498         * several files: change Assert to BOOST_ASSERT
1499
1500 2003-09-09  Angus Leeming  <leeming@lyx.org>
1501
1502         * buffer.[Ch]: Add an Impl class and move Buffer's member
1503         variables into it. As a result move several header files out of
1504         buffer.h.
1505
1506         Add header files to lots of .C files all over the tree as a result.
1507
1508 2003-09-09  Angus Leeming  <leeming@lyx.org>
1509
1510         * buffer.[Ch]: make Buffer's member variables private. Add
1511         accessor functions.
1512
1513         Lots of changes all over the tree as a result.
1514
1515 2003-09-08  Angus Leeming  <leeming@lyx.org>
1516
1517         * graph.C: #include <config.h>.
1518
1519 2003-09-08  Angus Leeming  <leeming@lyx.org>
1520
1521         * BranchList.C:
1522         * BufferView.C:
1523         * BufferView_pimpl.C:
1524         * CutAndPaste.C:
1525         * DepTable.C:
1526         * LaTeX.C:
1527         * LaTeXFeatures.C:
1528         * LyXAction.C:
1529         * MenuBackend.C:
1530         * TextCache.C:
1531         * aspell.C:
1532         * buffer.C:
1533         * bufferlist.C:
1534         * changes.C:
1535         * chset.C:
1536         * converter.C:
1537         * counters.C:
1538         * debug.C:
1539         * graph.C:
1540         * ispell.C:
1541         * lyx_cb.C:
1542         * lyxfind.C:
1543         * lyxfunc.C:
1544         * lyxlex_pimpl.C:
1545         * lyxrc.C:
1546         * lyxrow.C:
1547         * paragraph.C:
1548         * rowpainter.C:
1549         * texrow.C:
1550         * text.C:
1551         * text2.C:
1552         * toc.C: remove redundant using directives.
1553
1554 2003-09-07  Angus Leeming  <leeming@lyx.org>
1555
1556         * LaTeXFeatures.h: remove #include "support/types.h".
1557         * ToolbarBackend.h: remove #include <algorithm>.
1558         * changes.h: remove #include <ctime>.
1559         * debug.h: remove #include <iosfwd>.
1560         * graph.h: remove #include "support/std_string.h".
1561         * lyx_main.h: remove #include <csignal>.
1562         * lyxlex_pimpl.h: remove #include <fstream>.
1563         * sgml.h: remove #include <algorithm>, <utility>.
1564         * toc.h: remove #include "support/std_ostream.h".
1565         Add #include <iosfwd>.
1566
1567 2003-09-07  Angus Leeming  <leeming@lyx.org>
1568
1569         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1570
1571         * converter.h: forward declare LatexRunParams.
1572         * encoding.h: remove #include "lyxrc.h".
1573         * lyxtext.h: remove #include "LColor.h".
1574         * lyxtextclass.h: remove #include "support/types.h".
1575         * trans.h: remove #include "tex-accent.h".
1576         * trans_mgr.h: remove #include "tex-accent.h".
1577         * insets/inset.h: remove #include "support/types.h", <vector>.
1578         * insets/insetcollapsable.h: remove #include "LColor.h".
1579         * insets/insetinclude.h: remove #include "dimension.h".
1580         * insets/insetlatexaccent.h: remove #include "dimension.h".
1581         * insets/insetoptarg.h:: remove #include "insettext.h".
1582         * insets/insettext.h: remove #include "dimension.h",
1583         <boost/shared_ptr.hpp>
1584
1585         * insets/renderers.h: add #include "dimension.h".
1586         * insets/updatableinset.h: add #include "support/types.h".
1587
1588         * many .C files: Associated changes.
1589
1590 2003-09-06  Angus Leeming  <leeming@lyx.org>
1591
1592         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1593         one, inside testInvariant.
1594
1595         * PrinterParams.C: new file.
1596         * PrinterParams.[Ch]: move the function bodies out of line.
1597
1598 2003-09-06  Angus Leeming  <leeming@lyx.org>
1599
1600         * ParagraphParameters.h: forward declare ParameterStruct rather than
1601         including its header file.
1602         (depth): moved out-of-line.
1603
1604 2003-09-06  Angus Leeming  <leeming@lyx.org>
1605
1606         * BufferView_pimpl.h:
1607         * kbmap.h:
1608         * kbsequence.h:
1609         * lyxfunc.h: forward declare LyXKeySym rather than
1610         #include "frontends/LyXKeySym.h".
1611
1612         * BufferView_pimpl.C:
1613         * kbmap.C:
1614         * kbsequence.C:
1615         * lyxfunc.C: associated changes.
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         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1625         As a result, can remove the #include "insets/inset.h" from BufferView.h
1626
1627 2003-09-06  Angus Leeming  <leeming@lyx.org>
1628
1629         * buffer_funcs.C:
1630         * buffer.h:
1631         * bufferlist.C:
1632         * BufferView.C:
1633         * bufferview_funcs.C:
1634         * BufferView_pimpl.C:
1635         * CutAndPaste.C:
1636         * lyx_cb.C:
1637         * lyxfunc.C:
1638         * paragraph.h:
1639         * ParagraphParameters.C:
1640         * tabular.C:
1641         * text3.C:
1642         * toc.C:
1643         * undo_funcs.C:
1644         * frontends/controllers/ControlDocument.C:
1645         * insets/insetcaption.C: rearrange the #includes into some sort of
1646         coherent order.
1647
1648         * buffer.h: remove #includes ErrorList.h, undo.h
1649
1650 2003-09-06  Angus Leeming  <leeming@lyx.org>
1651
1652         * support/types.h: add a 'depth_type' typedef, used to store the
1653         nesting depth of a paragraph.
1654
1655         * paragraph.h:
1656         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1657         defining explicitly.
1658
1659         * buffer.h:
1660         * paragraph_funcs.h:
1661         * ParagraphParameters.h:
1662         * sgml.h: use lyx::depth_type rather than Paragraph or
1663         ParameterStruct's depth_type.
1664
1665         * buffer.h
1666         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1667
1668         * BufferView.C:
1669         * BufferView_pimpl.C:
1670         * CutAndPaste.C:
1671         * ParagraphParameters.C:
1672         * buffer_funcs.C:
1673         * bufferlist.C:
1674         * bufferview_funcs.C:
1675         * lyx_cb.C:
1676         * lyxfunc.C:
1677         * tabular.C:
1678         * text3.C:
1679         * toc.C:
1680         * undo_funcs.C:
1681         * frontends/LyXView.C:
1682         * frontends/controllers/ControlDocument.C:
1683         * frontends/controllers/ControlErrorList.C:
1684         * insets/insetbibitem.C:
1685         * insets/insetbranch.C:
1686         * insets/insetcaption.C:
1687         * insets/insetcollapsable.C:
1688         * insets/insetenv.C:
1689         * insets/insetert.C:
1690         * insets/insetfloat.C:
1691         * insets/insetfoot.C:
1692         * insets/insetfootlike.C:
1693         * insets/insetnewline.C:
1694         * insets/insetquotes.C:
1695         * insets/insettabular.C:
1696         * insets/insettext.C:
1697         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1698
1699         * frontends/controllers/ControlChanges.C: #include "changes.h".
1700
1701 2003-09-06  Angus Leeming  <leeming@lyx.org>
1702
1703         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1704         than #including paragraph.h.
1705
1706         * ParagraphList.h:
1707         * RowList.h: deleted. Superfluous.
1708
1709         * CutAndPaste.h:
1710         * iterators.h:
1711         * lyxcursor.h:
1712         * lyxtext.h:
1713         * text_funcs.h:
1714         * undo.h:
1715         * undo_funcs.h:
1716         * insets/inset.h:
1717         * insets/insettext.h: use ParagraphList_fwd.h rather than
1718         ParagraphList.h.
1719
1720         * paragraph.h: don't forward declare ParagraphList.
1721
1722         * buffer.h:
1723         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1724         rather than ParagraphList.h. paragraph.h is still needed for the
1725         Paragraph::depth_type parameters.
1726
1727         * textcursor.h: enable it to compile stand-alone in light of the
1728         above changes.
1729
1730         * bufferview_funcs.C:
1731         * iterators.C:
1732         * lyxfunc.C:
1733         * lyxrow_funcs.C:
1734         * paragraph.C:
1735         * rowpainter.C:
1736         * text.C:
1737         * text2.C:
1738         * text3.C:
1739         * text_funcs.C:
1740         * textcursor.C:
1741         * undo.C:
1742         * frontends/controllers/ControlParagraph.C:
1743         * frontends/controllers/ControlTabular.C:
1744         * insets/insetmarginal.C:
1745         * insets/insetminipage.C:
1746         * insets/insetnote.C:
1747         * insets/insetoptarg.C: add header files needed to compile again.
1748
1749 2003-09-06  Angus Leeming  <leeming@lyx.org>
1750
1751         * RowList_fwd.h: new file, forward-declaring Row rather than
1752         #including lyxrow.h.
1753
1754         * lyxrow_funcs.h:
1755         * lyxtext.h:
1756         * paragraph.h:
1757         * insets/insettext.h: use it instead of RowList.h
1758
1759         * bufferview_funcs.C:
1760         * lyxfunc.C:
1761         * lyxrow_funcs.C:
1762         * paragraph.C:
1763         * rowpainter.C:
1764         * text.C:
1765         * text2.C:
1766         * text3.C: #include "RowList.h".
1767
1768 2003-09-05  Angus Leeming  <leeming@lyx.org>
1769
1770         * factory.C (createInset):
1771         * vspace.C (c-tor): replace sscanf call with an istringstream.
1772         * ispell.C: re-add missing HP/UX headers.
1773         * lyxserver.C: re-add missing  os2 headers.
1774
1775 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1776
1777         * BranchList.C:
1778         * graph.C:
1779         * ispell.C:
1780         * lastfiles.C:
1781         * lyx_cb.C:
1782         * lyxserver.C:
1783         * texrow.C:
1784         * text3.C: re-add missing system headers, needed for 2.95.2.
1785
1786 2003-09-05  Angus Leeming  <leeming@lyx.org>
1787
1788         Changes most place everywhere due to the removal of using directives
1789         from support/std_sstream.h.
1790
1791 2003-09-05  Angus Leeming  <leeming@lyx.org>
1792
1793         Replace LString.h with support/std_string.h,
1794         Lsstream.h with support/std_sstream.h,
1795         support/LIstream.h with support/std_istream.h,
1796         support/LOstream.h with support/std_ostream.h.
1797
1798         Changes resulting throughout the tree.
1799
1800 2003-09-05  Angus Leeming  <leeming@lyx.org>
1801
1802         * sgml.h: ensure that the header file can be compiled stand-alone.
1803         * *.C: strip out redundant #includes. (320 in total.)
1804
1805 2003-09-04  Angus Leeming  <leeming@lyx.org>
1806
1807         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1808         here (from getPackages).
1809
1810         * debug.[Ch]: add a new EXTERNAL tag.
1811
1812 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1813
1814         * text2.C (cursorEnd): simplify
1815         (setCursor): adjust
1816         (getColumnNearX): adjust
1817
1818         * text.C (computeBidiTables): adjust
1819         (fill): adjust
1820
1821         * rowpainter.C (paintChars): adjust
1822         (paintSelection): adjust
1823         (paintChangeBar): adjust
1824         (paintText): adjust
1825
1826         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1827         lastPos instead.
1828         (numberOfSeparators): adjust
1829
1830 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1831
1832         * LyXAction.C:
1833         * box.[Ch]:
1834         * lfuns.h:
1835         * lyxfunc.C:
1836         * text3.C: Restricts the mouse click functionality
1837         of insets like bibtex, include, toc and floatlist to the visible
1838         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1839         up the dialogs. Cursor has to be in front of the inset (i.e.
1840         start of row) for this to function.
1841
1842 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1843
1844         * bufferview_funcs.C (currentState): output row information
1845
1846 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1847
1848         * bufferview_funcs.C (currentState): output paragraph position
1849
1850 2003-09-04  Angus Leeming  <leeming@lyx.org>
1851
1852         * FloatList.h: move out #include "Floating.h".
1853         * LaTeX.h: move out #include "DepTable.h".
1854         * LyXAction.h: move out #include "funcrequest.h".
1855         * buffer.h: move out #include "author.h", "iterators.h".
1856         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1857         * lyx_main.h: move out #include "errorlist.h".
1858         * lyxfunc.h: move out #include "FuncStatus.h".
1859         * lyxtext: move out #include "lyxcursor.h".
1860         * paragraph_pimpl.h: move out #include "counters.h".
1861
1862 2003-09-03  Angus Leeming  <leeming@lyx.org>
1863
1864         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1865         preamble_snippets list, enabling us to add snippets to the preamble
1866         only if the snippet was not there already.
1867
1868 2003-09-04  Angus Leeming  <leeming@lyx.org>
1869
1870         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1871
1872 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1873
1874         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1875         update
1876
1877 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1878
1879         * BranchList.C: point fix, earlier forgotten
1880
1881 2003-09-02  Angus Leeming  <leeming@lyx.org>
1882
1883         * box.C (contains): renamed from 'contained' after a fantastic
1884         amount of hot air.
1885
1886 2003-09-02  John Levon  <levon@movementarian.org>
1887
1888         * BufferView.C:
1889         * lyxcursor.h:
1890         * lyxcursor.C:
1891         * lyxfunc.C:
1892         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1893
1894 2003-09-02  John Levon  <levon@movementarian.org>
1895
1896         * text2.C: simplification of cursorEnd(), including partial
1897         fix for bug 1376
1898
1899 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1900
1901         * buffer.C (readFile): add a space
1902
1903 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1904
1905         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1906
1907 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1908
1909         * buffer.C (readFile): new function, take a filename and a
1910         ParagraphList::iterator
1911         (readFile): adjust
1912         (readFile): adjust, make it private. don't use setStream, make
1913         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1914         always contain the filename.
1915
1916         * BufferView.C (insertLyXFile): simplify and make it work for
1917         gzipped files.
1918
1919 2003-08-30  John Levon  <levon@movementarian.org>
1920
1921         * Makefile.am: fix dist (from Kayvan)
1922
1923 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1924
1925         * most files: change to use const Buffer refs
1926
1927 2003-08-27  André Pönitz  <poenitz@gmx.net>
1928
1929         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1930         on top of ownerPar().
1931
1932 2003-08-27  John Levon  <levon@movementarian.org>
1933
1934         * funcrequest.C: properly initialise POD members
1935
1936 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1937
1938         * lyxtext.h (top_y): move top_y from here
1939         * text.C:
1940         * text2.C:
1941         * text3.C:
1942         * BufferView.[Ch]:
1943         * BufferView_pimpl.[Ch]: to here
1944         * frontends/screen.C:
1945         * insets/insettabular.C:
1946         * insets/insettext.C: adjust
1947         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1948
1949 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1950
1951         * BufferView.[Ch]:
1952         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1953
1954 2003-08-26  André Pönitz  <poenitz@gmx.net>
1955
1956         * paragraph_func.[Ch] (outerPar): new function
1957
1958         * paragraph.C:
1959         * paragraph_funcs.C:
1960         * paragraph_funcs.h:
1961         * paragraph_pimpl.C:
1962         * text2.C: remove Inset::par_owner
1963
1964 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1965
1966         * lyxrow_funcs.C:
1967         * lyxtext.h:
1968         * text.C:
1969         * text2.C: eliminates the needFullRow/display() stuff
1970         altogether, putting the logic in metrics/draw in the insets.
1971
1972 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1973
1974         * text2.C (redoParagraphInternal, redoParagraphs):
1975         * text.C (redoParagraph): add a call to updateRowPositions at the
1976         end of each 'metrics-like' call. Remove all others.
1977         (getRow): remove the 'y-computing' version.
1978         (getRowNearY): do not compute nor return the real y. Solve the
1979         'y < 0' problem and simplify.
1980
1981 2003-08-22  Angus Leeming  <leeming@lyx.org>
1982
1983         * *.[Ch]: clean-up of licence and author blurbs.
1984         Also move config.h out of a few .h files and into a few .C files.
1985
1986 2003-08-22  André Pönitz  <poenitz@gmx.net>
1987
1988         * lyxrow.[Ch]: add x_ and *fill_ members
1989
1990         * lyxtext.h:
1991         * text.C:
1992         * rowpainter.C:
1993         * text2.C: adjust/remove prepareToPrint() calls
1994
1995 2003-08-22  André Pönitz  <poenitz@gmx.net>
1996
1997         * lyxrow.[Ch]: add  end_ member
1998
1999         * lyxrow_funcs.C: use LyXRow::end_
2000
2001         * lyxtext.h (singleWidth): add LyXFont parameter
2002
2003         * rowpainter.C:
2004         * text2.C: adjust LyXText::singleWidth() calls
2005
2006         * text.C (redoParagraph): simplify row breaking logic
2007
2008
2009 2003-08-19  André Pönitz  <poenitz@gmx.net>
2010
2011         * funcrequest.C: initialize button_ member
2012
2013         * text3.C:
2014         * rowpainter.[Ch]: interface consolidation
2015
2016 2003-08-18  André Pönitz  <poenitz@gmx.net>
2017
2018         * BufferView.C:
2019         * BufferView_pimpl.C:
2020         * lyxfind.C:
2021         * paragraph_funcs.C:
2022         * rowpainter.C:
2023         * text3.C: remove LyXScreen::draw() and fitCursor calls
2024
2025         * BranchList.h: remove spurious semicolons
2026
2027         * MenuBackend.C: fix branchlist related crash
2028
2029 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2030
2031         * BranchList.[Ch]:
2032         * InsetList.[Ch]:
2033         * LColor.[Ch]:
2034         * LyXAction.C:
2035         * Makefile.am:
2036         * MenuBackend.[Ch]:
2037         * bufferparams.[Ch]:
2038         * factory.C:
2039         * lfuns.h:
2040         * lyxfunc.C:
2041         * text3.C: implements the 'branch inset'
2042         idea. This allows the output of various versions of a document
2043         from a single source version, selectively outputing or suppressing
2044         output of parts of the text.
2045         This implementation contains a 'branch list editor' in a separate
2046         tab of the document settings dialog. Branches are user definable
2047         and have a "display colour" to distinguish them on-screen.
2048
2049         ColorHandler was somewhat cleaned up.
2050         (1) make possible a dynamically growing LColor list by allowing
2051         the graphic context cache to grow along (vector);
2052         (2) eliminate an IMHO unnecessary step in colour allocation.
2053
2054 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2055
2056         * BufferView_pimpl.C: compile fix
2057
2058 2003-08-15  André Pönitz  <poenitz@gmx.net>
2059
2060         * rowpainter.C: remove extra metrics calls
2061
2062         * lyxtext.h: merge the two constructors into a single one,
2063           pass reference to owner's par list
2064
2065         * BufferView_pimpl.C:
2066         * text.C:
2067         * text2.C: adjust
2068
2069 2003-08-15  André Pönitz  <poenitz@gmx.net>
2070
2071         * lyxrow_funcs.[Ch]:
2072         * lyxtext.h:
2073         * paragraph.h:
2074         * paragraph_funcs.C:
2075         * rowpainter.C:
2076         * text.C:
2077         * text2.C:
2078         * text3.C:
2079         * text_funcs.C: split LyXText::rowlist_ into individual
2080         Paragraph::rows_ chunks
2081
2082         * BufferView.[Ch]:
2083         * BufferView_pimpl.[Ch]:
2084         * lyxfind.C:
2085         * lyxtext.h:
2086         * text3.C: remove toggleSelection()
2087
2088 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2089
2090         * bufferlist.C: beautify two alerts (shorter text of buttons)
2091         * buffer.C: Remove redundant ' ' from message
2092         * tabular.h:
2093         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2094         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2095         rename VALIGN_CENTER to VALIGN_MIDDLE
2096
2097 2003-08-11  André Pönitz  <poenitz@gmx.net>
2098
2099         * lyxtext.h (getPar):
2100         * text.C: new function
2101
2102 2003-08-11  André Pönitz  <poenitz@gmx.net>
2103
2104         * Makefile.am:
2105         * tracer.[Ch]: remove unneeded files
2106
2107         * InsetList.[Ch]: remove resizeInsetsLyXText()
2108
2109         * lyxtext.h:
2110         * text.C:
2111         * text2.C:
2112         * text3.C: merge insertParagraphs() and appendParagraph()
2113         remove breakAgain(), update()
2114
2115         * BufferView_pimpl.[Ch]:
2116         * bufferview_funcs.[Ch]:
2117         * lyxfunc.C:
2118         * paragraph.[Ch]:
2119         * rowpainter.C:
2120         * tabular.C: adjust after text & InsetList changes.
2121
2122 2003-08-08  André Pönitz  <poenitz@gmx.net>
2123
2124         * text.C (insertChar, backspace): replace rowlist fiddling
2125         with rebreak of full par
2126
2127         * lyxtext.h:
2128         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2129         checkParagraph, updateInset): removed
2130
2131 2003-08-07  André Pönitz  <poenitz@gmx.net>
2132
2133         * paragraph.C:
2134         * text3.C: merge some LFUN handlers, remove dead code
2135
2136 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2137
2138         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2139
2140 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2141
2142         * text2.C (DEPM): fix part of bug 1255 and 1256
2143
2144 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2145
2146         * BufferView_pimpl.C (workAreaDispatch): change to use
2147         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2148         that are no mouse related.
2149
2150 2003-08-05  André Pönitz  <poenitz@gmx.net>
2151
2152         * BufferView.[Ch]:
2153         * BufferView_pimpl.[Ch]:
2154         * bufferview_funcs.C:
2155         * text2.C:
2156         * text3.C: rip out "deep update"
2157
2158         * textcursor.[Ch] (last_sel_cursor): remove unused member
2159
2160 2003-08-04  André Pönitz  <poenitz@gmx.net>
2161
2162         * BufferView.[Ch]:
2163         * BufferView_pimpl.[Ch]:
2164         * ParagraphParameters.C:
2165         * bufferview_funcs.C:
2166         * lyx_cb.C:
2167         * lyxfind.C:
2168         * lyxfunc.C:
2169         * text.C:
2170         * text2.C:
2171         * text3.C: replace "complicated" BufferView::update(...) calls with
2172         simpler ones.
2173
2174         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2175
2176 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2177
2178         * Makefile.am (lyx_SOURCES): add paper.h
2179
2180 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2181
2182         * Makefile.am: move things around so that both lyx-qt and
2183         lyx-xforms can be built (according to --with-frontend). Then lyx
2184         is a symbolic link to lyx-[firstfrontend]
2185
2186 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2187
2188         * Always use std::endl with lyxerr
2189
2190 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2191
2192         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2193
2194 2003-08-01  André Pönitz  <poenitz@gmx.net>
2195
2196         * BufferView.[Ch]:
2197         * BufferView_pimpl.[Ch]:
2198         * lyxfunc.C:
2199         * text3.C: merge BufferView::repaint() and BufferView::update()
2200
2201 2003-08-01  José Matos  <jamatos@lyx.org>
2202
2203         * buffer.[Ch]: file_format is no longer a buffer data element.
2204
2205 2003-08-01  André Pönitz  <poenitz@gmx.net>
2206
2207         * BufferView.C:
2208         * lyxtext.h:
2209         * text.C:
2210         * text2.C: make redoParagraph more independent of current cursor
2211
2212         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2213         * text.C:
2214         * text2.C: remove unneeded members
2215
2216 2003-07-30  André Pönitz  <poenitz@gmx.net>
2217
2218         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2219
2220         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2221           create a single function...
2222
2223         * paragraph_funcs.C (moveItem): ... here.
2224
2225         * text.C:
2226           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2227
2228 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2229
2230         * LColor.[Ch]: Add comment and greyedout logical colors.
2231
2232 2003-07-30  André Pönitz  <poenitz@gmx.net>
2233
2234         * tabular.C: don't use Assert too heavily. This crashes where it
2235           shouldn't
2236
2237 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2238
2239         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2240         is disabled (bug 1232)
2241
2242 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2243
2244         * factory.C: limited 'arg' scope
2245
2246 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2247
2248         * factory.C: fixed Note submenu issues
2249
2250 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2251
2252         * factory.C: submenu for Note/Comment/Greyedout
2253
2254 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2255
2256         * lyx_main.C (LyX):
2257         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2258
2259 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2260
2261         * LaTeXFeatures.C:
2262         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2263         greyedout. Patch provided by Jürgen Spitzmüller.
2264
2265 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2266
2267         * kbmap.C (read): fix error message when reading bind files
2268
2269 2003-07-29  Angus Leeming  <leeming@lyx.org>
2270
2271         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2272         certainly does not do what it purports to do. I am doing it, and
2273         us, a favour by killing it.
2274
2275 2003-07-28  José Matos  <jamatos@lyx.org>
2276
2277         * buffer.C (readBody, do_writeFile):
2278         * paragraph.C(readParagraph): \end_document replaces \the_end.
2279
2280 2003-07-29  André Pönitz  <poenitz@gmx.net>
2281
2282         * BufferView.[Ch]:
2283         * BufferView_pimpl.[Ch]:
2284         * lyxfunc.C:
2285         * text2.C:
2286         * text3.C:
2287         * textcursor.[Ch]: remove toggleToggle & Co
2288
2289 2003-07-28  José Matos  <jamatos@fep.up.pt>
2290
2291         * buffer.C (readParagraph):
2292         * params_func (readParToken, readParagraph):
2293         * paragraph.C (write): \layout -> \begin_layout.
2294
2295 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2296
2297         * lyxlex_pimpl.C (setFile): clean up slightly.
2298
2299         * bufferparams.h: add compressed var
2300
2301         * buffer_funcs.C (readFile): adjust for LyXLex change
2302         (newFile): ditto + simplify
2303
2304         * buffer.C (writeFile): handle writing of compressed files
2305
2306         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2307         Check if the file is compressed and set a bufferparm if so.
2308
2309         * Makefile.am (lyx_LDADD): remove explicit -lz
2310
2311 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2312
2313         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2314         makeDocBookFile): put the real LyX version in the first line of
2315         the file
2316
2317         * version.h:
2318         * version.C.in: remove lyx_docversion
2319
2320         * tabular.C (write_attribute): add a template-based version to
2321         write enums properly
2322
2323 2003-07-28  André Pönitz  <poenitz@gmx.net>
2324
2325         * lyxtext.h:
2326         * text.C:
2327         * text2.C:
2328         * text3.C: use doubles again for x-coordinates. They are needed.
2329
2330 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2331
2332         * messages.C (getLocaleDir): use lyx_localedir()
2333
2334         * lyxlex_pimpl.C (setFile): compress stuff
2335
2336         * buffer.C (writeFile): add some compression stuff
2337         (do_writeFile): new func, dont call expliti close... will this
2338         breake anything?
2339
2340         * Makefile.am (lyx_LDADD): add -lz
2341
2342 2003-07-28  José Matos  <jamatos@fep.up.pt>
2343
2344         * buffer.C: increment file format.
2345         * paragraph_funcs (readParagraph, readParToken):
2346         * paragraph.C (readParagraph): add \end_layout.
2347
2348 2003-07-27  Angus Leeming  <leeming@lyx.org>
2349
2350         * Makefile.am: remove special casing for configure-time setting of
2351         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2352
2353         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2354         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2355
2356 2003-07-26  André Pönitz  <poenitz@gmx.net>
2357
2358         * paragraph_func.[Ch]:
2359         * paragraph.C (realizeFont): inline it whereever it is used
2360
2361         * rowpainter.C:
2362         * text.C:
2363         * text2.C:
2364         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2365
2366
2367 2003-07-26  André Pönitz  <poenitz@gmx.net>
2368
2369         *       lyxtext.h:
2370         * text.C:
2371         * text2.C: get rid of LyXText::need_break_row
2372
2373 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2374
2375         * toc.[Ch]: put namespace toc inside namespace lyx
2376
2377         * MenuBackend.C (expandToc2): adjust for lyx::toc
2378         (expandToc): ditto
2379
2380         * lyxfunc.C (dispatch): adjust for lyx::find
2381
2382         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2383         lyx::find instead. Reorganize a bit.
2384         (LyXReplace): rename to replace
2385         (LyXFind): rename to find
2386
2387         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2388         (dispatch): ditto
2389
2390 2003-07-26  André Pönitz  <poenitz@gmx.net>
2391
2392         * text.C (setHeightOfRow): restrict scope of temporary variable
2393
2394         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2395           code (never has been used?)
2396
2397 2003-07-27  Asger Alstrup  <alstrup@local>
2398
2399         * text.C (fill): Optimise algorithm to exploit that we can reuse
2400         the LyXFont for many characters.
2401         (setHeightOfRow): Same thing.
2402         (rowBreakPoint): Same thing.
2403
2404 2003-07-26  Asger Alstrup  <alstrup@local>
2405
2406         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2407
2408         * text.C (singleWidth): Spurious font copying in hot-spot
2409         singleWidth avoided. Reorder tests for arabic for efficiency.
2410
2411         * text.C (fill): handle empty paragraphs better.
2412
2413 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2414
2415         * ispell.C:
2416         * encoding.h: add includes
2417
2418         * lyxrc.C: remove reading of bind files
2419
2420         * lyx_main.C (init): setup bindings and menus only if we have a
2421         gui.
2422
2423         * kbmap.C (read): new method. Do the actual reading of bind
2424         files.
2425
2426         * converter.C (dvipdfm_options):
2427         * bufferparams.C:
2428         * lyxrc.C (read):
2429         (output): adapt PAPER_* enums.
2430
2431         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2432
2433         * bufferparams.h: remove paper-related enums from there
2434
2435         * paper.h: New file. A trivial header file to hold paper-related
2436         enums. It should later expand to contain many paper-related
2437         horrors access.
2438
2439         * lyxrc.C: declare extern displayTranslator
2440
2441 2003-07-27  José Matos  <jamatos@fep.up.pt>
2442
2443         * tabular.[Ch] (linuxdoc): add support for tables and figures
2444         (linuxdoc).
2445
2446 2003-07-27  José Matos  <jamatos@fep.up.pt>
2447
2448         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2449         consistency in both functions.
2450         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2451
2452 2003-07-26  Asger Alstrup  <alstrup@local>
2453
2454         * rowpainter.C (paintRows): Change algorithm to work directly on
2455         the insets rather than asking every character in the document
2456         whether its an inset.
2457
2458 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2459
2460         * buffer.C (openFileWrite): factorize some code
2461
2462 2003-07-26  Angus Leeming  <leeming@lyx.org>
2463
2464         * lyx_cb.C:
2465         * lyx_main.[Ch]: replace occurances of system_tempdir with
2466         os::getTmpDir().
2467
2468 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2469
2470         * rename Inset to InsetOld
2471
2472 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2473
2474         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2475         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2476         which I think is a bit clearer. EDIT is gone, since it was
2477         premature optimisation, and broken for mathed anyway.
2478         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2479         with cursor positioning in insets as well (math insets still do not
2480         work, but that's a different story anyway.) It mysteriously
2481         crashes sometimes with undo in the first paragraph, but I'm fairly
2482         confident that this is a compiler bug.
2483
2484 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2485
2486         * paragraph.C (Paragraph): adjust for new clone return type
2487         (operator==): ditto
2488         (copyIntoMinibuffer): ditto
2489
2490 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2491
2492         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2493         by not having a special case, and always doing a full rebreak of
2494         the document after undo.
2495
2496 2003-07-23  Angus Leeming  <leeming@lyx.org>
2497
2498         * factory.C (createInset): InsetExternal::setParams now takes a
2499         Buffer const * arg.
2500
2501 2003-07-23  Angus Leeming  <leeming@lyx.org>
2502
2503         * factory.C (createInset): changed interface to the external and
2504         graphics mailers' string2params functions.
2505
2506 2003-07-23  Angus Leeming  <leeming@lyx.org>
2507
2508         * factory.C (createInset): pass a
2509         Buffer const * parameter to InsetExternalMailer's string2params.
2510
2511 2003-07-22  John Levon  <levon@movementarian.org>
2512
2513         * Thesaurus.h: include the right aiksaurus header
2514
2515 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2516
2517         * MenuBackend.C (expand): check menu shortcuts unconditionally
2518
2519 2003-07-21  Angus Leeming  <leeming@lyx.org>
2520
2521         * factory.C (createInset): pass a
2522         buffer_path parameter to InsetGraphicsMailer's string2params.
2523
2524 2003-07-21  Angus Leeming  <leeming@lyx.org>
2525
2526         * BufferView_pimpl.C (buffer):
2527         * buffer.C (d-tor):
2528         * lyx_main.C (LyX):
2529         * lyxfunc.C (dispatch):
2530         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2531         rather than the grfx shortcut.
2532
2533 2003-07-21  André Pönitz  <poenitz@gmx.net>
2534
2535         * rowpainter.C: remove unused variables
2536
2537         * tabular_funcs.C:
2538         * tabular_funcs.h: move to tabular.C
2539         * Makefile.am: adjust
2540
2541         * tabular.[Ch]: basic optical cleaning
2542
2543         * author.h: pass references, not values
2544
2545 2003-07-18  André Pönitz  <poenitz@gmx.net>
2546
2547         * lyxtext.h:
2548         * metricsinfo.C:
2549         * metricsinfo.h:
2550         * rowpainter.C:
2551         * text.C:
2552         * text2.C:
2553         * text3.C: two-phase drawing for InsetText and InsetTabular
2554         some float -> int changes.
2555
2556 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2557
2558         * lyx_main.C: fix the fix
2559
2560 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2561
2562         * lyx_main.C: fix a crash in batch mode if no files specified
2563         * converter.C: ws
2564
2565 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2566
2567         * format.[Ch] (papersize): moved to BufferParams
2568         * converter.[Ch] (dvips_options): moved to BufferParams
2569         (dvipdfm_options): moved to anon namespace
2570         * bufferparams.[Ch]: added above functions.
2571
2572 2003-07-17  André Pönitz  <poenitz@gmx.net>
2573
2574         * lyxtext.h:
2575         * rowpainter.C:
2576         * text2.C: don't call inset->update() anymore
2577
2578         * metricsinfo.[Ch]: add convenience constructor
2579
2580 2003-07-16  André Pönitz  <poenitz@gmx.net>
2581
2582         * lyxcursor.[Ch]:
2583         * lyxfunc.[Ch]:
2584         * text.C:
2585         * text2.C: replace the LyXCursor::irow_ member with
2586          on-demand computation of the value
2587
2588 2003-07-16  John Levon  <levon@movementarian.org>
2589
2590         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2591
2592 2003-07-15  André Pönitz  <poenitz@gmx.net>
2593
2594         * text.C:
2595         * text2.C: remove no more needed refresh_row
2596
2597 2003-07-15  André Pönitz  <poenitz@gmx.net>
2598
2599         * lyxtext.h:
2600         * rowpainter.C:
2601         * text2.C:
2602         * text3.C: refresh_status tristate -> need_update bool
2603
2604 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2605
2606         * lyxtext.h (init): remove reinit argument (act as if always true)
2607         * text2.C: adjust to that
2608
2609 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2610
2611         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2612         * text3.C: use it to delete selections in some cases
2613         (bugs 441, 673, 702, 954).
2614
2615 2003-07-14  André Pönitz  <poenitz@gmx.net>
2616
2617         * rowpainter.[Ch]: reduce interface
2618
2619 2003-07-14  André Pönitz  <poenitz@gmx.net>
2620
2621         * BufferView_pimpl.C:
2622         * text2.C: adjust after removing unused BufferView * argument
2623
2624 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2625
2626         * text2.C (init): fix a crash fired on resize
2627
2628 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2629
2630         * buffer.[Ch]: added new closing signal
2631         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2632         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2633         BufferView::Pimpl via the closing the signal
2634
2635 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2636
2637         * buffer.[Ch]: take out all bv-related from buffer
2638         * BufferView.C:
2639         * BufferView_pimpl.[Ch]: connect to new signals
2640         * CutAndPaste.C: removed useless asserts
2641         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2642         * lyxvc.[Ch]:
2643         * vc-backend.[Ch]:
2644         * lyxfunc.C: moved view-related funciontality from vc here
2645         * paragraph.C: removed outdated comments
2646         * text.C: ws
2647
2648 2003-07-10  André Pönitz  <poenitz@gmx.net>
2649
2650         * BufferView_pimpl.C:
2651         * tabular.h:
2652         * tabular_funcs.C:
2653         * text.C:
2654         * text2.C: remove InsetText::InnerCache, clean up consequences
2655
2656 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2657
2658         * ispell.C: fix two typos in error messages
2659
2660 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2661
2662         * Extend Note inset to other forms of annotation like Comment
2663         and Greyedout. Right button click gives dialog.
2664
2665         Files modified or added (+):
2666
2667         * insetnote.[Ch]
2668         * FormNote.[Ch]      +
2669         * ControlNote.[Ch]   +
2670         * form_note.fd       +
2671         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2672         frontends/controllers
2673         * xforms/Dialogs.C
2674         * factory.C
2675
2676 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2677
2678         * aspell.C: add missing namespace lyx::support
2679
2680 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2681
2682         * BufferView.[Ch] (newFile): Add
2683         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2684         * LaTeX.[Ch] (message): added this signal and use it
2685         * buffer.[Ch] (busy, message): added these signals and use them
2686         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2687         * converter.C:
2688         * exporter.C:
2689         * format.C:
2690         * importer.C: use buffer signals instead of direct bv calling
2691         * lyx_cb.[Ch] (ShowMessage): removed
2692         * lyx_main.C:
2693         * lyxfunc.C:
2694         * paragraph_funcs.C:
2695         * text2.C: use buffer signals
2696
2697 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2698
2699         * introduce namespace lyx::graphics
2700
2701 2003-07-02  André Pönitz  <poenitz@gmx.net>
2702
2703         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2704
2705 2003-07-01  André Pönitz  <poenitz@gmx.net>
2706
2707         * text.C:
2708         * text2.C:
2709         * text3.C:
2710         * text_funcs.[Ch]:
2711         * textcursor.h:
2712         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2713           text*.C to text_func.C
2714
2715 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2716
2717         * introduce namespace lyx::support
2718
2719 2003-06-30  André Pönitz  <poenitz@gmx.net>
2720
2721         * Chktex.C:
2722         * funcrequest.C:
2723         * lyxtext.h:
2724         * text.C: re-enable --with-included-string
2725
2726 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2727
2728         * textcursor.C: add <config.h>
2729
2730         * text.C (getWord): remove const from word_location arg
2731
2732         * lyxvc.C (getLogFile): fix const type order
2733
2734         * lyxtext.h: remove const from word_location arg, add arg name
2735
2736         * lyxlayout.h: currect type on labeltype.
2737
2738         * importer.C: correct \file
2739
2740         * converter.C (intToFormat): use std:: on ret val, ws changes
2741
2742         * bufferlist.h: correct \file
2743
2744         * buffer.C (makeLinuxDocFile): fix const type order
2745         (makeDocBookFile): ditto
2746         (fillWithBibKeys): use std:: on stdlib args.
2747
2748         * CutAndPaste.C: fix authors.
2749         (availableSelections): use std:: on return vector
2750
2751 2003-06-27  André Pönitz  <poenitz@gmx.net>
2752
2753         * BufferView_pimpl.C:
2754         * bufferview_funcs.C:
2755         * lyxcursor.C:
2756         * lyxcursor.h:
2757         * lyxfunc.C:
2758         * lyxtext.h:
2759         * rowpainter.C:
2760         * text.C:
2761         * text2.C:
2762         * text3.C: remove LyXCursor::row_ member
2763
2764         * lyxtext.h:
2765         * text.C: rename fullRebreak() to partialRebreak() and implement
2766           a fullRebreak() that really bereks fully
2767
2768         * textcursor.h: new struct for cursor-related data
2769
2770 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2771
2772         * lyx_main.C (LyX): get full path of document loaded on the
2773         command line
2774
2775 2003-06-26  André Pönitz  <poenitz@gmx.net>
2776
2777         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2778           remove unused/broken operator>,<,>=.
2779
2780         *       text.C: remove only use of broken operator<= in an Assert().
2781
2782 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2783
2784         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2785         moved errorlist_.clear to showErrorList
2786
2787 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2788
2789         * converter.C (scanLog, runLaTeX):
2790         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2791         move the bv->showErrorList call to the callers
2792         * lyxfunc.C: i.e. here...
2793         * text2.C: and here
2794         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2795         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2796         namespace, the second to...
2797         * buffer_funcs (BufferFormat, parseErrors): added
2798         * errorlist.C (ErrorList(TeXErrors const &)): removed
2799
2800 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2801
2802         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2803
2804 2003-06-24  "Garst R. Reese" <reese@isn.net>
2805
2806         * debug.C: fix typo
2807
2808 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2809
2810         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2811
2812         * version.C.in: change docversion to 1.4
2813
2814 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2815
2816         * buffer.C: fix a bug just introduced
2817
2818 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2819
2820         * buffer.[Ch]: added the parseError signal and use it, removed
2821         sgmlError
2822         * BufferView.[Ch] (addError): moved to ...
2823         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2824         to the Buffer::parseError signal to catch (guess what) parse errors
2825         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2826
2827 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2828
2829         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2830         ability to create a buffer and to return an existing one from
2831         the list. Moved these functions to...
2832         * buffer_funcs.[Ch]: added
2833         * BufferView.[Ch] (loadLyXFile): added
2834         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2835         job removed from bufferlist::loadLyXFile.
2836         * buffer.C (setReadOnly): make it work without view
2837         (i.e added an if (users))
2838
2839 2003-06-19  Angus Leeming  <leeming@lyx.org>
2840
2841         * lfuns.h:
2842         * LyXAction.C (init):
2843         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2844         with LFUN_DIALOG_SHOW <name> <data>.
2845
2846 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2847
2848         * CutAndPaste.C (availableSelections): small compilation fix for
2849         ancient (gcc 2.9x) compilers
2850
2851 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2852
2853         * text3.C (cursorNext): add tmp var
2854
2855         * text2.C (updateCounters): for function calling out of for clause
2856         (replaceSelectionWithString): ditto
2857         (insertStringAsParagraphs): ditto
2858         (getColumnNearX): add tmp var
2859         (setCursorFromCoordinates): add tmp var
2860         (cursorDownParagraph): add tmp var
2861         (deleteEmptyParagraphMechanism): add tmp var
2862
2863         * text.C (insertChar): add tmp var
2864
2865         * rowpainter.C (paintDepthBar): add tmp var
2866
2867         * CutAndPaste.C (availableSelections): potentially check all
2868         paragraphs in a cut to fill the shown strings.
2869
2870 2003-06-18  André Pönitz  <poenitz@gmx.net>
2871
2872         * kbmap.[Ch]: use vector<> instead of list<>
2873
2874 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2875
2876         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2877         pasteSelection with index
2878
2879         * text2.C (pasteSelection): modify, call pasteSelection with index
2880
2881         * paragraph.C (asString): reimplement version with no interval to
2882         call the one with interval.
2883
2884         * lyxtext.h: add index arg to pasteSelection
2885
2886         * MenuBackend.C (MenuItem): handle PasteRecent
2887         (Menu::read::Menutags): add md_pasterecent
2888         (read): handle it
2889         (expandPasteRecent): new function
2890         (expand): use it
2891
2892         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2893
2894         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2895         the limited stack
2896         (availableSelections): new function
2897
2898 2003-06-17  Angus Leeming  <leeming@lyx.org>
2899
2900         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2901
2902 2003-06-17  Angus Leeming  <leeming@lyx.org>
2903
2904         * lfuns.h:
2905         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2906
2907         * lyxfunc.C (dispatch): invoke it.
2908
2909 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2910
2911         * iterators.C (operator++, ParPosition): reintroduce some
2912         const_cast for the benefit of older compilers.
2913
2914 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2915
2916         * text3.C (dispatch): do not modify clipboard when doing
2917         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2918         LFUN_DELETE_SKIP on a selection selection
2919
2920 2003-06-16  André Pönitz  <poenitz@gmx.net>
2921
2922         * BufferView.C:
2923         * buffer.C:
2924         * buffer.h:
2925         * paragraph.C:
2926         * tabular.[Ch]: IU of clone() and getLabelList();
2927
2928 2003-06-13  André Pönitz  <poenitz@gmx.net>
2929
2930         * tabular.h: compactification
2931
2932 2003-06-12  André Pönitz  <poenitz@gmx.net>
2933
2934         * tabular.C:
2935         * tabular.h:
2936         * tabular_funcs.h: some renaming plus whitespace
2937
2938 2003-06-12  André Pönitz  <poenitz@gmx.net>
2939
2940         * BufferView.C:
2941         * BufferView_pimpl.C:
2942         * CutAndPaste.C:
2943         * buffer.C:
2944         * iterators.[Ch]:
2945         * lyxfunc.C:
2946         * text.C:
2947         * toc.C: Return a Paragraph & for ParIterator::operator*()
2948
2949 2003-06-11  John Levon  <levon@movementarian.org>
2950
2951         * lyx_main.C:
2952         * ToolbarBackend.h:
2953         * ToolbarBackend.C: add "Toolbars" section and
2954         put the flags there
2955
2956 2003-06-10  Angus Leeming  <leeming@lyx.org>
2957
2958         * lfuns.h:
2959         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2960
2961         * lyxfunc.C (dispatch): invoke it.
2962
2963 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2964
2965         * main.C: protect <ios> with HAVE_IOS
2966         (main): protect sync_with_stdio with HAVE_IOS
2967
2968 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2969
2970         * text2.C (cutSelection): adjust
2971         (pasteSelection): adjust
2972
2973         * messages.C: handle get of empty string
2974
2975         * main.C (main): use sync_with_stdio(false)
2976
2977         * lyxfunc.C (dispatch): adjust
2978
2979         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2980         (WriteAs): remove unneeded BufferView arg.
2981
2982         * bufferparams.h: use correct types on papersize, papersize2 and
2983         paperpackage.
2984
2985         * bufferparams.C (readToken): adjust for type
2986         (writeLaTeX): add missing cases to switch.
2987
2988         * bufferlist.C (quitWriteBuffer): adjust
2989         (close): adjust
2990
2991         * buffer.C (asciiParagraph): remove some commented code.
2992
2993         * CutAndPaste.C: remove current_view extern variable.
2994         (cutSelection): add BufferParams arg.
2995         (eraseSelection): add BufferParams arg.
2996         (pasteSelection): add Buffer const & arg
2997
2998 2003-06-07  John Levon  <levon@movementarian.org>
2999
3000         * buffer.C:
3001         * paragraph_funcs.C:
3002         * paragraph_pimpl.C:
3003         * text.C:
3004         * text2.C:
3005         * paragraph.h:
3006         * paragraph.C: allow InsetERT to freely space lines,
3007         and some consolidation of code
3008
3009 2003-06-06  José Matos  <jamatos@fep.up.pt>
3010
3011         * buffer.C (makeDocBookFile): fix bug #821
3012
3013 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3014
3015         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3016
3017 2003-06-04  Angus Leeming  <leeming@lyx.org>
3018
3019         * buffer.C: bump format to 224.
3020
3021 2003-06-05  André Pönitz  <poenitz@gmx.net>
3022
3023         * text2.C (redoParagraphs): remove two const_cast<>
3024
3025 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3026
3027         * ParagraphList.h: remove last remnants of NO_STD_LIST
3028
3029 2003-06-03  Angus Leeming  <leeming@lyx.org>
3030
3031         * factory.C (createInset): small change to the way InsetExternal's params
3032         are set.
3033
3034 2003-06-04  André Pönitz  <poenitz@gmx.net>
3035
3036         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3037
3038         * paragraph_pimpl.h:
3039         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3040
3041         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3042
3043         * undo_funcs.C: make some simple cases of undo work again
3044
3045 2003-06-03  John Levon  <levon@movementarian.org>
3046
3047         * ispell.C: HPUX doesn't have sys/select.h
3048         (from Albert Chin)
3049
3050 2003-06-03  John Levon  <levon@movementarian.org>
3051
3052         * CutAndPaste.C: update tabular and include inset
3053         buffer references
3054
3055         * buffer.h:
3056         * paragraph.h:
3057         * paragraph.C: remove owningBuffer(), don't pass Buffer
3058         to clone()
3059
3060         * factory.C: insetGraphicsParams changed
3061
3062 2003-06-02  John Levon  <levon@movementarian.org>
3063
3064         * LyXAction.C:
3065         * factory.C:
3066         * lfuns.h:
3067         * lyxfunc.C:
3068         * text3.C: remove insetparent
3069
3070 2003-06-02  John Levon  <levon@movementarian.org>
3071
3072         * buffer.h:
3073         * buffer.C: fix inset_iterator.end(), move out of line
3074         (bug 1149)
3075
3076 2003-06-01  John Levon  <levon@movementarian.org>
3077
3078         * text3.C: use a proper cut/paste when doing inset
3079         insert (from Jürgen Spitzmüller)
3080
3081 2003-06-01  John Levon  <levon@movementarian.org>
3082
3083         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3084
3085 2003-05-30  André Pönitz  <poenitz@gmx.net>
3086
3087         * rowpainter.C: unify second drawing phase
3088
3089 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3090
3091         * trans_mgr.C: remove one case of current_view
3092
3093         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3094
3095         * paragraph_funcs.h: remove paragraph.h include
3096
3097         * paragraph.h: delete NO_STD_LIST stuff
3098
3099         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3100
3101         * buffer.h: remove paragraph.h include
3102
3103         * ParagraphList.C: delete file
3104
3105         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3106
3107         * toc.C (getTocList): adjust
3108
3109         * paragraph_pimpl.C (validate): adjust
3110
3111         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3112
3113         * paragraph.C (Paragraph): adjust
3114         (getPositionOfInset): use const_iterator, adjust
3115         (bibitem): use const_iterator, adjust
3116         (setInsetOwner): adjust
3117
3118         * iterators.C (operator++): adjust
3119
3120         * InsetList.[Ch]: Replace selfmade iterator with standard
3121         vector::iterator also introduce const_iterator. Remove getPos,
3122         getInset and setInset from InsetTable. Adjust accordingly.
3123
3124         * BufferView.C (lockInset): adjust
3125         (ChangeInsets): adjust
3126
3127         * tabular.[Ch]: delete commented same_id functions
3128
3129 2003-05-28  John Levon  <levon@movementarian.org>
3130
3131         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3132
3133 2003-05-28  André Pönitz  <poenitz@gmx.net>
3134
3135         * metricsinfo.[Ch]: remove 'fullredraw' member
3136
3137 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3138
3139         * lyxtextclass.C (operator): remove caching.
3140
3141 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3142
3143         * text3.C: adjust
3144
3145         * text2.C (cursorBottom): adjust
3146         (setCounter): use ParagraphList::find, adjust
3147
3148         * text.C (workWidth): use ParagraphList::find, adjust
3149
3150         * lyxcursor.C (LyXCursor): adjust
3151
3152         * buffer.C (inset_iterator): adjust
3153
3154         * ParagraphList.h: make iterator(value_type) private, make
3155         ParagraphList a friend of iterator.
3156
3157         * ParagraphList.C (find): new function
3158
3159         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3160
3161 2003-05-27  André Pönitz  <poenitz@gmx.net>
3162
3163         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3164
3165 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3166
3167         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3168
3169 2003-05-26  John Levon  <levon@movementarian.org>
3170
3171         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3172
3173 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3174
3175         * remove same_id from function signatures, adjust.
3176
3177 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3178
3179         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3180
3181         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3182
3183         * paragraph.C (Paragraph): get rid of same_ids parameter
3184
3185         * ParagraphList.C (insert): adjust
3186         (push_back): adjust
3187
3188 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3189
3190         * paragraph_funcs.C (breakParagraph): adjust
3191         (breakParagraphConservative): adjust
3192
3193         * buffer.C (readParagraph): adjust
3194
3195         * ParagraphList.C (insert): take a reference instead of a pointer
3196         (insert): adjust
3197
3198         * paragraph.[Ch] (id): new function
3199
3200         * bufferlist.C (newFile): adjust
3201
3202         * ParagraphList.C (ParagraphList): adjust
3203         (assign): adjust
3204         (push_back): take a reference instead of a pointer.
3205
3206         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3207
3208         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3209         instead.
3210
3211         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3212         set else use old code.
3213
3214         * ParagraphList.C: remove all NO_NEXT code and only compile this
3215         code of NO_STD_LIST is set.
3216
3217 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3218
3219         * BufferView_pimpl.C:
3220         * TextCache.C:
3221         * TextCache.h:
3222         * bufferlist.C:
3223         * errorlist.h:
3224         * format.C:
3225         * format.h:
3226         * graph.C:
3227         * lyxfunc.C:
3228         * lyxrc.C:
3229         * graphics/GraphicsConverter.C:
3230         * graphics/PreviewLoader.C: header adjustment
3231
3232 2003-05-23  Angus Leeming  <leeming@lyx.org>
3233
3234         * LaTeXFeatures.[Ch] (useBabel): new method.
3235         * bufferparams.C (writeLaTeX): use it.
3236
3237 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3238
3239         * ParagraphList.h (set): remove unused function.
3240
3241 2003-05-23  André Pönitz  <poenitz@gmx.net>
3242
3243         * BufferView.C:
3244         * BufferView_pimpl.C:
3245         * buffer.C:
3246         * buffer.h:
3247         * lyxfunc.C:
3248         * undo_funcs.C: setUndo reworked
3249
3250         * iterators.[Ch]: add access to topmost ParagraphList
3251
3252         * lyxtext.[Ch] (workWidth): add a const
3253
3254 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3255
3256         * texrow.[Ch] (increasePos): remove function
3257         * exporter.C (export): removed unused var and outdated comment
3258
3259 2003-05-23  Angus Leeming  <leeming@lyx.org>
3260
3261         * latexrunparams.h: rename fragile as moving_arg.
3262         * paragraph.C (simpleTeXOnePar): ditto.
3263         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3264
3265 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3266
3267         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3268         (createUndo): ditto
3269         (textUndoOrRedo): comment out a currently unused var.
3270
3271         * paragraph.h (NO_NEXT): enable NO_NEXT
3272
3273         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3274
3275         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3276
3277         * exporter.C (Export): adjust for removeAutoInsets removal.
3278
3279         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3280
3281         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3282
3283         * BufferView.[Ch] (removeAutoInsets): delete function
3284
3285 2003-05-22  Angus Leeming  <leeming@lyx.org>
3286
3287         * latexrunparams.h: add a free_spacing variable.
3288
3289         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3290         to pass moving_arg, as the data is stored in runparams.fragile.
3291
3292         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3293         to Inset::latexOptional or to simpleTeXOnePar.
3294
3295         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3296         free_spacing arg to Inset::latexOptional.
3297
3298         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3299         free_spacing arg.
3300
3301 2003-05-22  Angus Leeming  <leeming@lyx.org>
3302
3303         * latexrunparams.h: add fragile and use_babel variables.
3304
3305         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3306         * buffer.C (makeLaTeXFile): store this returned value in
3307         runparams.use_babel, thus passing it to the inset::latex methods.
3308
3309         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3310         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3311
3312         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3313         longer has a fragile arg, as it is stored in runparams.fragile.
3314
3315         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3316         moving_arg parameter as the data is stored in runparams.fragile.
3317
3318         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3319         a fragile parameter as the data is stored in runparams.fragile.
3320
3321 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3322
3323         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3324
3325 2003-05-22  Angus Leeming  <leeming@lyx.org>
3326
3327         * latexrunparams.h: add a 'bool nice' which defaults to false.
3328
3329         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3330         now encapsulated within runparams.
3331
3332         * bufferlist.C (updateIncludedTeXfiles):
3333         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3334
3335 2003-05-22  Angus Leeming  <leeming@lyx.org>
3336
3337         * latexrunparams.h: new file containing struct LatexRunParams.
3338         * Makefile.am: add new file.
3339
3340         * LaTeX.[Ch] (c-tor, run):
3341         * buffer.[Ch] (makeLaTeXFile):
3342         * bufferlist.[Ch] (updateIncludedTeXfiles):
3343         * converter.C (convert, scanLog):
3344         * converter.[Ch] (runLaTeX):
3345         * exporter.C (Export):
3346         * paragraph.[Ch] (simpleTeXOnePar):
3347         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3348         * paragraph_funcs.[Ch] (latexParagraphs):
3349         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3350         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3351         pass around a LatexRunParams parameter.
3352
3353 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3354
3355         * paragraph.[Ch]: remove unused constructor
3356
3357         * ParagraphList.C (erase): new function, taking two iterators
3358
3359 2003-05-22  André Pönitz  <poenitz@gmx.net>
3360
3361         * undo_funcs.C: remove duplicated code
3362
3363         * iterator.[Ch]: operator=
3364
3365 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3366
3367         * tabular.C (SetMultiColumn): ws changes
3368
3369         * rowpainter.C (paintFirst): get rid of a ->previous
3370
3371         * lyx_cb.C (getPossibleLabel): parlist simplification
3372
3373         * BufferView.C (ChangeInsets): simplify slightly.
3374
3375 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3376
3377         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3378         * lfuns.h: new LFUN_SPACE
3379         * lyxfunc.C: protected space has a new lfun
3380         * paragraph_funcs.C: read new space insets
3381         * text3.C:
3382         * factory.C: handle new space insets
3383
3384 2003-05-22  André Pönitz  <poenitz@gmx.net>
3385
3386         * BufferView.C:
3387         * BufferView_pimpl.C:
3388         * buffer.[Ch]:
3389         * lyxfunc.C:
3390         * undo_funcs.C: return a ParIterator from getParFromID.
3391
3392         * iterators.[Ch]: add two const's
3393
3394 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3395
3396         * toc.C (getTocList): adjust
3397
3398         * iterators.[Ch]: rework for parlist
3399
3400         * buffer.C (par_iterator_begin): adjust
3401         (par_iterator_end): adjust
3402
3403         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3404
3405         * BufferView.C (removeAutoInsets): adjust
3406         (ChangeInsets): adjust
3407
3408 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3409
3410         * text.C (top_y): fix bug 1110
3411
3412 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3413
3414         * errorlist.[Ch]: added
3415         * buffer.C:
3416         * BufferView.[Ch]:
3417         * BufferView_pimpl.C:
3418         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3419         instead
3420
3421 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3422
3423         * Makefile.am: ensure that lyx is relinked upon changes to the
3424         various "convenience" libs.
3425
3426 2003-05-20  Angus Leeming  <leeming@lyx.org>
3427
3428         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3429         files are compiled in alphabetical order again.
3430
3431         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3432
3433 2003-05-19  Angus Leeming  <leeming@lyx.org>
3434
3435         * gettext.[Ch]: remove "char const * _(char const *)".
3436
3437 2003-05-19  André Pönitz  <poenitz@gmx.net>
3438
3439         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3440
3441         * Makefile.am:
3442         * BufferView.C:
3443         * DepTable.h:
3444         * LaTeXFeatures.C:
3445         * buffer.C:
3446         * lyxfont.C:
3447         * lyxlex.h:
3448         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3449
3450 2003-05-19  André Pönitz  <poenitz@gmx.net>
3451
3452         * buffer.C:
3453         * lyxlayout.[Ch]:
3454         * lyxtextclass.[Ch]:
3455         * paragraph.C:
3456         * paragraph_funcs.[Ch]:
3457         * text2.C:
3458         * text3.C: more insetenv work
3459
3460 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3461
3462         * ParagraphParameters.C (params2string): small bug fixed
3463
3464 2003-05-16  André Pönitz  <poenitz@gmx.net>
3465
3466         * debug.C:
3467         * bufferview_funcs.C: patch from Kornel Benko to prevent
3468           crash when _(...) is called twice in a statement
3469
3470 2003-05-16  André Pönitz  <poenitz@gmx.net>
3471
3472         * BufferView.C:
3473         * lyxfunc.C:
3474         * text.C:
3475         * text2.C:
3476         * text3.C:
3477         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3478
3479 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3480
3481         * lyx_main.C (init): remove spurious static_cast
3482
3483 2003-05-14  André Pönitz  <poenitz@gmx.net>
3484
3485         * BufferView.C: fix format string
3486
3487 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3488
3489         * BufferView.[Ch] (insertErrors): removed
3490         * BufferView.[Ch] (showErrorList): added
3491         * buffer.C (runChkTeX):
3492         * converter.C (scanLog): call showErrorList instead of inserterrors
3493
3494 2003-05-13  André Pönitz  <poenitz@gmx.net>
3495
3496         * BufferView_pimpl.C:
3497         * buffer.C:
3498         * bufferview_func.C:
3499         * MenuBackend.C:
3500         * lyxfunc.C:
3501         * lyxrc.C:
3502         * tex-accent.C:
3503         * text3.C:
3504         * toc.C:
3505         * tabular_funcs.h: tostr() from its own header
3506
3507         * ParagraphParameters.C:
3508         * ToolbarBackend.C:
3509         * bufferparams.C:
3510         * format.C:
3511         * lyxlex_pimpl.C:
3512         * text3.C: STRCONV()
3513
3514 2003-05-12  André Pönitz  <poenitz@gmx.net>
3515
3516         * BufferView.C:
3517         * BufferView_pimpl.C:
3518         * CutAndPaste.C:
3519         * LaTeX.C:
3520         * LaTeXFeatures.C:
3521         * ParagraphParameters.C:
3522         * buffer.C:
3523         * bufferlist.C:
3524         * bufferparams.C:
3525         * bufferview_funcs.C:
3526         * converter.C:
3527         * counters.C:
3528         * debug.C:
3529         * exporter.C:
3530         * format.C:
3531         * importer.C:
3532         * lyx_cb.C:
3533         * lyx_main.C:
3534         * lyxfont.C:
3535         * lyxfunc.C:
3536         * lyxvc.C:
3537         * paragraph.C:
3538         * paragraph_funcs.C:
3539         * tabular.C:
3540         * tabular_funcs.C:
3541         * text2.C:
3542         * text3.C:  boost::format -> bformat  all over the place
3543
3544
3545 2003-05-09  André Pönitz  <poenitz@gmx.net>
3546
3547         * LColor.[Ch]: Pimpl the #include <map> away
3548
3549 2003-05-09  John Levon  <levon@movementarian.org>
3550
3551         * bufferlist.C: never remove emergency saves
3552
3553 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3554
3555         * Makefile.am: better lib building
3556
3557 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3558
3559         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3560         instead.
3561         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3562         (simpleTeXSpecialChars): adjust
3563         (simpleTeXSpecialChars): adjust
3564         * paragraph.C (simpleTeXOnePar): adjust
3565         * buffer.C (makeLaTeXFile): adjust
3566
3567         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3568
3569         * text2.C (changeDepth): parlist cleanup
3570         (getColumnNearX): ditto
3571
3572         * rowpainter.C (getLabelFont): parlist cleanup
3573
3574         * bufferlist.C (newFile): parlist cleanup
3575
3576         * CutAndPaste.C (eraseSelection): parlist cleanup
3577
3578         * BufferView_pimpl.C (trackChanges): parlist cleanup
3579         (dispatch): ditto
3580
3581         * BufferView.C (lockInset): parlist cleanup.
3582         (ChangeInsets): ditto
3583
3584 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3585
3586         * CutAndPaste.h: Update file header.
3587
3588         * CutAndPaste.C: Update file header.
3589         Store the parts cut out of the Document in a limited_stack.
3590         (copySelection): adjust
3591         (pasteSelection): new function, takes the index in the limited stack.
3592         (nrOfParagraphs): adjust
3593         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3594         simplify error inset insertion.
3595         (checkPastePossible): adjust
3596
3597 2003-05-06  John Levon  <levon@movementarian.org>
3598
3599         * text2.C: don't cast wrap inset to float
3600
3601 2003-05-05  André Pönitz  <poenitz@gmx.net>
3602
3603         * iterator.C:
3604         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3605
3606         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3607           few naked Paragraph *.
3608
3609 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3610
3611         * bufferparams.C: Output warning if a document with missing
3612         TeX document class is loaded
3613         * exporter.C: Disable TeX exports if the document class is missing
3614         * lyxtextclass.C:
3615         * lyxtextclass.h:
3616         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3617         isTeXClassAvailable()
3618
3619 2003-05-03  John Levon  <levon@movementarian.org>
3620
3621         * BufferView.h:
3622         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3623         explicit cursor show/hide
3624
3625         * BufferView_pimpl.h:
3626         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3627         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3628
3629         * lyxfunc.C: hide cursor before dispatching.
3630
3631         * lyx_cb.C:
3632         * lyxfind.C:
3633         * text.C:
3634         * text3.C: remove explicit cursor hides
3635
3636 2003-05-02  André Pönitz  <poenitz@gmx.net>
3637
3638         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3639
3640         * undo_funcs.C:
3641         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3642           linked lists
3643
3644         * text2.C: tiny whitespace
3645
3646 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3647
3648         * undo_funcs.C: almost only ws changes.
3649
3650         * ParagraphList.C (splice): just return if pl is empty.
3651
3652 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3653
3654         * ParagraphList.C (splice): new function.
3655
3656         * CutAndPaste.C (pasteSelection): use it
3657
3658 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3659
3660         * CutAndPaste.C (pasteSelection): remove the last next and
3661         previous from this file.
3662
3663 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3664
3665         * CutAndPaste.C (pasteSelection): more clean up, user proper
3666         ParagraphList functions for pasteing.
3667
3668         * ParagraphList.C (insert): new function, three arg insert
3669
3670 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3671
3672         * ParagraphList.C (insert): new function, three arg insert
3673
3674         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3675         not on paragraphs.
3676
3677 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3678
3679         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3680
3681 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3682
3683         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3684
3685 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3686
3687         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3688         (copySelection): clean up a bit.
3689         (pasteSelection): use make_pair
3690
3691         * ParagraphList.C (ParagraphList): implement copy constructor
3692         (operator=): implement, base on copy constructor.
3693         (assign): new func
3694
3695         * paragraph.C (erase): return a bool
3696
3697         * paragraph_pimpl.C (erasePos): remove function, move contents...
3698         (erase): ... here. Return a bool.
3699         (erase): call erase instead of erasePos.
3700
3701 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3702
3703         * ParagraphList.h: define PitPosPair
3704         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3705         ParagraphList, fix a bug on pasting multiple pars
3706         * text2.C: change interface to C&P
3707
3708 2003-04-30  André Pönitz  <poenitz@gmx.net>
3709
3710         * undo_func.C: revert part of yesterday's patch 2
3711
3712 2003-04-30  John Levon  <levon@movementarian.org>
3713
3714         * LColor.C: s/tabular/table/
3715
3716 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3717
3718         * text3.C (dispatch): do not convert iterator -> pointer
3719         * undo_funcs.C (setCursorParUndo): ditto
3720         * text_funcs.C (transposeChars): ditto
3721
3722         * text2.C (setLayout): ws changes only
3723
3724         * text.C (breakParagraph): do not convert iterator -> pointer
3725         (insertChar): ditto
3726         (acceptChange): ditto
3727         (rejectChange): ditto
3728         (changeCase): ditto
3729         (Delete): ditto
3730         (backspace): ditto
3731
3732         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3733         pointer
3734
3735 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3736
3737         * text3.C (gotoInset): YABG (yet another bad getChar)
3738
3739 2003-04-29  André Pönitz  <poenitz@gmx.net>
3740
3741         * paragraph.h: make operator= private unimplemented as long as
3742           it is unusable
3743
3744         * ParagraphList.C: whitespace
3745
3746         * paragraph.[Ch]:
3747         * paragraph_pimpl.[Ch]:
3748         * paragraph_funcs.C:
3749         * CutAndPaste.C:
3750         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3751
3752         * text2.C:
3753           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3754
3755 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3756
3757         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3758         * paragraph.[Ch] (erase):
3759         * paragraph_pimpl.[Ch] (erase): change return type and value
3760         * text2.C (cutSelection): some rework
3761
3762 2003-04-28  John Levon  <levon@movementarian.org>
3763
3764         * bufferlist.C: changes for unsaved changes dialog
3765
3766 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3767
3768         * bufferlist.C (newFile): set language (messages_) for new
3769         documents also.
3770
3771         * buffer.C (readFile): ws changes only.
3772
3773 2003-04-28  André Pönitz  <poenitz@gmx.net>
3774
3775         * undo_funcs.C:
3776         * lyxfunc.C:
3777         * buffer.[Ch]:
3778         * BufferView_pimpl.C:
3779         * BufferView.C: getParFromID related ParagraphList::iterator changes
3780
3781 2003-04-28  André Pönitz  <poenitz@gmx.net>
3782
3783         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3784           Changes
3785
3786 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3787
3788         * messages.C: remove one more localedir class variable.
3789
3790 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3791
3792         * messages.C (getLocaleDir): singleton generation function
3793         (Pimpl): use it.
3794         (Messages): add a default constructor.
3795
3796         * main.C (main): do not setup localedir here, do not call
3797         gettext_init.
3798
3799         * gettext.C (_): use it.
3800         (gettext_init): delete funciton
3801
3802 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3803
3804         * gettext.C (getLyXMessages): new singleton generating function.
3805
3806         * buffer.C (updateDocLang): adjust
3807
3808         * Makefile.am (messages.o): add target
3809         (main.o): remove target
3810
3811 2003-04-27  John Levon  <levon@movementarian.org>
3812
3813         * bufferlist.C:
3814         * lyx_cb.C:
3815         * lyxfunc.C:
3816         * lyxvc.C: specify cancel button in Alert::prompt
3817
3818 2003-04-26  John Levon  <levon@movementarian.org>
3819
3820         * text3.C:
3821         * lyxfunc.C:
3822         * lfuns.h:
3823         * LyXAction.C: add LFUN_INSET_SETTINGS
3824
3825         * lyxfunc.C: don't enable tabular-feature when there's
3826         just any locking inset
3827
3828 2003-04-26  John Levon  <levon@movementarian.org>
3829
3830         * bufferlist.C: re-add Cancel to buffer close question
3831
3832         * lyxfunc.C: fix import UI a bit
3833
3834 2003-04-25  John Levon  <levon@movementarian.org>
3835
3836         * gettext.C: remove the broken asserts for now
3837
3838 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3839
3840         * messages.C: make case where setlocale cannot comply work better.
3841
3842         * buffer.C (updateDocLang): new function
3843         (changeLanguage): use it
3844         (readFile): use it
3845
3846         * text2.C (setCounter): use B_ a bit.
3847
3848         * lyxlayout.C (Read): be sure to trim the label strings.
3849
3850         * messages.C (Messages): fix typo in comment
3851
3852         * buffer.C (readFile): set message_ after file is loaded.
3853         (makeDocBookFile): remove double return
3854         (changeLanguage): reset message_ upon language change.
3855         (B_): new func, use this to get translated buffer strings.
3856
3857         * main.C: add myself and Jean Marc as authors.
3858
3859 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3860
3861         * messages.[hC]: pimplify Messages, and three different pimpls to be
3862         used in different circumstances.
3863
3864         * gettext.[Ch]: change for use with new message code.
3865
3866 2003-04-24 André Pönitz <poenitz@gmx.net>
3867
3868         * factory.C: support for eqref
3869
3870 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3871
3872         * messages.[Ch]: add missing char
3873
3874         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3875
3876         * messages.[Ch]: New files
3877
3878 2003-04-18  John Levon  <levon@movementarian.org>
3879
3880         * BufferView.h:
3881         * BufferView.C:
3882         * BufferView_pimpl.C:
3883         * lfuns.h:
3884         * LyXAction.C:
3885         * lyxtext.h:
3886         * text2.C: remove layout-copy/paste (bug 778)
3887
3888 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3889
3890         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3891
3892 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3893
3894         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3895         if they succeed. Act accordingly.
3896
3897 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3898
3899         * text2.C (setCharFont): adjust
3900         (setCounter): adjust
3901         (insertStringAsLines): adjust
3902
3903         * text.C (leftMargin): adjust
3904         (setHeightOfRow): adjust
3905
3906         * rowpainter.C (paintFirst): adjust
3907         (paintLast): adjust
3908
3909         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3910         (outerHook): ditto
3911         (isFirstInSequence): ditto
3912         (getEndLabel): ditto
3913         (outerFont): adjust
3914
3915         * paragraph.C (getParLanguage): comment out some hard stuff.
3916
3917         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3918         (sgmlError): ditto
3919         (simpleDocBookOnePar): ditto
3920         (makeDocBookFile): use ParagraphList::iterator
3921
3922         * CutAndPaste.C (pasteSelection): adjust
3923
3924 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3925
3926         * text2.C (getFont): adjust
3927         (getLayoutFont): adjust
3928         (getLabelFont): adjust
3929
3930         * paragraph_funcs.C (TeXOnePar): adjust
3931
3932         * buffer.C (simpleLinuxDocOnePar): adjust
3933         (simpleDocBookOnePar): adjust
3934
3935         * CutAndPaste.C (pasteSelection): adjust
3936
3937         * BufferView.C (getEncoding): adjust
3938
3939         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3940
3941 2003-04-16  John Levon  <levon@movementarian.org>
3942
3943         * lyxfind.C: use parlist stuff for search/changes
3944
3945 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3946
3947         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3948
3949         * text2.C (deleteEmptyParagraphMechanism): adjust
3950
3951         * text2.[Ch] (ownerParagraph): delete func (both of them
3952
3953 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3954
3955         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3956
3957 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3958
3959         * ParagraphList.C: prepare for NO_NEXT
3960
3961 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3962
3963         * text2.C (getFont): adjust
3964         (getLayoutFont): adjust
3965         (getLabelFont): adjust
3966
3967         * paragraph.C (getFont): adjust
3968         (getLabelFont): adjust
3969         (getLayoutFont): adjust
3970
3971         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3972
3973 2003-04-15  John Levon  <levon@movementarian.org>
3974
3975         From Angus Leeming
3976
3977         * lyx_main.C: handle Include in .ui files
3978
3979 2003-04-15  John Levon  <levon@movementarian.org>
3980
3981         * MenuBackend.C: make the doc files length shorter
3982
3983         * ToolbarBackend.h:
3984         * ToolbarBackend.C: handle toolbar placement flags,
3985         Minibuffer
3986
3987 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3988
3989         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3990         adjust
3991
3992         * paragraph_funcs.C (TeXOnePar): adjust
3993
3994         * paragraph.C (getLabelFont): add outerfont arg, adjust
3995         (getLayoutFont): ditto
3996         (simpleTeXOnePar): adjust
3997
3998         * paragraph_pimpl.C (realizeFont): delete func
3999
4000 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4001
4002         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4003         row argument, constify cur argument.
4004
4005 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4006
4007         * text2.C (getFont): adjust
4008         (getLayoutFont): adjust
4009         (getLabelFont): adjust
4010
4011         * paragraph_funcs.C (TeXOnePar): adjust
4012         (outerFont): new func...
4013         (realizeFont): ...moved out from here, changed this to facilitate
4014         transition
4015
4016         * paragraph.C (getFont): take outerfont as arg, adjust
4017         (simpleTeXOnePar): add outerfont arg, adjust
4018
4019         * buffer.C (simpleLinuxDocOnePar): adjust
4020         (simpleDocBookOnePar): adjust
4021
4022         * CutAndPaste.C (pasteSelection): adjust
4023
4024         * BufferView.C (getEncoding): adjust
4025
4026 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4027
4028         * text2.C (setCharFont): adjust
4029         (setCounter): adjust
4030
4031         * text.C (leftMargin): adjust
4032         (setHeightOfRow): adjust
4033
4034         * rowpainter.C (paintFirst): adjust
4035         (paintLast): adjust
4036
4037         * paragraph_pimpl.C (realizeFont): adjust
4038
4039         * paragraph.C (isFirstInSequence): move from here...
4040         * paragraph_funcs.C (isFirstInSequence): ...to here
4041
4042         * paragraph.C (outerHook): move from here...
4043         * paragraph_funcs.C (outerHook): ...to here
4044
4045         * paragraph.C (depthHook): move from here...
4046         * paragraph_funcs.C (depthHook): ...to here
4047
4048         * paragraph.C (getEndLabel): move from here...
4049         * paragraph_funcs.C (getEndLabel): ...to here
4050
4051         * text2.C (realizeFont): move from here...
4052         * paragraph_funcs.C (realizeFont): ...to here
4053
4054 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4055
4056         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4057
4058 2003-04-14  Angus Leeming  <leeming@lyx.org>
4059
4060         * LColor.[Ch]: scrap LColor mathcursor.
4061
4062 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4063
4064         * lyxlex.[Ch] (text): delete function
4065         * trans.C (Load): adjust
4066         * paragraph_funcs.C (readParToken): adjust
4067
4068 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4069
4070         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4071         vector<char> instead of a char[].
4072
4073         * lyxlex_pimpl.C (getString): adjust
4074         (next): adjust
4075         (lex): use getString
4076         (eatLine): adjust
4077         (nextToken): adjust
4078
4079         * lyxlex.C (text): use pimpl_->getString()
4080         (getBool): ditto
4081         (findToken): ditto
4082
4083 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4084
4085         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4086         (makeFontEntriesLayoutSpecific): temp var for par.size()
4087         (setLayout): temp var for ownerParagraphs().end()
4088         (fullRebreak): temp var for rows().end()
4089         (selectionAsString): temp var for boost::next(startpit), realize
4090         that the while really is a regular for loop.
4091         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4092         setCursor in one place.
4093         (setParagraph): temp vr for ownerParagraphs().end()
4094         (updateCounters): make the while loop a for loop
4095         (cutSelection): temp var for ownerParagraphs().end()
4096         (updateInset): make the do {} while() a regular for loop
4097         (getCursorX): use temp vars
4098         (setCurrentFont): use temp vars
4099         (getColumnNearX): use temp vars
4100
4101 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4102
4103         * text.C (transformChar): use temp var for getChar
4104         (computeBidiTables): use temp var for row->par()
4105         (fill): move temp vars for row->par() and pit->layout() earlier in
4106         the function.
4107         (labelFill): use temp var for row->par()
4108         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4109         asc and desc, realize that pit never changes and that firstpit is
4110         just a duplicate and not needed. Exchange rit->par() with pit in a
4111         lot of places.
4112         (breakAgain): use a temp var for boost::next(rit)
4113         (breakAgainOneRow): ditto
4114         (breakParagraph): use a temp var for rows().begin()
4115         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4116         (cursorRightOneWord): use temp var for cursor.par() and
4117         cursor.pos(), remove usage of tmpcursor.
4118         (cursorLeftOneWord): use temp var for cursor.par() and
4119         cursor.pos() only set cur at end of function.
4120
4121 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4122
4123         * text.C, text2.C: exchange all usage of Paragraph::next with
4124         boost::next(ParagraphList::iterator)
4125
4126         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4127
4128         * text2.C (cursorTop): simplify implementation
4129         (cursorBottom): ditto
4130         (setParagraph): use ParagraphList::iterator
4131         (setCurrentFont): adjust
4132         (getColumnNearX): adjust
4133         (cursorRight): adjust
4134         (cursorLeft): remove usage of Paragraph::previous
4135         (cursorUpParagraph): ditto
4136         (deleteEmptyParagraphMechanism): slight cleanup
4137
4138         * text.C (isBoundary): take a Paragraph const & instead of a
4139         pointer as arg.
4140         (addressBreakPoint): ditto
4141         (leftMargin): remove usage of Paragraph::previous.
4142         (setHeightOfRow): ditto
4143         (cursorLeftOneWord): ditto
4144         (selectNextWordToSpellcheck): ditto
4145         (Delete): ditto
4146         (backspace): ditto
4147         (breakParagraph): remove one usage of Paragraph::next
4148         (redoParagraph): ditto
4149         (acceptChange): ditto
4150         (insertChar): adjust
4151         (rowBreakPoint): adjust
4152
4153         * bufferview_funcs.C (toggleAndShow): adjust
4154
4155 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4156
4157         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4158         methods to access it.
4159         * lyxtext.h:
4160         * text.C: Added updateRowPositions to compute all row positions.
4161         Make top_y and getRowNearY() to use the cached y position
4162
4163 2003-04-11  John Levon  <levon@movementarian.org>
4164
4165         * text.C (rowBreakPoint): reintroduce the labelEnd
4166         checks, code copied from the row fill stuff. Deep voodoo.
4167
4168         * text.C (fill): add a comment and debugging for the
4169         next poor soul.
4170
4171 2003-04-11  John Levon  <levon@movementarian.org>
4172
4173         * text.C: make sure fullrow insets get wrapped to the next line,
4174         even when they're in a manual label
4175
4176 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4177
4178         * text2.C (insertParagraph): make it take ParagraphList::iterator
4179         as arg.
4180         (setLayout): make it return ParagraphList::iterator
4181         (redoParagraphs): ditto
4182         (setCounter): ditto
4183         (checkParagraph): ditto
4184
4185         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4186
4187         * text2.C: adjust several funcs.
4188         (realizeFont): take a ParagraphList::iterator as arg.
4189         (getLayoutFont): ditto
4190         (getLabelFont): ditto
4191         (setCharFont): ditto
4192
4193         * text.C: adjust several funcs.
4194
4195 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4196
4197         * text.C (selectNextWordToSpellcheck): don't accidentally
4198         skip insets
4199
4200 2003-04-10  John Levon  <levon@movementarian.org>
4201
4202         * ToolbarBackend.C (getIcon): special handling for
4203         LFUN_MATH_DELIM
4204
4205 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4206
4207         * text2.C (cursorRight): a getChar assert fixed
4208
4209 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4210
4211         * text2.C (getFont): change to take a ParagraphList::iterator
4212         instead of Paragraph*
4213         Adjust several functions.
4214
4215         * text.C (transformChar): change to take a ParagraphList::iterator
4216         instead of Paragraph*
4217         (singleWidth): ditto
4218         Adjust several functions.
4219
4220         * rowpainter.C: adjust several functions
4221         * rowpainter.h:store a ParagraphList::iterator and not a
4222         Paragraph&.
4223
4224
4225 2003-04-09  John Levon  <levon@movementarian.org>
4226
4227         * lyxfunc.C:
4228         * lfuns.h:
4229         * LyXAction.h:
4230         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4231         and the "help" bits as well
4232
4233 2003-04-09  John Levon  <levon@movementarian.org>
4234
4235         * ToolbarBackend.h:
4236         * ToolbarBackend.C: allow multiple toolbars
4237
4238 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4239
4240         * undo_funcs.C (setCursorParUndo): adjust
4241
4242         * text_funcs.C (transposeChars): adjust
4243
4244         * text3.C (gotoNextInset): adjust
4245         (dispatch): adjust
4246
4247         * text2.C (setLayout): adjust
4248         (changeDepth): adjust
4249         (setFont): adjust
4250         (redoParagraphs): adjust
4251         (selectionAsString): adjust
4252         (setParagraph): adjust
4253         (insertInset): adjust
4254         (cutSelection): adjust
4255         (copySelection): adjust
4256         (pasteSelection): adjust
4257         (insertStringAsLines): adjust
4258         (updateInset): adjust
4259         (setCursor): change to take a ParagraphList::iterator parameter
4260         (setCursorIntern): change to take a ParagraphList::iterator parameter
4261         (setCurrentFont): adjust
4262         (cursorLeft): adjust
4263         (cursorRight): adjust
4264         (deleteEmptyParagraphMechanism): adjust
4265
4266         * text.C (breakParagraph): adjust
4267         (insertChar): adjust
4268         (acceptChange): adjust
4269         (rejectChange): adjust
4270         (selectNextWordToSpellcheck): adjust
4271         (changeCase): adjust
4272         (Delete): adjust
4273         (backspace): adjust
4274
4275         * lyxfind.C (SearchForward): adjust
4276         (SearchBackward): adjust
4277         (nextChange): adjust
4278
4279         * lyxcursor.C (par): adjust
4280
4281         * lyxcursor.h: store a ParagraphList::iterator instead of a
4282         Paragraph*
4283
4284         * lyx_cb.C (getPossibleLabel): adjust
4285
4286         * bufferview_funcs.C (toggleAndShow): adjust
4287
4288         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4289         (dispatch): adjust
4290
4291         * BufferView.C (removeAutoInsets): adjust
4292         (lockedInsetStoreUndo): adjust
4293
4294 2003-04-09  John Levon  <levon@movementarian.org>
4295
4296         * ToolbarBackend.C: try icon without argument
4297         if with argument fails
4298
4299 2003-04-08  John Levon  <levon@movementarian.org>
4300
4301         * ToolbarBackend.h:
4302         * ToolbarBackend.C: add getIcon(), handle tooltip,
4303         and change from "Icon" to "Item".
4304
4305 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4306
4307         * BufferView.C (lockInset): another bad getchar crunched
4308
4309 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4310
4311         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4312         again)
4313
4314 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4315
4316         * lyxfind.C (searchForward, searchBackwards): bug 782
4317
4318 2003-04-07  John Levon  <levon@movementarian.org>
4319
4320         * paragraph.C: remove dead comment
4321
4322         * text.C: remove troublesome depth-fiddling code
4323         in leftMargin() and rightMargin() (bug 1017)
4324
4325         * text.C: fix breaking of rows in nested lists
4326         (bug 1004)
4327
4328         * text2.C (updateCounters): fix up depth values
4329         (bug 1013)
4330
4331 2003-04-07  John Levon  <levon@movementarian.org>
4332
4333         * BufferView_pimpl.C: clear message when doc finishes resizing,
4334         and after a mouse event
4335
4336         * lyxfunc.C: clear message after exiting inset
4337
4338 2003-04-07  John Levon  <levon@movementarian.org>
4339
4340         * bufferview_funcs.C: show math status not outside
4341         status in the statusbar
4342
4343 2003-04-07  John Levon  <levon@movementarian.org>
4344
4345         * lyxfunc.C: note status changed after a depth change
4346
4347 2003-04-04  Angus Leeming  <leeming@lyx.org>
4348
4349         * LaTeX.h: move AuxInfo operator==, != out of line.
4350         Remove LaTeX virtual destructor; nothing derives from it.
4351         Move operator()() out of public area and rename it startscript().
4352         Change protected for private.
4353
4354 2003-04-04  Angus Leeming  <leeming@lyx.org>
4355
4356         * lyxfunc.C:
4357         * text2.C: remove unneeded #includes.
4358
4359 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4360
4361         * text2.C (dEPM): fix the heigth of the next row
4362
4363 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4364
4365         * text.C: squashed an invalid getChar requester + some ws changes
4366
4367 2003-04-03  John Levon  <levon@movementarian.org>
4368
4369         * bufferview_funcs.h:
4370         * bufferview_funcs.C:
4371         * lyxfunc.C:
4372         * lyxtext.h:
4373         * text2.C: make getStatus work for the env depth lfuns
4374
4375 2003-04-03  John Levon  <levon@movementarian.org>
4376
4377         * bufferview_funcs.h:
4378         * bufferview_funcs.C:
4379         * lyxfunc.C:
4380         * lyxtext.h:
4381         * text2.C: parlistize decDepth(), by merging it with incDepth()
4382
4383 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4384
4385         * lyxrow.h: store a ParagraphList::iterator instead of a
4386         Paragraph* and adjust other class functions to suit.
4387
4388         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4389         above.
4390
4391 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4392
4393         * text2.C (setCursor): do not anchor to cursor row for the time being
4394
4395 2003-04-02  John Levon  <levon@movementarian.org>
4396
4397         * LyXAction.C:
4398         * lfuns.h:
4399         * lyx_main.C:
4400         * lyxtext.h:
4401         * text.C:
4402         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4403
4404 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4405
4406         * paragraph.h: make ParagraphList and ParagraphList::iterator
4407         friends of Paragraph.
4408
4409         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4410
4411         * ParagraphList.C: Use the private next_ and previous_ from
4412         Paragraph.
4413
4414 2003-04-01  John Levon  <levon@movementarian.org>
4415
4416         * ToolbarBackend.h:
4417         * ToolbarBackend.C:
4418         * Makefile.am: rename, remove defaults gunk
4419
4420         * MenuBackend.h:
4421         * MenuBackend.C: remove defaults gunk
4422
4423         * Languages.h:
4424         * Languages.C: remove defaults gunk
4425
4426         * lyx_main.h:
4427         * lyx_main.C: error out if files couldn't be found.
4428
4429 2003-04-02  John Levon  <levon@movementarian.org>
4430
4431         * text2.C: make incDepth() use parlist
4432
4433 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4434
4435         * undo_funcs.C (firstUndoParagraph): adjust
4436
4437         * text3.C (gotoInset): adjust
4438         (dispatch): adjust, and rewrite loop.
4439
4440         * text2.C (init): adjust, and rewrite loop.
4441         (redoParagraphs): adjust
4442         (updateInset): adjust, and rewrite loop.
4443         (deleteEmptyParagraphMechanism): adjust
4444
4445         * tabular.C (LyXTabular): adjust
4446         (SetMultiColumn): adjust
4447         (TeXRow): adjust
4448
4449         * lyxtext.[Ch] (ownerParagraph): delete function
4450         (ownerParagraphs): new function returns a ParagraphList.
4451
4452         * BufferView.C (removeAutoInsets): adjust
4453         (insertErrors): adjust
4454         (setCursorFromRow): adjust
4455
4456 2003-04-01  Angus Leeming  <leeming@lyx.org>
4457
4458         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4459         in the frontends.
4460
4461 2003-04-02  John Levon  <levon@movementarian.org>
4462
4463         * lyxtext.h:
4464         * text.C:
4465         * Makefile.am:
4466         * text_funcs.h:
4467         * text_funcs.C: make transposeChars a free function
4468
4469         * lyxrow_funcs.C: remove wrong comment
4470
4471 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4472
4473         * lyxtext.h: adjust
4474         * rowpainter.C: adjust
4475         * text.C: adjust
4476         * text2.C: adjust
4477         * text3.C: adjust
4478
4479         * lyxrow_funcs. [Ch]: new files
4480
4481         * lyxrow.[Ch]: remove next and previous pointers
4482         (next,previous): remove accessor functions
4483         (isParEnd): move to lyxrow_funcs
4484         (lastPos): move to lyxrow_funcs
4485         (nextRowIsAllInset): move to lyxrow_funcs
4486         (lastPrintablePos): move to lyxrow_funcs
4487         (numberOfSeparators): move to lyxrow_funcs
4488         (numberOfHfills): move to lyxrow_funcs
4489         (numberOfLabelHfills): move to lyxrow_funcs
4490         (hfillExpansion): move to lyxrow_funcs
4491
4492         * lyxfunc.C: adjust
4493
4494         * bufferview_funcs.C (toggleAndShow): adjust
4495
4496         * RowList.h: Remove class RowList from file leave just a
4497         std::list<Row>.
4498
4499         * RowList.C: delete file
4500
4501         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4502         and lyxrow_funcs.h
4503
4504 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4505
4506         * text3.C (cursorPrevious): adjust
4507         (cursorNext): adjust
4508         (dispatch): adjust
4509
4510         * text2.C (redoHeightOfParagraph): adjust
4511         (redoDrawingOfParagraph): adjust
4512         (setCursor): adjust
4513
4514         * text.C (breakParagraph): adjust
4515         (insertChar): adjust
4516         (backspace): adjust
4517
4518         * rowpainter.C (RowPainter): adjust
4519         (leftMargin): simplify and adjust
4520         (most rowpainter functions): adjust.
4521
4522         * rowpainter.h: store the row as RowList::iterator not as Row*
4523
4524         * lyxcursor.C (row): taka RowList::iterator as arg
4525         (irow): ditto
4526
4527         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4528         of Row*.
4529
4530 2003-04-01  Angus Leeming  <leeming@lyx.org>
4531
4532         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4533         stuff like bool Bool.
4534
4535 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4536
4537         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4538         rewrite a loop
4539
4540 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4541
4542         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4543         RowList::iterator.
4544
4545         * lyxtext.h (rows): drop one version and leve a const variant that
4546         returns a RowList::iterator.
4547
4548 2003-03-31  Angus Leeming  <leeming@lyx.org>
4549
4550         * text.C (fill): ensure that the signature is the same as that in the
4551         header file.
4552
4553 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4554
4555         * text2.C (redoParagraphs): adjust
4556         (updateCounters): adjust
4557         (checkParagraph): adjust
4558         (getColumnNearX): adjust and reformat a bit.
4559
4560         * text.C (top_y): adjust
4561         (workWidth): adjust
4562         (leftMargin): adjust
4563         (prepareToPrint): adjust
4564         (getRow): adjust
4565         (getRowNearY): adjust
4566
4567         * lyxtext.h: make rowlist_ mutable.
4568
4569         * RowList.h: add const_iterator
4570         * RowList.C: adjust for RowList::const_iterator.
4571
4572         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4573         adjust.
4574
4575 2003-03-31  John Levon  <levon@movementarian.org>
4576
4577         * lyxrc.h:
4578         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4579
4580         * lyx_main.C: set default fonts from using lyx_gui funcs
4581
4582         * exporter.C: pdf_mode moved from lyxrc
4583
4584         * lyx_cb.C:
4585         * lyxfunc.C: changes from above
4586
4587 2003-03-31  John Levon  <levon@movementarian.org>
4588
4589         * lyx_main.C: fix to the last fix
4590
4591 2003-03-31  John Levon  <levon@movementarian.org>
4592
4593         * bufferlist.C: "Load original" -> "Load Original"
4594
4595         * converter.C:
4596         * exporter.C:
4597         * importer.C:
4598         * lyx_main.C:
4599         * format.C: more Alert cleanups
4600
4601 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4602
4603         * text2.C (removeParagraph): make it take a RowList::iterator as
4604         arg, adjust.
4605         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4606         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4607
4608         * text.C (anchor_row): make it take a RowList::iterator as arg,
4609         adjust.
4610         (computeBidiTables): make it take a const reference to Row instead
4611         of Row pointer, adjust.
4612         (leftMargin): make it take a RowList::iterator as arg, adjust.
4613         (rowBreakPoint): adjust
4614         (breakAgainOneRow): make it take a RowList::iterator as arg,
4615         adjust.
4616         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4617
4618         * bufferview_funcs.C (toggleAndShow): adjust
4619
4620 2003-03-30  John Levon  <levon@movementarian.org>
4621
4622         * Makefile.am:
4623         * BoostFormat.h:
4624         * boost-inst.C: moved to support
4625
4626         * several files: changes as a result
4627
4628 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4629
4630         * text2.C (LyXText): adjust.
4631         (init): adjust
4632         (removeRow): make it take a RowList::iterator as arg, adjust.
4633         (fullRebreak): adjust
4634         (deleteEmptyParagraphMechanism): adjust
4635         (clearPaint): adjust
4636         (postPaint): adjust
4637
4638         * text.C (top_y): adjust
4639         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4640         (breakAgain): make it take a RowList::iterator as arg, adjust.
4641         (breakParagraph): adjust
4642         (insertChar): adjust
4643         (backspace): adjust
4644
4645         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4646         need_break_row, and refresh_row.
4647
4648         * text3.C (dispatch): adjust
4649
4650         * text2.C (checkParagraph): adjust
4651         (setCursor): adjust
4652         (setCursorFromCoordinates): adjust
4653
4654         * text.C (top_y): adjust
4655         (workWidth): adjust
4656         (getRow): make it return a RowList::iterator, adjust
4657         (getRowNearY): make it return a RowList::iterator, adjust
4658
4659         * text2.C (init): adjust
4660         (insertRow): remove function
4661         (insertParagraph): adjust
4662         (redoParagraphs): adjust
4663         (fullRebreak): adjust
4664         (updateCounters): adjust
4665
4666         * text.C (top_y): rewrite to use RowList iterators.
4667         (top_y): adjust
4668         (setHeightOfRow): rewrite to sue RowList iterators.
4669         (appendParagraph): adjust
4670         (breakAgain): adjust
4671         (breakAgainOneRow): adjust
4672         (breakParagraph): adjust
4673         (getRow): adjust
4674         (getRowNearY): adjust, and remove commented code.
4675
4676         * lyxtext.h (firstRow): delete function
4677         (lastRow): delete function
4678         (rows): new function (const and non-const versions.)
4679         (insertRow): delete function
4680
4681         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4682
4683 2003-03-29  John Levon  <levon@movementarian.org>
4684
4685         * BufferView_pimpl.C: always update scrollbar top
4686         because pasting text when we're anchored could mean we
4687         miss an update altogether
4688
4689 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4690
4691         * text2.C (init): use rowlist_.end() and not 0.
4692         (insertRow): change to take a RowList::iterator as arg, adjust
4693         for this.
4694         (insertParagraph): change to take a RowList::iterator as arg,
4695         adjust for this.
4696         (redoParagraphs): remove some debug msgs.
4697
4698         * text.C (appendParagraph): change to take a RowList::iterator
4699         arg, adjust for this.
4700         (breakAgain): add an assert
4701         (breakAgainOneRow): ditto
4702
4703 2003-03-29  John Levon  <levon@movementarian.org>
4704
4705         * text2.C: do not clear selection after inc/decDepth
4706         (bug 550)
4707
4708 2003-03-29  John Levon  <levon@movementarian.org>
4709
4710         * BufferView.C:
4711         * buffer.C: fix broken strerrors according to Lars
4712
4713 2003-03-29  John Levon  <levon@movementarian.org>
4714
4715         * converters.C: more Alert cleanups
4716
4717 2003-03-29  John Levon  <levon@movementarian.org>
4718
4719         * bufferview_funcs.C: remove pointless Alert
4720
4721         * buffer.C: fix confusing error message when
4722         a template is chmoded 000
4723
4724 2003-03-29  John Levon  <levon@movementarian.org>
4725
4726         * BufferView.C:
4727         * BufferView.h:
4728         * BufferView_pimpl.C: Alert fixes
4729
4730         * Makefile.am:
4731         * tabular.C:
4732         * tabular-old.C: remove unused table compat reading
4733
4734 2003-03-29  John Levon  <levon@movementarian.org>
4735
4736         * BufferView.C:
4737         * buffer.C:
4738         * lyx_cb.h:
4739         * lyx_cb.C: more Alert cleanups
4740
4741         * lyxfunc.C: don't allow chktex if not latex document
4742
4743 2003-03-29  John Levon  <levon@movementarian.org>
4744
4745         * lyx_cb.C:
4746         * BufferView.C:
4747         * buffer.C: warnings pushed down from support/,
4748         kill err_alert
4749
4750 2003-03-29  John Levon  <levon@movementarian.org>
4751
4752         * lyxfunc.C: safety check for C-r (revert)
4753
4754 2003-03-29  John Levon  <levon@movementarian.org>
4755
4756         * bufferlist.h:
4757         * bufferlist.C: several UI fixes using Alert::prompt.
4758         Fix the pointless looping quit code. Fix stupid revert
4759         behaviour (bug 938)
4760
4761         * lyxvc.h:
4762         * lyxvc.C:
4763         * lyx_cb.C: use Alert::prompt
4764
4765         * lyx_main.C: remove a silly question
4766
4767         * lyxfunc.C: remove a couple of silly questions,
4768         use Alert::prompt
4769
4770 2003-03-28  John Levon  <levon@movementarian.org>
4771
4772         * text2.C: fix bug 974 (End on empty par)
4773
4774 2003-03-28  John Levon  <levon@movementarian.org>
4775
4776         * BufferView_pimpl.C:
4777         * LyXAction.C:
4778         * lfuns.h: remove do-nothing math greek lfuns
4779
4780 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4781
4782         * lyxgluelength.h (isValidGlueLength): add default arg on
4783         parameter 2. Remove default arg from friend in class.
4784
4785         * lyxlength.h (isValidLength): add default arg on parameter 2.
4786         Remove default arg from friend in class.
4787
4788         * text2.C (LyXText): adjust, initialize refresh_row.
4789         (init): adjust
4790         (removeRow): adjust
4791         (insertRow): adjust
4792         (insertParagraph): adjst
4793         (redoParagraphs): adjust
4794         (fullRebreak): adjust
4795         (updateCounters): adjust
4796         (deleteEmptyParagraphMechanism): first attempt at fixing a
4797         crashing bug.
4798
4799         * text.C (top_y): adjust
4800         (setHeightOfRow): adjust
4801         (getRow): adjust
4802         (getRowNearY): adjust
4803
4804         * lyxtext.h: include RowList.h
4805         (~LyXText): not needed anymore, deleted.
4806         (firstRow): modify for RowList
4807         (lastRow): new function
4808         Delete firstrow and lastrow class variables, add a Rowlist
4809         rowlist_ class variable.
4810
4811         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4812         paragraph is empty.
4813
4814         * RowList.C (insert): fix case where it == begin().
4815
4816 2003-03-26  Angus Leeming  <leeming@lyx.org>
4817
4818         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4819         the thesaurus dialog.
4820
4821 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4822
4823         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4824
4825         * RowList.[Ch]: new files
4826
4827         * ParagraphList.C (erase): handle the case where it == begin
4828         correctly.
4829
4830 2003-03-25  John Levon  <levon@movementarian.org>
4831
4832         * Makefile.am:
4833         * aspell_local.h:
4834         * aspell.C: add new aspell support
4835
4836         * lyxrc.h:
4837         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4838         have it accessible.
4839
4840 2003-03-25  Angus Leeming  <leeming@lyx.org>
4841
4842         * lfuns.h:
4843         * LyXAction.C (init): new LFUN_INSET_INSERT.
4844
4845         * BufferView_pimpl.C (dispatch): split out part of the
4846         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4847
4848         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4849         LFUN_INSET_APPLY.
4850
4851 2003-03-25  Angus Leeming  <leeming@lyx.org>
4852
4853         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4854
4855 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4856
4857         * text2.C:
4858         * text3.C: remove useless row->height(0)
4859
4860 2003-03-25  John Levon  <levon@movementarian.org>
4861
4862         * lyxtext.h:
4863         * text2.C:
4864         * text3.C: rename the refreshing stuff to better names
4865
4866 2003-03-24  John Levon  <levon@movementarian.org>
4867
4868         * BufferView_pimpl.h:
4869         * BufferView_pimpl.C: update layout choice on a mouse
4870         press/release
4871
4872 2003-03-23  John Levon  <levon@movementarian.org>
4873
4874         * Makefile.am: fix commandtags.h reference
4875
4876 2003-03-22  John Levon  <levon@movementarian.org>
4877
4878         * BufferView_pimpl.C:
4879         * lyxtext.h:
4880         * rowpainter.C:
4881         * rowpainter.h:
4882         * text.C:
4883         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4884
4885 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4886
4887         * lyxtext.h:
4888         * text.C: take the rtl methods out of line
4889
4890 2003-03-21 André Pönitz <poenitz@gmx.net>
4891
4892         * metricsinfo.[Ch]: new files containing structures to be passed around
4893         during the two-phase-drawing...
4894
4895 2003-03-21 André Pönitz <poenitz@gmx.net>
4896
4897         * lyxtextclass.C: read 'environment' tag.
4898
4899 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4900
4901         * text2.C (removeRow): fix bug 964
4902
4903 2003-03-20  John Levon  <levon@movementarian.org>
4904
4905         * rowpainter.C:
4906         * text.C:
4907         * text2.C: paint cleanups. Inset::update() dropped font
4908         parameter
4909
4910 2003-03-19  John Levon  <levon@movementarian.org>
4911
4912         * lyxfunc.C: only fitcursor/markDirty if available()
4913
4914 2003-03-19  John Levon  <levon@movementarian.org>
4915
4916         * commandtags.h: rename to ...
4917
4918         * lfuns.h: ... this, and renumber / cleanup
4919
4920 2003-03-19  John Levon  <levon@movementarian.org>
4921
4922         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4923         fit the cursor after an lfun
4924
4925         * BufferView.h:
4926         * BufferView.C:
4927         * BufferView_pimpl.h:
4928         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4929
4930         * LyXAction.C: layout-character should have ReadOnly
4931
4932         * ParagraphParameters.C:
4933         * buffer.C:
4934         * bufferview_funcs.C:
4935         * lyx_cb.C:
4936         * lyxfind.C:
4937         * lyxtext.h:
4938         * text.C:
4939         * text2.C:
4940         * text3.C:
4941         * undo_funcs.C: changes from above
4942
4943 2003-03-18  John Levon  <levon@movementarian.org>
4944
4945         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4946         remove it from update()
4947
4948         * lyxfunc.C: update layout choice after an lfun
4949
4950         * text3.C: remove extra updateLayoutChoice()s
4951
4952 2003-03-18  John Levon  <levon@movementarian.org>
4953
4954         * text.C: top_y change means full repaint, fix
4955         a drawing bug with cursor movement
4956
4957 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4958
4959         * lyxtext.h:
4960         * text.C:
4961         * text2.C: anchor row on setCursor
4962
4963 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4964
4965         * lyxtext.h: remove almost all mutable keywords
4966         * text.C:
4967         * text2.C:
4968         * text3.C: remove const keywords accordingly
4969
4970 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4971
4972         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4973         anon namespace
4974         (TeXEnvironment): ditto
4975         (TeXOnePar): ditto
4976
4977 2003-03-17  John Levon  <levon@movementarian.org>
4978
4979         * text.C (rowBreakPoint): remove attempt to fix displayed
4980         math insets inside a manual label
4981
4982 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4983
4984         * lyxtext.h: remove BufferView* as first arg from almost all class
4985         functions.
4986         * other files: adjust.
4987
4988 2003-03-17  John Levon  <levon@movementarian.org>
4989
4990         * lyxtext.h:
4991         * undo_funcs.C:
4992         * text2.C: more paint cleanups
4993
4994         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4995
4996         * rowpainter.h:
4997         * rowpainter.C: remove "smart" background painting code
4998
4999 2003-03-16  John Levon  <levon@movementarian.org>
5000
5001         * lyxtext.h:
5002         * text.C:
5003         * text2.C:
5004         * text3.C: add helper functions for setting refresh_row/y
5005
5006 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5007
5008         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5009         newline inset which *can* get inserted in the pass_thru layouts.
5010         This is primarily for literate documents.
5011
5012 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5013
5014         * buffer.C: increment LYX_FORMAT to 223
5015
5016 2003-03-14 André Pönitz <poenitz@gmx.net>
5017
5018         * textclass.h: prepare for environment handling, ws changes
5019         * lyxlayout.C: read latexheader and latexfooter tags
5020
5021 2003-03-14  John Levon  <levon@movementarian.org>
5022
5023         * text2.C: rewrite ::status() a bit
5024
5025 2003-03-13  John Levon  <levon@movementarian.org>
5026
5027         * lyxtext.h: add some docs
5028
5029 2003-03-13  John Levon  <levon@movementarian.org>
5030
5031         * lyxtext.h:
5032         * text.C:
5033         * text2.C:
5034         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5035
5036 2003-03-13  John Levon  <levon@movementarian.org>
5037
5038         * text3.C: fix appendix redrawing
5039
5040 2003-03-13  John Levon  <levon@movementarian.org>
5041
5042         * text.C (setHeightOfRow):
5043         * rowpainter.h:
5044         * rowpainter.C: make appendix mark have the text
5045           "Appendix" so the user knows what it is
5046
5047         * LColor.h:
5048         * LColor.C: s/appendixline/appendix/ from above
5049
5050 2003-03-13  John Levon  <levon@movementarian.org>
5051
5052         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5053
5054         * text.C: fix a getChar(pos) bug properly
5055
5056 2003-03-13  Angus Leeming  <leeming@lyx.org>
5057
5058         * commandtags.h:
5059         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5060         Probably only temporary. Let's see how things pan out.
5061
5062         * BufferView.C (unlockInset):
5063         * BufferView_pimpl.C (fitCursor):
5064         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5065
5066         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5067         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5068
5069         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5070         new functions that convert ParagraphParameters to and from a string.
5071
5072         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5073         BufferView::Pimpl's dispatch.
5074         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5075
5076 2003-03-13 André Pönitz <poenitz@gmx.net>
5077
5078         * lyxfunc.C:
5079         * text3.C:
5080         * factory.C: make it aware of InsetEnv
5081
5082 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5083
5084         * text2.C (setCursor): never ask for one past last
5085         (setCursor): add some debugging messages.
5086
5087         * text.C (singleWidth): never ask for one past last
5088         (singleWidth): ditto
5089         (leftMargin): ditto
5090         (rightMargin): ditto
5091         (rowBreakPoint): ditto
5092         (setHeightOfRow): ditto
5093         (prepareToPrint): ditto
5094
5095         * rowpainter.C (paintBackground): never ask for one past last
5096         (paintText): never ask for one past last
5097
5098         * paragraph_pimpl.C (getChar): make the assert stricter, never
5099         allow the one past last pos to be taken
5100
5101         * paragraph.C (getChar): ws changes only
5102
5103         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5104         (numberOfSeparators): ditto
5105         (numberOfHfills): ditto
5106
5107 2003-03-12  John Levon  <levon@movementarian.org>
5108
5109         * author.h:
5110         * author.C:
5111         * bufferparams.h:
5112         * bufferparams.C:
5113         * paragraph_funcs.C: fix per-buffer authorlists
5114
5115 2003-03-12  John Levon  <levon@movementarian.org>
5116
5117         * text.C: fix newline in right address
5118
5119 2003-03-12  Angus Leeming  <leeming@lyx.org>
5120
5121         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5122         duplicate those in LyXFunc::dispatch.
5123
5124         * commandtags.h:
5125         * LyXAction.C:
5126         * ToolbarDefaults.C:
5127         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5128         Add LFUN_FONTFREE_UPDATE.
5129
5130         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5131         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5132
5133         * bufferview_func.[Ch]: several new functions to facilliate
5134         transfer of data to and from the character dialog.
5135
5136 2003-03-12  John Levon  <levon@movementarian.org>
5137
5138         * buffer.C:
5139         * paragraph.h:
5140         * paragraph.C:
5141         * paragraph_funcs.C:
5142         * paragraph_pimpl.C:
5143         * sgml.C:
5144         * tabular.C:
5145         * text.C:
5146         * text3.C: remove META_NEWLINE in favour of an inset
5147
5148         * rowpainter.h:
5149         * rowpainter.C: remove paintNewline (done by inset)
5150
5151 2003-03-12  John Levon  <levon@movementarian.org>
5152
5153         * paragraph_pimpl.C: complain about bad getChar()s
5154         for a while at least
5155
5156 2003-03-12  John Levon  <levon@movementarian.org>
5157
5158         * buffer.h:
5159         * buffer.C: move paragraph read into a separate function,
5160         a little renaming to reflect that.
5161
5162         * bufferparams.h:
5163         * bufferparams.C: remove the author_ids map, not necessary now
5164
5165         * factory.h:
5166         * factory.C: moved Buffer::readInset to here
5167
5168         * paragraph_funcs.h:
5169         * paragraph_funcs.C: readParagraph free function moved from
5170         buffer.C
5171
5172         * tabular.C: name change
5173
5174 2003-03-12  John Levon  <levon@movementarian.org>
5175
5176         * buffer.C:
5177         * ParagraphParameters.C: move par params input to
5178         a read() method
5179
5180         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5181         behave like a normal read from the stream wrt reading
5182         a line vs. a \\token
5183
5184 2003-03-12  John Levon  <levon@movementarian.org>
5185
5186         * paragraph.C:
5187         * ParagraphParameters.h:
5188         * ParagraphParameters.C: move output code to a
5189         ::write() method
5190
5191 2003-03-12  John Levon  <levon@movementarian.org>
5192
5193         * BufferView.C (insertLyXFile):
5194         * buffer.h:
5195         * buffer.C:
5196         * tabular.C: use a parlist iterator for creating the
5197           document.
5198
5199 2003-03-12  John Levon  <levon@movementarian.org>
5200
5201         * buffer.C: make current_change static local not
5202           static file-scope
5203
5204 2003-03-12  John Levon  <levon@movementarian.org>
5205
5206         * buffer.C: fix insertStringAsLines for change tracking
5207
5208 2003-03-12  John Levon  <levon@movementarian.org>
5209
5210         * BufferView.C:
5211         * tabular.C:
5212         * buffer.h:
5213         * buffer.C:
5214         * bufferparams.h:
5215         * bufferparams.C: move author list into params. Rename some
5216           functions. Move the header reading into a separate token
5217           loop. Move the header token reading into BufferParams.
5218
5219 2003-03-12  John Levon  <levon@movementarian.org>
5220
5221         * changes.C: put debug inside lyxerr.debugging() checks
5222
5223 2003-03-11 André Pönitz <poenitz@gmx.net>
5224
5225         * factory.C: make it aware of InsetHFill
5226
5227 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5228
5229         * buffer.C (latexParagraphs): move function from here...
5230         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5231         args.
5232
5233 2003-03-10  Angus Leeming  <leeming@lyx.org>
5234
5235         * LyXAction.C (init): fix bug in poplating array with multiple entries
5236         with the same LFUN (spotted by JMarc).
5237
5238 2003-03-10  John Levon  <levon@movementarian.org>
5239
5240         * text.C:
5241         * text2.C: move getColumnNearX() near its
5242         only call site
5243
5244 2003-03-10  John Levon  <levon@movementarian.org>
5245
5246         * text.C: fix break before a minipage
5247
5248 2003-03-10  John Levon  <levon@movementarian.org>
5249
5250         * text.C: fix the last commit
5251
5252 2003-03-09  John Levon  <levon@movementarian.org>
5253
5254         * lyxtext.h:
5255         * text.C:
5256         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5257         bug 365 (don't break before insets unless needed). Don't
5258         return a value > last under any circumstances.
5259
5260 2003-03-09  Angus Leeming  <leeming@lyx.org>
5261
5262         * BufferView_pimpl.C (trackChanges, dispatch): call
5263         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5264
5265 2003-03-09  Angus Leeming  <leeming@lyx.org>
5266
5267         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5268         than Dialogs::showAboutlyx().
5269
5270 2003-03-09  Angus Leeming  <leeming@lyx.org>
5271
5272         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5273         than Dialogs::showTabularCreate().
5274
5275 2003-03-09  John Levon  <levon@movementarian.org>
5276
5277         * lyxtext.h:
5278         * text.C:
5279         * text2.C: 3rd arg to nextBreakPoint was always the same.
5280           Use references.
5281
5282 2003-03-08  John Levon  <levon@movementarian.org>
5283
5284         * lyxrow.C:
5285         * paragraph.C:
5286         * paragraph.h:
5287         * rowpainter.C:
5288         * text.C:
5289         * text2.C: Remove the "main" bit from the "main body"
5290           notion.
5291
5292 2003-03-08  John Levon  <levon@movementarian.org>
5293
5294         * text.C (leftMargin): The left margin of an empty
5295         manual label paragraph should not include the label width
5296         string length.
5297
5298         * text.C (prepareToPrint): don't attempt to measure hfills
5299         for empty manual label paragraphs - the answer should be 0
5300
5301 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5302
5303         * CutAndPaste.C: remove commented code and reindent.
5304
5305 2003-03-08  John Levon  <levon@movementarian.org>
5306
5307         * lyxfunc.h:
5308         * lyxfunc.C: move reloadBuffer()
5309
5310         * BufferView.h:
5311         * BufferView.C: to here
5312
5313         * lyxvc.C: add comment
5314
5315         * vc-backend.h:
5316         * vc-backend.C: call bv->reload() to avoid
5317           getStatus() check on MENURELOAD
5318
5319 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5320
5321         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5322         to an old format .dep file.
5323
5324 2003-03-07  Angus Leeming  <leeming@lyx.org>
5325
5326         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5327         when the LFUN_MOUSE_RELEASE should have been handled by
5328         inset->localDispatch.
5329
5330 2003-03-07  Angus Leeming  <leeming@lyx.org>
5331
5332         * BufferView_pimpl.C (dispatch):
5333         * LyXAction.C (init):
5334         * ToolbarDefaults.C (init):
5335         * commandtags.h:
5336         * lyxfunc.C (getStatus):
5337         remove LFUN_INSET_GRAPHICS.
5338
5339         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5340
5341 2003-03-07  Angus Leeming  <leeming@lyx.org>
5342
5343         * commandtags.h:
5344         * LyXAction.C (init):
5345         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5346
5347         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5348
5349         * commandtags.h:
5350         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5351
5352         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5353         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5354
5355 2003-03-07  Angus Leeming  <leeming@lyx.org>
5356
5357         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5358         remove "ert".
5359
5360 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5361
5362         * ParagraphList.C (front): new function
5363         (back): implement
5364
5365 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5366
5367         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5368         and top_row_offset_. removed var first_y.
5369         * text.C (top_y):
5370         * text2.C (LyXText, removeRow):
5371         * text3.C:
5372         * BufferView_pimpl.C:
5373         use these methods instead of using first_y
5374
5375 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5376
5377         * text2.C (pasteSelection): adjust for checkPastePossible
5378
5379         * CutAndPaste.C: remove Paragraph * buf and replace with
5380         ParagraphList paragraphs.
5381         (DeleteBuffer): delete
5382         (cutSelection): change the tc type to textclass_type
5383         (copySelection): change the tc type to textclass_type
5384         (copySelection): adjust for ParagraphList
5385         (pasteSelection): change the tc type to textclass_type
5386         (pasteSelection): adjust for Paragraphlist
5387         (nrOfParagraphs): simplify for ParagraphList
5388         (checkPastePossible): simplify for ParagraphList
5389         (checkPastePossible): remove unused arg
5390
5391         * ParagraphList.C (insert): handle the case where there are no
5392         paragraphs yet.
5393
5394         * CutAndPaste.h: make CutAndPaste a namespace.
5395
5396         * text3.C (dispatch): adjust
5397
5398         * text.C (breakParagraph): add a ParagraphList as arg
5399
5400         * paragraph_funcs.C (breakParagraph): change to take a
5401         BufferParams and a ParagraphList as args.
5402         (breakParagraphConservative): ditto
5403         (mergeParagraph): ditto
5404         (TeXDeeper): add a ParagraphList arg
5405         (TeXEnvironment): ditto
5406         (TeXOnePar): ditto
5407
5408         * buffer.C (readLyXformat2): adjust
5409         (insertStringAsLines): adjust
5410         (latexParagraphs): adjust
5411
5412         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5413         (cutSelection): adjust
5414         (pasteSelection): adjust
5415
5416         * BufferView_pimpl.C (insertInset): adjust
5417
5418 2003-03-05  Angus Leeming  <leeming@lyx.org>
5419
5420         * commandtags.h:
5421         * LyXAction.C (init):
5422         * BufferView_pimpl.C (dispatch):
5423         * lyxfunc.C (getStatus):
5424         remove LFUN_CHILD_INSERT.
5425
5426         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5427
5428 2003-03-05  Angus Leeming  <leeming@lyx.org>
5429
5430         * commandtags.h:
5431         * LyXAction.C (init):
5432         * src/factory.C (createInset):
5433         * lyxfunc.C (getStatus):
5434         * text3.C (dispatch):
5435         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5436
5437         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5438
5439 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5440
5441         * ParagraphList.C (insert): handle insert right before end()
5442         (erase): fix cases where it can be first or last paragraph.
5443
5444 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5445
5446         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5447         Paragraph::next and Paragraph::previous
5448         (TeXOnePar): ditto
5449
5450         * text.C (breakParagraph): adjust
5451
5452         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5453         BufferParams& as arg.
5454         (breakParagraph): use ParagraphList::insert
5455         (breakParagraphConservative): take a Buffer* instead of a
5456         BufferParams& as arg.
5457         (breakParagraphConservative): use ParagraphList::insert.
5458
5459         * buffer.C (insertStringAsLines): un-const it
5460         (insertStringAsLines): adjust
5461
5462         * ParagraphList.C (insert): new function
5463
5464         * CutAndPaste.C (pasteSelection): adjust
5465
5466         * text.C (backspace): adjust
5467
5468         * tabular.C (SetMultiColumn): adjust
5469
5470         * CutAndPaste.C (cutSelection): adjust
5471         (pasteSelection): adjust
5472
5473         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5474         Buffer const * as arg
5475
5476         * ParagraphList.C (erase): new function
5477         * paragraph_funcs.C (mergeParagraph): use it
5478         (mergeParagraph): make it take a Buffer* instead of a
5479         BufferParams* as arg
5480
5481         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5482         as arg
5483         (breakParagraphConservative): ditto
5484
5485         * paragraph.h: remove the breakParagraph friend
5486
5487         * paragraph.C (eraseIntern): new function
5488         (setChange): new function
5489
5490         * paragraph_funcs.C (mergeParagraph): make it take a
5491         ParagraphList::iterator instead of a Paragraph *, adjust
5492         accordingly.
5493
5494         * paragraph.h: move an #endif so that the change tracking stuff
5495         also works in the NO_NEXT case.
5496
5497 2003-03-04  Angus Leeming  <leeming@lyx.org>
5498
5499         * commandtags.h:
5500         * LyXAction.C: new LFUN_INSET_MODIFY.
5501
5502         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5503         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5504
5505 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5506
5507         * several files: ws changes only
5508
5509         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5510         (TeXEnvironment): ditto
5511         (TeXDeeper): ditto
5512
5513         * buffer.C (makeLaTeXFile): adjust
5514         (latexParagraphs): make it take ParagraphList::iterator as args
5515
5516 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5517
5518         * buffer.C (latexParagraphs): adjust
5519
5520         * paragraph.C (TeXOnePar): move function...
5521         (optArgInset): move function...
5522         (TeXEnvironment): move function...
5523         * paragraph_pimpl.C (TeXDeeper): move function...
5524         * paragraph_funcs.C: ...here
5525
5526         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5527
5528 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5529
5530         * buffer.C (readInset): remove compability code for old Figure and
5531         InsetInfo insets
5532
5533 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5534
5535         * buffer.C: ws changes
5536         (readInset):
5537
5538         * BufferView_pimpl.C: ditto
5539         * author.C: ditto
5540         * buffer.h: ditto
5541         * bufferlist.h: ditto
5542         * changes.h: ditto
5543         * lyxfunc.C: ditto
5544
5545 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5546
5547         * converter.[Ch]: split into itself +
5548         * graph.[Ch]
5549         * format.[Ch]
5550         * Makefile.am: += graph.[Ch] + format.[Ch]
5551         * MenuBackend.C
5552         * buffer.C
5553         * exporter.C
5554         * importer.C
5555         * lyx_main.C
5556         * lyxfunc.C
5557         * lyxrc.C: added #include "format.h"
5558
5559 2003-02-27  Angus Leeming  <leeming@lyx.org>
5560
5561         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5562           a label.
5563
5564         * factory.C (createInset): add "label" to the factory.
5565
5566         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5567           string and do no more.
5568
5569 2003-02-27  Angus Leeming  <leeming@lyx.org>
5570
5571         * commandtags.h:
5572         * LyXAction.C (init):
5573         * factory.C (createInset):
5574         * BufferView_pimpl.C (dispatch):
5575           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5576
5577         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5578
5579         * lyxfunc.C (dispatch):
5580         * text3.C (dispatch): pass name to params2string.
5581
5582 2003-02-26  Angus Leeming  <leeming@lyx.org>
5583
5584         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5585           blocks together.
5586           Rearrange the ~includes. Strip out the unnecessary ones.
5587
5588         * factory.C (createInset): reformat.
5589           create new insets for the various LFUN_XYZ_APPLY lfuns.
5590
5591 2003-02-26  John Levon  <levon@movementarian.org>
5592
5593         * lyxrow.h:
5594         * lyxrow.C: add isParStart,isParEnd helpers
5595
5596         * paragraph.h: make isInserted/DeletedText take refs
5597
5598         * paragraph_funcs.h:
5599         * paragraph_funcs.C: remove #if 0'd code
5600
5601         * lyxtext.h:
5602         * text3.C:
5603         * text2.C:
5604         * text.C: use lyxrow helpers above.
5605           Move draw and paint routines to RowPainter.
5606           Make several methods use refs not pointers.
5607           Make backgroundColor() const.
5608           Add markChangeInDraw(), isInInset().
5609           Merge changeRegionCase into changeCase.
5610           Make workWidth() shouldn't-happen code into an Assert.
5611
5612         * rowpainter.h:
5613         * rowpainter.C: new class for painting a row.
5614
5615         * vspace.h:
5616         * vspace.C: make inPixels take a ref
5617
5618 2003-02-26  Angus Leeming  <leeming@lyx.org>
5619
5620         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5621         LFUN_REF_APPLY.
5622
5623 2003-02-25  John Levon  <levon@movementarian.org>
5624
5625         * ispell.C: give the forked command a more accurate name
5626
5627 2003-02-22  John Levon  <levon@movementarian.org>
5628
5629         * toc.h:
5630         * toc.C: make TocItem store an id not a Paragraph *
5631           (bug #913)
5632
5633 2003-02-21  Angus Leeming  <leeming@lyx.org>
5634
5635         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5636           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5637           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5638           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5639           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5640           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5641
5642         * BufferView_pimpl.C (dispatch):
5643         * LyXAction.C (init):
5644         * factory.C (createInset):
5645         * lyxfunc.C (getStatus, dispatch):
5646         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5647
5648 2003-02-21  Angus Leeming  <leeming@lyx.org>
5649
5650         * BufferView_pimpl.C (MenuInsertLyXFile):
5651         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5652         * lyxfunc.C (menuNew, open, doImport):
5653           no longer pass a LyXView & to fileDlg.
5654
5655 2003-02-21  Angus Leeming  <leeming@lyx.org>
5656
5657         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5658         * LyXAction.C: change, BIBKEY to BIBITEM.
5659         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5660         Change InsetBibKey to InsetBibitem.
5661         Change BIBKEY_CODE to BIBITEM_CODE.
5662         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5663         * factory.C: replace insetbib.h with insetbibitem.h.
5664         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5665         * paragraph.C: replace insetbib.h with insetbibitem.h.
5666         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5667         Change bibkey() to bibitem().
5668         * text.C: remove insetbib.h.
5669         * text2.C: replace insetbib.h with insetbibitem.h.
5670         change bibkey() to bibitem().
5671         * text3.C: remove insetbib.h.
5672         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5673
5674 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5675
5676         * lyxrc.C (output): enclose user email in quotes (in case there are
5677         several words)
5678
5679 2003-02-18  John Levon  <levon@movementarian.org>
5680
5681         * buffer.h: add std::
5682
5683 2003-02-17  John Levon  <levon@movementarian.org>
5684
5685         * SpellBase.h:
5686         * ispell.h:
5687         * ispell.C:
5688         * pspell.h:
5689         * pspell.C: reworking. Especially in ispell, a large
5690           number of clean ups and bug fixes.
5691
5692         * lyxfunc.C: fix revert to behave sensibly
5693
5694 2003-02-17 André Pönitz <poenitz@gmx.net>
5695
5696         * LyXAction.C:
5697         * commandtags.h: new LFUN_INSERT_BIBKEY
5698
5699         * layout.h:
5700         * lyxlayout.C:
5701         * buffer.C:
5702         * factory.C:
5703         * text.C:
5704         * text2.C:
5705         * text3.C:
5706         * paragraph.[Ch]:
5707         * paragraph_func.C: remove special bibkey handling
5708
5709 2003-02-17  John Levon  <levon@movementarian.org>
5710
5711         * text.C (Delete): fix case where delete at the end of
5712           the very first paragraph would not merge the pars
5713
5714 2003-02-17  John Levon  <levon@movementarian.org>
5715
5716         * lyxrow.C: fix lastPrintablePos()
5717
5718 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5719
5720         * bufferparams.C (writeLaTeX): add a std:here
5721
5722         * buffer.C: and remove a using directive there
5723
5724 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5725
5726         * buffer.C (makeLaTeXFile): move the code that generates the
5727           preamble...
5728
5729         * bufferparams.C (writeLaTeX): ... in this new method
5730
5731         * LaTeXFeatures.C (getEncodingSet): make const
5732           (getLanguages): make const
5733
5734         * MenuBackend.C (binding): returns the binding associated to this
5735           action
5736           (add): sets the status of each item by calling getStatus. Adds
5737           some intelligence.
5738           (read): add support for OptSubMenu
5739           (expand): remove extra separator at the end of expanded menu
5740
5741 2003-02-15  John Levon  <levon@movementarian.org>
5742
5743         * BufferView.C:
5744         * BufferView_pimpl.C:
5745         * bufferlist.h:
5746         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5747           inset code that had no actual effect. Remove unneeded status
5748           code.
5749
5750 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5751
5752         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5753           in preamble
5754
5755 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5756
5757         * text.C (drawLengthMarker): also draw an arrow marker for
5758           symbolic lengths (medskip...)
5759
5760 2003-02-14  John Levon  <levon@movementarian.org>
5761
5762         * tabular.h:
5763         * tabular.C: better method names
5764
5765 2003-02-14  John Levon  <levon@movementarian.org>
5766
5767         * BufferView_pimpl.C:
5768         * bufferlist.C:
5769         * buffer.C:
5770         * converter.C:
5771         * lyx_cb.C:
5772         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5773           it's a more accurate name. Remove some pointless uses.
5774
5775 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5776
5777         * text2.C (LyXText): change order of initilizers to shut off
5778           warnings
5779
5780 2003-02-14  John Levon  <levon@movementarian.org>
5781
5782         * buffer.C: use ParIterator for getParFromID()
5783
5784         * paragraph.h:
5785         * paragraph.C:
5786         * paragraph_pimpl.h:
5787         * paragraph_pimpl.C: remove unused getParFromID()
5788
5789 2003-02-14  John Levon  <levon@movementarian.org>
5790
5791         * buffer.C: remove some very old #if 0'd parse code
5792
5793 2003-02-13  John Levon  <levon@movementarian.org>
5794
5795         * text.h:
5796         * text.C:
5797         * text2.C: move hfillExpansion(), numberOfSeparators(),
5798           rowLast(), rowLastPrintable(), numberofHfills(),
5799           numberOfLabelHfills() ...
5800
5801         * lyxrow.h:
5802         * lyxrow.C: ... to member functions here.
5803
5804         * paragraph.h:
5805         * paragraph.C:
5806         * lyxtext.h:
5807         * text.C: remove LyXText::beginningOfMainBody(), and call
5808           p->beginningOfMainBody() directly. Move the check for
5809           LABEL_MANUAL into the latter.
5810
5811         * text.h:
5812         * text.C:
5813         * text2.C:
5814         * vspace.C:
5815         * BufferView.h:
5816         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5817
5818         * text.h:
5819         * text.C:
5820         * text2.C:
5821         * text3.C:
5822         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5823           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5824
5825 2003-02-13  John Levon  <levon@movementarian.org>
5826
5827         * CutAndPaste.C: remove debug
5828
5829 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5830
5831         * paragraph.C (asString): remove two unused variables
5832
5833         * lyxtextclass.C (readTitleType):
5834           (Read):
5835           (LyXTextClass): handle new members titletype_ and titlename_
5836
5837         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5838
5839 2003-02-09  John Levon  <levon@movementarian.org>
5840
5841         * buffer.h:
5842         * buffer.C: replace hand-coded list with a map for the dep clean
5843
5844 2003-02-08  John Levon  <levon@movementarian.org>
5845
5846         * LaTeX.C: consolidate code into showRunMessage() helper
5847
5848 2003-02-08  John Levon  <levon@movementarian.org>
5849
5850         * lyxfind.C:
5851         * lyxtext.h:
5852         * text2.C:
5853         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5854           and pass the size in explicitly
5855
5856         * BufferView_pimpl.h:
5857         * BufferView_pimpl.C:
5858         * BufferView.h:
5859         * BufferView.C: add getCurrentChange()
5860
5861         * BufferView_pimpl.h:
5862         * BufferView_pimpl.C: handle change lfuns
5863
5864         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5865           for changes. Mark pasted paragraphs as new.
5866
5867         * support/lyxtime.h:
5868         * support/lyxtime.C:
5869         * DepTable.C: abstract time_t as lyx::time_type
5870
5871         * LColor.h:
5872         * LColor.C: add colours for new text, deleted text, changebars
5873
5874         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5875           package use "usenames" option.
5876
5877         * commandtags.h:
5878         * lyxfunc.C:
5879         * LyXAction.C: add change lfuns
5880
5881         * Makefile.am:
5882         * author.h:
5883         * author.C: author handling
5884
5885         * buffer.h:
5886         * buffer.C: add a per-buffer author list, with first entry as
5887           current author. Handle new .lyx tokens for change tracking. Output
5888           author list to .lyx file. Output dvipost stuff to .tex preamble.
5889           Bump lyx format to 222.
5890
5891         * bufferlist.h:
5892         * bufferlist.C: add setCurrentAuthor() to reset current author details
5893           in all buffers.
5894
5895         * bufferparams.h:
5896         * bufferparams.C: add param for tracking
5897
5898         * bufferview_funcs.C: output change info in minibuffer
5899
5900         * Makefile.am:
5901         * changes.h:
5902         * changes.C: add change-tracking structure
5903
5904         * debug.h:
5905         * debug.C: add CHANGES debug flag
5906
5907         * lyxfind.h:
5908         * lyxfind.C: add code for finding the next change piece
5909
5910         * lyxrc.h:
5911         * lyxrc.C: add user_name and user_email
5912
5913         * lyxrow.h:
5914         * lyxrow.C: add a metric for the top of the text line
5915
5916         * lyxtext.h:
5917         * text.C: implement accept/rejectChange()
5918
5919         * lyxtext.h:
5920         * text.C: paint changebars. Paint new/deleted text in the chosen
5921         colours. Strike through deleted text.
5922
5923         * paragraph.h:
5924         * paragraph.C:
5925         * paragraph_pimpl.h:
5926         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5927           in the current change to the insert functions. Rework erase to
5928           mark text as deleted, adding an eraseIntern() and a range-based
5929           erase(). Implement per-paragraph change lookup and
5930           accept/reject.
5931
5932         * paragraph_funcs.C: Fixup paste for change tracking.
5933
5934         * tabular.C: mark added row/columns as new.
5935
5936         * text.C: fix rowLast() to never return -1. Don't allow
5937           spellchecking of deleted text. Track transpose changes. Don't
5938           allow paragraph break or merge where appropriate.
5939
5940         * text2.C: leave cursor at end of selection after a cut.
5941
5942 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5943
5944         * text.C (getLengthMarkerHeight):
5945         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5946         visible on screen too.
5947
5948 2003-02-07  John Levon  <levon@movementarian.org>
5949
5950         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5951
5952 2003-02-05  Angus Leeming  <leeming@lyx.org>
5953
5954         * lyxserver.C (read_ready): revert my patch of 11 September last year
5955         as it sends PC cpu through the roof. Presumably this means that
5956         the lyxserver will no longer run on an Alpha...
5957
5958 2003-01-30  Angus Leeming  <leeming@lyx.org>
5959
5960         * factory.C (createInset): create an InsetCommandParam of type "index"
5961         and use it to 'do the right thing'.
5962
5963         * text2.C (getStringToIndex): ensure that cursor position is always
5964         reset to the reset_cursor position.
5965
5966 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5967
5968         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5969         disabled.
5970
5971 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5972
5973         * bufferview.C:
5974         * lyxcb.C:
5975         * lyxfunc.C: Output messages with identical spelling, punctuation,
5976         and spaces
5977
5978 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5979
5980         * MenuBackend.C (expandFormats): List only viewable export formats
5981         in "View" menu
5982
5983         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5984         message
5985
5986         * lyxfunc.C (getStatus): Make sure that formats other than
5987         "fax" can also be disabled
5988
5989 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5990
5991         * text3.C (dispatch): put the lfuns that insert insets in 3
5992         groups, and call doInsertInset with appropriate arguments.
5993         (doInsertInset): new function, that creates an inset and inserts
5994         it according to some boolean parameters.
5995
5996 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5997
5998         * buffer.C (readFile): remember to pass on 'par' when calling
5999         readFile recursively.
6000
6001 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6002
6003         * MenuBackend.C (expandFormats): add "..." to import formats.
6004
6005 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6006
6007         * paragraph.C (asString): Remove XForms RTL hacks.
6008
6009 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6010         * buffer.C: fix typo
6011
6012 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6013
6014         * Makefile.am (LIBS): delete var
6015         (lyx_LDADD): add @LIBS@ here instead.
6016
6017 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6018
6019         * Clarify the meaning of "wheel mouse jump"
6020
6021 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6022
6023         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6024         tabular in a float
6025
6026 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6027
6028         * importer.C (Loaders): do not preallocate 3 elements in the
6029         vector, since one ends up with 6 elements otherwise
6030
6031 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6032
6033         * DepTable.C (write): write the file name as last element of the
6034         .dep file (because it may contain spaces)
6035         (read): read info in the right order
6036
6037 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6038
6039         * paragraph_pimpl.C (simpleTeXBlanks):
6040         (simpleTeXSpecialChars):
6041         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6042
6043         * tabular.C (latex): add some missing case statements. Reindent.
6044
6045         * MenuBackend.C (expandToc): remove unused variable.
6046
6047 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6048
6049         * LColor.C:
6050         * LaTeX.C:
6051         * LyXAction.C:
6052         * MenuBackend.C:
6053         * buffer.C:
6054         * exporter.C:
6055         * lyxfunc.C:
6056         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6057         and the like.
6058
6059 2003-01-05  John Levon  <levon@movementarian.org>
6060
6061         * BufferView.h:
6062         * BufferView.C: add getEncoding()
6063
6064         * kbsequence.h:
6065         * kbsequence.C: do not store last keypress
6066
6067         * lyxfunc.h:
6068         * lyxfunc.C: store last keypress here instead. Pass encoding
6069           to getISOEncoded()
6070
6071 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6072
6073         * lyx_main.C (init): remove annoying error message when following
6074         symbolic links (bug #780)
6075
6076 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6077
6078         * text.C (insertChar):
6079         * lyxrc.C (getDescription): remove extra spaces
6080
6081 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6082
6083         * lyxrc.C (getDescription): remove extra spaces
6084
6085 2002-12-20  John Levon  <levon@movementarian.org>
6086
6087         * text3.C: hack fix for page up/down across tall rows
6088
6089 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6090
6091         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6092         not been invoked
6093
6094 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6095
6096         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6097         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6098         thesaurus is not compiled in
6099
6100 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6101
6102         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6103
6104 2002-12-16  Angus Leeming  <leeming@lyx.org>
6105
6106         * lyxrc.[Ch]:
6107         * lyx_main.C (init): remove override_x_deadkeys stuff.
6108
6109 2002-12-12  John Levon  <levon@movementarian.org>
6110
6111         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6112           insert. Only remove shift modifier under strict
6113           circumstances.
6114
6115 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6116
6117         * MenuBackend.C (expandToc): fix crash.
6118
6119 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6120
6121         * MenuBackend.C (expandToc): gettext on float names.
6122
6123 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6124
6125         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6126         implement bool empty() [bug 490]
6127
6128 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6129
6130         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6131
6132 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6133
6134         * several files: ws changes
6135
6136 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6137
6138         * text2.C (setCounter): clean up a bit, use boost.format.
6139         (updateCounters): initialize par upon declaration.
6140
6141         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6142         if the layout exists. We do not just store the layout any more.
6143         (SwitchLayoutsBetweenClasses): use boost.format
6144
6145 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6146
6147         * converter.C (convert): if from and to files are the same, use a
6148         temporary files as intermediary
6149
6150 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6151
6152         * commandtags.h:
6153         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6154
6155 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6156
6157         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6158
6159 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6160
6161         * tabular.C (asciiPrintCell): use string(size, char) instead of
6162         explicit loop.
6163
6164         * sgml.C (openTag): fix order of arguments to string constructor
6165         (closeTag): ditto
6166
6167         * lyxfunc.C (dispatch): use boost.format
6168
6169         * lots of files: change "c" -> 'c'
6170
6171 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6172
6173         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6174
6175 2002-11-25  Angus Leeming  <leeming@lyx.org>
6176
6177         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6178
6179         * lyx_main.C (init): compile fix.
6180
6181 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6182
6183         * lyx_cb.C (start): boost.formatify
6184         do not include <iostream>
6185
6186         * lengthcommon.C: ws only
6187
6188         * boost-inst.C,BoostFormat.h: add more explict instantations
6189
6190 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6191
6192         * lots of files: handle USE_BOOST_FORMAT
6193
6194 2002-11-21  John Levon  <levon@movementarian.org>
6195
6196         * pspell.C: fix compile
6197
6198 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6199
6200         * lyxfunc.C (dispatch): use boost::format
6201         (open): ditto
6202         (doImport): ditto
6203
6204         * lyxfont.C (stateText): use boost::format
6205
6206         * lyx_main.C (LyX): use boost::format
6207         (init): ditto
6208         (queryUserLyXDir): ditto
6209         (readRcFile): ditto
6210         (parse_dbg): ditto
6211         (typedef boost::function): use the recommened syntax.
6212
6213         * importer.C (Import): use boost::format
6214
6215         * debug.C (showLevel): use boost::format
6216
6217         * converter.C (view): use boost::format
6218         (convert): ditto
6219         (move): ditto
6220         (scanLog): ditto
6221
6222         * bufferview_funcs.C (currentState): use boost::format
6223
6224         * bufferlist.C (emergencyWrite): use boost::format
6225
6226         * buffer.C (readLyXformat2): use boost::format
6227         (parseSingleLyXformat2Token): ditto
6228
6229         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6230
6231         * LaTeX.C (run): use boost::format
6232
6233         * Chktex.C (scanLogFile): use boost::format
6234
6235         * BufferView_pimpl.C (savePosition): use boost::format
6236         (restorePosition): ditto
6237         (MenuInsertLyXFile): ditto
6238
6239         * BoostFormat.h: help file for explicit instation.
6240
6241 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6242
6243         * tabular.C (latex): Support for block alignment in fixed width
6244         columns.
6245
6246 2002-11-17  John Levon  <levon@movementarian.org>
6247
6248         * BufferView_pimpl.C:
6249         * lyx_cb.C:
6250         * lyxfunc.C: split filedialog into open/save
6251
6252 2002-11-08  Juergen Vigna  <jug@sad.it>
6253
6254         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6255         by my last patch (hopefully).
6256
6257 2002-11-08  John Levon  <levon@movementarian.org>
6258
6259         * iterators.h:
6260         * iterators.C:
6261         * buffer.h:
6262         * buffer.C:
6263         * paragraph.h:
6264         * paragraph.C:
6265         * toc.h:
6266         * toc.C: ParConstIterator, and use it (from Lars)
6267
6268 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6269
6270         * lyxtextclass.[Ch]: revise and add doxygen comments
6271
6272 2002-11-07  John Levon  <levon@movementarian.org>
6273
6274         * text.C: fix progress value for spellchecker
6275
6276         * toc.C: fix navigate menu for insetwrap inside minipage
6277
6278         * paragraph_funcs.C: added FIXME for suspect code
6279
6280 2002-11-07  John Levon  <levon@movementarian.org>
6281
6282         * BufferView_pimpl.C: fix redrawing of insets
6283           on buffer switch
6284
6285 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6286
6287         * text2.C (updateCounters): fix bug 668
6288
6289 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6290
6291         * text3.C (dispatch): Do not make the buffer dirty when moving the
6292         cursor.
6293
6294 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6295
6296         * vc-backend.C: STRCONV
6297         (scanMaster): ditto
6298
6299         * text2.C (setCounter): STRCONV
6300
6301         * paragraph.C (asString): STRCONV
6302
6303         * lyxlength.C (asString): STRCONV
6304         (asLatexString): ditto
6305
6306         * lyxgluelength.C (asString): STRCONV
6307         (asLatexString): ditto
6308
6309         * lyxfunc.C (dispatch): STRCONV
6310         (open): ditto
6311
6312         * lyxfont.C (stateText): STRCONV
6313
6314         * importer.C (Import): STRCONV
6315
6316         * counters.C (labelItem): STRCONV
6317         (numberLabel): ditto
6318         (numberLabel): remove unused ostringstream o
6319
6320         * chset.C: STRCONV
6321         (loadFile): ditto
6322
6323         * bufferview_funcs.C (currentState): STRCONV
6324
6325         * buffer.C (readFile): STRCONV
6326         (asciiParagraph): ditto
6327         (makeLaTeXFile): ditto
6328
6329         * Spacing.C (writeEnvirBegin): STRCONV
6330
6331         * LaTeXFeatures.C (getLanguages): STRCONV
6332         (getPackages): ditto
6333         (getMacros): ditto
6334         (getBabelOptions): ditto
6335         (getTClassPreamble): ditto
6336         (getLyXSGMLEntities): ditto
6337         (getIncludedFiles): ditto
6338
6339         * LaTeX.C: STRCONV
6340         (run): ditto
6341         (scanAuxFile): ditto
6342         (deplog): ditto
6343
6344         * LString.h: add the STRCONV macros
6345
6346         * BufferView_pimpl.C (savePosition): STRCONV
6347         (restorePosition): ditto
6348         (MenuInsertLyXFile): ditto
6349
6350         * vc-backend.C (scanMaster): change from submatch[...] to
6351         submatch.str(...)
6352
6353         * funcrequest.C: include config.h
6354
6355         * factory.C: include config.h
6356
6357         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6358
6359         * box.C: include config.h
6360
6361         * LaTeX.C (scanAuxFile): change from submatch[...] to
6362         submatch.str(...)
6363         (deplog): ditto
6364
6365 2002-10-25  Angus Leeming  <leeming@lyx.org>
6366
6367         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6368
6369         * ispell.[Ch] (setError): new method.
6370         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6371         Use setError() insetead of goto END.
6372
6373         * lyx_cb.C (AutoSave): move out child process into new class
6374         AutoSaveBuffer.
6375
6376 2002-10-30  John Levon  <levon@movementarian.org>
6377
6378         * text3.C: make start appendix undoable
6379
6380 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6381
6382         * lyxlength.C (inPixels): Fix returned value.
6383
6384         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6385         environment.
6386
6387 2002-10-24  Angus Leeming  <leeming@lyx.org>
6388
6389         * lyxgluelength.h: no need to forward declare BufferParams
6390         or BufferView, so don't.
6391
6392 2002-10-21  John Levon  <levon@movementarian.org>
6393
6394         * BufferView.C: menuUndo ->undo, redo
6395
6396         * BufferView.h: document, remove dead, make some methods private
6397
6398         * paragraph_funcs.h:
6399         * paragraph_funcs.C:
6400         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6401
6402         * buffer.h:
6403         * buffer.C:
6404         * sgml.h:
6405         * sgml.C: move sgml open/close tag into sgml.C
6406
6407         * bufferview_funcs.h: unused prototype
6408
6409         * lyxfunc.h:
6410         * lyxfunc.C: remove unused
6411
6412         * lyxtext.h:
6413         * text.C: remove unused
6414
6415 2002-10-21  John Levon  <levon@movementarian.org>
6416
6417         * BufferView.h:
6418         * BufferView.C:
6419         * BufferView_pimpl.h:
6420         * BufferView_pimpl.C: fix mouse wheel handling based on
6421           patch from Darren Freeman
6422
6423 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6424
6425         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6426
6427 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6428
6429         * lyxlength.C (inPixels): Fix hanfling of negative length.
6430         Fix LyXLength::MU case.
6431
6432 2002-10-16  John Levon  <levon@movementarian.org>
6433
6434         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6435
6436 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6437
6438         * converter.C (view): add support for $$i (file name) and $$p
6439         (file path) for the viewer command. If $$i is not specified, then
6440         it is appended to the command (for compatibility with old syntax)
6441
6442 2002-10-14  Juergen Vigna  <jug@sad.it>
6443
6444         * undo_funcs.C (textHandleUndo): alter the order in which the
6445         new undopar is added to the LyXText, as we have to set first
6446         the right prev/next and then add it as otherwise the rebuild of
6447         LyXText is not correct. Also reset the cursor to the right paragraph,
6448         with this IMO we could remove the hack in "redoParagraphs()".
6449
6450 2002-10-09  Angus Leeming  <leeming@lyx.org>
6451
6452         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6453         to turn off an optimisation if a new inset is to be inserted.
6454
6455 2002-10-11 André Pönitz <poenitz@gmx.net>
6456
6457         * lyxtext.h: make some functions public to allow access
6458         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6459
6460 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6461
6462         * text3.C (dispatch): when changing layout, avoid an infinite loop
6463         [bug #652]
6464
6465 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6466
6467         * lyxrc.C (read): treat a viewer or converter command of "none" as
6468         if it were empty.
6469
6470         * MenuBackend.C (expandFormats): for an update, also allow the
6471         formats that are not viewable
6472
6473         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6474         script if it is newer than the lyxrc.defaults in user directory
6475
6476 2002-10-07 André Pönitz <poenitz@gmx.net>
6477
6478         * text.C: Vitaly Lipatov's small i18n fix
6479
6480 2002-09-25  Angus Leeming  <leeming@lyx.org>
6481
6482         * ispell.h: doxygen fix.
6483
6484 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6485
6486         * buffer.h (readFile): Add a new argument to the method, to allow
6487         reading of old-format templates.
6488
6489 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6490
6491         * toc.C (getTocList): Get TOC from InsetWrap.
6492
6493 2002-09-16  John Levon  <levon@movementarian.org>
6494
6495         * lyxfunc.C: check tabular for cut/copy too
6496
6497 2002-09-12  John Levon  <levon@movementarian.org>
6498
6499         * LyXAction.C: tidy
6500
6501         * factory.h:
6502         * factory.C: add header
6503
6504         * paragraph_funcs.h:
6505         * paragraph_funcs.C: cleanup
6506
6507 2002-09-11  John Levon  <levon@movementarian.org>
6508
6509         * PrinterParams.h: odd/even default to true
6510
6511 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6512
6513         * PrinterParams.h: update printer parameters for new xforms dialog
6514
6515 2002-09-11  Angus Leeming  <leeming@lyx.org>
6516
6517         * lyxserver.C (read_ready): re-write to make it more transparent
6518         and to make it work in coherent fashion under Tru64 Unix.
6519
6520 2002-09-11  André Pönitz <poenitz@gmx.net>
6521
6522         * commandtags.h:
6523         * LyXAction.C:
6524         * text3.C: implement LFUN_WORDSEL
6525
6526 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6527
6528         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6529         make floatlist_ a boost::shared_ptr<FloatList>
6530
6531         * lyxtextclass.C: include FloatList.h
6532         (LyXTextClass): initialize floatlist_
6533         (TextClassTags): add TC_NOFLOAT
6534         (Read): match "nofloat" to TC_NOFLOAT and use it.
6535         (readFloat): modify call to floatlist_
6536         (floats): ditto
6537         (floats): ditto
6538
6539         * FloatList.[Ch] (FloatList): remove commented out float
6540         initialization.
6541         (erase): new function
6542
6543 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6544
6545         * MenuBackend.C (expandToc): fix crash when there is no document
6546         open
6547
6548 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6549
6550         * many files: Add insetwrap.
6551
6552 2002-09-09  John Levon  <levon@movementarian.org>
6553
6554         * text2.C: remove confusing and awkward depth wraparound
6555
6556 2002-09-09  John Levon  <levon@movementarian.org>
6557
6558         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6559
6560         * buffer.h:
6561         * buffer.C: remove getIncludeonlyList()
6562
6563         * paragraph.C:
6564         * lyxfunc.C: remove headers
6565
6566 2002-09-09  Juergen Vigna  <jug@sad.it>
6567
6568         * text.C (getColumnNearX): fix form Michael this is most
6569         probably a cut&paste bug.
6570
6571 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6572
6573         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6574
6575         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6576         references, ws changes.
6577
6578         * text2.C (init): update counters after init
6579         (insertParagraph): no need to set counter on idividual paragraphs.
6580         (setCounter): access the counters object in the textclass object
6581         on in the buffer object.
6582         (updateCounters): ditto
6583
6584         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6585         shared_ptr<Counters> to avoid loading counters.h in all
6586         compilation units.
6587         (LyXTextClass): initialize ctrs_
6588         (TextClassTags): add TC_COUNTER, and ...
6589         (Read): use it here.
6590         (CounterTags): new tags
6591         (readCounter): new function
6592         (counters): new funtion
6593         (defaultLayoutName): return a const reference
6594
6595         * counters.C (Counters): remove contructor
6596         (newCounter): remove a couple of unneeded statements.
6597         (newCounter): simplify a bit.
6598         (numberLabel): some small formatting changes.
6599
6600         * buffer.[Ch]: remove all traces of counters, move the Counters
6601         object to the LyXTextClass.
6602
6603 2002-09-06  Alain Castera  <castera@in2p3.fr>
6604
6605         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6606         package to set the horizontal alignment on fixed width columns.
6607
6608         * lyx_sty.C:
6609         * lyx_sty.h: added tabularnewline macro def.
6610
6611         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6612
6613 2002-09-06  John Levon  <levon@movementarian.org>
6614
6615         * LyXAction.C: tooltips for sub/superscript
6616
6617         * MenuBackend.C: a bit more verbose
6618
6619         * lyxfunc.C: tiny clean
6620
6621         * undo_funcs.C: document undo_frozen
6622
6623 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6624
6625         * counters.C (Counters): add missing algorithm counter.
6626
6627         * text2.C (setCounter): lookup the counter with layouts latexname
6628         instead of by section number.
6629         (setCounter): use a hackish way to lookup the correct enum
6630         counter.
6631         a float name->type change
6632         reset enum couners with counter name directly instead of depth value.
6633
6634         * counters.C (Counters): remove the push_backs, change to use the
6635         float type not the float name.
6636         (labelItem): remove unused string, float name->type change
6637
6638         * counters.h: don't include vector, loose the enums and sects vectors
6639
6640 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6641
6642         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6643         (Read): add float->TC_FLOAT to textclassTags
6644         (Read): and handle it in the switch
6645         (readFloat): new function
6646
6647         * FloatList.C (FloatList): comment out the hardcoded float
6648         definitions.
6649
6650         * lyxlayout.h: ws change.
6651
6652 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6653
6654         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6655
6656 2002-09-03  Angus Leeming  <leeming@lyx.org>
6657
6658         * BufferView_pimpl.h: qualified name is not allowed in member
6659         declaration: WorkArea & Pimpl::workarea() const;
6660
6661         * factory.C: added using std::endl directive.
6662
6663         * text3.C: added using std::find and std::vector directives.
6664
6665 2002-08-29  André Pönitz <poenitz@gmx.net>
6666
6667         * lyxtext.h:
6668         * text2.C: remove unused member number_of_rows
6669
6670         * Makefile.am:
6671         * BufferView2.C: remove file, move contents to...
6672         * BufferView.C: ... here
6673
6674         * BufferView_pimpl.C:
6675         * factory.C: move more inset creation to factory
6676
6677         * vspace.C: avoid direct usage of LyXText, ws changes
6678
6679         * BufferView.[Ch]:
6680                 don't provide direct access to WorkArea, use two simple
6681                 acessors haveSelction() and workHeight() instead
6682
6683
6684 2002-08-29  John Levon  <levon@movementarian.org>
6685
6686         * BufferView_pimpl.C (dispatch): do not continue when
6687           no buffer
6688
6689 2002-08-28  André Pönitz <poenitz@gmx.net>
6690
6691         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6692
6693         * BufferView.h:
6694         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6695
6696 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6697
6698         * buffer.C: increment LYX_FORMAT to 221
6699
6700         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6701         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6702
6703         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6704
6705         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6706
6707 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6708
6709         * factory.C (createInset): use LyXTextClass::floats
6710
6711         * MenuBackend.C (expandFloatListInsert):
6712         (expandFloatInsert):
6713         (expandToc):
6714
6715         * text2.C (setCounter):
6716
6717         * LaTeXFeatures.C (useFloat):
6718         (getFloatDefinitions):
6719
6720         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6721
6722         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6723         floatlist_, with accessor floats().
6724
6725         * FloatList.h: remove global FloatList
6726
6727 2002-08-26  André Pönitz <poenitz@gmx.net>
6728
6729         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6730
6731         * BufferView.h:
6732         * BufferView2.C:
6733         * BufferView_pimpl.C:
6734         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6735
6736 2002-08-25  John Levon  <levon@movementarian.org>
6737
6738         * LyXAction.C: fix margin note description
6739
6740 2002-08-24  John Levon  <levon@movementarian.org>
6741
6742         * buffer.C:
6743         * bufferlist.C:
6744         * bufferview_funcs.C:
6745         * lyxfont.C:
6746         * undo_funcs.C: cleanups
6747
6748         * lyxfunc.C: disable CUT/COPY when no selection
6749
6750 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6751
6752         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6753         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6754
6755         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6756         Add backward compatibility to "mono", "gray" and "no".
6757
6758 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6759
6760         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6761         (and file_format >= 200).
6762
6763 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6764
6765         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6766
6767 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6768
6769         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6770
6771 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6772
6773         * BufferView_pimpl.C:
6774         * LyXAction.C:
6775         * buffer.C:
6776         * commandtags.h:
6777         * lyxfunc.C:
6778         * paragraph.[Ch]:
6779         * text2.C:
6780         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6781         inset and code to make it  work with the paragraph code. The inset
6782         can be anywhere in the paragraph, but will only do the expected
6783         thing in LaTeX if the layout file contains the parameter line
6784                         OptionalArgs    1
6785         (or more generally, a nonzero value) for that layout.
6786
6787 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6788
6789         * paragraph.h: remove the declaration of undefined counters class
6790         function.
6791
6792 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6793
6794         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6795         Dr. Richard Hawkins.
6796
6797 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6798
6799         * paragraph_funcs.h: remove some unneeded includes
6800
6801         * text.C (backspace): pasteParagraph now in global scipe
6802
6803         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6804         (pasteSelection): ditto
6805
6806         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6807         * paragraph_funcs.C (pasteParagraph): ... here
6808
6809 2002-08-20  André Pönitz <poenitz@gmx.net>
6810
6811         * commandtags.h: new LFUNs for swapping/copying table row/colums
6812
6813         * LyXAction.C:
6814         * lyxfunc.C: support for new lfuns
6815
6816 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6817
6818         * tabular.C:
6819         * buffer.[Ch]: remove NO_COMPABILITY stuff
6820
6821 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6822
6823         * boost.C (throw_exception): new file, with helper function for
6824         boost compiled without exceptions.
6825
6826         * paragraph.h:
6827         * lyxlength.C:
6828         * buffer.C:
6829         * ParameterStruct.h:
6830         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6831
6832         * bufferlist.C (emergencyWriteAll): use boost bind
6833
6834         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6835
6836         * text.C: include paragraph_funcs.h
6837         (breakParagraph): breakParagraph is now in global scope
6838
6839         * paragraph_funcs.[Ch]: new files
6840
6841         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6842         global scope
6843
6844         * buffer.C: include paragraph_funcs.h
6845         (insertStringAsLines): breakParagraph is now in global scope
6846
6847         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6848         paragraph_funcs.C
6849
6850         * CutAndPaste.C: include paragraph_funcs.h
6851         (cutSelection): breakParagraphConservative is now in global scope
6852         (pasteSelection): ditto
6853
6854         * buffer.h: declare oprator== and operator!= for
6855         Buffer::inset_iterator
6856
6857         * bufferlist.C (emergencyWrite): don't use fmt(...)
6858
6859         * text3.C: add using std::endl
6860
6861         * BufferView.C (moveCursorUpdate): remove default arg
6862
6863 2002-08-20  André Pönitz <poenitz@gmx.net>
6864
6865         * buffer.[Ch]: move inline functions to .C
6866
6867         * BufferView2.C:
6868         * BufferView_pimpl.C:
6869         * text.C:
6870         * buffer.[Ch]: use improved inset_iterator
6871
6872         * buffer.C:
6873         * paragraph.[Ch]: write one paragraph at a time
6874
6875 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6876
6877         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6878         style if style is not specified.
6879
6880 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6881
6882         * text2.C (setCounter): when searching for right label for a
6883         caption, make sure to recurse to parent insets (so that a caption
6884         in a minipage in a figure float works) (bug #568)
6885
6886 2002-08-20  André Pönitz <poenitz@gmx.net>
6887
6888         * text3.C: new file for LyXText::dispatch() and helpers
6889
6890         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6891
6892         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6893
6894 2002-08-19  André Pönitz <poenitz@gmx.net>
6895
6896         * lyxtext.h:
6897         * text.C: new LyXText::dispatch()
6898
6899         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6900
6901 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6902
6903         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6904
6905         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6906         Hebrew text.
6907
6908 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6909
6910         * Makefile.am: use $(variables) instead of @substitutions@
6911
6912 2002-08-15  André Pönitz <poenitz@gmx.net>
6913
6914         * lyxfunc.C:
6915         * BufferView_pimpl.C: streamlining mathed <-> outer world
6916         interaction
6917
6918         * commandtags.h:
6919         * LyXAction.C: remove unused LFUN_MATH
6920
6921 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6922
6923         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6924
6925 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6926
6927         * paragraph.C (Paragraph): reformat a bit
6928         (cutIntoMinibuffer): use builtin InsetList function instad of
6929         doing it manually.
6930         (getInset): ditto
6931
6932         * buffer.C: include boost/bind.hpp, add using std::for_each
6933         (writeFileAscii): use ParagraphList iterators
6934         (validate): use for_each for validate traversal of paragraphs
6935         (getBibkeyList): use ParagraphList iterators
6936         (resizeInsets): use for_each to resizeInsetsLyXText for all
6937         paragraphs.
6938         (getParFromID): use ParagraphList iterators
6939
6940         * BufferView2.C (lockInset): use paragraph list and iterators
6941
6942 2002-08-14  John Levon  <levon@movementarian.org>
6943
6944         * lyxserver.C: remove spurious xforms include
6945
6946 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6947
6948         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6949
6950 2002-08-13  André Pönitz <poenitz@gmx.net>
6951
6952         * LyXAction.[Ch]:
6953         * lyxfunc.C: further cleaning
6954
6955 2002-08-13  André Pönitz <poenitz@gmx.net>
6956
6957         * funcrequest.h: new constructor
6958
6959         * funcrequest.C: move stuff here from .h
6960
6961         * Makefile.am:
6962         * BufferView_pimpl.C:
6963         * LyXAction.C:
6964         * toc.C:
6965         * lyxfunc.C: subsequent changes
6966
6967         * lyxfunc.h: new view() member function
6968
6969         * lyxfunc.C: subsequent changes
6970
6971 2002-08-13  Angus Leeming  <leeming@lyx.org>
6972
6973         * BufferView2.C:
6974         * BufferView_pimpl.C:
6975         * buffer.C:
6976         * converter.C:
6977         * importer.C:
6978         * lyxfunc.C:
6979         * lyxvc.C:
6980         * toc.C:
6981         * vc-backend.C:
6982         changes due to the changed LyXView interface that now returns references
6983         to member variables not pointers.
6984
6985 2002-08-13  Angus Leeming  <leeming@lyx.org>
6986
6987         * WordLangTuple (word, lang_code): return references to strings,
6988         not strings.
6989
6990         * BufferView.h:
6991         * SpellBase.h:
6992         * lyxtext.h: forward-declare WordLangTuple.
6993
6994         * BufferView2.C:
6995         * ispell.C:
6996         * pspell.C:
6997         * text.C: #include "WordLangTuple.h".
6998
6999         * lyxtext.h:
7000         * text.C: (selectNextWordToSpellcheck): constify return type.
7001
7002 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7003
7004         * buffer.C:
7005         * buffer.h:
7006         * lyxtext.h:
7007         * paragraph.C:
7008         * paragraph_pimpl.h:
7009         * text.C:
7010         * text2.C:
7011         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7012         suggested by Angus.
7013         Made updateCounter always count from start of buffer, and removed
7014         second argument (par).
7015         Reverted floats number display to '#'. Perhaps I'll try again when the
7016         code base is sanitized a bit.
7017
7018 2002-08-12  Angus Leeming  <leeming@lyx.org>
7019
7020         * buffer.[Ch] (getLabelList): constify.
7021
7022 2002-08-07  André Pönitz <poenitz@gmx.net>
7023
7024         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7025
7026         * funcrequest.h: extension to keep mouse (x,y) position
7027
7028 2002-08-12  Juergen Vigna  <jug@sad.it>
7029
7030         * BufferView2.C (insertErrors): forbid undo when inserting error
7031         insets.
7032
7033         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7034
7035 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7036
7037         * ParagraphList.[Ch]: new files
7038
7039         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7040
7041         * BufferView2.C (lockInset): ParagraphList changes
7042         * toc.C: ditto
7043         * text2.C: ditto
7044         * bufferlist.C: ditto
7045         * buffer.h: ditto
7046         * buffer.C: ditto
7047
7048 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7049
7050         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7051         unused class variable counter_,
7052
7053         * paragraph.[Ch] (getFirstCounter): delete unused function
7054
7055         * counters.C: include LAssert.h
7056         (reset): add a new function with no arg, change other version to
7057         not have def. arg and to not allow empty arg.
7058
7059         * text2.C (setCounter): remove empty arg from call to Counters::reset
7060
7061 2002-08-11  John Levon  <levon@movementarian.org>
7062
7063         * Makefile.am: add WordLangTuple.h
7064
7065 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7066
7067         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7068         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7069
7070         * insets/insettext.C: InsetList changes
7071
7072         * graphics/GraphicsSupport.C (operator()): InsetList changes
7073
7074         * toc.C (getTocList): InsetList changes
7075
7076         * paragraph_pimpl.[Ch]: InsetList changes
7077
7078         * paragraph.[Ch]: InsetList changes
7079
7080         * buffer.C (inset_iterator): InsetList changes
7081         (setParagraph): ditto
7082         * buffer.h (inset_iterator): ditto
7083         * iterators.C (operator++): ditto
7084         * iterators.h: ditto
7085
7086         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7087
7088         * InsetList.[Ch]: new files, most InsetList handling moved out of
7089         paragraph.C.
7090
7091         * BufferView2.C (removeAutoInsets): InsetList changes
7092         (lockInset): ditto
7093         (ChangeInsets): ditto
7094
7095 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7096
7097         * paragraph_pimpl.h (empty): new function
7098
7099         * paragraph.[Ch] (empty): new function
7100
7101         * other files: use the new Paragraph::empty function
7102
7103 2002-08-09  John Levon  <levon@movementarian.org>
7104
7105         * lyxtext.h: remove unused refresh_height
7106
7107 2002-08-09  John Levon  <levon@movementarian.org>
7108
7109         * Makefile.am:
7110         * sgml.h:
7111         * sgml.C:
7112         * buffer.C:
7113         * paragraph.h:
7114         * paragraph.C: move sgml char escaping out of paragraph
7115
7116         * paragraph.h:
7117         * paragraph.C: remove id setter
7118
7119         * buffer.C:
7120         * paragraph.C:
7121         * paragraph_pimpl.C: remove dead tex_code_break_column
7122
7123         * bufferview_funcs.C: small cleanup
7124
7125         * lyxfunc.C: remove dead proto
7126
7127         * lyxtext.h: make some stuff private. Remove some dead stuff.
7128
7129         * lyxgluelength.C: make as[LyX]String() readable
7130
7131 2002-08-08  John Levon  <levon@movementarian.org>
7132
7133         * LyXAction.h:
7134         * LyXAction.C:
7135         * MenuBackend.C:
7136         * ToolbarDefaults.C:
7137         * lyxfunc.C:
7138         * lyxrc.C:
7139         * toc.C: lyxaction cleanup
7140
7141 2002-08-08  John Levon  <levon@movementarian.org>
7142
7143         * BufferView2.C: small cleanup
7144
7145         * lyxfind.h:
7146         * lyxfind.C: move unnecessary header into the .C
7147
7148 2002-08-08  John Levon  <levon@movementarian.org>
7149
7150         * funcrequest.h: just tedious nonsense
7151
7152         * lyx_main.h:
7153         * lyx_main.C: cleanups
7154
7155         * buffer.C:
7156         * vspace.C: remove dead header lyx_main.h
7157
7158 2002-08-07  Angus Leeming  <leeming@lyx.org>
7159
7160         * Paragraph.[Ch]:
7161         * paragraph_pimpl.h:
7162         Forward declare class Counters in paragraph.h by moving the ctrs member
7163         variable into Paragraph::Pimpl.
7164         (counters): new method, returning a reference to pimpl_->ctrs.
7165
7166         * text2.C: ensuing changes.
7167
7168 2002-08-07  John Levon  <levon@movementarian.org>
7169
7170         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7171
7172         * BufferView_pimpl.C: announce X selection on double/triple
7173           click
7174
7175         * lyx_main.C: use correct bool in batch dispatch
7176
7177         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7178
7179 2002-08-07  André Pönitz <poenitz@gmx.net>
7180
7181         * funcrequest.h: new class to wrap a kb_action and its argument
7182
7183         * BufferView.[Ch]:
7184         * BufferView_pimpl[Ch]:
7185         * LaTeX.C:
7186         * LyXAction.[Ch]:
7187         * lyxfunc.[Ch]:
7188         * lyxrc.C: subsequent changes
7189
7190
7191 2002-08-07  John Levon  <levon@movementarian.org>
7192
7193         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7194           document options change.
7195
7196 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7197
7198         * counters.[Ch]
7199         * text2.C
7200         * paragraph.[Ch]
7201         * makefile.am: move counters functionality over from
7202         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7203
7204 2002-08-06  John Levon  <levon@movementarian.org>
7205
7206         * WordLangTuple.h: new file for word + language code tuple
7207
7208         * SpellBase.h:
7209         * pspell.h:
7210         * pspell.C:
7211         * ispell.h:
7212         * ispell.C:
7213         * lyxtext.h:
7214         * text.C:
7215         * text2.C:
7216         * BufferView.h:
7217         * BufferView2.C: use WordLangTuple
7218
7219         * layout.h:
7220         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7221
7222 2002-08-06  John Levon  <levon@movementarian.org>
7223
7224         * lyx_main.C: fix cmdline batch handling
7225
7226 2002-08-06  André Pönitz <poenitz@gmx.net>
7227
7228         * lyxrc.C: set default for show_banner to true
7229
7230 2002-08-06  John Levon  <levon@movementarian.org>
7231
7232         * pspell.C: fix a crash, and allow new aspell to work
7233
7234 2002-08-06  John Levon  <levon@movementarian.org>
7235
7236         * lyxfunc.C:
7237         * kbmap.C: small cleanup
7238
7239         * vspace.h:
7240         * vspace.C: add const
7241
7242 2002-08-05  John Levon  <levon@movementarian.org>
7243
7244         * LyXAction.C: back to tabular-insert
7245
7246 2002-08-04  John Levon  <levon@movementarian.org>
7247
7248         * BufferView.h:
7249         * BufferView.C: cosmetic change
7250
7251         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7252
7253         * bufferlist.C:
7254         * buffer.h:
7255         * buffer.C:
7256         * lyxcb.h:
7257         * lyxcb.C:
7258         * lyxserver.C:
7259         * lyxvc.C:
7260         * vc-backend.C:
7261         * BufferView2.C: purge all "Lyx" not "LyX" strings
7262
7263         * lyxcursor.h:
7264         * lyxcursor.C: attempt to add some documentation
7265
7266         * lyxfunc.C:
7267         * commandtags.h:
7268         * LyXAction.C:
7269         * ToolbarDefaults.C:
7270         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7271           merge with LFUN_TABULAR_INSERT
7272
7273         * Makefile.am:
7274         * SpellBase.h:
7275         * ispell.h:
7276         * ispell.C:
7277         * pspell.h:
7278         * pspell.C: split up i/pspell implementations into separate
7279           files, many cleanups
7280
7281         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7282
7283         * text2.C: some cleanup
7284
7285         * lyxfunc.C: don't check for isp_command == "none" any more, it
7286           didn't make any sense
7287
7288 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7289
7290         * counters.[Ch]
7291         * text2.C
7292         * paragraph.[Ch]
7293         * makefile.am: move counters functionality over
7294         from text2.C/paragraph.[Ch] to counters.[Ch], and
7295         make proper C++.
7296 2002-08-02  John Levon  <levon@movementarian.org>
7297
7298         * buffer.C: s/lyxconvert/lyx2lyx/
7299
7300 2002-08-02  Angus Leeming  <leeming@lyx.org>
7301
7302         * lyxlex.C: revert John's change as it breaks reading of the user
7303         preamble.
7304
7305 2002-08-02  Angus Leeming  <leeming@lyx.org>
7306
7307         * importer.C (Import):
7308         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7309         changes due to LyXView::view() now returning a boost::shared_ptr.
7310
7311 2002-08-02  John Levon  <levon@movementarian.org>
7312
7313         * lyxlex.C: small cleanup
7314
7315 2002-08-02  John Levon  <levon@movementarian.org>
7316
7317         * text2.C (status): small cleanup, no logic change
7318
7319 2002-08-01  John Levon  <levon@movementarian.org>
7320
7321         * buffer.h:
7322         * buffer.C (writeFile): don't output alerts, caller
7323           handles this
7324
7325         * bufferlist.C:
7326         * lyx_cb.C: from above
7327
7328         * lyxfunc.C: allow to open non-existent files
7329
7330 2002-07-31  John Levon  <levon@movementarian.org>
7331
7332         * lyxserver.C: don't let incidental errors get
7333           in the way (errno)
7334
7335 2002-07-30  John Levon  <levon@movementarian.org>
7336
7337         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7338
7339 2002-07-30  John Levon  <levon@movementarian.org>
7340
7341         * lyxserver.h:
7342         * lyxserver.C: remove I/O callback too
7343
7344 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7345
7346         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7347         log.
7348
7349 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7350
7351         * many files: strip,frontStrip -> trim,ltrim,rtrim
7352
7353 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7354
7355         * PrinterParams.h: remove extern containsOnly, and include
7356         support/lstrings.h instead.
7357
7358         * LaTeX.C (scanAuxFile): modify because of strip changes
7359         (deplog): ditto
7360         * buffer.C (makeLaTeXFile): ditto
7361         * bufferparams.C (writeFile): ditt
7362         * lyxfont.C (stateText): ditto
7363         * lyxserver.C (read_ready): ditto
7364         * vc-backend.C (scanMaster): ditto
7365
7366         * BufferView_pimpl.h: ws changes
7367
7368         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7369
7370 2002-07-26  André Pönitz <poenitz@gmx.net>
7371
7372         * kb_sequence.C: remove unnedred usings
7373
7374 2002-07-26  Juergen Vigna  <jug@sad.it>
7375
7376         * lyxfind.C (LyXReplace): we have to check better if the returned
7377         text is not of theLockingInset()->getLockingInset().
7378
7379 2002-07-25  Juergen Vigna  <jug@sad.it>
7380
7381         * lyxfind.C (LyXReplace): don't replace if we don't get the
7382         right LyXText.
7383
7384         * undo_funcs.C (createUndo): remove debugging code.
7385
7386 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7387
7388         * buffer.C (parseSingleLyXformat2Token): Use default placement
7389         when reading old floats.
7390
7391         * FloatList.C (FloatList): Change the default placement of figure
7392         and tables to "tbp".
7393
7394 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7395
7396         * MenuBackend.C: using std::max
7397
7398 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7399
7400         * MenuBackend.C (expandToc):
7401         (expandToc2): code moved from xforms menu frontend. It is now
7402         generic and TOCs are transparent to menu frontends.
7403
7404 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7405
7406         * toc.C (getTocList): protect against buf=0
7407
7408         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7409         Menu as first parameter. Now, this calls itself recursively to
7410         expand a whole tree (this will be useful for TOC handling)
7411         (expandFloatInsert): remove 'wide' version of floats
7412
7413         * MenuBackend.h (submenuname): returns the name of the submenu.
7414         (submenu): returns the submenu itself, provided it has been
7415         created by MenuBackend::expand
7416
7417 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7418
7419         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7420         insets which have noFontChange == true. (bug #172)
7421
7422 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7423
7424         * BufferView_pimpl.C: add connection objects and use them...
7425         (Pimpl): here.
7426
7427 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7428
7429         * MenuBackend.C (expandLastfiles):
7430         (expandDocuments):
7431         (expandFormats):
7432         (expandFloatListInsert):
7433         (expandFloatInsert):
7434         (expand): split expand in parts
7435
7436 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7437
7438         * lyx_gui.C: use lyx_gui::exit()
7439
7440 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7441
7442         * LyXAction.C: show the failing pseudo action
7443
7444 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7445
7446         * buffer.C (readFile): Run the lyxconvert script in order to read
7447         old files.
7448
7449 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7450
7451         * LyXAction.C:
7452         * commandtags.h:
7453         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7454
7455 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7456
7457         * LyXAction.C:
7458         * commandtags.h:
7459         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7460
7461 2002-07-22  Herbert Voss  <voss@lyx.org>
7462
7463         * lengthcommon.C:
7464         * lyxlength.[Ch]: add support for the vertical lengths
7465
7466 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7467
7468         * toc.[Ch]: std:: fixes
7469
7470 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7471
7472         * lyxrc.C: do not include lyx_main.h
7473
7474         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7475         for layouts
7476
7477         * lyxrc.C:
7478         * encoding.C:
7479         * bufferlist.C:
7480         * BufferView2.C: include "lyxlex.h"
7481
7482         * tabular.h:
7483         * bufferparams.h: do not #include "lyxlex.h"
7484
7485         * lyxtextclasslist.C (Add): remove method
7486         (classlist): renamed to classlist_
7487
7488         * paragraph_pimpl.C:
7489         * paragraph.C:
7490         * text2.C:
7491         * CutAndPaste.C:
7492         * bufferview_funcs.C:
7493         * bufferlist.C:
7494         * text.C:
7495         * LaTeXFeatures.C:
7496         * buffer.C:
7497         * toc.C (getTocList): use BufferParams::getLyXTextClass
7498
7499         * toc.C (getTocList): use InsetFloat::addToToc
7500
7501         * toc.[Ch]: new files, containing helper functions to handle table
7502         of contents
7503
7504         * lyxfunc.C (dispatch): no need to remove spaces around command
7505         given as a string
7506         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7507         first command of the sequence; it is not very clever, but I do not
7508         have a better idea, actually
7509
7510         * LyXAction.C (LookupFunc): make sure to remove space at the
7511         beginning and end of the command
7512
7513 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7514
7515         * MenuBackend.C (getMenubar): new method: return the menubar of
7516         this menu set
7517         (read): treat differently reading of menu and menubar (in
7518         particular, the menubar has no name now)
7519         (Menu::menubar): remove
7520
7521         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7522         saving is finished
7523
7524 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7525
7526         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7527         a bibitem inset in a RTL paragraph.
7528
7529 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7530
7531         * paragraph_pimpl.C: constify
7532
7533         * BufferView_pimpl.C:
7534         * LaTeX.C:
7535         * lyxfunc.C: fix dispatch in a nicer way
7536
7537 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7538
7539         * lyxfunc.C (dispatch):
7540         * BufferView_pimpl.C:
7541         * BufferView_pimpl.h:
7542         * BufferView.C:
7543         * BufferView.h: rename Dispatch() to dispatch()
7544
7545         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7546
7547         * lyxlayout.C (Read): honor DependsOn tag
7548
7549         * lyxlayout.[Ch] (depends_on): new method
7550
7551         * version.C.in: update lyx_docversion
7552
7553         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7554
7555         * paragraph.C (validate): remove from here...
7556         * paragraph_pimpl.C (validate): ... and move here
7557         (isTextAt): make it const
7558
7559         * buffer.C (getLists): ws cleanup
7560
7561 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7562
7563         * language.C (read): Use iso8859-1 encoding in latex_lang
7564         (this prevents LyX from crashing when using iso10646-1 encoding).
7565
7566 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7567
7568         * text2.C (toggleInset): if cursor is inside an inset, close the
7569         inset and leave cursor _after_ it
7570
7571 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7572
7573         * lyxfunc.C: move minibuffer completion handling out of here
7574
7575 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7576
7577         * BufferView_pimpl.C:
7578         * LaTeX.C: fix dispatch calls
7579
7580 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7581
7582         * text.C (drawChars): Fix Arabic text rendering.
7583
7584 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7585
7586         * LyXAction.C:
7587         * commandtags.h:
7588         * lyxfunc.C: remove message-push/pop
7589
7590         * lyxserver.C:
7591         * lyxfunc.h:
7592         * lyxfunc.C: rationalise some code by removing verboseDispatch
7593           in favour of a bool argument to dispatch()
7594
7595 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7596
7597         * lyx_main.C (init): make sure to read symlinks as absolute paths
7598
7599 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7600
7601         * lyxfunc.h:
7602         * lyxfunc.C: no need for commandshortcut to be a member
7603
7604 2002-07-15  André Pönitz <poenitz@gmx.net>
7605
7606         * converter.C: add support for $$s (scripts from lib/scripts dir)
7607         * lyx_main.C: white space
7608
7609 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7610
7611         * bufferlist.C:
7612         * lyxrc.h:
7613         * lyxrc.C: remove second exit confirmation
7614
7615 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7616
7617         * BufferView.h:
7618         * BufferView.C:
7619         * BufferView2.C:
7620         * BufferView_pimpl.h:
7621         * BufferView_pimpl.C:
7622         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7623
7624 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7625
7626         * MenuBackend.C (expand): add numeric shortcuts to document menu
7627
7628         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7629
7630 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7631
7632         * lyxfont.C (setLyXFamily):
7633         (setLyXSeries):
7634         (setLyXShape):
7635         (setLyXSize):
7636         (setLyXMisc):
7637         (lyxRead):
7638         * debug.C (value):
7639         * buffer.C (asciiParagraph): use ascii_lowercase
7640
7641 2002-07-15  Mike Fabian  <mfabian@suse.de>
7642
7643         * lyxlex_pimpl.C (search_kw):
7644         * lyxlex.C (getLongString):
7645         * converter.h (operator<):
7646         * converter.C (operator<):
7647         * buffer.C (parseSingleLyXformat2Token):
7648         (asciiParagraph):
7649         * ToolbarDefaults.C (read):
7650         * MenuBackend.C (checkShortcuts):
7651         (read):
7652         * LColor.C (getFromGUIName):
7653         (getFromLyXName): use the compare_ascii_no_case instead of
7654         compare_no_case, because in turkish, 'i' is not the lowercase
7655         version of 'I', and thus turkish locale breaks parsing of tags.
7656
7657 2002-07-16  Angus Leeming  <leeming@lyx.org>
7658
7659         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7660         now takes a Buffer const & argument.
7661
7662 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7663
7664         * BufferView.C (resize): check there's a buffer to resize
7665
7666 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7667
7668         * lyxfunc.C: remove dead code
7669
7670         * lyxserver.h:
7671         * lyxserver.C: use lyx_guii::set_read_callback
7672
7673 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7674
7675         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7676         an inset in a RTL paragraph.
7677
7678 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7679
7680         * lyxfunc.C: repaint after a font size update
7681
7682 2002-07-15  André Pönitz <poenitz@gmx.net>
7683
7684         * lyxlength.C: inBP should be able to return negative values
7685
7686 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7687
7688         * lyxfunc.C: use lyx_gui::update_fonts()
7689
7690 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7691
7692         * lyxfunc.C: use lyx_gui::update_color()
7693
7694 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7695
7696         * bufferlist.C:
7697         * lyxfunc.h:
7698         * lyxfunc.C:
7699         * lyxrc.h:
7700         * lyxrc.C: remove file->new asks for name option, and let
7701           buffer-new take an argument
7702
7703 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7704
7705         * BufferView_pimpl.C: remove unneeded extra repaint()
7706
7707 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7708
7709         * LyXAction.C: allow command-sequence with NoBuffer
7710
7711         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7712
7713 2002-07-10  Angus Leeming  <leeming@lyx.org>
7714
7715         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7716
7717 2002-07-09  Angus Leeming  <leeming@lyx.org>
7718
7719         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7720
7721 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7722
7723         * lengthcommon.h: whitespace
7724
7725         * lyxfunc.C: update scrollbar after goto paragraph
7726
7727         * lyxtext.h: factor out page break drawing, and fix it so
7728           page break/added space paints as selected nicely
7729
7730 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7731
7732         * BufferView_pimpl.C: add FIXMEs, clean up a little
7733
7734 2002-07-09  André Pönitz <poenitz@gmx.net>
7735
7736         * lyxfont.[Ch]: support for wasy symbols
7737
7738 2002-07-08  André Pönitz <poenitz@gmx.net>
7739
7740         * BufferView_pimpl.C: apply John's patch for #93.
7741
7742 2002-07-05  Angus Leeming  <leeming@lyx.org>
7743
7744         * BufferView_pimpl.C (buffer): generate previews if desired.
7745
7746         * LColor.h: add "preview" to the color enum.
7747
7748         * LColor.C (LColor): add a corresponding entry to the items array.
7749
7750         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7751         with this buffer.
7752
7753 2002-07-05  Angus Leeming  <leeming@lyx.org>
7754
7755         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7756         The body of the code is now in the method that is passed an ostream &
7757         rather than a file name.
7758         Pass an additional only_preamble parameter, useful for the forthcoming
7759         preview stuff.
7760
7761 2002-07-03  André Pönitz <poenitz@gmx.net>
7762
7763         * lyxfunc.C: simplify getStatus() a bit for math stuff
7764
7765 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7766
7767         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7768
7769 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7770
7771         * text.C (changeRegionCase): do not change case of all the
7772         document when region ends at paragraph end (bug #461)
7773
7774 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7775
7776         * paragraph.C (startTeXParParams):
7777         (endTeXParParams): add \protect when necessary
7778
7779 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7780
7781         * BufferView_pimpl.C (workAreaExpose): remove warning
7782
7783 2002-06-27  Angus Leeming  <leeming@lyx.org>
7784
7785         * Makefile.am: add lyxlayout_ptr_fwd.h.
7786
7787 2002-06-26  André Pönitz <poenitz@gmx.net>
7788
7789         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7790
7791 2002-06-25  Angus Leeming  <leeming@lyx.org>
7792
7793         * lyxfunc.C (dispatch): Comment out the call to
7794         grfx::GCache::changeDisplay. The method no longer exists now that the
7795         pixmap generation part of the graphics loader has been moved into
7796         InsetGraphics.
7797
7798 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7799
7800         * text2.C: layout as layout
7801
7802         * text.C: layout as layout
7803
7804         * tabular.C (OldFormatRead): layout as layout
7805
7806         * paragraph_pimpl.C (TeXDeeper): layout as layout
7807         (realizeFont): layout as layout
7808
7809         * paragraph.C (writeFile): layout as layout
7810         (validate): layout as layout
7811         (getFont): layout as layout
7812         (getLabelFont): layout as layout
7813         (getLayoutFont): layout as layout
7814         (breakParagraph): layout as layout
7815         (stripLeadingSpaces): layout as layout
7816         (getEndLabel): layout as layout
7817         (getMaxDepthAfter): layout as layout
7818         (applyLayout): layout as layout
7819         (TeXOnePar): layout as layout
7820         (simpleTeXOnePar): layout as layout
7821         (TeXEnvironment): layout as layout
7822         (layout): layout as layout
7823         (layout): layout as layout
7824
7825         * lyxtextclass.C (compare_name): new functor to work with
7826         shared_ptr, layout as layout
7827         (Read): layout as layout
7828         (hasLayout): layout as layout
7829         (operator): layout as layout
7830         (delete_layout): layout as layout
7831         (defaultLayout): layout as layout
7832
7833         * lyxlayout_ptr_fwd.h: new file
7834
7835         * lyxlayout.C (Read): layout as layout
7836
7837         * lyx_cb.C (MenuInsertLabel): layout as layout
7838
7839         * bufferlist.C (newFile): layout as layout
7840
7841         * buffer.C (readLyXformat2): layout as layout
7842         (parseSingleLyXformat2Token): layout as layout
7843         (insertStringAsLines): layout as layout
7844         (asciiParagraph): layout as layout
7845         (latexParagraphs): layout as layout
7846         (makeLinuxDocFile): layout as layout
7847         (simpleLinuxDocOnePar): layout as layout
7848         (makeDocBookFile): layout as layout
7849         (simpleDocBookOnePar): layout as layout
7850         (getLists): layout as layout
7851
7852         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7853
7854         * CutAndPaste.C (cutSelection): layout as layout
7855         (pasteSelection): layout as layout
7856         (SwitchLayoutsBetweenClasses): layout as layout
7857
7858         * BufferView_pimpl.C (Dispatch): layout as layout
7859         (smartQuote): layout as layout
7860
7861         * BufferView2.C (unlockInset): layout as layout
7862
7863 2002-06-24  André Pönitz <poenitz@gmx.net>
7864
7865         * lyxfunc.C: fix #487
7866
7867 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7868
7869         * lyxrc.h:
7870         * lyxrc.C:
7871         * lyxfunc.C: remove display_shortcuts, show_banner
7872
7873 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7874
7875         * Buffer_pimpl.C: oops, update on resize
7876
7877 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7878
7879         * buffer.C:
7880         * converter.C:
7881         * exporter.C:
7882         * lyxfunc.C:
7883         * BufferView.h:
7884         * BufferView.C: use repaint()
7885
7886         * BufferView_pimpl.h:
7887         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7888           as it's a clearer description. Remove superfluous
7889           redraws.
7890
7891 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7892
7893         * text.C: fix bug 488. Not ideal, but getting
7894           getWord() to work properly for the insets that
7895           matter is more difficult ...
7896
7897 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7898
7899         * BufferView_pimpl.C:
7900         * LyXAction.C:
7901         * commandtags.h:
7902         * lyxfunc.C: remove the six million index lyxfuncs to just
7903           one, and DTRT (bug 458)
7904
7905 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7906
7907         * BufferView.h:
7908         * BufferView.C:
7909         * BufferView_pimpl.h:
7910         * BufferView_pimpl.C: clean up resize() stuff,
7911           and unnecessary updateScreen()s
7912
7913 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7914
7915         * BufferView.h:
7916         * BufferView.C:
7917         * BufferView_pimpl.h:
7918         * BufferView_pimpl.C:
7919         * lyxfind.h:
7920         * lyxfind.C:
7921         * minibuffer.C: remove focus management of workarea,
7922           not needed. Use screen's greyOut()
7923
7924 2002-06-17  Herbert Voss  <voss@lyx.org>
7925
7926         * converter.C: (convert) do not post a message, when converting
7927         fails, let the calling function decide what to do in this case
7928
7929 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7930
7931         * lyxfunc.C: tidy up a little
7932
7933 2002-06-16    <alstrup@diku.dk>
7934
7935         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7936         Got rid of FORMS_H_LOCATION include. Now we are
7937         GUII.
7938
7939 2002-06-15  LyX Development team  <lyx@rilke>
7940
7941         * buffer.[Ch] (sgmlOpenTag):
7942         (sgmlCloseTag): Added support for avoiding pernicious mixed
7943         content. Return number of lines written.
7944
7945         (makeLinuxDocFile):
7946         (makeDocBookFile): Fixed calls to sgml*Tag.
7947         Simple white space clean.
7948
7949         (simpleDocBookOnePar): Simple white space clean.
7950
7951         * tabular.[Ch] (docBook): Renamed to docbook and got another
7952         argument to related with the pernicious mixed content.
7953
7954         (docbookRow): Fixed calls for docbook inset method.
7955
7956 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7957
7958         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7959         so it's X11 independent.
7960
7961         * kb*.[Ch]: ditto.
7962
7963         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7964
7965 2002-06-15  Lyx Development team  <lyx@electronia>
7966
7967         * intl.h: Renamed getTrans to getTransManager.
7968
7969 2002-06-14  Angus Leeming  <leeming@lyx.org>
7970
7971         * Makefile.am: nuke forgotten stl_string_fwd.h.
7972
7973 2002-06-12  Angus Leeming  <leeming@lyx.org>
7974
7975         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7976
7977 2002-06-13  Angus Leeming  <leeming@lyx.org>
7978
7979         * LaTeX.C:
7980         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7981
7982 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7983
7984         * kbmap.C (getiso): add support for cyrillic and greek
7985
7986 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7987
7988         * BufferView.h:
7989         * BufferView.C:
7990         * BufferView_pimpl.h:
7991         * BufferView_pimpl.C: move bogus scrolling logic
7992           to xforms
7993
7994 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7995
7996         * lyxfunc.C:
7997         * BufferView_pimpl.C: view->resize() change
7998
7999 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8000
8001         * BufferView_pimpl.C: topCursorVisible
8002           prototype change
8003
8004 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8005
8006         * Makefile.am:
8007         * lyx_gui.h:
8008         * lyx_gui.C: move to frontends/
8009
8010         * main.C:
8011         * lyx_main.h:
8012         * lyx_main.C: changes from above
8013
8014 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8015
8016         * intl.C:
8017         * intl.h:
8018         * kbmap.C:
8019         * kbsequence.C:
8020         * lyx_cb.C:
8021         * lyx_main.C: minor tidy
8022
8023 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8024
8025         * BufferView_pimpl.h:
8026         * BufferView_pimpl.C:
8027         * BufferView.h:
8028         * BufferView.C: make painter() const,
8029           remove dead code
8030
8031         * BufferView2.C: use screen() accessor
8032
8033         * lyx_main.h:
8034         * lyx_main.C: some minor cleanup
8035
8036 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8037
8038         * BufferView_pimpl.h:
8039         * BufferView_pimpl.C: remove enter/leaveView,
8040           use workHeight()
8041
8042 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8043
8044         * BufferView.h:
8045         * BufferView.C:
8046         * BufferView2.C:
8047         * BufferView_pimpl.h:
8048         * BufferView_pimpl.C: only construct screen once,
8049           rename
8050
8051         * lyxrc.C: remove pointless comment
8052
8053 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8054
8055         * BufferView.h:
8056         * BufferView.C: remove active() and belowMouse()
8057
8058         * BufferView_pimpl.h:
8059         * BufferView_pimpl.C: use workarea() not workarea_,
8060           and make it use a scoped_ptr instead
8061
8062 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8063
8064         * lyx_gui.C: add debug message on BadWindow
8065
8066 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8067
8068         * sp_spell.C: fdopen is not part of the C++ standard.
8069
8070         * paragraph.C (InsetIterator): use >= instead of ==
8071
8072 2002-06-07  Angus Leeming  <leeming@lyx.org>
8073
8074         Fixes needed to compile with Compaq cxx 6.5.
8075         * BufferView_pimpl.C:
8076         * DepTable.C:
8077         * buffer.C:
8078         * converter.C:
8079         * encoding.C:
8080         * lyx_gui.C:
8081         * lyx_main.C:
8082         * lyxtextclasslist.C:
8083         * minibuffer.C:
8084         * sp_spell.C:
8085         * tabular_funcs.C:
8086         * vc-backend.C:
8087         all c-library variables have been moved into namespace std. Wrap
8088         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8089
8090         * lyxlength.C:
8091         * tabular-old.C:
8092         * tabular.C:
8093         Add a using std::abs declaration.
8094
8095         * kbmap.h (modifier_pair):
8096         * paragraph.h (InsetTable, InsetList):
8097         * lyxfont.h (FontBits):
8098         type definition made public.
8099
8100         * bufferlist.C (emergencyWriteAll): the compiler complains that
8101         there is more than one possible lyx::class_fun template to choose from.
8102         I re-named the void specialisation as lyx::void_class_fun.
8103
8104         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8105
8106         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8107         the compiler is is unable to find tostr in write_attribute.
8108
8109 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8110
8111         * buffer.C (sgmlError): hide #warning
8112
8113 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8114
8115         * xtl/*: get rid of xtl, which is not in use anyway
8116
8117         * LyXAction.C (init):
8118         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8119         were unimplemented xtl experimentation
8120
8121 2002-06-04  André Pönitz <poenitz@gmx.net>
8122
8123         * lyxfunc.C: disable array operation on simple formulae
8124
8125 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8126
8127         * converter.C: constify a bit
8128
8129 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8130
8131         * lyx_gui.C: check xforms version correctly
8132
8133 2002-04-30  Herbert Voss  <voss@lyx.org>
8134
8135         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8136         "keep" option
8137
8138 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8139
8140         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8141           attempt to register it with a VCS)
8142
8143 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8144
8145         * lyx_main.C (init): honor variables LYX_DIR_13x and
8146         LYX_USERDIR_13x
8147
8148 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8149
8150         * buffer.h:
8151         * buffer.C:
8152         * lyx_main.C: fix a crash on bad command line,
8153           and give a useful exit status on error
8154
8155         * lyxfunc.C (doImport): allow -i lyx to work
8156
8157 2002-03-30  André Pönitz <poenitz@gmx.net>
8158
8159         * lyxfunc.C: mathed font changes
8160
8161 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8162
8163         * LaTeX.C:
8164         * importer.h:
8165         * importer.C:
8166         * lyx_sty.h:
8167         * lyx_sty.C:
8168         * lyxlex.C:
8169         * lyxrow.h:
8170         * lyxtext.h:
8171         * paragraph.h:
8172         * paragraph.C:
8173         * texrow.h:
8174         * texrow.C:
8175         * text.C:
8176         * trans_mgr.h: srcdocs, and some minor cleanups
8177
8178 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8179
8180         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8181         call getFont all the time)
8182
8183 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8184
8185         * switch from SigC signals to boost::signals
8186
8187 2002-05-29  André Pönitz <poenitz@gmx.net>
8188
8189         * paragraph_pimpl.C (getChar): don't call size() too often...
8190
8191 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8192
8193         * paragraph_pimpl.C (insertChar): do not try to update tables when
8194         appending (pos == size())
8195
8196         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8197         in order to reduce drastically the number of comparisons needed to
8198         parse a large document
8199
8200 2002-05-29  André Pönitz <poenitz@gmx.net>
8201
8202         * text.C:
8203         * text2.C:
8204         * lyxtextclass.C:
8205         * sp_pspell.h:
8206         * textclasslist.[Ch]:
8207         * sp_ispell.h: whitespace change
8208
8209 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8210
8211         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8212         lyxaction directly now.
8213
8214 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8215
8216         * trans.C:
8217         * lyxfont.C:
8218         * lyxvc.C: remove unused headers
8219
8220 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8221
8222         * Makefile.am:
8223         * buffer.h:
8224         * undostack.h:
8225         * undostack.C:
8226         * undo_funcs.h:
8227         * undo_funcs.C: some cleanups. Use shared_ptr
8228           and a template for the undo stacks.
8229
8230 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8231
8232         * BufferView_pimpl.h:
8233         * BufferView_pimpl.C:
8234         * kbmap.h:
8235         * kbmap.C:
8236         * kbsequence.h:
8237         * kbsequence.C:
8238         * lyxfunc.h:
8239         * lyxfunc.C:
8240         * text2.C: use key_state/mouse_state
8241
8242 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8243
8244         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8245         and LSubstring
8246
8247         * chset.C: change include order
8248         (loadFile): use boost regex and get rid of LRegex and LSubstring
8249
8250         * Makefile.am (BOOST_LIBS): new variable
8251         (lyx_LDADD): use it
8252
8253         * LaTeX.C: change include order.
8254         (scanAuxFile): use boost regex and get rid of LRegex and
8255         LSubstring
8256         (deplog): ditto
8257
8258 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8259
8260         * ColorHandler.h:
8261         * ColorHandler.C:
8262         * FontInfo.h:
8263         * FontInfo.C: moved to frontends/xforms/
8264
8265         * FontLoader.h:
8266         * FontLoader.C: moved into frontends for GUIIzation
8267
8268         * Makefile.am:
8269         * lyx_gui.C:
8270         * lyxfont.C:
8271         * lyxfunc.C: changes from above
8272
8273 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8274
8275         * LColor.C: remove spurious X include
8276
8277         * BufferView_pimpl.C:
8278         * Makefile.am:
8279         * font.h:
8280         * font.C:
8281         * text.C:
8282         * text2.C: move font metrics to frontends/
8283
8284 2002-05-24  Juergen Vigna  <jug@sad.it>
8285
8286         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8287         setting the undo_cursor.
8288
8289         * ParagraphParameters.h: include local includes first.
8290
8291 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8292
8293         * BufferView_pimpl.C:
8294         * BufferView_pimpl.h:
8295         * Makefile.am:
8296         * WorkArea.h:
8297         * WorkArea.C:
8298         * screen.C: move WorkArea into frontends/
8299
8300         * lyxscreen.h:
8301         * screen.C:
8302         * text.C:
8303         * BufferView.C:
8304         * BufferView2.C: move LyXScreen into frontends/
8305
8306         * lyxlookup.h:
8307         * lyxlookup.C:
8308         * lyx_gui.C: move lyxlookup into frontends/xforms/
8309
8310 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8311
8312         * BufferView2.C:
8313         * BufferView_pimpl.C:
8314         * FontLoader.C:
8315         * LyXView.h:
8316         * LyXView.C:
8317         * Makefile.am:
8318         * WorkArea.C:
8319         * XFormsView.h:
8320         * XFormsView.C:
8321         * buffer.C:
8322         * bufferlist.C:
8323         * bufferview_funcs.C:
8324         * converter.C:
8325         * importer.C:
8326         * lyx_cb.C:
8327         * lyx_gui.C:
8328         * lyx_main.C:
8329         * lyx_find.C:
8330         * lyxfunc.C:
8331         * lyxvc.C:
8332         * minibuffer.C:
8333         * text.C:
8334         * text2.C:
8335         * trans.C:
8336         * vc-backend.C: move LyX/XFormsView into frontends/
8337
8338 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8339
8340         * Makefile.am:
8341         * PainterBase.C:
8342         * PainterBase.h:
8343         * Painter.C:
8344         * Painter.h:
8345         * WorkArea.C:
8346         * WorkArea.h:
8347         * screen.C:
8348         * tabular.C:
8349         * text.C:
8350         * text2.C: move Painter to frontends/
8351
8352 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8353
8354         * buffer.C: comment out some some code that depend upon lyx_format
8355         < 220
8356
8357         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8358         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8359
8360         * buffer.h (NO_COMPABILITY): turn off compability
8361
8362         * ColorHandler.C: include scoped_array.hpp
8363
8364         * font.C: Use more specific smart_ptr header.
8365         * Painter.C: ditto
8366         * gettext.C: ditto
8367         * ShareContainer.h: ditto
8368         * lyx_main.h: ditto
8369         * kbmap.h: ditto
8370         * FontInfo.h: ditto
8371         * BufferView_pimpl.h: ditto
8372         * ColorHandler.h: ditto
8373
8374         * kbmap.C (defkey): change call to shared_ptr::reset
8375
8376 2002-05-21  Juergen Vigna  <jug@sad.it>
8377
8378         * buffer.C (insertErtContents): fix to insert ert asis if it is
8379         non empty. Skip it completely if it contains only whitespaces.
8380
8381 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8382
8383         * BufferView_pimpl.C:
8384         * BufferView2.C: clear selection on paste (bug 393)
8385
8386 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8387
8388         * DepTable.C: include ctime
8389
8390 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8391
8392         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8393
8394 2002-05-14  Juergen Vigna  <jug@sad.it>
8395
8396         * text.C (breakParagraph): fixed function to honor the keepempty
8397         layout in the right maner and also to permit the right breaking
8398         algorithm on empty or non empyt keepempty paragraphs.
8399
8400         * paragraph.C (breakParagraph): we have to check also if the par
8401         is really empty (!size()) for isempty otherwise we do the wrong
8402         paragraph break.
8403
8404 2002-05-10  Juergen Vigna  <jug@sad.it>
8405
8406         * buffer.[Ch] : The following are only changes to the ert
8407         compatibility read reading old LaTeX layout and font stuff and
8408         convert it to ERTInsets.
8409
8410         * buffer.h: added isErtInset().
8411
8412         * buffer.C (struct ErtComp): add a fromlayout bool to check
8413         if we're inside a LaTeX layout.
8414         (isErtInset): new helper function.
8415         (insertErtContents): look for other ert insets before this one
8416         and insert the contents there, so that we don't have subsequent
8417         ERT insets with nothing between them. This way we create only one
8418         inset with multiple paragraphs. Also check if we don't insert only
8419         spaces ' ' as they are ignored anyway afterwards in the .tex file
8420         so if we have only spaces we will ignore this latex part in the
8421         new file.
8422         (parseSingleLyXformat2Token \\layout): better compatibility when
8423         reading layout-latex stuff.
8424         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8425         language tag.
8426         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8427         stuff after reading the inset only get the information back from
8428         the stack.
8429
8430 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8431
8432         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8433
8434         * LaTeXFeatures.C (getBabelOptions): New method.
8435
8436 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8437
8438         * BufferView_pimpl.C (Dispatch): work around missing argument for
8439         'layout'
8440
8441 2002-05-08  Juergen Vigna  <jug@sad.it>
8442
8443         * text.C (leftMargin): handle paragraph leftindent.
8444
8445         * paragraph.C (writeFile): write the new \\leftindent tag.
8446         (validate): handle leftindent code.
8447         (TeXEnvironment): handle paragraphleftindent code again.
8448
8449         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8450
8451         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8452         for paragrap_extra indent code and new token \\leftindent.
8453         (latexParagraphs): handle the leftindent as environment.
8454
8455         * ParameterStruct.h: added leftindent support.
8456
8457         * ParagraphParameters.C (leftIndent): added support functions for
8458         the paragraph left indent.
8459
8460         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8461         more appropriate.
8462
8463 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8464
8465         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8466         inside insetERT.
8467
8468         * text.C (computeBidiTables): No bidi in insetERT.
8469
8470         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8471         in RTL documents.
8472
8473 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8474
8475         * version.C.in: pre 5
8476
8477 2002-05-02  José Matos  <jamatos@fep.up.pt>
8478         * buffer.C (makeDocBookFile): white space changes, add newline to
8479         command styles.
8480         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8481
8482         * tabular.C (docBook): fix typo.
8483
8484 2002-05-03  Juergen Vigna  <jug@sad.it>
8485
8486         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8487         change in LyXText as we can not be sure it was not freed.
8488         (drawOneRow): remove unused code.
8489
8490         * text.C (drawInset): redo the calculation of the need_break_row as
8491         it could have a row which was already freed.
8492         (draw): look at the return value of drawInset and return false if
8493         it also returned false.
8494         (paintRowText): look at the return value of draw and return false if
8495         it also returned false.
8496
8497         * lyxtext.h: added bool return type to drawInset() and draw() so that
8498         if we have a change in the row so that the rowbreak has to be redone
8499         we abort drawing as it will be called again.
8500
8501 2002-05-02  Juergen Vigna  <jug@sad.it>
8502
8503         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8504         a change in the maintext also if we're inside an inset.
8505         (Dispatch): set the cursor again after a break line and after the
8506         screen has been updated as it could be we're in a different row.
8507
8508         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8509         to set the cursor behind the pargraph with > size().
8510         (setCursor): check also for the same paragraph when checking where
8511         to put the cursor if we have a NFR inset.
8512
8513         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8514         parts of layout read further up as it still was in the wrong
8515         position.
8516
8517 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8518
8519         * screen.C (drawFromTo): change sine fullRebreak always return
8520         true.
8521
8522         * buffer.C (parseSingleLyXformat2Token): reindent some
8523
8524         * BufferView_pimpl.C (update): change since fullRebreak always
8525         return true.
8526         (Dispatch): git rid of the last hardcoded "Standard"s.
8527
8528 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8529
8530         * text2.[Ch] (fullRebreak): make it return void now that we always
8531         returned true.
8532
8533 2002-04-30  Juergen Vigna  <jug@sad.it>
8534
8535         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8536         ert compatibility check for "latex" layout.
8537
8538 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8539
8540         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8541         minipages: use col% instead of p%, and also use the current font.
8542         (makeLaTeXFile): Fix use babel condition.
8543         (parseSingleLyXformat2Token): Correct font when reading old floats.
8544
8545 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8546
8547         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8548         inserting list of floats.
8549
8550 2002-04-25  Herbert Voss  <voss@lyx.org>
8551
8552         * MenuBackend.C (expand): don't add the graphics extensions to the
8553         export menu
8554
8555 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8556
8557         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8558         non-existing layout, do not complain if it was the default layout
8559         of the original class (bug #342)
8560
8561 2002-04-24  Juergen Vigna  <jug@sad.it>
8562
8563         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8564         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8565
8566 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8567
8568         * buffer.C (getBibkeyList): If using \bibliography, return the
8569         option field with the reference itself. Enables us to provide natbib
8570         support when using \bibliography.
8571
8572 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8573
8574         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8575
8576         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8577         natbib is provided by the LaTeX class.
8578
8579 2002-04-23  Juergen Vigna  <jug@sad.it>
8580
8581         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8582         Wakeup functions.
8583
8584         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8585
8586 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8587
8588         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8589
8590         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8591         ensuremath around textordmasculine, textordfeminine and
8592         textdegree.
8593
8594 2002-04-19  Juergen Vigna  <jug@sad.it>
8595
8596         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8597         reinitializing the buffer otherwise row-dimensions may be wrong.
8598         (update): reset also the selection cursors if they do exits otherwise
8599         their x/y positions may be wrong.
8600
8601         * text2.C (cursorDown): don't enter the inset if we came from a row
8602         above and are one row over the inset.
8603
8604         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8605         really leaving an inset.
8606
8607 2002-04-18  Juergen Vigna  <jug@sad.it>
8608
8609         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8610         of the selected paragraph does not have the selected layout also if
8611         the last one had!
8612
8613         * text2.C (setLayout): fixed bug which did not change last selected
8614         paragraph.
8615
8616         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8617         changed the read and substituted \\end_float with \\end_inset!
8618
8619         * BufferView_pimpl.C (cursorPrevious):
8620         (cursorNext): fixed to make it work with rows heigher than the work
8621         area without moving the cursor only the draw of the row.
8622         (workAreaMotionNotify): fix jumping over high rows.
8623
8624 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8625
8626         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8627         Ressler.
8628
8629 2002-04-16  Juergen Vigna  <jug@sad.it>
8630
8631         * text2.C (setCursor): set also the irow().
8632         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8633         (cursorUp):
8634         (cursorDown): support for locking an inset if the x_fix value goes
8635         inside it. That way I can transverse insets too with cursor up/down.
8636
8637         * lyxrow.h: added irow helper function same as other (i) functions.
8638
8639         * BufferView_pimpl.C (cursorPrevious):
8640         (cursorNext): fixed for insets!
8641
8642 2002-04-15  Juergen Vigna  <jug@sad.it>
8643
8644         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8645         position otherwise it is wrong in some cases.
8646
8647         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8648         inside the inset before the call.
8649
8650 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8651
8652         * buffer.[Ch] (getBibkeyList): make it const.
8653
8654 2002-04-12  Juergen Vigna  <jug@sad.it>
8655
8656         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8657
8658         * text2.C (getCursorX): new helper function
8659         (setCursor): compute also ix_
8660         (setCursorFromCoordinates): set also ix.
8661
8662         * lyxcursor.h: added ix_ and helper functions.
8663
8664         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8665
8666         * buffer.C (insertStringAsLines): dont break paragraph if the this
8667         paragraph is inside an inset which does not permit it!
8668
8669         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8670         also with no chars on this paragraph.
8671         (paintRowText): only paint stuff if it's inside the workarea!
8672
8673         * paragraph.C (breakParagraph): honor keepempty flag and break the
8674         paragraph always below not above.
8675
8676         * BufferView2.C (unlockInset): update the paragraph layout on inset
8677         unlock as we changed paragraph in such a case.
8678
8679         * lyxfind.C (LyXFind): clear the former selection if not found!
8680
8681         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8682         again called in insertChar().
8683
8684         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8685         an inset which uses the whole row!
8686         (rightMargin): ditto.
8687         (insertChar): force a rebreak if we inserted an inset!
8688
8689 2002-03-28  Herbert Voss  <voss@lyx.org>
8690
8691         * lyxlength.[Ch]: add inBP() to get the right PS-point
8692         units (BigPoint). With inPixels we have rounding errors
8693
8694 2002-04-11  Juergen Vigna  <jug@sad.it>
8695
8696         * text2.C (setCursorFromCoordinates): set iy to the right value.
8697         (setCursor): add check if row->previous exists!
8698
8699         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8700         an old float_type as this was the case in the old code!
8701
8702         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8703
8704         * BufferView2.C (showLockedInsetCursor): use iy
8705         (fitLockedInsetCursor): ditto
8706
8707         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8708         locked insets as there we have the right value now.
8709
8710         * lyxcursor.C: added iy_ variable and iy functions to set to the
8711         baseline of cursor-y of the locked inset.
8712
8713         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8714         (setCursor): fixed for insets which need a full row.
8715
8716         * text.C (rowLastPrintable): don't ignore the last space when before
8717         an inset which needs a full row.
8718         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8719         as last character of a row when before a inset which needs a full row.
8720
8721 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8722
8723         * version.C.in: update date
8724
8725         * text2.C (fullRebreak): try to always return true and see what
8726         happens...
8727
8728 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8729
8730         * MenuBackend.C (expand): use Floating::listName
8731
8732         * FloatList.C (FloatList): add listName argument to the built-in
8733         floats
8734
8735         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8736         text associated with the float.
8737
8738 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8739
8740         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8741
8742 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8743
8744         * ShareContainer.h: add a couple of missing typenames.
8745
8746 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8747
8748         * lyxrc.C (getDescription): use _() correctly rather than N_().
8749
8750 2002-03-28  Herbert Voss  <voss@lyx.org>
8751
8752         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8753         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8754
8755 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8756
8757         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8758         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8759
8760 2002-03-29  Juergen Vigna  <jug@sad.it>
8761
8762         * lyxfunc.C (dispatch): add a missing fitCursor call.
8763
8764         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8765         it was scrolled by a cursor move, so return the bool status.
8766
8767         * BufferView.C (fitCursor): return the bool flag also to the outside
8768         world as this is needed.
8769
8770         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8771
8772         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8773         call the edit() as it is not needed (and wrong) IMO.
8774         (workAreaButtonPress): set the screen_first variable before evt.
8775         unlock the inset as this may change screen_first and then we have
8776         a wrong y position for the click!
8777
8778 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8779
8780         * MenuBackend.C (expand): another translation that I missed
8781
8782 2002-03-28  Juergen Vigna  <jug@sad.it>
8783
8784         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8785
8786         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8787
8788 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8789
8790         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8791
8792         * MenuBackend.C (expand): fix export/view/update when there is no
8793         document open.
8794
8795 2002-03-27  Herbert Voss  <voss@lyx.org>
8796
8797         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8798         and text%
8799
8800 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8801
8802         * bufferview_funcs.C (currentState): only show paragraph number
8803         for is DEVEL_VERSION is set.
8804
8805         * lyxfunc.C (dispatch): put warning in INFO channel
8806
8807         * MenuBackend.C (expand): translate the name of floats
8808
8809         * FloatList.C (FloatList): mark the float names for translation
8810
8811         * converter.C (convert): use LibScriptSearch
8812
8813 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8814
8815         * MenuBackend.C (defaults): fix default menu (we might as well get
8816         rid of it...)
8817
8818 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8819
8820         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8821         directory.
8822
8823 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8824
8825         * lyxvc.C: reorder includes.
8826
8827 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8828
8829         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8830           properly
8831
8832 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8833
8834         * CutAndPaste.C: change layouts earlier on paste
8835           to avoid crashing when calling getFont()
8836
8837 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8838
8839         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8840         irritating #error.
8841
8842 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8843
8844         * WorkArea.C: remove 'Pending' debug message.
8845
8846         * most files: ws cleanup
8847
8848         * buffer.[Ch]: ws changes
8849
8850         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8851
8852 2002-03-21  Juergen Vigna  <jug@sad.it>
8853
8854         * tabular.C (SetMultiColumn): collapse also the contents of the
8855         cells and set the last border right. Added a Buffer const * param.
8856
8857 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8858
8859         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8860         linking or not.
8861
8862 2002-03-19  Juergen Vigna  <jug@sad.it>
8863
8864         * text2.C (clearSelection): reset also xsel_cache.
8865
8866         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8867         where it needs to be called (John tells us to do so too :)
8868         (selectionLost): reset sel_cache.
8869
8870         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8871
8872 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8873
8874         * text2.C (setCursorIntern): put debuging code in INSETS channel
8875
8876 2002-03-19  André Pönitz <poenitz@gmx.net>
8877
8878         * lyxfunc.C: tiny whitespace change
8879
8880 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8881
8882         * ToolbarDefaults.C (init):
8883         * LyXAction.C (init):
8884         * commandtags.h:
8885         * BufferView_pimpl.C (Dispatch):
8886         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8887
8888 2002-03-19  Allan Rae  <rae@lyx.org>
8889
8890         * exporter.C (Export): removeAutoInsets before doing anything else.
8891         While I've just introduced a dependency on BufferView this really is
8892         the best place to clean the buffer otherwise you need to cleanup in
8893         a dozen places before calling export or cleanup in a dozen functions
8894         that export calls.
8895
8896         * converter.C (runLaTeX):
8897         (scanLog): Better handling of removeAutoInsets and screen updates.
8898
8899         * lyxfunc.C (dispatch): small whitespace changes
8900
8901 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8902
8903         * WorkArea.C (C_WorkAreaEvent): return a value.
8904         (event_cb): return 1 if we handled the event, 0 otherwise.
8905
8906         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8907
8908 2002-03-18  Juergen Vigna  <jug@sad.it>
8909
8910         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8911         (GetAdditionalWidth): ditto.
8912         (RightLine): ditto.
8913         (LeftLine): ditto.
8914
8915         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8916         inset if we're there actually (probably not used right now but this
8917         is the direction to go for unifying code).
8918         (paste): disable code to clear the selection.
8919
8920         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8921         inside an InsetText and move the check further up as it is in the
8922         wrong place.
8923
8924         * text2.C (pasteSelection): set a selection over the pasted text.
8925
8926 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8927
8928         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8929         and libgraphics to build on Cygwin.
8930
8931 2002-03-15  Juergen Vigna  <jug@sad.it>
8932
8933         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8934         inserting an Inset into the paragraph. I know this is not the best
8935         fix but we already use current_view in CutAndPaste so we will remove
8936         all of it's using at the same time.
8937
8938         * buffer.C (sgmlError): deactivated function till it is rewritten in
8939         the right mode, now it can create problems.
8940
8941         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8942         before accessing it.
8943
8944 2002-03-14  Juergen Vigna  <jug@sad.it>
8945
8946         * undo_funcs.C (textHandleUndo): do the right thing when updating
8947         the inset after the undo/redo.
8948
8949         * text2.C (setCursor): just some testcode for #44 not ready yet.
8950
8951         * undo_funcs.C (textHandleUndo): set the next() and previous()
8952         pointers of the paragraph to 0 before deleting otherwise we have
8953         problems with the Paragraph::[destructor].
8954
8955         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8956         on a paragraph insertion.
8957
8958 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8959
8960         * buffer.C (asciiParagraph): use += operator for char append to
8961         string.
8962
8963         * paragraph.C (getFontSettings): compare >= not just >
8964         (highestFontInRange): ditto
8965         (setFont): ditto
8966
8967 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8968
8969         * paragraph.C: change several algorithm to be more appripriate for
8970         the problem domain. This is lookip in FontList and in the InsetList.
8971
8972 2002-03-13  André Pönitz <poenitz@gmx.net>
8973
8974         * commandtags.h:
8975         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8976
8977 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8978
8979         * commandtags.h:
8980         * LyXAction.C:
8981         * lyxfunc.C:
8982         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8983
8984 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8985
8986         * Painter.C (display): anon helper function, adjust code for this
8987         change.
8988         (pixmap): remove function.
8989
8990         * Painter.h: remove private display variable.
8991
8992         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8993
8994 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8995
8996         * WorkArea.[Ch]: remove figinset_canvas cruft.
8997
8998 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8999
9000         * lyxtextclass.C (operator): add one item cache optimization.
9001
9002         * bufferlist.h: doxy changes
9003
9004         * bufferlist.C: ws changes
9005
9006         * DepTable.[Ch] (ext_exist): place const in the right spot.
9007
9008         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9009         call resizeInsets.
9010         (workAreaExpose): call resizeInsets when the with BufferView changes.
9011         (Dispatch): adjust for protectedBlank removal
9012         (specialChar): call updateInset if the insert went ok.
9013
9014         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9015         specialChar instead.
9016
9017         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9018
9019         * BufferView.h: doxy change
9020
9021         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9022
9023         * lyxtextclass.C (operator[]): remove non-const version
9024         (defaultLayout): remove non-const version
9025
9026 2002-03-12  Juergen Vigna  <jug@sad.it>
9027
9028         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9029         did resize the LyXText too.
9030
9031         * buffer.C (readLyXformat2): set layout information on newly allocated
9032         paragraphs.
9033
9034         * tabular.C (OldFormatRead): set layout information on the paragraph.
9035
9036 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9037
9038         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9039
9040 2002-03-11  Juergen Vigna  <jug@sad.it>
9041
9042         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9043         plainly wrong.
9044         (resizeCurrentBuffer): force also the insets to resize themselfes.
9045         (moveCursorUpdate): fixed up for InsetText.
9046
9047 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9048
9049         * commandtags.h:
9050         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9051         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9052         value of Dialogs::tooltipsEnabled().
9053         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9054
9055 2002-03-08  Juergen Vigna  <jug@sad.it>
9056
9057         * BufferView_pimpl.C (updateInset): update inset inside inset also
9058         if it isn't inside theLockingInset().
9059
9060 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9061
9062         * buffer.C (asciiParagraph): redo some of the word and line length
9063         handling.
9064         (getLists): look for Caption instead of caption.
9065
9066 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9067
9068         * buffer.C (Buffer): initialize niceFile to true
9069         (makeLaTeXFile):
9070         (makeLinuxDocFile):
9071         (makeDocBookFile): make sure niceFile is true on exit
9072
9073 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9074
9075         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9076
9077 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9078
9079         * LyXSendto.C: remove.
9080         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9081         * lyx_gui.C: remove now-redundant comment.
9082         * ColorHandler.h: remove forward declaration of class WorkArea.
9083         * lyxfunc.C: remove #include "WorkArea.h".
9084
9085 2002-03-07  Juergen Vigna  <jug@sad.it>
9086
9087         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9088         got moved away with the DEPM and also set the inset_owner always
9089         right which before could have been omitted.
9090
9091 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9092
9093         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9094         wanted layout is not found.
9095
9096 2002-03-07  Juergen Vigna  <jug@sad.it>
9097
9098         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9099
9100 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9101
9102         * paragraph.C (breakParagraph): use default layout not layout of
9103         prev paragraph.
9104         (Paragraph): clear ParagraphParameters.
9105
9106 2002-03-06  Juergen Vigna  <jug@sad.it>
9107
9108         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9109         otherwise it would not be a valid lenght. Fixed a special case in
9110         the minipage compatibility read where we end the document with a
9111         minipage.
9112
9113         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9114         was set as it could be 0 for InsetTexts first entry.
9115
9116 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9117
9118         * paragraph.C (writeFile): if layout is empty write out
9119         defaultLayoutName().
9120
9121         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9122         file without named layout we set layout to defaultLayoutName().
9123
9124 2002-03-06  Juergen Vigna  <jug@sad.it>
9125
9126         * CutAndPaste.C (copySelection): set layout for new paragraph.
9127
9128         * text.C (prepareToPrint): leave ERT inset left aligned
9129         (leftMargin): don't indent paragraphs inside ERT insets
9130
9131 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9132
9133         * paragraph.C (breakParagraph): dont call clear do the work manually
9134
9135         * paragraph.[Ch] (clear): remove function
9136
9137 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9138
9139         * paragraph.C (Paragraph): dont call clear, the work has already
9140         been done.
9141
9142         * lyxtextclass.C (operator): assert if n is empty
9143
9144         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9145         work manually instead.
9146
9147 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9148
9149         * BufferView_pimpl.C: protect selectionLost against text == 0
9150
9151 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9152
9153         * text.C (breakParagraph): fix a setting layout to '0' problem.
9154
9155 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9156
9157         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9158         final location of file, for the included files, and graphics.
9159
9160 2002-03-05  Juergen Vigna  <jug@sad.it>
9161
9162         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9163
9164 2002-03-04  Juergen Vigna  <jug@sad.it>
9165
9166         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9167
9168         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9169         last column of multicolumn cells.
9170         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9171
9172 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9173
9174         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9175         file if it doesn't go to a temporary file.
9176
9177         * buffer.C (sgmlOpenTag):
9178         (sgmlCloseTag):  remove extra newline insertion.
9179
9180 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9181
9182         * text.C (getRowNearY): comment out debug msg
9183
9184 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9185
9186         * text2.C: first -> first_y
9187
9188         * text.C (getRowNearY): add some attemts at a possible
9189         optimization, not working.
9190
9191         * tabular.[Ch]: add BufferParams to several function so that newly
9192         created paragraph can be initialized to he default layotu for the
9193         buffers textclass.
9194
9195         * tabular-old.C (ReadOld): add buf->params to call of Init
9196
9197         * screen.C: rename text->first to text->first_y
9198
9199         * paragraph.C (breakParagraph): always set layout in the broken
9200         paragraph
9201
9202         * lyxtextclass.C (Read): remove lowercase
9203         (hasLayout): ditto
9204         (operator): ditto
9205         (delete_layout): ditto
9206
9207         * lyxtext.h: rename first -> first_y
9208
9209         * lyxlayout.C (Read): remove lowercase
9210         (name): ditto
9211         (setName): ditto
9212         (obsoleted_by): ditto
9213
9214         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9215
9216         * buffer.C (insertErtContents): add params are to InsetERT
9217         (parseSingleLyXformat2Token): add code to check if a paragraphs
9218         layout really exist.
9219         (parseSingleLyXformat2Token): add params to several inset
9220         constructors
9221         (asciiParagraph): remove lowercase, do the layout comparisons with
9222         no_case
9223
9224         * BufferView_pimpl.C (cursorNext): first -> first_y
9225         (resizeCurrentBuffer): first -> first_y
9226         (updateScrollbar): first -> first_y
9227         (scrollCB): first -> first_y
9228         (workAreaMotionNotify): first -> first_y
9229         (workAreaButtonPress): first -> first_y
9230         (checkInsetHit): first -> first_y
9231         (cursorPrevious): first -> first_y
9232         (cursorNext): first -> first_y
9233         (Dispatch): add buffer_->params to severl inset contructors
9234
9235 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9236
9237         * lyxlayout.C (Read): remove some debug info that I forgot.
9238
9239         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9240         clean up the code slightly.
9241         (makeLinuxDocFile): ditto
9242         (makeDocBookFile): ditto
9243
9244         * text2.C: layout as string
9245
9246         * text.C: layout as string
9247
9248         * paragraph_pimpl.C: layout as string
9249
9250         * paragraph.[Ch]: layout as string
9251
9252         * lyxtextclasslist.[Ch]: layout as string
9253
9254         * lyxtextclass.[Ch]: layout as string
9255
9256         * lyxtext.h: layout as string
9257
9258         * lyxlayout.[Ch]: layout as string
9259
9260         * lyx_cb.C: layout as string
9261
9262         * bufferview_funcs.C: layout as string
9263
9264         * bufferparams.C: layout as string
9265
9266         * buffer.C: layout as string
9267
9268         * LyXView.[Ch]: layout as string
9269
9270         * LaTeXFeatures.[Ch]: layout as string
9271
9272         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9273
9274         * BufferView_pimpl.C: change current_layout to string, remove
9275         lyx::layout_type.
9276         (Dispatch):
9277         (smartQuote):
9278         (insertInset):
9279         (workAreaButtonRelease): layout as string
9280
9281         * BufferView2.C (unlockInset): adjust
9282
9283         * vspace.C (asLatexCommand): use an explict temp variable.
9284
9285 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9286
9287         * Makefile.am: use FRONTEND_*
9288
9289 2002-03-01  Juergen Vigna  <jug@sad.it>
9290
9291         * tabular.C (SetWidthOfMulticolCell): changed to something better
9292         I hope but still work in progress.
9293         (recalculateMulticolumnsOfColumn): renamed function from
9294         recalculateMulticolCells as it is more appropriate now.
9295         (SetWidthOfCell): calculate multicols better.
9296
9297 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9298
9299         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9300
9301         * lyxfunc.C (processKeySym): print sequence also if it is
9302         `deleted' (complete)
9303
9304         * kbsequence.C (print): print sequence even if it is deleted
9305         (complete would be a better word, actually).
9306
9307         * lyxfunc.C (dispatch): print complete options after a prefix key
9308
9309         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9310
9311 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9312
9313         * text2.C (setCharFont): eliminate setCharFont code duplication.
9314
9315 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9316
9317         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9318         LFUN_TABULAR_FEATURE (bug #177)
9319
9320 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9321
9322         * Makefile.am: remove figure.h
9323
9324 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9325
9326         * Bufferview_pimpl.C:
9327         * CutAndPasteC:
9328         * LaTeX.C:
9329         * LyXSendto.C:
9330         * buffer.C:
9331         * bufferlist.C:
9332         * converter.C:
9333         * language.C:
9334         * lyxfunc.C:
9335         * lyxvc.C:
9336         * paragraph.C:
9337         * text.C:
9338         * text2.C: remove #include "lyx_gui_misc.h".
9339
9340         * LaTeX.C: added #include <cstdio>
9341
9342 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9343
9344         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9345         that the paragraph following this one can have.
9346
9347         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9348
9349         * vspace.C (asLatexCommand): fix bogus gcc warning
9350
9351         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9352
9353 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9354
9355         * text2.C (setLayout): get rid of redundant code
9356
9357 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9358
9359         * text2.C (incDepth): make sure depth cannot be increased beyond
9360         reasonable values.
9361
9362 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9363
9364         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9365         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9366
9367         * PainterBase.h (image):
9368         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9369         a LyXImage const *.
9370
9371 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9372
9373         * BufferView.C:
9374         * BufferView.h:
9375         * BufferView_pimpl.C:
9376         * BufferView_pimpl.h:
9377         * LaTeXFeatures.C:
9378         * LyXAction.C:
9379         * LyXView.C:
9380         * Makefile.am:
9381         * UpdateList.h:
9382         * UpdateList.C:
9383         * buffer.C:
9384         * figure.h:
9385         * figureForm.C:
9386         * figureForm.h:
9387         * figure_form.C:
9388         * figure_form.h:
9389         * lyx_cb.C:
9390         * lyx_gui.C:
9391         * lyx_gui_misc.C:
9392         * lyxfunc.C:
9393         * sp_base.h:
9394         * sp_ispell.h:
9395         * sp_pspell.h:
9396         * sp_spell.C: remove fig inset, and the crap house of
9397           cards that follows it
9398
9399 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9400
9401         * Makefile.am:
9402         * lyxserver.C:
9403         * os2_defines.h:
9404         * os2_errortable.h:
9405         * nt_defines.h: move .h into support/
9406
9407         * vms_defines.h: remove
9408
9409         * WorkArea.C: add space in debug output
9410
9411         * text2.C:
9412         * paragraph.C:
9413         * buffer.C: add WITH_WARNINGS
9414
9415         * vc-backend.h:
9416         * vc-backend.C:
9417         * bufferlist.C: s/retrive/retrieve/, add docs
9418
9419         * vspace.h:
9420         * vspace.C:
9421         * kbmap.h:
9422         * lyxlength.h:
9423         * lyxgluelength.h:
9424         * length_common.h:
9425         * chset.h:
9426         * chset.C: add docs
9427
9428         * lyxgui.C: add ID to X error handler
9429
9430         * lyxtestclass.c: fix typo
9431
9432 2002-02-26  Juergen Vigna  <jug@sad.it>
9433
9434         * tabular_funcs.C (write_attribute): changed so that some default
9435         attributes are not written at all.
9436         (getTokenValue): set default values before trying to read the
9437         value so we have the return value always set as default if we don't
9438         find the token we search for.
9439
9440         * tabular.C (Write): write bools as bools not as strings!
9441
9442 2002-02-22  Juergen Vigna  <jug@sad.it>
9443
9444         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9445         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9446
9447         * text.C (leftMargin): don't add an indent for paragraphs inside
9448         tabular cells (fix #208).
9449
9450 2002-02-21  José Matos  <jamatos@fep.up.pt>
9451
9452         * tabular.C (docBook): fixed support for long tables.
9453
9454 2002-02-20  Juergen Vigna  <jug@sad.it>
9455
9456         * text2.C (getFont): get the drawing font of the Inset if this
9457         paragraph is inside an inset (only important for InsetERT for now).
9458
9459         * buffer.C (insertErtContents): use new lanugage params in ERT
9460         constructor.
9461
9462         * CutAndPaste.C: commenting out seemingly uneeded code.
9463
9464 2002-02-19  Allan Rae  <rae@lyx.org>
9465
9466         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9467         Iterators might be simple to use but they also get invalidated.
9468         (removeAutoInsets): renamed saved cursor tracking variables and added
9469         some comments to clarify what everything does.
9470
9471 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9472
9473         * Chktex.C:
9474         * LaTeX.C:
9475         * LyXSendto.C:
9476         * converter.C:
9477         * lyx_cb.C:
9478         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9479         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9480
9481         * lyxfunc.C:
9482         * vc-backend.h: remove #include "support/syscall.h"
9483
9484         * LaTeX.C:
9485         * LyXSendto.C:
9486         * converter.C: rearrange #includes in Lars' approved fashion.
9487
9488         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9489         forward declare class Timeout in the header file.
9490
9491         * XFormsView.C: changes due to the above.
9492
9493         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9494         similar to LyXView.
9495
9496         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9497         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9498
9499 2002-02-18  José Matos  <jamatos@fep.up.pt>
9500
9501         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9502         insets contents.
9503
9504 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9505
9506         * a lot of small ws changes
9507         * add a lot of using std::XXX
9508         * use std construcs some places where approp.
9509         * use some exisint stuff from lyxfunctional where approp.
9510         * Make file changes to use partial linking (lets test this now...)
9511
9512 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9513
9514         * Chktex.C:
9515         * buffer.C:
9516         remove #include "support/syscontr.h" as it's redundant. Always has been.
9517
9518         * Chktex.C:
9519         * LaTeX.C:
9520         * LyXSendto.C:
9521         * converter.C:
9522         * lyx_cb.C:
9523         * vc-backend.C:
9524         change Systemcalls::System to Systemcalls::Wait and
9525         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9526         No change of functionality, just reflects the stripped down Systemcalls
9527         class.
9528
9529 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9530
9531         * debug.[Ch]: add a GRAPHICS type to the enum.
9532
9533 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9534
9535         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9536
9537         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9538         there is an inset.
9539
9540 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9541
9542         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9543         match the changes below.
9544
9545         * text2.C (toggleInset): if there is not editable inset at cursor
9546         position, try to see if cursor is _inside_ a collapsable inset
9547         and close it.
9548
9549 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9550
9551         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9552         document menu has a nice checkbox
9553
9554 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9555
9556         * lyxlength.C (asLatexString): change PW to output as percent of
9557         \textwidth.
9558
9559         * lengthcommon.C: change '%' to 't%'
9560
9561         * lyxfunc.C (dispatch): a few comments from Martin
9562
9563 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9564
9565         * WorkArea.h:
9566         * WorkArea.C:
9567         * BufferView_pimpl.h:
9568         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9569           the X selection.
9570
9571 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9572
9573         * vspace.C (inPixels): fix compiler warning
9574
9575 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9576
9577         * lyxfunc.C (getStatus): fix status message for disabled commands.
9578
9579 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9580
9581         * BufferView_pimpl.C: fix crash on close buffer
9582         during selection (#227)
9583
9584 2002-01-27  Herbert Voss  <voss@lyx.org>
9585
9586         * buffer.C: link old Figure to new graphic inset
9587
9588 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9589
9590         * FontLoader.C (getFontinfo): Change the latex font names in order
9591         to match the names of type1inst.
9592
9593 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9594
9595         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9596
9597         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9598         (extchanged): ditto
9599         (ext_exist): ditto
9600         (remove_files_with_extension): ditto
9601         (remove_file): ditto
9602         (write): ditto
9603
9604         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9605         document is smaller than the work area height. Do not initialize
9606         static variables to 0.
9607
9608 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9609
9610         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9611
9612         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9613         LFUN_LAYOUT_PARAGRAPHS.
9614
9615         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9616         tabular. It is possible to provide a possible cell, which will
9617         typically be the actcell from the corresponding insettabular
9618
9619         * lyxfunc.C (getStatus): small cleanup; disable
9620         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9621         true
9622
9623 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9624
9625         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9626
9627         * paragraph.C (startTeXParParams):
9628         (endTeXParParams): new methods. The LaTeX code to
9629         start/end paragraph formatting
9630         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9631         empty (fixes bug #200)
9632
9633         * vspace.C (inPixels): adapt to the change below
9634         (inPixels): [later] more cleanups (remove unused variables)
9635
9636         * lyxlength.C (inPixels): change to use a width and a height as
9637         parameter.
9638
9639 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9640
9641         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9642         Replaced with \paperwidth
9643
9644         * DepTable.C (insert): add std:: qualifier
9645
9646 2002-01-18  Allan Rae  <rae@lyx.org>
9647
9648         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9649         updated also?
9650
9651         * text.C (drawInset): Turned out I didn't know enough about how
9652         rebreaking worked.  This fixes most of the redraw problems.  I see
9653         an occasional cursor trail when a line is broken now and the cursor
9654         placement can seem out by a few pixels also after a rebreak.
9655
9656 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9657
9658         * buffer.C (parseSingleLyXformat2Token): update because minipage
9659         width is now a LyXLength
9660
9661         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9662
9663         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9664         math insets
9665
9666 2002-01-17  Juergen Vigna  <jug@sad.it>
9667
9668         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9669
9670         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9671         is set correctly and the inset is updated correctly.
9672
9673 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9674
9675         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9676         the beginning of the loop.
9677
9678 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9679
9680         * lyxrc.C: improve help for use_scalable_fonts
9681
9682 2002-01-17  Allan Rae  <rae@lyx.org>
9683
9684         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9685
9686 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9687
9688         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9689         make sure to set their inset_owner to the right value (bug #171)
9690
9691 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9692
9693         * DepTable.h
9694         * DepTable.C: Implement mtime checking to reduce time spent doing
9695         CRCs.
9696
9697 2002-01-16  Juergen Vigna  <jug@sad.it>
9698
9699         * tabular.C (GetAdditionalHeight): one of error fixed.
9700
9701         * lyxrc.C (output): small fix in writing use_pspell.
9702
9703 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9704
9705         * sp_base.h: #include LString.h
9706
9707 2002-01-16  Allan Rae  <rae@lyx.org>
9708
9709         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9710         Can someone check this please?
9711
9712         * text.C (drawInset): It was possible that p.row would be removed by
9713         breakAgainOneRow upsetting a few other settings.  There may be another
9714         small tweak possible by setting need_break_row = 0 when p.row has been
9715         removed but I don't know enough about the logic here.
9716
9717 2002-01-15  Allan Rae  <rae@lyx.org>
9718
9719         * text.C (insertChar): removed conditional truism.
9720
9721         * BufferView2.C (removeAutoInsets): More tweaks.
9722         cur_par_prev could be a stray pointer.  Check for trailing empty line
9723         in case last line was cur_par and only had an error inset on it.
9724
9725 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9726
9727         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9728         absolute
9729
9730         * vc-backend.C (most methods):
9731         * exporter.C (Export):
9732         * converter.C (convert):
9733         (runLaTeX):
9734         * LyXSendto.C (SendtoApplyCB):
9735         * lyxfunc.C (dispatch):
9736         (menuNew):
9737         (open):
9738         (doImport):
9739         * lyx_cb.C (AutoSave):
9740         (InsertAsciiFile):
9741         * BufferView_pimpl.C (MenuInsertLyXFile):
9742         * buffer.C (runChktex): use Buffer::filePath().
9743
9744         * buffer.h: rename filename to filename_; rename filepath to
9745         filepath_ and make it private
9746         (filePath): new method
9747
9748         * buffer.C (writeFile): use fileName()
9749         (getLatexName):
9750
9751         * lyx_main.C (init): fix starting  of LyX when the binary is a
9752         link from so,ewhere else.
9753
9754         * minibuffer.C: include <cctype> for isprint
9755
9756 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9757
9758         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9759         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9760         name clash with InsetCollapsable's width function.
9761
9762 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9763
9764         * lastfiles.C: include <iterator>
9765
9766 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9767
9768         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9769         std::count.
9770
9771         * buffer.C (makeLaTeXFile): ditto.
9772         Also make loop operation more transparent.
9773
9774 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9775
9776         * ToolbarDefaults.C: remove trailing comma closing namespace.
9777
9778         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9779
9780         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9781         as in WorkArea.
9782
9783         * trans.C (Load): comment out unused variable, allowed.
9784
9785 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9786
9787         * minibuffer.[Ch] (append_char): new method to recieve input from the
9788         drop-down completion browser. If a key was pressed, then recieve this
9789         char and append it to the existing string.
9790         (peek_event): modify the positioning data passed to the completion
9791         browser so that it can be placed above the minibuffer rather than below.
9792 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9793
9794         * LyXAction.C (init): alloe error-next for readonly documents.
9795
9796         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9797         count.
9798
9799 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9800
9801         * bufferlist.C (readFile): create the buffer _after_ checking that
9802         the file exists.
9803
9804         * lyxfunc.C (verboseDispatch): fix handling of arguments
9805
9806         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9807
9808         * lyxrc.C: use string::erase() instead of initializing to "".
9809
9810
9811 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9812
9813         * BufferView_pimpl.h:
9814         * BufferView_pimpl.C:
9815         * WorkArea.h:
9816         * WorkArea.C:
9817         * text2.C: tell X when we have made a selection for copying
9818
9819 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9820
9821         * BufferView_pimpl.C (MenuInsertLyXFile):
9822         * lyxfunc.C (menuNew):
9823         (open):
9824         (doImport): add shortcuts to directory buttons
9825
9826         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9827         open a float)
9828
9829         * lyxfunc.C (setStatusMessage):
9830         (getStatusMessage): new methods
9831         (getStatus):use setStatusMessage instead of setErrorMessage
9832         (dispatch): when function is disabled, set error message here
9833         [instead of in getStatus previously]
9834
9835         * BufferView_pimpl.C (workAreaButtonRelease): update
9836         toolbar/menubar here too.
9837
9838 2002-01-13  Allan Rae  <rae@lyx.org>
9839
9840         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9841         Now seems indestructible.  Remaining task is to audit all other
9842         code affected by deleteEmptyParagraphMechanism.  One small quirk
9843         left is that an empty document with an error in the preamble can
9844         be made to report an error but no error box appears.  I don't know
9845         where it goes.
9846         (removeAutoInsets): Improved comments.
9847
9848 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9849
9850         * Thesaurus.h:
9851         * Thesaurus.C: update for Aiksaurus 0.14
9852
9853 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9854
9855         * text2.C (firstParagraph): removed member function, all uses
9856         replaces with ownerParagraph
9857         (redoParagraphs): here
9858         (updateInset): here
9859         (toggleAppendix): here
9860         * BufferView2.C (insertErrors): here
9861         (setCursorFromRow): here
9862
9863 2002-01-13  Allan Rae  <rae@lyx.org>
9864
9865         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9866         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9867         There is still a way to segfault this although you may have to do this
9868         multiple times: Have an InsetERT with an unknown command in it.
9869         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9870         <down-arrow>, <Enter> again, View->DVI, BANG!
9871
9872         * text2.C (setCursor):
9873         (deleteEmptyParagraphMechanism):
9874         * lyxtext.h (setCursor):
9875         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9876         Making use of the return value may help fix other bugs.
9877
9878 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9879
9880         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9881
9882         * LyXView.C (updateMenubar): call MenuBar::update here
9883         (updateToolbar): but not here
9884         (showState): do not update toolbar/menubar
9885
9886         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9887         should need to care about that.
9888
9889         * lyxfunc.C (verboseDispatch): simplify a bit
9890         (getStatus): have a version which takes a pseudoaction, and
9891         another which requires a (kb_action,string).
9892
9893         * LyXAction.C (retrieveActionArg): make it work also when action
9894         is not a pseudo-action.
9895         (getActionName): simplify a bit
9896         (helpText):
9897
9898 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9899
9900         * lyxfunc.C (verboseDispatch): new families of methods with
9901         several ways to specify a command and a bool to indicate whether
9902         the command name and shortcut should be displayed in minibuffer
9903         (eventually, we could extend that to a finer bitmask like
9904         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9905         (dispatch): the pristine dispatch command which just, well,
9906         dispatchs! Note it still sets its result to minibuffer; I'm not
9907         sure we want that.
9908
9909         * lyxfunc.h: remove setHintMessage
9910
9911         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9912
9913 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9914
9915         * BufferView_pimpl.C (specialChar): delete new inset if we have
9916         not been able to insert it.
9917
9918         * kbmap.C: revert to using int instead of kb_action, since all we
9919         are dealing with is pseudo-actions.
9920
9921         * LyXAction.C (searchActionArg): change to return int instead of
9922         kb_action, since the result is a pseudoaction.
9923
9924 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9925
9926         * buffer.C (insertErtContents): Fix (partially) the font bug.
9927
9928 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9929
9930         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9931         as the other one is broken on my machine!
9932
9933 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9934
9935         * commandtags.h:
9936         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9937
9938 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9939
9940         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9941         reflect their actual use. Provide compatibility code for older lyxrc
9942         files.
9943
9944         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9945         FL_NORMAL_STYLE.
9946         change names of popup font variables in line with the changes to lyxrc.C
9947
9948 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9949
9950         * buffer.C (asciiParagraph): avoid outputing a word twice after
9951         an inset.
9952
9953         * lyxrc.C (getDescription): document that document_path and
9954         template_path can be empty.
9955
9956 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9957
9958         * LaTeXFeatures.C (getMacros):
9959         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9960
9961         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9962
9963         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9964         getPackages.
9965         (getPackages): rename feature "floats" to "float". Use an array to
9966         iterate over 'simple' features (i.e. just a \usepackage). Add
9967         handling of "amsmath" (renamed from "amsstyle").
9968
9969 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9970
9971         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9972         features list.
9973
9974 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9975
9976         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9977         FuncStaus::FuncStatus & FuncStaus::some_method().
9978
9979 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9980
9981         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9982         of the func_satus stuff. Edited and massaged in various ways by
9983         JMarc.
9984
9985         * lyxfunc.C (getStatus): use FuncStatus
9986
9987 2002-01-08  Juergen Vigna  <jug@sad.it>
9988
9989         * text.C (nextBreakPoint): use function Inset::isChar().
9990
9991         * paragraph.C (TeXOnePar): use function
9992         Inset::forceDefaultParagraphs.
9993
9994         * buffer.C (latexParagraphs): use function
9995         Inset::forceDefaultParagraphs.
9996
9997 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9998
9999         * lyx_gui.C (init): set the style of the menu popups to
10000         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10001
10002 2002-01-07  Juergen Vigna  <jug@sad.it>
10003
10004         * text.C (setHeightOfRow): small fix
10005         (prepareToPrint): don't look at alignment if we don't have the place
10006         for doing it.
10007
10008 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10009
10010         * box.C: New file. Move the Box methods and functions out of box.h,
10011         following Lars' suggestion.
10012
10013 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10014
10015         * box.h: #include "support/LOstream.h", needed for inlined function.
10016
10017         * lyxtextclass.C:
10018         * lyxtextclasslist.C: added some using std declarations.
10019
10020 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10021
10022         * box.h: make signed dimensions to allow insets wider than
10023           the screen (bug #162)
10024
10025         * BufferView_pimpl.C: add some insetHit debug
10026
10027 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10028
10029         * vc-backend.C: add FIXME
10030
10031 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10032
10033         * lyxfunc.C (getStatus): enable code for showing math font status
10034         in toolbar/menu.
10035
10036 2002-01-07  Juergen Vigna  <jug@sad.it>
10037
10038         * text.C (nextBreakPoint): removed debug output not needed anymore.
10039
10040 2002-01-06  Juergen Vigna  <jug@sad.it>
10041
10042         * text.C (nextBreakPoint): fixed up this function we had this bug
10043         since ever but now hopefully we break row better.
10044         (insertChar): we have to check if an inset is the next char as it
10045         could now happen that a large inset is causing a break.
10046
10047 2002-01-05  Juergen Vigna  <jug@sad.it>
10048
10049         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10050         if it doesn't like to be drawed.
10051
10052 2002-01-04  Juergen Vigna  <jug@sad.it>
10053
10054         * BufferView2.C (lockInset): forgot to set a cursor.
10055
10056         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10057
10058 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10059
10060         * FormMathsPanel.C:
10061         * FormMathsPanel.h
10062         * MathsSymbols.C:
10063         * form_maths_panel.C:
10064         * form_maths_panel.h:
10065         * form_maths_panel.fd: implemented sub- and super- buttons in math
10066         panel.
10067
10068         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10069         (or ^ space) to be used as in TeX (req'd by André).
10070
10071         * lyxfunc.C: Allow ^ and _ again to be used both as
10072         super/subscript (mathed) and as themselves (in text).
10073
10074 2002-01-03  Allan Rae  <rae@lyx.org>
10075
10076         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10077         "LyX" or the filename of the current buffer if it has one.  This is a
10078         modified form of John Levon's patch.
10079
10080         * XFormsView.C (setWindowTitle): also set icon title.
10081
10082         * LyXView.h (setWindowTitle): signature changed.
10083         * XFormsView.h (setWindowTitle): ditto.
10084
10085 2002-01-02  Juergen Vigna  <jug@sad.it>
10086
10087         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10088
10089 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10090
10091         * screen.C (topCursorVisible): introduce a temp var for
10092         text->cursor.row(), handle the case where this row is null. (kindo
10093         hachish)
10094
10095         * text2.C (setCursor): add a couple of asserts.
10096
10097         * paragraph.h (inset_iterator): add -> operator
10098
10099         * paragraph.[Ch] (autoDeleteInsets): remove member function
10100
10101         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10102         cursor pos correctly and handle inset deletion by itself.
10103         (insertErrors): move iterator declaration out of for expression
10104
10105         * lyxtextclass.C: add <algorithm>
10106
10107         * Makefile.am: added the new files to sources, removed layout.C
10108
10109         * layout.C: removed file
10110
10111         * layout.h: remove LYX_DUMMY_LAYOUT
10112
10113         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10114         layout.
10115
10116         * lyxlayout.[Ch]:
10117         * lyxtextclass.[Ch]:
10118         * lyxtextclasslist.[Ch]: new files
10119
10120         * include order changes to a lot of files, also changes because of
10121         the six new files.
10122
10123 2001-12-27  Juergen Vigna  <jug@sad.it>
10124
10125         * buffer.C (asciiParagraph): more fixes.
10126
10127         * tabular.C (ascii): make ascii export support export of only the
10128         data separated by a column-delimiter.
10129         (ascii): better support for ascii export.
10130
10131         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10132
10133 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10134
10135         * tabular_funcs.C: use a "using std::getline" instead of the
10136         previous fix from Angus (necessary for cxx + lyxstring)
10137
10138 2001-12-24  Juergen Vigna  <jug@sad.it>
10139
10140         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10141
10142         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10143         problems. First check a minipage also if we have some ert-contents
10144         (not only on par->size(), second set the right depth of the paragraph
10145         on the relink to the root-paragraph-list!
10146
10147         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10148         which then did not anymore update the main paragraphs on undo/redo!
10149
10150 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10151
10152         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10153         code. Support all font-changing funcs (even those which are not in
10154         menu currently). Support for reporting font settings in
10155         mathed (disabled until Andre provides a function on mathed's side).
10156
10157         * func_status.h (toggle): small helper function to set toggle
10158         state on a flag.
10159
10160 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10161
10162         * tabular_funcs.C: getline -> std::getline
10163
10164 2001-12-21  Juergen Vigna  <jug@sad.it>
10165
10166         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10167         accessed and could be 0 (I couldn't generate this but it seems
10168         Michael could!).
10169
10170 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10171
10172         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10173         * tabular_funcs.h: here and include iosfwd
10174
10175 2001-12-20  Juergen Vigna  <jug@sad.it>
10176
10177         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10178         inside inset but undo_par was.
10179
10180 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10181
10182         * Thesaurus.C: always include <config.h> in sources.
10183
10184         * Painter.h:
10185         * lyxlookup.h:
10186         * box.h: do not include <config.h> in header files
10187
10188         * text.C (paintLastRow): remove unused variable
10189
10190         * text.C (transformChar):
10191         (insertChar):
10192         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10193
10194         * Painter.C (text):
10195         * font.C (width): rewrite to use uppercase() instead of
10196         islower/toupper.
10197
10198         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10199
10200 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10201
10202         * lyxfind.C: clean up of find failure position change
10203
10204 2001-12-20  Juergen Vigna  <jug@sad.it>
10205
10206         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10207
10208         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10209         (TeXRow): added to LaTeX a single tabular row.
10210         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10211         (Latex): simplified and finally good LT-h/f support.
10212         (various_functions): just small adaptions for LT-h/f support.
10213
10214         * tabular_funcs.[hC]: added and moved here all not classfunctions
10215         of LyXTabular.
10216
10217 2001-12-19  Juergen Vigna  <jug@sad.it>
10218
10219         * tabular.[Ch]: better support for longtabular options (not finished
10220         yet!)
10221
10222 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10223
10224         * text.C (paintLastRow): use the label font instead of the font of
10225         the last character to compute the size of *_BOX. This makes more
10226         sense and avoids a crash with empty paragraphs.
10227         Use Painter::rectangle to draw EMPTY_BOX.
10228
10229 2001-12-19  Juergen Vigna  <jug@sad.it>
10230
10231         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10232         the paragraphs if the replaced paragraph is not the first one!
10233         Tried to delete not used paragraphs but does not work yet so for
10234         now it's inside #ifdef's and by default off!
10235
10236 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10237
10238         * MenuBackend.C: include "lyx_main.h" instead of declaring
10239         lastfiles (actually was declared as LastFiles* instead of a
10240         scoped_ptr).
10241
10242 2001-12-17  Juergen Vigna  <jug@sad.it>
10243
10244         * tabular.C (AppendColumn): applied John's fix
10245
10246 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10247
10248         * BufferView.h:
10249         * BufferView.C:
10250         * BufferView_pimpl.h:
10251         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10252
10253         * Makefile.am:
10254         * box.h: new start of class for above
10255
10256         * lyxfunc.C: ignore space-only minibuffer dispatches.
10257           Show the command name when it doesn't exist
10258
10259         * minibuffer.C: don't add empty lines to the history
10260
10261         * minibuffer.C: add a space on dropdown completion
10262
10263 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10264
10265         * text.C: fix line above/below drawing in insets
10266
10267 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10268
10269         * lyxlength.C (LyXLength): Initialize private variables.
10270
10271 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10272
10273         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10274         when inserting error insets.
10275
10276 2001-12-13  Juergen Vigna  <jug@sad.it>
10277
10278         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10279         actually sometimes the before-paragraph.
10280         (setUndo): don't clear the redostack if we're not actually undoing!
10281
10282 2001-12-06  Juergen Vigna  <jug@sad.it>
10283
10284         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10285         and fixed redoing of main paragraph, so we can use it now ;)
10286
10287         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10288
10289 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10290
10291         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10292         Juergen's request
10293
10294 2001-12-13  André Pönitz <poenitz@gmx.net>
10295
10296         * undostack.[Ch]:
10297         * undo_func.C: minor cleanup
10298
10299 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10300
10301         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10302         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10303         font in urw-fonts package which is marked as -urw-fontspecific and
10304         does not work (incidentally, changing the encoding in the
10305         fonts.dir of this package to -adobe-fontspecific fixes the
10306         problem).
10307
10308         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10309         is a crash when undoing first paragraph (Juergen, please take a
10310         look). THis does not mean the undo fix is wrong, just that it
10311         uncovers problems.
10312
10313         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10314         the (Paragraph*) version when needed instead of duplicating the
10315         code.
10316
10317         * text.C (workWidth): use Inset::parOwner to find out where the
10318         inset has been inserted. This is a huge performance gain for large
10319         documents with lots of insets. If Inset::parOwner is not set, fall
10320         back on the brute force method
10321
10322         * paragraph_pimpl.C (insertInset):
10323         * paragraph.C (Paragraph):
10324         (cutIntoMinibuffer): set parOwner of insets when
10325         inserting/removing them
10326
10327         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10328
10329 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10330
10331         * commandtags.h:
10332         * LyXAction.C:
10333         * lyx_main.C:
10334         * lyxfunc.C:
10335         * mathed/formulabase.C:
10336         * mathed/math_cursor.[Ch]:
10337         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10338
10339
10340 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10341
10342         * lyxlength.[Ch] (operator!=): new function
10343
10344 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10345
10346         * text.C (workWidth): use Inset::parOwner to find out where the
10347         inset has been inserted. This is a huge performance gain for large
10348         documents with lots of insets. If Inset::parOwner is not set, fall
10349         back on the brute force method
10350
10351         * paragraph_pimpl.C (insertInset):
10352         * paragraph.C (Paragraph):
10353         (cutIntoMinibuffer): set parOwner of insets when
10354         inserting/removing them
10355
10356         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10357
10358 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10359
10360         * tabular-old.C (getTokenValue):
10361         * tabular.C (getTokenValue):
10362         (write_attribute): new versions for LyXLength
10363         (everywhere): adjust the use of widths
10364
10365         * tabular.h: change the type of widths from string to LyXLength
10366
10367 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10368
10369         * paragraph.C: fixed missing line number count when exporting
10370         Environments to LaTeX file
10371
10372         * buffer.C: added informational message for checking line numbers.
10373
10374 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10375
10376         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10377         paragraph, do the 'double space' part, but not the 'empty
10378         paragraph' one.
10379
10380         * text.C (workWidth): small optimization
10381         (getLengthMarkerHeight): use minimal size for negative lengths.
10382
10383 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10384
10385         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10386
10387         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10388
10389 2001-12-11  André Pönitz <poenitz@gmx.net>
10390
10391         * FontLoader.C:
10392         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10393
10394 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10395
10396         * text2.C: keep selection on a setFont()
10397
10398 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10399
10400         * lyx_cb.C: another bv->text misuse, from insert label
10401
10402 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10403
10404         * kbsequence.h:
10405         * kbsequence.C: re-instate nmodifier mask
10406
10407 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10408
10409         * lyx_main.h: make lyxGUI private.
10410
10411 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10412
10413         * lyxfind.C: place the cursor correctly on failed search
10414
10415 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10416
10417         * text.C (getLengthMarkerHeight): for small heights, the arrows
10418         are not always on top/bottom of the text
10419         (drawLengthMarker): smaller arrows; take the left margin in
10420         account; draw also vfills.
10421         (paintFirstRow):
10422         (paintLastRow): remove special code for vfill and standard spaces,
10423         since everything is handled in drawLengthMarker now.
10424
10425 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10426
10427         * buffer.C (insertErtContents): try to handle font and language
10428         interaction a bit better.g
10429
10430         * ColorHandler.C (updateColor): change the hash to cover the whole
10431         LColor enum, ws cleanup
10432         (getGCLinepars): ditto
10433         (getGCLinepars): only lookup in the linecache once.
10434
10435 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10436
10437         * iterators.C (operator++): Make the iterator more robust
10438
10439         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10440         (John's patch)
10441         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10442
10443 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10444
10445         * lyxtext.h:
10446         * text.C: better added space drawing
10447
10448 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10449
10450         * LyXView.C:
10451         * BufferView2.C: fix layout combo update on inset unlock
10452
10453 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10454
10455         * Makefile.am: don't compile unused files
10456
10457 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10458
10459         * lyxfunc.C:
10460         * commandtags.h:
10461         * LyXAction.C: remove old LFUN_LAYOUTNO
10462
10463 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10464
10465         * paragraph_pimpl.h:
10466         * paragraph_pimpl.C: isTextAt() doesn't need font param
10467
10468 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10469
10470         * lyxlex.h:
10471         * lyxlex.C: little cleanup
10472
10473 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10474
10475         * BufferView_pimpl.C: fix insertAscii for insets
10476
10477 2001-12-05  Juergen Vigna  <jug@sad.it>
10478
10479         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10480         set the right font on the "multi" paragraph paste!
10481
10482 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10483
10484         * trans_decl.h:
10485         * trans_mgr.[Ch]:
10486         * trans.[Ch]:
10487         * lyxgluelength.C:
10488         * lyxlength.C: remove out-commented code.
10489
10490         * BufferView_pimpl:
10491         * CutAndPaste.C:
10492         * DepTable.C:
10493         * buffer.C:
10494         * chset.C:
10495         * lastfiles.C:
10496         * lyxlex.C:
10497         * lyxlex_pimpl.C:
10498         * lyxserver.C:
10499         * screen.C:
10500         * tabular-old.C:
10501         * tabular.C:
10502         * text.C:
10503         * trans_mgr.C:
10504         * vc-backend.C: change "while(" to "while ("
10505
10506         * lyxlength.[Ch]: add zero function to check if length is zero or
10507         not
10508         * lyxgluelength.C: use it
10509
10510 2001-12-05  Allan Rae  <rae@lyx.org>
10511
10512         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10513         Works for 2.95.3, from what I understand of Garst's reports this should
10514         work for other g++ versions.  We're screwed if the abs(int) definition
10515         changed between bugfix releases of gcc.
10516
10517 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10518
10519         * text.C: fix chapter label offset !
10520
10521 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10522
10523         * lyxtext.h:
10524         * text.C: fix hfill at end of line, clean up
10525
10526 2001-12-04  Juergen Vigna  <jug@sad.it>
10527
10528         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10529         that we force an update of the inset and it's owners if neccessary.
10530
10531 2001-12-03  Juergen Vigna  <jug@sad.it>
10532
10533         * text.C (rowLast): simplified code
10534
10535 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10536
10537         * lyxfunc.C: fix show options on timeout
10538
10539 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10540
10541         * screen.C (topCursorVisible): scroll half a page when the cursor
10542         reached top of bottom of screen
10543
10544 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10545
10546         * minibuffer.C: deactivate on loss of focus
10547
10548 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10549
10550         * vspace.[Ch] (operator!=): add operator.
10551
10552 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10553
10554         * BufferView_pimpl.C: refuse to open an inset when
10555         there's a selection.
10556
10557 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10558
10559         * BufferView_pimpl.C: allow to click on RHS of full row insets
10560
10561 2001-11-30  Juergen Vigna  <jug@sad.it>
10562
10563         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10564         insets for undo reasons.
10565
10566 2001-11-28  André Pönitz <poenitz@gmx.net>
10567
10568         * vspace.[Ch]: cosmetical changes
10569
10570 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10571
10572         * LyXAction.h:
10573         * LyXAction.C:
10574         * lyxfunc.h:
10575         * lyxfunc.C:
10576         * kbmap.h:
10577         * kbmap.C:
10578         * lyxrc.C:
10579         * kbsequence.h:
10580         * kbsequence.C: part re-write of old kb code
10581
10582         * Painter.C:
10583         * WorkArea.C: remove Lgb_bug_find_hack
10584
10585 2001-11-30  José Matos <jamatos@fep.up.pt>
10586
10587         * buffer.C (makeDocBookFile): add a comment to point a hack.
10588         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10589         Fixed a double write of labels.
10590
10591 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10592
10593         * LaTeX.C:
10594         * LaTeX.h Fixed bug in LaTeX class where it would not
10595         re-run latex if no depfiles were changed, but the .dvi was removed.
10596
10597 2001-11-28  André Pönitz <poenitz@gmx.net>
10598
10599         * all the files from the change on 2001/11/26:
10600         use lyx::layout_type instead of LyXTextClass::size_type
10601         use lyx::textclass_type instead of LyXTextClassList::size_type
10602
10603 2001-11-29  Juergen Vigna  <jug@sad.it>
10604
10605         * text.C: added support for paragraph::isFreeSpacing()
10606
10607         * buffer.C: same as above
10608
10609         * paragraph.h: inserted isFreeSpacing() function to enable
10610         FreeSpacing inside InsetERT.
10611
10612         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10613         of the paragraph's in the cut/copy buffer to 0!
10614
10615         * text2.C (removeRow): remove the assert as it can!
10616
10617         * lyxtext.h: added helper function firstRow returning firstrow and
10618         made firstrow private again.
10619
10620         * BufferView2.C (lockInset): don't relock if we're already locked!
10621
10622         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10623         the only paragraph.
10624         (removeRow): added Assert::(firstrow)
10625
10626         * debug.C: forgot to add INSETTEXT here.
10627
10628 2001-11-28  Juergen Vigna  <jug@sad.it>
10629
10630         * sp_spell.C (initialize): changed error text to more general
10631         spellchecker command use (not only ispell!)
10632
10633         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10634
10635         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10636
10637 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10638
10639         * vspace.C: initialise lyxgluelength on failure
10640
10641 2001-11-28  Allan Rae  <rae@lyx.org>
10642
10643         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10644         declaration & definition that looks like a function declaration.
10645
10646 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10647
10648         * BufferView2.C (copy):
10649         (copyEnvironment): do not clear the selection when doing a copy.
10650
10651         * text.C (paintFirstRow): compilation fix
10652
10653 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10654
10655         * tabular.C (Latex): correct line count when writing latex.
10656
10657 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10658
10659         * paragraph_pimpl.h:
10660         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10661           bug a bit
10662
10663 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10664
10665         * text.C:
10666         * LColor.h:
10667         * LColor.C: change vfillline->added_space
10668
10669         * text.C: add markers and text for added space
10670
10671         * vspace.C: fix comment
10672
10673 2001-11-28  André Pönitz <poenitz@gmx.net>
10674
10675         * paragraph.C: whitespace changes
10676         * all the other files from the change on 2001/11/26:
10677         change *::pos_type into lyx::pos_type
10678
10679 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10680
10681         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10682         language of the document when inserting error insets.
10683
10684 2001-11-26  André Pönitz <poenitz@gmx.net>
10685
10686         * BufferView_pimpl.[Ch]:
10687         *       CutAndPaste.C:
10688         * buffer.[Ch]:
10689         * lyxcursor.[Ch]:
10690         * lyxfind.C:
10691         * lyxfunc.C:
10692         * lyxrow.[Ch]:
10693         * paragraph.[Ch]:
10694         * paragraph_pimpl.[Ch]:
10695         * sp_spell.C:
10696         * text.C:
10697         * text2.C: reduce header dependencies, introduce type for positions
10698
10699 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10700
10701         * <various>: change to use Alert.h
10702
10703 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10704
10705         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10706         when encountering an unknown token.
10707         (readLyXformat2): Show an error message if there were unknown tokens.
10708
10709 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10710
10711         * BufferView2.C:
10712         * BufferView_pimpl.C:
10713         * buffer.C:
10714         * paragraph.h:
10715         * text.C:
10716         * text2.C: use par->isInset()
10717
10718 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10719
10720         * paragraph_pimpl.h:
10721         * paragraph_pimpl.C: cleanup
10722
10723 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10724
10725         * text2.C (removeRow):
10726         * text.C (setHeightOfRow): remove useless (and costly) call to
10727         getRow.
10728
10729 2001-11-20  Allan Rae  <rae@lyx.org>
10730
10731         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10732         Now need Inset*::checkInsertChar() to return true for appropriate
10733         cases so that the characters in the minibuffer will actually be
10734         inserted.
10735
10736 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10737
10738         * text.C: change the order of the includes.
10739         (workWidth): initialize it at once.
10740         (workWidth): make maxw unsigned
10741         (setHeightOfRow): remove unused variable (inset)
10742         (selectSelectedWord): remove unused variable (inset)
10743         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10744
10745 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10746
10747         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10748         server is not running.
10749         (openConnection):
10750         (closeConnection): add debug info when server is disabled.
10751
10752         * ColorHandler.C (getGCForeground): send debug message to GUI
10753         channel.
10754
10755         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10756
10757         * kbmap.C (bind): modify because return conventions of
10758         kb_sequence::parse have changed.
10759
10760         * kbsequence.C (parse): only ignore spaces and not any stupid
10761         control character. This avoids tests like s[i] <= ' ', which are
10762         guaranteed to fail with 8bit characters and signed chars.
10763         Change return code to string::npos when there have been no error
10764         (0 was a bad idea when error is at first character)
10765
10766 2001-11-14  José Matos  <jamatos@fep.up.pt>
10767
10768         * buffer.h:
10769         * buffer.C (simpleDocBookOnePar): removed unused argument.
10770
10771 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10772
10773         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10774         insets which are part of a word. Paragraph::isLetter takes care of
10775         that now. Use Paragraph::isInset to identify insets.
10776         (selectSelectedWord): do not test for hyphenation break.
10777
10778         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10779         that protected spaces are considered as spaces.
10780
10781         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10782         Inset::isLetter.
10783
10784 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10785
10786         * lyxserver.h:
10787         * lyxserver.C: fix it. and small cleanup.
10788
10789 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10790
10791         * BufferView_pimpl.C: use inline helpers
10792
10793         * LaTeXFeatures.h:
10794         * LaTeXFeatures.C: fix typos
10795
10796         * Spacing.h:
10797         * Spacing.C: move spacing_string into class
10798
10799         * ToolbarDefaults.C: move stuff into namespace anon
10800
10801         * layout.h: update enum
10802
10803         * lyxfunc.C: use better debug
10804
10805         * minibuffer.h: fix typo
10806
10807         * debug.h:
10808         * debug.C:
10809         * WorkArea.C: add and use Debug::WORKAREA
10810
10811         * lyxtext.h:
10812         * text.C:
10813         * text2.C: code re-organisation, inline helpers
10814
10815 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10816
10817         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10818         std::vector.empty().
10819
10820 2001-11-09  Allan Rae  <rae@lyx.org>
10821
10822         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10823         '\n's after tables.  Tabular and ERT inset work now makes this no
10824         longer necessary.
10825
10826 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10827
10828         * minibuffer.h:
10829         * minibuffer.C: fix crash, improve drop-down completion
10830
10831 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10832
10833         * lyxserver.h:
10834         * lyxserver.C: invalidate fd's when doing endPipe()
10835
10836 2001-11-08  José Matos  <jamatos@fep.up.pt>
10837
10838         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10839         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10840
10841         * paragraph.h:
10842         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10843
10844 2001-11-07  José Matos  <jamatos@fep.up.pt>
10845
10846         * buffer.h:
10847         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10848         const qualifier.
10849
10850         * buffer.C (sgmlOpenTag):
10851         * buffer.C (sgmlCloseTag): removed debug info.
10852
10853         * buffer.h (sgmlOpenTag):
10854         * buffer.h (sgmlCloseTag): made public.
10855
10856 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10857
10858         * buffer.C (saveParamsAsDefaults):
10859         * lyx_cb.C (MenuLayoutSave): remove
10860
10861         * LyXAction.C (init):
10862         * commandtags.h:
10863         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10864
10865 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10866
10867         * buffer.C (setPaperStuff): removed from here...
10868
10869         * bufferparams.C (setPaperStuff): ... and moved there.
10870
10871 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10872
10873         * minibuffer.h:
10874         * minibuffer.C:
10875         * XFormsView.C: add support for drop-down completion
10876
10877 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10878
10879         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10880         commands.
10881
10882 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10883
10884         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10885         disabled.
10886
10887 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10888
10889         * lyx_main.C: change ref to known bugs
10890
10891 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10892
10893         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10894         to work around older babel problems.
10895
10896 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10897
10898         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10899
10900 2001-10-24  Juergen Vigna  <jug@sad.it>
10901
10902         * tabular-old.C (ReadOld): below variable changes reflected.
10903
10904         * tabular.[Ch]: added ltType struct for longtable header/footer
10905         defines and changed all instances where they are used. Added
10906         future support for double top/bottom rows.
10907
10908 2001-10-24  José Matos  <jamatos@fep.up.pt>
10909
10910         * buffer.h (docbookHandleCaption):
10911         * buffer.C (docbookHandleCaption): removed unused function.
10912         (makeDocBookFile): moved docbook supported version to v4.1.
10913
10914 2001-10-24  José Matos  <jamatos@fep.up.pt>
10915
10916         * tabular.h:
10917         * tabular.C (docbookRow): new function to export docbook code of a row.
10918         (DocBook): now honors the longtable flags.
10919
10920 2001-10-23  José Matos  <jamatos@fep.up.pt>
10921
10922         * LaTeXFeatures.h:
10923         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10924         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10925
10926         * buffer.C (makeLinuxDocFile):
10927         (makeDocBookFile): reworked the preamble, more clean, and with
10928         support for lyx defined entities. Changed the document declaration
10929         to be more XML friendly.
10930
10931         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10932         if we need to output XML that should be done with a filter.
10933
10934 2001-10-22  Juergen Vigna  <jug@sad.it>
10935
10936         * sp_pspell.h (class PSpell): add alive function needed in the
10937         controller to see if the spellchecker could be started.
10938
10939 2001-10-22  Juergen Vigna  <jug@sad.it>
10940
10941         * buffer.C (insertStringAsLines): modify the font for inserting
10942         chars in certain conditions by calling checkInsertChar(font).
10943
10944 2001-10-19  Juergen Vigna  <jug@sad.it>
10945
10946         * text.C (workWidth): use getRow instead of wrong algorithm.
10947         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10948
10949 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10950
10951         * lyxserver.h:
10952         * lyxserver.C:
10953         * lyx_main.h:
10954         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10955
10956 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10957
10958         * text.C (workWidth): do not search for the exact row when
10959         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10960         optimization for big documents.
10961
10962 2001-10-18  Juergen Vigna  <jug@sad.it>
10963
10964         * text.C (workWidth): new function with added Inset * parameter.
10965
10966 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10967
10968         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10969
10970         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10971         change return type of getColumnNearX.
10972
10973
10974         * text.C (changeRegionCase): use uppercase/lowercase instead of
10975         toupper/tolower.
10976         (leftMargin):
10977         (rightMargin): simplify code by factoring out the uses of
10978         textclasslist.
10979         (labelFill):
10980         (numberOfHfills):
10981         (setHeightOfRow):
10982         (appendParagraph): use Paragraph::size_type
10983
10984 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10985
10986         * vspace.C (asLatexString): add a missing break
10987
10988 2001-10-15  Herbert Voss  <voss@perce.de>
10989
10990         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10991
10992 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10993
10994         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10995         is not available.
10996
10997 2001-10-10  André Pönitz <poenitz@gmx.net>
10998
10999         * lyxfunc.C: removed greek_kb_flag.
11000
11001 2001-10-10  Herbert Voss  <voss@perce.de>
11002
11003         * lyx_main.C: delete global string help_lyxdir.
11004
11005 2001-10-09  Herbert Voss  <voss@perce.de>
11006
11007         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11008
11009         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11010
11011         * lyx_main.C: added global string help_lyxdir.
11012
11013         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11014
11015 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11016
11017         * lyxrc.C (set_font_norm_type): support iso8859-4
11018
11019 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11020
11021         * LaTeX.C (deplog): add another regex for MikTeX
11022
11023 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11024
11025         * lyxrc.C (set_font_norm_type): support iso8859-3
11026
11027 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11028
11029         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11030
11031         * LaTeXFeatures.C: remove special case of french and index
11032
11033         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11034         before \begin{document}). This solves several incompatibilities.
11035
11036 2001-10-03  Garst Reese  <reese@isn.net>
11037
11038         * lyx_cb.C: change CheckTex error msg.
11039
11040 2001-10-03  José Matos  <jamatos@fep.up.pt>
11041
11042         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11043
11044 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11045
11046         * .cvsignore: update
11047
11048         * lyx_main.C (commandLineVersionInfo): use new style version info.
11049
11050         * buffer.C (writeFile):
11051         (makeLaTeXFile):
11052         (makeLinuxDocFile):
11053         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11054
11055         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11056
11057         * version.h: update to use stuff in version.C
11058
11059         * version.C.in: new file. Contains version information determined
11060         at compile time. This is a merging of version.h and
11061         version_info.h.in.
11062
11063 2001-10-03  Juergen Vigna  <jug@sad.it>
11064
11065         * BufferView_pimpl.C (update): don't change "dirty" status in
11066         updateInset call.
11067
11068 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11069
11070         * WorkArea.C (c-tor): re-position version string slightly.
11071
11072 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11073
11074         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11075         revert to previous code.
11076
11077         WorkArea.[Ch]: (show, destroySplash): methods removed.
11078
11079         WorkArea.C: rework code so that it's an amalgam of the codes before and
11080         after the splash screen was moved to WorkArea.
11081
11082 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11083
11084         * lyxrc.C (read):
11085         * vspace.C (inPixels):
11086         (lyx_advance):
11087         * kbmap.C (bind):
11088         * buffer.C (insertStringAsLines):
11089         (asciiParagraph): fix types to be large enough
11090
11091         * lyxlex_pimpl.h: change member status from short to int
11092
11093         * layout.h: fix type of endlabeltype
11094
11095         * kbmap.C (bind):
11096         * kbsequence.C (parse): change return type to string::size_type
11097
11098         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11099         variable
11100
11101         * Bullet.C (bulletSize):
11102         (bulletEntry): do not use short ints as parameters
11103
11104         * BufferView2.C (insertLyXFile): change a char to an int.
11105
11106         * WorkArea.C (WorkArea): remove unneeded floats in computation
11107
11108 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11109
11110         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11111
11112         * paragraph.C (asString): Do not ignore newline/hfill chars when
11113         copying to the clipboard.
11114
11115 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11116
11117         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11118         after a multi-line inset.
11119
11120 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11121
11122         * paragraph.C (validate): Set NeedLyXFootnoteCode
11123
11124 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11125
11126         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11127         and decrease-error to decrease.
11128
11129 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11130
11131         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11132         it more readable (should be equivalent)
11133
11134 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11135
11136         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11137
11138 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11139
11140         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11141         of a cursor (row, etc.) after a character has been deleted
11142         (deleteEmptyParagraphMechanism): call the method above on _all_
11143         cursors held by the LyXText when a double space has been
11144         detected/deleted.
11145
11146 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11147
11148         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11149         pixmap.
11150         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11151
11152         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11153         background. Use greyOut() and the new show() methods to toggle between
11154         the foreground and background. Add code to remove the splash after
11155         its initial showing.
11156
11157         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11158         (create_forms): no longer call Dialogs::showSplash.
11159
11160 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11161
11162         * .cvsignore: add version_info.h
11163
11164 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11165
11166         * version_info.h.in: new file
11167
11168         * Makefile.am: add version_info.h.in
11169
11170         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11171         version_info.h instead of VERSION_INFO
11172
11173 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11174
11175         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11176         The ERT inset now returns string().
11177
11178 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11179
11180         * lyxtext.h, text.C (selectNextWord): renamed as
11181         selectNextWordToSpellcheck.
11182
11183         * text.C (selectNextWordToSpellcheck): Modified to not select
11184         words inside an ERT inset.
11185
11186 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11187
11188         * lyx_cb.C (MenuLayoutSave): change a bit the question
11189
11190         * sp_base.h: include <sys/types.h>
11191
11192 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11193
11194         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11195
11196 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11197
11198         * several files: fix typos in user-visible strings
11199
11200 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11201
11202         * text2.C (pasteSelection): do not set the selection, since it
11203         will be cleared later. Actually, the intent was to fix the way the
11204         selection was set, but I figured rmoving the code was just as good.
11205
11206 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11207
11208         * FontLoader.C (available): Check if font is available without
11209         loading the font.
11210
11211 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11212
11213         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11214
11215 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11216
11217         * lyxrc.[Ch]: added display_graphics variable and associated code.
11218
11219 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11220
11221         * bufferparams.C (hasClassDefaults): new method. Returns true if
11222         the buffer parameters correspond to known class defaults
11223
11224 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11225
11226         * XFormsView.C (show): set minimum size to the main window.
11227
11228 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11229
11230         * text2.C (copySelection):
11231         (cutSelection):
11232         * lyxfind.C (LyXReplace):
11233         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11234         LyXText::selectionAsString.
11235
11236         * paragraph.C (asString): add "label" argument to the second form
11237
11238         * text2.C (selectionAsString): add "label" argument and pass it to
11239         Paragraph::asString.
11240
11241 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11242
11243         * lyx_main.C (commandLineHelp): remove version information
11244
11245 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11246
11247         * lyx_main.C: add -version commandline option
11248
11249 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11250
11251         * paragraph.h: make the optional constructor arg required instead.
11252         some modifications to other files because of this.
11253
11254         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11255
11256         * lyxserver.C (C_LyXComm_callback): make it static
11257
11258         * lyx_main.C (error_handler): make it static
11259
11260         * lyx_gui.C (LyX_XErrHandler): make it static
11261
11262         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11263
11264         * WorkArea.C: make the extern "C" methods static.
11265
11266         * Makefile.am (lyx_LDADD): simplify
11267
11268 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11269
11270         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11271         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11272
11273         * LyXAction.C (init):
11274         * lyxfunc.C (dispatch): associated code removal.
11275
11276 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11277
11278         * lyxfont.h (isSymbolFont): shut off warning
11279
11280         * text.C (setHeightOfRow):
11281         (getVisibleRow): fix crash with empty paragraphs which have a
11282         bottom line
11283
11284 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11285
11286         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11287         code.
11288
11289 2001-09-04  José Matos  <jamatos@fep.up.pt>
11290         * buffer.C
11291         * buffer.h
11292         * tabular.C (docbook): rename docBook method to docbook.
11293
11294 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11295
11296         * Makefile.am: add dependencies to main.o.
11297
11298 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11299
11300         * FontLoader.C (available): Return false if !lyxrc.use_gui
11301
11302 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11303
11304         * FontInfo.C (query):
11305         * converter.C (view):
11306         * importer.C (Import):
11307         * exporter.C (Export): Can not -> cannot.
11308
11309 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11310
11311         * BufferView_pimpl.C: allow to create index inset even if
11312           string is empty
11313
11314 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11315
11316         * buffer.C (getLists): replace boost::tie code with an explicit pair
11317         as boost::tie can break some compilers.
11318
11319         * iterators.h: Added a std:: declaration to the return type of
11320         ParIterator::size.
11321
11322 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11323
11324         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11325           case.
11326
11327 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11328
11329         * iterators.[Ch]: New files. Provide paragraph iterators.
11330
11331         * buffer.C (changeLanguage): Use paragraph iterators.
11332         (isMultiLingual): ditto
11333
11334         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11335
11336 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11337
11338         * FontLoader.C: Support for cmr font.
11339
11340 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11341
11342         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11343         (available): New method.
11344
11345         * FontInfo.C (getFontname): Use scalable fonts even when
11346         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11347         found.
11348
11349 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11350
11351         * converter.C (Formats::view): reverted! Incorrect fix.
11352
11353 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11354
11355         * converter.C (Formats::view): only output the -paper option
11356         if the dvi viewer is xdvi, thereby fixing bug #233429.
11357
11358 2001-08-23  Herbert Voss  <voss@perce>
11359
11360         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11361
11362 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11363
11364         * Spacing.h (Spacing): Set space to Default on in the default
11365         constructor.
11366
11367 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11368
11369         * vc-backend.h (RCS::versionString): add RCS to version
11370         (CVS::versionString): add CVS to version
11371
11372         * vc-backend.C (scanMaster): do not add CVS to version.
11373         (scanMaster): do not add RCS to version
11374
11375         * lyxvc.C (versionString): new method
11376
11377         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11378
11379 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11380
11381         * Spacing.C (set): initialize fval
11382
11383 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11384
11385         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11386         " or \.
11387
11388 2001-08-16  Juergen Vigna  <jug@sad.it>
11389
11390         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11391
11392 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11393
11394         * BufferView_pimpl.C:
11395         * figureForm.C:
11396         * lyxtext.h:
11397         * text2.C: setParagraph takes linespacing now
11398
11399 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11400
11401         * LyxAction.C: add internal LFUN_CITATION_INSERT
11402
11403         * LyXView.C: actually apply fix
11404
11405         * bufferlist.C: fix open non-existent file
11406
11407         * lyxfind.C: fix indentation
11408
11409         * lyxfunc.C: remove unneeded assert, fix typo
11410
11411 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11412
11413         * MenuBackend.C: use "Floatname List"
11414
11415 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11416
11417         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11418         when converting LaTeX layout to insetERT.
11419         Generate a non-collapsed float when reading old float
11420
11421 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11422
11423         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11424         ERT insets.
11425
11426 2001-08-13  Juergen Vigna  <jug@sad.it>
11427
11428         * text.C (fill): return 0 instead of 20 as this seems to be the more
11429         correct value.
11430
11431 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11432
11433         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11434         lyxrc.font_norm.
11435
11436 2001-08-13  Juergen Vigna  <jug@sad.it>
11437
11438         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11439         casesensitive off.
11440         (SearchBackward): comment out the unlocking of the inset_owner this
11441         should not be needed!
11442
11443 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11444
11445         * Many files: Remove inherit_language, and add latex_language
11446
11447         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11448         collapsible insets.
11449
11450 2001-08-10  Juergen Vigna  <jug@sad.it>
11451
11452         * text.C (prepareToPrint): fixed hfill-width in draw!
11453
11454         * BufferView2.C (selectLastWord): save the selection cursor as this
11455         now is cleared in the function LyXText::clearSelection!
11456
11457 2001-08-08  Juergen Vigna  <jug@sad.it>
11458
11459         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11460         BACKSPACE type functions.
11461
11462         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11463         is only cutted from the document but not put in the cut-buffer, where
11464         still the old stuff should be.
11465
11466         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11467
11468         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11469
11470         * tabular.C (SetWidthOfCell): fixed special case where the width
11471         was not updated!
11472         (LeftLine): handle '|' in align_special.
11473         (RightLine): ditto
11474         (LeftAlreadyDrawed): ditto
11475         (SetWidthOfCell): ditto
11476
11477 2001-08-07  Juergen Vigna  <jug@sad.it>
11478
11479         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11480
11481 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11482
11483         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11484         * lyxlex.[hC]: ditto
11485
11486 2001-08-06  Juergen Vigna  <jug@sad.it>
11487
11488         * text.C (getVisibleRow): fix up row clearing a bit.
11489
11490 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11491
11492         * minibuffer.C: make sure the X server sees the changes in the input.
11493
11494 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11495
11496         * paragraph.C (getFont): split into...
11497         (getLabelFont): this
11498         (getLayoutFont): and this
11499         * paragraph_pimpl.C (realizeFont): calling this
11500
11501         * text2.C (getFont): split into...
11502         (getLayoutFont): this
11503         (getLabelFont): and this
11504         (realizeFont): all three calling this
11505
11506         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11507         files where used.
11508
11509 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11510
11511         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11512
11513 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11514
11515         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11516         layouts from the Quote inset insertion.
11517
11518 2001-08-03  Juergen Vigna  <jug@sad.it>
11519
11520         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11521
11522         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11523         only if status not is already CHANGED_IN_DRAW (second level).
11524
11525         * text.C (draw): don't set the need_break_row when inside an
11526         InsetText LyXText.
11527
11528 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11529
11530         * buffer.C (parseSingleLyXformat2Token): handle more latex
11531         conversion cases.
11532
11533         * bufferview_funcs.[hC]: change function names to
11534         begin with small char, adjust other files.
11535
11536 2001-08-02  André Pönitz <poenitz@gmx.net>
11537
11538         * lyxfunc.C:
11539         BufferView_pimpl.C: remove broken special code for math-greek
11540
11541 2001-08-02  Juergen Vigna  <jug@sad.it>
11542
11543         * BufferView_pimpl.C (update): redone this function so that we
11544         update the text again if there was a CHANGE_IN_DRAW.
11545
11546         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11547         (drawFromTo): added a new internal bool which is used by draw() and
11548         redraw() function.
11549         (general): some cursor drawing problems fixed.
11550
11551 2001-08-01  Juergen Vigna  <jug@sad.it>
11552
11553         * lyxfind.C (LyXFind): fixed
11554         (SearchForward): ditto
11555         (SearchBackward): ditto
11556
11557         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11558         spurius drawing of the cursor in the main area.
11559
11560         * text2.C (status): small fix which could lead to a segfault!
11561         (clearSelection): remove unneeded BufferView param.
11562
11563 2001-08-01  André Pönitz <poenitz@gmx.net>
11564
11565         * lyxfunc.C: small change due to changed mathed interface
11566
11567 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11568
11569         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11570
11571 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11572
11573         * lyxfunc.c: fail gracefully if file doesn't exist
11574
11575         * LyXSendto.C:
11576         * buffer.C:
11577         * lyxfunc.C:
11578         * BufferView_pimpl.C: IsDirWriteable() proto changed
11579
11580         * LyXView.C: fix updateWindowTitle() to store the last title
11581
11582 2001-07-31  Juergen Vigna  <jug@sad.it>
11583
11584         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11585         the font (wrong since using of Paragraph::highestFontInRange).
11586
11587         * paragraph.C (highestFontInRange): added a default_size parameter.
11588
11589         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11590         (setHeightOfRow): reformat
11591
11592 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11593
11594         * converter.[hC] + affected files: move to (inital-char)lowercase
11595         function names.
11596
11597         * ParagraphParameters.C (ParagraphParameters): remove commented code
11598
11599         * PainterBase.[Ch]: remove commented code
11600
11601         * LaTeXFeatures.h: add "bool floats" for float.sty
11602
11603         * LaTeXFeatures.C (LaTeXFeatures): init floats
11604         (require): handle float
11605         (getPackages): do it with floats
11606
11607 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11608
11609         * BufferView_pimpl.C (Dispatch): improve handling of
11610         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11611
11612         * commandtags.h: #include lyxfont.h here temporarily to avoid
11613         keybinding bug.
11614
11615         * bufferlist.h: include LString.h here.
11616
11617 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11618
11619         * text2.C (getStringToIndex): new method.
11620
11621 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11622
11623         * *: Reduced header file dependencies all over.
11624
11625 2001-07-30  Baruch Even  <baruch@lyx.org>
11626
11627         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11628
11629 2001-07-29  Baruch Even  <baruch@lyx.org>
11630
11631         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11632
11633 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11634
11635         * ParameterStruct.h (endif): add a default constructor to make
11636         sure that all variables is initialized.
11637
11638         * ParagraphParameters.C (ParagraphParameters): adjust
11639
11640 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11641
11642         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11643         index; also, check that there is something to index, and that it
11644         does not span over several paragraphs.
11645         (doubleClick): use WHOLE_WORD_STRICT for double click.
11646
11647         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11648
11649         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11650         scheme.
11651
11652 2001-07-26  Baruch Even  <baruch@lyx.org>
11653
11654         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11655         an InsetFig figure, backwards compatible reading of old figure code.
11656
11657 2001-07-27  Juergen Vigna  <jug@sad.it>
11658
11659         * text2.C: font.realize function adaption.
11660
11661         * text.C (draw): add a warnings lyxerr text if needed.
11662
11663         * layout.C: font.realize function adaption.
11664
11665         * language.C: add inherit_language and implement it's handlings
11666
11667         * bufferview_funcs.C (StyleReset): remove language parameter from
11668         font creation (should be language_inherit now).
11669
11670         * bufferparams.C (writeFile): handle ignore_language.
11671
11672         * paragraph.C (getFontSettings): the language has to be resolved
11673         otherwise we have problems in LyXFont!
11674
11675         * lyxfont.C (lyxWriteChanges): added document_language parameter
11676         (update): removed unneeded language parameter
11677
11678         * paragraph.C (validate): fixed wrong output of color-package when
11679         using interface colors for certain fonts in certain environments,
11680         which should not seen as that on the final output.
11681
11682 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11683
11684         * BufferView_pimpl.C:
11685         * Thesaurus.h:
11686         * Thesaurus.C:
11687         * Makefile.am:
11688         * commandtags.h:
11689         * LyXAction.C: add thesaurus support
11690
11691         * lyxfind.h:
11692         * lyxfind.C: add "once" parameter, for thesaurus, to not
11693           move to the next match
11694
11695 2001-07-26  Juergen Vigna  <jug@sad.it>
11696
11697         * lyxfont.C (realize): honor ignore_language too!
11698         (resolved): ditto.
11699
11700         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11701
11702         * text.C (draw): one place more for ignore_language to not draw
11703         itself!
11704
11705 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11706
11707         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11708
11709 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11710
11711         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11712         the minipage conversion problem.
11713
11714 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11715
11716         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11717         insert an inset.
11718
11719 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11720
11721         * BufferView.h: don't forward declare WorkArea
11722
11723         * BufferView.C: don't include WorkArea.h
11724
11725 2001-07-25  André Pönitz <poenitz@gmx.net>
11726
11727         * commandtags.h:
11728         * LyXAction.C:
11729         * lyxfunc.C:  new LFUN 'math-space'
11730
11731         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11732
11733 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11734
11735         * text2.C (toggleInset): call open/close
11736
11737 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11738
11739         * lyxfunc.C (dispatch): add debug for the disabled case
11740
11741         * font.C (buttonText): make similar to rectText
11742
11743         * buffer.C (readInset): comment out parsing of insetlist and
11744         insttheorem
11745
11746         * PainterBase.C (rectText): small correction
11747
11748         * BufferView_pimpl.C: comment out insettheorem and insetlist
11749         * LyXAction.C: ditto
11750         * commandtags.h: ditto
11751
11752 2001-07-24  Juergen Vigna  <jug@sad.it>
11753
11754         * text.C (draw): honor the ignore_language.
11755
11756         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11757
11758 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11759
11760         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11761         char inset.
11762
11763 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11764
11765         * lyxtext.h: remove unused (and unimplemented) methods
11766
11767 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11768
11769         * text.C (getVisibleRow): honor background color
11770
11771         * PainterBase.h:
11772         * Painter.h: remove default color argument for fillRectangle
11773
11774         * text.C (backgroundColor): new method
11775
11776 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11777
11778         * text.C (getVisibleRow): adjust
11779
11780         * font.[Ch] (rectText): new method, metrics
11781         (buttonText): new method, metrics
11782
11783         * PainterBase.[hC]: make rectText and buttonText always draw and take
11784         fewer paramteres.
11785
11786 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11787
11788         * ToolbarDefaults.C (read):
11789         * MenuBackend.C (read): allow escaping in all strings
11790
11791         * BufferView_pimpl.C (insertAndEditInset): new method.
11792         (Dispatch): use insertAndEditInset whenever appropriate.
11793
11794         * BufferView_pimpl.C (insertNote): removed
11795
11796         * BufferView_pimpl.C (smartQuote): new method, moved from
11797         BufferView; if an insetquote cannot be inserted, insert a '"'
11798         character instead.
11799
11800         * BufferView2.C: remove insertCorrectQuote();
11801
11802         * lyxfunc.C (getStatus): Add support for all remaingin
11803         inset-insert lfuns.
11804
11805         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11806
11807         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11808         command (necessary to pass " as parameter of self-insert.
11809
11810         * text.C (selectWordWhenUnderCursor):
11811         (selectWord): add word_location parameter
11812         (selectWordWhenUnderCursor): same + remove special code for word
11813         boundary.
11814         (selectNextWord): use kind() to guess type of insetspecialchar,
11815         not latex().
11816
11817         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11818         (insertErtContents): create ert insets as collapsed.
11819         (readInset): better compatibility code for Info inset.
11820
11821 2001-07-20  Juergen Vigna  <jug@sad.it>
11822
11823         * lyxfunc.C (dispatch): use always LyXFind now!
11824
11825         * text2.C (init): add a reinit flag so that the LyXText can be
11826         reinited instead of deleted and reallocated (used in InsetText).
11827
11828         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11829
11830         * text.C: ditto
11831
11832         * text2.C: ditto
11833
11834 2001-07-18  Juergen Vigna  <jug@sad.it>
11835
11836         * text.C (selectNextWord): handle insets inside inset by calling
11837         always the bv->text functions so that we can go up the_locking_inset!
11838
11839         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11840         in strange locations when inside an inset!
11841
11842         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11843         handling to include insets.
11844
11845         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11846
11847 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11848
11849         * LyXAction.C (init):
11850         * commandtags.h:
11851         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11852         LIGATURE_BREAK, since the name is so stupid.
11853
11854 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11855
11856         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11857         InsetInfos.
11858
11859         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11860
11861         * sp_form.[Ch]: remove.
11862
11863         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11864
11865         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11866         InsetInfo.
11867
11868         * src/buffer.C (readInset): ditto.
11869
11870 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11871
11872         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11873         menuSeparator(), endOfSentenceDot(), ldots() and
11874         hyphenationPoint(), which are therefore removed.
11875         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11876
11877         * LyXAction.C (init):
11878         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11879
11880         * paragraph.C (getWord): removed.
11881
11882         * BufferView_pimpl.C (Dispatch): use last word or selection for
11883         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11884
11885         * lyx_main.C (queryUserLyXDir): do not ask before creating
11886         user_dir, except if it has been named explicitely.
11887
11888 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11889
11890         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11891         a document of zero size.
11892
11893 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11894
11895         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11896         approriately in the c-tor and in require().
11897         (getPackages): output the appropriate LaTeX for natbib support.
11898
11899         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11900         variables "use_natbib" and "use_numerical_citations" when reading the
11901         LyX file.
11902         (readInset): read the various natbib cite commands.
11903         (validate): white-space change.
11904
11905         * bufferparams.[Ch]: new variables "bool use_natbib" and
11906         "bool use_numerical_citations".
11907         (writeFile): output them in the LyX file.
11908
11909 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11910
11911         * lyxfunc.C (getStatus): add support for all the inset insertion
11912         commands.
11913
11914         * text2.C (insertInset):
11915         * paragraph.C (insetAllowed):
11916         * BufferView_pimpl.C (insertInset): update to take in account the
11917         renaming of insertInsetAllowed
11918
11919         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11920
11921         * text2.C (getInset): new method. returns inset at cursor position.
11922
11923         * BufferView_pimpl.C (Dispatch): changes because of this.
11924
11925         * LyXAction.C (init): rename open-stuff to inset-toggle.
11926
11927         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11928
11929         * text2.C (toggleInset): renamed from openStuff; use
11930         Inset::open().
11931
11932 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11933
11934         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11935
11936         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11937
11938 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11939
11940         * buffer.C (readLyXformat2): Add filename to the error dialog
11941
11942 2001-07-18  Juergen Vigna  <jug@sad.it>
11943
11944         * tabular.C (GetCellNumber): put an assert here instead of the check!
11945
11946 2001-07-17  Juergen Vigna  <jug@sad.it>
11947
11948         * BufferView_pimpl.C (toggleSelection): adapted too.
11949
11950         * text.C (selectNextWord): adapted for use with insets.
11951         (selectSelectedWord): ditto
11952
11953 2001-07-17  Juergen Vigna  <jug@sad.it>
11954
11955         * sp_spell.C (PSpell): fix initialitation order.
11956
11957 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11958
11959         * paragraph.C: spacing
11960
11961 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11962
11963         * sp_spell.C: repair language selection for pspell
11964
11965 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11966
11967         * lyxfunc.h: change more methods to begin with lower char.
11968
11969 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11970
11971         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11972         for unknown layouts.
11973
11974 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11975
11976         * buffer.C (readLyXformat2): Generate an error dialog if there are
11977         unknown layouts.
11978
11979 2001-07-16  Juergen Vigna  <jug@sad.it>
11980
11981         * sp_spell.C: always compile ISpell part.
11982
11983         * lyxrc.C: added use_pspell entry and it's handling.
11984
11985 2001-07-13  Juergen Vigna  <jug@sad.it>
11986
11987         * sp_spell.C: removed double includes.
11988
11989 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11990
11991         Consistent use of Lsstream.h:
11992         * Lsstream.h: added using std::stringstream for consistencies sake.
11993
11994         * buffer.C: removed using std::stringstream
11995
11996         * lyxfont.C (stateText):
11997         * paragraph.C (asString):
11998         * text.C (selectNextWord, selectSelectedWord):
11999         * text2.C (setCounter):
12000         * vspace.C (asString, asLatexString):
12001         std::ostringstream -> ostringstream.
12002
12003 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12004
12005         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12006         * commandtags.h: add LFUN_HELP_ABOUTLYX
12007         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12008
12009 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12010
12011         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12012         cursorToggle()
12013         * lyx_gui_misc.C: remove spellchecker
12014         * lyxfunc.C: showSpellchecker
12015         * sp_base.h: added
12016         * sp_ispell.h: added
12017         * sp_pspell.h: added
12018         * sp_spell.C: added
12019         * sp_form.[Ch]: removed
12020         * spellchecker.[Ch]: removed
12021
12022 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12023
12024         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12025         is set.
12026         (simpleTeXSpecialChars): Simply print the input character without
12027         any special translation if pass_thru is set.
12028
12029         * layout.h: Added bool pass_thru to layout class for being able to
12030         implement pass through of a paragraph for Literate Programming.
12031
12032         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12033         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12034         * layout.C (Read): add "passthru" to list of layout tags and add
12035         code to set the pass_thru boolean when it is read.
12036
12037 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12038
12039         * trans_decl.h: remove allowed from KmodInfo
12040
12041         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12042         remove allowed code
12043         (Load): adjust
12044
12045         * paragraph_pimpl.C (erase): use boost::prior
12046
12047         * Painter.C (text): use data() instead of c_str() when length is
12048         also provided.
12049         * WorkArea.C (putClipboard): ditto
12050         * font.h (width): ditto
12051
12052         * BufferView2.C: use it-> instead of (*it). for iterators
12053         * texrow.C: ditto
12054         * paragraph_pimpl.C: ditto
12055         * paragraph.C: ditto
12056         * minibuffer.C: ditto
12057         * language.C: ditto
12058         * kbmap.C: ditto
12059         * encoding.C: ditto
12060         * counters.C: ditto
12061         * converter.C: ditto
12062         * chset.C: ditto
12063         * Variables.C: ditto
12064         * TextCache.C: ditto
12065         * MenuBackend.C: ditto
12066         * LyXAction.C: ditto
12067         * LColor.C: ditto
12068         * FloatList.C: ditto
12069         * DepTable.C: ditto
12070         * ColorHandler.C (LyXColorHandler): ditto
12071
12072 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12073
12074         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12075
12076         * text2.C (openStuff): reintroduce this method (which had been
12077         nuked in NEW_INSETS frenzy).
12078
12079         * lyxfunc.C (Dispatch): when an action has not been handled, use
12080         its name in the error message, not its number.
12081
12082         * paragraph.C (inInset): change method name to begin with lowercase.
12083
12084         * undo_funcs.C:
12085         * text2.C: updates because of this.
12086
12087 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12088
12089         * ToolbarDefaults.C (add): add spaces in error message
12090
12091 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12092
12093         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12094         (readLyXformat2): rename return_par to first_par, use lyxlex's
12095         pushToken and remove the manual push handling.
12096         (parseSingleLyXformat2Token): add another ert comp. variable:
12097         in_tabular, rename return_par to first_par. handle newlines better
12098
12099 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12100
12101         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12102
12103 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12104
12105         * text2.C (getParFromID): removed
12106
12107         * buffer.C (getParFromID): new method moved form lyxtext.
12108         * BufferView2.C (insertErrors): adjust
12109         (setCursorFromRow): adjust
12110         * BufferView_pimpl.C (restorePosition): adjust
12111         * lyxfunc.C (Dispatch): adjust
12112         * undo_funcs.C (textUndo): adjust
12113         (textRedo): adjust
12114         (textHandleUndo): adjust
12115         (textHandleUndo): adjust
12116
12117 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12118
12119         * buffer.C: up' the LYX_FORMAT
12120
12121         * lyxfont.h: turn NO_LATEX on as default
12122
12123         * buffer.C (insertErtContents): new methods of tex style compability.
12124         (parseSingleLyXformat2Token): use it several places.
12125         * tabular.C (OldFormatRead): and here
12126
12127 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12128
12129         * text2.C: remove some commented code.
12130         reindent file.
12131
12132         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12133         * trans.C: changes because of the above.
12134
12135 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12136
12137         * text2.C (setCounter): Fix counters bug with bibliography layout.
12138
12139 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12140
12141         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12142         own member functions
12143         (simpleTeXSpecialChars): ditto
12144
12145 2001-07-06  Juergen Vigna  <jug@sad.it>
12146
12147         * a lot of files: changed the access to LyXText::status and the
12148         call of undo-functions.
12149
12150         * undo.[Ch]: added a inset_id to the undo informations.
12151
12152         * undo_funcs.[Ch]: added and moved here all undo functions.
12153
12154         * lyxtext.h: give the status enum a weight, made status_ a private
12155         variable and made accessor functions for it, removed the whole bunch
12156         of undo-functions as they are now in their own file, make some
12157         functions publically available. Added function ownerParagraph with
12158         int parameter.
12159
12160         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12161         made InInset() a const function, added getParFromID() function.
12162
12163         * buffer.[Ch]: added const version for inset_iterator functions,
12164         added getInsetFromID() function.
12165
12166         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12167         changed undo functions for new version.
12168
12169 2001-07-05  Juergen Vigna  <jug@sad.it>
12170
12171         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12172         unknow mechanism does not call the proper constructor but only this
12173         one also if I request the other!?
12174
12175 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12176
12177         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12178
12179         * text2.C (LyXText): use initialization lists.
12180
12181         * lyxtext.h (Selection): initialize set_ and mark_
12182         (init): remove method
12183
12184 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12185
12186         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12187
12188 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12189
12190         * screen.[Ch]: change method names to begin with lowercase
12191
12192         * BufferView_pimpl.C (updateScrollbar): simplify further and
12193         hopefully make it a bit faster.
12194
12195 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12196
12197         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12198         calling directly xforms functions.
12199
12200         * Painter.C (Painter):
12201         * lyx_cb.C (MenuWrite):
12202         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12203         fl_display.
12204
12205         * lyx_gui.C: remove bogus guiruntime extern declaration.
12206
12207 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12208
12209         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12210         in NEW_INSETS
12211         (redoDrawingOfParagraph): ditto
12212         (redoParagraphs): ditto
12213         (cutSelection): don't create a object for CutAndPaste use the
12214         static method directly
12215         (pasteSelection): ditto
12216
12217         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12218         LyXview (+ rename)
12219
12220 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12221
12222         * modifications to some other files because of this.
12223
12224         * Makefile.am (lyx_SOURCES): add XFormsView
12225
12226         * XFormsView.[Ch]: new files
12227
12228         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12229         the main window. Move the gui dependent stuff to XFormsView
12230
12231 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12232
12233         * tabular.C (GetCellInset): update cur_cell also in the row/col
12234         version of this function.
12235
12236         * lyxfunc.C: no need to include figure_form.h here.
12237
12238         * FontLoader.h:
12239         * lyxfunc.h:
12240         * lyxscreen.h:
12241         * text2.C:
12242         * lyxvc.C: no need to include forms.h here.
12243
12244 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12245
12246         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12247
12248         * lyxfunc.C (Dispatch):
12249         * Spacing.C (set):
12250         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12251         constructor argument.
12252
12253 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12254
12255         * paragraph.C (Paragraph): dont't clear, and just set layout.
12256         (makeSameLayout): use params's copy contructor.
12257
12258         * ParagraphParameters.[Ch] (makeSame): delete method
12259
12260 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12261
12262         * Variables.[Ch]: fix indentation, rename set to isSet
12263
12264 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12265
12266         * lyxfunc.C (Dispatch): fix typo
12267
12268 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12269
12270         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12271         upper_bound.
12272
12273         * bufferlist.C: include assert.h for emergencyWrite().
12274
12275 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12276
12277         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12278           give up at last (bug #425202) !
12279
12280 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12281
12282         * lyx_gui_misc.C:
12283         * sp_form.h:
12284         * sp_form.C:
12285         * spellchecker.h:
12286         * spellchecker.C: strip spellchecker options and bring up
12287           preferences tab instead
12288
12289 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12290
12291         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12292         the istringstream constructor
12293
12294 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12295
12296         * paragraph.C (getLayout): fix return value
12297
12298         * paragraph.h: do not declare getLayout as inline.
12299
12300         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12301
12302 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12303
12304         * lyxcursor.h (operator<): new func
12305         (operator>): new func
12306         (operator>=): new func
12307         (operator<=): new func
12308
12309         * text.C (changeCase): use selection.start and selection.end
12310         (changeRegionCase): require from to be <= to. Require par to be a
12311         valid paragraph.
12312
12313         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12314
12315 2001-06-27  Juergen Vigna  <jug@sad.it>
12316
12317         * text.C (cursorLeftOneWord): changed to return the cursor and added
12318         overlay with BufferView * parameter which calls this one.
12319         (getWord): added
12320         (selectWord): use new getWord function.
12321         (changeCase): renamed from changeWordCase as and extended to work
12322         also on selections.
12323
12324         * lyxtext.h: added enum word_location
12325
12326         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12327         changeCase as this operates now also on selections.
12328
12329 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12330
12331         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12332
12333         * many files: send debug output to Debug::INFO instead of
12334         Debug::ANY.
12335
12336         * converter.C (View):
12337         (Convert):
12338         (Move): send debug output to Debug::FILES instead of console.
12339
12340 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12341
12342         * lyxfunc.C (getStatus): use func_status
12343
12344         * func_status.h: new header, describing the results of
12345         LyXFunc::getStatus;
12346
12347         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12348         LFUN_MATH_HALIGN.
12349
12350 2001-06-25  The LyX Project  <jug@sad.it>
12351
12352         * buffer.C (sgmlOpenTag):
12353         (sgmlCloseTag):
12354         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12355
12356 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12357
12358         * text2.C: remove some dead code
12359
12360         * tabular.C (GetCellInset): store the last cell checked (gotten)
12361
12362         * tabular.h: add the helper for the speedup
12363
12364         * lyxtext.h: remove some dead code
12365
12366 2001-06-26  The LyX Project  <Asger>
12367
12368         * paragraph.C: Change export to LaTeX of alignment to
12369         \begin{center} and family for better roundtrip work with reLyX.
12370
12371         * Tune the math drawing a bit.
12372
12373 2001-06-25  The LyX Project  <Asger>
12374
12375         * LColor.C (LColor): New color for math background. New color
12376         for buttons.
12377
12378 2001-06-25  The LyX Project  <jug@sad.it>
12379
12380         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12381
12382         * lyxfunc.C (Open):
12383         * bufferlist.C (newFile): do not restrict to files ending with
12384         .lyx
12385
12386         * BufferView_pimpl.C (MenuInsertLyXFile):
12387
12388 2001-06-24  The LyX Project  <jug@sad.it>
12389
12390         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12391         of compare_no_case
12392
12393 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12394
12395         * lyxtext.h: rename most methods to begin with a small char.
12396         Lots of changes because of this.
12397
12398         * paragraph.C (Paragraph): do not call fitToSize
12399         (erase): call Pimpl::erase
12400         (insertChar): call Pimpl::insertChar
12401         (insertInset): call Pipl::insertInset
12402         (breakParagraph): do not call fitToSize
12403         (breakParagraphConservative): do not call fitToSize
12404         (fitToSize): remove method
12405
12406         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12407
12408 2001-06-24  The LyX Project  <Asger>
12409
12410         * Fix Qt compilation^2
12411
12412 2001-06-24  The LyX Project  <jug@sad.it>
12413
12414         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12415         depthHook(getDepth()-1).
12416
12417         * paragraph.h:
12418         * ParagraphParameters.h:
12419         * ParameterStruct.h: change type of depth to unsigned int ==
12420         depth_type. Many adaptations to other files before of that.
12421
12422 2001-06-24  The LyX Project  <Asger>
12423
12424         * Fix Qt compilation.
12425
12426 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12427
12428         * paragraph.h: renamed several methods to begin with small letter.
12429         several changes to many parts of the code because of this.
12430
12431 2001-06-23  The LyX Project  <jug@sad.it>
12432
12433         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12434         rewritten to discard all double spaces when KeepEmpty is off
12435         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12436         to only handle newlines but not fiddle with spaces and friends.
12437
12438         * lyxfunc.C (MenuNew): when doing 'new from template', use
12439         template_path as default directory
12440
12441 2001-06-23  The LyX Project  <Asger>
12442
12443         * Clean-up of header file includes all over
12444         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12445
12446 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12447
12448         * paragraph.h: renamed from lyxparagraph.h
12449
12450 2001-06-23  Asger  <lyx@violet.home.sad.it>
12451
12452         * Buffer.h: Removed Buffer::resize
12453         * BufferList.h: Removed BufferList::resize
12454         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12455         the document lazily when we change the width, or the font settings.
12456
12457 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12458
12459         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12460
12461 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12462
12463         * buffer.h: remove out of date comment
12464
12465 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12466
12467         * lyxscreen.h:
12468         * screen.C: fix "theoretical" GC leak
12469
12470 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12471
12472         * LaTeX.C (scanAuxFile):
12473         (deplog): remove trailing \r when reading stream (useful under
12474         win32)
12475
12476 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12477
12478         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12479         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12480         and BufferView::theLockingInset(Inset*), so should use them and not
12481         access bv_->text->the_locking_inset directly.
12482
12483         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12484
12485 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12486
12487         * Makefile.am:
12488         * tex-defs.h: remove old unused file
12489
12490 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12491
12492         * BufferView_pimpl.C: fix typo, remove minibuffer message
12493           when buffer has loaded
12494
12495 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12496
12497         * lyxfunc.C (Dispatch): use stringstream
12498         (MenuNew): use stringstream
12499         (Open): use stringstream
12500
12501         * importer.C (Import): use stringstream
12502
12503         * bufferview_funcs.C (CurrentState): use stringstream
12504
12505         * LaTeX.C (run): use stringstream
12506
12507         * BufferView_pimpl.C (savePosition): use stringstream
12508         (restorePosition): use stringstream
12509         (MenuInsertLyXFile): use stringstream
12510
12511 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12512
12513         * BufferView.C:
12514         * Bullet.C:
12515         * ColorHandler.C:
12516         * FontInfo.C:
12517         * FontLoader.C:
12518         * LColor.C:
12519         * LaTeXFeatures.C:
12520         * Painter.C:
12521         * gettext.C:
12522         * lyx_gui_misc.C:
12523         * lyxserver.C:
12524         * vspace.C: removed // -*- C++ -*- as first line.
12525
12526         * lyxfind.h:
12527         * version.h: added // -*- C++ -*- as first line.
12528
12529 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12530
12531         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12532
12533         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12534         of string
12535
12536 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12537
12538         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12539         of floats.
12540
12541 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12542
12543         * gettext.C: include LString.h even when --disable-nls is on.
12544
12545 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12546
12547         * converter.h (Get): changed argument type from int to
12548         FormatList::size_type to avoid unnecessary conversion.
12549
12550         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12551         before using it.
12552
12553 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12554
12555         * gettext.h: include LString.h even when --disable-nls is on.
12556
12557 2001-06-07  Juergen Vigna  <jug@sad.it>
12558
12559         * text.C (BreakAgain): subst spaces with tabs.
12560
12561         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12562         (resizeInsetsLyXText): set force on resizeLyXText.
12563
12564 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12565
12566         * gettext.h (gettext_init):
12567         (locale_init): use a real definition instead of a macro
12568
12569 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12570
12571         * Bufferview_pimpl.C:
12572         * LColor.h:
12573         * LColor.C: further lcolor tidies
12574
12575 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12576
12577         * BufferView_pimpl.C (updateScrollbar): simplify.
12578
12579         * BufferView2.C: don't include insets/insetinfo.h, change
12580         prototype for insertInset and call the Pimpl version. let
12581         updateInset call Pimpl version.
12582
12583         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12584         gotoInset to BufferView::Pimpl
12585
12586 2001-06-01  Juergen Vigna  <jug@sad.it>
12587
12588         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12589         inside a LockingInset (is the update needed at all?).
12590
12591 2001-05-31  Juergen Vigna  <jug@sad.it>
12592
12593         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12594         here not the old one otherwise how should we compare it afterwards
12595         if it's the same!
12596
12597 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12598
12599         * lyxfont.C:
12600         * tabular.C:
12601         * tabular-old.C:
12602         * FontInfo.C: bring C functions into global namespace when
12603         necessary
12604
12605 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12606
12607         * LString.h: make sure config.h has been loaded before LString.h.
12608
12609         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12610         (one for each char read by EatLine!).
12611
12612         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12613         variables.
12614
12615 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12616
12617         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12618         to the same as the par we break from
12619
12620 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12621
12622         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12623
12624         * MenuBackend.C (expand): also create menu entries for wide
12625         versions of the floats.
12626
12627         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12628
12629         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12630
12631         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12632         frontends/Makefile.am
12633
12634         * text2.C: adjust
12635         * text.C: adjust
12636
12637
12638         * tabular.C (getTokenValue): add std::
12639
12640         * tabular-old.C (getTokenValue): add std::
12641         (getTokenValue): ditto
12642         (getTokenValue): ditto
12643
12644         * screen.C (ToggleSelection): adjust
12645
12646         * lyxtext.h: put selection cursors inside a Selection struct.
12647
12648         * lyxfunc.C (moveCursorUpdate): adjust
12649
12650         * lyxfont.C (latexWriteStartChanges): add std::
12651
12652         * lyxfind.C: adjust
12653
12654         * font.h: delete with(char const *, LyXFont const &)
12655
12656         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12657
12658         * FontInfo.C (getFontname): add std::
12659
12660         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12661         (workAreaButtonPress): adjust
12662         (tripleClick): adjust
12663         (update): adjust
12664         (moveCursorUpdate): adjust
12665         (Dispatch): adjust
12666
12667         * BufferView2.C (gotoInset): adjust
12668
12669 2001-05-30  Juergen Vigna  <jug@sad.it>
12670
12671         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12672         to check pspell I add this as default as I now have new pspell
12673         libraries and they seem to use this.
12674
12675 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12676
12677         * text2.C (CutSelection): make the cursor valid before the call to
12678         ClearSelection.
12679
12680 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12681
12682         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12683         relied on 0 terminated strings and other horrors. Bug found due to
12684         the new assert in lyxstring!
12685
12686         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12687         KP_ keys.
12688
12689 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12690
12691         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12692         to latinkeys.bind.
12693
12694         * lyxfunc.C (processKeySym): change method of getting to the
12695         self-insert char.
12696
12697         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12698         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12699         * BufferView_pimpl.[Ch]: here as private methods.
12700
12701 2001-05-28  Juergen Vigna  <jug@sad.it>
12702
12703         * text.C (SetHeightOfRow): added the update() call again as it is
12704         needed to initialize inset dimensions!
12705
12706 2001-05-16  Juergen Vigna  <jug@sad.it>
12707
12708         * text2.C (SetCharFont): Add new function with BufferView * and
12709         bool toggleall parameters for setting insets internal fonts.
12710         (SetFont): Freeze the undo as we may change fonts in Insets and
12711         all this change should be inside only one Undo!
12712
12713         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12714         setting font's in insets as for them we have the SetFont function!
12715
12716 2001-05-15  Juergen Vigna  <jug@sad.it>
12717
12718         * text2.C (ClearSelection): to be sure we REALLY don't have any
12719         selection anymore!
12720
12721         * tabular.C (TeXCellPreamble): fixed the left border problem for
12722         multicolumn cells.
12723
12724 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12725
12726         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12727         dependancy file
12728
12729 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12730
12731         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12732         LFUN_BREAKPARAGRAPH.
12733
12734         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12735         help test to "internal only", similar for LFUN_INSERT_URL
12736
12737         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12738         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12739         auto_region_delete and deadkeys.
12740
12741 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12742
12743         * LColor.h:
12744         * LColor.C: remove some dead entries, tidy a little
12745
12746 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12747
12748         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12749         commented code.
12750         (Dispatch): implement LFUN_ESCAPE
12751
12752         * commandtags.h: add LFUN_ESCAPE
12753
12754         * LyXAction.C (init): add entry for LFUN_ESCAPE
12755
12756         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12757         Remove commented code.
12758         (insertNote): moved here
12759         (open_new_inset): moved here
12760
12761         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12762         BufferView_pimpl
12763
12764 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12765
12766         * kbmap.C (findbinding): clean it up and make it work correctly.
12767
12768         * lyx_main.C (init): do not pass argc and argv as parameters
12769
12770 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12771
12772         * buffer.C: fix path for OS/2 & Win32
12773
12774         * lyx_gui.C:
12775         * lyx_main:
12776         * lyx_main.C: Added os:: class.
12777
12778         * os2_defines.h: update
12779
12780 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12781
12782         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12783         better by trying again with reduced state.
12784
12785 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12786
12787         * lyxrc.C (read): print error about invalid key sequence only when
12788         debugging (because not all latinX keysyms are known to some X
12789         servers)
12790
12791         * kbsequence.C (getiso): add a few std:: qualifiers
12792         (getiso): comment out extra return statement.
12793
12794 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12795
12796         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12797         handling.
12798         (Dispatch): enhance the accent inset a bit. (not perfect)
12799
12800 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12801
12802         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12803
12804 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12805
12806         * bufferlist.C (emergencyWrite): fix assert() call
12807
12808 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12809
12810         * text.C (InsertChar): Added trivial patch to only send the "you
12811         can not do multiple spaces this way" message once during a
12812         session.
12813
12814 2001-05-08  Baruch Even  <baruch@lyx.org>
12815
12816         * Makefile.am: Changed order of libraries to get LyX to link properly
12817         with the gnome frontend.
12818
12819 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12820
12821         * LaTeXFeatures.h: add a std:: qualifier
12822
12823 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12824
12825         * paragraph.C (String): use stringstream
12826
12827 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12828
12829         * paragraph.C (writeFile): remove footflag arg
12830
12831         * buffer.C (makeLaTeXFile): use stringstream
12832         (latexParagraphs): remove footnot gurba
12833
12834         * LaTeXFeatures.C (getPackages): use stringstream
12835         (getMacros): likewise
12836         (getTClassPreamble): likewise
12837         (getFloatDefinitions): new method
12838
12839         * paragraph.C (writeFile): reindent
12840         (Erase): reindent
12841
12842         * WorkArea.h: revert the xpos + etc changes.
12843
12844         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12845
12846         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12847
12848         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12849         (pasteSelection): likewise
12850         * text2.C (CreateUndo): likewise
12851
12852 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12853
12854         * minibuffer.C (peek_event): temporarily reduce the functionality
12855         of the minibuffer (to allow args on lfuns)
12856
12857         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12858         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12859
12860         * buffer.C (readInset): add compability reading of old float
12861         lists, add reading of new style float list.
12862         (readInset): avoid reevaluation of inscmd.getCmdName()
12863         (getLists): reindent
12864
12865         * MenuBackend.C (MenuItem): implement parsing of
12866         md_floatlistinsert and md_floatinsert.
12867         (expand::LastFiles): move initalizaton of iterators out of loop,
12868         avoid reevaluation.
12869         (expand::Documents): introduce typdedef vector<string> Strings,
12870         and use it.
12871         (expand::ExportFormats): introduce typedef vector<Format const *>
12872         Formats, and use it.
12873         (expand): implement FloatListInsert and FloatInsert.
12874
12875         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12876         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12877         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12878
12879         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12880         handling.
12881         (Dispatch::LFUN_FLOAT_LIST): implement
12882
12883 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12884
12885         * LaTeX.C (run): Fix problem with --export code.
12886
12887 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12888
12889         * BufferView.[Ch] (workarea): removed.
12890         (getClipboard) new method; wrapper for workarea()->getClipboard()
12891
12892         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12893         bug.
12894
12895         * WorkArea.h (width, height, xpos, ypos): These methods all
12896         returned the dimensions of the work_area sub-area of WorkArea,
12897         resulting in a position error if the WorkArea were resized. Now
12898         return the dimensions of the entire WorkArea.
12899
12900         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12901
12902 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12903
12904         * LaTeX.C (deplog): correct the syntax of regex reg1
12905
12906 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12907
12908         * undo.C: remove !NEW_INSETS cruft
12909
12910 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12911
12912         * text2.C: remove !NEW_INSETS cruft
12913
12914         * text.C: remove !NEW_INSETS cruft
12915
12916         * tabular.C: remove !NEW_INSETS cruft
12917
12918         * spellchecker.C: remove !NEW_INSETS cruft
12919
12920         * lyxtext.h: remove !NEW_INSETS cruft
12921
12922         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12923
12924         * lyxfunc.C: remove !NEW_INSETS cruft
12925
12926         * lyxfind.C: remove !NEW_INSETS cruft
12927
12928         * lyx_cb.C: remove !NEW_INSETS cruft
12929
12930         * figureForm.C: remove  !NEW_INSETS cruft
12931
12932         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12933
12934         * buffer.[Ch]: remove !NEW_INSETS cruft
12935
12936         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12937
12938         * CutAndPaste.C: remove !NEW_INSETS cruft
12939
12940         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12941
12942         * BufferView2.C: remove !NEW_INSETS cruft
12943
12944         * BufferView.h: remove !NEW_INSETS cruft
12945
12946 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12947
12948         * Lsstream.h: include LString.h before the sstream headers to
12949         fix problem with gcc 2.95.3 and lyxstring
12950
12951 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12952
12953         * lyx_main.C: add using directives when needed for C functions
12954         declared in std:: namespace.
12955
12956 2001-04-27  Juergen Vigna  <jug@sad.it>
12957
12958         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12959         (SetHeightOfRow): comment out the update call should not be needed!
12960
12961 2001-04-13  Juergen Vigna  <jug@sad.it>
12962
12963         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12964         (LyXTabular): tried to minimize operator= operations (and realized
12965         hopfully Lars wish).
12966
12967 2001-04-27  Juergen Vigna  <jug@sad.it>
12968
12969         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12970
12971 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12972
12973         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12974
12975         * buffer.C (readInset): hack to make listof algorithm work
12976
12977         * BufferView_pimpl.C: hack to make listof algorithm work
12978
12979 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12980
12981         * LyXAction.C: removed all !NEW_INSETS cruft
12982         (init): moved lfun_item in method
12983
12984         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12985
12986 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12987
12988         * BufferView2.C (theLockingInset): white space.
12989
12990 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12991
12992         * minibuffer.C: include <iostream>
12993
12994         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12995
12996         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12997
12998         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12999
13000         * text.[Ch] (TransposeChars): new method
13001
13002 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13003
13004         * call message directly through LyXView instead of through LyXFunc
13005         * BufferView2.C: adjust
13006         * BufferView_pimpl.C: adjust
13007         * FontLoader.C: adjust
13008         * buffer.C: adjust
13009         * bufferview_funcs.C: adjust
13010         * converter.C: adjust
13011         * figureForm.C: adjust
13012         * importer.C: adjust
13013         * lyx_cb.C: adjust
13014         * lyx_gui_misc.C: adjust
13015         * lyxfunc.C: adjust
13016         * lyxvc.C: adjust
13017         * text2.C: adjust
13018         + more files in subdirs
13019
13020         * lyxparagraph.h (size): move up int file
13021         (GetLayout): ditto
13022
13023         * adjust all uses of Assert to lyx::Assert.
13024
13025         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13026         lyxfunctional in namespace lyx
13027         * layout.C (hasLayout): ditto
13028         (GetLayout): ditto
13029         (GetLayout): ditto
13030         (delete_layout): ditto
13031         (NumberOfClass): ditto
13032         * converter.C (GetFormat): ditto
13033         (GetNumber): ditto
13034         (Add): ditto
13035         (Delete): ditto
13036         (SetViewer): ditto
13037         * bufferlist.C (getFileNames): ditto
13038         (emergencyWriteAll): ditto
13039         (exists): ditto
13040         (getBuffer): ditto
13041         * MenuBackend.C (hasSubmenu): ditto
13042         (hasMenu): ditto
13043         (getMenu): ditto
13044         * BufferView_pimpl.C (getInsetByCode): ditto
13045
13046 2001-04-18  Juergen Vigna  <jug@sad.it>
13047
13048         * vspace.C (asLatexString): fixed the 100% problem.
13049
13050 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13051
13052         * lyxfunc.C (Dispatch):
13053         * minibuffer.C:
13054         * minibuffer.h: add a few std:: qualifiers
13055
13056 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13057
13058         * minibuffer.[Ch]: reimplement so that commands is initiated and
13059         run from lyxfunc, simplified som handling, and made the completion
13060         and history code for complete. wip.
13061
13062         * lyxfunc.C (processKeySym): call message
13063         (miniDispatch): new temporary method
13064         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13065         (LFUN_MESSAGE): implement
13066         (LFUN_MESSAGE_PUSH): implement
13067         (LFUN_MESSAGE_POP): implement
13068         (initMiniBuffer): the initial/defualt minibuffer message.
13069
13070         * lyxfont.[Ch]: inline some more getters
13071
13072         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13073
13074         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13075
13076         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13077         (AutoSave): use LFUN_MESSAGE
13078         (Reconfigure): ditto
13079
13080         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13081
13082         * figureForm.C: use LFUN_MESSAGE
13083
13084         * converter.C (runLaTeX): use LFUN_MESSAGE
13085
13086         * bufferview_funcs.C: use LFUN_MESSAGE
13087         (Melt): ditto
13088         (changeDepth): ditto
13089
13090         * bufferparams.h: use boost::
13091
13092         * bufferlist.h: inherit privately from noncopyable
13093
13094         * bufferlist.C (loadLyXFile): remove some commented code.
13095
13096         * buffer.C (runChktex): use LFUN_MESSAGE
13097
13098         * ShareContainer.h: inherit privately from noncopyable
13099
13100         * ParagraphParameters.[hC] (depth): inline it.
13101
13102         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13103         methods.
13104         (message): new method
13105         (messagePush): ditto
13106         (messagePop): ditto
13107         (show): init minibuffer
13108         (showState): direct call
13109
13110         * LaTeX.[Ch]: inherit privately from noncopyable
13111         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13112         instead of WriteStatus.
13113
13114         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13115
13116         * BufferView_pimpl.C (buffer): don't init minibuffer
13117         (workAreaButtonPress): use LFUN_MESSAGE
13118         (workAreaButtonRelease): ditto
13119         (savePosition): ditto
13120         (restorePosition): ditto
13121         (MenuInsertLyXFile): ditto
13122         (workAreaExpose): don't init minibuffer
13123         (update): remove commented code, simplify
13124
13125         * BufferView2.C (openStuff): use LFUN_MESSAGE
13126         (toggleFloat): ditto
13127         (menuUndo): ditto
13128         (menuRedo): ditto
13129         (copyEnvironment): ditto
13130         (pasteEnvironment): ditto
13131         (copy): ditto
13132         (cut): ditto
13133         (paste): ditto
13134         (gotoInset): ditto
13135         (updateInset): remove some commented code
13136
13137         * lastfiles.h: inherit privately from noncopyable
13138         * layout.h: ditto
13139         * lyx_gui.h: ditto
13140         * lyx_main.h: ditto
13141         * lyxlex.h: ditto
13142         * lyxlex_pimpl.h: ditto
13143
13144         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13145         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13146         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13147
13148         * LyXAction.h: inherit privately from noncopyable, add methods
13149         func_begin, func_end, returning iterators to the func map.
13150
13151         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13152         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13153         (func_begin): new method
13154         (func_end): new method
13155
13156         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13157         and not)
13158         (copySelection): ditto
13159         (pasteSelection): ditto
13160
13161         * BufferView.C: whitespace change
13162         * BufferView.h: inherit privately from noncopyable
13163
13164 2001-04-16  Allan Rae  <rae@lyx.org>
13165
13166         * tabular-old.C (l_getline):
13167         * spellchecker.C (sc_check_word):
13168         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13169         an unrecognised preprocessor directive.  So ensure they're wrapped.
13170
13171 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13172
13173         * src/exporter.C (Export): Give an error message when path to file
13174         contains spaces.
13175
13176 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13177
13178         * LaTeX.C (deplog): Always check that foundfile exists.
13179
13180 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13181
13182         * lyx_main.h:
13183         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13184
13185 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13186
13187         * tabular.[Ch] (getLabelList): implement new method
13188
13189         * minibuffer.h: comment ouf setTiimer
13190
13191         * minibuffer.C (ExecutingCB): constify res
13192         (peek_event): constify s
13193         (Set): constify ntext
13194         (Init): constify nicename
13195
13196         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13197
13198         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13199         (savePosition): use two params to Minibuffer::Set
13200         (restorePosition): ditto
13201
13202 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13203
13204         * lyx_main.C: include language.h
13205
13206         * Makefile.am (lyx_main.o): add language.h
13207
13208 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13209
13210         * exporter.C:
13211         * paragraph.C:
13212         * screen.C:
13213         * tabular.C:
13214         * CutAndPaste.C: include gettext.h
13215
13216         * lyxfont.h: remove old hack with ON and OFF.
13217
13218         * lyxparagraph.h:
13219         * lyxfont.h: do not include language.h...
13220
13221         * BufferView2.C:
13222         * LaTeXFeatures.C:
13223         * Painter.C:
13224         * bufferview_funcs.C:
13225         * font.C:
13226         * lyxfont.C:
13227         * text.C:
13228         * text2.C:
13229         * trans_mgr.C:
13230         * paragraph.C: ... but do it here instead
13231
13232 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13233
13234         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13235
13236         * tabular.C: small reformat
13237
13238         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13239         NEW_INSETS version
13240         (GetChar): ditto
13241         (BreakParagraph): ditto
13242         (SetOnlyLayout): ditto
13243         (SetLayout): ditto
13244
13245         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13246         with one arg less.
13247
13248         * lastfiles.C: removed most using decl, add std:: where needed
13249
13250         * buffer.C: ws changes
13251
13252         * MenuBackend.C (class compare_format): put into anon namespace
13253         (expand): constify label, names, action, action2
13254         (expand):
13255
13256         * text.C (SingleWidth): constify font
13257         (IsBoundary): constify rtl2
13258         (GetVisibleRow): constify ww
13259
13260         * LaTeX.C (deplog): constify logfile
13261
13262         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13263         start_x, end_x
13264         (workAreaExpose): constify widthChange, heightChange
13265
13266         * lyxrow.C (par): moved
13267         (height): moved
13268         (next): moved
13269         * lyxrow.h: as inlines here
13270
13271         * lyxfont.h (shape): moved from lyxfont.C
13272         (emph): moved from lyxfont.C
13273
13274         * lyxfont.C (LyXFont): use initialization list for all
13275         constructors
13276         (shape): move to lyxfont.h as inline
13277         (emph): move to lyxfont.h as inline
13278
13279
13280 2001-04-04  Juergen Vigna  <jug@sad.it>
13281
13282         * vspace.C: had to include stdio.h for use of sscanf
13283
13284 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13285
13286         * BufferView.h:
13287         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13288         independent of xforms.
13289
13290 2001-04-02  Juergen Vigna  <jug@sad.it>
13291
13292         * spellchecker.C: fixed namespace placing!
13293
13294 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13295
13296         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13297         the LyXParagraph * is 0.
13298
13299 2001-03-29  Juergen Vigna  <jug@sad.it>
13300
13301         * vspace.C: added support for %, c%, p%, l%.
13302         (stringFromUnit): added helper function.
13303         (asLatexString): changed to give right results for the %-values.
13304
13305         * buffer.C: convert the widthp in a width%.
13306
13307 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13308
13309         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13310         figureForm.[Ch].
13311
13312         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13313         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13314
13315         * lyx_cb.[Ch]: see above.
13316
13317         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13318         form1.[Ch].
13319
13320         * form1.[Ch]:
13321         * lyx.[Ch]: replaced by figure_form.[Ch].
13322
13323         * lyx_gui.C:
13324         * lyx_gui_misc.C:
13325         * lyxfunc.C: changed headers associated with above changes.
13326
13327 2001-03-27  Juergen Vigna  <jug@sad.it>
13328
13329         * BufferView_pimpl.C: set the temporary cursor right!
13330
13331 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13332
13333         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13334
13335 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13336
13337         * LString.h: removed "using std::getline"!
13338
13339         * BufferView_pimpl.C (Dispatch): changes due to changes in
13340         InsetInclude::Params.
13341
13342         * buffer.C (tag_name): removed redundant break statements as they were
13343         producing lots of warnings with my compiler.
13344
13345 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13346
13347         * LString.h: add "using std::getline" when using the real <string>.
13348
13349 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13350
13351         * buffer.C: removed bitset usage.
13352         PAR_TAG moved to an anonymous name space.
13353         (tag_name): new funtion, also in the anonymous namespace.
13354         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13355         (makeDocBookFile): clean code. Completed transition from string arrays
13356         to string vectors.
13357         (SimpleDocBookOnePar): code clean.
13358
13359 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13360
13361         * tabular.C: add some comments.
13362
13363 2001-03-22  Juergen Vigna  <jug@sad.it>
13364
13365         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13366         compatibility read a bit and fixed bug with minipage in different
13367         depth.
13368
13369 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13370
13371         * buffer.C (pop_tag): removed.
13372         (push_tag): removed.
13373         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13374         array replaced with vector. Added support for CDATA sections.
13375         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13376         at any nest level.
13377         (makeDocBookFile): XML conformant declaration of CDATA section,
13378         fixed bug related to <emphasis> in the first paragraph char.
13379         (sgmlOpenTag): exclude empty tags.
13380         (sgmlCloseTag): ditto.
13381
13382         * buffer.h (pop_tag): removed.
13383         (push_tag): removed.
13384
13385 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13386
13387         * language.h (Languages): added size_type and size().
13388
13389 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13390
13391         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13392         response on compability reading of minipages. One probliem is that
13393         the old usage of minipages was «flertydig»
13394
13395         * several files here and in subdirs: don't use static at file
13396         scope use anon namespaces instead.
13397
13398 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13399
13400         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13401         LaTeX output. This is necessary for Literate document
13402         processing.
13403
13404 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13405
13406         * buffer.C: insert hfill when needed.
13407
13408         * tabular.C (l_getline): use string::erase, small whitespace change.
13409
13410         * BufferView_pimpl.C: try the anon namespace.
13411         * WorkArea.C: ditto
13412
13413 2001-03-16  Juergen Vigna  <jug@sad.it>
13414
13415         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13416         otherwise it won't open options-dialogs.
13417
13418         * buffer.C: honor pextraWidth(p) on converting minipages.
13419
13420         * tabular.C (l_getline): changed the functions to strip trailing \r.
13421
13422 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13423
13424         * BufferView_pimpl.C:
13425         * minibuffer..C: added "using SigC::slot" declaration.
13426
13427 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13428
13429         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13430
13431         * text2.C: ditto
13432
13433         * text.C: ditto
13434
13435         * paragraph.C: ditto
13436
13437         * lyxtext.h: NO_PEXTRA
13438
13439         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13440
13441         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13442         * ParameterStruct.h: ditto
13443         * ParagraphParameters.h: ditto
13444         * lyxparagraph.h: ditto
13445
13446 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13447
13448         * buffer.C: add compability for minipage alignment.
13449         (latexParagraphs): remove unwanted pextra check.
13450
13451         * several files: remove CXX_WORKING_NAMESPACES
13452
13453         * buffer.C (pop_tag): tie is in namespace boost
13454
13455         * BufferView.h: noncopyable is in namespace boost
13456         * lyxlex.h: ditto
13457         * lyx_main.h: ditto
13458         * lyx_gui.h: ditto
13459         * layout.h: ditto
13460         * lastfiles.h: ditto
13461         * bufferlist.h: ditto
13462         * ShareContainer.h: ditto
13463         * LyXView.h: ditto
13464         * LyXAction.h: ditto
13465         * LaTeX.h: ditto
13466
13467 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13468
13469         * Merging changes from BRANCH_MVC back into HEAD.
13470
13471         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13472
13473 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13474
13475         * BufferView_pimpl.C: change from intl.C
13476
13477         * combox.h:
13478         * combox.C:
13479         * Makefile.am: move combox.*
13480
13481         * form1.h:
13482         * form1.C:
13483         * lyx_gui.C:
13484         * intl.h:
13485         * intl.C: remove dialog (covered by prefs)
13486
13487 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13488
13489         * lyxfunc.C (Dispatch): removed redundant break statement.
13490
13491 2001-03-14  Juergen Vigna  <jug@sad.it>
13492
13493         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13494
13495 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13496
13497         * buffer.C: add hack to fix compability reading of minipages.
13498
13499 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13500
13501         * buffer.C (getLists): Cleanup.
13502
13503 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13504
13505         * lyxfont.C (update): don't honor toggleall on font size.
13506
13507 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13508
13509         * bmtable.c:
13510         * bmtable.h:
13511         * Makefile.am: moved to frontends/xforms/
13512
13513         * lyx_gui_misc.C:
13514         * lyxfunc.C:
13515         * BufferView_pimpl.C: changes for moved mathpanel
13516
13517 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13518
13519         * gettext.h: fix gettext_init() in --disable-nls
13520
13521 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13522
13523         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13524
13525 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13526
13527         * lyx.C:
13528         * lyx.h: strip external form
13529
13530 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13531
13532         * BufferView_pimpl.C: add comment, destroySplash()
13533
13534 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13535
13536         * BufferView_pimpl.C:
13537         * LyXAction.C:
13538         * buffer.C:
13539         * commandtags.h:
13540         * lyxfunc.C: use re-worked insetinclude
13541
13542 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13543
13544         * buffer.C: add using std::stringstream.
13545
13546         * lyx_cb.C: readd using std::ios.
13547
13548         * buffer.C: add using std::map.
13549
13550         * BufferView_pimpl.C: add using std::vector.
13551
13552         * ShareContainer.h: add std:: to swap.
13553
13554         * buffer.h: add some typedefs
13555         * buffer.C (getLists): use them
13556         (getLists): renamed from getTocList.
13557         add a counter for the different float types and use it in the
13558         generated string.
13559         (getLists): use the same counter for the NEW_INSETS and the "non"
13560         NEW_INSETS
13561
13562         * lyx_cb.h: remove unused items, includes, using etc.
13563
13564         * ShareContainer.h: remove some commented code, add more comments
13565         and "documentation".
13566
13567 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13568
13569         * buffer.C (getTocList): make the list also when NEW_INSETS is
13570         defined.
13571
13572         * buffer.h: remove TocType
13573
13574         * buffer.C (getTocList): change to return a map<string,
13575         vector<TocItem> >, implement for dynamic number of list.
13576
13577         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13578         * text2.C (PasteSelection): adjust
13579         * CutAndPaste.C (pasteSelection): adjust
13580
13581         * FloatList.C (FloatList): update from the new_insets branch.
13582         * Floating.[Ch]: ditto
13583         * LaTeXFeatures.C: ditto
13584         * buffer.C: ditto
13585         * lyxlex_pimpl.C: ditto
13586
13587         * paragraph.C (Last): remove when NEW_INSETS is defined.
13588
13589         * other file: changes because of the above.
13590
13591 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13592
13593         * lyxparagraph.h: rename next to next_, previous to previous_,
13594         make them private for NEW_INSETS. Rename Next() to next(),
13595         Previous() to previous().
13596
13597         * other files: changes because of the above.
13598
13599 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13600
13601         * BufferView.h:
13602         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13603         problem.
13604
13605 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13606
13607         * main.C (main): pass lyx_localedir to gettext_init().
13608
13609         * gettext.h: remove locale_init and gettext_init macros
13610
13611         * gettext.C (locale_init): new function
13612         (gettext_init): new function
13613
13614         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13615         setlocale().
13616
13617 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13618
13619         * Moved credits to frontends:
13620         * credits.[Ch]: removed
13621         * credits_form.[Ch]: removed
13622         * lyx_gui_misc.C: remove credits stuff
13623         * Makefile.am:
13624
13625 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13626
13627         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13628
13629         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13630         unneeded destructor.
13631
13632         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13633         a standalone pointer again.
13634
13635         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13636
13637 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13638
13639         * Makefile.am:
13640         * filedlg.h:
13641         * filedlg.C:
13642         * LyXAction.C:
13643         * ToolbarDefaults.C:
13644         * bufferlist.C:
13645         * commandtags.h:
13646         * form1.C:
13647         * form1.h:
13648         * lyx_cb.C:
13649         * lyx_cb.h:
13650         * lyxfunc.h:
13651         * lyxfunc.C:
13652         * BufferView_pimpl.C: use new file dialog in GUII
13653
13654         * lyx_cb.h:
13655         * lyx_cb.C: remove LayoutsCB to Toolbar
13656
13657 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13658
13659         * ShareContainer.h (get): add std:: qualifier
13660
13661 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13662
13663         * ShareContainer.h: define a proper ShareContainer::value_type
13664         type (and use typename to please compaq cxx)
13665
13666 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13667
13668         * lyxparagraph.h: move serveral local vars to
13669         ParameterStruct/ParagraphParameters., use ShareContainer in
13670         FontTable., make vars in FontTable private and add getter and
13671         setter.
13672
13673         * paragraph.C: changes because of the above.
13674
13675         * lyxfont.h: remove copy constructor and copy assignment. (the
13676         default ones is ok), move number inside FontBits. move inlines to
13677         lyxfont.C
13678
13679         * lyxfont.C: add number to initializaton of statics, move several
13680         inlines here. constify several local vars. some whitespace
13681         cleanup. Dont hide outerscope variables.
13682
13683         * Spacing.h: add two new constructors to match the set methods.
13684
13685         * ShareContainer.h: new file, will perhaps be moved to support
13686
13687         * ParameterStruct.h: new file
13688
13689         * ParagraphParameters.h: new file
13690
13691         * ParagraphParameters.C: new file
13692
13693         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13694         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13695
13696         * BufferView_pimpl.C: ParagraphParameter changes.
13697         * buffer.C: Likewise.
13698         * bufferview_funcs.C: Likewise.
13699         * text.C: Likewise.
13700         * text2.C: Likewise.
13701
13702 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13703
13704         * lyxfind.C (LyXReplace): do not redefine default argument in
13705         implementation.
13706         (IsStringInText): ditto
13707         (SearchForward): ditto
13708         (SearchBackward): ditto
13709
13710 2001-03-06  Juergen Vigna  <jug@sad.it>
13711
13712         * lyxfind.C (IsStringInText): put parentes around expressions.
13713
13714 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13715
13716         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13717
13718 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13719
13720         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13721
13722         * stl_string_fwd.h: add comment
13723
13724         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13725
13726         * tabular.h:
13727         * tabular.C: remove unused DocBook methods
13728
13729         * intl.C:
13730         * language.C:
13731         * paragraph.C:
13732         * buffer.C:
13733         killed DO_USE_DEFAULT_LANGUAGE
13734
13735 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13736
13737         * lyx_gui.C: do not include language.h.
13738
13739         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13740         arguments in function implementation.
13741
13742 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13743
13744         * BufferView_pimpl.C: add <ctime>
13745
13746 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13747
13748         * BufferView_pimpl.C: add using std::find_if
13749
13750 2001-02-27  José Matos  <jamatos@fep.up.pt>
13751
13752         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13753         by OnlyPath.
13754
13755 2001-02-11  José Matos  <jamatos@fep.up.pt>
13756
13757         * buffer.C (makeDocBookFile): command styles now have a parameter as
13758         "title" by default.
13759
13760 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13761
13762         * layout_forms.[Ch]: removed
13763         * lyx_cb.[Ch]: out character
13764         * lyx_gui.C: out character
13765         * lyx_gui_misc.C: out character
13766         * bufferview_funcs.C: : out character,
13767         added toggleall as parameter in ToggleAndShow
13768
13769 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13770
13771         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13772
13773         * text2.C (SetCurrentFont): Disable number property at boundary.
13774
13775 2001-02-26  Juergen Vigna  <jug@sad.it>
13776
13777         * lyxfunc.C (getStatus): added a string argument override function so
13778         that this is correctly called from LyXFunc::Dispatch if it contains a
13779         do_not_use_argument which is used!
13780         (Dispatch): added check for "custom" export and call appropriate func.
13781
13782 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13783
13784         * lyxrc.C: Add language_command_local, language_use_babel and
13785         language_global_options.
13786
13787         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13788
13789         * buffer.C (makeLaTeXFile): Use language_use_babel and
13790         language_global_options.
13791
13792 2001-02-23  Juergen Vigna  <jug@sad.it>
13793
13794         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13795         which works with LyXText and putted it inside BufferView. Here now we
13796         only call for that part the BufferView::Dispatch() function.
13797
13798         * BufferView.C (Dispatch): added.
13799
13800         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13801         functions which needs to use a LyXText over from LyXFunc.
13802         (MenuInsertLyXFile): added
13803         (getInsetByCode): added
13804         (moveCursorUpdate): added
13805         (static TEXT): added
13806
13807 2001-02-22  Juergen Vigna  <jug@sad.it>
13808
13809         * BufferView_pimpl.C (update): call a status update to see if LyXText
13810         needs it.
13811
13812 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13813
13814         * vc-backend.C (revert): implement for CVS
13815         (getLog): implement for CVS
13816
13817 2001-02-20  Juergen Vigna  <jug@sad.it>
13818
13819         * text2.C (ClearSelection): added BufferView param for inset_owner call
13820
13821         * lyxfunc.C (TEXT): added this function and use it instead of
13822         directly owner->view()-text of getLyXText().
13823
13824 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13825
13826         * src/layout_forms.C: out preamble
13827         * src/layout_forms.h: out preamble
13828         * src/lyx_cb.C: out preamble
13829         * src/lyx_cb.h: out preamble
13830         * src/lyx_gui.C: out preamble
13831         * src/lyx_gui_misc.C: out preamble
13832         * src/lyxfunc.C: connect with guii preamble
13833
13834 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13835
13836         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13837
13838 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13839
13840         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13841         whether to run bibtex.
13842
13843 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13844
13845         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13846
13847 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13848
13849         * Makefile.am (lyx_SOURCES): removed bibforms.h
13850
13851         * vspace.h: doxygen
13852
13853         * text.C (GetVisibleRow): make several local vars const
13854
13855         * tabular.C: small cleanup.
13856
13857         * lyxserver.C (callback): use compare instead of strncmp
13858
13859         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13860         inlines to after class or to paragraph.C
13861
13862         * lyxfont.h: remove friend operator!=
13863
13864         * converter.h: move friend bool operator< to non friend and after
13865         class def.
13866
13867         * combox.h: small cleanup
13868
13869         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13870         to inlines after class def.
13871
13872         * buffer.C (pop_tag): use string operations instead of strcmp
13873
13874         * bmtable.c: doxygen, small cleanup
13875
13876         * LaTeX.h: remove friend operator==
13877
13878 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13879
13880         * screen.C:
13881         * lyxrc.[Ch]:
13882         * lyxfunc.C:
13883         * lyxfont.[Ch]:
13884         * lyx_cb.C:
13885         * intl.[Ch]:
13886         * commandtags.h:
13887         * buffer.C:
13888         * WorkArea.[Ch]:
13889         * LyXAction.C:
13890         * BufferView_pimpl.C:
13891         * BufferView.[Ch]: remove cruft
13892
13893 2001-02-14  Juergen Vigna  <jug@sad.it>
13894
13895         * lyxfunc.C: removed #if 0 unused code
13896
13897         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13898
13899         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13900
13901         * text2.C (SetSelection): added a BufferView * parameter
13902
13903 2001-02-13  Juergen Vigna  <jug@sad.it>
13904
13905         * lyxfunc.C (Dispatch): fixed protected blank problem.
13906         * BufferView2.C (protectedBlank): added LyxText * parameter.
13907
13908         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13909         (AppendColumn): same as above for column_info.
13910
13911         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13912         (moveCursorUpdate): use a LyXText param for support of InsetText.
13913
13914         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13915         (tripleClick): ditto
13916
13917         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13918
13919         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13920
13921         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13922
13923         * text2.C (SetSelection): set correct update status if inset_owner
13924         (ToggleFree): ditto
13925
13926 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13927
13928         * tabular.C: remove some commented code.
13929
13930 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13931
13932         * BufferView_pimpl.C: call hideSplash()
13933
13934         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13935
13936         * include_form.h:
13937         * bibforms.h: remove
13938
13939         * lyxfunc.C:
13940         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13941           add LFUN_CHILD_CREATE
13942
13943         * counters.h: fix tiny typo
13944
13945         * lyx_cb.C:
13946         * lyx.h:
13947         * lyx_gui.C:
13948         * lyx.C: move splash to frontends/xforms/
13949
13950         * lyx_gui_misc.C: move Include and Bibform to frontends
13951
13952         * lyxvc.h: clarify comment
13953
13954         * vspace.C: tiny housekeeping
13955
13956 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13957
13958         * text.C (PrepareToPrint): RTL Fix.
13959
13960         * paragraph.C (GetUChar): New method.
13961         (String):  Use GetUChar.
13962
13963         * buffer.C (asciiParagraph): Use GetUChar.
13964
13965 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13966
13967         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13968
13969 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13970
13971         * buffer.h:
13972         * buffer.C: rename to getLogName(), handle
13973           build log / latex log nicely
13974
13975 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13976
13977         * MenuBackend.C:
13978         * MenuBackend.h: remove support for reference menuitem type.
13979
13980 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13981
13982         * BufferView_pimpl.C: housekeeping
13983         * BufferView_pimpl.h:
13984         * LyXView.h:
13985         * Makefile.am:
13986         * Timeout.C:
13987         * Timeout.h:
13988         * minibuffer.h: move Timeout GUI-I
13989
13990 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13991
13992         * lyxrc.C (read): Update converters data-structures.
13993
13994 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13995
13996         * LaTeX.h (operator!=): add operator != for Aux_Info
13997
13998 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13999
14000         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14001
14002         * LaTeXLog.C: deleted, useful code moved to Buffer
14003
14004         * buffer.h:
14005         * buffer.C: new function getLatexLogName()
14006
14007         * lyx_gui_misc.C:
14008         * lyx_gui.C:
14009         * lyxvc.C:
14010         * lyxvc.h:
14011         * lyxfunc.C: use frontends for LaTeX and VC logs
14012
14013 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14014
14015         * LaTeX.h: yet another std:: that Allan forgot.
14016
14017         * Variables.C (set): renamed from isset(), because this clashes
14018         with some HP-UX macros (grr).
14019
14020 2001-02-06  Allan Rae  <rae@lyx.org>
14021
14022         * LaTeX.h: Another bug fix.  Missing std:: this time.
14023
14024 2001-02-04  Allan Rae  <rae@lyx.org>
14025
14026         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14027         floats problem. I've left it commented out because it's not quite
14028         correct.  It should also test that the current object is a table or
14029         figure inset.  But I haven't gotten around to figuring out how to do
14030         that.  I *think* it'll be something like: "table" == inset.type()
14031
14032         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14033         bool.
14034
14035 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14036
14037         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14038         all the citation/databases/styles in the auxilary file.
14039         (run): Rerun latex if there was a babel language error.
14040
14041 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14042
14043         * text.C (Backspace): Preserve the font when changing newline char
14044         with a space.
14045         (BreakParagraph): If the cursor is before a space, delete the space.
14046
14047         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14048
14049 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14050
14051         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14052         new argument (code).
14053         (ChangeCitationsIfUnique): New method.
14054
14055         * paragraph.C (GetPositionOfInset): Handle bibkey.
14056
14057 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14058
14059         * BufferView_pimpl.h: change type of Position::par_pos to
14060         LyXParagraph::size_type.
14061
14062 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14063
14064         * BufferView_pimpl.C (savePosition, restorePosition): Write
14065         messages to minibuffer.
14066
14067 2001-01-28  José Matos  <jamatos@fep.up.pt>
14068
14069         * buffer.C (makeDocBookFile): adds support for document language.
14070         A silly restriction on the name of LatexCommand types where removed.
14071         Added support for CDATA sections, allows to chars unescaped, used
14072         among others in code, to avoid escape < and >.
14073
14074 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14075
14076         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14077         saved positions instrad of a stack. Furthermore, a position is
14078         stored using paragraph id/paragraph position.
14079
14080         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14081         Remove LFUN_REF_BACK.
14082
14083 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14084
14085         * converter.C (dvipdfm_options): New method.
14086
14087 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14088
14089         * vspace.C (isValidLength): Fix for empty input string.
14090
14091 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14092
14093         * LyXAction.C (init): change description of LFUN_FIGURE to
14094         "Insert Graphics"
14095
14096 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14097
14098         * LaTeX.C: add using directive
14099
14100 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14101
14102         * MenuBackend.C (expand): Fix the sorting of the formats.
14103
14104 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14105
14106         * lyx_main.C: tiny error message fix
14107
14108 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14109
14110         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14111         calling fl_initialize(). This fixes the problem with ',' as
14112         decimal separator in text files.
14113
14114 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14115
14116         * trans.C (process): Fix the keymap bug.
14117
14118 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14119
14120         * LaTeX.C (scanAuxFiles): New method. Provides support for
14121         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14122         (scanLogFile) Scan for "run BibTeX" messages.
14123
14124         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14125         OT1 font encoding. Also, load the aecompl package if the ae
14126         package is loaded.
14127
14128         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14129
14130 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14131
14132         * texrow.C (increasePos): turn two error messages into debug
14133         messages.
14134
14135 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14136
14137         * LaTeX.C (scanAux): Handle the \@input macro.
14138         (runBibTeX): Use scanAux().
14139
14140         * language.C (latex_options_): New field.
14141
14142         * LaTeXFeatures.C (getMacros): Add language macros.
14143
14144         * buffer.C (makeLaTeXFile): Small fix.
14145
14146 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14147
14148         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14149
14150         * text2.C: add a using directive.
14151
14152 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14153
14154         * BufferView2.C:
14155         * lyx_gui_misc.h:
14156         * lyxfr1.C:
14157         * lyxfunc.C: kill LyXBell.
14158
14159 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14160
14161         * text.C (IsBoundary): Remove the error message
14162
14163         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14164
14165         * lyxrc.C (setDefaults): Correct initialization value for
14166         font_norm_type.
14167
14168 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14169
14170         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14171         gotoError().
14172
14173         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14174         and GotoNextNote().
14175
14176         * src/LyXAction.C: Added reference-next.
14177
14178         * text.C (InsertChar): Use contains instead of strchr.
14179
14180         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14181
14182 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14183
14184         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14185         alignment commands (when needed).
14186
14187         * text.C (InsertChar): Add ':' to number separator chars.