]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
7868791b914961932c36375790c8a910a31fddc8
[lyx.git] / src / ChangeLog
1
2 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3
4         * factory.C: Syntax change for CharStyles
5
6 2003-11-28  André Pönitz  <poenitz@gmx.net>
7
8         * BufferView.[Ch]: make LyXText * text a private member
9
10         * BufferView_pimpl.C:
11         * cursor.C:
12         * iterators.C:
13         * lyx_cb.C:
14         * lyxfind.C:
15         * lyxtext.h:
16         * rowpainter.[Ch]:
17         * text.C:
18         * text2.C:
19         * undo.C: adjust
20
21         * output_plaintext.C: cleanup
22
23 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
24
25         * buffer.C: 
26         * lyxtextclass.[Ch]: parametrize SGML document header
27
28 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
29
30         * converter.[Ch]:
31         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
32         getFlavor().
33
34 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
35
36         * text2.C (setFont): rework using PosIterator (no more recursive)
37         (setCharFont): no more needed 
38         (setLayout): no more selection cursors fiddling (done by redoCursor)
39         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
40         destroy remaining ones)
41
42 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
43
44         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
45         * lyxtext.h: ditto
46         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
47         selection cursors
48         * lyxfunc.C: adjust
49         * text3.C: adjust + re-allow multi par depth changes
50         * textcursor.C: simplify a bit
51
52 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
53
54         * src/buffer.C:
55         * src/lyxlayout.C:
56         * src/lyxlayout.h:
57         * src/lyxtext.h:
58         * src/output_docbook.C:
59         * src/output_latex.C:
60         * src/paragraph.C:
61         * src/paragraph.h:
62         * src/sgml.C:
63         * src/sgml.h:
64         * src/text2.C: Introducing a number of tags parametrizing various
65         XML formats that we may want to support
66
67 2003-11-25  André Pönitz  <poenitz@gmx.net>
68
69         * InsetList.[Ch] (begein, end): inline as suggested by profiler
70
71         * lyxtext.h (leftMargin/rightMargin): simplify interface
72
73         * rowpainter.C:
74         * text.C:
75         * text2.C:
76         * text3.C: adjust
77
78 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
79
80         * lyxfunc.C (dispatch): propogate the bibtex databases from the
81         master file to any child files. Fixes bug 546.
82
83 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
84
85         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
86
87 2003-11-24  André Pönitz  <poenitz@gmx.net>
88
89         * rowpainter.C: simplification
90
91         * text2.C (updateCounters): remove call to redoParagraph on 
92         changed labels as this is far too expensive.
93
94 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
95
96         * converter.C (convert): fix a crash: this function gets
97         called with buffer == 0 from importer code.
98
99 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
100
101         * text3.C (cursorPrevious): make sure that we do not compare
102         iterators form different containers.
103         (cursorNext): ditto
104
105         * rowpainter.C (paintSelection): make sure that we do not compare
106         iterators from different containers.
107
108         * text3.C (dispatch): [PRIOR] make sure that we do not compare
109         iterators from different ParagraphList containers.
110         [NEXT] ditto
111
112         * text2.C (LyXText): change order of initialization slightly
113         (operator=): new function. copy all variables except cache_par_
114         (moveUp): make sure that we do not compare iterators from
115         different ParagraphList constainers.
116         (moveDown): ditto
117
118         * text.C (firstPar): new function
119         (lastPar): new function
120         (endPar): new function
121
122         * lyxtext.h: move things around and group public functions, public
123         variables, private functions, private variables
124
125 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
126
127         * factory.C: change call to InsetERT constructor to avoid
128         additional invocation of method status
129         * text2.C (toggleInset): remove redundant update() call
130         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
131         instead of a Bufferview pointer
132
133 2003-11-21  André Pönitz  <poenitz@gmx.net>
134
135         * rowpainter.C: simplification
136
137 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
138
139         * text3.C (dispatch): make possible to extend a word/row selection
140         with the mouse
141
142 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
143
144         * lyxtext.h: x0_,y0_ -> xo_,yo_
145         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
146         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
147         * rowpainter.C (paintRows): paint full paragraphs
148
149 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
150
151         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
152         screen coordinates)
153
154 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
155
156         * lyxtext.h: add x0_, y0_
157         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
158         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
159
160 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
161
162         * text2.C (setCursorIntern): move the x_target update here *
163         * text3.C: change some bv() to true/false in calls to
164         cursorUp/Down/Right/Left
165         * cursor.C: use helper function.
166
167 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
168
169         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
170         * paragraph_funcs.[Ch]: correct comment
171         * rowpainter.C: do not paint selections away from bv->cursor()
172         Fix a long standing selection painting bug.
173         * text3.C: generalize mouse-selection code to LyXTexts other that
174         top one
175         * textcursor.C: do not use y coords if we can use par offsets
176
177 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
178
179         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
180         cursor position after e.g. inset insert)
181
182 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
183
184         * lyxfind.C (replace): adjust to locking removal + some
185         code simplification
186
187 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
188
189         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
190         of the path
191
192 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
193
194         * lyxlayout.[Ch]:
195         * output_docbook.C: XML sanitation: new layout
196         parameters InnerTag and CommandDepth
197
198 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
199
200         * BufferView_pimpl.C:
201         * factory.C:
202         * text3.C: Fix the insertion and modification of button-style
203         insets
204
205 2003-11-13  André Pönitz  <poenitz@gmx.net>
206
207         * InsetList.[Ch]: remove deleteLyXText
208
209         * paragraph.[Ch]: cache beginOfBody position
210
211         * Bidi.C:
212         * text.C:
213         * text2.C:
214         * text3.C: remove superfluous update() calls
215
216         * vspace.C: cleanup
217
218 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
219
220         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
221         * BufferView.C (fitLockedInsetCursor): remove
222         * cursor.[Ch] (getDim): add
223         * text.C (getRowNearY): add faster version
224         * text3.C: remove some update calls
225
226 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
227
228         * LaTeXFeatures.C:
229         * LyXAction.C:
230         * MenuBackend.C:
231         * MenuBackend.h:
232         * dispatchresult.h:
233         * factory.C:
234         * lfuns.h:
235         * lyxfunc.C:
236         * lyxtextclass.C:
237         * lyxtextclass.h:
238         * text3.C: The Character Style /XML short element patch.
239
240 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
241
242         * text3.C:
243         * factory.C: Small step to solving 'unable to insert some insets'
244         problem
245
246 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
247
248         * cursor.[Ch] (updatePos): new function for updating the y
249         position of the tip inset
250         * bufferview_funcs.C (put_selection_at):
251         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
252
253 2003-11-11  André Pönitz  <poenitz@gmx.net>
254
255         * text.C: remove big comment on invalid Paragraph pointers as it is
256         not valid anymore
257
258 2003-11-11  André Pönitz  <poenitz@gmx.net>
259
260         * text_funcs.[Ch]: merge with ...
261
262         * text.C: ... this
263
264         * lyxtext.h:
265         * text2.C:
266         * text3.C: adjust
267
268         * Makefile.am: remove text_funcs.[Ch]
269
270 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
271
272         * cursor.C (getPos): return absolute cached y coord
273
274         * BufferView_pimpl.C (fitCursor): new simplistic code
275         (workAreaDispatch): add a fitCursor call
276
277 2003-11-10  André Pönitz  <poenitz@gmx.net>
278
279         * BufferView.[Ch]:
280         * BufferView_pimpl.[Ch]: merge update() and updateInset()
281
282 2003-11-10  André Pönitz  <poenitz@gmx.net>
283
284         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
285         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
286         indicate that the cursor needs to leave an inset
287
288         * lyxtext.h: remove inset locking
289
290         * cursor.[Ch]: re-implement functionality provided by inset locking
291
292         * BufferView.[Ch]:
293         * BufferView_pimpl.[Ch]:
294         * LyXAction.C:
295         * bufferview_funcs.[Ch]:
296         * factory.C:
297         * funcrequest.[Ch]:
298         * iterators.C:
299         * lyx_cb.C:
300         * lyxfind.C:
301         * lyxfunc.C:
302         * text.C:
303         * text2.C:
304         * text3.C:
305         * undo.C: adjust
306
307 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
308
309         * PosIterator.[Ch]: replace the stack with a vector, add inset
310         accesor
311         * iterators.[C]: adjust
312
313 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
314
315         * lyxfind.C (replaceAll): mark the buffer dirty if something was
316         replaced
317         * paragraph_funcs.C (readParToken): put the correct id in the
318         error item, not the id of the top paragraph
319
320 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
321
322         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
323         * bufferview_funcs.C (put_selection_at): use the above
324
325 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
326
327         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
328
329 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
330
331         * output_linuxdoc.h:
332         * output_plaintext.h:
333         * output.h:
334         * output_docbook.h: add #include statements
335
336 2003-11-05  José Matos  <jamatos@lyx.org>
337
338         * output_docbook.[Ch]:
339         * output_latex.[Ch]:
340         * output_linuxdoc.[Ch]:
341         * output_plaintext.[Ch]: New files for output formats.
342         * output.[Ch]: New file for helper functions.
343
344         * buffer.[Ch]:
345         * paragraph_funcs.[Ch]: output functions moved to new files.
346
347         * outputparams.h: rename of latexrunparams.h
348
349         * LaTeX.[Ch]:
350         * buffer.[Ch]:
351         * bufferlist.[Ch]:
352         * converter.[Ch]:
353         * exporter.C:
354         * paragraph.[Ch]:
355         * paragraph_funcs.[Ch]:
356         * paragraph_pimpl.[Ch]:
357         * tabular.[Ch]: rename ascii to plaintext
358         and LatexRunParams to OutputParams.
359
360 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
361
362         * iterators.[Ch] (text): require bv argument
363         * undo.C (recordUndo):
364         * lyxfunc.C (dispatch):
365         * bufferview_funcs.C (put_selection_at): adjust
366
367 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
368
369         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
370
371 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
372
373         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
374         nestings
375
376 2003-11-04  André Pönitz  <poenitz@gmx.net>
377
378         * cursor.[Ch]: restructure
379
380         * BufferView.[Ch]:
381         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
382
383         * iterators.[Ch] (asCursor): remove
384
385         * lfuns.h: remove LFUN_INSET_EDIT
386
387         * lyxfunc.C:
388         * tabular.C:
389         * text.C:
390         * text2.C:
391         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
392
393 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
394
395         * lyxfind.[Ch]: complete overhaul
396         * BufferView_pimpl.C:
397         * lyxfunc.C: adjust
398         * paragraph.[Ch] (insert): add
399
400 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
401
402         * BufferView.[Ch]:
403         * lyxtext.h:
404         * text.C: remove dead spellcheck code
405
406 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
407
408         * dispatchresult.h: add a val setter
409
410         * cursor.C (dispatch): use a tempvar for data_[i]
411
412 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
413
414         * PosIterator.[Ch]: compile fix
415
416 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
417
418         * text.C (cursorPar): deactivate the cursor cache
419
420 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
421
422         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
423
424 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
425
426         * text3.C (dispatch): adjust for new DisptchResult semantics.
427
428         * lyxfunc.C (dispatch): handle update when return from
429         Cursor::dispatch, adjust for new DispatchResult semantics.
430
431         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
432         DispatchResult(true) mean to not update. Add class functions for
433         setting dispatched and update, as well as reading.
434
435         * cursor.C (dispatch): don't handle update here
436
437 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
438
439         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
440         * trans_mgr.C: adjust
441
442         * paragraph_funcs.C (readParToken): exception safety
443
444         * lyxvc.h: store the vcs pointer in a scoped_ptr
445         * lyxvc.C: adjust
446
447         * lyxsocket.C (serverCallback): exception safety
448
449         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
450
451         * ispell.C (clone): make it return a auto_ptr
452
453         * factory.C (createInset): exception safety
454         (readInset): exception safety
455
456         * bufferlist.C (newBuffer): exception safety
457
458         * Thesaurus.C (Thesaurus): use initialization for aik_
459
460         * MenuBackend.C (expandToc): exception safety.
461
462 2003-11-03  André Pönitz  <poenitz@gmx.net>
463
464         * buffer.C:
465         * buffer.h:
466         * bufferview_funcs.C: remove getInsetFromId()
467
468         * lyxcursor.[Ch]:
469         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
470
471         * lyxfunc.C:
472         * text2.C:
473         * text3.C: adjust
474
475 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
476
477         * PosIterator.C (distance, advance): new
478         * bufferview_funcs.[Ch] (put_selection_at): new
479         * iterators.[Ch] (lockPath): new
480
481 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
482
483         * iterators.[Ch] (asPosIterator): added
484         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
485         * PosIterator.[Ch]: added
486
487 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
488
489         * text3.C:
490         * lyxfunc.C:
491         * cursor.C (dispatch):
492         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
493
494         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
495         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
496         contructor, add a class function dispatched. Remove operator>=
497
498 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
499
500         * debug.C: only use the default constructor for debugstream
501         (lyxerr) here.
502
503         * main.C (main): include debug.h and setup the lyxerr streambuf
504         here.
505
506 2003-10-31  José Matos  <jamatos@lyx.org>
507
508         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
509
510         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
511         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
512         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
513         * paragraph_pimpl.C (simpleTeXSpecialC):
514         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
515         add LatexRunParams argument.
516
517         * exporter.C (Export): change call accordingly.
518
519         * latexrunparams.h: add new member to take care of the other backends.
520 2003-10-30  José Matos  <jamatos@lyx.org>
521
522         * buffer.C (makeLinuxDocFile, makeDocBookFile):
523         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
524         factorise code for paragraph output.
525         * buffer.[Ch]:
526         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
527         move functions.
528
529 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
530
531         * text3.C (dispatch):
532         * lyxfunc.C (dispatch):
533         * cursor.C (dispatch):
534         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
535
536         * dispatchresult.h: make the dispatch_result_t ctor explicit
537
538 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
539
540         * sgml.[Ch]:
541         * buffer.C: small refactoring of docbook stuff
542
543 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
544
545         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
546         meaning.
547
548 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
549
550         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
551         operator dispatch_result_t, and operators for == != and >=
552
553         * cursor.C (dispatch): adjust for operator dispatch_result_t
554         removal. comment out call to update
555
556         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
557
558 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
559
560         * text3.C:
561         * text2.C:
562         * text.C:
563         * lyxtext.h:
564         * lyxfunc.C:
565         * cursor.C:
566         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
567         (dispatch):
568
569         * dispatchresult.h: new file, DispatchResult broken out of
570         insets/insetbase.h
571
572         * Makefile.am (lyx_SOURCES): add dispatchresult.h
573
574 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
575
576         * text.C (rowBreakPoint): put a hack inside #if 0
577
578 2003-10-28  André Pönitz  <poenitz@gmx.net>
579
580         * lyxtext.h:
581         * metricsinfo.C:
582         * paragraph_funcs.C:
583         * rowpainter.C:
584         * text.C:
585         * text2.C: general cleanup (lots of small stuff)
586
587 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
588
589         * text2.C (cursorEnd): simple fix to the "end key goes to one
590         before the end on last row" bug
591
592 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
593
594         * text.C (backspace): fix the "zombie characters"
595
596 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
597
598         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
599
600 2003-10-27  André Pönitz  <poenitz@gmx.net>
601
602         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
603
604         * factory.C: handle new InsetPagebreak, InsetLine
605
606         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
607         and move handling into new InsetPagebreak, InsetLine
608
609         * BufferView_pimpl.C:
610         * LyXAction.C:
611         * ParagraphParameters.C:
612         * ParameterStruct.h:
613         * lyxfunc.C:
614         * lyxtext.h:
615         * paragraph.C:
616         * paragraph.h:
617         * paragraph_funcs.C:
618         * paragraph_pimpl.C:
619         * rowpainter.C:
620         * text.C:
621         * text2.C:
622         * text3.C: adjust
623
624 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
625
626         * text.C:
627         * lyxrow_funcs.[Ch]:
628         * Bidi.C:
629         * paragraph.C:
630         * lyxtext.h:
631         * rowpainter.C:
632         * text2.C:
633         * text3.C: remove lastPos uses in favour of Row::endpos
634
635 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
636
637         * undo.C (performUndoOrRedo): fix two crashes by setting a
638         cursor by hand and reordering some calls. Use bv->lockInset instead
639         of inset->edit because the latter loses cursor information
640
641 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
642
643         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
644         by Martin
645         (rowBreakPoint): fix width. change point to point + 1.
646         Add a missing check.
647
648 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
649
650         * MenuBackend.C:
651         * lyxfunc.C: fix (at least partly) the problems
652         with the Nav menu and headers inside branch insets
653         reported by Kayvan
654
655 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
656
657         * paragraph.C (getChar): add strong asserts
658
659         * lyxrow_funcs.C (lastPos): remove hideous hack
660
661         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
662         (fill): adjust to that (avoid an infinite loop)
663
664 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
665
666         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
667
668 2003-10-23  André Pönitz  <poenitz@gmx.net>
669
670         * RowList_fwd.h: change list<> to vector<> to gain speed
671         after suggestion from Alfredo
672
673 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
674
675         * lyxtext.h: move the bidi stuff from here...
676         * text.C: and here
677         * text2.C: and here
678         * Bidi.[Ch]: ... to here
679
680 2003-10-23  André Pönitz  <poenitz@gmx.net>
681
682         * lyxtext.h:
683         * text.C (isLastRow, isFirstRow): new functions
684
685         * paragraph.h: new width cache member
686
687         * rowpainter.C: replace RowList::iterator with Row & where possible
688
689         * lyxfunc.C: replace several view()->text with a single call
690
691         * toc.C: fix 'unused' warning
692
693 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
694
695         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
696         when woring with stream::pos_type
697         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
698
699 2003-10-22  André Pönitz  <poenitz@gmx.net>
700
701         * lyxtext.h:
702         * text.C: use Row & instead of RowList::iterator
703
704         * lyxrow.h: rename end() to endpos()
705
706         * rowpainter.C:
707         * text.C:
708         * text2.C: adjust
709
710 2003-10-22  Angus Leeming  <leeming@lyx.org>
711
712         * buffer.[Ch] (fully_loaded): new member function, returning true
713         only when the file has been loaded fully.
714         Used to prevent the premature generation of previews and by the
715         citation inset to prevent computation of the natbib-style label.
716
717         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
718         templates are all set up.
719
720         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
721
722 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
723
724         * text.C: fixed an "oops" in the "is a bit silly"
725         bug fix
726
727 2003-10-21  André Pönitz  <poenitz@gmx.net>
728
729         * FuncStatus.[Ch]: small stuff, whitespace
730
731         * lyxfont.[Ch]: operator<<() for debug reasons
732
733         * lyxfunc.C:
734         * lyxrow_funcs.C:
735         * lyxtext.h: whitespace, spelling
736
737         * paragraph.C: naming of variables
738
739         * text.C:
740         * text2.C: small stuff
741
742
743 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
744
745         * text.C: (1) finish off the inset display() work;
746         (2) fix the "is a bit silly" bug (accessing char
747         past end of par).
748
749 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
750
751         * text.C: re-introduce display() for insets, fixing the
752         various bugs (stretch of line above, math inset
753         positioning, ...)
754
755 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
756
757         * text.C (rightMargin): remove spurious semicolon
758
759         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
760         1415)
761
762 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
763
764         * text3.C: fix one crash due to wrong cursor def
765
766 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
767
768         * vc-backend.C (scanMaster): make the regex static
769
770         * LaTeX.C (scanAuxFile): make the regexs static
771
772         * text3.C (doInsertInset, dispatch, dispatch):
773         * text2.C (cursorUp, cursorDown):
774         * text.C (selectNextWordToSpellcheck):
775         * BufferView_pimpl.C (dispatch):
776         * lyxfunc.C (dispatch):  localDispatch -> dispatch
777
778 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
779
780         * lyxsocket.C: include <cerrno>
781
782 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
783
784         * lyxfunc.C (dispatch): remove textcache stuff
785
786         * bufferlist.C (release): remove textcache stuff
787         (closeAll): ditto
788
789         * TextCache.C: delete file
790         * TextCache.h: delete file
791
792         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
793
794         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
795         delete of the bv_->text.
796         (resizeCurrentBuffer): remove texcache stuff
797         (workAreaResize): ditto
798
799 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
800
801         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
802         action.
803
804 2003-10-16  André Pönitz  <poenitz@gmx.net>
805
806         * lyxrow.[Ch]:
807         * paragraph.h:
808         * rowpainter.C:
809         * text.C:
810         * text2.C:
811         * text3.C: speed up by storing y positions per paragraph plus per-row
812         offset instead of having a 'full' y position in the row.
813
814 2003-10-15  André Pönitz  <poenitz@gmx.net>
815
816         * iterators.[Ch]:
817         * iterators.[Ch]:
818         * undo.[Ch]: make undo aware of inner insets
819
820 2003-10-14  Angus Leeming  <leeming@lyx.org>
821
822         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
823         static member functions LyX::ref() and LyX::cref.
824         (lastfiles): new accessor functions for the new lastfiles_ member var.
825         (addLyXView, views_): add a new LyXView to the list of views_.
826         (updateInset): loop over all LyXViews to call their own updateInset
827         member function, returning a pointer to the Buffer owning the inset.
828
829         * BufferView_pimpl.C (loadLyXFile):
830         * MenuBackend.C (expandLastfiles):
831         * bufferlist.C (MenuWrite, QuitLyX):
832         lastfiles is no longer a global variable.
833         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
834
835         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
836         static function. Access through LyX::cref().emergencyCleanup().
837
838 2003-10-14  André Pönitz  <poenitz@gmx.net>
839
840         * iterators.[Ch]: new direct access to innermost LyXText and Inset
841
842         * undo.[Ch]: restoring part of 'undo in insets'
843
844         * Makefile.am:
845         * undo_funcs.[Ch]: merge with undo.[Ch]
846
847         * tabular.C: small cleansing stuff
848
849 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
850
851         * paragraph_funcs.C (readParToken): report unknown insets as error
852         boxes. Use the outer paragraph as location (also for unknown
853         tokens).
854
855         * factory.C (readInset): do not abort on reading an unknown inset.
856         Eat it and return 0.
857
858 2003-10-13  Angus Leeming  <leeming@lyx.org>
859
860         * lyx_main.C (LyX): remove call to setDisplayTranslator().
861
862         * lyxrc.C: displayTranslator is now a function,
863         declared in GraphicsTypes.h.
864
865 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
866
867         * format.C: new placeholder $$a to pass the socket address.
868
869         * bufferlist.[Ch]: new function getBufferFromTmp.
870
871         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
872           files in the temporary dir.
873
874 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
875
876         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
877
878         * Makefile.am: add lyxsocket.[Ch].
879
880         * lyx_main.C (error_handler): handle SIGPIPE.
881
882 2003-10-13  André Pönitz  <poenitz@gmx.net>
883
884         * BufferView_pimpl.C:
885         * lyxtext.h:
886         * text.C:
887         * text2.C:
888         * text3.C:
889         * undo_funcs.[Ch]: use paroffset_type instead of
890           ParagraphList::iterators to prevent multiple conversion
891           (and get a more robust interface)
892
893 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
894
895         * lyxfunc.C (dispatch): RESULT -> dispatch_result
896         * lyxtext.h: ditto
897         * text3.C (dispatch): ditto
898
899 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
900
901         * LaTeX.C (handleFoundFile): move the static to smaller scope,
902         move the onlyfile, use onlyfile instead of foundfile in a couple
903         of places.
904
905         * DepTable.C (update): flush the error stream a bit more
906
907 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
908
909         * lyxserver.C (callback): adjust
910
911         * lyxfunc.C (getStatus): add a missing brace in commented code
912         (ensureBufferClean): reindent
913         (dispatch): delete version taking a string
914
915 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
916
917         * LaTeX.C (deplog): move found file handlig from here...
918         (handleFoundFile): .. to new function here.
919         (deplog): make sure to discover several files mentioned on the
920         same log line.
921
922 2003-10-10  André Pönitz  <poenitz@gmx.net>
923
924         * lyxfunc.C:
925         * lyxtext.h:
926         * tabular.C:
927         * text.C:
928         * text2.C:
929         * text3.C: fix some of the tabular crashes
930
931 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
932
933         * MenuBackend.C (binding): put debug message into Debug::KBMAP
934
935         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
936
937 2003-10-09  André Pönitz  <poenitz@gmx.net>
938
939         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
940
941         * BufferView.C:
942         * BufferView_pimpl.C:
943         * bufferview_funcs.C:
944         * lyx_cb.C:
945         * lyxcursor.C:
946         * lyxfind.C:
947         * lyxfunc.C:
948         * lyxtext.h:
949         * text.C:
950         * text2.C:
951         * text3.C:
952         * text_funcs.[Ch]:
953         * textcursor.[Ch]:
954         * undo_funcs.C: adjust
955
956 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
957
958         * text2.C (incrementItemDepth): new function, use a backtracking
959         algorithm to discover the correct item depth.
960         (resetEnumCounterIfNeeded): new function, use a backtracking
961         algorithm to discover if counter reset is needed.
962         (setCounter): use them. Simplify a bit. Add different labels for
963         different item depths for itemize.
964
965         * paragraph.C (Paragraph): remove initialization of enumdepth
966         (operator=): ditto
967
968         * paragraph.h: get rid of enumdepth, and use itemdepth both for
969         enumerate and itemize. Change the type of itemdepth to signed char.
970
971 2003-10-08  André Pönitz  <poenitz@gmx.net>
972
973         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
974           thing assignable.
975         * text.C:
976         * text2.C: adjust
977
978         * tabular.[Ch]: fix crash after 'row-insert'
979
980 2003-10-08  Angus Leeming  <leeming@lyx.org>
981
982         Fix doxygen warnings.
983
984         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
985         Remove CutAndPaste:: prefix from header file declaration.
986
987         * LColor.h (fill): remove LColor:: prefix from declaration.
988
989         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
990         use lyx::depth_type rather than Paragraph::depth_type so that
991         header file and .C file match.
992
993         * converter.h (intToFormat): remove Converters:: prefix from declaration.
994
995         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
996         * aspell.C: \file aspell_local.C -> \file aspell.C
997         * gettext.C: \file gettext.C -> \file src/gettext.C
998         * gettext.h: \file gettext.h -> \file src/gettext.h
999         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1000         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1001         * text.C: \file text.C -> \file src/text.C
1002
1003         * toc.C: move comment so that doxygen is not confused.
1004
1005 2003-10-07  Angus Leeming  <leeming@lyx.org>
1006
1007         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1008
1009 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1010
1011         * aspell.C:
1012         * aspell_local.h: add forgotten std::string's.
1013
1014 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1015
1016         * LaTeXFeatures.C:
1017         * LyXAction.C:
1018         * factory.C:
1019         * lfuns.h:
1020         * lyxfunc.C:
1021         * text3.C: The Box patch. Fancybox support, minipage, parbox
1022
1023 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1024
1025         * CutAndPaste.h:
1026         * DepTable.h:
1027         * FloatList.h:
1028         * LaTeXFeatures.h:
1029         * ParagraphParameters.h:
1030         * TextCache.h:
1031         * Thesaurus.h:
1032         * bufferlist.h:
1033         * exporter.h:
1034         * importer.h:
1035         * lastfiles.h:
1036         * lyxfind.h:
1037         * lyxfont.h:
1038         * lyxlex.h:
1039         * lyxtextclasslist.h:
1040         * messages.h:
1041         * paragraph.h:
1042         * paragraph_pimpl.C:
1043         * textcursor.h: add <string> and other small fixes to make Lars'
1044         std::string patch compile with STLport.
1045
1046 2003-10-06  Angus Leeming  <leeming@lyx.org>
1047
1048         * LColor.h: Add missing #include <string>.
1049
1050 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1051
1052         * All most all file in all subdirs: Make <string> be the prefered
1053         way of getting to std::string, add using declarations.
1054
1055 2003-10-06  André Pönitz  <poenitz@gmx.net>
1056
1057         * metricsinfo.C: initialize LyXFont before changing attribute.
1058         (fixes the 'math in \emph is upright' bug)
1059
1060 2003-10-06  André Pönitz  <poenitz@gmx.net>
1061
1062         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1063
1064 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1065
1066         * graph.C:
1067         * paragraph_pimpl.C: Small fixes to build using STLport
1068
1069 2003-10-02  André Pönitz  <poenitz@gmx.net>
1070
1071         * lyxfunc.C:
1072         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1073
1074 2003-10-01  André Pönitz  <poenitz@gmx.net>
1075
1076         * factory.C: assert early
1077
1078 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1079
1080         * lyx_main.C: remove the global debug object
1081
1082         * debug.h: adjust for new debugstream
1083
1084         * debug.C: adjust for new debugstream and keep the global debug
1085         object here.
1086
1087 2003-09-22  Angus Leeming  <leeming@lyx.org>
1088
1089         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1090         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1091         an incomplete class LyXFont.
1092
1093 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1094
1095         * factory.C: bug fix in branches
1096
1097 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1098
1099         * lyxfunc.C (processKeySym): adjust
1100         (dispatch): adjust
1101         (dispatch): change arg name from ev to func, adjust
1102         (sendDispatchMessage): ditto
1103
1104         * lyx_main.C (defaultKeyBindings): adjust keybindings
1105         (deadKeyBindings): ditto
1106
1107         * kbsequence.C (addkey): return a FuncRequest
1108
1109         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1110
1111         * kbmap.C (bind): take a FuncRequest as arg, adjust
1112         (read): adjust
1113         (lookup): adjust
1114         (defkey): change to take a FuncRequest as arg, adjust
1115         (findbinding): take a FuncRequest as arg, adjust.
1116
1117         * funcrequest.h (operator=): added
1118
1119         * funcrequest.C (FuncRequest): default kb_action changed from
1120         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1121
1122         * buffer.C (dispatch): simplify
1123         (dispatch): adjust to take a FuncRequest as arg, adjust
1124
1125         * boost.C (assertion_failed): change assertion message slightly
1126
1127         * ToolbarBackend.C (read): simplify
1128
1129         * MenuBackend.C (binding): adjust call to findbinding, add a
1130         message if no binding is found.
1131         (read): simplify
1132         (expandToc): correct by adding a empty FuncRequest
1133
1134         * LyXAction.C: include <boost/assert.hpp>
1135         (isPseudoAction): delete function
1136         (LookupFunc): change name to...
1137         (lookupFunc): this. change return type to FuncRequest.
1138         (getActionName): take kb_action as arg, simplify
1139         (funcHasFlag): add an assert, simplify.
1140
1141 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1142
1143         * toc.C (action): return a FuncRequest, simplify
1144
1145         * lyxfunc.C (processKeySym): adjust
1146         (getStatus): delete version that takes an int.
1147         (getStatus): adjust
1148         (dispatch): delete version that takes action as int
1149         (dispatch): adjust
1150         (sendDispatchMessage): simplify and adjust
1151
1152         * funcrequest.C (getArg): take unsigned int as arg
1153
1154         * ToolbarBackend.C (read): adjust
1155         (add): delete version that takes func as a string.
1156         (getIton): take a FuncRequest as arg
1157
1158         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1159         action.
1160
1161         * MenuBackend.C (MenuItem): add a new construct that only takes a
1162         Kind, simplify the constructor use for submenus.
1163         (add): adjust
1164         (expandLastfiles): adjust
1165         (expandDocuments): adjust
1166         (expandFormats): adjust
1167         (expandFloatListInsert): adjust
1168         (expandFloatInsert): adjust
1169         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1170
1171         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1172         Remove class variables lyx_pseudo_map and lyx_arg_map
1173
1174         * LyXAction.C (searchActionArg): delete function
1175         (getPseudoAction): delete function
1176         (retrieveActionArg): delete function
1177         (LookupFunc): make it return kb_action, simplify.
1178         (getActionName): simplify
1179
1180         * factory.C (createInset): fix new bug
1181
1182 2003-09-19  Angus Leeming  <leeming@lyx.org>
1183
1184         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1185         masterFilename_ parameter in the include inset.
1186
1187         * factory.C (createInset): changes due to the changes to InsetInclude.
1188
1189 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1190
1191         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1192
1193 2003-09-18  Angus Leeming  <leeming@lyx.org>
1194
1195         * buffer.C:
1196         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1197         Inset::fillWithBibKeys.
1198         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1199
1200 2003-09-18  Angus Leeming  <leeming@lyx.org>
1201
1202         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1203         variables.
1204         (ctor): pass and store a 'Buffer const &'
1205         (buffer): new member function.
1206
1207         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1208         '*this' to the LaTeXFeatures ctor.
1209
1210 2003-09-18  Angus Leeming  <leeming@lyx.org>
1211
1212         * LColor.h:
1213         * lyxfont.C:
1214         * lyxfont.h:
1215         * lyxtext.h:
1216         * text.C: rename EnumLColor as LColor_color.
1217
1218 2003-09-18  Angus Leeming  <leeming@lyx.org>
1219
1220         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1221         remove #include "insets/insetbase.h" from cursor.h.
1222
1223 2003-09-18  Angus Leeming  <leeming@lyx.org>
1224
1225         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1226         InsetOld_code to remove #include "inset.h".
1227
1228         * iterators.C: add #include "insets/inset.h"
1229
1230 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1231
1232         * BufferView.C: remove more locking stuff that apparently doesn't
1233         do anything sensible.
1234
1235 2003-09-16  André Pönitz  <poenitz@gmx.net>
1236
1237         * paragraph.[Ch]:
1238         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1239           performance boost.
1240
1241 2003-09-16  Angus Leeming  <leeming@lyx.org>
1242
1243         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1244
1245         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1246         arg/return type.
1247
1248         * paragraph.h: remove #include "lyxfont.h". Forward declare
1249         LyXFont_size.
1250
1251 2003-09-16  Angus Leeming  <leeming@lyx.org>
1252
1253         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1254         of support/textutils.h.
1255         (isWord): move the contents of support/textutils.h's IsWordChar here.
1256
1257         * buffer.C:
1258         * lyxfind.C:
1259         * rowpainter.C:
1260         * text.C:
1261         * text2.C: add #include "paragraph.h".
1262
1263         * rowpainter.C:
1264         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1265
1266 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1267
1268         * main.C:
1269         * lyx_main.C:
1270         * lyx_cb.C:
1271         * buffer.C:
1272         * LaTeX.C: use namespace alias for lyx::support::os
1273
1274 2003-09-16  Angus Leeming  <leeming@lyx.org>
1275
1276         * bufferparams.C:
1277         * bufferview_funcs.C:
1278         * factory.C:
1279         * lyxfunc.C:
1280         * paragraph_pimpl.C:
1281         * rowpainter.C:
1282         * text.C: add #include "LColor.h".
1283
1284 2003-09-16  Angus Leeming  <leeming@lyx.org>
1285
1286         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1287         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1288         return LyXFont &.
1289         Store the FontBits::color variable as an int rather than as an
1290         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1291         file.
1292
1293         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1294         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1295         string calls together.
1296
1297         * lyxrc.C: add #include "LColor.h".
1298
1299 2003-09-15  Angus Leeming  <leeming@lyx.org>
1300
1301         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1302         a cow_ptr.
1303
1304 2003-09-15  Angus Leeming  <leeming@lyx.org>
1305
1306         * LColor.h: add an EnumLColor wrapper for LColor::color.
1307
1308         * lyxfont.[Ch] (color, setColor, realColor):
1309         * lyxtext.h, text.C (backgroundColor):
1310         pass EnumLColor args to/from the functions, rather than LColor::color
1311         ones.
1312
1313         * lyxfont.h:
1314         * lyxtext.h: forward declare EnumLColor.
1315
1316         * lyx_main.C: add #include "LColor.h".
1317
1318 2003-09-15  Angus Leeming  <leeming@lyx.org>
1319
1320         * .cvsignore: add lyx-gtk.
1321
1322 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1323
1324         * Chktex.C
1325         * LaTeX.C
1326         * LaTeXFeatures.C
1327         * ParagraphParameters.C
1328         * Spacing.C
1329         * buffer.C
1330         * bufferparams.C
1331         * bufferview_funcs.C
1332         * chset.C
1333         * counters.C
1334         * funcrequest.C
1335         * lyxfont.C
1336         * lyxgluelength.C
1337         * lyxlength.C
1338         * paragraph.C
1339         * paragraph_funcs.C
1340         * text3.C
1341         * vc-backend.C: remove usage of STRCONV
1342
1343 2003-09-15  Angus Leeming  <leeming@lyx.org>
1344
1345         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1346         explicitly define the color passed to the painter.
1347
1348 2003-09-15  Angus Leeming  <leeming@lyx.org>
1349
1350         * bufferparams.C (BufferParams): reorder member initializers to avoid
1351         compiler warning.
1352
1353 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1354
1355         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1356         * text.C (updateRowPositions): remove an unusual nop
1357
1358 2003-09-12  André Pönitz  <poenitz@gmx.net>
1359
1360         * BufferView_pimpl.C:
1361         * Bullet.C:
1362         * layout.h:
1363         * lyxfunc.C:
1364         * lyxlayout.[Ch]:
1365         * lyxtextclass.C:
1366         * rowpainter.C:
1367         * text.C:
1368         * text2.C:
1369         * Counters.[Ch]: finish the 'automatic counters' job
1370
1371 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1372
1373         * aspell.C: include <boost/assert.cpp> (compile fix)
1374
1375 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1376
1377         * boost.C (assertion_failed): use lyx::support::abort instead of
1378         assert.
1379
1380 2003-09-10  Angus Leeming  <leeming@lyx.org>
1381
1382         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1383         with their _fwd progeny.
1384
1385 2003-09-09  Angus Leeming  <leeming@lyx.org>
1386
1387         134 files throughtout the source tree: replace 'using namespace abc;'
1388         directives with the appropriate 'using abc::xyz;' declarations.
1389
1390 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1391
1392         * boost.C (emergencyCleanup): moved here from LAssert.c
1393         (assertion_failed): new function, called by BOOST_ASSERT
1394
1395         * several files: change Assert to BOOST_ASSERT
1396
1397 2003-09-09  Angus Leeming  <leeming@lyx.org>
1398
1399         * buffer.[Ch]: Add an Impl class and move Buffer's member
1400         variables into it. As a result move several header files out of
1401         buffer.h.
1402
1403         Add header files to lots of .C files all over the tree as a result.
1404
1405 2003-09-09  Angus Leeming  <leeming@lyx.org>
1406
1407         * buffer.[Ch]: make Buffer's member variables private. Add
1408         accessor functions.
1409
1410         Lots of changes all over the tree as a result.
1411
1412 2003-09-08  Angus Leeming  <leeming@lyx.org>
1413
1414         * graph.C: #include <config.h>.
1415
1416 2003-09-08  Angus Leeming  <leeming@lyx.org>
1417
1418         * BranchList.C:
1419         * BufferView.C:
1420         * BufferView_pimpl.C:
1421         * CutAndPaste.C:
1422         * DepTable.C:
1423         * LaTeX.C:
1424         * LaTeXFeatures.C:
1425         * LyXAction.C:
1426         * MenuBackend.C:
1427         * TextCache.C:
1428         * aspell.C:
1429         * buffer.C:
1430         * bufferlist.C:
1431         * changes.C:
1432         * chset.C:
1433         * converter.C:
1434         * counters.C:
1435         * debug.C:
1436         * graph.C:
1437         * ispell.C:
1438         * lyx_cb.C:
1439         * lyxfind.C:
1440         * lyxfunc.C:
1441         * lyxlex_pimpl.C:
1442         * lyxrc.C:
1443         * lyxrow.C:
1444         * paragraph.C:
1445         * rowpainter.C:
1446         * texrow.C:
1447         * text.C:
1448         * text2.C:
1449         * toc.C: remove redundant using directives.
1450
1451 2003-09-07  Angus Leeming  <leeming@lyx.org>
1452
1453         * LaTeXFeatures.h: remove #include "support/types.h".
1454         * ToolbarBackend.h: remove #include <algorithm>.
1455         * changes.h: remove #include <ctime>.
1456         * debug.h: remove #include <iosfwd>.
1457         * graph.h: remove #include "support/std_string.h".
1458         * lyx_main.h: remove #include <csignal>.
1459         * lyxlex_pimpl.h: remove #include <fstream>.
1460         * sgml.h: remove #include <algorithm>, <utility>.
1461         * toc.h: remove #include "support/std_ostream.h".
1462         Add #include <iosfwd>.
1463
1464 2003-09-07  Angus Leeming  <leeming@lyx.org>
1465
1466         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1467
1468         * converter.h: forward declare LatexRunParams.
1469         * encoding.h: remove #include "lyxrc.h".
1470         * lyxtext.h: remove #include "LColor.h".
1471         * lyxtextclass.h: remove #include "support/types.h".
1472         * trans.h: remove #include "tex-accent.h".
1473         * trans_mgr.h: remove #include "tex-accent.h".
1474         * insets/inset.h: remove #include "support/types.h", <vector>.
1475         * insets/insetcollapsable.h: remove #include "LColor.h".
1476         * insets/insetinclude.h: remove #include "dimension.h".
1477         * insets/insetlatexaccent.h: remove #include "dimension.h".
1478         * insets/insetoptarg.h:: remove #include "insettext.h".
1479         * insets/insettext.h: remove #include "dimension.h",
1480         <boost/shared_ptr.hpp>
1481
1482         * insets/renderers.h: add #include "dimension.h".
1483         * insets/updatableinset.h: add #include "support/types.h".
1484
1485         * many .C files: Associated changes.
1486
1487 2003-09-06  Angus Leeming  <leeming@lyx.org>
1488
1489         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1490         one, inside testInvariant.
1491
1492         * PrinterParams.C: new file.
1493         * PrinterParams.[Ch]: move the function bodies out of line.
1494
1495 2003-09-06  Angus Leeming  <leeming@lyx.org>
1496
1497         * ParagraphParameters.h: forward declare ParameterStruct rather than
1498         including its header file.
1499         (depth): moved out-of-line.
1500
1501 2003-09-06  Angus Leeming  <leeming@lyx.org>
1502
1503         * BufferView_pimpl.h:
1504         * kbmap.h:
1505         * kbsequence.h:
1506         * lyxfunc.h: forward declare LyXKeySym rather than
1507         #include "frontends/LyXKeySym.h".
1508
1509         * BufferView_pimpl.C:
1510         * kbmap.C:
1511         * kbsequence.C:
1512         * lyxfunc.C: associated changes.
1513
1514 2003-09-06  Angus Leeming  <leeming@lyx.org>
1515
1516         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1517         As a result, can remove the #include "insets/inset.h" from BufferView.h
1518
1519 2003-09-06  Angus Leeming  <leeming@lyx.org>
1520
1521         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1522         As a result, can remove the #include "insets/inset.h" from BufferView.h
1523
1524 2003-09-06  Angus Leeming  <leeming@lyx.org>
1525
1526         * buffer_funcs.C:
1527         * buffer.h:
1528         * bufferlist.C:
1529         * BufferView.C:
1530         * bufferview_funcs.C:
1531         * BufferView_pimpl.C:
1532         * CutAndPaste.C:
1533         * lyx_cb.C:
1534         * lyxfunc.C:
1535         * paragraph.h:
1536         * ParagraphParameters.C:
1537         * tabular.C:
1538         * text3.C:
1539         * toc.C:
1540         * undo_funcs.C:
1541         * frontends/controllers/ControlDocument.C:
1542         * insets/insetcaption.C: rearrange the #includes into some sort of
1543         coherent order.
1544
1545         * buffer.h: remove #includes ErrorList.h, undo.h
1546
1547 2003-09-06  Angus Leeming  <leeming@lyx.org>
1548
1549         * support/types.h: add a 'depth_type' typedef, used to store the
1550         nesting depth of a paragraph.
1551
1552         * paragraph.h:
1553         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1554         defining explicitly.
1555
1556         * buffer.h:
1557         * paragraph_funcs.h:
1558         * ParagraphParameters.h:
1559         * sgml.h: use lyx::depth_type rather than Paragraph or
1560         ParameterStruct's depth_type.
1561
1562         * buffer.h
1563         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1564
1565         * BufferView.C:
1566         * BufferView_pimpl.C:
1567         * CutAndPaste.C:
1568         * ParagraphParameters.C:
1569         * buffer_funcs.C:
1570         * bufferlist.C:
1571         * bufferview_funcs.C:
1572         * lyx_cb.C:
1573         * lyxfunc.C:
1574         * tabular.C:
1575         * text3.C:
1576         * toc.C:
1577         * undo_funcs.C:
1578         * frontends/LyXView.C:
1579         * frontends/controllers/ControlDocument.C:
1580         * frontends/controllers/ControlErrorList.C:
1581         * insets/insetbibitem.C:
1582         * insets/insetbranch.C:
1583         * insets/insetcaption.C:
1584         * insets/insetcollapsable.C:
1585         * insets/insetenv.C:
1586         * insets/insetert.C:
1587         * insets/insetfloat.C:
1588         * insets/insetfoot.C:
1589         * insets/insetfootlike.C:
1590         * insets/insetnewline.C:
1591         * insets/insetquotes.C:
1592         * insets/insettabular.C:
1593         * insets/insettext.C:
1594         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1595
1596         * frontends/controllers/ControlChanges.C: #include "changes.h".
1597
1598 2003-09-06  Angus Leeming  <leeming@lyx.org>
1599
1600         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1601         than #including paragraph.h.
1602
1603         * ParagraphList.h:
1604         * RowList.h: deleted. Superfluous.
1605
1606         * CutAndPaste.h:
1607         * iterators.h:
1608         * lyxcursor.h:
1609         * lyxtext.h:
1610         * text_funcs.h:
1611         * undo.h:
1612         * undo_funcs.h:
1613         * insets/inset.h:
1614         * insets/insettext.h: use ParagraphList_fwd.h rather than
1615         ParagraphList.h.
1616
1617         * paragraph.h: don't forward declare ParagraphList.
1618
1619         * buffer.h:
1620         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1621         rather than ParagraphList.h. paragraph.h is still needed for the
1622         Paragraph::depth_type parameters.
1623
1624         * textcursor.h: enable it to compile stand-alone in light of the
1625         above changes.
1626
1627         * bufferview_funcs.C:
1628         * iterators.C:
1629         * lyxfunc.C:
1630         * lyxrow_funcs.C:
1631         * paragraph.C:
1632         * rowpainter.C:
1633         * text.C:
1634         * text2.C:
1635         * text3.C:
1636         * text_funcs.C:
1637         * textcursor.C:
1638         * undo.C:
1639         * frontends/controllers/ControlParagraph.C:
1640         * frontends/controllers/ControlTabular.C:
1641         * insets/insetmarginal.C:
1642         * insets/insetminipage.C:
1643         * insets/insetnote.C:
1644         * insets/insetoptarg.C: add header files needed to compile again.
1645
1646 2003-09-06  Angus Leeming  <leeming@lyx.org>
1647
1648         * RowList_fwd.h: new file, forward-declaring Row rather than
1649         #including lyxrow.h.
1650
1651         * lyxrow_funcs.h:
1652         * lyxtext.h:
1653         * paragraph.h:
1654         * insets/insettext.h: use it instead of RowList.h
1655
1656         * bufferview_funcs.C:
1657         * lyxfunc.C:
1658         * lyxrow_funcs.C:
1659         * paragraph.C:
1660         * rowpainter.C:
1661         * text.C:
1662         * text2.C:
1663         * text3.C: #include "RowList.h".
1664
1665 2003-09-05  Angus Leeming  <leeming@lyx.org>
1666
1667         * factory.C (createInset):
1668         * vspace.C (c-tor): replace sscanf call with an istringstream.
1669         * ispell.C: re-add missing HP/UX headers.
1670         * lyxserver.C: re-add missing  os2 headers.
1671
1672 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1673
1674         * BranchList.C:
1675         * graph.C:
1676         * ispell.C:
1677         * lastfiles.C:
1678         * lyx_cb.C:
1679         * lyxserver.C:
1680         * texrow.C:
1681         * text3.C: re-add missing system headers, needed for 2.95.2.
1682
1683 2003-09-05  Angus Leeming  <leeming@lyx.org>
1684
1685         Changes most place everywhere due to the removal of using directives
1686         from support/std_sstream.h.
1687
1688 2003-09-05  Angus Leeming  <leeming@lyx.org>
1689
1690         Replace LString.h with support/std_string.h,
1691         Lsstream.h with support/std_sstream.h,
1692         support/LIstream.h with support/std_istream.h,
1693         support/LOstream.h with support/std_ostream.h.
1694
1695         Changes resulting throughout the tree.
1696
1697 2003-09-05  Angus Leeming  <leeming@lyx.org>
1698
1699         * sgml.h: ensure that the header file can be compiled stand-alone.
1700         * *.C: strip out redundant #includes. (320 in total.)
1701
1702 2003-09-04  Angus Leeming  <leeming@lyx.org>
1703
1704         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1705         here (from getPackages).
1706
1707         * debug.[Ch]: add a new EXTERNAL tag.
1708
1709 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1710
1711         * text2.C (cursorEnd): simplify
1712         (setCursor): adjust
1713         (getColumnNearX): adjust
1714
1715         * text.C (computeBidiTables): adjust
1716         (fill): adjust
1717
1718         * rowpainter.C (paintChars): adjust
1719         (paintSelection): adjust
1720         (paintChangeBar): adjust
1721         (paintText): adjust
1722
1723         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1724         lastPos instead.
1725         (numberOfSeparators): adjust
1726
1727 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1728
1729         * LyXAction.C:
1730         * box.[Ch]:
1731         * lfuns.h:
1732         * lyxfunc.C:
1733         * text3.C: Restricts the mouse click functionality
1734         of insets like bibtex, include, toc and floatlist to the visible
1735         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1736         up the dialogs. Cursor has to be in front of the inset (i.e.
1737         start of row) for this to function.
1738
1739 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1740
1741         * bufferview_funcs.C (currentState): output row information
1742
1743 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1744
1745         * bufferview_funcs.C (currentState): output paragraph position
1746
1747 2003-09-04  Angus Leeming  <leeming@lyx.org>
1748
1749         * FloatList.h: move out #include "Floating.h".
1750         * LaTeX.h: move out #include "DepTable.h".
1751         * LyXAction.h: move out #include "funcrequest.h".
1752         * buffer.h: move out #include "author.h", "iterators.h".
1753         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1754         * lyx_main.h: move out #include "errorlist.h".
1755         * lyxfunc.h: move out #include "FuncStatus.h".
1756         * lyxtext: move out #include "lyxcursor.h".
1757         * paragraph_pimpl.h: move out #include "counters.h".
1758
1759 2003-09-03  Angus Leeming  <leeming@lyx.org>
1760
1761         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1762         preamble_snippets list, enabling us to add snippets to the preamble
1763         only if the snippet was not there already.
1764
1765 2003-09-04  Angus Leeming  <leeming@lyx.org>
1766
1767         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1768
1769 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1770
1771         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1772         update
1773
1774 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1775
1776         * BranchList.C: point fix, earlier forgotten
1777
1778 2003-09-02  Angus Leeming  <leeming@lyx.org>
1779
1780         * box.C (contains): renamed from 'contained' after a fantastic
1781         amount of hot air.
1782
1783 2003-09-02  John Levon  <levon@movementarian.org>
1784
1785         * BufferView.C:
1786         * lyxcursor.h:
1787         * lyxcursor.C:
1788         * lyxfunc.C:
1789         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1790
1791 2003-09-02  John Levon  <levon@movementarian.org>
1792
1793         * text2.C: simplification of cursorEnd(), including partial
1794         fix for bug 1376
1795
1796 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1797
1798         * buffer.C (readFile): add a space
1799
1800 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1801
1802         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1803
1804 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1805
1806         * buffer.C (readFile): new function, take a filename and a
1807         ParagraphList::iterator
1808         (readFile): adjust
1809         (readFile): adjust, make it private. don't use setStream, make
1810         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1811         always contain the filename.
1812
1813         * BufferView.C (insertLyXFile): simplify and make it work for
1814         gzipped files.
1815
1816 2003-08-30  John Levon  <levon@movementarian.org>
1817
1818         * Makefile.am: fix dist (from Kayvan)
1819
1820 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1821
1822         * most files: change to use const Buffer refs
1823
1824 2003-08-27  André Pönitz  <poenitz@gmx.net>
1825
1826         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1827         on top of ownerPar().
1828
1829 2003-08-27  John Levon  <levon@movementarian.org>
1830
1831         * funcrequest.C: properly initialise POD members
1832
1833 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1834
1835         * lyxtext.h (top_y): move top_y from here
1836         * text.C:
1837         * text2.C:
1838         * text3.C:
1839         * BufferView.[Ch]:
1840         * BufferView_pimpl.[Ch]: to here
1841         * frontends/screen.C:
1842         * insets/insettabular.C:
1843         * insets/insettext.C: adjust
1844         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1845
1846 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1847
1848         * BufferView.[Ch]:
1849         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1850
1851 2003-08-26  André Pönitz  <poenitz@gmx.net>
1852
1853         * paragraph_func.[Ch] (outerPar): new function
1854
1855         * paragraph.C:
1856         * paragraph_funcs.C:
1857         * paragraph_funcs.h:
1858         * paragraph_pimpl.C:
1859         * text2.C: remove Inset::par_owner
1860
1861 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1862
1863         * lyxrow_funcs.C:
1864         * lyxtext.h:
1865         * text.C:
1866         * text2.C: eliminates the needFullRow/display() stuff
1867         altogether, putting the logic in metrics/draw in the insets.
1868
1869 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1870
1871         * text2.C (redoParagraphInternal, redoParagraphs):
1872         * text.C (redoParagraph): add a call to updateRowPositions at the
1873         end of each 'metrics-like' call. Remove all others.
1874         (getRow): remove the 'y-computing' version.
1875         (getRowNearY): do not compute nor return the real y. Solve the
1876         'y < 0' problem and simplify.
1877
1878 2003-08-22  Angus Leeming  <leeming@lyx.org>
1879
1880         * *.[Ch]: clean-up of licence and author blurbs.
1881         Also move config.h out of a few .h files and into a few .C files.
1882
1883 2003-08-22  André Pönitz  <poenitz@gmx.net>
1884
1885         * lyxrow.[Ch]: add x_ and *fill_ members
1886
1887         * lyxtext.h:
1888         * text.C:
1889         * rowpainter.C:
1890         * text2.C: adjust/remove prepareToPrint() calls
1891
1892 2003-08-22  André Pönitz  <poenitz@gmx.net>
1893
1894         * lyxrow.[Ch]: add  end_ member
1895
1896         * lyxrow_funcs.C: use LyXRow::end_
1897
1898         * lyxtext.h (singleWidth): add LyXFont parameter
1899
1900         * rowpainter.C:
1901         * text2.C: adjust LyXText::singleWidth() calls
1902
1903         * text.C (redoParagraph): simplify row breaking logic
1904
1905
1906 2003-08-19  André Pönitz  <poenitz@gmx.net>
1907
1908         * funcrequest.C: initialize button_ member
1909
1910         * text3.C:
1911         * rowpainter.[Ch]: interface consolidation
1912
1913 2003-08-18  André Pönitz  <poenitz@gmx.net>
1914
1915         * BufferView.C:
1916         * BufferView_pimpl.C:
1917         * lyxfind.C:
1918         * paragraph_funcs.C:
1919         * rowpainter.C:
1920         * text3.C: remove LyXScreen::draw() and fitCursor calls
1921
1922         * BranchList.h: remove spurious semicolons
1923
1924         * MenuBackend.C: fix branchlist related crash
1925
1926 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1927
1928         * BranchList.[Ch]:
1929         * InsetList.[Ch]:
1930         * LColor.[Ch]:
1931         * LyXAction.C:
1932         * Makefile.am:
1933         * MenuBackend.[Ch]:
1934         * bufferparams.[Ch]:
1935         * factory.C:
1936         * lfuns.h:
1937         * lyxfunc.C:
1938         * text3.C: implements the 'branch inset'
1939         idea. This allows the output of various versions of a document
1940         from a single source version, selectively outputing or suppressing
1941         output of parts of the text.
1942         This implementation contains a 'branch list editor' in a separate
1943         tab of the document settings dialog. Branches are user definable
1944         and have a "display colour" to distinguish them on-screen.
1945
1946         ColorHandler was somewhat cleaned up.
1947         (1) make possible a dynamically growing LColor list by allowing
1948         the graphic context cache to grow along (vector);
1949         (2) eliminate an IMHO unnecessary step in colour allocation.
1950
1951 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1952
1953         * BufferView_pimpl.C: compile fix
1954
1955 2003-08-15  André Pönitz  <poenitz@gmx.net>
1956
1957         * rowpainter.C: remove extra metrics calls
1958
1959         * lyxtext.h: merge the two constructors into a single one,
1960           pass reference to owner's par list
1961
1962         * BufferView_pimpl.C:
1963         * text.C:
1964         * text2.C: adjust
1965
1966 2003-08-15  André Pönitz  <poenitz@gmx.net>
1967
1968         * lyxrow_funcs.[Ch]:
1969         * lyxtext.h:
1970         * paragraph.h:
1971         * paragraph_funcs.C:
1972         * rowpainter.C:
1973         * text.C:
1974         * text2.C:
1975         * text3.C:
1976         * text_funcs.C: split LyXText::rowlist_ into individual
1977         Paragraph::rows_ chunks
1978
1979         * BufferView.[Ch]:
1980         * BufferView_pimpl.[Ch]:
1981         * lyxfind.C:
1982         * lyxtext.h:
1983         * text3.C: remove toggleSelection()
1984
1985 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1986
1987         * bufferlist.C: beautify two alerts (shorter text of buttons)
1988         * buffer.C: Remove redundant ' ' from message
1989         * tabular.h:
1990         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1991         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1992         rename VALIGN_CENTER to VALIGN_MIDDLE
1993
1994 2003-08-11  André Pönitz  <poenitz@gmx.net>
1995
1996         * lyxtext.h (getPar):
1997         * text.C: new function
1998
1999 2003-08-11  André Pönitz  <poenitz@gmx.net>
2000
2001         * Makefile.am:
2002         * tracer.[Ch]: remove unneeded files
2003
2004         * InsetList.[Ch]: remove resizeInsetsLyXText()
2005
2006         * lyxtext.h:
2007         * text.C:
2008         * text2.C:
2009         * text3.C: merge insertParagraphs() and appendParagraph()
2010         remove breakAgain(), update()
2011
2012         * BufferView_pimpl.[Ch]:
2013         * bufferview_funcs.[Ch]:
2014         * lyxfunc.C:
2015         * paragraph.[Ch]:
2016         * rowpainter.C:
2017         * tabular.C: adjust after text & InsetList changes.
2018
2019 2003-08-08  André Pönitz  <poenitz@gmx.net>
2020
2021         * text.C (insertChar, backspace): replace rowlist fiddling
2022         with rebreak of full par
2023
2024         * lyxtext.h:
2025         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2026         checkParagraph, updateInset): removed
2027
2028 2003-08-07  André Pönitz  <poenitz@gmx.net>
2029
2030         * paragraph.C:
2031         * text3.C: merge some LFUN handlers, remove dead code
2032
2033 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2034
2035         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2036
2037 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2038
2039         * text2.C (DEPM): fix part of bug 1255 and 1256
2040
2041 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2042
2043         * BufferView_pimpl.C (workAreaDispatch): change to use
2044         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2045         that are no mouse related.
2046
2047 2003-08-05  André Pönitz  <poenitz@gmx.net>
2048
2049         * BufferView.[Ch]:
2050         * BufferView_pimpl.[Ch]:
2051         * bufferview_funcs.C:
2052         * text2.C:
2053         * text3.C: rip out "deep update"
2054
2055         * textcursor.[Ch] (last_sel_cursor): remove unused member
2056
2057 2003-08-04  André Pönitz  <poenitz@gmx.net>
2058
2059         * BufferView.[Ch]:
2060         * BufferView_pimpl.[Ch]:
2061         * ParagraphParameters.C:
2062         * bufferview_funcs.C:
2063         * lyx_cb.C:
2064         * lyxfind.C:
2065         * lyxfunc.C:
2066         * text.C:
2067         * text2.C:
2068         * text3.C: replace "complicated" BufferView::update(...) calls with
2069         simpler ones.
2070
2071         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2072
2073 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2074
2075         * Makefile.am (lyx_SOURCES): add paper.h
2076
2077 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2078
2079         * Makefile.am: move things around so that both lyx-qt and
2080         lyx-xforms can be built (according to --with-frontend). Then lyx
2081         is a symbolic link to lyx-[firstfrontend]
2082
2083 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2084
2085         * Always use std::endl with lyxerr
2086
2087 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2088
2089         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2090
2091 2003-08-01  André Pönitz  <poenitz@gmx.net>
2092
2093         * BufferView.[Ch]:
2094         * BufferView_pimpl.[Ch]:
2095         * lyxfunc.C:
2096         * text3.C: merge BufferView::repaint() and BufferView::update()
2097
2098 2003-08-01  José Matos  <jamatos@lyx.org>
2099
2100         * buffer.[Ch]: file_format is no longer a buffer data element.
2101
2102 2003-08-01  André Pönitz  <poenitz@gmx.net>
2103
2104         * BufferView.C:
2105         * lyxtext.h:
2106         * text.C:
2107         * text2.C: make redoParagraph more independent of current cursor
2108
2109         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2110         * text.C:
2111         * text2.C: remove unneeded members
2112
2113 2003-07-30  André Pönitz  <poenitz@gmx.net>
2114
2115         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2116
2117         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2118           create a single function...
2119
2120         * paragraph_funcs.C (moveItem): ... here.
2121
2122         * text.C:
2123           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2124
2125 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2126
2127         * LColor.[Ch]: Add comment and greyedout logical colors.
2128
2129 2003-07-30  André Pönitz  <poenitz@gmx.net>
2130
2131         * tabular.C: don't use Assert too heavily. This crashes where it
2132           shouldn't
2133
2134 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2135
2136         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2137         is disabled (bug 1232)
2138
2139 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2140
2141         * factory.C: limited 'arg' scope
2142
2143 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2144
2145         * factory.C: fixed Note submenu issues
2146
2147 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2148
2149         * factory.C: submenu for Note/Comment/Greyedout
2150
2151 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2152
2153         * lyx_main.C (LyX):
2154         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2155
2156 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2157
2158         * LaTeXFeatures.C:
2159         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2160         greyedout. Patch provided by Jürgen Spitzmüller.
2161
2162 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2163
2164         * kbmap.C (read): fix error message when reading bind files
2165
2166 2003-07-29  Angus Leeming  <leeming@lyx.org>
2167
2168         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2169         certainly does not do what it purports to do. I am doing it, and
2170         us, a favour by killing it.
2171
2172 2003-07-28  José Matos  <jamatos@lyx.org>
2173
2174         * buffer.C (readBody, do_writeFile):
2175         * paragraph.C(readParagraph): \end_document replaces \the_end.
2176
2177 2003-07-29  André Pönitz  <poenitz@gmx.net>
2178
2179         * BufferView.[Ch]:
2180         * BufferView_pimpl.[Ch]:
2181         * lyxfunc.C:
2182         * text2.C:
2183         * text3.C:
2184         * textcursor.[Ch]: remove toggleToggle & Co
2185
2186 2003-07-28  José Matos  <jamatos@fep.up.pt>
2187
2188         * buffer.C (readParagraph):
2189         * params_func (readParToken, readParagraph):
2190         * paragraph.C (write): \layout -> \begin_layout.
2191
2192 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2193
2194         * lyxlex_pimpl.C (setFile): clean up slightly.
2195
2196         * bufferparams.h: add compressed var
2197
2198         * buffer_funcs.C (readFile): adjust for LyXLex change
2199         (newFile): ditto + simplify
2200
2201         * buffer.C (writeFile): handle writing of compressed files
2202
2203         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2204         Check if the file is compressed and set a bufferparm if so.
2205
2206         * Makefile.am (lyx_LDADD): remove explicit -lz
2207
2208 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2209
2210         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2211         makeDocBookFile): put the real LyX version in the first line of
2212         the file
2213
2214         * version.h:
2215         * version.C.in: remove lyx_docversion
2216
2217         * tabular.C (write_attribute): add a template-based version to
2218         write enums properly
2219
2220 2003-07-28  André Pönitz  <poenitz@gmx.net>
2221
2222         * lyxtext.h:
2223         * text.C:
2224         * text2.C:
2225         * text3.C: use doubles again for x-coordinates. They are needed.
2226
2227 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2228
2229         * messages.C (getLocaleDir): use lyx_localedir()
2230
2231         * lyxlex_pimpl.C (setFile): compress stuff
2232
2233         * buffer.C (writeFile): add some compression stuff
2234         (do_writeFile): new func, dont call expliti close... will this
2235         breake anything?
2236
2237         * Makefile.am (lyx_LDADD): add -lz
2238
2239 2003-07-28  José Matos  <jamatos@fep.up.pt>
2240
2241         * buffer.C: increment file format.
2242         * paragraph_funcs (readParagraph, readParToken):
2243         * paragraph.C (readParagraph): add \end_layout.
2244
2245 2003-07-27  Angus Leeming  <leeming@lyx.org>
2246
2247         * Makefile.am: remove special casing for configure-time setting of
2248         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2249
2250         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2251         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2252
2253 2003-07-26  André Pönitz  <poenitz@gmx.net>
2254
2255         * paragraph_func.[Ch]:
2256         * paragraph.C (realizeFont): inline it whereever it is used
2257
2258         * rowpainter.C:
2259         * text.C:
2260         * text2.C:
2261         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2262
2263
2264 2003-07-26  André Pönitz  <poenitz@gmx.net>
2265
2266         *       lyxtext.h:
2267         * text.C:
2268         * text2.C: get rid of LyXText::need_break_row
2269
2270 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2271
2272         * toc.[Ch]: put namespace toc inside namespace lyx
2273
2274         * MenuBackend.C (expandToc2): adjust for lyx::toc
2275         (expandToc): ditto
2276
2277         * lyxfunc.C (dispatch): adjust for lyx::find
2278
2279         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2280         lyx::find instead. Reorganize a bit.
2281         (LyXReplace): rename to replace
2282         (LyXFind): rename to find
2283
2284         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2285         (dispatch): ditto
2286
2287 2003-07-26  André Pönitz  <poenitz@gmx.net>
2288
2289         * text.C (setHeightOfRow): restrict scope of temporary variable
2290
2291         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2292           code (never has been used?)
2293
2294 2003-07-27  Asger Alstrup  <alstrup@local>
2295
2296         * text.C (fill): Optimise algorithm to exploit that we can reuse
2297         the LyXFont for many characters.
2298         (setHeightOfRow): Same thing.
2299         (rowBreakPoint): Same thing.
2300
2301 2003-07-26  Asger Alstrup  <alstrup@local>
2302
2303         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2304
2305         * text.C (singleWidth): Spurious font copying in hot-spot
2306         singleWidth avoided. Reorder tests for arabic for efficiency.
2307
2308         * text.C (fill): handle empty paragraphs better.
2309
2310 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2311
2312         * ispell.C:
2313         * encoding.h: add includes
2314
2315         * lyxrc.C: remove reading of bind files
2316
2317         * lyx_main.C (init): setup bindings and menus only if we have a
2318         gui.
2319
2320         * kbmap.C (read): new method. Do the actual reading of bind
2321         files.
2322
2323         * converter.C (dvipdfm_options):
2324         * bufferparams.C:
2325         * lyxrc.C (read):
2326         (output): adapt PAPER_* enums.
2327
2328         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2329
2330         * bufferparams.h: remove paper-related enums from there
2331
2332         * paper.h: New file. A trivial header file to hold paper-related
2333         enums. It should later expand to contain many paper-related
2334         horrors access.
2335
2336         * lyxrc.C: declare extern displayTranslator
2337
2338 2003-07-27  José Matos  <jamatos@fep.up.pt>
2339
2340         * tabular.[Ch] (linuxdoc): add support for tables and figures
2341         (linuxdoc).
2342
2343 2003-07-27  José Matos  <jamatos@fep.up.pt>
2344
2345         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2346         consistency in both functions.
2347         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2348
2349 2003-07-26  Asger Alstrup  <alstrup@local>
2350
2351         * rowpainter.C (paintRows): Change algorithm to work directly on
2352         the insets rather than asking every character in the document
2353         whether its an inset.
2354
2355 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2356
2357         * buffer.C (openFileWrite): factorize some code
2358
2359 2003-07-26  Angus Leeming  <leeming@lyx.org>
2360
2361         * lyx_cb.C:
2362         * lyx_main.[Ch]: replace occurances of system_tempdir with
2363         os::getTmpDir().
2364
2365 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2366
2367         * rename Inset to InsetOld
2368
2369 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2370
2371         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2372         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2373         which I think is a bit clearer. EDIT is gone, since it was
2374         premature optimisation, and broken for mathed anyway.
2375         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2376         with cursor positioning in insets as well (math insets still do not
2377         work, but that's a different story anyway.) It mysteriously
2378         crashes sometimes with undo in the first paragraph, but I'm fairly
2379         confident that this is a compiler bug.
2380
2381 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2382
2383         * paragraph.C (Paragraph): adjust for new clone return type
2384         (operator==): ditto
2385         (copyIntoMinibuffer): ditto
2386
2387 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2388
2389         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2390         by not having a special case, and always doing a full rebreak of
2391         the document after undo.
2392
2393 2003-07-23  Angus Leeming  <leeming@lyx.org>
2394
2395         * factory.C (createInset): InsetExternal::setParams now takes a
2396         Buffer const * arg.
2397
2398 2003-07-23  Angus Leeming  <leeming@lyx.org>
2399
2400         * factory.C (createInset): changed interface to the external and
2401         graphics mailers' string2params functions.
2402
2403 2003-07-23  Angus Leeming  <leeming@lyx.org>
2404
2405         * factory.C (createInset): pass a
2406         Buffer const * parameter to InsetExternalMailer's string2params.
2407
2408 2003-07-22  John Levon  <levon@movementarian.org>
2409
2410         * Thesaurus.h: include the right aiksaurus header
2411
2412 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2413
2414         * MenuBackend.C (expand): check menu shortcuts unconditionally
2415
2416 2003-07-21  Angus Leeming  <leeming@lyx.org>
2417
2418         * factory.C (createInset): pass a
2419         buffer_path parameter to InsetGraphicsMailer's string2params.
2420
2421 2003-07-21  Angus Leeming  <leeming@lyx.org>
2422
2423         * BufferView_pimpl.C (buffer):
2424         * buffer.C (d-tor):
2425         * lyx_main.C (LyX):
2426         * lyxfunc.C (dispatch):
2427         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2428         rather than the grfx shortcut.
2429
2430 2003-07-21  André Pönitz  <poenitz@gmx.net>
2431
2432         * rowpainter.C: remove unused variables
2433
2434         * tabular_funcs.C:
2435         * tabular_funcs.h: move to tabular.C
2436         * Makefile.am: adjust
2437
2438         * tabular.[Ch]: basic optical cleaning
2439
2440         * author.h: pass references, not values
2441
2442 2003-07-18  André Pönitz  <poenitz@gmx.net>
2443
2444         * lyxtext.h:
2445         * metricsinfo.C:
2446         * metricsinfo.h:
2447         * rowpainter.C:
2448         * text.C:
2449         * text2.C:
2450         * text3.C: two-phase drawing for InsetText and InsetTabular
2451         some float -> int changes.
2452
2453 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2454
2455         * lyx_main.C: fix the fix
2456
2457 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2458
2459         * lyx_main.C: fix a crash in batch mode if no files specified
2460         * converter.C: ws
2461
2462 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2463
2464         * format.[Ch] (papersize): moved to BufferParams
2465         * converter.[Ch] (dvips_options): moved to BufferParams
2466         (dvipdfm_options): moved to anon namespace
2467         * bufferparams.[Ch]: added above functions.
2468
2469 2003-07-17  André Pönitz  <poenitz@gmx.net>
2470
2471         * lyxtext.h:
2472         * rowpainter.C:
2473         * text2.C: don't call inset->update() anymore
2474
2475         * metricsinfo.[Ch]: add convenience constructor
2476
2477 2003-07-16  André Pönitz  <poenitz@gmx.net>
2478
2479         * lyxcursor.[Ch]:
2480         * lyxfunc.[Ch]:
2481         * text.C:
2482         * text2.C: replace the LyXCursor::irow_ member with
2483          on-demand computation of the value
2484
2485 2003-07-16  John Levon  <levon@movementarian.org>
2486
2487         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2488
2489 2003-07-15  André Pönitz  <poenitz@gmx.net>
2490
2491         * text.C:
2492         * text2.C: remove no more needed refresh_row
2493
2494 2003-07-15  André Pönitz  <poenitz@gmx.net>
2495
2496         * lyxtext.h:
2497         * rowpainter.C:
2498         * text2.C:
2499         * text3.C: refresh_status tristate -> need_update bool
2500
2501 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2502
2503         * lyxtext.h (init): remove reinit argument (act as if always true)
2504         * text2.C: adjust to that
2505
2506 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2507
2508         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2509         * text3.C: use it to delete selections in some cases
2510         (bugs 441, 673, 702, 954).
2511
2512 2003-07-14  André Pönitz  <poenitz@gmx.net>
2513
2514         * rowpainter.[Ch]: reduce interface
2515
2516 2003-07-14  André Pönitz  <poenitz@gmx.net>
2517
2518         * BufferView_pimpl.C:
2519         * text2.C: adjust after removing unused BufferView * argument
2520
2521 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2522
2523         * text2.C (init): fix a crash fired on resize
2524
2525 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2526
2527         * buffer.[Ch]: added new closing signal
2528         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2529         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2530         BufferView::Pimpl via the closing the signal
2531
2532 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2533
2534         * buffer.[Ch]: take out all bv-related from buffer
2535         * BufferView.C:
2536         * BufferView_pimpl.[Ch]: connect to new signals
2537         * CutAndPaste.C: removed useless asserts
2538         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2539         * lyxvc.[Ch]:
2540         * vc-backend.[Ch]:
2541         * lyxfunc.C: moved view-related funciontality from vc here
2542         * paragraph.C: removed outdated comments
2543         * text.C: ws
2544
2545 2003-07-10  André Pönitz  <poenitz@gmx.net>
2546
2547         * BufferView_pimpl.C:
2548         * tabular.h:
2549         * tabular_funcs.C:
2550         * text.C:
2551         * text2.C: remove InsetText::InnerCache, clean up consequences
2552
2553 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2554
2555         * ispell.C: fix two typos in error messages
2556
2557 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2558
2559         * Extend Note inset to other forms of annotation like Comment
2560         and Greyedout. Right button click gives dialog.
2561
2562         Files modified or added (+):
2563
2564         * insetnote.[Ch]
2565         * FormNote.[Ch]      +
2566         * ControlNote.[Ch]   +
2567         * form_note.fd       +
2568         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2569         frontends/controllers
2570         * xforms/Dialogs.C
2571         * factory.C
2572
2573 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2574
2575         * aspell.C: add missing namespace lyx::support
2576
2577 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2578
2579         * BufferView.[Ch] (newFile): Add
2580         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2581         * LaTeX.[Ch] (message): added this signal and use it
2582         * buffer.[Ch] (busy, message): added these signals and use them
2583         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2584         * converter.C:
2585         * exporter.C:
2586         * format.C:
2587         * importer.C: use buffer signals instead of direct bv calling
2588         * lyx_cb.[Ch] (ShowMessage): removed
2589         * lyx_main.C:
2590         * lyxfunc.C:
2591         * paragraph_funcs.C:
2592         * text2.C: use buffer signals
2593
2594 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2595
2596         * introduce namespace lyx::graphics
2597
2598 2003-07-02  André Pönitz  <poenitz@gmx.net>
2599
2600         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2601
2602 2003-07-01  André Pönitz  <poenitz@gmx.net>
2603
2604         * text.C:
2605         * text2.C:
2606         * text3.C:
2607         * text_funcs.[Ch]:
2608         * textcursor.h:
2609         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2610           text*.C to text_func.C
2611
2612 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2613
2614         * introduce namespace lyx::support
2615
2616 2003-06-30  André Pönitz  <poenitz@gmx.net>
2617
2618         * Chktex.C:
2619         * funcrequest.C:
2620         * lyxtext.h:
2621         * text.C: re-enable --with-included-string
2622
2623 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2624
2625         * textcursor.C: add <config.h>
2626
2627         * text.C (getWord): remove const from word_location arg
2628
2629         * lyxvc.C (getLogFile): fix const type order
2630
2631         * lyxtext.h: remove const from word_location arg, add arg name
2632
2633         * lyxlayout.h: currect type on labeltype.
2634
2635         * importer.C: correct \file
2636
2637         * converter.C (intToFormat): use std:: on ret val, ws changes
2638
2639         * bufferlist.h: correct \file
2640
2641         * buffer.C (makeLinuxDocFile): fix const type order
2642         (makeDocBookFile): ditto
2643         (fillWithBibKeys): use std:: on stdlib args.
2644
2645         * CutAndPaste.C: fix authors.
2646         (availableSelections): use std:: on return vector
2647
2648 2003-06-27  André Pönitz  <poenitz@gmx.net>
2649
2650         * BufferView_pimpl.C:
2651         * bufferview_funcs.C:
2652         * lyxcursor.C:
2653         * lyxcursor.h:
2654         * lyxfunc.C:
2655         * lyxtext.h:
2656         * rowpainter.C:
2657         * text.C:
2658         * text2.C:
2659         * text3.C: remove LyXCursor::row_ member
2660
2661         * lyxtext.h:
2662         * text.C: rename fullRebreak() to partialRebreak() and implement
2663           a fullRebreak() that really bereks fully
2664
2665         * textcursor.h: new struct for cursor-related data
2666
2667 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2668
2669         * lyx_main.C (LyX): get full path of document loaded on the
2670         command line
2671
2672 2003-06-26  André Pönitz  <poenitz@gmx.net>
2673
2674         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2675           remove unused/broken operator>,<,>=.
2676
2677         *       text.C: remove only use of broken operator<= in an Assert().
2678
2679 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2680
2681         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2682         moved errorlist_.clear to showErrorList
2683
2684 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2685
2686         * converter.C (scanLog, runLaTeX):
2687         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2688         move the bv->showErrorList call to the callers
2689         * lyxfunc.C: i.e. here...
2690         * text2.C: and here
2691         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2692         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2693         namespace, the second to...
2694         * buffer_funcs (BufferFormat, parseErrors): added
2695         * errorlist.C (ErrorList(TeXErrors const &)): removed
2696
2697 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2698
2699         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2700
2701 2003-06-24  "Garst R. Reese" <reese@isn.net>
2702
2703         * debug.C: fix typo
2704
2705 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2706
2707         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2708
2709         * version.C.in: change docversion to 1.4
2710
2711 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2712
2713         * buffer.C: fix a bug just introduced
2714
2715 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2716
2717         * buffer.[Ch]: added the parseError signal and use it, removed
2718         sgmlError
2719         * BufferView.[Ch] (addError): moved to ...
2720         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2721         to the Buffer::parseError signal to catch (guess what) parse errors
2722         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2723
2724 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2725
2726         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2727         ability to create a buffer and to return an existing one from
2728         the list. Moved these functions to...
2729         * buffer_funcs.[Ch]: added
2730         * BufferView.[Ch] (loadLyXFile): added
2731         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2732         job removed from bufferlist::loadLyXFile.
2733         * buffer.C (setReadOnly): make it work without view
2734         (i.e added an if (users))
2735
2736 2003-06-19  Angus Leeming  <leeming@lyx.org>
2737
2738         * lfuns.h:
2739         * LyXAction.C (init):
2740         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2741         with LFUN_DIALOG_SHOW <name> <data>.
2742
2743 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2744
2745         * CutAndPaste.C (availableSelections): small compilation fix for
2746         ancient (gcc 2.9x) compilers
2747
2748 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2749
2750         * text3.C (cursorNext): add tmp var
2751
2752         * text2.C (updateCounters): for function calling out of for clause
2753         (replaceSelectionWithString): ditto
2754         (insertStringAsParagraphs): ditto
2755         (getColumnNearX): add tmp var
2756         (setCursorFromCoordinates): add tmp var
2757         (cursorDownParagraph): add tmp var
2758         (deleteEmptyParagraphMechanism): add tmp var
2759
2760         * text.C (insertChar): add tmp var
2761
2762         * rowpainter.C (paintDepthBar): add tmp var
2763
2764         * CutAndPaste.C (availableSelections): potentially check all
2765         paragraphs in a cut to fill the shown strings.
2766
2767 2003-06-18  André Pönitz  <poenitz@gmx.net>
2768
2769         * kbmap.[Ch]: use vector<> instead of list<>
2770
2771 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2772
2773         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2774         pasteSelection with index
2775
2776         * text2.C (pasteSelection): modify, call pasteSelection with index
2777
2778         * paragraph.C (asString): reimplement version with no interval to
2779         call the one with interval.
2780
2781         * lyxtext.h: add index arg to pasteSelection
2782
2783         * MenuBackend.C (MenuItem): handle PasteRecent
2784         (Menu::read::Menutags): add md_pasterecent
2785         (read): handle it
2786         (expandPasteRecent): new function
2787         (expand): use it
2788
2789         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2790
2791         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2792         the limited stack
2793         (availableSelections): new function
2794
2795 2003-06-17  Angus Leeming  <leeming@lyx.org>
2796
2797         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2798
2799 2003-06-17  Angus Leeming  <leeming@lyx.org>
2800
2801         * lfuns.h:
2802         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2803
2804         * lyxfunc.C (dispatch): invoke it.
2805
2806 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2807
2808         * iterators.C (operator++, ParPosition): reintroduce some
2809         const_cast for the benefit of older compilers.
2810
2811 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2812
2813         * text3.C (dispatch): do not modify clipboard when doing
2814         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2815         LFUN_DELETE_SKIP on a selection selection
2816
2817 2003-06-16  André Pönitz  <poenitz@gmx.net>
2818
2819         * BufferView.C:
2820         * buffer.C:
2821         * buffer.h:
2822         * paragraph.C:
2823         * tabular.[Ch]: IU of clone() and getLabelList();
2824
2825 2003-06-13  André Pönitz  <poenitz@gmx.net>
2826
2827         * tabular.h: compactification
2828
2829 2003-06-12  André Pönitz  <poenitz@gmx.net>
2830
2831         * tabular.C:
2832         * tabular.h:
2833         * tabular_funcs.h: some renaming plus whitespace
2834
2835 2003-06-12  André Pönitz  <poenitz@gmx.net>
2836
2837         * BufferView.C:
2838         * BufferView_pimpl.C:
2839         * CutAndPaste.C:
2840         * buffer.C:
2841         * iterators.[Ch]:
2842         * lyxfunc.C:
2843         * text.C:
2844         * toc.C: Return a Paragraph & for ParIterator::operator*()
2845
2846 2003-06-11  John Levon  <levon@movementarian.org>
2847
2848         * lyx_main.C:
2849         * ToolbarBackend.h:
2850         * ToolbarBackend.C: add "Toolbars" section and
2851         put the flags there
2852
2853 2003-06-10  Angus Leeming  <leeming@lyx.org>
2854
2855         * lfuns.h:
2856         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2857
2858         * lyxfunc.C (dispatch): invoke it.
2859
2860 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2861
2862         * main.C: protect <ios> with HAVE_IOS
2863         (main): protect sync_with_stdio with HAVE_IOS
2864
2865 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2866
2867         * text2.C (cutSelection): adjust
2868         (pasteSelection): adjust
2869
2870         * messages.C: handle get of empty string
2871
2872         * main.C (main): use sync_with_stdio(false)
2873
2874         * lyxfunc.C (dispatch): adjust
2875
2876         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2877         (WriteAs): remove unneeded BufferView arg.
2878
2879         * bufferparams.h: use correct types on papersize, papersize2 and
2880         paperpackage.
2881
2882         * bufferparams.C (readToken): adjust for type
2883         (writeLaTeX): add missing cases to switch.
2884
2885         * bufferlist.C (quitWriteBuffer): adjust
2886         (close): adjust
2887
2888         * buffer.C (asciiParagraph): remove some commented code.
2889
2890         * CutAndPaste.C: remove current_view extern variable.
2891         (cutSelection): add BufferParams arg.
2892         (eraseSelection): add BufferParams arg.
2893         (pasteSelection): add Buffer const & arg
2894
2895 2003-06-07  John Levon  <levon@movementarian.org>
2896
2897         * buffer.C:
2898         * paragraph_funcs.C:
2899         * paragraph_pimpl.C:
2900         * text.C:
2901         * text2.C:
2902         * paragraph.h:
2903         * paragraph.C: allow InsetERT to freely space lines,
2904         and some consolidation of code
2905
2906 2003-06-06  José Matos  <jamatos@fep.up.pt>
2907
2908         * buffer.C (makeDocBookFile): fix bug #821
2909
2910 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2911
2912         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2913
2914 2003-06-04  Angus Leeming  <leeming@lyx.org>
2915
2916         * buffer.C: bump format to 224.
2917
2918 2003-06-05  André Pönitz  <poenitz@gmx.net>
2919
2920         * text2.C (redoParagraphs): remove two const_cast<>
2921
2922 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2923
2924         * ParagraphList.h: remove last remnants of NO_STD_LIST
2925
2926 2003-06-03  Angus Leeming  <leeming@lyx.org>
2927
2928         * factory.C (createInset): small change to the way InsetExternal's params
2929         are set.
2930
2931 2003-06-04  André Pönitz  <poenitz@gmx.net>
2932
2933         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2934
2935         * paragraph_pimpl.h:
2936         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2937
2938         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2939
2940         * undo_funcs.C: make some simple cases of undo work again
2941
2942 2003-06-03  John Levon  <levon@movementarian.org>
2943
2944         * ispell.C: HPUX doesn't have sys/select.h
2945         (from Albert Chin)
2946
2947 2003-06-03  John Levon  <levon@movementarian.org>
2948
2949         * CutAndPaste.C: update tabular and include inset
2950         buffer references
2951
2952         * buffer.h:
2953         * paragraph.h:
2954         * paragraph.C: remove owningBuffer(), don't pass Buffer
2955         to clone()
2956
2957         * factory.C: insetGraphicsParams changed
2958
2959 2003-06-02  John Levon  <levon@movementarian.org>
2960
2961         * LyXAction.C:
2962         * factory.C:
2963         * lfuns.h:
2964         * lyxfunc.C:
2965         * text3.C: remove insetparent
2966
2967 2003-06-02  John Levon  <levon@movementarian.org>
2968
2969         * buffer.h:
2970         * buffer.C: fix inset_iterator.end(), move out of line
2971         (bug 1149)
2972
2973 2003-06-01  John Levon  <levon@movementarian.org>
2974
2975         * text3.C: use a proper cut/paste when doing inset
2976         insert (from Jürgen Spitzmüller)
2977
2978 2003-06-01  John Levon  <levon@movementarian.org>
2979
2980         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2981
2982 2003-05-30  André Pönitz  <poenitz@gmx.net>
2983
2984         * rowpainter.C: unify second drawing phase
2985
2986 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2987
2988         * trans_mgr.C: remove one case of current_view
2989
2990         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2991
2992         * paragraph_funcs.h: remove paragraph.h include
2993
2994         * paragraph.h: delete NO_STD_LIST stuff
2995
2996         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2997
2998         * buffer.h: remove paragraph.h include
2999
3000         * ParagraphList.C: delete file
3001
3002         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3003
3004         * toc.C (getTocList): adjust
3005
3006         * paragraph_pimpl.C (validate): adjust
3007
3008         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3009
3010         * paragraph.C (Paragraph): adjust
3011         (getPositionOfInset): use const_iterator, adjust
3012         (bibitem): use const_iterator, adjust
3013         (setInsetOwner): adjust
3014
3015         * iterators.C (operator++): adjust
3016
3017         * InsetList.[Ch]: Replace selfmade iterator with standard
3018         vector::iterator also introduce const_iterator. Remove getPos,
3019         getInset and setInset from InsetTable. Adjust accordingly.
3020
3021         * BufferView.C (lockInset): adjust
3022         (ChangeInsets): adjust
3023
3024         * tabular.[Ch]: delete commented same_id functions
3025
3026 2003-05-28  John Levon  <levon@movementarian.org>
3027
3028         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3029
3030 2003-05-28  André Pönitz  <poenitz@gmx.net>
3031
3032         * metricsinfo.[Ch]: remove 'fullredraw' member
3033
3034 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3035
3036         * lyxtextclass.C (operator): remove caching.
3037
3038 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3039
3040         * text3.C: adjust
3041
3042         * text2.C (cursorBottom): adjust
3043         (setCounter): use ParagraphList::find, adjust
3044
3045         * text.C (workWidth): use ParagraphList::find, adjust
3046
3047         * lyxcursor.C (LyXCursor): adjust
3048
3049         * buffer.C (inset_iterator): adjust
3050
3051         * ParagraphList.h: make iterator(value_type) private, make
3052         ParagraphList a friend of iterator.
3053
3054         * ParagraphList.C (find): new function
3055
3056         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3057
3058 2003-05-27  André Pönitz  <poenitz@gmx.net>
3059
3060         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3061
3062 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3063
3064         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3065
3066 2003-05-26  John Levon  <levon@movementarian.org>
3067
3068         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3069
3070 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3071
3072         * remove same_id from function signatures, adjust.
3073
3074 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3075
3076         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3077
3078         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3079
3080         * paragraph.C (Paragraph): get rid of same_ids parameter
3081
3082         * ParagraphList.C (insert): adjust
3083         (push_back): adjust
3084
3085 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3086
3087         * paragraph_funcs.C (breakParagraph): adjust
3088         (breakParagraphConservative): adjust
3089
3090         * buffer.C (readParagraph): adjust
3091
3092         * ParagraphList.C (insert): take a reference instead of a pointer
3093         (insert): adjust
3094
3095         * paragraph.[Ch] (id): new function
3096
3097         * bufferlist.C (newFile): adjust
3098
3099         * ParagraphList.C (ParagraphList): adjust
3100         (assign): adjust
3101         (push_back): take a reference instead of a pointer.
3102
3103         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3104
3105         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3106         instead.
3107
3108         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3109         set else use old code.
3110
3111         * ParagraphList.C: remove all NO_NEXT code and only compile this
3112         code of NO_STD_LIST is set.
3113
3114 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3115
3116         * BufferView_pimpl.C:
3117         * TextCache.C:
3118         * TextCache.h:
3119         * bufferlist.C:
3120         * errorlist.h:
3121         * format.C:
3122         * format.h:
3123         * graph.C:
3124         * lyxfunc.C:
3125         * lyxrc.C:
3126         * graphics/GraphicsConverter.C:
3127         * graphics/PreviewLoader.C: header adjustment
3128
3129 2003-05-23  Angus Leeming  <leeming@lyx.org>
3130
3131         * LaTeXFeatures.[Ch] (useBabel): new method.
3132         * bufferparams.C (writeLaTeX): use it.
3133
3134 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3135
3136         * ParagraphList.h (set): remove unused function.
3137
3138 2003-05-23  André Pönitz  <poenitz@gmx.net>
3139
3140         * BufferView.C:
3141         * BufferView_pimpl.C:
3142         * buffer.C:
3143         * buffer.h:
3144         * lyxfunc.C:
3145         * undo_funcs.C: setUndo reworked
3146
3147         * iterators.[Ch]: add access to topmost ParagraphList
3148
3149         * lyxtext.[Ch] (workWidth): add a const
3150
3151 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3152
3153         * texrow.[Ch] (increasePos): remove function
3154         * exporter.C (export): removed unused var and outdated comment
3155
3156 2003-05-23  Angus Leeming  <leeming@lyx.org>
3157
3158         * latexrunparams.h: rename fragile as moving_arg.
3159         * paragraph.C (simpleTeXOnePar): ditto.
3160         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3161
3162 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3163
3164         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3165         (createUndo): ditto
3166         (textUndoOrRedo): comment out a currently unused var.
3167
3168         * paragraph.h (NO_NEXT): enable NO_NEXT
3169
3170         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3171
3172         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3173
3174         * exporter.C (Export): adjust for removeAutoInsets removal.
3175
3176         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3177
3178         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3179
3180         * BufferView.[Ch] (removeAutoInsets): delete function
3181
3182 2003-05-22  Angus Leeming  <leeming@lyx.org>
3183
3184         * latexrunparams.h: add a free_spacing variable.
3185
3186         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3187         to pass moving_arg, as the data is stored in runparams.fragile.
3188
3189         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3190         to Inset::latexOptional or to simpleTeXOnePar.
3191
3192         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3193         free_spacing arg to Inset::latexOptional.
3194
3195         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3196         free_spacing arg.
3197
3198 2003-05-22  Angus Leeming  <leeming@lyx.org>
3199
3200         * latexrunparams.h: add fragile and use_babel variables.
3201
3202         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3203         * buffer.C (makeLaTeXFile): store this returned value in
3204         runparams.use_babel, thus passing it to the inset::latex methods.
3205
3206         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3207         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3208
3209         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3210         longer has a fragile arg, as it is stored in runparams.fragile.
3211
3212         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3213         moving_arg parameter as the data is stored in runparams.fragile.
3214
3215         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3216         a fragile parameter as the data is stored in runparams.fragile.
3217
3218 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3219
3220         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3221
3222 2003-05-22  Angus Leeming  <leeming@lyx.org>
3223
3224         * latexrunparams.h: add a 'bool nice' which defaults to false.
3225
3226         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3227         now encapsulated within runparams.
3228
3229         * bufferlist.C (updateIncludedTeXfiles):
3230         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3231
3232 2003-05-22  Angus Leeming  <leeming@lyx.org>
3233
3234         * latexrunparams.h: new file containing struct LatexRunParams.
3235         * Makefile.am: add new file.
3236
3237         * LaTeX.[Ch] (c-tor, run):
3238         * buffer.[Ch] (makeLaTeXFile):
3239         * bufferlist.[Ch] (updateIncludedTeXfiles):
3240         * converter.C (convert, scanLog):
3241         * converter.[Ch] (runLaTeX):
3242         * exporter.C (Export):
3243         * paragraph.[Ch] (simpleTeXOnePar):
3244         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3245         * paragraph_funcs.[Ch] (latexParagraphs):
3246         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3247         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3248         pass around a LatexRunParams parameter.
3249
3250 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3251
3252         * paragraph.[Ch]: remove unused constructor
3253
3254         * ParagraphList.C (erase): new function, taking two iterators
3255
3256 2003-05-22  André Pönitz  <poenitz@gmx.net>
3257
3258         * undo_funcs.C: remove duplicated code
3259
3260         * iterator.[Ch]: operator=
3261
3262 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3263
3264         * tabular.C (SetMultiColumn): ws changes
3265
3266         * rowpainter.C (paintFirst): get rid of a ->previous
3267
3268         * lyx_cb.C (getPossibleLabel): parlist simplification
3269
3270         * BufferView.C (ChangeInsets): simplify slightly.
3271
3272 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3273
3274         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3275         * lfuns.h: new LFUN_SPACE
3276         * lyxfunc.C: protected space has a new lfun
3277         * paragraph_funcs.C: read new space insets
3278         * text3.C:
3279         * factory.C: handle new space insets
3280
3281 2003-05-22  André Pönitz  <poenitz@gmx.net>
3282
3283         * BufferView.C:
3284         * BufferView_pimpl.C:
3285         * buffer.[Ch]:
3286         * lyxfunc.C:
3287         * undo_funcs.C: return a ParIterator from getParFromID.
3288
3289         * iterators.[Ch]: add two const's
3290
3291 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3292
3293         * toc.C (getTocList): adjust
3294
3295         * iterators.[Ch]: rework for parlist
3296
3297         * buffer.C (par_iterator_begin): adjust
3298         (par_iterator_end): adjust
3299
3300         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3301
3302         * BufferView.C (removeAutoInsets): adjust
3303         (ChangeInsets): adjust
3304
3305 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3306
3307         * text.C (top_y): fix bug 1110
3308
3309 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3310
3311         * errorlist.[Ch]: added
3312         * buffer.C:
3313         * BufferView.[Ch]:
3314         * BufferView_pimpl.C:
3315         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3316         instead
3317
3318 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3319
3320         * Makefile.am: ensure that lyx is relinked upon changes to the
3321         various "convenience" libs.
3322
3323 2003-05-20  Angus Leeming  <leeming@lyx.org>
3324
3325         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3326         files are compiled in alphabetical order again.
3327
3328         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3329
3330 2003-05-19  Angus Leeming  <leeming@lyx.org>
3331
3332         * gettext.[Ch]: remove "char const * _(char const *)".
3333
3334 2003-05-19  André Pönitz  <poenitz@gmx.net>
3335
3336         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3337
3338         * Makefile.am:
3339         * BufferView.C:
3340         * DepTable.h:
3341         * LaTeXFeatures.C:
3342         * buffer.C:
3343         * lyxfont.C:
3344         * lyxlex.h:
3345         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3346
3347 2003-05-19  André Pönitz  <poenitz@gmx.net>
3348
3349         * buffer.C:
3350         * lyxlayout.[Ch]:
3351         * lyxtextclass.[Ch]:
3352         * paragraph.C:
3353         * paragraph_funcs.[Ch]:
3354         * text2.C:
3355         * text3.C: more insetenv work
3356
3357 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3358
3359         * ParagraphParameters.C (params2string): small bug fixed
3360
3361 2003-05-16  André Pönitz  <poenitz@gmx.net>
3362
3363         * debug.C:
3364         * bufferview_funcs.C: patch from Kornel Benko to prevent
3365           crash when _(...) is called twice in a statement
3366
3367 2003-05-16  André Pönitz  <poenitz@gmx.net>
3368
3369         * BufferView.C:
3370         * lyxfunc.C:
3371         * text.C:
3372         * text2.C:
3373         * text3.C:
3374         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3375
3376 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3377
3378         * lyx_main.C (init): remove spurious static_cast
3379
3380 2003-05-14  André Pönitz  <poenitz@gmx.net>
3381
3382         * BufferView.C: fix format string
3383
3384 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3385
3386         * BufferView.[Ch] (insertErrors): removed
3387         * BufferView.[Ch] (showErrorList): added
3388         * buffer.C (runChkTeX):
3389         * converter.C (scanLog): call showErrorList instead of inserterrors
3390
3391 2003-05-13  André Pönitz  <poenitz@gmx.net>
3392
3393         * BufferView_pimpl.C:
3394         * buffer.C:
3395         * bufferview_func.C:
3396         * MenuBackend.C:
3397         * lyxfunc.C:
3398         * lyxrc.C:
3399         * tex-accent.C:
3400         * text3.C:
3401         * toc.C:
3402         * tabular_funcs.h: tostr() from its own header
3403
3404         * ParagraphParameters.C:
3405         * ToolbarBackend.C:
3406         * bufferparams.C:
3407         * format.C:
3408         * lyxlex_pimpl.C:
3409         * text3.C: STRCONV()
3410
3411 2003-05-12  André Pönitz  <poenitz@gmx.net>
3412
3413         * BufferView.C:
3414         * BufferView_pimpl.C:
3415         * CutAndPaste.C:
3416         * LaTeX.C:
3417         * LaTeXFeatures.C:
3418         * ParagraphParameters.C:
3419         * buffer.C:
3420         * bufferlist.C:
3421         * bufferparams.C:
3422         * bufferview_funcs.C:
3423         * converter.C:
3424         * counters.C:
3425         * debug.C:
3426         * exporter.C:
3427         * format.C:
3428         * importer.C:
3429         * lyx_cb.C:
3430         * lyx_main.C:
3431         * lyxfont.C:
3432         * lyxfunc.C:
3433         * lyxvc.C:
3434         * paragraph.C:
3435         * paragraph_funcs.C:
3436         * tabular.C:
3437         * tabular_funcs.C:
3438         * text2.C:
3439         * text3.C:  boost::format -> bformat  all over the place
3440
3441
3442 2003-05-09  André Pönitz  <poenitz@gmx.net>
3443
3444         * LColor.[Ch]: Pimpl the #include <map> away
3445
3446 2003-05-09  John Levon  <levon@movementarian.org>
3447
3448         * bufferlist.C: never remove emergency saves
3449
3450 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3451
3452         * Makefile.am: better lib building
3453
3454 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3455
3456         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3457         instead.
3458         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3459         (simpleTeXSpecialChars): adjust
3460         (simpleTeXSpecialChars): adjust
3461         * paragraph.C (simpleTeXOnePar): adjust
3462         * buffer.C (makeLaTeXFile): adjust
3463
3464         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3465
3466         * text2.C (changeDepth): parlist cleanup
3467         (getColumnNearX): ditto
3468
3469         * rowpainter.C (getLabelFont): parlist cleanup
3470
3471         * bufferlist.C (newFile): parlist cleanup
3472
3473         * CutAndPaste.C (eraseSelection): parlist cleanup
3474
3475         * BufferView_pimpl.C (trackChanges): parlist cleanup
3476         (dispatch): ditto
3477
3478         * BufferView.C (lockInset): parlist cleanup.
3479         (ChangeInsets): ditto
3480
3481 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3482
3483         * CutAndPaste.h: Update file header.
3484
3485         * CutAndPaste.C: Update file header.
3486         Store the parts cut out of the Document in a limited_stack.
3487         (copySelection): adjust
3488         (pasteSelection): new function, takes the index in the limited stack.
3489         (nrOfParagraphs): adjust
3490         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3491         simplify error inset insertion.
3492         (checkPastePossible): adjust
3493
3494 2003-05-06  John Levon  <levon@movementarian.org>
3495
3496         * text2.C: don't cast wrap inset to float
3497
3498 2003-05-05  André Pönitz  <poenitz@gmx.net>
3499
3500         * iterator.C:
3501         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3502
3503         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3504           few naked Paragraph *.
3505
3506 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3507
3508         * bufferparams.C: Output warning if a document with missing
3509         TeX document class is loaded
3510         * exporter.C: Disable TeX exports if the document class is missing
3511         * lyxtextclass.C:
3512         * lyxtextclass.h:
3513         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3514         isTeXClassAvailable()
3515
3516 2003-05-03  John Levon  <levon@movementarian.org>
3517
3518         * BufferView.h:
3519         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3520         explicit cursor show/hide
3521
3522         * BufferView_pimpl.h:
3523         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3524         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3525
3526         * lyxfunc.C: hide cursor before dispatching.
3527
3528         * lyx_cb.C:
3529         * lyxfind.C:
3530         * text.C:
3531         * text3.C: remove explicit cursor hides
3532
3533 2003-05-02  André Pönitz  <poenitz@gmx.net>
3534
3535         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3536
3537         * undo_funcs.C:
3538         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3539           linked lists
3540
3541         * text2.C: tiny whitespace
3542
3543 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3544
3545         * undo_funcs.C: almost only ws changes.
3546
3547         * ParagraphList.C (splice): just return if pl is empty.
3548
3549 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3550
3551         * ParagraphList.C (splice): new function.
3552
3553         * CutAndPaste.C (pasteSelection): use it
3554
3555 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3556
3557         * CutAndPaste.C (pasteSelection): remove the last next and
3558         previous from this file.
3559
3560 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3561
3562         * CutAndPaste.C (pasteSelection): more clean up, user proper
3563         ParagraphList functions for pasteing.
3564
3565         * ParagraphList.C (insert): new function, three arg insert
3566
3567 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3568
3569         * ParagraphList.C (insert): new function, three arg insert
3570
3571         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3572         not on paragraphs.
3573
3574 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3575
3576         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3577
3578 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3579
3580         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3581
3582 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3583
3584         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3585         (copySelection): clean up a bit.
3586         (pasteSelection): use make_pair
3587
3588         * ParagraphList.C (ParagraphList): implement copy constructor
3589         (operator=): implement, base on copy constructor.
3590         (assign): new func
3591
3592         * paragraph.C (erase): return a bool
3593
3594         * paragraph_pimpl.C (erasePos): remove function, move contents...
3595         (erase): ... here. Return a bool.
3596         (erase): call erase instead of erasePos.
3597
3598 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3599
3600         * ParagraphList.h: define PitPosPair
3601         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3602         ParagraphList, fix a bug on pasting multiple pars
3603         * text2.C: change interface to C&P
3604
3605 2003-04-30  André Pönitz  <poenitz@gmx.net>
3606
3607         * undo_func.C: revert part of yesterday's patch 2
3608
3609 2003-04-30  John Levon  <levon@movementarian.org>
3610
3611         * LColor.C: s/tabular/table/
3612
3613 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3614
3615         * text3.C (dispatch): do not convert iterator -> pointer
3616         * undo_funcs.C (setCursorParUndo): ditto
3617         * text_funcs.C (transposeChars): ditto
3618
3619         * text2.C (setLayout): ws changes only
3620
3621         * text.C (breakParagraph): do not convert iterator -> pointer
3622         (insertChar): ditto
3623         (acceptChange): ditto
3624         (rejectChange): ditto
3625         (changeCase): ditto
3626         (Delete): ditto
3627         (backspace): ditto
3628
3629         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3630         pointer
3631
3632 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3633
3634         * text3.C (gotoInset): YABG (yet another bad getChar)
3635
3636 2003-04-29  André Pönitz  <poenitz@gmx.net>
3637
3638         * paragraph.h: make operator= private unimplemented as long as
3639           it is unusable
3640
3641         * ParagraphList.C: whitespace
3642
3643         * paragraph.[Ch]:
3644         * paragraph_pimpl.[Ch]:
3645         * paragraph_funcs.C:
3646         * CutAndPaste.C:
3647         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3648
3649         * text2.C:
3650           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3651
3652 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3653
3654         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3655         * paragraph.[Ch] (erase):
3656         * paragraph_pimpl.[Ch] (erase): change return type and value
3657         * text2.C (cutSelection): some rework
3658
3659 2003-04-28  John Levon  <levon@movementarian.org>
3660
3661         * bufferlist.C: changes for unsaved changes dialog
3662
3663 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3664
3665         * bufferlist.C (newFile): set language (messages_) for new
3666         documents also.
3667
3668         * buffer.C (readFile): ws changes only.
3669
3670 2003-04-28  André Pönitz  <poenitz@gmx.net>
3671
3672         * undo_funcs.C:
3673         * lyxfunc.C:
3674         * buffer.[Ch]:
3675         * BufferView_pimpl.C:
3676         * BufferView.C: getParFromID related ParagraphList::iterator changes
3677
3678 2003-04-28  André Pönitz  <poenitz@gmx.net>
3679
3680         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3681           Changes
3682
3683 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3684
3685         * messages.C: remove one more localedir class variable.
3686
3687 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3688
3689         * messages.C (getLocaleDir): singleton generation function
3690         (Pimpl): use it.
3691         (Messages): add a default constructor.
3692
3693         * main.C (main): do not setup localedir here, do not call
3694         gettext_init.
3695
3696         * gettext.C (_): use it.
3697         (gettext_init): delete funciton
3698
3699 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3700
3701         * gettext.C (getLyXMessages): new singleton generating function.
3702
3703         * buffer.C (updateDocLang): adjust
3704
3705         * Makefile.am (messages.o): add target
3706         (main.o): remove target
3707
3708 2003-04-27  John Levon  <levon@movementarian.org>
3709
3710         * bufferlist.C:
3711         * lyx_cb.C:
3712         * lyxfunc.C:
3713         * lyxvc.C: specify cancel button in Alert::prompt
3714
3715 2003-04-26  John Levon  <levon@movementarian.org>
3716
3717         * text3.C:
3718         * lyxfunc.C:
3719         * lfuns.h:
3720         * LyXAction.C: add LFUN_INSET_SETTINGS
3721
3722         * lyxfunc.C: don't enable tabular-feature when there's
3723         just any locking inset
3724
3725 2003-04-26  John Levon  <levon@movementarian.org>
3726
3727         * bufferlist.C: re-add Cancel to buffer close question
3728
3729         * lyxfunc.C: fix import UI a bit
3730
3731 2003-04-25  John Levon  <levon@movementarian.org>
3732
3733         * gettext.C: remove the broken asserts for now
3734
3735 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3736
3737         * messages.C: make case where setlocale cannot comply work better.
3738
3739         * buffer.C (updateDocLang): new function
3740         (changeLanguage): use it
3741         (readFile): use it
3742
3743         * text2.C (setCounter): use B_ a bit.
3744
3745         * lyxlayout.C (Read): be sure to trim the label strings.
3746
3747         * messages.C (Messages): fix typo in comment
3748
3749         * buffer.C (readFile): set message_ after file is loaded.
3750         (makeDocBookFile): remove double return
3751         (changeLanguage): reset message_ upon language change.
3752         (B_): new func, use this to get translated buffer strings.
3753
3754         * main.C: add myself and Jean Marc as authors.
3755
3756 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3757
3758         * messages.[hC]: pimplify Messages, and three different pimpls to be
3759         used in different circumstances.
3760
3761         * gettext.[Ch]: change for use with new message code.
3762
3763 2003-04-24 André Pönitz <poenitz@gmx.net>
3764
3765         * factory.C: support for eqref
3766
3767 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3768
3769         * messages.[Ch]: add missing char
3770
3771         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3772
3773         * messages.[Ch]: New files
3774
3775 2003-04-18  John Levon  <levon@movementarian.org>
3776
3777         * BufferView.h:
3778         * BufferView.C:
3779         * BufferView_pimpl.C:
3780         * lfuns.h:
3781         * LyXAction.C:
3782         * lyxtext.h:
3783         * text2.C: remove layout-copy/paste (bug 778)
3784
3785 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3786
3787         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3788
3789 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3790
3791         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3792         if they succeed. Act accordingly.
3793
3794 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3795
3796         * text2.C (setCharFont): adjust
3797         (setCounter): adjust
3798         (insertStringAsLines): adjust
3799
3800         * text.C (leftMargin): adjust
3801         (setHeightOfRow): adjust
3802
3803         * rowpainter.C (paintFirst): adjust
3804         (paintLast): adjust
3805
3806         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3807         (outerHook): ditto
3808         (isFirstInSequence): ditto
3809         (getEndLabel): ditto
3810         (outerFont): adjust
3811
3812         * paragraph.C (getParLanguage): comment out some hard stuff.
3813
3814         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3815         (sgmlError): ditto
3816         (simpleDocBookOnePar): ditto
3817         (makeDocBookFile): use ParagraphList::iterator
3818
3819         * CutAndPaste.C (pasteSelection): adjust
3820
3821 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3822
3823         * text2.C (getFont): adjust
3824         (getLayoutFont): adjust
3825         (getLabelFont): adjust
3826
3827         * paragraph_funcs.C (TeXOnePar): adjust
3828
3829         * buffer.C (simpleLinuxDocOnePar): adjust
3830         (simpleDocBookOnePar): adjust
3831
3832         * CutAndPaste.C (pasteSelection): adjust
3833
3834         * BufferView.C (getEncoding): adjust
3835
3836         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3837
3838 2003-04-16  John Levon  <levon@movementarian.org>
3839
3840         * lyxfind.C: use parlist stuff for search/changes
3841
3842 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3843
3844         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3845
3846         * text2.C (deleteEmptyParagraphMechanism): adjust
3847
3848         * text2.[Ch] (ownerParagraph): delete func (both of them
3849
3850 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3851
3852         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3853
3854 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3855
3856         * ParagraphList.C: prepare for NO_NEXT
3857
3858 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3859
3860         * text2.C (getFont): adjust
3861         (getLayoutFont): adjust
3862         (getLabelFont): adjust
3863
3864         * paragraph.C (getFont): adjust
3865         (getLabelFont): adjust
3866         (getLayoutFont): adjust
3867
3868         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3869
3870 2003-04-15  John Levon  <levon@movementarian.org>
3871
3872         From Angus Leeming
3873
3874         * lyx_main.C: handle Include in .ui files
3875
3876 2003-04-15  John Levon  <levon@movementarian.org>
3877
3878         * MenuBackend.C: make the doc files length shorter
3879
3880         * ToolbarBackend.h:
3881         * ToolbarBackend.C: handle toolbar placement flags,
3882         Minibuffer
3883
3884 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3885
3886         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3887         adjust
3888
3889         * paragraph_funcs.C (TeXOnePar): adjust
3890
3891         * paragraph.C (getLabelFont): add outerfont arg, adjust
3892         (getLayoutFont): ditto
3893         (simpleTeXOnePar): adjust
3894
3895         * paragraph_pimpl.C (realizeFont): delete func
3896
3897 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3898
3899         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3900         row argument, constify cur argument.
3901
3902 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3903
3904         * text2.C (getFont): adjust
3905         (getLayoutFont): adjust
3906         (getLabelFont): adjust
3907
3908         * paragraph_funcs.C (TeXOnePar): adjust
3909         (outerFont): new func...
3910         (realizeFont): ...moved out from here, changed this to facilitate
3911         transition
3912
3913         * paragraph.C (getFont): take outerfont as arg, adjust
3914         (simpleTeXOnePar): add outerfont arg, adjust
3915
3916         * buffer.C (simpleLinuxDocOnePar): adjust
3917         (simpleDocBookOnePar): adjust
3918
3919         * CutAndPaste.C (pasteSelection): adjust
3920
3921         * BufferView.C (getEncoding): adjust
3922
3923 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3924
3925         * text2.C (setCharFont): adjust
3926         (setCounter): adjust
3927
3928         * text.C (leftMargin): adjust
3929         (setHeightOfRow): adjust
3930
3931         * rowpainter.C (paintFirst): adjust
3932         (paintLast): adjust
3933
3934         * paragraph_pimpl.C (realizeFont): adjust
3935
3936         * paragraph.C (isFirstInSequence): move from here...
3937         * paragraph_funcs.C (isFirstInSequence): ...to here
3938
3939         * paragraph.C (outerHook): move from here...
3940         * paragraph_funcs.C (outerHook): ...to here
3941
3942         * paragraph.C (depthHook): move from here...
3943         * paragraph_funcs.C (depthHook): ...to here
3944
3945         * paragraph.C (getEndLabel): move from here...
3946         * paragraph_funcs.C (getEndLabel): ...to here
3947
3948         * text2.C (realizeFont): move from here...
3949         * paragraph_funcs.C (realizeFont): ...to here
3950
3951 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3952
3953         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3954
3955 2003-04-14  Angus Leeming  <leeming@lyx.org>
3956
3957         * LColor.[Ch]: scrap LColor mathcursor.
3958
3959 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3960
3961         * lyxlex.[Ch] (text): delete function
3962         * trans.C (Load): adjust
3963         * paragraph_funcs.C (readParToken): adjust
3964
3965 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3966
3967         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3968         vector<char> instead of a char[].
3969
3970         * lyxlex_pimpl.C (getString): adjust
3971         (next): adjust
3972         (lex): use getString
3973         (eatLine): adjust
3974         (nextToken): adjust
3975
3976         * lyxlex.C (text): use pimpl_->getString()
3977         (getBool): ditto
3978         (findToken): ditto
3979
3980 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3981
3982         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3983         (makeFontEntriesLayoutSpecific): temp var for par.size()
3984         (setLayout): temp var for ownerParagraphs().end()
3985         (fullRebreak): temp var for rows().end()
3986         (selectionAsString): temp var for boost::next(startpit), realize
3987         that the while really is a regular for loop.
3988         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3989         setCursor in one place.
3990         (setParagraph): temp vr for ownerParagraphs().end()
3991         (updateCounters): make the while loop a for loop
3992         (cutSelection): temp var for ownerParagraphs().end()
3993         (updateInset): make the do {} while() a regular for loop
3994         (getCursorX): use temp vars
3995         (setCurrentFont): use temp vars
3996         (getColumnNearX): use temp vars
3997
3998 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3999
4000         * text.C (transformChar): use temp var for getChar
4001         (computeBidiTables): use temp var for row->par()
4002         (fill): move temp vars for row->par() and pit->layout() earlier in
4003         the function.
4004         (labelFill): use temp var for row->par()
4005         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4006         asc and desc, realize that pit never changes and that firstpit is
4007         just a duplicate and not needed. Exchange rit->par() with pit in a
4008         lot of places.
4009         (breakAgain): use a temp var for boost::next(rit)
4010         (breakAgainOneRow): ditto
4011         (breakParagraph): use a temp var for rows().begin()
4012         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4013         (cursorRightOneWord): use temp var for cursor.par() and
4014         cursor.pos(), remove usage of tmpcursor.
4015         (cursorLeftOneWord): use temp var for cursor.par() and
4016         cursor.pos() only set cur at end of function.
4017
4018 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4019
4020         * text.C, text2.C: exchange all usage of Paragraph::next with
4021         boost::next(ParagraphList::iterator)
4022
4023         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4024
4025         * text2.C (cursorTop): simplify implementation
4026         (cursorBottom): ditto
4027         (setParagraph): use ParagraphList::iterator
4028         (setCurrentFont): adjust
4029         (getColumnNearX): adjust
4030         (cursorRight): adjust
4031         (cursorLeft): remove usage of Paragraph::previous
4032         (cursorUpParagraph): ditto
4033         (deleteEmptyParagraphMechanism): slight cleanup
4034
4035         * text.C (isBoundary): take a Paragraph const & instead of a
4036         pointer as arg.
4037         (addressBreakPoint): ditto
4038         (leftMargin): remove usage of Paragraph::previous.
4039         (setHeightOfRow): ditto
4040         (cursorLeftOneWord): ditto
4041         (selectNextWordToSpellcheck): ditto
4042         (Delete): ditto
4043         (backspace): ditto
4044         (breakParagraph): remove one usage of Paragraph::next
4045         (redoParagraph): ditto
4046         (acceptChange): ditto
4047         (insertChar): adjust
4048         (rowBreakPoint): adjust
4049
4050         * bufferview_funcs.C (toggleAndShow): adjust
4051
4052 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4053
4054         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4055         methods to access it.
4056         * lyxtext.h:
4057         * text.C: Added updateRowPositions to compute all row positions.
4058         Make top_y and getRowNearY() to use the cached y position
4059
4060 2003-04-11  John Levon  <levon@movementarian.org>
4061
4062         * text.C (rowBreakPoint): reintroduce the labelEnd
4063         checks, code copied from the row fill stuff. Deep voodoo.
4064
4065         * text.C (fill): add a comment and debugging for the
4066         next poor soul.
4067
4068 2003-04-11  John Levon  <levon@movementarian.org>
4069
4070         * text.C: make sure fullrow insets get wrapped to the next line,
4071         even when they're in a manual label
4072
4073 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4074
4075         * text2.C (insertParagraph): make it take ParagraphList::iterator
4076         as arg.
4077         (setLayout): make it return ParagraphList::iterator
4078         (redoParagraphs): ditto
4079         (setCounter): ditto
4080         (checkParagraph): ditto
4081
4082         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4083
4084         * text2.C: adjust several funcs.
4085         (realizeFont): take a ParagraphList::iterator as arg.
4086         (getLayoutFont): ditto
4087         (getLabelFont): ditto
4088         (setCharFont): ditto
4089
4090         * text.C: adjust several funcs.
4091
4092 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4093
4094         * text.C (selectNextWordToSpellcheck): don't accidentally
4095         skip insets
4096
4097 2003-04-10  John Levon  <levon@movementarian.org>
4098
4099         * ToolbarBackend.C (getIcon): special handling for
4100         LFUN_MATH_DELIM
4101
4102 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4103
4104         * text2.C (cursorRight): a getChar assert fixed
4105
4106 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4107
4108         * text2.C (getFont): change to take a ParagraphList::iterator
4109         instead of Paragraph*
4110         Adjust several functions.
4111
4112         * text.C (transformChar): change to take a ParagraphList::iterator
4113         instead of Paragraph*
4114         (singleWidth): ditto
4115         Adjust several functions.
4116
4117         * rowpainter.C: adjust several functions
4118         * rowpainter.h:store a ParagraphList::iterator and not a
4119         Paragraph&.
4120
4121
4122 2003-04-09  John Levon  <levon@movementarian.org>
4123
4124         * lyxfunc.C:
4125         * lfuns.h:
4126         * LyXAction.h:
4127         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4128         and the "help" bits as well
4129
4130 2003-04-09  John Levon  <levon@movementarian.org>
4131
4132         * ToolbarBackend.h:
4133         * ToolbarBackend.C: allow multiple toolbars
4134
4135 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4136
4137         * undo_funcs.C (setCursorParUndo): adjust
4138
4139         * text_funcs.C (transposeChars): adjust
4140
4141         * text3.C (gotoNextInset): adjust
4142         (dispatch): adjust
4143
4144         * text2.C (setLayout): adjust
4145         (changeDepth): adjust
4146         (setFont): adjust
4147         (redoParagraphs): adjust
4148         (selectionAsString): adjust
4149         (setParagraph): adjust
4150         (insertInset): adjust
4151         (cutSelection): adjust
4152         (copySelection): adjust
4153         (pasteSelection): adjust
4154         (insertStringAsLines): adjust
4155         (updateInset): adjust
4156         (setCursor): change to take a ParagraphList::iterator parameter
4157         (setCursorIntern): change to take a ParagraphList::iterator parameter
4158         (setCurrentFont): adjust
4159         (cursorLeft): adjust
4160         (cursorRight): adjust
4161         (deleteEmptyParagraphMechanism): adjust
4162
4163         * text.C (breakParagraph): adjust
4164         (insertChar): adjust
4165         (acceptChange): adjust
4166         (rejectChange): adjust
4167         (selectNextWordToSpellcheck): adjust
4168         (changeCase): adjust
4169         (Delete): adjust
4170         (backspace): adjust
4171
4172         * lyxfind.C (SearchForward): adjust
4173         (SearchBackward): adjust
4174         (nextChange): adjust
4175
4176         * lyxcursor.C (par): adjust
4177
4178         * lyxcursor.h: store a ParagraphList::iterator instead of a
4179         Paragraph*
4180
4181         * lyx_cb.C (getPossibleLabel): adjust
4182
4183         * bufferview_funcs.C (toggleAndShow): adjust
4184
4185         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4186         (dispatch): adjust
4187
4188         * BufferView.C (removeAutoInsets): adjust
4189         (lockedInsetStoreUndo): adjust
4190
4191 2003-04-09  John Levon  <levon@movementarian.org>
4192
4193         * ToolbarBackend.C: try icon without argument
4194         if with argument fails
4195
4196 2003-04-08  John Levon  <levon@movementarian.org>
4197
4198         * ToolbarBackend.h:
4199         * ToolbarBackend.C: add getIcon(), handle tooltip,
4200         and change from "Icon" to "Item".
4201
4202 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4203
4204         * BufferView.C (lockInset): another bad getchar crunched
4205
4206 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4207
4208         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4209         again)
4210
4211 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4212
4213         * lyxfind.C (searchForward, searchBackwards): bug 782
4214
4215 2003-04-07  John Levon  <levon@movementarian.org>
4216
4217         * paragraph.C: remove dead comment
4218
4219         * text.C: remove troublesome depth-fiddling code
4220         in leftMargin() and rightMargin() (bug 1017)
4221
4222         * text.C: fix breaking of rows in nested lists
4223         (bug 1004)
4224
4225         * text2.C (updateCounters): fix up depth values
4226         (bug 1013)
4227
4228 2003-04-07  John Levon  <levon@movementarian.org>
4229
4230         * BufferView_pimpl.C: clear message when doc finishes resizing,
4231         and after a mouse event
4232
4233         * lyxfunc.C: clear message after exiting inset
4234
4235 2003-04-07  John Levon  <levon@movementarian.org>
4236
4237         * bufferview_funcs.C: show math status not outside
4238         status in the statusbar
4239
4240 2003-04-07  John Levon  <levon@movementarian.org>
4241
4242         * lyxfunc.C: note status changed after a depth change
4243
4244 2003-04-04  Angus Leeming  <leeming@lyx.org>
4245
4246         * LaTeX.h: move AuxInfo operator==, != out of line.
4247         Remove LaTeX virtual destructor; nothing derives from it.
4248         Move operator()() out of public area and rename it startscript().
4249         Change protected for private.
4250
4251 2003-04-04  Angus Leeming  <leeming@lyx.org>
4252
4253         * lyxfunc.C:
4254         * text2.C: remove unneeded #includes.
4255
4256 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4257
4258         * text2.C (dEPM): fix the heigth of the next row
4259
4260 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4261
4262         * text.C: squashed an invalid getChar requester + some ws changes
4263
4264 2003-04-03  John Levon  <levon@movementarian.org>
4265
4266         * bufferview_funcs.h:
4267         * bufferview_funcs.C:
4268         * lyxfunc.C:
4269         * lyxtext.h:
4270         * text2.C: make getStatus work for the env depth lfuns
4271
4272 2003-04-03  John Levon  <levon@movementarian.org>
4273
4274         * bufferview_funcs.h:
4275         * bufferview_funcs.C:
4276         * lyxfunc.C:
4277         * lyxtext.h:
4278         * text2.C: parlistize decDepth(), by merging it with incDepth()
4279
4280 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4281
4282         * lyxrow.h: store a ParagraphList::iterator instead of a
4283         Paragraph* and adjust other class functions to suit.
4284
4285         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4286         above.
4287
4288 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4289
4290         * text2.C (setCursor): do not anchor to cursor row for the time being
4291
4292 2003-04-02  John Levon  <levon@movementarian.org>
4293
4294         * LyXAction.C:
4295         * lfuns.h:
4296         * lyx_main.C:
4297         * lyxtext.h:
4298         * text.C:
4299         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4300
4301 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4302
4303         * paragraph.h: make ParagraphList and ParagraphList::iterator
4304         friends of Paragraph.
4305
4306         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4307
4308         * ParagraphList.C: Use the private next_ and previous_ from
4309         Paragraph.
4310
4311 2003-04-01  John Levon  <levon@movementarian.org>
4312
4313         * ToolbarBackend.h:
4314         * ToolbarBackend.C:
4315         * Makefile.am: rename, remove defaults gunk
4316
4317         * MenuBackend.h:
4318         * MenuBackend.C: remove defaults gunk
4319
4320         * Languages.h:
4321         * Languages.C: remove defaults gunk
4322
4323         * lyx_main.h:
4324         * lyx_main.C: error out if files couldn't be found.
4325
4326 2003-04-02  John Levon  <levon@movementarian.org>
4327
4328         * text2.C: make incDepth() use parlist
4329
4330 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4331
4332         * undo_funcs.C (firstUndoParagraph): adjust
4333
4334         * text3.C (gotoInset): adjust
4335         (dispatch): adjust, and rewrite loop.
4336
4337         * text2.C (init): adjust, and rewrite loop.
4338         (redoParagraphs): adjust
4339         (updateInset): adjust, and rewrite loop.
4340         (deleteEmptyParagraphMechanism): adjust
4341
4342         * tabular.C (LyXTabular): adjust
4343         (SetMultiColumn): adjust
4344         (TeXRow): adjust
4345
4346         * lyxtext.[Ch] (ownerParagraph): delete function
4347         (ownerParagraphs): new function returns a ParagraphList.
4348
4349         * BufferView.C (removeAutoInsets): adjust
4350         (insertErrors): adjust
4351         (setCursorFromRow): adjust
4352
4353 2003-04-01  Angus Leeming  <leeming@lyx.org>
4354
4355         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4356         in the frontends.
4357
4358 2003-04-02  John Levon  <levon@movementarian.org>
4359
4360         * lyxtext.h:
4361         * text.C:
4362         * Makefile.am:
4363         * text_funcs.h:
4364         * text_funcs.C: make transposeChars a free function
4365
4366         * lyxrow_funcs.C: remove wrong comment
4367
4368 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4369
4370         * lyxtext.h: adjust
4371         * rowpainter.C: adjust
4372         * text.C: adjust
4373         * text2.C: adjust
4374         * text3.C: adjust
4375
4376         * lyxrow_funcs. [Ch]: new files
4377
4378         * lyxrow.[Ch]: remove next and previous pointers
4379         (next,previous): remove accessor functions
4380         (isParEnd): move to lyxrow_funcs
4381         (lastPos): move to lyxrow_funcs
4382         (nextRowIsAllInset): move to lyxrow_funcs
4383         (lastPrintablePos): move to lyxrow_funcs
4384         (numberOfSeparators): move to lyxrow_funcs
4385         (numberOfHfills): move to lyxrow_funcs
4386         (numberOfLabelHfills): move to lyxrow_funcs
4387         (hfillExpansion): move to lyxrow_funcs
4388
4389         * lyxfunc.C: adjust
4390
4391         * bufferview_funcs.C (toggleAndShow): adjust
4392
4393         * RowList.h: Remove class RowList from file leave just a
4394         std::list<Row>.
4395
4396         * RowList.C: delete file
4397
4398         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4399         and lyxrow_funcs.h
4400
4401 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4402
4403         * text3.C (cursorPrevious): adjust
4404         (cursorNext): adjust
4405         (dispatch): adjust
4406
4407         * text2.C (redoHeightOfParagraph): adjust
4408         (redoDrawingOfParagraph): adjust
4409         (setCursor): adjust
4410
4411         * text.C (breakParagraph): adjust
4412         (insertChar): adjust
4413         (backspace): adjust
4414
4415         * rowpainter.C (RowPainter): adjust
4416         (leftMargin): simplify and adjust
4417         (most rowpainter functions): adjust.
4418
4419         * rowpainter.h: store the row as RowList::iterator not as Row*
4420
4421         * lyxcursor.C (row): taka RowList::iterator as arg
4422         (irow): ditto
4423
4424         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4425         of Row*.
4426
4427 2003-04-01  Angus Leeming  <leeming@lyx.org>
4428
4429         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4430         stuff like bool Bool.
4431
4432 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4433
4434         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4435         rewrite a loop
4436
4437 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4438
4439         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4440         RowList::iterator.
4441
4442         * lyxtext.h (rows): drop one version and leve a const variant that
4443         returns a RowList::iterator.
4444
4445 2003-03-31  Angus Leeming  <leeming@lyx.org>
4446
4447         * text.C (fill): ensure that the signature is the same as that in the
4448         header file.
4449
4450 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4451
4452         * text2.C (redoParagraphs): adjust
4453         (updateCounters): adjust
4454         (checkParagraph): adjust
4455         (getColumnNearX): adjust and reformat a bit.
4456
4457         * text.C (top_y): adjust
4458         (workWidth): adjust
4459         (leftMargin): adjust
4460         (prepareToPrint): adjust
4461         (getRow): adjust
4462         (getRowNearY): adjust
4463
4464         * lyxtext.h: make rowlist_ mutable.
4465
4466         * RowList.h: add const_iterator
4467         * RowList.C: adjust for RowList::const_iterator.
4468
4469         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4470         adjust.
4471
4472 2003-03-31  John Levon  <levon@movementarian.org>
4473
4474         * lyxrc.h:
4475         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4476
4477         * lyx_main.C: set default fonts from using lyx_gui funcs
4478
4479         * exporter.C: pdf_mode moved from lyxrc
4480
4481         * lyx_cb.C:
4482         * lyxfunc.C: changes from above
4483
4484 2003-03-31  John Levon  <levon@movementarian.org>
4485
4486         * lyx_main.C: fix to the last fix
4487
4488 2003-03-31  John Levon  <levon@movementarian.org>
4489
4490         * bufferlist.C: "Load original" -> "Load Original"
4491
4492         * converter.C:
4493         * exporter.C:
4494         * importer.C:
4495         * lyx_main.C:
4496         * format.C: more Alert cleanups
4497
4498 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4499
4500         * text2.C (removeParagraph): make it take a RowList::iterator as
4501         arg, adjust.
4502         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4503         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4504
4505         * text.C (anchor_row): make it take a RowList::iterator as arg,
4506         adjust.
4507         (computeBidiTables): make it take a const reference to Row instead
4508         of Row pointer, adjust.
4509         (leftMargin): make it take a RowList::iterator as arg, adjust.
4510         (rowBreakPoint): adjust
4511         (breakAgainOneRow): make it take a RowList::iterator as arg,
4512         adjust.
4513         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4514
4515         * bufferview_funcs.C (toggleAndShow): adjust
4516
4517 2003-03-30  John Levon  <levon@movementarian.org>
4518
4519         * Makefile.am:
4520         * BoostFormat.h:
4521         * boost-inst.C: moved to support
4522
4523         * several files: changes as a result
4524
4525 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4526
4527         * text2.C (LyXText): adjust.
4528         (init): adjust
4529         (removeRow): make it take a RowList::iterator as arg, adjust.
4530         (fullRebreak): adjust
4531         (deleteEmptyParagraphMechanism): adjust
4532         (clearPaint): adjust
4533         (postPaint): adjust
4534
4535         * text.C (top_y): adjust
4536         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4537         (breakAgain): make it take a RowList::iterator as arg, adjust.
4538         (breakParagraph): adjust
4539         (insertChar): adjust
4540         (backspace): adjust
4541
4542         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4543         need_break_row, and refresh_row.
4544
4545         * text3.C (dispatch): adjust
4546
4547         * text2.C (checkParagraph): adjust
4548         (setCursor): adjust
4549         (setCursorFromCoordinates): adjust
4550
4551         * text.C (top_y): adjust
4552         (workWidth): adjust
4553         (getRow): make it return a RowList::iterator, adjust
4554         (getRowNearY): make it return a RowList::iterator, adjust
4555
4556         * text2.C (init): adjust
4557         (insertRow): remove function
4558         (insertParagraph): adjust
4559         (redoParagraphs): adjust
4560         (fullRebreak): adjust
4561         (updateCounters): adjust
4562
4563         * text.C (top_y): rewrite to use RowList iterators.
4564         (top_y): adjust
4565         (setHeightOfRow): rewrite to sue RowList iterators.
4566         (appendParagraph): adjust
4567         (breakAgain): adjust
4568         (breakAgainOneRow): adjust
4569         (breakParagraph): adjust
4570         (getRow): adjust
4571         (getRowNearY): adjust, and remove commented code.
4572
4573         * lyxtext.h (firstRow): delete function
4574         (lastRow): delete function
4575         (rows): new function (const and non-const versions.)
4576         (insertRow): delete function
4577
4578         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4579
4580 2003-03-29  John Levon  <levon@movementarian.org>
4581
4582         * BufferView_pimpl.C: always update scrollbar top
4583         because pasting text when we're anchored could mean we
4584         miss an update altogether
4585
4586 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4587
4588         * text2.C (init): use rowlist_.end() and not 0.
4589         (insertRow): change to take a RowList::iterator as arg, adjust
4590         for this.
4591         (insertParagraph): change to take a RowList::iterator as arg,
4592         adjust for this.
4593         (redoParagraphs): remove some debug msgs.
4594
4595         * text.C (appendParagraph): change to take a RowList::iterator
4596         arg, adjust for this.
4597         (breakAgain): add an assert
4598         (breakAgainOneRow): ditto
4599
4600 2003-03-29  John Levon  <levon@movementarian.org>
4601
4602         * text2.C: do not clear selection after inc/decDepth
4603         (bug 550)
4604
4605 2003-03-29  John Levon  <levon@movementarian.org>
4606
4607         * BufferView.C:
4608         * buffer.C: fix broken strerrors according to Lars
4609
4610 2003-03-29  John Levon  <levon@movementarian.org>
4611
4612         * converters.C: more Alert cleanups
4613
4614 2003-03-29  John Levon  <levon@movementarian.org>
4615
4616         * bufferview_funcs.C: remove pointless Alert
4617
4618         * buffer.C: fix confusing error message when
4619         a template is chmoded 000
4620
4621 2003-03-29  John Levon  <levon@movementarian.org>
4622
4623         * BufferView.C:
4624         * BufferView.h:
4625         * BufferView_pimpl.C: Alert fixes
4626
4627         * Makefile.am:
4628         * tabular.C:
4629         * tabular-old.C: remove unused table compat reading
4630
4631 2003-03-29  John Levon  <levon@movementarian.org>
4632
4633         * BufferView.C:
4634         * buffer.C:
4635         * lyx_cb.h:
4636         * lyx_cb.C: more Alert cleanups
4637
4638         * lyxfunc.C: don't allow chktex if not latex document
4639
4640 2003-03-29  John Levon  <levon@movementarian.org>
4641
4642         * lyx_cb.C:
4643         * BufferView.C:
4644         * buffer.C: warnings pushed down from support/,
4645         kill err_alert
4646
4647 2003-03-29  John Levon  <levon@movementarian.org>
4648
4649         * lyxfunc.C: safety check for C-r (revert)
4650
4651 2003-03-29  John Levon  <levon@movementarian.org>
4652
4653         * bufferlist.h:
4654         * bufferlist.C: several UI fixes using Alert::prompt.
4655         Fix the pointless looping quit code. Fix stupid revert
4656         behaviour (bug 938)
4657
4658         * lyxvc.h:
4659         * lyxvc.C:
4660         * lyx_cb.C: use Alert::prompt
4661
4662         * lyx_main.C: remove a silly question
4663
4664         * lyxfunc.C: remove a couple of silly questions,
4665         use Alert::prompt
4666
4667 2003-03-28  John Levon  <levon@movementarian.org>
4668
4669         * text2.C: fix bug 974 (End on empty par)
4670
4671 2003-03-28  John Levon  <levon@movementarian.org>
4672
4673         * BufferView_pimpl.C:
4674         * LyXAction.C:
4675         * lfuns.h: remove do-nothing math greek lfuns
4676
4677 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4678
4679         * lyxgluelength.h (isValidGlueLength): add default arg on
4680         parameter 2. Remove default arg from friend in class.
4681
4682         * lyxlength.h (isValidLength): add default arg on parameter 2.
4683         Remove default arg from friend in class.
4684
4685         * text2.C (LyXText): adjust, initialize refresh_row.
4686         (init): adjust
4687         (removeRow): adjust
4688         (insertRow): adjust
4689         (insertParagraph): adjst
4690         (redoParagraphs): adjust
4691         (fullRebreak): adjust
4692         (updateCounters): adjust
4693         (deleteEmptyParagraphMechanism): first attempt at fixing a
4694         crashing bug.
4695
4696         * text.C (top_y): adjust
4697         (setHeightOfRow): adjust
4698         (getRow): adjust
4699         (getRowNearY): adjust
4700
4701         * lyxtext.h: include RowList.h
4702         (~LyXText): not needed anymore, deleted.
4703         (firstRow): modify for RowList
4704         (lastRow): new function
4705         Delete firstrow and lastrow class variables, add a Rowlist
4706         rowlist_ class variable.
4707
4708         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4709         paragraph is empty.
4710
4711         * RowList.C (insert): fix case where it == begin().
4712
4713 2003-03-26  Angus Leeming  <leeming@lyx.org>
4714
4715         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4716         the thesaurus dialog.
4717
4718 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4719
4720         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4721
4722         * RowList.[Ch]: new files
4723
4724         * ParagraphList.C (erase): handle the case where it == begin
4725         correctly.
4726
4727 2003-03-25  John Levon  <levon@movementarian.org>
4728
4729         * Makefile.am:
4730         * aspell_local.h:
4731         * aspell.C: add new aspell support
4732
4733         * lyxrc.h:
4734         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4735         have it accessible.
4736
4737 2003-03-25  Angus Leeming  <leeming@lyx.org>
4738
4739         * lfuns.h:
4740         * LyXAction.C (init): new LFUN_INSET_INSERT.
4741
4742         * BufferView_pimpl.C (dispatch): split out part of the
4743         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4744
4745         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4746         LFUN_INSET_APPLY.
4747
4748 2003-03-25  Angus Leeming  <leeming@lyx.org>
4749
4750         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4751
4752 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4753
4754         * text2.C:
4755         * text3.C: remove useless row->height(0)
4756
4757 2003-03-25  John Levon  <levon@movementarian.org>
4758
4759         * lyxtext.h:
4760         * text2.C:
4761         * text3.C: rename the refreshing stuff to better names
4762
4763 2003-03-24  John Levon  <levon@movementarian.org>
4764
4765         * BufferView_pimpl.h:
4766         * BufferView_pimpl.C: update layout choice on a mouse
4767         press/release
4768
4769 2003-03-23  John Levon  <levon@movementarian.org>
4770
4771         * Makefile.am: fix commandtags.h reference
4772
4773 2003-03-22  John Levon  <levon@movementarian.org>
4774
4775         * BufferView_pimpl.C:
4776         * lyxtext.h:
4777         * rowpainter.C:
4778         * rowpainter.h:
4779         * text.C:
4780         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4781
4782 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4783
4784         * lyxtext.h:
4785         * text.C: take the rtl methods out of line
4786
4787 2003-03-21 André Pönitz <poenitz@gmx.net>
4788
4789         * metricsinfo.[Ch]: new files containing structures to be passed around
4790         during the two-phase-drawing...
4791
4792 2003-03-21 André Pönitz <poenitz@gmx.net>
4793
4794         * lyxtextclass.C: read 'environment' tag.
4795
4796 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4797
4798         * text2.C (removeRow): fix bug 964
4799
4800 2003-03-20  John Levon  <levon@movementarian.org>
4801
4802         * rowpainter.C:
4803         * text.C:
4804         * text2.C: paint cleanups. Inset::update() dropped font
4805         parameter
4806
4807 2003-03-19  John Levon  <levon@movementarian.org>
4808
4809         * lyxfunc.C: only fitcursor/markDirty if available()
4810
4811 2003-03-19  John Levon  <levon@movementarian.org>
4812
4813         * commandtags.h: rename to ...
4814
4815         * lfuns.h: ... this, and renumber / cleanup
4816
4817 2003-03-19  John Levon  <levon@movementarian.org>
4818
4819         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4820         fit the cursor after an lfun
4821
4822         * BufferView.h:
4823         * BufferView.C:
4824         * BufferView_pimpl.h:
4825         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4826
4827         * LyXAction.C: layout-character should have ReadOnly
4828
4829         * ParagraphParameters.C:
4830         * buffer.C:
4831         * bufferview_funcs.C:
4832         * lyx_cb.C:
4833         * lyxfind.C:
4834         * lyxtext.h:
4835         * text.C:
4836         * text2.C:
4837         * text3.C:
4838         * undo_funcs.C: changes from above
4839
4840 2003-03-18  John Levon  <levon@movementarian.org>
4841
4842         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4843         remove it from update()
4844
4845         * lyxfunc.C: update layout choice after an lfun
4846
4847         * text3.C: remove extra updateLayoutChoice()s
4848
4849 2003-03-18  John Levon  <levon@movementarian.org>
4850
4851         * text.C: top_y change means full repaint, fix
4852         a drawing bug with cursor movement
4853
4854 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4855
4856         * lyxtext.h:
4857         * text.C:
4858         * text2.C: anchor row on setCursor
4859
4860 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4861
4862         * lyxtext.h: remove almost all mutable keywords
4863         * text.C:
4864         * text2.C:
4865         * text3.C: remove const keywords accordingly
4866
4867 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4868
4869         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4870         anon namespace
4871         (TeXEnvironment): ditto
4872         (TeXOnePar): ditto
4873
4874 2003-03-17  John Levon  <levon@movementarian.org>
4875
4876         * text.C (rowBreakPoint): remove attempt to fix displayed
4877         math insets inside a manual label
4878
4879 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4880
4881         * lyxtext.h: remove BufferView* as first arg from almost all class
4882         functions.
4883         * other files: adjust.
4884
4885 2003-03-17  John Levon  <levon@movementarian.org>
4886
4887         * lyxtext.h:
4888         * undo_funcs.C:
4889         * text2.C: more paint cleanups
4890
4891         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4892
4893         * rowpainter.h:
4894         * rowpainter.C: remove "smart" background painting code
4895
4896 2003-03-16  John Levon  <levon@movementarian.org>
4897
4898         * lyxtext.h:
4899         * text.C:
4900         * text2.C:
4901         * text3.C: add helper functions for setting refresh_row/y
4902
4903 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4904
4905         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4906         newline inset which *can* get inserted in the pass_thru layouts.
4907         This is primarily for literate documents.
4908
4909 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4910
4911         * buffer.C: increment LYX_FORMAT to 223
4912
4913 2003-03-14 André Pönitz <poenitz@gmx.net>
4914
4915         * textclass.h: prepare for environment handling, ws changes
4916         * lyxlayout.C: read latexheader and latexfooter tags
4917
4918 2003-03-14  John Levon  <levon@movementarian.org>
4919
4920         * text2.C: rewrite ::status() a bit
4921
4922 2003-03-13  John Levon  <levon@movementarian.org>
4923
4924         * lyxtext.h: add some docs
4925
4926 2003-03-13  John Levon  <levon@movementarian.org>
4927
4928         * lyxtext.h:
4929         * text.C:
4930         * text2.C:
4931         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4932
4933 2003-03-13  John Levon  <levon@movementarian.org>
4934
4935         * text3.C: fix appendix redrawing
4936
4937 2003-03-13  John Levon  <levon@movementarian.org>
4938
4939         * text.C (setHeightOfRow):
4940         * rowpainter.h:
4941         * rowpainter.C: make appendix mark have the text
4942           "Appendix" so the user knows what it is
4943
4944         * LColor.h:
4945         * LColor.C: s/appendixline/appendix/ from above
4946
4947 2003-03-13  John Levon  <levon@movementarian.org>
4948
4949         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4950
4951         * text.C: fix a getChar(pos) bug properly
4952
4953 2003-03-13  Angus Leeming  <leeming@lyx.org>
4954
4955         * commandtags.h:
4956         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4957         Probably only temporary. Let's see how things pan out.
4958
4959         * BufferView.C (unlockInset):
4960         * BufferView_pimpl.C (fitCursor):
4961         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4962
4963         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4964         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4965
4966         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4967         new functions that convert ParagraphParameters to and from a string.
4968
4969         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4970         BufferView::Pimpl's dispatch.
4971         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4972
4973 2003-03-13 André Pönitz <poenitz@gmx.net>
4974
4975         * lyxfunc.C:
4976         * text3.C:
4977         * factory.C: make it aware of InsetEnv
4978
4979 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4980
4981         * text2.C (setCursor): never ask for one past last
4982         (setCursor): add some debugging messages.
4983
4984         * text.C (singleWidth): never ask for one past last
4985         (singleWidth): ditto
4986         (leftMargin): ditto
4987         (rightMargin): ditto
4988         (rowBreakPoint): ditto
4989         (setHeightOfRow): ditto
4990         (prepareToPrint): ditto
4991
4992         * rowpainter.C (paintBackground): never ask for one past last
4993         (paintText): never ask for one past last
4994
4995         * paragraph_pimpl.C (getChar): make the assert stricter, never
4996         allow the one past last pos to be taken
4997
4998         * paragraph.C (getChar): ws changes only
4999
5000         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5001         (numberOfSeparators): ditto
5002         (numberOfHfills): ditto
5003
5004 2003-03-12  John Levon  <levon@movementarian.org>
5005
5006         * author.h:
5007         * author.C:
5008         * bufferparams.h:
5009         * bufferparams.C:
5010         * paragraph_funcs.C: fix per-buffer authorlists
5011
5012 2003-03-12  John Levon  <levon@movementarian.org>
5013
5014         * text.C: fix newline in right address
5015
5016 2003-03-12  Angus Leeming  <leeming@lyx.org>
5017
5018         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5019         duplicate those in LyXFunc::dispatch.
5020
5021         * commandtags.h:
5022         * LyXAction.C:
5023         * ToolbarDefaults.C:
5024         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5025         Add LFUN_FONTFREE_UPDATE.
5026
5027         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5028         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5029
5030         * bufferview_func.[Ch]: several new functions to facilliate
5031         transfer of data to and from the character dialog.
5032
5033 2003-03-12  John Levon  <levon@movementarian.org>
5034
5035         * buffer.C:
5036         * paragraph.h:
5037         * paragraph.C:
5038         * paragraph_funcs.C:
5039         * paragraph_pimpl.C:
5040         * sgml.C:
5041         * tabular.C:
5042         * text.C:
5043         * text3.C: remove META_NEWLINE in favour of an inset
5044
5045         * rowpainter.h:
5046         * rowpainter.C: remove paintNewline (done by inset)
5047
5048 2003-03-12  John Levon  <levon@movementarian.org>
5049
5050         * paragraph_pimpl.C: complain about bad getChar()s
5051         for a while at least
5052
5053 2003-03-12  John Levon  <levon@movementarian.org>
5054
5055         * buffer.h:
5056         * buffer.C: move paragraph read into a separate function,
5057         a little renaming to reflect that.
5058
5059         * bufferparams.h:
5060         * bufferparams.C: remove the author_ids map, not necessary now
5061
5062         * factory.h:
5063         * factory.C: moved Buffer::readInset to here
5064
5065         * paragraph_funcs.h:
5066         * paragraph_funcs.C: readParagraph free function moved from
5067         buffer.C
5068
5069         * tabular.C: name change
5070
5071 2003-03-12  John Levon  <levon@movementarian.org>
5072
5073         * buffer.C:
5074         * ParagraphParameters.C: move par params input to
5075         a read() method
5076
5077         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5078         behave like a normal read from the stream wrt reading
5079         a line vs. a \\token
5080
5081 2003-03-12  John Levon  <levon@movementarian.org>
5082
5083         * paragraph.C:
5084         * ParagraphParameters.h:
5085         * ParagraphParameters.C: move output code to a
5086         ::write() method
5087
5088 2003-03-12  John Levon  <levon@movementarian.org>
5089
5090         * BufferView.C (insertLyXFile):
5091         * buffer.h:
5092         * buffer.C:
5093         * tabular.C: use a parlist iterator for creating the
5094           document.
5095
5096 2003-03-12  John Levon  <levon@movementarian.org>
5097
5098         * buffer.C: make current_change static local not
5099           static file-scope
5100
5101 2003-03-12  John Levon  <levon@movementarian.org>
5102
5103         * buffer.C: fix insertStringAsLines for change tracking
5104
5105 2003-03-12  John Levon  <levon@movementarian.org>
5106
5107         * BufferView.C:
5108         * tabular.C:
5109         * buffer.h:
5110         * buffer.C:
5111         * bufferparams.h:
5112         * bufferparams.C: move author list into params. Rename some
5113           functions. Move the header reading into a separate token
5114           loop. Move the header token reading into BufferParams.
5115
5116 2003-03-12  John Levon  <levon@movementarian.org>
5117
5118         * changes.C: put debug inside lyxerr.debugging() checks
5119
5120 2003-03-11 André Pönitz <poenitz@gmx.net>
5121
5122         * factory.C: make it aware of InsetHFill
5123
5124 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5125
5126         * buffer.C (latexParagraphs): move function from here...
5127         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5128         args.
5129
5130 2003-03-10  Angus Leeming  <leeming@lyx.org>
5131
5132         * LyXAction.C (init): fix bug in poplating array with multiple entries
5133         with the same LFUN (spotted by JMarc).
5134
5135 2003-03-10  John Levon  <levon@movementarian.org>
5136
5137         * text.C:
5138         * text2.C: move getColumnNearX() near its
5139         only call site
5140
5141 2003-03-10  John Levon  <levon@movementarian.org>
5142
5143         * text.C: fix break before a minipage
5144
5145 2003-03-10  John Levon  <levon@movementarian.org>
5146
5147         * text.C: fix the last commit
5148
5149 2003-03-09  John Levon  <levon@movementarian.org>
5150
5151         * lyxtext.h:
5152         * text.C:
5153         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5154         bug 365 (don't break before insets unless needed). Don't
5155         return a value > last under any circumstances.
5156
5157 2003-03-09  Angus Leeming  <leeming@lyx.org>
5158
5159         * BufferView_pimpl.C (trackChanges, dispatch): call
5160         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5161
5162 2003-03-09  Angus Leeming  <leeming@lyx.org>
5163
5164         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5165         than Dialogs::showAboutlyx().
5166
5167 2003-03-09  Angus Leeming  <leeming@lyx.org>
5168
5169         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5170         than Dialogs::showTabularCreate().
5171
5172 2003-03-09  John Levon  <levon@movementarian.org>
5173
5174         * lyxtext.h:
5175         * text.C:
5176         * text2.C: 3rd arg to nextBreakPoint was always the same.
5177           Use references.
5178
5179 2003-03-08  John Levon  <levon@movementarian.org>
5180
5181         * lyxrow.C:
5182         * paragraph.C:
5183         * paragraph.h:
5184         * rowpainter.C:
5185         * text.C:
5186         * text2.C: Remove the "main" bit from the "main body"
5187           notion.
5188
5189 2003-03-08  John Levon  <levon@movementarian.org>
5190
5191         * text.C (leftMargin): The left margin of an empty
5192         manual label paragraph should not include the label width
5193         string length.
5194
5195         * text.C (prepareToPrint): don't attempt to measure hfills
5196         for empty manual label paragraphs - the answer should be 0
5197
5198 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5199
5200         * CutAndPaste.C: remove commented code and reindent.
5201
5202 2003-03-08  John Levon  <levon@movementarian.org>
5203
5204         * lyxfunc.h:
5205         * lyxfunc.C: move reloadBuffer()
5206
5207         * BufferView.h:
5208         * BufferView.C: to here
5209
5210         * lyxvc.C: add comment
5211
5212         * vc-backend.h:
5213         * vc-backend.C: call bv->reload() to avoid
5214           getStatus() check on MENURELOAD
5215
5216 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5217
5218         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5219         to an old format .dep file.
5220
5221 2003-03-07  Angus Leeming  <leeming@lyx.org>
5222
5223         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5224         when the LFUN_MOUSE_RELEASE should have been handled by
5225         inset->localDispatch.
5226
5227 2003-03-07  Angus Leeming  <leeming@lyx.org>
5228
5229         * BufferView_pimpl.C (dispatch):
5230         * LyXAction.C (init):
5231         * ToolbarDefaults.C (init):
5232         * commandtags.h:
5233         * lyxfunc.C (getStatus):
5234         remove LFUN_INSET_GRAPHICS.
5235
5236         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5237
5238 2003-03-07  Angus Leeming  <leeming@lyx.org>
5239
5240         * commandtags.h:
5241         * LyXAction.C (init):
5242         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5243
5244         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5245
5246         * commandtags.h:
5247         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5248
5249         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5250         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5251
5252 2003-03-07  Angus Leeming  <leeming@lyx.org>
5253
5254         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5255         remove "ert".
5256
5257 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5258
5259         * ParagraphList.C (front): new function
5260         (back): implement
5261
5262 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5263
5264         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5265         and top_row_offset_. removed var first_y.
5266         * text.C (top_y):
5267         * text2.C (LyXText, removeRow):
5268         * text3.C:
5269         * BufferView_pimpl.C:
5270         use these methods instead of using first_y
5271
5272 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5273
5274         * text2.C (pasteSelection): adjust for checkPastePossible
5275
5276         * CutAndPaste.C: remove Paragraph * buf and replace with
5277         ParagraphList paragraphs.
5278         (DeleteBuffer): delete
5279         (cutSelection): change the tc type to textclass_type
5280         (copySelection): change the tc type to textclass_type
5281         (copySelection): adjust for ParagraphList
5282         (pasteSelection): change the tc type to textclass_type
5283         (pasteSelection): adjust for Paragraphlist
5284         (nrOfParagraphs): simplify for ParagraphList
5285         (checkPastePossible): simplify for ParagraphList
5286         (checkPastePossible): remove unused arg
5287
5288         * ParagraphList.C (insert): handle the case where there are no
5289         paragraphs yet.
5290
5291         * CutAndPaste.h: make CutAndPaste a namespace.
5292
5293         * text3.C (dispatch): adjust
5294
5295         * text.C (breakParagraph): add a ParagraphList as arg
5296
5297         * paragraph_funcs.C (breakParagraph): change to take a
5298         BufferParams and a ParagraphList as args.
5299         (breakParagraphConservative): ditto
5300         (mergeParagraph): ditto
5301         (TeXDeeper): add a ParagraphList arg
5302         (TeXEnvironment): ditto
5303         (TeXOnePar): ditto
5304
5305         * buffer.C (readLyXformat2): adjust
5306         (insertStringAsLines): adjust
5307         (latexParagraphs): adjust
5308
5309         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5310         (cutSelection): adjust
5311         (pasteSelection): adjust
5312
5313         * BufferView_pimpl.C (insertInset): adjust
5314
5315 2003-03-05  Angus Leeming  <leeming@lyx.org>
5316
5317         * commandtags.h:
5318         * LyXAction.C (init):
5319         * BufferView_pimpl.C (dispatch):
5320         * lyxfunc.C (getStatus):
5321         remove LFUN_CHILD_INSERT.
5322
5323         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5324
5325 2003-03-05  Angus Leeming  <leeming@lyx.org>
5326
5327         * commandtags.h:
5328         * LyXAction.C (init):
5329         * src/factory.C (createInset):
5330         * lyxfunc.C (getStatus):
5331         * text3.C (dispatch):
5332         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5333
5334         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5335
5336 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5337
5338         * ParagraphList.C (insert): handle insert right before end()
5339         (erase): fix cases where it can be first or last paragraph.
5340
5341 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5342
5343         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5344         Paragraph::next and Paragraph::previous
5345         (TeXOnePar): ditto
5346
5347         * text.C (breakParagraph): adjust
5348
5349         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5350         BufferParams& as arg.
5351         (breakParagraph): use ParagraphList::insert
5352         (breakParagraphConservative): take a Buffer* instead of a
5353         BufferParams& as arg.
5354         (breakParagraphConservative): use ParagraphList::insert.
5355
5356         * buffer.C (insertStringAsLines): un-const it
5357         (insertStringAsLines): adjust
5358
5359         * ParagraphList.C (insert): new function
5360
5361         * CutAndPaste.C (pasteSelection): adjust
5362
5363         * text.C (backspace): adjust
5364
5365         * tabular.C (SetMultiColumn): adjust
5366
5367         * CutAndPaste.C (cutSelection): adjust
5368         (pasteSelection): adjust
5369
5370         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5371         Buffer const * as arg
5372
5373         * ParagraphList.C (erase): new function
5374         * paragraph_funcs.C (mergeParagraph): use it
5375         (mergeParagraph): make it take a Buffer* instead of a
5376         BufferParams* as arg
5377
5378         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5379         as arg
5380         (breakParagraphConservative): ditto
5381
5382         * paragraph.h: remove the breakParagraph friend
5383
5384         * paragraph.C (eraseIntern): new function
5385         (setChange): new function
5386
5387         * paragraph_funcs.C (mergeParagraph): make it take a
5388         ParagraphList::iterator instead of a Paragraph *, adjust
5389         accordingly.
5390
5391         * paragraph.h: move an #endif so that the change tracking stuff
5392         also works in the NO_NEXT case.
5393
5394 2003-03-04  Angus Leeming  <leeming@lyx.org>
5395
5396         * commandtags.h:
5397         * LyXAction.C: new LFUN_INSET_MODIFY.
5398
5399         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5400         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5401
5402 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5403
5404         * several files: ws changes only
5405
5406         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5407         (TeXEnvironment): ditto
5408         (TeXDeeper): ditto
5409
5410         * buffer.C (makeLaTeXFile): adjust
5411         (latexParagraphs): make it take ParagraphList::iterator as args
5412
5413 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5414
5415         * buffer.C (latexParagraphs): adjust
5416
5417         * paragraph.C (TeXOnePar): move function...
5418         (optArgInset): move function...
5419         (TeXEnvironment): move function...
5420         * paragraph_pimpl.C (TeXDeeper): move function...
5421         * paragraph_funcs.C: ...here
5422
5423         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5424
5425 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5426
5427         * buffer.C (readInset): remove compability code for old Figure and
5428         InsetInfo insets
5429
5430 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5431
5432         * buffer.C: ws changes
5433         (readInset):
5434
5435         * BufferView_pimpl.C: ditto
5436         * author.C: ditto
5437         * buffer.h: ditto
5438         * bufferlist.h: ditto
5439         * changes.h: ditto
5440         * lyxfunc.C: ditto
5441
5442 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5443
5444         * converter.[Ch]: split into itself +
5445         * graph.[Ch]
5446         * format.[Ch]
5447         * Makefile.am: += graph.[Ch] + format.[Ch]
5448         * MenuBackend.C
5449         * buffer.C
5450         * exporter.C
5451         * importer.C
5452         * lyx_main.C
5453         * lyxfunc.C
5454         * lyxrc.C: added #include "format.h"
5455
5456 2003-02-27  Angus Leeming  <leeming@lyx.org>
5457
5458         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5459           a label.
5460
5461         * factory.C (createInset): add "label" to the factory.
5462
5463         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5464           string and do no more.
5465
5466 2003-02-27  Angus Leeming  <leeming@lyx.org>
5467
5468         * commandtags.h:
5469         * LyXAction.C (init):
5470         * factory.C (createInset):
5471         * BufferView_pimpl.C (dispatch):
5472           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5473
5474         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5475
5476         * lyxfunc.C (dispatch):
5477         * text3.C (dispatch): pass name to params2string.
5478
5479 2003-02-26  Angus Leeming  <leeming@lyx.org>
5480
5481         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5482           blocks together.
5483           Rearrange the ~includes. Strip out the unnecessary ones.
5484
5485         * factory.C (createInset): reformat.
5486           create new insets for the various LFUN_XYZ_APPLY lfuns.
5487
5488 2003-02-26  John Levon  <levon@movementarian.org>
5489
5490         * lyxrow.h:
5491         * lyxrow.C: add isParStart,isParEnd helpers
5492
5493         * paragraph.h: make isInserted/DeletedText take refs
5494
5495         * paragraph_funcs.h:
5496         * paragraph_funcs.C: remove #if 0'd code
5497
5498         * lyxtext.h:
5499         * text3.C:
5500         * text2.C:
5501         * text.C: use lyxrow helpers above.
5502           Move draw and paint routines to RowPainter.
5503           Make several methods use refs not pointers.
5504           Make backgroundColor() const.
5505           Add markChangeInDraw(), isInInset().
5506           Merge changeRegionCase into changeCase.
5507           Make workWidth() shouldn't-happen code into an Assert.
5508
5509         * rowpainter.h:
5510         * rowpainter.C: new class for painting a row.
5511
5512         * vspace.h:
5513         * vspace.C: make inPixels take a ref
5514
5515 2003-02-26  Angus Leeming  <leeming@lyx.org>
5516
5517         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5518         LFUN_REF_APPLY.
5519
5520 2003-02-25  John Levon  <levon@movementarian.org>
5521
5522         * ispell.C: give the forked command a more accurate name
5523
5524 2003-02-22  John Levon  <levon@movementarian.org>
5525
5526         * toc.h:
5527         * toc.C: make TocItem store an id not a Paragraph *
5528           (bug #913)
5529
5530 2003-02-21  Angus Leeming  <leeming@lyx.org>
5531
5532         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5533           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5534           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5535           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5536           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5537           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5538
5539         * BufferView_pimpl.C (dispatch):
5540         * LyXAction.C (init):
5541         * factory.C (createInset):
5542         * lyxfunc.C (getStatus, dispatch):
5543         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5544
5545 2003-02-21  Angus Leeming  <leeming@lyx.org>
5546
5547         * BufferView_pimpl.C (MenuInsertLyXFile):
5548         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5549         * lyxfunc.C (menuNew, open, doImport):
5550           no longer pass a LyXView & to fileDlg.
5551
5552 2003-02-21  Angus Leeming  <leeming@lyx.org>
5553
5554         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5555         * LyXAction.C: change, BIBKEY to BIBITEM.
5556         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5557         Change InsetBibKey to InsetBibitem.
5558         Change BIBKEY_CODE to BIBITEM_CODE.
5559         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5560         * factory.C: replace insetbib.h with insetbibitem.h.
5561         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5562         * paragraph.C: replace insetbib.h with insetbibitem.h.
5563         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5564         Change bibkey() to bibitem().
5565         * text.C: remove insetbib.h.
5566         * text2.C: replace insetbib.h with insetbibitem.h.
5567         change bibkey() to bibitem().
5568         * text3.C: remove insetbib.h.
5569         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5570
5571 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5572
5573         * lyxrc.C (output): enclose user email in quotes (in case there are
5574         several words)
5575
5576 2003-02-18  John Levon  <levon@movementarian.org>
5577
5578         * buffer.h: add std::
5579
5580 2003-02-17  John Levon  <levon@movementarian.org>
5581
5582         * SpellBase.h:
5583         * ispell.h:
5584         * ispell.C:
5585         * pspell.h:
5586         * pspell.C: reworking. Especially in ispell, a large
5587           number of clean ups and bug fixes.
5588
5589         * lyxfunc.C: fix revert to behave sensibly
5590
5591 2003-02-17 André Pönitz <poenitz@gmx.net>
5592
5593         * LyXAction.C:
5594         * commandtags.h: new LFUN_INSERT_BIBKEY
5595
5596         * layout.h:
5597         * lyxlayout.C:
5598         * buffer.C:
5599         * factory.C:
5600         * text.C:
5601         * text2.C:
5602         * text3.C:
5603         * paragraph.[Ch]:
5604         * paragraph_func.C: remove special bibkey handling
5605
5606 2003-02-17  John Levon  <levon@movementarian.org>
5607
5608         * text.C (Delete): fix case where delete at the end of
5609           the very first paragraph would not merge the pars
5610
5611 2003-02-17  John Levon  <levon@movementarian.org>
5612
5613         * lyxrow.C: fix lastPrintablePos()
5614
5615 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5616
5617         * bufferparams.C (writeLaTeX): add a std:here
5618
5619         * buffer.C: and remove a using directive there
5620
5621 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5622
5623         * buffer.C (makeLaTeXFile): move the code that generates the
5624           preamble...
5625
5626         * bufferparams.C (writeLaTeX): ... in this new method
5627
5628         * LaTeXFeatures.C (getEncodingSet): make const
5629           (getLanguages): make const
5630
5631         * MenuBackend.C (binding): returns the binding associated to this
5632           action
5633           (add): sets the status of each item by calling getStatus. Adds
5634           some intelligence.
5635           (read): add support for OptSubMenu
5636           (expand): remove extra separator at the end of expanded menu
5637
5638 2003-02-15  John Levon  <levon@movementarian.org>
5639
5640         * BufferView.C:
5641         * BufferView_pimpl.C:
5642         * bufferlist.h:
5643         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5644           inset code that had no actual effect. Remove unneeded status
5645           code.
5646
5647 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5648
5649         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5650           in preamble
5651
5652 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5653
5654         * text.C (drawLengthMarker): also draw an arrow marker for
5655           symbolic lengths (medskip...)
5656
5657 2003-02-14  John Levon  <levon@movementarian.org>
5658
5659         * tabular.h:
5660         * tabular.C: better method names
5661
5662 2003-02-14  John Levon  <levon@movementarian.org>
5663
5664         * BufferView_pimpl.C:
5665         * bufferlist.C:
5666         * buffer.C:
5667         * converter.C:
5668         * lyx_cb.C:
5669         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5670           it's a more accurate name. Remove some pointless uses.
5671
5672 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5673
5674         * text2.C (LyXText): change order of initilizers to shut off
5675           warnings
5676
5677 2003-02-14  John Levon  <levon@movementarian.org>
5678
5679         * buffer.C: use ParIterator for getParFromID()
5680
5681         * paragraph.h:
5682         * paragraph.C:
5683         * paragraph_pimpl.h:
5684         * paragraph_pimpl.C: remove unused getParFromID()
5685
5686 2003-02-14  John Levon  <levon@movementarian.org>
5687
5688         * buffer.C: remove some very old #if 0'd parse code
5689
5690 2003-02-13  John Levon  <levon@movementarian.org>
5691
5692         * text.h:
5693         * text.C:
5694         * text2.C: move hfillExpansion(), numberOfSeparators(),
5695           rowLast(), rowLastPrintable(), numberofHfills(),
5696           numberOfLabelHfills() ...
5697
5698         * lyxrow.h:
5699         * lyxrow.C: ... to member functions here.
5700
5701         * paragraph.h:
5702         * paragraph.C:
5703         * lyxtext.h:
5704         * text.C: remove LyXText::beginningOfMainBody(), and call
5705           p->beginningOfMainBody() directly. Move the check for
5706           LABEL_MANUAL into the latter.
5707
5708         * text.h:
5709         * text.C:
5710         * text2.C:
5711         * vspace.C:
5712         * BufferView.h:
5713         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5714
5715         * text.h:
5716         * text.C:
5717         * text2.C:
5718         * text3.C:
5719         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5720           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5721
5722 2003-02-13  John Levon  <levon@movementarian.org>
5723
5724         * CutAndPaste.C: remove debug
5725
5726 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5727
5728         * paragraph.C (asString): remove two unused variables
5729
5730         * lyxtextclass.C (readTitleType):
5731           (Read):
5732           (LyXTextClass): handle new members titletype_ and titlename_
5733
5734         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5735
5736 2003-02-09  John Levon  <levon@movementarian.org>
5737
5738         * buffer.h:
5739         * buffer.C: replace hand-coded list with a map for the dep clean
5740
5741 2003-02-08  John Levon  <levon@movementarian.org>
5742
5743         * LaTeX.C: consolidate code into showRunMessage() helper
5744
5745 2003-02-08  John Levon  <levon@movementarian.org>
5746
5747         * lyxfind.C:
5748         * lyxtext.h:
5749         * text2.C:
5750         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5751           and pass the size in explicitly
5752
5753         * BufferView_pimpl.h:
5754         * BufferView_pimpl.C:
5755         * BufferView.h:
5756         * BufferView.C: add getCurrentChange()
5757
5758         * BufferView_pimpl.h:
5759         * BufferView_pimpl.C: handle change lfuns
5760
5761         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5762           for changes. Mark pasted paragraphs as new.
5763
5764         * support/lyxtime.h:
5765         * support/lyxtime.C:
5766         * DepTable.C: abstract time_t as lyx::time_type
5767
5768         * LColor.h:
5769         * LColor.C: add colours for new text, deleted text, changebars
5770
5771         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5772           package use "usenames" option.
5773
5774         * commandtags.h:
5775         * lyxfunc.C:
5776         * LyXAction.C: add change lfuns
5777
5778         * Makefile.am:
5779         * author.h:
5780         * author.C: author handling
5781
5782         * buffer.h:
5783         * buffer.C: add a per-buffer author list, with first entry as
5784           current author. Handle new .lyx tokens for change tracking. Output
5785           author list to .lyx file. Output dvipost stuff to .tex preamble.
5786           Bump lyx format to 222.
5787
5788         * bufferlist.h:
5789         * bufferlist.C: add setCurrentAuthor() to reset current author details
5790           in all buffers.
5791
5792         * bufferparams.h:
5793         * bufferparams.C: add param for tracking
5794
5795         * bufferview_funcs.C: output change info in minibuffer
5796
5797         * Makefile.am:
5798         * changes.h:
5799         * changes.C: add change-tracking structure
5800
5801         * debug.h:
5802         * debug.C: add CHANGES debug flag
5803
5804         * lyxfind.h:
5805         * lyxfind.C: add code for finding the next change piece
5806
5807         * lyxrc.h:
5808         * lyxrc.C: add user_name and user_email
5809
5810         * lyxrow.h:
5811         * lyxrow.C: add a metric for the top of the text line
5812
5813         * lyxtext.h:
5814         * text.C: implement accept/rejectChange()
5815
5816         * lyxtext.h:
5817         * text.C: paint changebars. Paint new/deleted text in the chosen
5818         colours. Strike through deleted text.
5819
5820         * paragraph.h:
5821         * paragraph.C:
5822         * paragraph_pimpl.h:
5823         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5824           in the current change to the insert functions. Rework erase to
5825           mark text as deleted, adding an eraseIntern() and a range-based
5826           erase(). Implement per-paragraph change lookup and
5827           accept/reject.
5828
5829         * paragraph_funcs.C: Fixup paste for change tracking.
5830
5831         * tabular.C: mark added row/columns as new.
5832
5833         * text.C: fix rowLast() to never return -1. Don't allow
5834           spellchecking of deleted text. Track transpose changes. Don't
5835           allow paragraph break or merge where appropriate.
5836
5837         * text2.C: leave cursor at end of selection after a cut.
5838
5839 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5840
5841         * text.C (getLengthMarkerHeight):
5842         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5843         visible on screen too.
5844
5845 2003-02-07  John Levon  <levon@movementarian.org>
5846
5847         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5848
5849 2003-02-05  Angus Leeming  <leeming@lyx.org>
5850
5851         * lyxserver.C (read_ready): revert my patch of 11 September last year
5852         as it sends PC cpu through the roof. Presumably this means that
5853         the lyxserver will no longer run on an Alpha...
5854
5855 2003-01-30  Angus Leeming  <leeming@lyx.org>
5856
5857         * factory.C (createInset): create an InsetCommandParam of type "index"
5858         and use it to 'do the right thing'.
5859
5860         * text2.C (getStringToIndex): ensure that cursor position is always
5861         reset to the reset_cursor position.
5862
5863 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5864
5865         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5866         disabled.
5867
5868 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5869
5870         * bufferview.C:
5871         * lyxcb.C:
5872         * lyxfunc.C: Output messages with identical spelling, punctuation,
5873         and spaces
5874
5875 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5876
5877         * MenuBackend.C (expandFormats): List only viewable export formats
5878         in "View" menu
5879
5880         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5881         message
5882
5883         * lyxfunc.C (getStatus): Make sure that formats other than
5884         "fax" can also be disabled
5885
5886 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5887
5888         * text3.C (dispatch): put the lfuns that insert insets in 3
5889         groups, and call doInsertInset with appropriate arguments.
5890         (doInsertInset): new function, that creates an inset and inserts
5891         it according to some boolean parameters.
5892
5893 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5894
5895         * buffer.C (readFile): remember to pass on 'par' when calling
5896         readFile recursively.
5897
5898 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5899
5900         * MenuBackend.C (expandFormats): add "..." to import formats.
5901
5902 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5903
5904         * paragraph.C (asString): Remove XForms RTL hacks.
5905
5906 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5907         * buffer.C: fix typo
5908
5909 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5910
5911         * Makefile.am (LIBS): delete var
5912         (lyx_LDADD): add @LIBS@ here instead.
5913
5914 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5915
5916         * Clarify the meaning of "wheel mouse jump"
5917
5918 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5919
5920         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5921         tabular in a float
5922
5923 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5924
5925         * importer.C (Loaders): do not preallocate 3 elements in the
5926         vector, since one ends up with 6 elements otherwise
5927
5928 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5929
5930         * DepTable.C (write): write the file name as last element of the
5931         .dep file (because it may contain spaces)
5932         (read): read info in the right order
5933
5934 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5935
5936         * paragraph_pimpl.C (simpleTeXBlanks):
5937         (simpleTeXSpecialChars):
5938         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5939
5940         * tabular.C (latex): add some missing case statements. Reindent.
5941
5942         * MenuBackend.C (expandToc): remove unused variable.
5943
5944 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5945
5946         * LColor.C:
5947         * LaTeX.C:
5948         * LyXAction.C:
5949         * MenuBackend.C:
5950         * buffer.C:
5951         * exporter.C:
5952         * lyxfunc.C:
5953         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5954         and the like.
5955
5956 2003-01-05  John Levon  <levon@movementarian.org>
5957
5958         * BufferView.h:
5959         * BufferView.C: add getEncoding()
5960
5961         * kbsequence.h:
5962         * kbsequence.C: do not store last keypress
5963
5964         * lyxfunc.h:
5965         * lyxfunc.C: store last keypress here instead. Pass encoding
5966           to getISOEncoded()
5967
5968 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5969
5970         * lyx_main.C (init): remove annoying error message when following
5971         symbolic links (bug #780)
5972
5973 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5974
5975         * text.C (insertChar):
5976         * lyxrc.C (getDescription): remove extra spaces
5977
5978 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5979
5980         * lyxrc.C (getDescription): remove extra spaces
5981
5982 2002-12-20  John Levon  <levon@movementarian.org>
5983
5984         * text3.C: hack fix for page up/down across tall rows
5985
5986 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5987
5988         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5989         not been invoked
5990
5991 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5992
5993         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5994         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5995         thesaurus is not compiled in
5996
5997 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5998
5999         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6000
6001 2002-12-16  Angus Leeming  <leeming@lyx.org>
6002
6003         * lyxrc.[Ch]:
6004         * lyx_main.C (init): remove override_x_deadkeys stuff.
6005
6006 2002-12-12  John Levon  <levon@movementarian.org>
6007
6008         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6009           insert. Only remove shift modifier under strict
6010           circumstances.
6011
6012 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6013
6014         * MenuBackend.C (expandToc): fix crash.
6015
6016 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6017
6018         * MenuBackend.C (expandToc): gettext on float names.
6019
6020 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6021
6022         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6023         implement bool empty() [bug 490]
6024
6025 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6026
6027         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6028
6029 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6030
6031         * several files: ws changes
6032
6033 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6034
6035         * text2.C (setCounter): clean up a bit, use boost.format.
6036         (updateCounters): initialize par upon declaration.
6037
6038         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6039         if the layout exists. We do not just store the layout any more.
6040         (SwitchLayoutsBetweenClasses): use boost.format
6041
6042 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6043
6044         * converter.C (convert): if from and to files are the same, use a
6045         temporary files as intermediary
6046
6047 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6048
6049         * commandtags.h:
6050         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6051
6052 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6053
6054         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6055
6056 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6057
6058         * tabular.C (asciiPrintCell): use string(size, char) instead of
6059         explicit loop.
6060
6061         * sgml.C (openTag): fix order of arguments to string constructor
6062         (closeTag): ditto
6063
6064         * lyxfunc.C (dispatch): use boost.format
6065
6066         * lots of files: change "c" -> 'c'
6067
6068 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6069
6070         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6071
6072 2002-11-25  Angus Leeming  <leeming@lyx.org>
6073
6074         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6075
6076         * lyx_main.C (init): compile fix.
6077
6078 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6079
6080         * lyx_cb.C (start): boost.formatify
6081         do not include <iostream>
6082
6083         * lengthcommon.C: ws only
6084
6085         * boost-inst.C,BoostFormat.h: add more explict instantations
6086
6087 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6088
6089         * lots of files: handle USE_BOOST_FORMAT
6090
6091 2002-11-21  John Levon  <levon@movementarian.org>
6092
6093         * pspell.C: fix compile
6094
6095 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6096
6097         * lyxfunc.C (dispatch): use boost::format
6098         (open): ditto
6099         (doImport): ditto
6100
6101         * lyxfont.C (stateText): use boost::format
6102
6103         * lyx_main.C (LyX): use boost::format
6104         (init): ditto
6105         (queryUserLyXDir): ditto
6106         (readRcFile): ditto
6107         (parse_dbg): ditto
6108         (typedef boost::function): use the recommened syntax.
6109
6110         * importer.C (Import): use boost::format
6111
6112         * debug.C (showLevel): use boost::format
6113
6114         * converter.C (view): use boost::format
6115         (convert): ditto
6116         (move): ditto
6117         (scanLog): ditto
6118
6119         * bufferview_funcs.C (currentState): use boost::format
6120
6121         * bufferlist.C (emergencyWrite): use boost::format
6122
6123         * buffer.C (readLyXformat2): use boost::format
6124         (parseSingleLyXformat2Token): ditto
6125
6126         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6127
6128         * LaTeX.C (run): use boost::format
6129
6130         * Chktex.C (scanLogFile): use boost::format
6131
6132         * BufferView_pimpl.C (savePosition): use boost::format
6133         (restorePosition): ditto
6134         (MenuInsertLyXFile): ditto
6135
6136         * BoostFormat.h: help file for explicit instation.
6137
6138 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6139
6140         * tabular.C (latex): Support for block alignment in fixed width
6141         columns.
6142
6143 2002-11-17  John Levon  <levon@movementarian.org>
6144
6145         * BufferView_pimpl.C:
6146         * lyx_cb.C:
6147         * lyxfunc.C: split filedialog into open/save
6148
6149 2002-11-08  Juergen Vigna  <jug@sad.it>
6150
6151         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6152         by my last patch (hopefully).
6153
6154 2002-11-08  John Levon  <levon@movementarian.org>
6155
6156         * iterators.h:
6157         * iterators.C:
6158         * buffer.h:
6159         * buffer.C:
6160         * paragraph.h:
6161         * paragraph.C:
6162         * toc.h:
6163         * toc.C: ParConstIterator, and use it (from Lars)
6164
6165 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6166
6167         * lyxtextclass.[Ch]: revise and add doxygen comments
6168
6169 2002-11-07  John Levon  <levon@movementarian.org>
6170
6171         * text.C: fix progress value for spellchecker
6172
6173         * toc.C: fix navigate menu for insetwrap inside minipage
6174
6175         * paragraph_funcs.C: added FIXME for suspect code
6176
6177 2002-11-07  John Levon  <levon@movementarian.org>
6178
6179         * BufferView_pimpl.C: fix redrawing of insets
6180           on buffer switch
6181
6182 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6183
6184         * text2.C (updateCounters): fix bug 668
6185
6186 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6187
6188         * text3.C (dispatch): Do not make the buffer dirty when moving the
6189         cursor.
6190
6191 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6192
6193         * vc-backend.C: STRCONV
6194         (scanMaster): ditto
6195
6196         * text2.C (setCounter): STRCONV
6197
6198         * paragraph.C (asString): STRCONV
6199
6200         * lyxlength.C (asString): STRCONV
6201         (asLatexString): ditto
6202
6203         * lyxgluelength.C (asString): STRCONV
6204         (asLatexString): ditto
6205
6206         * lyxfunc.C (dispatch): STRCONV
6207         (open): ditto
6208
6209         * lyxfont.C (stateText): STRCONV
6210
6211         * importer.C (Import): STRCONV
6212
6213         * counters.C (labelItem): STRCONV
6214         (numberLabel): ditto
6215         (numberLabel): remove unused ostringstream o
6216
6217         * chset.C: STRCONV
6218         (loadFile): ditto
6219
6220         * bufferview_funcs.C (currentState): STRCONV
6221
6222         * buffer.C (readFile): STRCONV
6223         (asciiParagraph): ditto
6224         (makeLaTeXFile): ditto
6225
6226         * Spacing.C (writeEnvirBegin): STRCONV
6227
6228         * LaTeXFeatures.C (getLanguages): STRCONV
6229         (getPackages): ditto
6230         (getMacros): ditto
6231         (getBabelOptions): ditto
6232         (getTClassPreamble): ditto
6233         (getLyXSGMLEntities): ditto
6234         (getIncludedFiles): ditto
6235
6236         * LaTeX.C: STRCONV
6237         (run): ditto
6238         (scanAuxFile): ditto
6239         (deplog): ditto
6240
6241         * LString.h: add the STRCONV macros
6242
6243         * BufferView_pimpl.C (savePosition): STRCONV
6244         (restorePosition): ditto
6245         (MenuInsertLyXFile): ditto
6246
6247         * vc-backend.C (scanMaster): change from submatch[...] to
6248         submatch.str(...)
6249
6250         * funcrequest.C: include config.h
6251
6252         * factory.C: include config.h
6253
6254         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6255
6256         * box.C: include config.h
6257
6258         * LaTeX.C (scanAuxFile): change from submatch[...] to
6259         submatch.str(...)
6260         (deplog): ditto
6261
6262 2002-10-25  Angus Leeming  <leeming@lyx.org>
6263
6264         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6265
6266         * ispell.[Ch] (setError): new method.
6267         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6268         Use setError() insetead of goto END.
6269
6270         * lyx_cb.C (AutoSave): move out child process into new class
6271         AutoSaveBuffer.
6272
6273 2002-10-30  John Levon  <levon@movementarian.org>
6274
6275         * text3.C: make start appendix undoable
6276
6277 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6278
6279         * lyxlength.C (inPixels): Fix returned value.
6280
6281         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6282         environment.
6283
6284 2002-10-24  Angus Leeming  <leeming@lyx.org>
6285
6286         * lyxgluelength.h: no need to forward declare BufferParams
6287         or BufferView, so don't.
6288
6289 2002-10-21  John Levon  <levon@movementarian.org>
6290
6291         * BufferView.C: menuUndo ->undo, redo
6292
6293         * BufferView.h: document, remove dead, make some methods private
6294
6295         * paragraph_funcs.h:
6296         * paragraph_funcs.C:
6297         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6298
6299         * buffer.h:
6300         * buffer.C:
6301         * sgml.h:
6302         * sgml.C: move sgml open/close tag into sgml.C
6303
6304         * bufferview_funcs.h: unused prototype
6305
6306         * lyxfunc.h:
6307         * lyxfunc.C: remove unused
6308
6309         * lyxtext.h:
6310         * text.C: remove unused
6311
6312 2002-10-21  John Levon  <levon@movementarian.org>
6313
6314         * BufferView.h:
6315         * BufferView.C:
6316         * BufferView_pimpl.h:
6317         * BufferView_pimpl.C: fix mouse wheel handling based on
6318           patch from Darren Freeman
6319
6320 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6321
6322         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6323
6324 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6325
6326         * lyxlength.C (inPixels): Fix hanfling of negative length.
6327         Fix LyXLength::MU case.
6328
6329 2002-10-16  John Levon  <levon@movementarian.org>
6330
6331         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6332
6333 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6334
6335         * converter.C (view): add support for $$i (file name) and $$p
6336         (file path) for the viewer command. If $$i is not specified, then
6337         it is appended to the command (for compatibility with old syntax)
6338
6339 2002-10-14  Juergen Vigna  <jug@sad.it>
6340
6341         * undo_funcs.C (textHandleUndo): alter the order in which the
6342         new undopar is added to the LyXText, as we have to set first
6343         the right prev/next and then add it as otherwise the rebuild of
6344         LyXText is not correct. Also reset the cursor to the right paragraph,
6345         with this IMO we could remove the hack in "redoParagraphs()".
6346
6347 2002-10-09  Angus Leeming  <leeming@lyx.org>
6348
6349         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6350         to turn off an optimisation if a new inset is to be inserted.
6351
6352 2002-10-11 André Pönitz <poenitz@gmx.net>
6353
6354         * lyxtext.h: make some functions public to allow access
6355         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6356
6357 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6358
6359         * text3.C (dispatch): when changing layout, avoid an infinite loop
6360         [bug #652]
6361
6362 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6363
6364         * lyxrc.C (read): treat a viewer or converter command of "none" as
6365         if it were empty.
6366
6367         * MenuBackend.C (expandFormats): for an update, also allow the
6368         formats that are not viewable
6369
6370         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6371         script if it is newer than the lyxrc.defaults in user directory
6372
6373 2002-10-07 André Pönitz <poenitz@gmx.net>
6374
6375         * text.C: Vitaly Lipatov's small i18n fix
6376
6377 2002-09-25  Angus Leeming  <leeming@lyx.org>
6378
6379         * ispell.h: doxygen fix.
6380
6381 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6382
6383         * buffer.h (readFile): Add a new argument to the method, to allow
6384         reading of old-format templates.
6385
6386 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6387
6388         * toc.C (getTocList): Get TOC from InsetWrap.
6389
6390 2002-09-16  John Levon  <levon@movementarian.org>
6391
6392         * lyxfunc.C: check tabular for cut/copy too
6393
6394 2002-09-12  John Levon  <levon@movementarian.org>
6395
6396         * LyXAction.C: tidy
6397
6398         * factory.h:
6399         * factory.C: add header
6400
6401         * paragraph_funcs.h:
6402         * paragraph_funcs.C: cleanup
6403
6404 2002-09-11  John Levon  <levon@movementarian.org>
6405
6406         * PrinterParams.h: odd/even default to true
6407
6408 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6409
6410         * PrinterParams.h: update printer parameters for new xforms dialog
6411
6412 2002-09-11  Angus Leeming  <leeming@lyx.org>
6413
6414         * lyxserver.C (read_ready): re-write to make it more transparent
6415         and to make it work in coherent fashion under Tru64 Unix.
6416
6417 2002-09-11  André Pönitz <poenitz@gmx.net>
6418
6419         * commandtags.h:
6420         * LyXAction.C:
6421         * text3.C: implement LFUN_WORDSEL
6422
6423 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6424
6425         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6426         make floatlist_ a boost::shared_ptr<FloatList>
6427
6428         * lyxtextclass.C: include FloatList.h
6429         (LyXTextClass): initialize floatlist_
6430         (TextClassTags): add TC_NOFLOAT
6431         (Read): match "nofloat" to TC_NOFLOAT and use it.
6432         (readFloat): modify call to floatlist_
6433         (floats): ditto
6434         (floats): ditto
6435
6436         * FloatList.[Ch] (FloatList): remove commented out float
6437         initialization.
6438         (erase): new function
6439
6440 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6441
6442         * MenuBackend.C (expandToc): fix crash when there is no document
6443         open
6444
6445 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6446
6447         * many files: Add insetwrap.
6448
6449 2002-09-09  John Levon  <levon@movementarian.org>
6450
6451         * text2.C: remove confusing and awkward depth wraparound
6452
6453 2002-09-09  John Levon  <levon@movementarian.org>
6454
6455         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6456
6457         * buffer.h:
6458         * buffer.C: remove getIncludeonlyList()
6459
6460         * paragraph.C:
6461         * lyxfunc.C: remove headers
6462
6463 2002-09-09  Juergen Vigna  <jug@sad.it>
6464
6465         * text.C (getColumnNearX): fix form Michael this is most
6466         probably a cut&paste bug.
6467
6468 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6469
6470         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6471
6472         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6473         references, ws changes.
6474
6475         * text2.C (init): update counters after init
6476         (insertParagraph): no need to set counter on idividual paragraphs.
6477         (setCounter): access the counters object in the textclass object
6478         on in the buffer object.
6479         (updateCounters): ditto
6480
6481         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6482         shared_ptr<Counters> to avoid loading counters.h in all
6483         compilation units.
6484         (LyXTextClass): initialize ctrs_
6485         (TextClassTags): add TC_COUNTER, and ...
6486         (Read): use it here.
6487         (CounterTags): new tags
6488         (readCounter): new function
6489         (counters): new funtion
6490         (defaultLayoutName): return a const reference
6491
6492         * counters.C (Counters): remove contructor
6493         (newCounter): remove a couple of unneeded statements.
6494         (newCounter): simplify a bit.
6495         (numberLabel): some small formatting changes.
6496
6497         * buffer.[Ch]: remove all traces of counters, move the Counters
6498         object to the LyXTextClass.
6499
6500 2002-09-06  Alain Castera  <castera@in2p3.fr>
6501
6502         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6503         package to set the horizontal alignment on fixed width columns.
6504
6505         * lyx_sty.C:
6506         * lyx_sty.h: added tabularnewline macro def.
6507
6508         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6509
6510 2002-09-06  John Levon  <levon@movementarian.org>
6511
6512         * LyXAction.C: tooltips for sub/superscript
6513
6514         * MenuBackend.C: a bit more verbose
6515
6516         * lyxfunc.C: tiny clean
6517
6518         * undo_funcs.C: document undo_frozen
6519
6520 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6521
6522         * counters.C (Counters): add missing algorithm counter.
6523
6524         * text2.C (setCounter): lookup the counter with layouts latexname
6525         instead of by section number.
6526         (setCounter): use a hackish way to lookup the correct enum
6527         counter.
6528         a float name->type change
6529         reset enum couners with counter name directly instead of depth value.
6530
6531         * counters.C (Counters): remove the push_backs, change to use the
6532         float type not the float name.
6533         (labelItem): remove unused string, float name->type change
6534
6535         * counters.h: don't include vector, loose the enums and sects vectors
6536
6537 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6538
6539         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6540         (Read): add float->TC_FLOAT to textclassTags
6541         (Read): and handle it in the switch
6542         (readFloat): new function
6543
6544         * FloatList.C (FloatList): comment out the hardcoded float
6545         definitions.
6546
6547         * lyxlayout.h: ws change.
6548
6549 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6550
6551         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6552
6553 2002-09-03  Angus Leeming  <leeming@lyx.org>
6554
6555         * BufferView_pimpl.h: qualified name is not allowed in member
6556         declaration: WorkArea & Pimpl::workarea() const;
6557
6558         * factory.C: added using std::endl directive.
6559
6560         * text3.C: added using std::find and std::vector directives.
6561
6562 2002-08-29  André Pönitz <poenitz@gmx.net>
6563
6564         * lyxtext.h:
6565         * text2.C: remove unused member number_of_rows
6566
6567         * Makefile.am:
6568         * BufferView2.C: remove file, move contents to...
6569         * BufferView.C: ... here
6570
6571         * BufferView_pimpl.C:
6572         * factory.C: move more inset creation to factory
6573
6574         * vspace.C: avoid direct usage of LyXText, ws changes
6575
6576         * BufferView.[Ch]:
6577                 don't provide direct access to WorkArea, use two simple
6578                 acessors haveSelction() and workHeight() instead
6579
6580
6581 2002-08-29  John Levon  <levon@movementarian.org>
6582
6583         * BufferView_pimpl.C (dispatch): do not continue when
6584           no buffer
6585
6586 2002-08-28  André Pönitz <poenitz@gmx.net>
6587
6588         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6589
6590         * BufferView.h:
6591         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6592
6593 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6594
6595         * buffer.C: increment LYX_FORMAT to 221
6596
6597         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6598         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6599
6600         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6601
6602         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6603
6604 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6605
6606         * factory.C (createInset): use LyXTextClass::floats
6607
6608         * MenuBackend.C (expandFloatListInsert):
6609         (expandFloatInsert):
6610         (expandToc):
6611
6612         * text2.C (setCounter):
6613
6614         * LaTeXFeatures.C (useFloat):
6615         (getFloatDefinitions):
6616
6617         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6618
6619         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6620         floatlist_, with accessor floats().
6621
6622         * FloatList.h: remove global FloatList
6623
6624 2002-08-26  André Pönitz <poenitz@gmx.net>
6625
6626         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6627
6628         * BufferView.h:
6629         * BufferView2.C:
6630         * BufferView_pimpl.C:
6631         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6632
6633 2002-08-25  John Levon  <levon@movementarian.org>
6634
6635         * LyXAction.C: fix margin note description
6636
6637 2002-08-24  John Levon  <levon@movementarian.org>
6638
6639         * buffer.C:
6640         * bufferlist.C:
6641         * bufferview_funcs.C:
6642         * lyxfont.C:
6643         * undo_funcs.C: cleanups
6644
6645         * lyxfunc.C: disable CUT/COPY when no selection
6646
6647 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6648
6649         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6650         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6651
6652         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6653         Add backward compatibility to "mono", "gray" and "no".
6654
6655 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6656
6657         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6658         (and file_format >= 200).
6659
6660 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6661
6662         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6663
6664 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6665
6666         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6667
6668 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6669
6670         * BufferView_pimpl.C:
6671         * LyXAction.C:
6672         * buffer.C:
6673         * commandtags.h:
6674         * lyxfunc.C:
6675         * paragraph.[Ch]:
6676         * text2.C:
6677         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6678         inset and code to make it  work with the paragraph code. The inset
6679         can be anywhere in the paragraph, but will only do the expected
6680         thing in LaTeX if the layout file contains the parameter line
6681                         OptionalArgs    1
6682         (or more generally, a nonzero value) for that layout.
6683
6684 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6685
6686         * paragraph.h: remove the declaration of undefined counters class
6687         function.
6688
6689 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6690
6691         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6692         Dr. Richard Hawkins.
6693
6694 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6695
6696         * paragraph_funcs.h: remove some unneeded includes
6697
6698         * text.C (backspace): pasteParagraph now in global scipe
6699
6700         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6701         (pasteSelection): ditto
6702
6703         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6704         * paragraph_funcs.C (pasteParagraph): ... here
6705
6706 2002-08-20  André Pönitz <poenitz@gmx.net>
6707
6708         * commandtags.h: new LFUNs for swapping/copying table row/colums
6709
6710         * LyXAction.C:
6711         * lyxfunc.C: support for new lfuns
6712
6713 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6714
6715         * tabular.C:
6716         * buffer.[Ch]: remove NO_COMPABILITY stuff
6717
6718 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6719
6720         * boost.C (throw_exception): new file, with helper function for
6721         boost compiled without exceptions.
6722
6723         * paragraph.h:
6724         * lyxlength.C:
6725         * buffer.C:
6726         * ParameterStruct.h:
6727         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6728
6729         * bufferlist.C (emergencyWriteAll): use boost bind
6730
6731         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6732
6733         * text.C: include paragraph_funcs.h
6734         (breakParagraph): breakParagraph is now in global scope
6735
6736         * paragraph_funcs.[Ch]: new files
6737
6738         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6739         global scope
6740
6741         * buffer.C: include paragraph_funcs.h
6742         (insertStringAsLines): breakParagraph is now in global scope
6743
6744         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6745         paragraph_funcs.C
6746
6747         * CutAndPaste.C: include paragraph_funcs.h
6748         (cutSelection): breakParagraphConservative is now in global scope
6749         (pasteSelection): ditto
6750
6751         * buffer.h: declare oprator== and operator!= for
6752         Buffer::inset_iterator
6753
6754         * bufferlist.C (emergencyWrite): don't use fmt(...)
6755
6756         * text3.C: add using std::endl
6757
6758         * BufferView.C (moveCursorUpdate): remove default arg
6759
6760 2002-08-20  André Pönitz <poenitz@gmx.net>
6761
6762         * buffer.[Ch]: move inline functions to .C
6763
6764         * BufferView2.C:
6765         * BufferView_pimpl.C:
6766         * text.C:
6767         * buffer.[Ch]: use improved inset_iterator
6768
6769         * buffer.C:
6770         * paragraph.[Ch]: write one paragraph at a time
6771
6772 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6773
6774         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6775         style if style is not specified.
6776
6777 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6778
6779         * text2.C (setCounter): when searching for right label for a
6780         caption, make sure to recurse to parent insets (so that a caption
6781         in a minipage in a figure float works) (bug #568)
6782
6783 2002-08-20  André Pönitz <poenitz@gmx.net>
6784
6785         * text3.C: new file for LyXText::dispatch() and helpers
6786
6787         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6788
6789         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6790
6791 2002-08-19  André Pönitz <poenitz@gmx.net>
6792
6793         * lyxtext.h:
6794         * text.C: new LyXText::dispatch()
6795
6796         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6797
6798 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6799
6800         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6801
6802         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6803         Hebrew text.
6804
6805 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6806
6807         * Makefile.am: use $(variables) instead of @substitutions@
6808
6809 2002-08-15  André Pönitz <poenitz@gmx.net>
6810
6811         * lyxfunc.C:
6812         * BufferView_pimpl.C: streamlining mathed <-> outer world
6813         interaction
6814
6815         * commandtags.h:
6816         * LyXAction.C: remove unused LFUN_MATH
6817
6818 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6819
6820         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6821
6822 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6823
6824         * paragraph.C (Paragraph): reformat a bit
6825         (cutIntoMinibuffer): use builtin InsetList function instad of
6826         doing it manually.
6827         (getInset): ditto
6828
6829         * buffer.C: include boost/bind.hpp, add using std::for_each
6830         (writeFileAscii): use ParagraphList iterators
6831         (validate): use for_each for validate traversal of paragraphs
6832         (getBibkeyList): use ParagraphList iterators
6833         (resizeInsets): use for_each to resizeInsetsLyXText for all
6834         paragraphs.
6835         (getParFromID): use ParagraphList iterators
6836
6837         * BufferView2.C (lockInset): use paragraph list and iterators
6838
6839 2002-08-14  John Levon  <levon@movementarian.org>
6840
6841         * lyxserver.C: remove spurious xforms include
6842
6843 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6844
6845         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6846
6847 2002-08-13  André Pönitz <poenitz@gmx.net>
6848
6849         * LyXAction.[Ch]:
6850         * lyxfunc.C: further cleaning
6851
6852 2002-08-13  André Pönitz <poenitz@gmx.net>
6853
6854         * funcrequest.h: new constructor
6855
6856         * funcrequest.C: move stuff here from .h
6857
6858         * Makefile.am:
6859         * BufferView_pimpl.C:
6860         * LyXAction.C:
6861         * toc.C:
6862         * lyxfunc.C: subsequent changes
6863
6864         * lyxfunc.h: new view() member function
6865
6866         * lyxfunc.C: subsequent changes
6867
6868 2002-08-13  Angus Leeming  <leeming@lyx.org>
6869
6870         * BufferView2.C:
6871         * BufferView_pimpl.C:
6872         * buffer.C:
6873         * converter.C:
6874         * importer.C:
6875         * lyxfunc.C:
6876         * lyxvc.C:
6877         * toc.C:
6878         * vc-backend.C:
6879         changes due to the changed LyXView interface that now returns references
6880         to member variables not pointers.
6881
6882 2002-08-13  Angus Leeming  <leeming@lyx.org>
6883
6884         * WordLangTuple (word, lang_code): return references to strings,
6885         not strings.
6886
6887         * BufferView.h:
6888         * SpellBase.h:
6889         * lyxtext.h: forward-declare WordLangTuple.
6890
6891         * BufferView2.C:
6892         * ispell.C:
6893         * pspell.C:
6894         * text.C: #include "WordLangTuple.h".
6895
6896         * lyxtext.h:
6897         * text.C: (selectNextWordToSpellcheck): constify return type.
6898
6899 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6900
6901         * buffer.C:
6902         * buffer.h:
6903         * lyxtext.h:
6904         * paragraph.C:
6905         * paragraph_pimpl.h:
6906         * text.C:
6907         * text2.C:
6908         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6909         suggested by Angus.
6910         Made updateCounter always count from start of buffer, and removed
6911         second argument (par).
6912         Reverted floats number display to '#'. Perhaps I'll try again when the
6913         code base is sanitized a bit.
6914
6915 2002-08-12  Angus Leeming  <leeming@lyx.org>
6916
6917         * buffer.[Ch] (getLabelList): constify.
6918
6919 2002-08-07  André Pönitz <poenitz@gmx.net>
6920
6921         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6922
6923         * funcrequest.h: extension to keep mouse (x,y) position
6924
6925 2002-08-12  Juergen Vigna  <jug@sad.it>
6926
6927         * BufferView2.C (insertErrors): forbid undo when inserting error
6928         insets.
6929
6930         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6931
6932 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6933
6934         * ParagraphList.[Ch]: new files
6935
6936         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6937
6938         * BufferView2.C (lockInset): ParagraphList changes
6939         * toc.C: ditto
6940         * text2.C: ditto
6941         * bufferlist.C: ditto
6942         * buffer.h: ditto
6943         * buffer.C: ditto
6944
6945 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6946
6947         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6948         unused class variable counter_,
6949
6950         * paragraph.[Ch] (getFirstCounter): delete unused function
6951
6952         * counters.C: include LAssert.h
6953         (reset): add a new function with no arg, change other version to
6954         not have def. arg and to not allow empty arg.
6955
6956         * text2.C (setCounter): remove empty arg from call to Counters::reset
6957
6958 2002-08-11  John Levon  <levon@movementarian.org>
6959
6960         * Makefile.am: add WordLangTuple.h
6961
6962 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6963
6964         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6965         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6966
6967         * insets/insettext.C: InsetList changes
6968
6969         * graphics/GraphicsSupport.C (operator()): InsetList changes
6970
6971         * toc.C (getTocList): InsetList changes
6972
6973         * paragraph_pimpl.[Ch]: InsetList changes
6974
6975         * paragraph.[Ch]: InsetList changes
6976
6977         * buffer.C (inset_iterator): InsetList changes
6978         (setParagraph): ditto
6979         * buffer.h (inset_iterator): ditto
6980         * iterators.C (operator++): ditto
6981         * iterators.h: ditto
6982
6983         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6984
6985         * InsetList.[Ch]: new files, most InsetList handling moved out of
6986         paragraph.C.
6987
6988         * BufferView2.C (removeAutoInsets): InsetList changes
6989         (lockInset): ditto
6990         (ChangeInsets): ditto
6991
6992 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6993
6994         * paragraph_pimpl.h (empty): new function
6995
6996         * paragraph.[Ch] (empty): new function
6997
6998         * other files: use the new Paragraph::empty function
6999
7000 2002-08-09  John Levon  <levon@movementarian.org>
7001
7002         * lyxtext.h: remove unused refresh_height
7003
7004 2002-08-09  John Levon  <levon@movementarian.org>
7005
7006         * Makefile.am:
7007         * sgml.h:
7008         * sgml.C:
7009         * buffer.C:
7010         * paragraph.h:
7011         * paragraph.C: move sgml char escaping out of paragraph
7012
7013         * paragraph.h:
7014         * paragraph.C: remove id setter
7015
7016         * buffer.C:
7017         * paragraph.C:
7018         * paragraph_pimpl.C: remove dead tex_code_break_column
7019
7020         * bufferview_funcs.C: small cleanup
7021
7022         * lyxfunc.C: remove dead proto
7023
7024         * lyxtext.h: make some stuff private. Remove some dead stuff.
7025
7026         * lyxgluelength.C: make as[LyX]String() readable
7027
7028 2002-08-08  John Levon  <levon@movementarian.org>
7029
7030         * LyXAction.h:
7031         * LyXAction.C:
7032         * MenuBackend.C:
7033         * ToolbarDefaults.C:
7034         * lyxfunc.C:
7035         * lyxrc.C:
7036         * toc.C: lyxaction cleanup
7037
7038 2002-08-08  John Levon  <levon@movementarian.org>
7039
7040         * BufferView2.C: small cleanup
7041
7042         * lyxfind.h:
7043         * lyxfind.C: move unnecessary header into the .C
7044
7045 2002-08-08  John Levon  <levon@movementarian.org>
7046
7047         * funcrequest.h: just tedious nonsense
7048
7049         * lyx_main.h:
7050         * lyx_main.C: cleanups
7051
7052         * buffer.C:
7053         * vspace.C: remove dead header lyx_main.h
7054
7055 2002-08-07  Angus Leeming  <leeming@lyx.org>
7056
7057         * Paragraph.[Ch]:
7058         * paragraph_pimpl.h:
7059         Forward declare class Counters in paragraph.h by moving the ctrs member
7060         variable into Paragraph::Pimpl.
7061         (counters): new method, returning a reference to pimpl_->ctrs.
7062
7063         * text2.C: ensuing changes.
7064
7065 2002-08-07  John Levon  <levon@movementarian.org>
7066
7067         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7068
7069         * BufferView_pimpl.C: announce X selection on double/triple
7070           click
7071
7072         * lyx_main.C: use correct bool in batch dispatch
7073
7074         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7075
7076 2002-08-07  André Pönitz <poenitz@gmx.net>
7077
7078         * funcrequest.h: new class to wrap a kb_action and its argument
7079
7080         * BufferView.[Ch]:
7081         * BufferView_pimpl[Ch]:
7082         * LaTeX.C:
7083         * LyXAction.[Ch]:
7084         * lyxfunc.[Ch]:
7085         * lyxrc.C: subsequent changes
7086
7087
7088 2002-08-07  John Levon  <levon@movementarian.org>
7089
7090         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7091           document options change.
7092
7093 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7094
7095         * counters.[Ch]
7096         * text2.C
7097         * paragraph.[Ch]
7098         * makefile.am: move counters functionality over from
7099         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7100
7101 2002-08-06  John Levon  <levon@movementarian.org>
7102
7103         * WordLangTuple.h: new file for word + language code tuple
7104
7105         * SpellBase.h:
7106         * pspell.h:
7107         * pspell.C:
7108         * ispell.h:
7109         * ispell.C:
7110         * lyxtext.h:
7111         * text.C:
7112         * text2.C:
7113         * BufferView.h:
7114         * BufferView2.C: use WordLangTuple
7115
7116         * layout.h:
7117         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7118
7119 2002-08-06  John Levon  <levon@movementarian.org>
7120
7121         * lyx_main.C: fix cmdline batch handling
7122
7123 2002-08-06  André Pönitz <poenitz@gmx.net>
7124
7125         * lyxrc.C: set default for show_banner to true
7126
7127 2002-08-06  John Levon  <levon@movementarian.org>
7128
7129         * pspell.C: fix a crash, and allow new aspell to work
7130
7131 2002-08-06  John Levon  <levon@movementarian.org>
7132
7133         * lyxfunc.C:
7134         * kbmap.C: small cleanup
7135
7136         * vspace.h:
7137         * vspace.C: add const
7138
7139 2002-08-05  John Levon  <levon@movementarian.org>
7140
7141         * LyXAction.C: back to tabular-insert
7142
7143 2002-08-04  John Levon  <levon@movementarian.org>
7144
7145         * BufferView.h:
7146         * BufferView.C: cosmetic change
7147
7148         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7149
7150         * bufferlist.C:
7151         * buffer.h:
7152         * buffer.C:
7153         * lyxcb.h:
7154         * lyxcb.C:
7155         * lyxserver.C:
7156         * lyxvc.C:
7157         * vc-backend.C:
7158         * BufferView2.C: purge all "Lyx" not "LyX" strings
7159
7160         * lyxcursor.h:
7161         * lyxcursor.C: attempt to add some documentation
7162
7163         * lyxfunc.C:
7164         * commandtags.h:
7165         * LyXAction.C:
7166         * ToolbarDefaults.C:
7167         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7168           merge with LFUN_TABULAR_INSERT
7169
7170         * Makefile.am:
7171         * SpellBase.h:
7172         * ispell.h:
7173         * ispell.C:
7174         * pspell.h:
7175         * pspell.C: split up i/pspell implementations into separate
7176           files, many cleanups
7177
7178         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7179
7180         * text2.C: some cleanup
7181
7182         * lyxfunc.C: don't check for isp_command == "none" any more, it
7183           didn't make any sense
7184
7185 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7186
7187         * counters.[Ch]
7188         * text2.C
7189         * paragraph.[Ch]
7190         * makefile.am: move counters functionality over
7191         from text2.C/paragraph.[Ch] to counters.[Ch], and
7192         make proper C++.
7193 2002-08-02  John Levon  <levon@movementarian.org>
7194
7195         * buffer.C: s/lyxconvert/lyx2lyx/
7196
7197 2002-08-02  Angus Leeming  <leeming@lyx.org>
7198
7199         * lyxlex.C: revert John's change as it breaks reading of the user
7200         preamble.
7201
7202 2002-08-02  Angus Leeming  <leeming@lyx.org>
7203
7204         * importer.C (Import):
7205         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7206         changes due to LyXView::view() now returning a boost::shared_ptr.
7207
7208 2002-08-02  John Levon  <levon@movementarian.org>
7209
7210         * lyxlex.C: small cleanup
7211
7212 2002-08-02  John Levon  <levon@movementarian.org>
7213
7214         * text2.C (status): small cleanup, no logic change
7215
7216 2002-08-01  John Levon  <levon@movementarian.org>
7217
7218         * buffer.h:
7219         * buffer.C (writeFile): don't output alerts, caller
7220           handles this
7221
7222         * bufferlist.C:
7223         * lyx_cb.C: from above
7224
7225         * lyxfunc.C: allow to open non-existent files
7226
7227 2002-07-31  John Levon  <levon@movementarian.org>
7228
7229         * lyxserver.C: don't let incidental errors get
7230           in the way (errno)
7231
7232 2002-07-30  John Levon  <levon@movementarian.org>
7233
7234         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7235
7236 2002-07-30  John Levon  <levon@movementarian.org>
7237
7238         * lyxserver.h:
7239         * lyxserver.C: remove I/O callback too
7240
7241 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7242
7243         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7244         log.
7245
7246 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7247
7248         * many files: strip,frontStrip -> trim,ltrim,rtrim
7249
7250 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7251
7252         * PrinterParams.h: remove extern containsOnly, and include
7253         support/lstrings.h instead.
7254
7255         * LaTeX.C (scanAuxFile): modify because of strip changes
7256         (deplog): ditto
7257         * buffer.C (makeLaTeXFile): ditto
7258         * bufferparams.C (writeFile): ditt
7259         * lyxfont.C (stateText): ditto
7260         * lyxserver.C (read_ready): ditto
7261         * vc-backend.C (scanMaster): ditto
7262
7263         * BufferView_pimpl.h: ws changes
7264
7265         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7266
7267 2002-07-26  André Pönitz <poenitz@gmx.net>
7268
7269         * kb_sequence.C: remove unnedred usings
7270
7271 2002-07-26  Juergen Vigna  <jug@sad.it>
7272
7273         * lyxfind.C (LyXReplace): we have to check better if the returned
7274         text is not of theLockingInset()->getLockingInset().
7275
7276 2002-07-25  Juergen Vigna  <jug@sad.it>
7277
7278         * lyxfind.C (LyXReplace): don't replace if we don't get the
7279         right LyXText.
7280
7281         * undo_funcs.C (createUndo): remove debugging code.
7282
7283 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7284
7285         * buffer.C (parseSingleLyXformat2Token): Use default placement
7286         when reading old floats.
7287
7288         * FloatList.C (FloatList): Change the default placement of figure
7289         and tables to "tbp".
7290
7291 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7292
7293         * MenuBackend.C: using std::max
7294
7295 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7296
7297         * MenuBackend.C (expandToc):
7298         (expandToc2): code moved from xforms menu frontend. It is now
7299         generic and TOCs are transparent to menu frontends.
7300
7301 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7302
7303         * toc.C (getTocList): protect against buf=0
7304
7305         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7306         Menu as first parameter. Now, this calls itself recursively to
7307         expand a whole tree (this will be useful for TOC handling)
7308         (expandFloatInsert): remove 'wide' version of floats
7309
7310         * MenuBackend.h (submenuname): returns the name of the submenu.
7311         (submenu): returns the submenu itself, provided it has been
7312         created by MenuBackend::expand
7313
7314 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7315
7316         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7317         insets which have noFontChange == true. (bug #172)
7318
7319 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7320
7321         * BufferView_pimpl.C: add connection objects and use them...
7322         (Pimpl): here.
7323
7324 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7325
7326         * MenuBackend.C (expandLastfiles):
7327         (expandDocuments):
7328         (expandFormats):
7329         (expandFloatListInsert):
7330         (expandFloatInsert):
7331         (expand): split expand in parts
7332
7333 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7334
7335         * lyx_gui.C: use lyx_gui::exit()
7336
7337 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7338
7339         * LyXAction.C: show the failing pseudo action
7340
7341 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7342
7343         * buffer.C (readFile): Run the lyxconvert script in order to read
7344         old files.
7345
7346 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7347
7348         * LyXAction.C:
7349         * commandtags.h:
7350         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7351
7352 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7353
7354         * LyXAction.C:
7355         * commandtags.h:
7356         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7357
7358 2002-07-22  Herbert Voss  <voss@lyx.org>
7359
7360         * lengthcommon.C:
7361         * lyxlength.[Ch]: add support for the vertical lengths
7362
7363 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7364
7365         * toc.[Ch]: std:: fixes
7366
7367 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7368
7369         * lyxrc.C: do not include lyx_main.h
7370
7371         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7372         for layouts
7373
7374         * lyxrc.C:
7375         * encoding.C:
7376         * bufferlist.C:
7377         * BufferView2.C: include "lyxlex.h"
7378
7379         * tabular.h:
7380         * bufferparams.h: do not #include "lyxlex.h"
7381
7382         * lyxtextclasslist.C (Add): remove method
7383         (classlist): renamed to classlist_
7384
7385         * paragraph_pimpl.C:
7386         * paragraph.C:
7387         * text2.C:
7388         * CutAndPaste.C:
7389         * bufferview_funcs.C:
7390         * bufferlist.C:
7391         * text.C:
7392         * LaTeXFeatures.C:
7393         * buffer.C:
7394         * toc.C (getTocList): use BufferParams::getLyXTextClass
7395
7396         * toc.C (getTocList): use InsetFloat::addToToc
7397
7398         * toc.[Ch]: new files, containing helper functions to handle table
7399         of contents
7400
7401         * lyxfunc.C (dispatch): no need to remove spaces around command
7402         given as a string
7403         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7404         first command of the sequence; it is not very clever, but I do not
7405         have a better idea, actually
7406
7407         * LyXAction.C (LookupFunc): make sure to remove space at the
7408         beginning and end of the command
7409
7410 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7411
7412         * MenuBackend.C (getMenubar): new method: return the menubar of
7413         this menu set
7414         (read): treat differently reading of menu and menubar (in
7415         particular, the menubar has no name now)
7416         (Menu::menubar): remove
7417
7418         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7419         saving is finished
7420
7421 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7422
7423         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7424         a bibitem inset in a RTL paragraph.
7425
7426 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7427
7428         * paragraph_pimpl.C: constify
7429
7430         * BufferView_pimpl.C:
7431         * LaTeX.C:
7432         * lyxfunc.C: fix dispatch in a nicer way
7433
7434 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7435
7436         * lyxfunc.C (dispatch):
7437         * BufferView_pimpl.C:
7438         * BufferView_pimpl.h:
7439         * BufferView.C:
7440         * BufferView.h: rename Dispatch() to dispatch()
7441
7442         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7443
7444         * lyxlayout.C (Read): honor DependsOn tag
7445
7446         * lyxlayout.[Ch] (depends_on): new method
7447
7448         * version.C.in: update lyx_docversion
7449
7450         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7451
7452         * paragraph.C (validate): remove from here...
7453         * paragraph_pimpl.C (validate): ... and move here
7454         (isTextAt): make it const
7455
7456         * buffer.C (getLists): ws cleanup
7457
7458 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7459
7460         * language.C (read): Use iso8859-1 encoding in latex_lang
7461         (this prevents LyX from crashing when using iso10646-1 encoding).
7462
7463 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7464
7465         * text2.C (toggleInset): if cursor is inside an inset, close the
7466         inset and leave cursor _after_ it
7467
7468 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7469
7470         * lyxfunc.C: move minibuffer completion handling out of here
7471
7472 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7473
7474         * BufferView_pimpl.C:
7475         * LaTeX.C: fix dispatch calls
7476
7477 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7478
7479         * text.C (drawChars): Fix Arabic text rendering.
7480
7481 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7482
7483         * LyXAction.C:
7484         * commandtags.h:
7485         * lyxfunc.C: remove message-push/pop
7486
7487         * lyxserver.C:
7488         * lyxfunc.h:
7489         * lyxfunc.C: rationalise some code by removing verboseDispatch
7490           in favour of a bool argument to dispatch()
7491
7492 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7493
7494         * lyx_main.C (init): make sure to read symlinks as absolute paths
7495
7496 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7497
7498         * lyxfunc.h:
7499         * lyxfunc.C: no need for commandshortcut to be a member
7500
7501 2002-07-15  André Pönitz <poenitz@gmx.net>
7502
7503         * converter.C: add support for $$s (scripts from lib/scripts dir)
7504         * lyx_main.C: white space
7505
7506 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7507
7508         * bufferlist.C:
7509         * lyxrc.h:
7510         * lyxrc.C: remove second exit confirmation
7511
7512 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7513
7514         * BufferView.h:
7515         * BufferView.C:
7516         * BufferView2.C:
7517         * BufferView_pimpl.h:
7518         * BufferView_pimpl.C:
7519         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7520
7521 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7522
7523         * MenuBackend.C (expand): add numeric shortcuts to document menu
7524
7525         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7526
7527 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7528
7529         * lyxfont.C (setLyXFamily):
7530         (setLyXSeries):
7531         (setLyXShape):
7532         (setLyXSize):
7533         (setLyXMisc):
7534         (lyxRead):
7535         * debug.C (value):
7536         * buffer.C (asciiParagraph): use ascii_lowercase
7537
7538 2002-07-15  Mike Fabian  <mfabian@suse.de>
7539
7540         * lyxlex_pimpl.C (search_kw):
7541         * lyxlex.C (getLongString):
7542         * converter.h (operator<):
7543         * converter.C (operator<):
7544         * buffer.C (parseSingleLyXformat2Token):
7545         (asciiParagraph):
7546         * ToolbarDefaults.C (read):
7547         * MenuBackend.C (checkShortcuts):
7548         (read):
7549         * LColor.C (getFromGUIName):
7550         (getFromLyXName): use the compare_ascii_no_case instead of
7551         compare_no_case, because in turkish, 'i' is not the lowercase
7552         version of 'I', and thus turkish locale breaks parsing of tags.
7553
7554 2002-07-16  Angus Leeming  <leeming@lyx.org>
7555
7556         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7557         now takes a Buffer const & argument.
7558
7559 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7560
7561         * BufferView.C (resize): check there's a buffer to resize
7562
7563 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7564
7565         * lyxfunc.C: remove dead code
7566
7567         * lyxserver.h:
7568         * lyxserver.C: use lyx_guii::set_read_callback
7569
7570 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7571
7572         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7573         an inset in a RTL paragraph.
7574
7575 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7576
7577         * lyxfunc.C: repaint after a font size update
7578
7579 2002-07-15  André Pönitz <poenitz@gmx.net>
7580
7581         * lyxlength.C: inBP should be able to return negative values
7582
7583 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7584
7585         * lyxfunc.C: use lyx_gui::update_fonts()
7586
7587 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7588
7589         * lyxfunc.C: use lyx_gui::update_color()
7590
7591 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7592
7593         * bufferlist.C:
7594         * lyxfunc.h:
7595         * lyxfunc.C:
7596         * lyxrc.h:
7597         * lyxrc.C: remove file->new asks for name option, and let
7598           buffer-new take an argument
7599
7600 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7601
7602         * BufferView_pimpl.C: remove unneeded extra repaint()
7603
7604 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7605
7606         * LyXAction.C: allow command-sequence with NoBuffer
7607
7608         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7609
7610 2002-07-10  Angus Leeming  <leeming@lyx.org>
7611
7612         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7613
7614 2002-07-09  Angus Leeming  <leeming@lyx.org>
7615
7616         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7617
7618 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7619
7620         * lengthcommon.h: whitespace
7621
7622         * lyxfunc.C: update scrollbar after goto paragraph
7623
7624         * lyxtext.h: factor out page break drawing, and fix it so
7625           page break/added space paints as selected nicely
7626
7627 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7628
7629         * BufferView_pimpl.C: add FIXMEs, clean up a little
7630
7631 2002-07-09  André Pönitz <poenitz@gmx.net>
7632
7633         * lyxfont.[Ch]: support for wasy symbols
7634
7635 2002-07-08  André Pönitz <poenitz@gmx.net>
7636
7637         * BufferView_pimpl.C: apply John's patch for #93.
7638
7639 2002-07-05  Angus Leeming  <leeming@lyx.org>
7640
7641         * BufferView_pimpl.C (buffer): generate previews if desired.
7642
7643         * LColor.h: add "preview" to the color enum.
7644
7645         * LColor.C (LColor): add a corresponding entry to the items array.
7646
7647         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7648         with this buffer.
7649
7650 2002-07-05  Angus Leeming  <leeming@lyx.org>
7651
7652         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7653         The body of the code is now in the method that is passed an ostream &
7654         rather than a file name.
7655         Pass an additional only_preamble parameter, useful for the forthcoming
7656         preview stuff.
7657
7658 2002-07-03  André Pönitz <poenitz@gmx.net>
7659
7660         * lyxfunc.C: simplify getStatus() a bit for math stuff
7661
7662 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7663
7664         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7665
7666 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7667
7668         * text.C (changeRegionCase): do not change case of all the
7669         document when region ends at paragraph end (bug #461)
7670
7671 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7672
7673         * paragraph.C (startTeXParParams):
7674         (endTeXParParams): add \protect when necessary
7675
7676 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7677
7678         * BufferView_pimpl.C (workAreaExpose): remove warning
7679
7680 2002-06-27  Angus Leeming  <leeming@lyx.org>
7681
7682         * Makefile.am: add lyxlayout_ptr_fwd.h.
7683
7684 2002-06-26  André Pönitz <poenitz@gmx.net>
7685
7686         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7687
7688 2002-06-25  Angus Leeming  <leeming@lyx.org>
7689
7690         * lyxfunc.C (dispatch): Comment out the call to
7691         grfx::GCache::changeDisplay. The method no longer exists now that the
7692         pixmap generation part of the graphics loader has been moved into
7693         InsetGraphics.
7694
7695 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7696
7697         * text2.C: layout as layout
7698
7699         * text.C: layout as layout
7700
7701         * tabular.C (OldFormatRead): layout as layout
7702
7703         * paragraph_pimpl.C (TeXDeeper): layout as layout
7704         (realizeFont): layout as layout
7705
7706         * paragraph.C (writeFile): layout as layout
7707         (validate): layout as layout
7708         (getFont): layout as layout
7709         (getLabelFont): layout as layout
7710         (getLayoutFont): layout as layout
7711         (breakParagraph): layout as layout
7712         (stripLeadingSpaces): layout as layout
7713         (getEndLabel): layout as layout
7714         (getMaxDepthAfter): layout as layout
7715         (applyLayout): layout as layout
7716         (TeXOnePar): layout as layout
7717         (simpleTeXOnePar): layout as layout
7718         (TeXEnvironment): layout as layout
7719         (layout): layout as layout
7720         (layout): layout as layout
7721
7722         * lyxtextclass.C (compare_name): new functor to work with
7723         shared_ptr, layout as layout
7724         (Read): layout as layout
7725         (hasLayout): layout as layout
7726         (operator): layout as layout
7727         (delete_layout): layout as layout
7728         (defaultLayout): layout as layout
7729
7730         * lyxlayout_ptr_fwd.h: new file
7731
7732         * lyxlayout.C (Read): layout as layout
7733
7734         * lyx_cb.C (MenuInsertLabel): layout as layout
7735
7736         * bufferlist.C (newFile): layout as layout
7737
7738         * buffer.C (readLyXformat2): layout as layout
7739         (parseSingleLyXformat2Token): layout as layout
7740         (insertStringAsLines): layout as layout
7741         (asciiParagraph): layout as layout
7742         (latexParagraphs): layout as layout
7743         (makeLinuxDocFile): layout as layout
7744         (simpleLinuxDocOnePar): layout as layout
7745         (makeDocBookFile): layout as layout
7746         (simpleDocBookOnePar): layout as layout
7747         (getLists): layout as layout
7748
7749         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7750
7751         * CutAndPaste.C (cutSelection): layout as layout
7752         (pasteSelection): layout as layout
7753         (SwitchLayoutsBetweenClasses): layout as layout
7754
7755         * BufferView_pimpl.C (Dispatch): layout as layout
7756         (smartQuote): layout as layout
7757
7758         * BufferView2.C (unlockInset): layout as layout
7759
7760 2002-06-24  André Pönitz <poenitz@gmx.net>
7761
7762         * lyxfunc.C: fix #487
7763
7764 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7765
7766         * lyxrc.h:
7767         * lyxrc.C:
7768         * lyxfunc.C: remove display_shortcuts, show_banner
7769
7770 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7771
7772         * Buffer_pimpl.C: oops, update on resize
7773
7774 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7775
7776         * buffer.C:
7777         * converter.C:
7778         * exporter.C:
7779         * lyxfunc.C:
7780         * BufferView.h:
7781         * BufferView.C: use repaint()
7782
7783         * BufferView_pimpl.h:
7784         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7785           as it's a clearer description. Remove superfluous
7786           redraws.
7787
7788 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7789
7790         * text.C: fix bug 488. Not ideal, but getting
7791           getWord() to work properly for the insets that
7792           matter is more difficult ...
7793
7794 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7795
7796         * BufferView_pimpl.C:
7797         * LyXAction.C:
7798         * commandtags.h:
7799         * lyxfunc.C: remove the six million index lyxfuncs to just
7800           one, and DTRT (bug 458)
7801
7802 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7803
7804         * BufferView.h:
7805         * BufferView.C:
7806         * BufferView_pimpl.h:
7807         * BufferView_pimpl.C: clean up resize() stuff,
7808           and unnecessary updateScreen()s
7809
7810 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7811
7812         * BufferView.h:
7813         * BufferView.C:
7814         * BufferView_pimpl.h:
7815         * BufferView_pimpl.C:
7816         * lyxfind.h:
7817         * lyxfind.C:
7818         * minibuffer.C: remove focus management of workarea,
7819           not needed. Use screen's greyOut()
7820
7821 2002-06-17  Herbert Voss  <voss@lyx.org>
7822
7823         * converter.C: (convert) do not post a message, when converting
7824         fails, let the calling function decide what to do in this case
7825
7826 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7827
7828         * lyxfunc.C: tidy up a little
7829
7830 2002-06-16    <alstrup@diku.dk>
7831
7832         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7833         Got rid of FORMS_H_LOCATION include. Now we are
7834         GUII.
7835
7836 2002-06-15  LyX Development team  <lyx@rilke>
7837
7838         * buffer.[Ch] (sgmlOpenTag):
7839         (sgmlCloseTag): Added support for avoiding pernicious mixed
7840         content. Return number of lines written.
7841
7842         (makeLinuxDocFile):
7843         (makeDocBookFile): Fixed calls to sgml*Tag.
7844         Simple white space clean.
7845
7846         (simpleDocBookOnePar): Simple white space clean.
7847
7848         * tabular.[Ch] (docBook): Renamed to docbook and got another
7849         argument to related with the pernicious mixed content.
7850
7851         (docbookRow): Fixed calls for docbook inset method.
7852
7853 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7854
7855         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7856         so it's X11 independent.
7857
7858         * kb*.[Ch]: ditto.
7859
7860         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7861
7862 2002-06-15  Lyx Development team  <lyx@electronia>
7863
7864         * intl.h: Renamed getTrans to getTransManager.
7865
7866 2002-06-14  Angus Leeming  <leeming@lyx.org>
7867
7868         * Makefile.am: nuke forgotten stl_string_fwd.h.
7869
7870 2002-06-12  Angus Leeming  <leeming@lyx.org>
7871
7872         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7873
7874 2002-06-13  Angus Leeming  <leeming@lyx.org>
7875
7876         * LaTeX.C:
7877         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7878
7879 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7880
7881         * kbmap.C (getiso): add support for cyrillic and greek
7882
7883 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7884
7885         * BufferView.h:
7886         * BufferView.C:
7887         * BufferView_pimpl.h:
7888         * BufferView_pimpl.C: move bogus scrolling logic
7889           to xforms
7890
7891 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7892
7893         * lyxfunc.C:
7894         * BufferView_pimpl.C: view->resize() change
7895
7896 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7897
7898         * BufferView_pimpl.C: topCursorVisible
7899           prototype change
7900
7901 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7902
7903         * Makefile.am:
7904         * lyx_gui.h:
7905         * lyx_gui.C: move to frontends/
7906
7907         * main.C:
7908         * lyx_main.h:
7909         * lyx_main.C: changes from above
7910
7911 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7912
7913         * intl.C:
7914         * intl.h:
7915         * kbmap.C:
7916         * kbsequence.C:
7917         * lyx_cb.C:
7918         * lyx_main.C: minor tidy
7919
7920 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7921
7922         * BufferView_pimpl.h:
7923         * BufferView_pimpl.C:
7924         * BufferView.h:
7925         * BufferView.C: make painter() const,
7926           remove dead code
7927
7928         * BufferView2.C: use screen() accessor
7929
7930         * lyx_main.h:
7931         * lyx_main.C: some minor cleanup
7932
7933 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7934
7935         * BufferView_pimpl.h:
7936         * BufferView_pimpl.C: remove enter/leaveView,
7937           use workHeight()
7938
7939 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7940
7941         * BufferView.h:
7942         * BufferView.C:
7943         * BufferView2.C:
7944         * BufferView_pimpl.h:
7945         * BufferView_pimpl.C: only construct screen once,
7946           rename
7947
7948         * lyxrc.C: remove pointless comment
7949
7950 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7951
7952         * BufferView.h:
7953         * BufferView.C: remove active() and belowMouse()
7954
7955         * BufferView_pimpl.h:
7956         * BufferView_pimpl.C: use workarea() not workarea_,
7957           and make it use a scoped_ptr instead
7958
7959 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7960
7961         * lyx_gui.C: add debug message on BadWindow
7962
7963 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7964
7965         * sp_spell.C: fdopen is not part of the C++ standard.
7966
7967         * paragraph.C (InsetIterator): use >= instead of ==
7968
7969 2002-06-07  Angus Leeming  <leeming@lyx.org>
7970
7971         Fixes needed to compile with Compaq cxx 6.5.
7972         * BufferView_pimpl.C:
7973         * DepTable.C:
7974         * buffer.C:
7975         * converter.C:
7976         * encoding.C:
7977         * lyx_gui.C:
7978         * lyx_main.C:
7979         * lyxtextclasslist.C:
7980         * minibuffer.C:
7981         * sp_spell.C:
7982         * tabular_funcs.C:
7983         * vc-backend.C:
7984         all c-library variables have been moved into namespace std. Wrap
7985         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7986
7987         * lyxlength.C:
7988         * tabular-old.C:
7989         * tabular.C:
7990         Add a using std::abs declaration.
7991
7992         * kbmap.h (modifier_pair):
7993         * paragraph.h (InsetTable, InsetList):
7994         * lyxfont.h (FontBits):
7995         type definition made public.
7996
7997         * bufferlist.C (emergencyWriteAll): the compiler complains that
7998         there is more than one possible lyx::class_fun template to choose from.
7999         I re-named the void specialisation as lyx::void_class_fun.
8000
8001         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8002
8003         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8004         the compiler is is unable to find tostr in write_attribute.
8005
8006 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8007
8008         * buffer.C (sgmlError): hide #warning
8009
8010 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8011
8012         * xtl/*: get rid of xtl, which is not in use anyway
8013
8014         * LyXAction.C (init):
8015         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8016         were unimplemented xtl experimentation
8017
8018 2002-06-04  André Pönitz <poenitz@gmx.net>
8019
8020         * lyxfunc.C: disable array operation on simple formulae
8021
8022 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8023
8024         * converter.C: constify a bit
8025
8026 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8027
8028         * lyx_gui.C: check xforms version correctly
8029
8030 2002-04-30  Herbert Voss  <voss@lyx.org>
8031
8032         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8033         "keep" option
8034
8035 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8036
8037         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8038           attempt to register it with a VCS)
8039
8040 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8041
8042         * lyx_main.C (init): honor variables LYX_DIR_13x and
8043         LYX_USERDIR_13x
8044
8045 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8046
8047         * buffer.h:
8048         * buffer.C:
8049         * lyx_main.C: fix a crash on bad command line,
8050           and give a useful exit status on error
8051
8052         * lyxfunc.C (doImport): allow -i lyx to work
8053
8054 2002-03-30  André Pönitz <poenitz@gmx.net>
8055
8056         * lyxfunc.C: mathed font changes
8057
8058 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8059
8060         * LaTeX.C:
8061         * importer.h:
8062         * importer.C:
8063         * lyx_sty.h:
8064         * lyx_sty.C:
8065         * lyxlex.C:
8066         * lyxrow.h:
8067         * lyxtext.h:
8068         * paragraph.h:
8069         * paragraph.C:
8070         * texrow.h:
8071         * texrow.C:
8072         * text.C:
8073         * trans_mgr.h: srcdocs, and some minor cleanups
8074
8075 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8076
8077         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8078         call getFont all the time)
8079
8080 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8081
8082         * switch from SigC signals to boost::signals
8083
8084 2002-05-29  André Pönitz <poenitz@gmx.net>
8085
8086         * paragraph_pimpl.C (getChar): don't call size() too often...
8087
8088 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8089
8090         * paragraph_pimpl.C (insertChar): do not try to update tables when
8091         appending (pos == size())
8092
8093         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8094         in order to reduce drastically the number of comparisons needed to
8095         parse a large document
8096
8097 2002-05-29  André Pönitz <poenitz@gmx.net>
8098
8099         * text.C:
8100         * text2.C:
8101         * lyxtextclass.C:
8102         * sp_pspell.h:
8103         * textclasslist.[Ch]:
8104         * sp_ispell.h: whitespace change
8105
8106 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8107
8108         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8109         lyxaction directly now.
8110
8111 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8112
8113         * trans.C:
8114         * lyxfont.C:
8115         * lyxvc.C: remove unused headers
8116
8117 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8118
8119         * Makefile.am:
8120         * buffer.h:
8121         * undostack.h:
8122         * undostack.C:
8123         * undo_funcs.h:
8124         * undo_funcs.C: some cleanups. Use shared_ptr
8125           and a template for the undo stacks.
8126
8127 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8128
8129         * BufferView_pimpl.h:
8130         * BufferView_pimpl.C:
8131         * kbmap.h:
8132         * kbmap.C:
8133         * kbsequence.h:
8134         * kbsequence.C:
8135         * lyxfunc.h:
8136         * lyxfunc.C:
8137         * text2.C: use key_state/mouse_state
8138
8139 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8140
8141         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8142         and LSubstring
8143
8144         * chset.C: change include order
8145         (loadFile): use boost regex and get rid of LRegex and LSubstring
8146
8147         * Makefile.am (BOOST_LIBS): new variable
8148         (lyx_LDADD): use it
8149
8150         * LaTeX.C: change include order.
8151         (scanAuxFile): use boost regex and get rid of LRegex and
8152         LSubstring
8153         (deplog): ditto
8154
8155 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8156
8157         * ColorHandler.h:
8158         * ColorHandler.C:
8159         * FontInfo.h:
8160         * FontInfo.C: moved to frontends/xforms/
8161
8162         * FontLoader.h:
8163         * FontLoader.C: moved into frontends for GUIIzation
8164
8165         * Makefile.am:
8166         * lyx_gui.C:
8167         * lyxfont.C:
8168         * lyxfunc.C: changes from above
8169
8170 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8171
8172         * LColor.C: remove spurious X include
8173
8174         * BufferView_pimpl.C:
8175         * Makefile.am:
8176         * font.h:
8177         * font.C:
8178         * text.C:
8179         * text2.C: move font metrics to frontends/
8180
8181 2002-05-24  Juergen Vigna  <jug@sad.it>
8182
8183         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8184         setting the undo_cursor.
8185
8186         * ParagraphParameters.h: include local includes first.
8187
8188 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8189
8190         * BufferView_pimpl.C:
8191         * BufferView_pimpl.h:
8192         * Makefile.am:
8193         * WorkArea.h:
8194         * WorkArea.C:
8195         * screen.C: move WorkArea into frontends/
8196
8197         * lyxscreen.h:
8198         * screen.C:
8199         * text.C:
8200         * BufferView.C:
8201         * BufferView2.C: move LyXScreen into frontends/
8202
8203         * lyxlookup.h:
8204         * lyxlookup.C:
8205         * lyx_gui.C: move lyxlookup into frontends/xforms/
8206
8207 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8208
8209         * BufferView2.C:
8210         * BufferView_pimpl.C:
8211         * FontLoader.C:
8212         * LyXView.h:
8213         * LyXView.C:
8214         * Makefile.am:
8215         * WorkArea.C:
8216         * XFormsView.h:
8217         * XFormsView.C:
8218         * buffer.C:
8219         * bufferlist.C:
8220         * bufferview_funcs.C:
8221         * converter.C:
8222         * importer.C:
8223         * lyx_cb.C:
8224         * lyx_gui.C:
8225         * lyx_main.C:
8226         * lyx_find.C:
8227         * lyxfunc.C:
8228         * lyxvc.C:
8229         * minibuffer.C:
8230         * text.C:
8231         * text2.C:
8232         * trans.C:
8233         * vc-backend.C: move LyX/XFormsView into frontends/
8234
8235 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8236
8237         * Makefile.am:
8238         * PainterBase.C:
8239         * PainterBase.h:
8240         * Painter.C:
8241         * Painter.h:
8242         * WorkArea.C:
8243         * WorkArea.h:
8244         * screen.C:
8245         * tabular.C:
8246         * text.C:
8247         * text2.C: move Painter to frontends/
8248
8249 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8250
8251         * buffer.C: comment out some some code that depend upon lyx_format
8252         < 220
8253
8254         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8255         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8256
8257         * buffer.h (NO_COMPABILITY): turn off compability
8258
8259         * ColorHandler.C: include scoped_array.hpp
8260
8261         * font.C: Use more specific smart_ptr header.
8262         * Painter.C: ditto
8263         * gettext.C: ditto
8264         * ShareContainer.h: ditto
8265         * lyx_main.h: ditto
8266         * kbmap.h: ditto
8267         * FontInfo.h: ditto
8268         * BufferView_pimpl.h: ditto
8269         * ColorHandler.h: ditto
8270
8271         * kbmap.C (defkey): change call to shared_ptr::reset
8272
8273 2002-05-21  Juergen Vigna  <jug@sad.it>
8274
8275         * buffer.C (insertErtContents): fix to insert ert asis if it is
8276         non empty. Skip it completely if it contains only whitespaces.
8277
8278 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8279
8280         * BufferView_pimpl.C:
8281         * BufferView2.C: clear selection on paste (bug 393)
8282
8283 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8284
8285         * DepTable.C: include ctime
8286
8287 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8288
8289         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8290
8291 2002-05-14  Juergen Vigna  <jug@sad.it>
8292
8293         * text.C (breakParagraph): fixed function to honor the keepempty
8294         layout in the right maner and also to permit the right breaking
8295         algorithm on empty or non empyt keepempty paragraphs.
8296
8297         * paragraph.C (breakParagraph): we have to check also if the par
8298         is really empty (!size()) for isempty otherwise we do the wrong
8299         paragraph break.
8300
8301 2002-05-10  Juergen Vigna  <jug@sad.it>
8302
8303         * buffer.[Ch] : The following are only changes to the ert
8304         compatibility read reading old LaTeX layout and font stuff and
8305         convert it to ERTInsets.
8306
8307         * buffer.h: added isErtInset().
8308
8309         * buffer.C (struct ErtComp): add a fromlayout bool to check
8310         if we're inside a LaTeX layout.
8311         (isErtInset): new helper function.
8312         (insertErtContents): look for other ert insets before this one
8313         and insert the contents there, so that we don't have subsequent
8314         ERT insets with nothing between them. This way we create only one
8315         inset with multiple paragraphs. Also check if we don't insert only
8316         spaces ' ' as they are ignored anyway afterwards in the .tex file
8317         so if we have only spaces we will ignore this latex part in the
8318         new file.
8319         (parseSingleLyXformat2Token \\layout): better compatibility when
8320         reading layout-latex stuff.
8321         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8322         language tag.
8323         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8324         stuff after reading the inset only get the information back from
8325         the stack.
8326
8327 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8328
8329         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8330
8331         * LaTeXFeatures.C (getBabelOptions): New method.
8332
8333 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8334
8335         * BufferView_pimpl.C (Dispatch): work around missing argument for
8336         'layout'
8337
8338 2002-05-08  Juergen Vigna  <jug@sad.it>
8339
8340         * text.C (leftMargin): handle paragraph leftindent.
8341
8342         * paragraph.C (writeFile): write the new \\leftindent tag.
8343         (validate): handle leftindent code.
8344         (TeXEnvironment): handle paragraphleftindent code again.
8345
8346         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8347
8348         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8349         for paragrap_extra indent code and new token \\leftindent.
8350         (latexParagraphs): handle the leftindent as environment.
8351
8352         * ParameterStruct.h: added leftindent support.
8353
8354         * ParagraphParameters.C (leftIndent): added support functions for
8355         the paragraph left indent.
8356
8357         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8358         more appropriate.
8359
8360 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8361
8362         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8363         inside insetERT.
8364
8365         * text.C (computeBidiTables): No bidi in insetERT.
8366
8367         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8368         in RTL documents.
8369
8370 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8371
8372         * version.C.in: pre 5
8373
8374 2002-05-02  José Matos  <jamatos@fep.up.pt>
8375         * buffer.C (makeDocBookFile): white space changes, add newline to
8376         command styles.
8377         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8378
8379         * tabular.C (docBook): fix typo.
8380
8381 2002-05-03  Juergen Vigna  <jug@sad.it>
8382
8383         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8384         change in LyXText as we can not be sure it was not freed.
8385         (drawOneRow): remove unused code.
8386
8387         * text.C (drawInset): redo the calculation of the need_break_row as
8388         it could have a row which was already freed.
8389         (draw): look at the return value of drawInset and return false if
8390         it also returned false.
8391         (paintRowText): look at the return value of draw and return false if
8392         it also returned false.
8393
8394         * lyxtext.h: added bool return type to drawInset() and draw() so that
8395         if we have a change in the row so that the rowbreak has to be redone
8396         we abort drawing as it will be called again.
8397
8398 2002-05-02  Juergen Vigna  <jug@sad.it>
8399
8400         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8401         a change in the maintext also if we're inside an inset.
8402         (Dispatch): set the cursor again after a break line and after the
8403         screen has been updated as it could be we're in a different row.
8404
8405         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8406         to set the cursor behind the pargraph with > size().
8407         (setCursor): check also for the same paragraph when checking where
8408         to put the cursor if we have a NFR inset.
8409
8410         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8411         parts of layout read further up as it still was in the wrong
8412         position.
8413
8414 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8415
8416         * screen.C (drawFromTo): change sine fullRebreak always return
8417         true.
8418
8419         * buffer.C (parseSingleLyXformat2Token): reindent some
8420
8421         * BufferView_pimpl.C (update): change since fullRebreak always
8422         return true.
8423         (Dispatch): git rid of the last hardcoded "Standard"s.
8424
8425 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8426
8427         * text2.[Ch] (fullRebreak): make it return void now that we always
8428         returned true.
8429
8430 2002-04-30  Juergen Vigna  <jug@sad.it>
8431
8432         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8433         ert compatibility check for "latex" layout.
8434
8435 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8436
8437         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8438         minipages: use col% instead of p%, and also use the current font.
8439         (makeLaTeXFile): Fix use babel condition.
8440         (parseSingleLyXformat2Token): Correct font when reading old floats.
8441
8442 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8443
8444         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8445         inserting list of floats.
8446
8447 2002-04-25  Herbert Voss  <voss@lyx.org>
8448
8449         * MenuBackend.C (expand): don't add the graphics extensions to the
8450         export menu
8451
8452 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8453
8454         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8455         non-existing layout, do not complain if it was the default layout
8456         of the original class (bug #342)
8457
8458 2002-04-24  Juergen Vigna  <jug@sad.it>
8459
8460         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8461         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8462
8463 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8464
8465         * buffer.C (getBibkeyList): If using \bibliography, return the
8466         option field with the reference itself. Enables us to provide natbib
8467         support when using \bibliography.
8468
8469 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8470
8471         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8472
8473         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8474         natbib is provided by the LaTeX class.
8475
8476 2002-04-23  Juergen Vigna  <jug@sad.it>
8477
8478         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8479         Wakeup functions.
8480
8481         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8482
8483 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8484
8485         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8486
8487         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8488         ensuremath around textordmasculine, textordfeminine and
8489         textdegree.
8490
8491 2002-04-19  Juergen Vigna  <jug@sad.it>
8492
8493         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8494         reinitializing the buffer otherwise row-dimensions may be wrong.
8495         (update): reset also the selection cursors if they do exits otherwise
8496         their x/y positions may be wrong.
8497
8498         * text2.C (cursorDown): don't enter the inset if we came from a row
8499         above and are one row over the inset.
8500
8501         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8502         really leaving an inset.
8503
8504 2002-04-18  Juergen Vigna  <jug@sad.it>
8505
8506         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8507         of the selected paragraph does not have the selected layout also if
8508         the last one had!
8509
8510         * text2.C (setLayout): fixed bug which did not change last selected
8511         paragraph.
8512
8513         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8514         changed the read and substituted \\end_float with \\end_inset!
8515
8516         * BufferView_pimpl.C (cursorPrevious):
8517         (cursorNext): fixed to make it work with rows heigher than the work
8518         area without moving the cursor only the draw of the row.
8519         (workAreaMotionNotify): fix jumping over high rows.
8520
8521 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8522
8523         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8524         Ressler.
8525
8526 2002-04-16  Juergen Vigna  <jug@sad.it>
8527
8528         * text2.C (setCursor): set also the irow().
8529         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8530         (cursorUp):
8531         (cursorDown): support for locking an inset if the x_fix value goes
8532         inside it. That way I can transverse insets too with cursor up/down.
8533
8534         * lyxrow.h: added irow helper function same as other (i) functions.
8535
8536         * BufferView_pimpl.C (cursorPrevious):
8537         (cursorNext): fixed for insets!
8538
8539 2002-04-15  Juergen Vigna  <jug@sad.it>
8540
8541         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8542         position otherwise it is wrong in some cases.
8543
8544         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8545         inside the inset before the call.
8546
8547 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8548
8549         * buffer.[Ch] (getBibkeyList): make it const.
8550
8551 2002-04-12  Juergen Vigna  <jug@sad.it>
8552
8553         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8554
8555         * text2.C (getCursorX): new helper function
8556         (setCursor): compute also ix_
8557         (setCursorFromCoordinates): set also ix.
8558
8559         * lyxcursor.h: added ix_ and helper functions.
8560
8561         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8562
8563         * buffer.C (insertStringAsLines): dont break paragraph if the this
8564         paragraph is inside an inset which does not permit it!
8565
8566         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8567         also with no chars on this paragraph.
8568         (paintRowText): only paint stuff if it's inside the workarea!
8569
8570         * paragraph.C (breakParagraph): honor keepempty flag and break the
8571         paragraph always below not above.
8572
8573         * BufferView2.C (unlockInset): update the paragraph layout on inset
8574         unlock as we changed paragraph in such a case.
8575
8576         * lyxfind.C (LyXFind): clear the former selection if not found!
8577
8578         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8579         again called in insertChar().
8580
8581         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8582         an inset which uses the whole row!
8583         (rightMargin): ditto.
8584         (insertChar): force a rebreak if we inserted an inset!
8585
8586 2002-03-28  Herbert Voss  <voss@lyx.org>
8587
8588         * lyxlength.[Ch]: add inBP() to get the right PS-point
8589         units (BigPoint). With inPixels we have rounding errors
8590
8591 2002-04-11  Juergen Vigna  <jug@sad.it>
8592
8593         * text2.C (setCursorFromCoordinates): set iy to the right value.
8594         (setCursor): add check if row->previous exists!
8595
8596         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8597         an old float_type as this was the case in the old code!
8598
8599         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8600
8601         * BufferView2.C (showLockedInsetCursor): use iy
8602         (fitLockedInsetCursor): ditto
8603
8604         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8605         locked insets as there we have the right value now.
8606
8607         * lyxcursor.C: added iy_ variable and iy functions to set to the
8608         baseline of cursor-y of the locked inset.
8609
8610         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8611         (setCursor): fixed for insets which need a full row.
8612
8613         * text.C (rowLastPrintable): don't ignore the last space when before
8614         an inset which needs a full row.
8615         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8616         as last character of a row when before a inset which needs a full row.
8617
8618 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8619
8620         * version.C.in: update date
8621
8622         * text2.C (fullRebreak): try to always return true and see what
8623         happens...
8624
8625 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8626
8627         * MenuBackend.C (expand): use Floating::listName
8628
8629         * FloatList.C (FloatList): add listName argument to the built-in
8630         floats
8631
8632         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8633         text associated with the float.
8634
8635 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8636
8637         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8638
8639 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8640
8641         * ShareContainer.h: add a couple of missing typenames.
8642
8643 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8644
8645         * lyxrc.C (getDescription): use _() correctly rather than N_().
8646
8647 2002-03-28  Herbert Voss  <voss@lyx.org>
8648
8649         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8650         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8651
8652 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8653
8654         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8655         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8656
8657 2002-03-29  Juergen Vigna  <jug@sad.it>
8658
8659         * lyxfunc.C (dispatch): add a missing fitCursor call.
8660
8661         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8662         it was scrolled by a cursor move, so return the bool status.
8663
8664         * BufferView.C (fitCursor): return the bool flag also to the outside
8665         world as this is needed.
8666
8667         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8668
8669         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8670         call the edit() as it is not needed (and wrong) IMO.
8671         (workAreaButtonPress): set the screen_first variable before evt.
8672         unlock the inset as this may change screen_first and then we have
8673         a wrong y position for the click!
8674
8675 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8676
8677         * MenuBackend.C (expand): another translation that I missed
8678
8679 2002-03-28  Juergen Vigna  <jug@sad.it>
8680
8681         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8682
8683         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8684
8685 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8686
8687         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8688
8689         * MenuBackend.C (expand): fix export/view/update when there is no
8690         document open.
8691
8692 2002-03-27  Herbert Voss  <voss@lyx.org>
8693
8694         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8695         and text%
8696
8697 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8698
8699         * bufferview_funcs.C (currentState): only show paragraph number
8700         for is DEVEL_VERSION is set.
8701
8702         * lyxfunc.C (dispatch): put warning in INFO channel
8703
8704         * MenuBackend.C (expand): translate the name of floats
8705
8706         * FloatList.C (FloatList): mark the float names for translation
8707
8708         * converter.C (convert): use LibScriptSearch
8709
8710 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8711
8712         * MenuBackend.C (defaults): fix default menu (we might as well get
8713         rid of it...)
8714
8715 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8716
8717         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8718         directory.
8719
8720 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8721
8722         * lyxvc.C: reorder includes.
8723
8724 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8725
8726         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8727           properly
8728
8729 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8730
8731         * CutAndPaste.C: change layouts earlier on paste
8732           to avoid crashing when calling getFont()
8733
8734 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8735
8736         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8737         irritating #error.
8738
8739 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8740
8741         * WorkArea.C: remove 'Pending' debug message.
8742
8743         * most files: ws cleanup
8744
8745         * buffer.[Ch]: ws changes
8746
8747         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8748
8749 2002-03-21  Juergen Vigna  <jug@sad.it>
8750
8751         * tabular.C (SetMultiColumn): collapse also the contents of the
8752         cells and set the last border right. Added a Buffer const * param.
8753
8754 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8755
8756         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8757         linking or not.
8758
8759 2002-03-19  Juergen Vigna  <jug@sad.it>
8760
8761         * text2.C (clearSelection): reset also xsel_cache.
8762
8763         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8764         where it needs to be called (John tells us to do so too :)
8765         (selectionLost): reset sel_cache.
8766
8767         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8768
8769 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8770
8771         * text2.C (setCursorIntern): put debuging code in INSETS channel
8772
8773 2002-03-19  André Pönitz <poenitz@gmx.net>
8774
8775         * lyxfunc.C: tiny whitespace change
8776
8777 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8778
8779         * ToolbarDefaults.C (init):
8780         * LyXAction.C (init):
8781         * commandtags.h:
8782         * BufferView_pimpl.C (Dispatch):
8783         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8784
8785 2002-03-19  Allan Rae  <rae@lyx.org>
8786
8787         * exporter.C (Export): removeAutoInsets before doing anything else.
8788         While I've just introduced a dependency on BufferView this really is
8789         the best place to clean the buffer otherwise you need to cleanup in
8790         a dozen places before calling export or cleanup in a dozen functions
8791         that export calls.
8792
8793         * converter.C (runLaTeX):
8794         (scanLog): Better handling of removeAutoInsets and screen updates.
8795
8796         * lyxfunc.C (dispatch): small whitespace changes
8797
8798 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8799
8800         * WorkArea.C (C_WorkAreaEvent): return a value.
8801         (event_cb): return 1 if we handled the event, 0 otherwise.
8802
8803         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8804
8805 2002-03-18  Juergen Vigna  <jug@sad.it>
8806
8807         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8808         (GetAdditionalWidth): ditto.
8809         (RightLine): ditto.
8810         (LeftLine): ditto.
8811
8812         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8813         inset if we're there actually (probably not used right now but this
8814         is the direction to go for unifying code).
8815         (paste): disable code to clear the selection.
8816
8817         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8818         inside an InsetText and move the check further up as it is in the
8819         wrong place.
8820
8821         * text2.C (pasteSelection): set a selection over the pasted text.
8822
8823 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8824
8825         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8826         and libgraphics to build on Cygwin.
8827
8828 2002-03-15  Juergen Vigna  <jug@sad.it>
8829
8830         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8831         inserting an Inset into the paragraph. I know this is not the best
8832         fix but we already use current_view in CutAndPaste so we will remove
8833         all of it's using at the same time.
8834
8835         * buffer.C (sgmlError): deactivated function till it is rewritten in
8836         the right mode, now it can create problems.
8837
8838         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8839         before accessing it.
8840
8841 2002-03-14  Juergen Vigna  <jug@sad.it>
8842
8843         * undo_funcs.C (textHandleUndo): do the right thing when updating
8844         the inset after the undo/redo.
8845
8846         * text2.C (setCursor): just some testcode for #44 not ready yet.
8847
8848         * undo_funcs.C (textHandleUndo): set the next() and previous()
8849         pointers of the paragraph to 0 before deleting otherwise we have
8850         problems with the Paragraph::[destructor].
8851
8852         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8853         on a paragraph insertion.
8854
8855 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8856
8857         * buffer.C (asciiParagraph): use += operator for char append to
8858         string.
8859
8860         * paragraph.C (getFontSettings): compare >= not just >
8861         (highestFontInRange): ditto
8862         (setFont): ditto
8863
8864 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8865
8866         * paragraph.C: change several algorithm to be more appripriate for
8867         the problem domain. This is lookip in FontList and in the InsetList.
8868
8869 2002-03-13  André Pönitz <poenitz@gmx.net>
8870
8871         * commandtags.h:
8872         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8873
8874 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8875
8876         * commandtags.h:
8877         * LyXAction.C:
8878         * lyxfunc.C:
8879         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8880
8881 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8882
8883         * Painter.C (display): anon helper function, adjust code for this
8884         change.
8885         (pixmap): remove function.
8886
8887         * Painter.h: remove private display variable.
8888
8889         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8890
8891 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8892
8893         * WorkArea.[Ch]: remove figinset_canvas cruft.
8894
8895 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8896
8897         * lyxtextclass.C (operator): add one item cache optimization.
8898
8899         * bufferlist.h: doxy changes
8900
8901         * bufferlist.C: ws changes
8902
8903         * DepTable.[Ch] (ext_exist): place const in the right spot.
8904
8905         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8906         call resizeInsets.
8907         (workAreaExpose): call resizeInsets when the with BufferView changes.
8908         (Dispatch): adjust for protectedBlank removal
8909         (specialChar): call updateInset if the insert went ok.
8910
8911         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8912         specialChar instead.
8913
8914         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8915
8916         * BufferView.h: doxy change
8917
8918         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8919
8920         * lyxtextclass.C (operator[]): remove non-const version
8921         (defaultLayout): remove non-const version
8922
8923 2002-03-12  Juergen Vigna  <jug@sad.it>
8924
8925         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8926         did resize the LyXText too.
8927
8928         * buffer.C (readLyXformat2): set layout information on newly allocated
8929         paragraphs.
8930
8931         * tabular.C (OldFormatRead): set layout information on the paragraph.
8932
8933 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8934
8935         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8936
8937 2002-03-11  Juergen Vigna  <jug@sad.it>
8938
8939         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8940         plainly wrong.
8941         (resizeCurrentBuffer): force also the insets to resize themselfes.
8942         (moveCursorUpdate): fixed up for InsetText.
8943
8944 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8945
8946         * commandtags.h:
8947         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8948         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8949         value of Dialogs::tooltipsEnabled().
8950         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8951
8952 2002-03-08  Juergen Vigna  <jug@sad.it>
8953
8954         * BufferView_pimpl.C (updateInset): update inset inside inset also
8955         if it isn't inside theLockingInset().
8956
8957 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8958
8959         * buffer.C (asciiParagraph): redo some of the word and line length
8960         handling.
8961         (getLists): look for Caption instead of caption.
8962
8963 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8964
8965         * buffer.C (Buffer): initialize niceFile to true
8966         (makeLaTeXFile):
8967         (makeLinuxDocFile):
8968         (makeDocBookFile): make sure niceFile is true on exit
8969
8970 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8971
8972         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8973
8974 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8975
8976         * LyXSendto.C: remove.
8977         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8978         * lyx_gui.C: remove now-redundant comment.
8979         * ColorHandler.h: remove forward declaration of class WorkArea.
8980         * lyxfunc.C: remove #include "WorkArea.h".
8981
8982 2002-03-07  Juergen Vigna  <jug@sad.it>
8983
8984         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8985         got moved away with the DEPM and also set the inset_owner always
8986         right which before could have been omitted.
8987
8988 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8989
8990         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8991         wanted layout is not found.
8992
8993 2002-03-07  Juergen Vigna  <jug@sad.it>
8994
8995         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8996
8997 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8998
8999         * paragraph.C (breakParagraph): use default layout not layout of
9000         prev paragraph.
9001         (Paragraph): clear ParagraphParameters.
9002
9003 2002-03-06  Juergen Vigna  <jug@sad.it>
9004
9005         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9006         otherwise it would not be a valid lenght. Fixed a special case in
9007         the minipage compatibility read where we end the document with a
9008         minipage.
9009
9010         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9011         was set as it could be 0 for InsetTexts first entry.
9012
9013 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9014
9015         * paragraph.C (writeFile): if layout is empty write out
9016         defaultLayoutName().
9017
9018         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9019         file without named layout we set layout to defaultLayoutName().
9020
9021 2002-03-06  Juergen Vigna  <jug@sad.it>
9022
9023         * CutAndPaste.C (copySelection): set layout for new paragraph.
9024
9025         * text.C (prepareToPrint): leave ERT inset left aligned
9026         (leftMargin): don't indent paragraphs inside ERT insets
9027
9028 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9029
9030         * paragraph.C (breakParagraph): dont call clear do the work manually
9031
9032         * paragraph.[Ch] (clear): remove function
9033
9034 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9035
9036         * paragraph.C (Paragraph): dont call clear, the work has already
9037         been done.
9038
9039         * lyxtextclass.C (operator): assert if n is empty
9040
9041         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9042         work manually instead.
9043
9044 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9045
9046         * BufferView_pimpl.C: protect selectionLost against text == 0
9047
9048 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9049
9050         * text.C (breakParagraph): fix a setting layout to '0' problem.
9051
9052 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9053
9054         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9055         final location of file, for the included files, and graphics.
9056
9057 2002-03-05  Juergen Vigna  <jug@sad.it>
9058
9059         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9060
9061 2002-03-04  Juergen Vigna  <jug@sad.it>
9062
9063         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9064
9065         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9066         last column of multicolumn cells.
9067         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9068
9069 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9070
9071         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9072         file if it doesn't go to a temporary file.
9073
9074         * buffer.C (sgmlOpenTag):
9075         (sgmlCloseTag):  remove extra newline insertion.
9076
9077 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9078
9079         * text.C (getRowNearY): comment out debug msg
9080
9081 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9082
9083         * text2.C: first -> first_y
9084
9085         * text.C (getRowNearY): add some attemts at a possible
9086         optimization, not working.
9087
9088         * tabular.[Ch]: add BufferParams to several function so that newly
9089         created paragraph can be initialized to he default layotu for the
9090         buffers textclass.
9091
9092         * tabular-old.C (ReadOld): add buf->params to call of Init
9093
9094         * screen.C: rename text->first to text->first_y
9095
9096         * paragraph.C (breakParagraph): always set layout in the broken
9097         paragraph
9098
9099         * lyxtextclass.C (Read): remove lowercase
9100         (hasLayout): ditto
9101         (operator): ditto
9102         (delete_layout): ditto
9103
9104         * lyxtext.h: rename first -> first_y
9105
9106         * lyxlayout.C (Read): remove lowercase
9107         (name): ditto
9108         (setName): ditto
9109         (obsoleted_by): ditto
9110
9111         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9112
9113         * buffer.C (insertErtContents): add params are to InsetERT
9114         (parseSingleLyXformat2Token): add code to check if a paragraphs
9115         layout really exist.
9116         (parseSingleLyXformat2Token): add params to several inset
9117         constructors
9118         (asciiParagraph): remove lowercase, do the layout comparisons with
9119         no_case
9120
9121         * BufferView_pimpl.C (cursorNext): first -> first_y
9122         (resizeCurrentBuffer): first -> first_y
9123         (updateScrollbar): first -> first_y
9124         (scrollCB): first -> first_y
9125         (workAreaMotionNotify): first -> first_y
9126         (workAreaButtonPress): first -> first_y
9127         (checkInsetHit): first -> first_y
9128         (cursorPrevious): first -> first_y
9129         (cursorNext): first -> first_y
9130         (Dispatch): add buffer_->params to severl inset contructors
9131
9132 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9133
9134         * lyxlayout.C (Read): remove some debug info that I forgot.
9135
9136         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9137         clean up the code slightly.
9138         (makeLinuxDocFile): ditto
9139         (makeDocBookFile): ditto
9140
9141         * text2.C: layout as string
9142
9143         * text.C: layout as string
9144
9145         * paragraph_pimpl.C: layout as string
9146
9147         * paragraph.[Ch]: layout as string
9148
9149         * lyxtextclasslist.[Ch]: layout as string
9150
9151         * lyxtextclass.[Ch]: layout as string
9152
9153         * lyxtext.h: layout as string
9154
9155         * lyxlayout.[Ch]: layout as string
9156
9157         * lyx_cb.C: layout as string
9158
9159         * bufferview_funcs.C: layout as string
9160
9161         * bufferparams.C: layout as string
9162
9163         * buffer.C: layout as string
9164
9165         * LyXView.[Ch]: layout as string
9166
9167         * LaTeXFeatures.[Ch]: layout as string
9168
9169         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9170
9171         * BufferView_pimpl.C: change current_layout to string, remove
9172         lyx::layout_type.
9173         (Dispatch):
9174         (smartQuote):
9175         (insertInset):
9176         (workAreaButtonRelease): layout as string
9177
9178         * BufferView2.C (unlockInset): adjust
9179
9180         * vspace.C (asLatexCommand): use an explict temp variable.
9181
9182 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9183
9184         * Makefile.am: use FRONTEND_*
9185
9186 2002-03-01  Juergen Vigna  <jug@sad.it>
9187
9188         * tabular.C (SetWidthOfMulticolCell): changed to something better
9189         I hope but still work in progress.
9190         (recalculateMulticolumnsOfColumn): renamed function from
9191         recalculateMulticolCells as it is more appropriate now.
9192         (SetWidthOfCell): calculate multicols better.
9193
9194 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9195
9196         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9197
9198         * lyxfunc.C (processKeySym): print sequence also if it is
9199         `deleted' (complete)
9200
9201         * kbsequence.C (print): print sequence even if it is deleted
9202         (complete would be a better word, actually).
9203
9204         * lyxfunc.C (dispatch): print complete options after a prefix key
9205
9206         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9207
9208 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9209
9210         * text2.C (setCharFont): eliminate setCharFont code duplication.
9211
9212 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9213
9214         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9215         LFUN_TABULAR_FEATURE (bug #177)
9216
9217 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9218
9219         * Makefile.am: remove figure.h
9220
9221 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9222
9223         * Bufferview_pimpl.C:
9224         * CutAndPasteC:
9225         * LaTeX.C:
9226         * LyXSendto.C:
9227         * buffer.C:
9228         * bufferlist.C:
9229         * converter.C:
9230         * language.C:
9231         * lyxfunc.C:
9232         * lyxvc.C:
9233         * paragraph.C:
9234         * text.C:
9235         * text2.C: remove #include "lyx_gui_misc.h".
9236
9237         * LaTeX.C: added #include <cstdio>
9238
9239 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9240
9241         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9242         that the paragraph following this one can have.
9243
9244         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9245
9246         * vspace.C (asLatexCommand): fix bogus gcc warning
9247
9248         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9249
9250 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9251
9252         * text2.C (setLayout): get rid of redundant code
9253
9254 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9255
9256         * text2.C (incDepth): make sure depth cannot be increased beyond
9257         reasonable values.
9258
9259 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9260
9261         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9262         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9263
9264         * PainterBase.h (image):
9265         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9266         a LyXImage const *.
9267
9268 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9269
9270         * BufferView.C:
9271         * BufferView.h:
9272         * BufferView_pimpl.C:
9273         * BufferView_pimpl.h:
9274         * LaTeXFeatures.C:
9275         * LyXAction.C:
9276         * LyXView.C:
9277         * Makefile.am:
9278         * UpdateList.h:
9279         * UpdateList.C:
9280         * buffer.C:
9281         * figure.h:
9282         * figureForm.C:
9283         * figureForm.h:
9284         * figure_form.C:
9285         * figure_form.h:
9286         * lyx_cb.C:
9287         * lyx_gui.C:
9288         * lyx_gui_misc.C:
9289         * lyxfunc.C:
9290         * sp_base.h:
9291         * sp_ispell.h:
9292         * sp_pspell.h:
9293         * sp_spell.C: remove fig inset, and the crap house of
9294           cards that follows it
9295
9296 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9297
9298         * Makefile.am:
9299         * lyxserver.C:
9300         * os2_defines.h:
9301         * os2_errortable.h:
9302         * nt_defines.h: move .h into support/
9303
9304         * vms_defines.h: remove
9305
9306         * WorkArea.C: add space in debug output
9307
9308         * text2.C:
9309         * paragraph.C:
9310         * buffer.C: add WITH_WARNINGS
9311
9312         * vc-backend.h:
9313         * vc-backend.C:
9314         * bufferlist.C: s/retrive/retrieve/, add docs
9315
9316         * vspace.h:
9317         * vspace.C:
9318         * kbmap.h:
9319         * lyxlength.h:
9320         * lyxgluelength.h:
9321         * length_common.h:
9322         * chset.h:
9323         * chset.C: add docs
9324
9325         * lyxgui.C: add ID to X error handler
9326
9327         * lyxtestclass.c: fix typo
9328
9329 2002-02-26  Juergen Vigna  <jug@sad.it>
9330
9331         * tabular_funcs.C (write_attribute): changed so that some default
9332         attributes are not written at all.
9333         (getTokenValue): set default values before trying to read the
9334         value so we have the return value always set as default if we don't
9335         find the token we search for.
9336
9337         * tabular.C (Write): write bools as bools not as strings!
9338
9339 2002-02-22  Juergen Vigna  <jug@sad.it>
9340
9341         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9342         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9343
9344         * text.C (leftMargin): don't add an indent for paragraphs inside
9345         tabular cells (fix #208).
9346
9347 2002-02-21  José Matos  <jamatos@fep.up.pt>
9348
9349         * tabular.C (docBook): fixed support for long tables.
9350
9351 2002-02-20  Juergen Vigna  <jug@sad.it>
9352
9353         * text2.C (getFont): get the drawing font of the Inset if this
9354         paragraph is inside an inset (only important for InsetERT for now).
9355
9356         * buffer.C (insertErtContents): use new lanugage params in ERT
9357         constructor.
9358
9359         * CutAndPaste.C: commenting out seemingly uneeded code.
9360
9361 2002-02-19  Allan Rae  <rae@lyx.org>
9362
9363         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9364         Iterators might be simple to use but they also get invalidated.
9365         (removeAutoInsets): renamed saved cursor tracking variables and added
9366         some comments to clarify what everything does.
9367
9368 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9369
9370         * Chktex.C:
9371         * LaTeX.C:
9372         * LyXSendto.C:
9373         * converter.C:
9374         * lyx_cb.C:
9375         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9376         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9377
9378         * lyxfunc.C:
9379         * vc-backend.h: remove #include "support/syscall.h"
9380
9381         * LaTeX.C:
9382         * LyXSendto.C:
9383         * converter.C: rearrange #includes in Lars' approved fashion.
9384
9385         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9386         forward declare class Timeout in the header file.
9387
9388         * XFormsView.C: changes due to the above.
9389
9390         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9391         similar to LyXView.
9392
9393         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9394         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9395
9396 2002-02-18  José Matos  <jamatos@fep.up.pt>
9397
9398         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9399         insets contents.
9400
9401 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9402
9403         * a lot of small ws changes
9404         * add a lot of using std::XXX
9405         * use std construcs some places where approp.
9406         * use some exisint stuff from lyxfunctional where approp.
9407         * Make file changes to use partial linking (lets test this now...)
9408
9409 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9410
9411         * Chktex.C:
9412         * buffer.C:
9413         remove #include "support/syscontr.h" as it's redundant. Always has been.
9414
9415         * Chktex.C:
9416         * LaTeX.C:
9417         * LyXSendto.C:
9418         * converter.C:
9419         * lyx_cb.C:
9420         * vc-backend.C:
9421         change Systemcalls::System to Systemcalls::Wait and
9422         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9423         No change of functionality, just reflects the stripped down Systemcalls
9424         class.
9425
9426 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9427
9428         * debug.[Ch]: add a GRAPHICS type to the enum.
9429
9430 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9431
9432         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9433
9434         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9435         there is an inset.
9436
9437 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9438
9439         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9440         match the changes below.
9441
9442         * text2.C (toggleInset): if there is not editable inset at cursor
9443         position, try to see if cursor is _inside_ a collapsable inset
9444         and close it.
9445
9446 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9447
9448         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9449         document menu has a nice checkbox
9450
9451 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9452
9453         * lyxlength.C (asLatexString): change PW to output as percent of
9454         \textwidth.
9455
9456         * lengthcommon.C: change '%' to 't%'
9457
9458         * lyxfunc.C (dispatch): a few comments from Martin
9459
9460 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9461
9462         * WorkArea.h:
9463         * WorkArea.C:
9464         * BufferView_pimpl.h:
9465         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9466           the X selection.
9467
9468 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9469
9470         * vspace.C (inPixels): fix compiler warning
9471
9472 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9473
9474         * lyxfunc.C (getStatus): fix status message for disabled commands.
9475
9476 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9477
9478         * BufferView_pimpl.C: fix crash on close buffer
9479         during selection (#227)
9480
9481 2002-01-27  Herbert Voss  <voss@lyx.org>
9482
9483         * buffer.C: link old Figure to new graphic inset
9484
9485 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9486
9487         * FontLoader.C (getFontinfo): Change the latex font names in order
9488         to match the names of type1inst.
9489
9490 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9491
9492         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9493
9494         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9495         (extchanged): ditto
9496         (ext_exist): ditto
9497         (remove_files_with_extension): ditto
9498         (remove_file): ditto
9499         (write): ditto
9500
9501         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9502         document is smaller than the work area height. Do not initialize
9503         static variables to 0.
9504
9505 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9506
9507         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9508
9509         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9510         LFUN_LAYOUT_PARAGRAPHS.
9511
9512         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9513         tabular. It is possible to provide a possible cell, which will
9514         typically be the actcell from the corresponding insettabular
9515
9516         * lyxfunc.C (getStatus): small cleanup; disable
9517         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9518         true
9519
9520 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9521
9522         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9523
9524         * paragraph.C (startTeXParParams):
9525         (endTeXParParams): new methods. The LaTeX code to
9526         start/end paragraph formatting
9527         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9528         empty (fixes bug #200)
9529
9530         * vspace.C (inPixels): adapt to the change below
9531         (inPixels): [later] more cleanups (remove unused variables)
9532
9533         * lyxlength.C (inPixels): change to use a width and a height as
9534         parameter.
9535
9536 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9537
9538         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9539         Replaced with \paperwidth
9540
9541         * DepTable.C (insert): add std:: qualifier
9542
9543 2002-01-18  Allan Rae  <rae@lyx.org>
9544
9545         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9546         updated also?
9547
9548         * text.C (drawInset): Turned out I didn't know enough about how
9549         rebreaking worked.  This fixes most of the redraw problems.  I see
9550         an occasional cursor trail when a line is broken now and the cursor
9551         placement can seem out by a few pixels also after a rebreak.
9552
9553 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9554
9555         * buffer.C (parseSingleLyXformat2Token): update because minipage
9556         width is now a LyXLength
9557
9558         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9559
9560         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9561         math insets
9562
9563 2002-01-17  Juergen Vigna  <jug@sad.it>
9564
9565         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9566
9567         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9568         is set correctly and the inset is updated correctly.
9569
9570 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9571
9572         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9573         the beginning of the loop.
9574
9575 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9576
9577         * lyxrc.C: improve help for use_scalable_fonts
9578
9579 2002-01-17  Allan Rae  <rae@lyx.org>
9580
9581         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9582
9583 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9584
9585         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9586         make sure to set their inset_owner to the right value (bug #171)
9587
9588 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9589
9590         * DepTable.h
9591         * DepTable.C: Implement mtime checking to reduce time spent doing
9592         CRCs.
9593
9594 2002-01-16  Juergen Vigna  <jug@sad.it>
9595
9596         * tabular.C (GetAdditionalHeight): one of error fixed.
9597
9598         * lyxrc.C (output): small fix in writing use_pspell.
9599
9600 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9601
9602         * sp_base.h: #include LString.h
9603
9604 2002-01-16  Allan Rae  <rae@lyx.org>
9605
9606         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9607         Can someone check this please?
9608
9609         * text.C (drawInset): It was possible that p.row would be removed by
9610         breakAgainOneRow upsetting a few other settings.  There may be another
9611         small tweak possible by setting need_break_row = 0 when p.row has been
9612         removed but I don't know enough about the logic here.
9613
9614 2002-01-15  Allan Rae  <rae@lyx.org>
9615
9616         * text.C (insertChar): removed conditional truism.
9617
9618         * BufferView2.C (removeAutoInsets): More tweaks.
9619         cur_par_prev could be a stray pointer.  Check for trailing empty line
9620         in case last line was cur_par and only had an error inset on it.
9621
9622 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9623
9624         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9625         absolute
9626
9627         * vc-backend.C (most methods):
9628         * exporter.C (Export):
9629         * converter.C (convert):
9630         (runLaTeX):
9631         * LyXSendto.C (SendtoApplyCB):
9632         * lyxfunc.C (dispatch):
9633         (menuNew):
9634         (open):
9635         (doImport):
9636         * lyx_cb.C (AutoSave):
9637         (InsertAsciiFile):
9638         * BufferView_pimpl.C (MenuInsertLyXFile):
9639         * buffer.C (runChktex): use Buffer::filePath().
9640
9641         * buffer.h: rename filename to filename_; rename filepath to
9642         filepath_ and make it private
9643         (filePath): new method
9644
9645         * buffer.C (writeFile): use fileName()
9646         (getLatexName):
9647
9648         * lyx_main.C (init): fix starting  of LyX when the binary is a
9649         link from so,ewhere else.
9650
9651         * minibuffer.C: include <cctype> for isprint
9652
9653 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9654
9655         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9656         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9657         name clash with InsetCollapsable's width function.
9658
9659 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9660
9661         * lastfiles.C: include <iterator>
9662
9663 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9664
9665         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9666         std::count.
9667
9668         * buffer.C (makeLaTeXFile): ditto.
9669         Also make loop operation more transparent.
9670
9671 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9672
9673         * ToolbarDefaults.C: remove trailing comma closing namespace.
9674
9675         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9676
9677         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9678         as in WorkArea.
9679
9680         * trans.C (Load): comment out unused variable, allowed.
9681
9682 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9683
9684         * minibuffer.[Ch] (append_char): new method to recieve input from the
9685         drop-down completion browser. If a key was pressed, then recieve this
9686         char and append it to the existing string.
9687         (peek_event): modify the positioning data passed to the completion
9688         browser so that it can be placed above the minibuffer rather than below.
9689 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9690
9691         * LyXAction.C (init): alloe error-next for readonly documents.
9692
9693         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9694         count.
9695
9696 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9697
9698         * bufferlist.C (readFile): create the buffer _after_ checking that
9699         the file exists.
9700
9701         * lyxfunc.C (verboseDispatch): fix handling of arguments
9702
9703         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9704
9705         * lyxrc.C: use string::erase() instead of initializing to "".
9706
9707
9708 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9709
9710         * BufferView_pimpl.h:
9711         * BufferView_pimpl.C:
9712         * WorkArea.h:
9713         * WorkArea.C:
9714         * text2.C: tell X when we have made a selection for copying
9715
9716 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9717
9718         * BufferView_pimpl.C (MenuInsertLyXFile):
9719         * lyxfunc.C (menuNew):
9720         (open):
9721         (doImport): add shortcuts to directory buttons
9722
9723         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9724         open a float)
9725
9726         * lyxfunc.C (setStatusMessage):
9727         (getStatusMessage): new methods
9728         (getStatus):use setStatusMessage instead of setErrorMessage
9729         (dispatch): when function is disabled, set error message here
9730         [instead of in getStatus previously]
9731
9732         * BufferView_pimpl.C (workAreaButtonRelease): update
9733         toolbar/menubar here too.
9734
9735 2002-01-13  Allan Rae  <rae@lyx.org>
9736
9737         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9738         Now seems indestructible.  Remaining task is to audit all other
9739         code affected by deleteEmptyParagraphMechanism.  One small quirk
9740         left is that an empty document with an error in the preamble can
9741         be made to report an error but no error box appears.  I don't know
9742         where it goes.
9743         (removeAutoInsets): Improved comments.
9744
9745 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9746
9747         * Thesaurus.h:
9748         * Thesaurus.C: update for Aiksaurus 0.14
9749
9750 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9751
9752         * text2.C (firstParagraph): removed member function, all uses
9753         replaces with ownerParagraph
9754         (redoParagraphs): here
9755         (updateInset): here
9756         (toggleAppendix): here
9757         * BufferView2.C (insertErrors): here
9758         (setCursorFromRow): here
9759
9760 2002-01-13  Allan Rae  <rae@lyx.org>
9761
9762         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9763         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9764         There is still a way to segfault this although you may have to do this
9765         multiple times: Have an InsetERT with an unknown command in it.
9766         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9767         <down-arrow>, <Enter> again, View->DVI, BANG!
9768
9769         * text2.C (setCursor):
9770         (deleteEmptyParagraphMechanism):
9771         * lyxtext.h (setCursor):
9772         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9773         Making use of the return value may help fix other bugs.
9774
9775 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9776
9777         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9778
9779         * LyXView.C (updateMenubar): call MenuBar::update here
9780         (updateToolbar): but not here
9781         (showState): do not update toolbar/menubar
9782
9783         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9784         should need to care about that.
9785
9786         * lyxfunc.C (verboseDispatch): simplify a bit
9787         (getStatus): have a version which takes a pseudoaction, and
9788         another which requires a (kb_action,string).
9789
9790         * LyXAction.C (retrieveActionArg): make it work also when action
9791         is not a pseudo-action.
9792         (getActionName): simplify a bit
9793         (helpText):
9794
9795 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9796
9797         * lyxfunc.C (verboseDispatch): new families of methods with
9798         several ways to specify a command and a bool to indicate whether
9799         the command name and shortcut should be displayed in minibuffer
9800         (eventually, we could extend that to a finer bitmask like
9801         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9802         (dispatch): the pristine dispatch command which just, well,
9803         dispatchs! Note it still sets its result to minibuffer; I'm not
9804         sure we want that.
9805
9806         * lyxfunc.h: remove setHintMessage
9807
9808         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9809
9810 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9811
9812         * BufferView_pimpl.C (specialChar): delete new inset if we have
9813         not been able to insert it.
9814
9815         * kbmap.C: revert to using int instead of kb_action, since all we
9816         are dealing with is pseudo-actions.
9817
9818         * LyXAction.C (searchActionArg): change to return int instead of
9819         kb_action, since the result is a pseudoaction.
9820
9821 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9822
9823         * buffer.C (insertErtContents): Fix (partially) the font bug.
9824
9825 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9826
9827         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9828         as the other one is broken on my machine!
9829
9830 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9831
9832         * commandtags.h:
9833         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9834
9835 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9836
9837         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9838         reflect their actual use. Provide compatibility code for older lyxrc
9839         files.
9840
9841         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9842         FL_NORMAL_STYLE.
9843         change names of popup font variables in line with the changes to lyxrc.C
9844
9845 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9846
9847         * buffer.C (asciiParagraph): avoid outputing a word twice after
9848         an inset.
9849
9850         * lyxrc.C (getDescription): document that document_path and
9851         template_path can be empty.
9852
9853 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9854
9855         * LaTeXFeatures.C (getMacros):
9856         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9857
9858         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9859
9860         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9861         getPackages.
9862         (getPackages): rename feature "floats" to "float". Use an array to
9863         iterate over 'simple' features (i.e. just a \usepackage). Add
9864         handling of "amsmath" (renamed from "amsstyle").
9865
9866 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9867
9868         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9869         features list.
9870
9871 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9872
9873         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9874         FuncStaus::FuncStatus & FuncStaus::some_method().
9875
9876 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9877
9878         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9879         of the func_satus stuff. Edited and massaged in various ways by
9880         JMarc.
9881
9882         * lyxfunc.C (getStatus): use FuncStatus
9883
9884 2002-01-08  Juergen Vigna  <jug@sad.it>
9885
9886         * text.C (nextBreakPoint): use function Inset::isChar().
9887
9888         * paragraph.C (TeXOnePar): use function
9889         Inset::forceDefaultParagraphs.
9890
9891         * buffer.C (latexParagraphs): use function
9892         Inset::forceDefaultParagraphs.
9893
9894 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9895
9896         * lyx_gui.C (init): set the style of the menu popups to
9897         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9898
9899 2002-01-07  Juergen Vigna  <jug@sad.it>
9900
9901         * text.C (setHeightOfRow): small fix
9902         (prepareToPrint): don't look at alignment if we don't have the place
9903         for doing it.
9904
9905 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9906
9907         * box.C: New file. Move the Box methods and functions out of box.h,
9908         following Lars' suggestion.
9909
9910 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9911
9912         * box.h: #include "support/LOstream.h", needed for inlined function.
9913
9914         * lyxtextclass.C:
9915         * lyxtextclasslist.C: added some using std declarations.
9916
9917 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9918
9919         * box.h: make signed dimensions to allow insets wider than
9920           the screen (bug #162)
9921
9922         * BufferView_pimpl.C: add some insetHit debug
9923
9924 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9925
9926         * vc-backend.C: add FIXME
9927
9928 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9929
9930         * lyxfunc.C (getStatus): enable code for showing math font status
9931         in toolbar/menu.
9932
9933 2002-01-07  Juergen Vigna  <jug@sad.it>
9934
9935         * text.C (nextBreakPoint): removed debug output not needed anymore.
9936
9937 2002-01-06  Juergen Vigna  <jug@sad.it>
9938
9939         * text.C (nextBreakPoint): fixed up this function we had this bug
9940         since ever but now hopefully we break row better.
9941         (insertChar): we have to check if an inset is the next char as it
9942         could now happen that a large inset is causing a break.
9943
9944 2002-01-05  Juergen Vigna  <jug@sad.it>
9945
9946         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9947         if it doesn't like to be drawed.
9948
9949 2002-01-04  Juergen Vigna  <jug@sad.it>
9950
9951         * BufferView2.C (lockInset): forgot to set a cursor.
9952
9953         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9954
9955 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9956
9957         * FormMathsPanel.C:
9958         * FormMathsPanel.h
9959         * MathsSymbols.C:
9960         * form_maths_panel.C:
9961         * form_maths_panel.h:
9962         * form_maths_panel.fd: implemented sub- and super- buttons in math
9963         panel.
9964
9965         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9966         (or ^ space) to be used as in TeX (req'd by André).
9967
9968         * lyxfunc.C: Allow ^ and _ again to be used both as
9969         super/subscript (mathed) and as themselves (in text).
9970
9971 2002-01-03  Allan Rae  <rae@lyx.org>
9972
9973         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9974         "LyX" or the filename of the current buffer if it has one.  This is a
9975         modified form of John Levon's patch.
9976
9977         * XFormsView.C (setWindowTitle): also set icon title.
9978
9979         * LyXView.h (setWindowTitle): signature changed.
9980         * XFormsView.h (setWindowTitle): ditto.
9981
9982 2002-01-02  Juergen Vigna  <jug@sad.it>
9983
9984         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9985
9986 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9987
9988         * screen.C (topCursorVisible): introduce a temp var for
9989         text->cursor.row(), handle the case where this row is null. (kindo
9990         hachish)
9991
9992         * text2.C (setCursor): add a couple of asserts.
9993
9994         * paragraph.h (inset_iterator): add -> operator
9995
9996         * paragraph.[Ch] (autoDeleteInsets): remove member function
9997
9998         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9999         cursor pos correctly and handle inset deletion by itself.
10000         (insertErrors): move iterator declaration out of for expression
10001
10002         * lyxtextclass.C: add <algorithm>
10003
10004         * Makefile.am: added the new files to sources, removed layout.C
10005
10006         * layout.C: removed file
10007
10008         * layout.h: remove LYX_DUMMY_LAYOUT
10009
10010         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10011         layout.
10012
10013         * lyxlayout.[Ch]:
10014         * lyxtextclass.[Ch]:
10015         * lyxtextclasslist.[Ch]: new files
10016
10017         * include order changes to a lot of files, also changes because of
10018         the six new files.
10019
10020 2001-12-27  Juergen Vigna  <jug@sad.it>
10021
10022         * buffer.C (asciiParagraph): more fixes.
10023
10024         * tabular.C (ascii): make ascii export support export of only the
10025         data separated by a column-delimiter.
10026         (ascii): better support for ascii export.
10027
10028         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10029
10030 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10031
10032         * tabular_funcs.C: use a "using std::getline" instead of the
10033         previous fix from Angus (necessary for cxx + lyxstring)
10034
10035 2001-12-24  Juergen Vigna  <jug@sad.it>
10036
10037         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10038
10039         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10040         problems. First check a minipage also if we have some ert-contents
10041         (not only on par->size(), second set the right depth of the paragraph
10042         on the relink to the root-paragraph-list!
10043
10044         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10045         which then did not anymore update the main paragraphs on undo/redo!
10046
10047 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10048
10049         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10050         code. Support all font-changing funcs (even those which are not in
10051         menu currently). Support for reporting font settings in
10052         mathed (disabled until Andre provides a function on mathed's side).
10053
10054         * func_status.h (toggle): small helper function to set toggle
10055         state on a flag.
10056
10057 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10058
10059         * tabular_funcs.C: getline -> std::getline
10060
10061 2001-12-21  Juergen Vigna  <jug@sad.it>
10062
10063         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10064         accessed and could be 0 (I couldn't generate this but it seems
10065         Michael could!).
10066
10067 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10068
10069         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10070         * tabular_funcs.h: here and include iosfwd
10071
10072 2001-12-20  Juergen Vigna  <jug@sad.it>
10073
10074         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10075         inside inset but undo_par was.
10076
10077 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10078
10079         * Thesaurus.C: always include <config.h> in sources.
10080
10081         * Painter.h:
10082         * lyxlookup.h:
10083         * box.h: do not include <config.h> in header files
10084
10085         * text.C (paintLastRow): remove unused variable
10086
10087         * text.C (transformChar):
10088         (insertChar):
10089         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10090
10091         * Painter.C (text):
10092         * font.C (width): rewrite to use uppercase() instead of
10093         islower/toupper.
10094
10095         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10096
10097 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10098
10099         * lyxfind.C: clean up of find failure position change
10100
10101 2001-12-20  Juergen Vigna  <jug@sad.it>
10102
10103         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10104
10105         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10106         (TeXRow): added to LaTeX a single tabular row.
10107         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10108         (Latex): simplified and finally good LT-h/f support.
10109         (various_functions): just small adaptions for LT-h/f support.
10110
10111         * tabular_funcs.[hC]: added and moved here all not classfunctions
10112         of LyXTabular.
10113
10114 2001-12-19  Juergen Vigna  <jug@sad.it>
10115
10116         * tabular.[Ch]: better support for longtabular options (not finished
10117         yet!)
10118
10119 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10120
10121         * text.C (paintLastRow): use the label font instead of the font of
10122         the last character to compute the size of *_BOX. This makes more
10123         sense and avoids a crash with empty paragraphs.
10124         Use Painter::rectangle to draw EMPTY_BOX.
10125
10126 2001-12-19  Juergen Vigna  <jug@sad.it>
10127
10128         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10129         the paragraphs if the replaced paragraph is not the first one!
10130         Tried to delete not used paragraphs but does not work yet so for
10131         now it's inside #ifdef's and by default off!
10132
10133 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10134
10135         * MenuBackend.C: include "lyx_main.h" instead of declaring
10136         lastfiles (actually was declared as LastFiles* instead of a
10137         scoped_ptr).
10138
10139 2001-12-17  Juergen Vigna  <jug@sad.it>
10140
10141         * tabular.C (AppendColumn): applied John's fix
10142
10143 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10144
10145         * BufferView.h:
10146         * BufferView.C:
10147         * BufferView_pimpl.h:
10148         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10149
10150         * Makefile.am:
10151         * box.h: new start of class for above
10152
10153         * lyxfunc.C: ignore space-only minibuffer dispatches.
10154           Show the command name when it doesn't exist
10155
10156         * minibuffer.C: don't add empty lines to the history
10157
10158         * minibuffer.C: add a space on dropdown completion
10159
10160 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10161
10162         * text.C: fix line above/below drawing in insets
10163
10164 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10165
10166         * lyxlength.C (LyXLength): Initialize private variables.
10167
10168 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10169
10170         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10171         when inserting error insets.
10172
10173 2001-12-13  Juergen Vigna  <jug@sad.it>
10174
10175         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10176         actually sometimes the before-paragraph.
10177         (setUndo): don't clear the redostack if we're not actually undoing!
10178
10179 2001-12-06  Juergen Vigna  <jug@sad.it>
10180
10181         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10182         and fixed redoing of main paragraph, so we can use it now ;)
10183
10184         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10185
10186 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10187
10188         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10189         Juergen's request
10190
10191 2001-12-13  André Pönitz <poenitz@gmx.net>
10192
10193         * undostack.[Ch]:
10194         * undo_func.C: minor cleanup
10195
10196 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10197
10198         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10199         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10200         font in urw-fonts package which is marked as -urw-fontspecific and
10201         does not work (incidentally, changing the encoding in the
10202         fonts.dir of this package to -adobe-fontspecific fixes the
10203         problem).
10204
10205         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10206         is a crash when undoing first paragraph (Juergen, please take a
10207         look). THis does not mean the undo fix is wrong, just that it
10208         uncovers problems.
10209
10210         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10211         the (Paragraph*) version when needed instead of duplicating the
10212         code.
10213
10214         * text.C (workWidth): use Inset::parOwner to find out where the
10215         inset has been inserted. This is a huge performance gain for large
10216         documents with lots of insets. If Inset::parOwner is not set, fall
10217         back on the brute force method
10218
10219         * paragraph_pimpl.C (insertInset):
10220         * paragraph.C (Paragraph):
10221         (cutIntoMinibuffer): set parOwner of insets when
10222         inserting/removing them
10223
10224         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10225
10226 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10227
10228         * commandtags.h:
10229         * LyXAction.C:
10230         * lyx_main.C:
10231         * lyxfunc.C:
10232         * mathed/formulabase.C:
10233         * mathed/math_cursor.[Ch]:
10234         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10235
10236
10237 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10238
10239         * lyxlength.[Ch] (operator!=): new function
10240
10241 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10242
10243         * text.C (workWidth): use Inset::parOwner to find out where the
10244         inset has been inserted. This is a huge performance gain for large
10245         documents with lots of insets. If Inset::parOwner is not set, fall
10246         back on the brute force method
10247
10248         * paragraph_pimpl.C (insertInset):
10249         * paragraph.C (Paragraph):
10250         (cutIntoMinibuffer): set parOwner of insets when
10251         inserting/removing them
10252
10253         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10254
10255 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10256
10257         * tabular-old.C (getTokenValue):
10258         * tabular.C (getTokenValue):
10259         (write_attribute): new versions for LyXLength
10260         (everywhere): adjust the use of widths
10261
10262         * tabular.h: change the type of widths from string to LyXLength
10263
10264 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10265
10266         * paragraph.C: fixed missing line number count when exporting
10267         Environments to LaTeX file
10268
10269         * buffer.C: added informational message for checking line numbers.
10270
10271 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10272
10273         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10274         paragraph, do the 'double space' part, but not the 'empty
10275         paragraph' one.
10276
10277         * text.C (workWidth): small optimization
10278         (getLengthMarkerHeight): use minimal size for negative lengths.
10279
10280 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10281
10282         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10283
10284         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10285
10286 2001-12-11  André Pönitz <poenitz@gmx.net>
10287
10288         * FontLoader.C:
10289         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10290
10291 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10292
10293         * text2.C: keep selection on a setFont()
10294
10295 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10296
10297         * lyx_cb.C: another bv->text misuse, from insert label
10298
10299 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10300
10301         * kbsequence.h:
10302         * kbsequence.C: re-instate nmodifier mask
10303
10304 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10305
10306         * lyx_main.h: make lyxGUI private.
10307
10308 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10309
10310         * lyxfind.C: place the cursor correctly on failed search
10311
10312 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10313
10314         * text.C (getLengthMarkerHeight): for small heights, the arrows
10315         are not always on top/bottom of the text
10316         (drawLengthMarker): smaller arrows; take the left margin in
10317         account; draw also vfills.
10318         (paintFirstRow):
10319         (paintLastRow): remove special code for vfill and standard spaces,
10320         since everything is handled in drawLengthMarker now.
10321
10322 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10323
10324         * buffer.C (insertErtContents): try to handle font and language
10325         interaction a bit better.g
10326
10327         * ColorHandler.C (updateColor): change the hash to cover the whole
10328         LColor enum, ws cleanup
10329         (getGCLinepars): ditto
10330         (getGCLinepars): only lookup in the linecache once.
10331
10332 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10333
10334         * iterators.C (operator++): Make the iterator more robust
10335
10336         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10337         (John's patch)
10338         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10339
10340 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10341
10342         * lyxtext.h:
10343         * text.C: better added space drawing
10344
10345 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10346
10347         * LyXView.C:
10348         * BufferView2.C: fix layout combo update on inset unlock
10349
10350 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10351
10352         * Makefile.am: don't compile unused files
10353
10354 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10355
10356         * lyxfunc.C:
10357         * commandtags.h:
10358         * LyXAction.C: remove old LFUN_LAYOUTNO
10359
10360 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10361
10362         * paragraph_pimpl.h:
10363         * paragraph_pimpl.C: isTextAt() doesn't need font param
10364
10365 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10366
10367         * lyxlex.h:
10368         * lyxlex.C: little cleanup
10369
10370 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10371
10372         * BufferView_pimpl.C: fix insertAscii for insets
10373
10374 2001-12-05  Juergen Vigna  <jug@sad.it>
10375
10376         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10377         set the right font on the "multi" paragraph paste!
10378
10379 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10380
10381         * trans_decl.h:
10382         * trans_mgr.[Ch]:
10383         * trans.[Ch]:
10384         * lyxgluelength.C:
10385         * lyxlength.C: remove out-commented code.
10386
10387         * BufferView_pimpl:
10388         * CutAndPaste.C:
10389         * DepTable.C:
10390         * buffer.C:
10391         * chset.C:
10392         * lastfiles.C:
10393         * lyxlex.C:
10394         * lyxlex_pimpl.C:
10395         * lyxserver.C:
10396         * screen.C:
10397         * tabular-old.C:
10398         * tabular.C:
10399         * text.C:
10400         * trans_mgr.C:
10401         * vc-backend.C: change "while(" to "while ("
10402
10403         * lyxlength.[Ch]: add zero function to check if length is zero or
10404         not
10405         * lyxgluelength.C: use it
10406
10407 2001-12-05  Allan Rae  <rae@lyx.org>
10408
10409         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10410         Works for 2.95.3, from what I understand of Garst's reports this should
10411         work for other g++ versions.  We're screwed if the abs(int) definition
10412         changed between bugfix releases of gcc.
10413
10414 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10415
10416         * text.C: fix chapter label offset !
10417
10418 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10419
10420         * lyxtext.h:
10421         * text.C: fix hfill at end of line, clean up
10422
10423 2001-12-04  Juergen Vigna  <jug@sad.it>
10424
10425         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10426         that we force an update of the inset and it's owners if neccessary.
10427
10428 2001-12-03  Juergen Vigna  <jug@sad.it>
10429
10430         * text.C (rowLast): simplified code
10431
10432 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10433
10434         * lyxfunc.C: fix show options on timeout
10435
10436 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10437
10438         * screen.C (topCursorVisible): scroll half a page when the cursor
10439         reached top of bottom of screen
10440
10441 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10442
10443         * minibuffer.C: deactivate on loss of focus
10444
10445 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10446
10447         * vspace.[Ch] (operator!=): add operator.
10448
10449 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10450
10451         * BufferView_pimpl.C: refuse to open an inset when
10452         there's a selection.
10453
10454 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10455
10456         * BufferView_pimpl.C: allow to click on RHS of full row insets
10457
10458 2001-11-30  Juergen Vigna  <jug@sad.it>
10459
10460         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10461         insets for undo reasons.
10462
10463 2001-11-28  André Pönitz <poenitz@gmx.net>
10464
10465         * vspace.[Ch]: cosmetical changes
10466
10467 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10468
10469         * LyXAction.h:
10470         * LyXAction.C:
10471         * lyxfunc.h:
10472         * lyxfunc.C:
10473         * kbmap.h:
10474         * kbmap.C:
10475         * lyxrc.C:
10476         * kbsequence.h:
10477         * kbsequence.C: part re-write of old kb code
10478
10479         * Painter.C:
10480         * WorkArea.C: remove Lgb_bug_find_hack
10481
10482 2001-11-30  José Matos <jamatos@fep.up.pt>
10483
10484         * buffer.C (makeDocBookFile): add a comment to point a hack.
10485         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10486         Fixed a double write of labels.
10487
10488 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10489
10490         * LaTeX.C:
10491         * LaTeX.h Fixed bug in LaTeX class where it would not
10492         re-run latex if no depfiles were changed, but the .dvi was removed.
10493
10494 2001-11-28  André Pönitz <poenitz@gmx.net>
10495
10496         * all the files from the change on 2001/11/26:
10497         use lyx::layout_type instead of LyXTextClass::size_type
10498         use lyx::textclass_type instead of LyXTextClassList::size_type
10499
10500 2001-11-29  Juergen Vigna  <jug@sad.it>
10501
10502         * text.C: added support for paragraph::isFreeSpacing()
10503
10504         * buffer.C: same as above
10505
10506         * paragraph.h: inserted isFreeSpacing() function to enable
10507         FreeSpacing inside InsetERT.
10508
10509         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10510         of the paragraph's in the cut/copy buffer to 0!
10511
10512         * text2.C (removeRow): remove the assert as it can!
10513
10514         * lyxtext.h: added helper function firstRow returning firstrow and
10515         made firstrow private again.
10516
10517         * BufferView2.C (lockInset): don't relock if we're already locked!
10518
10519         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10520         the only paragraph.
10521         (removeRow): added Assert::(firstrow)
10522
10523         * debug.C: forgot to add INSETTEXT here.
10524
10525 2001-11-28  Juergen Vigna  <jug@sad.it>
10526
10527         * sp_spell.C (initialize): changed error text to more general
10528         spellchecker command use (not only ispell!)
10529
10530         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10531
10532         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10533
10534 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10535
10536         * vspace.C: initialise lyxgluelength on failure
10537
10538 2001-11-28  Allan Rae  <rae@lyx.org>
10539
10540         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10541         declaration & definition that looks like a function declaration.
10542
10543 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10544
10545         * BufferView2.C (copy):
10546         (copyEnvironment): do not clear the selection when doing a copy.
10547
10548         * text.C (paintFirstRow): compilation fix
10549
10550 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10551
10552         * tabular.C (Latex): correct line count when writing latex.
10553
10554 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10555
10556         * paragraph_pimpl.h:
10557         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10558           bug a bit
10559
10560 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10561
10562         * text.C:
10563         * LColor.h:
10564         * LColor.C: change vfillline->added_space
10565
10566         * text.C: add markers and text for added space
10567
10568         * vspace.C: fix comment
10569
10570 2001-11-28  André Pönitz <poenitz@gmx.net>
10571
10572         * paragraph.C: whitespace changes
10573         * all the other files from the change on 2001/11/26:
10574         change *::pos_type into lyx::pos_type
10575
10576 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10577
10578         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10579         language of the document when inserting error insets.
10580
10581 2001-11-26  André Pönitz <poenitz@gmx.net>
10582
10583         * BufferView_pimpl.[Ch]:
10584         *       CutAndPaste.C:
10585         * buffer.[Ch]:
10586         * lyxcursor.[Ch]:
10587         * lyxfind.C:
10588         * lyxfunc.C:
10589         * lyxrow.[Ch]:
10590         * paragraph.[Ch]:
10591         * paragraph_pimpl.[Ch]:
10592         * sp_spell.C:
10593         * text.C:
10594         * text2.C: reduce header dependencies, introduce type for positions
10595
10596 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10597
10598         * <various>: change to use Alert.h
10599
10600 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10601
10602         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10603         when encountering an unknown token.
10604         (readLyXformat2): Show an error message if there were unknown tokens.
10605
10606 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10607
10608         * BufferView2.C:
10609         * BufferView_pimpl.C:
10610         * buffer.C:
10611         * paragraph.h:
10612         * text.C:
10613         * text2.C: use par->isInset()
10614
10615 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10616
10617         * paragraph_pimpl.h:
10618         * paragraph_pimpl.C: cleanup
10619
10620 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10621
10622         * text2.C (removeRow):
10623         * text.C (setHeightOfRow): remove useless (and costly) call to
10624         getRow.
10625
10626 2001-11-20  Allan Rae  <rae@lyx.org>
10627
10628         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10629         Now need Inset*::checkInsertChar() to return true for appropriate
10630         cases so that the characters in the minibuffer will actually be
10631         inserted.
10632
10633 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10634
10635         * text.C: change the order of the includes.
10636         (workWidth): initialize it at once.
10637         (workWidth): make maxw unsigned
10638         (setHeightOfRow): remove unused variable (inset)
10639         (selectSelectedWord): remove unused variable (inset)
10640         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10641
10642 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10643
10644         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10645         server is not running.
10646         (openConnection):
10647         (closeConnection): add debug info when server is disabled.
10648
10649         * ColorHandler.C (getGCForeground): send debug message to GUI
10650         channel.
10651
10652         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10653
10654         * kbmap.C (bind): modify because return conventions of
10655         kb_sequence::parse have changed.
10656
10657         * kbsequence.C (parse): only ignore spaces and not any stupid
10658         control character. This avoids tests like s[i] <= ' ', which are
10659         guaranteed to fail with 8bit characters and signed chars.
10660         Change return code to string::npos when there have been no error
10661         (0 was a bad idea when error is at first character)
10662
10663 2001-11-14  José Matos  <jamatos@fep.up.pt>
10664
10665         * buffer.h:
10666         * buffer.C (simpleDocBookOnePar): removed unused argument.
10667
10668 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10669
10670         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10671         insets which are part of a word. Paragraph::isLetter takes care of
10672         that now. Use Paragraph::isInset to identify insets.
10673         (selectSelectedWord): do not test for hyphenation break.
10674
10675         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10676         that protected spaces are considered as spaces.
10677
10678         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10679         Inset::isLetter.
10680
10681 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10682
10683         * lyxserver.h:
10684         * lyxserver.C: fix it. and small cleanup.
10685
10686 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10687
10688         * BufferView_pimpl.C: use inline helpers
10689
10690         * LaTeXFeatures.h:
10691         * LaTeXFeatures.C: fix typos
10692
10693         * Spacing.h:
10694         * Spacing.C: move spacing_string into class
10695
10696         * ToolbarDefaults.C: move stuff into namespace anon
10697
10698         * layout.h: update enum
10699
10700         * lyxfunc.C: use better debug
10701
10702         * minibuffer.h: fix typo
10703
10704         * debug.h:
10705         * debug.C:
10706         * WorkArea.C: add and use Debug::WORKAREA
10707
10708         * lyxtext.h:
10709         * text.C:
10710         * text2.C: code re-organisation, inline helpers
10711
10712 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10713
10714         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10715         std::vector.empty().
10716
10717 2001-11-09  Allan Rae  <rae@lyx.org>
10718
10719         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10720         '\n's after tables.  Tabular and ERT inset work now makes this no
10721         longer necessary.
10722
10723 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10724
10725         * minibuffer.h:
10726         * minibuffer.C: fix crash, improve drop-down completion
10727
10728 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10729
10730         * lyxserver.h:
10731         * lyxserver.C: invalidate fd's when doing endPipe()
10732
10733 2001-11-08  José Matos  <jamatos@fep.up.pt>
10734
10735         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10736         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10737
10738         * paragraph.h:
10739         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10740
10741 2001-11-07  José Matos  <jamatos@fep.up.pt>
10742
10743         * buffer.h:
10744         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10745         const qualifier.
10746
10747         * buffer.C (sgmlOpenTag):
10748         * buffer.C (sgmlCloseTag): removed debug info.
10749
10750         * buffer.h (sgmlOpenTag):
10751         * buffer.h (sgmlCloseTag): made public.
10752
10753 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10754
10755         * buffer.C (saveParamsAsDefaults):
10756         * lyx_cb.C (MenuLayoutSave): remove
10757
10758         * LyXAction.C (init):
10759         * commandtags.h:
10760         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10761
10762 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10763
10764         * buffer.C (setPaperStuff): removed from here...
10765
10766         * bufferparams.C (setPaperStuff): ... and moved there.
10767
10768 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10769
10770         * minibuffer.h:
10771         * minibuffer.C:
10772         * XFormsView.C: add support for drop-down completion
10773
10774 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10775
10776         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10777         commands.
10778
10779 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10780
10781         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10782         disabled.
10783
10784 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10785
10786         * lyx_main.C: change ref to known bugs
10787
10788 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10789
10790         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10791         to work around older babel problems.
10792
10793 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10794
10795         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10796
10797 2001-10-24  Juergen Vigna  <jug@sad.it>
10798
10799         * tabular-old.C (ReadOld): below variable changes reflected.
10800
10801         * tabular.[Ch]: added ltType struct for longtable header/footer
10802         defines and changed all instances where they are used. Added
10803         future support for double top/bottom rows.
10804
10805 2001-10-24  José Matos  <jamatos@fep.up.pt>
10806
10807         * buffer.h (docbookHandleCaption):
10808         * buffer.C (docbookHandleCaption): removed unused function.
10809         (makeDocBookFile): moved docbook supported version to v4.1.
10810
10811 2001-10-24  José Matos  <jamatos@fep.up.pt>
10812
10813         * tabular.h:
10814         * tabular.C (docbookRow): new function to export docbook code of a row.
10815         (DocBook): now honors the longtable flags.
10816
10817 2001-10-23  José Matos  <jamatos@fep.up.pt>
10818
10819         * LaTeXFeatures.h:
10820         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10821         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10822
10823         * buffer.C (makeLinuxDocFile):
10824         (makeDocBookFile): reworked the preamble, more clean, and with
10825         support for lyx defined entities. Changed the document declaration
10826         to be more XML friendly.
10827
10828         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10829         if we need to output XML that should be done with a filter.
10830
10831 2001-10-22  Juergen Vigna  <jug@sad.it>
10832
10833         * sp_pspell.h (class PSpell): add alive function needed in the
10834         controller to see if the spellchecker could be started.
10835
10836 2001-10-22  Juergen Vigna  <jug@sad.it>
10837
10838         * buffer.C (insertStringAsLines): modify the font for inserting
10839         chars in certain conditions by calling checkInsertChar(font).
10840
10841 2001-10-19  Juergen Vigna  <jug@sad.it>
10842
10843         * text.C (workWidth): use getRow instead of wrong algorithm.
10844         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10845
10846 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10847
10848         * lyxserver.h:
10849         * lyxserver.C:
10850         * lyx_main.h:
10851         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10852
10853 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10854
10855         * text.C (workWidth): do not search for the exact row when
10856         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10857         optimization for big documents.
10858
10859 2001-10-18  Juergen Vigna  <jug@sad.it>
10860
10861         * text.C (workWidth): new function with added Inset * parameter.
10862
10863 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10864
10865         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10866
10867         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10868         change return type of getColumnNearX.
10869
10870
10871         * text.C (changeRegionCase): use uppercase/lowercase instead of
10872         toupper/tolower.
10873         (leftMargin):
10874         (rightMargin): simplify code by factoring out the uses of
10875         textclasslist.
10876         (labelFill):
10877         (numberOfHfills):
10878         (setHeightOfRow):
10879         (appendParagraph): use Paragraph::size_type
10880
10881 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10882
10883         * vspace.C (asLatexString): add a missing break
10884
10885 2001-10-15  Herbert Voss  <voss@perce.de>
10886
10887         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10888
10889 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10890
10891         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10892         is not available.
10893
10894 2001-10-10  André Pönitz <poenitz@gmx.net>
10895
10896         * lyxfunc.C: removed greek_kb_flag.
10897
10898 2001-10-10  Herbert Voss  <voss@perce.de>
10899
10900         * lyx_main.C: delete global string help_lyxdir.
10901
10902 2001-10-09  Herbert Voss  <voss@perce.de>
10903
10904         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10905
10906         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10907
10908         * lyx_main.C: added global string help_lyxdir.
10909
10910         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10911
10912 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10913
10914         * lyxrc.C (set_font_norm_type): support iso8859-4
10915
10916 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10917
10918         * LaTeX.C (deplog): add another regex for MikTeX
10919
10920 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10921
10922         * lyxrc.C (set_font_norm_type): support iso8859-3
10923
10924 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10925
10926         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10927
10928         * LaTeXFeatures.C: remove special case of french and index
10929
10930         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10931         before \begin{document}). This solves several incompatibilities.
10932
10933 2001-10-03  Garst Reese  <reese@isn.net>
10934
10935         * lyx_cb.C: change CheckTex error msg.
10936
10937 2001-10-03  José Matos  <jamatos@fep.up.pt>
10938
10939         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10940
10941 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10942
10943         * .cvsignore: update
10944
10945         * lyx_main.C (commandLineVersionInfo): use new style version info.
10946
10947         * buffer.C (writeFile):
10948         (makeLaTeXFile):
10949         (makeLinuxDocFile):
10950         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10951
10952         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10953
10954         * version.h: update to use stuff in version.C
10955
10956         * version.C.in: new file. Contains version information determined
10957         at compile time. This is a merging of version.h and
10958         version_info.h.in.
10959
10960 2001-10-03  Juergen Vigna  <jug@sad.it>
10961
10962         * BufferView_pimpl.C (update): don't change "dirty" status in
10963         updateInset call.
10964
10965 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10966
10967         * WorkArea.C (c-tor): re-position version string slightly.
10968
10969 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10970
10971         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10972         revert to previous code.
10973
10974         WorkArea.[Ch]: (show, destroySplash): methods removed.
10975
10976         WorkArea.C: rework code so that it's an amalgam of the codes before and
10977         after the splash screen was moved to WorkArea.
10978
10979 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10980
10981         * lyxrc.C (read):
10982         * vspace.C (inPixels):
10983         (lyx_advance):
10984         * kbmap.C (bind):
10985         * buffer.C (insertStringAsLines):
10986         (asciiParagraph): fix types to be large enough
10987
10988         * lyxlex_pimpl.h: change member status from short to int
10989
10990         * layout.h: fix type of endlabeltype
10991
10992         * kbmap.C (bind):
10993         * kbsequence.C (parse): change return type to string::size_type
10994
10995         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10996         variable
10997
10998         * Bullet.C (bulletSize):
10999         (bulletEntry): do not use short ints as parameters
11000
11001         * BufferView2.C (insertLyXFile): change a char to an int.
11002
11003         * WorkArea.C (WorkArea): remove unneeded floats in computation
11004
11005 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11006
11007         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11008
11009         * paragraph.C (asString): Do not ignore newline/hfill chars when
11010         copying to the clipboard.
11011
11012 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11013
11014         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11015         after a multi-line inset.
11016
11017 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11018
11019         * paragraph.C (validate): Set NeedLyXFootnoteCode
11020
11021 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11022
11023         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11024         and decrease-error to decrease.
11025
11026 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11027
11028         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11029         it more readable (should be equivalent)
11030
11031 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11032
11033         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11034
11035 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11036
11037         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11038         of a cursor (row, etc.) after a character has been deleted
11039         (deleteEmptyParagraphMechanism): call the method above on _all_
11040         cursors held by the LyXText when a double space has been
11041         detected/deleted.
11042
11043 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11044
11045         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11046         pixmap.
11047         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11048
11049         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11050         background. Use greyOut() and the new show() methods to toggle between
11051         the foreground and background. Add code to remove the splash after
11052         its initial showing.
11053
11054         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11055         (create_forms): no longer call Dialogs::showSplash.
11056
11057 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11058
11059         * .cvsignore: add version_info.h
11060
11061 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11062
11063         * version_info.h.in: new file
11064
11065         * Makefile.am: add version_info.h.in
11066
11067         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11068         version_info.h instead of VERSION_INFO
11069
11070 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11071
11072         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11073         The ERT inset now returns string().
11074
11075 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11076
11077         * lyxtext.h, text.C (selectNextWord): renamed as
11078         selectNextWordToSpellcheck.
11079
11080         * text.C (selectNextWordToSpellcheck): Modified to not select
11081         words inside an ERT inset.
11082
11083 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11084
11085         * lyx_cb.C (MenuLayoutSave): change a bit the question
11086
11087         * sp_base.h: include <sys/types.h>
11088
11089 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11090
11091         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11092
11093 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11094
11095         * several files: fix typos in user-visible strings
11096
11097 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11098
11099         * text2.C (pasteSelection): do not set the selection, since it
11100         will be cleared later. Actually, the intent was to fix the way the
11101         selection was set, but I figured rmoving the code was just as good.
11102
11103 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11104
11105         * FontLoader.C (available): Check if font is available without
11106         loading the font.
11107
11108 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11109
11110         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11111
11112 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11113
11114         * lyxrc.[Ch]: added display_graphics variable and associated code.
11115
11116 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11117
11118         * bufferparams.C (hasClassDefaults): new method. Returns true if
11119         the buffer parameters correspond to known class defaults
11120
11121 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11122
11123         * XFormsView.C (show): set minimum size to the main window.
11124
11125 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11126
11127         * text2.C (copySelection):
11128         (cutSelection):
11129         * lyxfind.C (LyXReplace):
11130         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11131         LyXText::selectionAsString.
11132
11133         * paragraph.C (asString): add "label" argument to the second form
11134
11135         * text2.C (selectionAsString): add "label" argument and pass it to
11136         Paragraph::asString.
11137
11138 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11139
11140         * lyx_main.C (commandLineHelp): remove version information
11141
11142 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11143
11144         * lyx_main.C: add -version commandline option
11145
11146 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11147
11148         * paragraph.h: make the optional constructor arg required instead.
11149         some modifications to other files because of this.
11150
11151         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11152
11153         * lyxserver.C (C_LyXComm_callback): make it static
11154
11155         * lyx_main.C (error_handler): make it static
11156
11157         * lyx_gui.C (LyX_XErrHandler): make it static
11158
11159         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11160
11161         * WorkArea.C: make the extern "C" methods static.
11162
11163         * Makefile.am (lyx_LDADD): simplify
11164
11165 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11166
11167         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11168         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11169
11170         * LyXAction.C (init):
11171         * lyxfunc.C (dispatch): associated code removal.
11172
11173 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11174
11175         * lyxfont.h (isSymbolFont): shut off warning
11176
11177         * text.C (setHeightOfRow):
11178         (getVisibleRow): fix crash with empty paragraphs which have a
11179         bottom line
11180
11181 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11182
11183         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11184         code.
11185
11186 2001-09-04  José Matos  <jamatos@fep.up.pt>
11187         * buffer.C
11188         * buffer.h
11189         * tabular.C (docbook): rename docBook method to docbook.
11190
11191 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11192
11193         * Makefile.am: add dependencies to main.o.
11194
11195 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11196
11197         * FontLoader.C (available): Return false if !lyxrc.use_gui
11198
11199 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11200
11201         * FontInfo.C (query):
11202         * converter.C (view):
11203         * importer.C (Import):
11204         * exporter.C (Export): Can not -> cannot.
11205
11206 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11207
11208         * BufferView_pimpl.C: allow to create index inset even if
11209           string is empty
11210
11211 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11212
11213         * buffer.C (getLists): replace boost::tie code with an explicit pair
11214         as boost::tie can break some compilers.
11215
11216         * iterators.h: Added a std:: declaration to the return type of
11217         ParIterator::size.
11218
11219 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11220
11221         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11222           case.
11223
11224 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11225
11226         * iterators.[Ch]: New files. Provide paragraph iterators.
11227
11228         * buffer.C (changeLanguage): Use paragraph iterators.
11229         (isMultiLingual): ditto
11230
11231         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11232
11233 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11234
11235         * FontLoader.C: Support for cmr font.
11236
11237 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11238
11239         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11240         (available): New method.
11241
11242         * FontInfo.C (getFontname): Use scalable fonts even when
11243         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11244         found.
11245
11246 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11247
11248         * converter.C (Formats::view): reverted! Incorrect fix.
11249
11250 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11251
11252         * converter.C (Formats::view): only output the -paper option
11253         if the dvi viewer is xdvi, thereby fixing bug #233429.
11254
11255 2001-08-23  Herbert Voss  <voss@perce>
11256
11257         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11258
11259 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11260
11261         * Spacing.h (Spacing): Set space to Default on in the default
11262         constructor.
11263
11264 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11265
11266         * vc-backend.h (RCS::versionString): add RCS to version
11267         (CVS::versionString): add CVS to version
11268
11269         * vc-backend.C (scanMaster): do not add CVS to version.
11270         (scanMaster): do not add RCS to version
11271
11272         * lyxvc.C (versionString): new method
11273
11274         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11275
11276 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11277
11278         * Spacing.C (set): initialize fval
11279
11280 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11281
11282         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11283         " or \.
11284
11285 2001-08-16  Juergen Vigna  <jug@sad.it>
11286
11287         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11288
11289 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11290
11291         * BufferView_pimpl.C:
11292         * figureForm.C:
11293         * lyxtext.h:
11294         * text2.C: setParagraph takes linespacing now
11295
11296 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11297
11298         * LyxAction.C: add internal LFUN_CITATION_INSERT
11299
11300         * LyXView.C: actually apply fix
11301
11302         * bufferlist.C: fix open non-existent file
11303
11304         * lyxfind.C: fix indentation
11305
11306         * lyxfunc.C: remove unneeded assert, fix typo
11307
11308 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11309
11310         * MenuBackend.C: use "Floatname List"
11311
11312 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11313
11314         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11315         when converting LaTeX layout to insetERT.
11316         Generate a non-collapsed float when reading old float
11317
11318 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11319
11320         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11321         ERT insets.
11322
11323 2001-08-13  Juergen Vigna  <jug@sad.it>
11324
11325         * text.C (fill): return 0 instead of 20 as this seems to be the more
11326         correct value.
11327
11328 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11329
11330         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11331         lyxrc.font_norm.
11332
11333 2001-08-13  Juergen Vigna  <jug@sad.it>
11334
11335         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11336         casesensitive off.
11337         (SearchBackward): comment out the unlocking of the inset_owner this
11338         should not be needed!
11339
11340 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11341
11342         * Many files: Remove inherit_language, and add latex_language
11343
11344         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11345         collapsible insets.
11346
11347 2001-08-10  Juergen Vigna  <jug@sad.it>
11348
11349         * text.C (prepareToPrint): fixed hfill-width in draw!
11350
11351         * BufferView2.C (selectLastWord): save the selection cursor as this
11352         now is cleared in the function LyXText::clearSelection!
11353
11354 2001-08-08  Juergen Vigna  <jug@sad.it>
11355
11356         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11357         BACKSPACE type functions.
11358
11359         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11360         is only cutted from the document but not put in the cut-buffer, where
11361         still the old stuff should be.
11362
11363         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11364
11365         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11366
11367         * tabular.C (SetWidthOfCell): fixed special case where the width
11368         was not updated!
11369         (LeftLine): handle '|' in align_special.
11370         (RightLine): ditto
11371         (LeftAlreadyDrawed): ditto
11372         (SetWidthOfCell): ditto
11373
11374 2001-08-07  Juergen Vigna  <jug@sad.it>
11375
11376         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11377
11378 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11379
11380         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11381         * lyxlex.[hC]: ditto
11382
11383 2001-08-06  Juergen Vigna  <jug@sad.it>
11384
11385         * text.C (getVisibleRow): fix up row clearing a bit.
11386
11387 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11388
11389         * minibuffer.C: make sure the X server sees the changes in the input.
11390
11391 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11392
11393         * paragraph.C (getFont): split into...
11394         (getLabelFont): this
11395         (getLayoutFont): and this
11396         * paragraph_pimpl.C (realizeFont): calling this
11397
11398         * text2.C (getFont): split into...
11399         (getLayoutFont): this
11400         (getLabelFont): and this
11401         (realizeFont): all three calling this
11402
11403         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11404         files where used.
11405
11406 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11407
11408         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11409
11410 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11411
11412         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11413         layouts from the Quote inset insertion.
11414
11415 2001-08-03  Juergen Vigna  <jug@sad.it>
11416
11417         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11418
11419         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11420         only if status not is already CHANGED_IN_DRAW (second level).
11421
11422         * text.C (draw): don't set the need_break_row when inside an
11423         InsetText LyXText.
11424
11425 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11426
11427         * buffer.C (parseSingleLyXformat2Token): handle more latex
11428         conversion cases.
11429
11430         * bufferview_funcs.[hC]: change function names to
11431         begin with small char, adjust other files.
11432
11433 2001-08-02  André Pönitz <poenitz@gmx.net>
11434
11435         * lyxfunc.C:
11436         BufferView_pimpl.C: remove broken special code for math-greek
11437
11438 2001-08-02  Juergen Vigna  <jug@sad.it>
11439
11440         * BufferView_pimpl.C (update): redone this function so that we
11441         update the text again if there was a CHANGE_IN_DRAW.
11442
11443         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11444         (drawFromTo): added a new internal bool which is used by draw() and
11445         redraw() function.
11446         (general): some cursor drawing problems fixed.
11447
11448 2001-08-01  Juergen Vigna  <jug@sad.it>
11449
11450         * lyxfind.C (LyXFind): fixed
11451         (SearchForward): ditto
11452         (SearchBackward): ditto
11453
11454         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11455         spurius drawing of the cursor in the main area.
11456
11457         * text2.C (status): small fix which could lead to a segfault!
11458         (clearSelection): remove unneeded BufferView param.
11459
11460 2001-08-01  André Pönitz <poenitz@gmx.net>
11461
11462         * lyxfunc.C: small change due to changed mathed interface
11463
11464 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11465
11466         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11467
11468 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11469
11470         * lyxfunc.c: fail gracefully if file doesn't exist
11471
11472         * LyXSendto.C:
11473         * buffer.C:
11474         * lyxfunc.C:
11475         * BufferView_pimpl.C: IsDirWriteable() proto changed
11476
11477         * LyXView.C: fix updateWindowTitle() to store the last title
11478
11479 2001-07-31  Juergen Vigna  <jug@sad.it>
11480
11481         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11482         the font (wrong since using of Paragraph::highestFontInRange).
11483
11484         * paragraph.C (highestFontInRange): added a default_size parameter.
11485
11486         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11487         (setHeightOfRow): reformat
11488
11489 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11490
11491         * converter.[hC] + affected files: move to (inital-char)lowercase
11492         function names.
11493
11494         * ParagraphParameters.C (ParagraphParameters): remove commented code
11495
11496         * PainterBase.[Ch]: remove commented code
11497
11498         * LaTeXFeatures.h: add "bool floats" for float.sty
11499
11500         * LaTeXFeatures.C (LaTeXFeatures): init floats
11501         (require): handle float
11502         (getPackages): do it with floats
11503
11504 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11505
11506         * BufferView_pimpl.C (Dispatch): improve handling of
11507         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11508
11509         * commandtags.h: #include lyxfont.h here temporarily to avoid
11510         keybinding bug.
11511
11512         * bufferlist.h: include LString.h here.
11513
11514 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11515
11516         * text2.C (getStringToIndex): new method.
11517
11518 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11519
11520         * *: Reduced header file dependencies all over.
11521
11522 2001-07-30  Baruch Even  <baruch@lyx.org>
11523
11524         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11525
11526 2001-07-29  Baruch Even  <baruch@lyx.org>
11527
11528         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11529
11530 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11531
11532         * ParameterStruct.h (endif): add a default constructor to make
11533         sure that all variables is initialized.
11534
11535         * ParagraphParameters.C (ParagraphParameters): adjust
11536
11537 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11538
11539         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11540         index; also, check that there is something to index, and that it
11541         does not span over several paragraphs.
11542         (doubleClick): use WHOLE_WORD_STRICT for double click.
11543
11544         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11545
11546         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11547         scheme.
11548
11549 2001-07-26  Baruch Even  <baruch@lyx.org>
11550
11551         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11552         an InsetFig figure, backwards compatible reading of old figure code.
11553
11554 2001-07-27  Juergen Vigna  <jug@sad.it>
11555
11556         * text2.C: font.realize function adaption.
11557
11558         * text.C (draw): add a warnings lyxerr text if needed.
11559
11560         * layout.C: font.realize function adaption.
11561
11562         * language.C: add inherit_language and implement it's handlings
11563
11564         * bufferview_funcs.C (StyleReset): remove language parameter from
11565         font creation (should be language_inherit now).
11566
11567         * bufferparams.C (writeFile): handle ignore_language.
11568
11569         * paragraph.C (getFontSettings): the language has to be resolved
11570         otherwise we have problems in LyXFont!
11571
11572         * lyxfont.C (lyxWriteChanges): added document_language parameter
11573         (update): removed unneeded language parameter
11574
11575         * paragraph.C (validate): fixed wrong output of color-package when
11576         using interface colors for certain fonts in certain environments,
11577         which should not seen as that on the final output.
11578
11579 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11580
11581         * BufferView_pimpl.C:
11582         * Thesaurus.h:
11583         * Thesaurus.C:
11584         * Makefile.am:
11585         * commandtags.h:
11586         * LyXAction.C: add thesaurus support
11587
11588         * lyxfind.h:
11589         * lyxfind.C: add "once" parameter, for thesaurus, to not
11590           move to the next match
11591
11592 2001-07-26  Juergen Vigna  <jug@sad.it>
11593
11594         * lyxfont.C (realize): honor ignore_language too!
11595         (resolved): ditto.
11596
11597         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11598
11599         * text.C (draw): one place more for ignore_language to not draw
11600         itself!
11601
11602 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11603
11604         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11605
11606 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11607
11608         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11609         the minipage conversion problem.
11610
11611 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11612
11613         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11614         insert an inset.
11615
11616 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11617
11618         * BufferView.h: don't forward declare WorkArea
11619
11620         * BufferView.C: don't include WorkArea.h
11621
11622 2001-07-25  André Pönitz <poenitz@gmx.net>
11623
11624         * commandtags.h:
11625         * LyXAction.C:
11626         * lyxfunc.C:  new LFUN 'math-space'
11627
11628         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11629
11630 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11631
11632         * text2.C (toggleInset): call open/close
11633
11634 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11635
11636         * lyxfunc.C (dispatch): add debug for the disabled case
11637
11638         * font.C (buttonText): make similar to rectText
11639
11640         * buffer.C (readInset): comment out parsing of insetlist and
11641         insttheorem
11642
11643         * PainterBase.C (rectText): small correction
11644
11645         * BufferView_pimpl.C: comment out insettheorem and insetlist
11646         * LyXAction.C: ditto
11647         * commandtags.h: ditto
11648
11649 2001-07-24  Juergen Vigna  <jug@sad.it>
11650
11651         * text.C (draw): honor the ignore_language.
11652
11653         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11654
11655 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11656
11657         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11658         char inset.
11659
11660 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11661
11662         * lyxtext.h: remove unused (and unimplemented) methods
11663
11664 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11665
11666         * text.C (getVisibleRow): honor background color
11667
11668         * PainterBase.h:
11669         * Painter.h: remove default color argument for fillRectangle
11670
11671         * text.C (backgroundColor): new method
11672
11673 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11674
11675         * text.C (getVisibleRow): adjust
11676
11677         * font.[Ch] (rectText): new method, metrics
11678         (buttonText): new method, metrics
11679
11680         * PainterBase.[hC]: make rectText and buttonText always draw and take
11681         fewer paramteres.
11682
11683 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11684
11685         * ToolbarDefaults.C (read):
11686         * MenuBackend.C (read): allow escaping in all strings
11687
11688         * BufferView_pimpl.C (insertAndEditInset): new method.
11689         (Dispatch): use insertAndEditInset whenever appropriate.
11690
11691         * BufferView_pimpl.C (insertNote): removed
11692
11693         * BufferView_pimpl.C (smartQuote): new method, moved from
11694         BufferView; if an insetquote cannot be inserted, insert a '"'
11695         character instead.
11696
11697         * BufferView2.C: remove insertCorrectQuote();
11698
11699         * lyxfunc.C (getStatus): Add support for all remaingin
11700         inset-insert lfuns.
11701
11702         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11703
11704         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11705         command (necessary to pass " as parameter of self-insert.
11706
11707         * text.C (selectWordWhenUnderCursor):
11708         (selectWord): add word_location parameter
11709         (selectWordWhenUnderCursor): same + remove special code for word
11710         boundary.
11711         (selectNextWord): use kind() to guess type of insetspecialchar,
11712         not latex().
11713
11714         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11715         (insertErtContents): create ert insets as collapsed.
11716         (readInset): better compatibility code for Info inset.
11717
11718 2001-07-20  Juergen Vigna  <jug@sad.it>
11719
11720         * lyxfunc.C (dispatch): use always LyXFind now!
11721
11722         * text2.C (init): add a reinit flag so that the LyXText can be
11723         reinited instead of deleted and reallocated (used in InsetText).
11724
11725         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11726
11727         * text.C: ditto
11728
11729         * text2.C: ditto
11730
11731 2001-07-18  Juergen Vigna  <jug@sad.it>
11732
11733         * text.C (selectNextWord): handle insets inside inset by calling
11734         always the bv->text functions so that we can go up the_locking_inset!
11735
11736         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11737         in strange locations when inside an inset!
11738
11739         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11740         handling to include insets.
11741
11742         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11743
11744 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11745
11746         * LyXAction.C (init):
11747         * commandtags.h:
11748         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11749         LIGATURE_BREAK, since the name is so stupid.
11750
11751 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11752
11753         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11754         InsetInfos.
11755
11756         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11757
11758         * sp_form.[Ch]: remove.
11759
11760         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11761
11762         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11763         InsetInfo.
11764
11765         * src/buffer.C (readInset): ditto.
11766
11767 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11768
11769         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11770         menuSeparator(), endOfSentenceDot(), ldots() and
11771         hyphenationPoint(), which are therefore removed.
11772         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11773
11774         * LyXAction.C (init):
11775         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11776
11777         * paragraph.C (getWord): removed.
11778
11779         * BufferView_pimpl.C (Dispatch): use last word or selection for
11780         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11781
11782         * lyx_main.C (queryUserLyXDir): do not ask before creating
11783         user_dir, except if it has been named explicitely.
11784
11785 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11786
11787         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11788         a document of zero size.
11789
11790 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11791
11792         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11793         approriately in the c-tor and in require().
11794         (getPackages): output the appropriate LaTeX for natbib support.
11795
11796         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11797         variables "use_natbib" and "use_numerical_citations" when reading the
11798         LyX file.
11799         (readInset): read the various natbib cite commands.
11800         (validate): white-space change.
11801
11802         * bufferparams.[Ch]: new variables "bool use_natbib" and
11803         "bool use_numerical_citations".
11804         (writeFile): output them in the LyX file.
11805
11806 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11807
11808         * lyxfunc.C (getStatus): add support for all the inset insertion
11809         commands.
11810
11811         * text2.C (insertInset):
11812         * paragraph.C (insetAllowed):
11813         * BufferView_pimpl.C (insertInset): update to take in account the
11814         renaming of insertInsetAllowed
11815
11816         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11817
11818         * text2.C (getInset): new method. returns inset at cursor position.
11819
11820         * BufferView_pimpl.C (Dispatch): changes because of this.
11821
11822         * LyXAction.C (init): rename open-stuff to inset-toggle.
11823
11824         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11825
11826         * text2.C (toggleInset): renamed from openStuff; use
11827         Inset::open().
11828
11829 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11830
11831         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11832
11833         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11834
11835 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11836
11837         * buffer.C (readLyXformat2): Add filename to the error dialog
11838
11839 2001-07-18  Juergen Vigna  <jug@sad.it>
11840
11841         * tabular.C (GetCellNumber): put an assert here instead of the check!
11842
11843 2001-07-17  Juergen Vigna  <jug@sad.it>
11844
11845         * BufferView_pimpl.C (toggleSelection): adapted too.
11846
11847         * text.C (selectNextWord): adapted for use with insets.
11848         (selectSelectedWord): ditto
11849
11850 2001-07-17  Juergen Vigna  <jug@sad.it>
11851
11852         * sp_spell.C (PSpell): fix initialitation order.
11853
11854 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11855
11856         * paragraph.C: spacing
11857
11858 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11859
11860         * sp_spell.C: repair language selection for pspell
11861
11862 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11863
11864         * lyxfunc.h: change more methods to begin with lower char.
11865
11866 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11867
11868         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11869         for unknown layouts.
11870
11871 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11872
11873         * buffer.C (readLyXformat2): Generate an error dialog if there are
11874         unknown layouts.
11875
11876 2001-07-16  Juergen Vigna  <jug@sad.it>
11877
11878         * sp_spell.C: always compile ISpell part.
11879
11880         * lyxrc.C: added use_pspell entry and it's handling.
11881
11882 2001-07-13  Juergen Vigna  <jug@sad.it>
11883
11884         * sp_spell.C: removed double includes.
11885
11886 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11887
11888         Consistent use of Lsstream.h:
11889         * Lsstream.h: added using std::stringstream for consistencies sake.
11890
11891         * buffer.C: removed using std::stringstream
11892
11893         * lyxfont.C (stateText):
11894         * paragraph.C (asString):
11895         * text.C (selectNextWord, selectSelectedWord):
11896         * text2.C (setCounter):
11897         * vspace.C (asString, asLatexString):
11898         std::ostringstream -> ostringstream.
11899
11900 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11901
11902         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11903         * commandtags.h: add LFUN_HELP_ABOUTLYX
11904         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11905
11906 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11907
11908         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11909         cursorToggle()
11910         * lyx_gui_misc.C: remove spellchecker
11911         * lyxfunc.C: showSpellchecker
11912         * sp_base.h: added
11913         * sp_ispell.h: added
11914         * sp_pspell.h: added
11915         * sp_spell.C: added
11916         * sp_form.[Ch]: removed
11917         * spellchecker.[Ch]: removed
11918
11919 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11920
11921         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11922         is set.
11923         (simpleTeXSpecialChars): Simply print the input character without
11924         any special translation if pass_thru is set.
11925
11926         * layout.h: Added bool pass_thru to layout class for being able to
11927         implement pass through of a paragraph for Literate Programming.
11928
11929         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11930         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11931         * layout.C (Read): add "passthru" to list of layout tags and add
11932         code to set the pass_thru boolean when it is read.
11933
11934 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11935
11936         * trans_decl.h: remove allowed from KmodInfo
11937
11938         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11939         remove allowed code
11940         (Load): adjust
11941
11942         * paragraph_pimpl.C (erase): use boost::prior
11943
11944         * Painter.C (text): use data() instead of c_str() when length is
11945         also provided.
11946         * WorkArea.C (putClipboard): ditto
11947         * font.h (width): ditto
11948
11949         * BufferView2.C: use it-> instead of (*it). for iterators
11950         * texrow.C: ditto
11951         * paragraph_pimpl.C: ditto
11952         * paragraph.C: ditto
11953         * minibuffer.C: ditto
11954         * language.C: ditto
11955         * kbmap.C: ditto
11956         * encoding.C: ditto
11957         * counters.C: ditto
11958         * converter.C: ditto
11959         * chset.C: ditto
11960         * Variables.C: ditto
11961         * TextCache.C: ditto
11962         * MenuBackend.C: ditto
11963         * LyXAction.C: ditto
11964         * LColor.C: ditto
11965         * FloatList.C: ditto
11966         * DepTable.C: ditto
11967         * ColorHandler.C (LyXColorHandler): ditto
11968
11969 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11970
11971         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11972
11973         * text2.C (openStuff): reintroduce this method (which had been
11974         nuked in NEW_INSETS frenzy).
11975
11976         * lyxfunc.C (Dispatch): when an action has not been handled, use
11977         its name in the error message, not its number.
11978
11979         * paragraph.C (inInset): change method name to begin with lowercase.
11980
11981         * undo_funcs.C:
11982         * text2.C: updates because of this.
11983
11984 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11985
11986         * ToolbarDefaults.C (add): add spaces in error message
11987
11988 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11989
11990         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11991         (readLyXformat2): rename return_par to first_par, use lyxlex's
11992         pushToken and remove the manual push handling.
11993         (parseSingleLyXformat2Token): add another ert comp. variable:
11994         in_tabular, rename return_par to first_par. handle newlines better
11995
11996 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11997
11998         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11999
12000 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12001
12002         * text2.C (getParFromID): removed
12003
12004         * buffer.C (getParFromID): new method moved form lyxtext.
12005         * BufferView2.C (insertErrors): adjust
12006         (setCursorFromRow): adjust
12007         * BufferView_pimpl.C (restorePosition): adjust
12008         * lyxfunc.C (Dispatch): adjust
12009         * undo_funcs.C (textUndo): adjust
12010         (textRedo): adjust
12011         (textHandleUndo): adjust
12012         (textHandleUndo): adjust
12013
12014 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12015
12016         * buffer.C: up' the LYX_FORMAT
12017
12018         * lyxfont.h: turn NO_LATEX on as default
12019
12020         * buffer.C (insertErtContents): new methods of tex style compability.
12021         (parseSingleLyXformat2Token): use it several places.
12022         * tabular.C (OldFormatRead): and here
12023
12024 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12025
12026         * text2.C: remove some commented code.
12027         reindent file.
12028
12029         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12030         * trans.C: changes because of the above.
12031
12032 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12033
12034         * text2.C (setCounter): Fix counters bug with bibliography layout.
12035
12036 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12037
12038         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12039         own member functions
12040         (simpleTeXSpecialChars): ditto
12041
12042 2001-07-06  Juergen Vigna  <jug@sad.it>
12043
12044         * a lot of files: changed the access to LyXText::status and the
12045         call of undo-functions.
12046
12047         * undo.[Ch]: added a inset_id to the undo informations.
12048
12049         * undo_funcs.[Ch]: added and moved here all undo functions.
12050
12051         * lyxtext.h: give the status enum a weight, made status_ a private
12052         variable and made accessor functions for it, removed the whole bunch
12053         of undo-functions as they are now in their own file, make some
12054         functions publically available. Added function ownerParagraph with
12055         int parameter.
12056
12057         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12058         made InInset() a const function, added getParFromID() function.
12059
12060         * buffer.[Ch]: added const version for inset_iterator functions,
12061         added getInsetFromID() function.
12062
12063         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12064         changed undo functions for new version.
12065
12066 2001-07-05  Juergen Vigna  <jug@sad.it>
12067
12068         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12069         unknow mechanism does not call the proper constructor but only this
12070         one also if I request the other!?
12071
12072 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12073
12074         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12075
12076         * text2.C (LyXText): use initialization lists.
12077
12078         * lyxtext.h (Selection): initialize set_ and mark_
12079         (init): remove method
12080
12081 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12082
12083         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12084
12085 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12086
12087         * screen.[Ch]: change method names to begin with lowercase
12088
12089         * BufferView_pimpl.C (updateScrollbar): simplify further and
12090         hopefully make it a bit faster.
12091
12092 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12093
12094         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12095         calling directly xforms functions.
12096
12097         * Painter.C (Painter):
12098         * lyx_cb.C (MenuWrite):
12099         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12100         fl_display.
12101
12102         * lyx_gui.C: remove bogus guiruntime extern declaration.
12103
12104 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12105
12106         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12107         in NEW_INSETS
12108         (redoDrawingOfParagraph): ditto
12109         (redoParagraphs): ditto
12110         (cutSelection): don't create a object for CutAndPaste use the
12111         static method directly
12112         (pasteSelection): ditto
12113
12114         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12115         LyXview (+ rename)
12116
12117 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12118
12119         * modifications to some other files because of this.
12120
12121         * Makefile.am (lyx_SOURCES): add XFormsView
12122
12123         * XFormsView.[Ch]: new files
12124
12125         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12126         the main window. Move the gui dependent stuff to XFormsView
12127
12128 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12129
12130         * tabular.C (GetCellInset): update cur_cell also in the row/col
12131         version of this function.
12132
12133         * lyxfunc.C: no need to include figure_form.h here.
12134
12135         * FontLoader.h:
12136         * lyxfunc.h:
12137         * lyxscreen.h:
12138         * text2.C:
12139         * lyxvc.C: no need to include forms.h here.
12140
12141 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12142
12143         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12144
12145         * lyxfunc.C (Dispatch):
12146         * Spacing.C (set):
12147         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12148         constructor argument.
12149
12150 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12151
12152         * paragraph.C (Paragraph): dont't clear, and just set layout.
12153         (makeSameLayout): use params's copy contructor.
12154
12155         * ParagraphParameters.[Ch] (makeSame): delete method
12156
12157 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12158
12159         * Variables.[Ch]: fix indentation, rename set to isSet
12160
12161 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12162
12163         * lyxfunc.C (Dispatch): fix typo
12164
12165 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12166
12167         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12168         upper_bound.
12169
12170         * bufferlist.C: include assert.h for emergencyWrite().
12171
12172 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12173
12174         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12175           give up at last (bug #425202) !
12176
12177 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12178
12179         * lyx_gui_misc.C:
12180         * sp_form.h:
12181         * sp_form.C:
12182         * spellchecker.h:
12183         * spellchecker.C: strip spellchecker options and bring up
12184           preferences tab instead
12185
12186 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12187
12188         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12189         the istringstream constructor
12190
12191 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12192
12193         * paragraph.C (getLayout): fix return value
12194
12195         * paragraph.h: do not declare getLayout as inline.
12196
12197         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12198
12199 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12200
12201         * lyxcursor.h (operator<): new func
12202         (operator>): new func
12203         (operator>=): new func
12204         (operator<=): new func
12205
12206         * text.C (changeCase): use selection.start and selection.end
12207         (changeRegionCase): require from to be <= to. Require par to be a
12208         valid paragraph.
12209
12210         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12211
12212 2001-06-27  Juergen Vigna  <jug@sad.it>
12213
12214         * text.C (cursorLeftOneWord): changed to return the cursor and added
12215         overlay with BufferView * parameter which calls this one.
12216         (getWord): added
12217         (selectWord): use new getWord function.
12218         (changeCase): renamed from changeWordCase as and extended to work
12219         also on selections.
12220
12221         * lyxtext.h: added enum word_location
12222
12223         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12224         changeCase as this operates now also on selections.
12225
12226 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12227
12228         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12229
12230         * many files: send debug output to Debug::INFO instead of
12231         Debug::ANY.
12232
12233         * converter.C (View):
12234         (Convert):
12235         (Move): send debug output to Debug::FILES instead of console.
12236
12237 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12238
12239         * lyxfunc.C (getStatus): use func_status
12240
12241         * func_status.h: new header, describing the results of
12242         LyXFunc::getStatus;
12243
12244         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12245         LFUN_MATH_HALIGN.
12246
12247 2001-06-25  The LyX Project  <jug@sad.it>
12248
12249         * buffer.C (sgmlOpenTag):
12250         (sgmlCloseTag):
12251         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12252
12253 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12254
12255         * text2.C: remove some dead code
12256
12257         * tabular.C (GetCellInset): store the last cell checked (gotten)
12258
12259         * tabular.h: add the helper for the speedup
12260
12261         * lyxtext.h: remove some dead code
12262
12263 2001-06-26  The LyX Project  <Asger>
12264
12265         * paragraph.C: Change export to LaTeX of alignment to
12266         \begin{center} and family for better roundtrip work with reLyX.
12267
12268         * Tune the math drawing a bit.
12269
12270 2001-06-25  The LyX Project  <Asger>
12271
12272         * LColor.C (LColor): New color for math background. New color
12273         for buttons.
12274
12275 2001-06-25  The LyX Project  <jug@sad.it>
12276
12277         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12278
12279         * lyxfunc.C (Open):
12280         * bufferlist.C (newFile): do not restrict to files ending with
12281         .lyx
12282
12283         * BufferView_pimpl.C (MenuInsertLyXFile):
12284
12285 2001-06-24  The LyX Project  <jug@sad.it>
12286
12287         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12288         of compare_no_case
12289
12290 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12291
12292         * lyxtext.h: rename most methods to begin with a small char.
12293         Lots of changes because of this.
12294
12295         * paragraph.C (Paragraph): do not call fitToSize
12296         (erase): call Pimpl::erase
12297         (insertChar): call Pimpl::insertChar
12298         (insertInset): call Pipl::insertInset
12299         (breakParagraph): do not call fitToSize
12300         (breakParagraphConservative): do not call fitToSize
12301         (fitToSize): remove method
12302
12303         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12304
12305 2001-06-24  The LyX Project  <Asger>
12306
12307         * Fix Qt compilation^2
12308
12309 2001-06-24  The LyX Project  <jug@sad.it>
12310
12311         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12312         depthHook(getDepth()-1).
12313
12314         * paragraph.h:
12315         * ParagraphParameters.h:
12316         * ParameterStruct.h: change type of depth to unsigned int ==
12317         depth_type. Many adaptations to other files before of that.
12318
12319 2001-06-24  The LyX Project  <Asger>
12320
12321         * Fix Qt compilation.
12322
12323 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12324
12325         * paragraph.h: renamed several methods to begin with small letter.
12326         several changes to many parts of the code because of this.
12327
12328 2001-06-23  The LyX Project  <jug@sad.it>
12329
12330         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12331         rewritten to discard all double spaces when KeepEmpty is off
12332         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12333         to only handle newlines but not fiddle with spaces and friends.
12334
12335         * lyxfunc.C (MenuNew): when doing 'new from template', use
12336         template_path as default directory
12337
12338 2001-06-23  The LyX Project  <Asger>
12339
12340         * Clean-up of header file includes all over
12341         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12342
12343 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12344
12345         * paragraph.h: renamed from lyxparagraph.h
12346
12347 2001-06-23  Asger  <lyx@violet.home.sad.it>
12348
12349         * Buffer.h: Removed Buffer::resize
12350         * BufferList.h: Removed BufferList::resize
12351         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12352         the document lazily when we change the width, or the font settings.
12353
12354 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12355
12356         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12357
12358 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12359
12360         * buffer.h: remove out of date comment
12361
12362 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12363
12364         * lyxscreen.h:
12365         * screen.C: fix "theoretical" GC leak
12366
12367 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12368
12369         * LaTeX.C (scanAuxFile):
12370         (deplog): remove trailing \r when reading stream (useful under
12371         win32)
12372
12373 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12374
12375         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12376         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12377         and BufferView::theLockingInset(Inset*), so should use them and not
12378         access bv_->text->the_locking_inset directly.
12379
12380         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12381
12382 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12383
12384         * Makefile.am:
12385         * tex-defs.h: remove old unused file
12386
12387 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12388
12389         * BufferView_pimpl.C: fix typo, remove minibuffer message
12390           when buffer has loaded
12391
12392 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12393
12394         * lyxfunc.C (Dispatch): use stringstream
12395         (MenuNew): use stringstream
12396         (Open): use stringstream
12397
12398         * importer.C (Import): use stringstream
12399
12400         * bufferview_funcs.C (CurrentState): use stringstream
12401
12402         * LaTeX.C (run): use stringstream
12403
12404         * BufferView_pimpl.C (savePosition): use stringstream
12405         (restorePosition): use stringstream
12406         (MenuInsertLyXFile): use stringstream
12407
12408 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12409
12410         * BufferView.C:
12411         * Bullet.C:
12412         * ColorHandler.C:
12413         * FontInfo.C:
12414         * FontLoader.C:
12415         * LColor.C:
12416         * LaTeXFeatures.C:
12417         * Painter.C:
12418         * gettext.C:
12419         * lyx_gui_misc.C:
12420         * lyxserver.C:
12421         * vspace.C: removed // -*- C++ -*- as first line.
12422
12423         * lyxfind.h:
12424         * version.h: added // -*- C++ -*- as first line.
12425
12426 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12427
12428         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12429
12430         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12431         of string
12432
12433 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12434
12435         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12436         of floats.
12437
12438 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12439
12440         * gettext.C: include LString.h even when --disable-nls is on.
12441
12442 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12443
12444         * converter.h (Get): changed argument type from int to
12445         FormatList::size_type to avoid unnecessary conversion.
12446
12447         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12448         before using it.
12449
12450 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12451
12452         * gettext.h: include LString.h even when --disable-nls is on.
12453
12454 2001-06-07  Juergen Vigna  <jug@sad.it>
12455
12456         * text.C (BreakAgain): subst spaces with tabs.
12457
12458         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12459         (resizeInsetsLyXText): set force on resizeLyXText.
12460
12461 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12462
12463         * gettext.h (gettext_init):
12464         (locale_init): use a real definition instead of a macro
12465
12466 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12467
12468         * Bufferview_pimpl.C:
12469         * LColor.h:
12470         * LColor.C: further lcolor tidies
12471
12472 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12473
12474         * BufferView_pimpl.C (updateScrollbar): simplify.
12475
12476         * BufferView2.C: don't include insets/insetinfo.h, change
12477         prototype for insertInset and call the Pimpl version. let
12478         updateInset call Pimpl version.
12479
12480         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12481         gotoInset to BufferView::Pimpl
12482
12483 2001-06-01  Juergen Vigna  <jug@sad.it>
12484
12485         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12486         inside a LockingInset (is the update needed at all?).
12487
12488 2001-05-31  Juergen Vigna  <jug@sad.it>
12489
12490         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12491         here not the old one otherwise how should we compare it afterwards
12492         if it's the same!
12493
12494 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12495
12496         * lyxfont.C:
12497         * tabular.C:
12498         * tabular-old.C:
12499         * FontInfo.C: bring C functions into global namespace when
12500         necessary
12501
12502 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12503
12504         * LString.h: make sure config.h has been loaded before LString.h.
12505
12506         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12507         (one for each char read by EatLine!).
12508
12509         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12510         variables.
12511
12512 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12513
12514         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12515         to the same as the par we break from
12516
12517 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12518
12519         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12520
12521         * MenuBackend.C (expand): also create menu entries for wide
12522         versions of the floats.
12523
12524         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12525
12526         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12527
12528         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12529         frontends/Makefile.am
12530
12531         * text2.C: adjust
12532         * text.C: adjust
12533
12534
12535         * tabular.C (getTokenValue): add std::
12536
12537         * tabular-old.C (getTokenValue): add std::
12538         (getTokenValue): ditto
12539         (getTokenValue): ditto
12540
12541         * screen.C (ToggleSelection): adjust
12542
12543         * lyxtext.h: put selection cursors inside a Selection struct.
12544
12545         * lyxfunc.C (moveCursorUpdate): adjust
12546
12547         * lyxfont.C (latexWriteStartChanges): add std::
12548
12549         * lyxfind.C: adjust
12550
12551         * font.h: delete with(char const *, LyXFont const &)
12552
12553         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12554
12555         * FontInfo.C (getFontname): add std::
12556
12557         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12558         (workAreaButtonPress): adjust
12559         (tripleClick): adjust
12560         (update): adjust
12561         (moveCursorUpdate): adjust
12562         (Dispatch): adjust
12563
12564         * BufferView2.C (gotoInset): adjust
12565
12566 2001-05-30  Juergen Vigna  <jug@sad.it>
12567
12568         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12569         to check pspell I add this as default as I now have new pspell
12570         libraries and they seem to use this.
12571
12572 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12573
12574         * text2.C (CutSelection): make the cursor valid before the call to
12575         ClearSelection.
12576
12577 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12578
12579         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12580         relied on 0 terminated strings and other horrors. Bug found due to
12581         the new assert in lyxstring!
12582
12583         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12584         KP_ keys.
12585
12586 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12587
12588         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12589         to latinkeys.bind.
12590
12591         * lyxfunc.C (processKeySym): change method of getting to the
12592         self-insert char.
12593
12594         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12595         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12596         * BufferView_pimpl.[Ch]: here as private methods.
12597
12598 2001-05-28  Juergen Vigna  <jug@sad.it>
12599
12600         * text.C (SetHeightOfRow): added the update() call again as it is
12601         needed to initialize inset dimensions!
12602
12603 2001-05-16  Juergen Vigna  <jug@sad.it>
12604
12605         * text2.C (SetCharFont): Add new function with BufferView * and
12606         bool toggleall parameters for setting insets internal fonts.
12607         (SetFont): Freeze the undo as we may change fonts in Insets and
12608         all this change should be inside only one Undo!
12609
12610         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12611         setting font's in insets as for them we have the SetFont function!
12612
12613 2001-05-15  Juergen Vigna  <jug@sad.it>
12614
12615         * text2.C (ClearSelection): to be sure we REALLY don't have any
12616         selection anymore!
12617
12618         * tabular.C (TeXCellPreamble): fixed the left border problem for
12619         multicolumn cells.
12620
12621 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12622
12623         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12624         dependancy file
12625
12626 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12627
12628         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12629         LFUN_BREAKPARAGRAPH.
12630
12631         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12632         help test to "internal only", similar for LFUN_INSERT_URL
12633
12634         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12635         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12636         auto_region_delete and deadkeys.
12637
12638 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12639
12640         * LColor.h:
12641         * LColor.C: remove some dead entries, tidy a little
12642
12643 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12644
12645         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12646         commented code.
12647         (Dispatch): implement LFUN_ESCAPE
12648
12649         * commandtags.h: add LFUN_ESCAPE
12650
12651         * LyXAction.C (init): add entry for LFUN_ESCAPE
12652
12653         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12654         Remove commented code.
12655         (insertNote): moved here
12656         (open_new_inset): moved here
12657
12658         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12659         BufferView_pimpl
12660
12661 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12662
12663         * kbmap.C (findbinding): clean it up and make it work correctly.
12664
12665         * lyx_main.C (init): do not pass argc and argv as parameters
12666
12667 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12668
12669         * buffer.C: fix path for OS/2 & Win32
12670
12671         * lyx_gui.C:
12672         * lyx_main:
12673         * lyx_main.C: Added os:: class.
12674
12675         * os2_defines.h: update
12676
12677 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12678
12679         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12680         better by trying again with reduced state.
12681
12682 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12683
12684         * lyxrc.C (read): print error about invalid key sequence only when
12685         debugging (because not all latinX keysyms are known to some X
12686         servers)
12687
12688         * kbsequence.C (getiso): add a few std:: qualifiers
12689         (getiso): comment out extra return statement.
12690
12691 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12692
12693         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12694         handling.
12695         (Dispatch): enhance the accent inset a bit. (not perfect)
12696
12697 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12698
12699         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12700
12701 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12702
12703         * bufferlist.C (emergencyWrite): fix assert() call
12704
12705 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12706
12707         * text.C (InsertChar): Added trivial patch to only send the "you
12708         can not do multiple spaces this way" message once during a
12709         session.
12710
12711 2001-05-08  Baruch Even  <baruch@lyx.org>
12712
12713         * Makefile.am: Changed order of libraries to get LyX to link properly
12714         with the gnome frontend.
12715
12716 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12717
12718         * LaTeXFeatures.h: add a std:: qualifier
12719
12720 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12721
12722         * paragraph.C (String): use stringstream
12723
12724 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12725
12726         * paragraph.C (writeFile): remove footflag arg
12727
12728         * buffer.C (makeLaTeXFile): use stringstream
12729         (latexParagraphs): remove footnot gurba
12730
12731         * LaTeXFeatures.C (getPackages): use stringstream
12732         (getMacros): likewise
12733         (getTClassPreamble): likewise
12734         (getFloatDefinitions): new method
12735
12736         * paragraph.C (writeFile): reindent
12737         (Erase): reindent
12738
12739         * WorkArea.h: revert the xpos + etc changes.
12740
12741         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12742
12743         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12744
12745         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12746         (pasteSelection): likewise
12747         * text2.C (CreateUndo): likewise
12748
12749 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12750
12751         * minibuffer.C (peek_event): temporarily reduce the functionality
12752         of the minibuffer (to allow args on lfuns)
12753
12754         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12755         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12756
12757         * buffer.C (readInset): add compability reading of old float
12758         lists, add reading of new style float list.
12759         (readInset): avoid reevaluation of inscmd.getCmdName()
12760         (getLists): reindent
12761
12762         * MenuBackend.C (MenuItem): implement parsing of
12763         md_floatlistinsert and md_floatinsert.
12764         (expand::LastFiles): move initalizaton of iterators out of loop,
12765         avoid reevaluation.
12766         (expand::Documents): introduce typdedef vector<string> Strings,
12767         and use it.
12768         (expand::ExportFormats): introduce typedef vector<Format const *>
12769         Formats, and use it.
12770         (expand): implement FloatListInsert and FloatInsert.
12771
12772         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12773         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12774         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12775
12776         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12777         handling.
12778         (Dispatch::LFUN_FLOAT_LIST): implement
12779
12780 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12781
12782         * LaTeX.C (run): Fix problem with --export code.
12783
12784 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12785
12786         * BufferView.[Ch] (workarea): removed.
12787         (getClipboard) new method; wrapper for workarea()->getClipboard()
12788
12789         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12790         bug.
12791
12792         * WorkArea.h (width, height, xpos, ypos): These methods all
12793         returned the dimensions of the work_area sub-area of WorkArea,
12794         resulting in a position error if the WorkArea were resized. Now
12795         return the dimensions of the entire WorkArea.
12796
12797         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12798
12799 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12800
12801         * LaTeX.C (deplog): correct the syntax of regex reg1
12802
12803 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12804
12805         * undo.C: remove !NEW_INSETS cruft
12806
12807 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12808
12809         * text2.C: remove !NEW_INSETS cruft
12810
12811         * text.C: remove !NEW_INSETS cruft
12812
12813         * tabular.C: remove !NEW_INSETS cruft
12814
12815         * spellchecker.C: remove !NEW_INSETS cruft
12816
12817         * lyxtext.h: remove !NEW_INSETS cruft
12818
12819         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12820
12821         * lyxfunc.C: remove !NEW_INSETS cruft
12822
12823         * lyxfind.C: remove !NEW_INSETS cruft
12824
12825         * lyx_cb.C: remove !NEW_INSETS cruft
12826
12827         * figureForm.C: remove  !NEW_INSETS cruft
12828
12829         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12830
12831         * buffer.[Ch]: remove !NEW_INSETS cruft
12832
12833         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12834
12835         * CutAndPaste.C: remove !NEW_INSETS cruft
12836
12837         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12838
12839         * BufferView2.C: remove !NEW_INSETS cruft
12840
12841         * BufferView.h: remove !NEW_INSETS cruft
12842
12843 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12844
12845         * Lsstream.h: include LString.h before the sstream headers to
12846         fix problem with gcc 2.95.3 and lyxstring
12847
12848 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12849
12850         * lyx_main.C: add using directives when needed for C functions
12851         declared in std:: namespace.
12852
12853 2001-04-27  Juergen Vigna  <jug@sad.it>
12854
12855         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12856         (SetHeightOfRow): comment out the update call should not be needed!
12857
12858 2001-04-13  Juergen Vigna  <jug@sad.it>
12859
12860         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12861         (LyXTabular): tried to minimize operator= operations (and realized
12862         hopfully Lars wish).
12863
12864 2001-04-27  Juergen Vigna  <jug@sad.it>
12865
12866         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12867
12868 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12869
12870         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12871
12872         * buffer.C (readInset): hack to make listof algorithm work
12873
12874         * BufferView_pimpl.C: hack to make listof algorithm work
12875
12876 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12877
12878         * LyXAction.C: removed all !NEW_INSETS cruft
12879         (init): moved lfun_item in method
12880
12881         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12882
12883 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12884
12885         * BufferView2.C (theLockingInset): white space.
12886
12887 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12888
12889         * minibuffer.C: include <iostream>
12890
12891         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12892
12893         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12894
12895         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12896
12897         * text.[Ch] (TransposeChars): new method
12898
12899 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12900
12901         * call message directly through LyXView instead of through LyXFunc
12902         * BufferView2.C: adjust
12903         * BufferView_pimpl.C: adjust
12904         * FontLoader.C: adjust
12905         * buffer.C: adjust
12906         * bufferview_funcs.C: adjust
12907         * converter.C: adjust
12908         * figureForm.C: adjust
12909         * importer.C: adjust
12910         * lyx_cb.C: adjust
12911         * lyx_gui_misc.C: adjust
12912         * lyxfunc.C: adjust
12913         * lyxvc.C: adjust
12914         * text2.C: adjust
12915         + more files in subdirs
12916
12917         * lyxparagraph.h (size): move up int file
12918         (GetLayout): ditto
12919
12920         * adjust all uses of Assert to lyx::Assert.
12921
12922         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12923         lyxfunctional in namespace lyx
12924         * layout.C (hasLayout): ditto
12925         (GetLayout): ditto
12926         (GetLayout): ditto
12927         (delete_layout): ditto
12928         (NumberOfClass): ditto
12929         * converter.C (GetFormat): ditto
12930         (GetNumber): ditto
12931         (Add): ditto
12932         (Delete): ditto
12933         (SetViewer): ditto
12934         * bufferlist.C (getFileNames): ditto
12935         (emergencyWriteAll): ditto
12936         (exists): ditto
12937         (getBuffer): ditto
12938         * MenuBackend.C (hasSubmenu): ditto
12939         (hasMenu): ditto
12940         (getMenu): ditto
12941         * BufferView_pimpl.C (getInsetByCode): ditto
12942
12943 2001-04-18  Juergen Vigna  <jug@sad.it>
12944
12945         * vspace.C (asLatexString): fixed the 100% problem.
12946
12947 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12948
12949         * lyxfunc.C (Dispatch):
12950         * minibuffer.C:
12951         * minibuffer.h: add a few std:: qualifiers
12952
12953 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12954
12955         * minibuffer.[Ch]: reimplement so that commands is initiated and
12956         run from lyxfunc, simplified som handling, and made the completion
12957         and history code for complete. wip.
12958
12959         * lyxfunc.C (processKeySym): call message
12960         (miniDispatch): new temporary method
12961         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12962         (LFUN_MESSAGE): implement
12963         (LFUN_MESSAGE_PUSH): implement
12964         (LFUN_MESSAGE_POP): implement
12965         (initMiniBuffer): the initial/defualt minibuffer message.
12966
12967         * lyxfont.[Ch]: inline some more getters
12968
12969         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12970
12971         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12972
12973         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12974         (AutoSave): use LFUN_MESSAGE
12975         (Reconfigure): ditto
12976
12977         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12978
12979         * figureForm.C: use LFUN_MESSAGE
12980
12981         * converter.C (runLaTeX): use LFUN_MESSAGE
12982
12983         * bufferview_funcs.C: use LFUN_MESSAGE
12984         (Melt): ditto
12985         (changeDepth): ditto
12986
12987         * bufferparams.h: use boost::
12988
12989         * bufferlist.h: inherit privately from noncopyable
12990
12991         * bufferlist.C (loadLyXFile): remove some commented code.
12992
12993         * buffer.C (runChktex): use LFUN_MESSAGE
12994
12995         * ShareContainer.h: inherit privately from noncopyable
12996
12997         * ParagraphParameters.[hC] (depth): inline it.
12998
12999         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13000         methods.
13001         (message): new method
13002         (messagePush): ditto
13003         (messagePop): ditto
13004         (show): init minibuffer
13005         (showState): direct call
13006
13007         * LaTeX.[Ch]: inherit privately from noncopyable
13008         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13009         instead of WriteStatus.
13010
13011         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13012
13013         * BufferView_pimpl.C (buffer): don't init minibuffer
13014         (workAreaButtonPress): use LFUN_MESSAGE
13015         (workAreaButtonRelease): ditto
13016         (savePosition): ditto
13017         (restorePosition): ditto
13018         (MenuInsertLyXFile): ditto
13019         (workAreaExpose): don't init minibuffer
13020         (update): remove commented code, simplify
13021
13022         * BufferView2.C (openStuff): use LFUN_MESSAGE
13023         (toggleFloat): ditto
13024         (menuUndo): ditto
13025         (menuRedo): ditto
13026         (copyEnvironment): ditto
13027         (pasteEnvironment): ditto
13028         (copy): ditto
13029         (cut): ditto
13030         (paste): ditto
13031         (gotoInset): ditto
13032         (updateInset): remove some commented code
13033
13034         * lastfiles.h: inherit privately from noncopyable
13035         * layout.h: ditto
13036         * lyx_gui.h: ditto
13037         * lyx_main.h: ditto
13038         * lyxlex.h: ditto
13039         * lyxlex_pimpl.h: ditto
13040
13041         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13042         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13043         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13044
13045         * LyXAction.h: inherit privately from noncopyable, add methods
13046         func_begin, func_end, returning iterators to the func map.
13047
13048         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13049         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13050         (func_begin): new method
13051         (func_end): new method
13052
13053         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13054         and not)
13055         (copySelection): ditto
13056         (pasteSelection): ditto
13057
13058         * BufferView.C: whitespace change
13059         * BufferView.h: inherit privately from noncopyable
13060
13061 2001-04-16  Allan Rae  <rae@lyx.org>
13062
13063         * tabular-old.C (l_getline):
13064         * spellchecker.C (sc_check_word):
13065         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13066         an unrecognised preprocessor directive.  So ensure they're wrapped.
13067
13068 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13069
13070         * src/exporter.C (Export): Give an error message when path to file
13071         contains spaces.
13072
13073 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13074
13075         * LaTeX.C (deplog): Always check that foundfile exists.
13076
13077 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13078
13079         * lyx_main.h:
13080         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13081
13082 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13083
13084         * tabular.[Ch] (getLabelList): implement new method
13085
13086         * minibuffer.h: comment ouf setTiimer
13087
13088         * minibuffer.C (ExecutingCB): constify res
13089         (peek_event): constify s
13090         (Set): constify ntext
13091         (Init): constify nicename
13092
13093         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13094
13095         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13096         (savePosition): use two params to Minibuffer::Set
13097         (restorePosition): ditto
13098
13099 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13100
13101         * lyx_main.C: include language.h
13102
13103         * Makefile.am (lyx_main.o): add language.h
13104
13105 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13106
13107         * exporter.C:
13108         * paragraph.C:
13109         * screen.C:
13110         * tabular.C:
13111         * CutAndPaste.C: include gettext.h
13112
13113         * lyxfont.h: remove old hack with ON and OFF.
13114
13115         * lyxparagraph.h:
13116         * lyxfont.h: do not include language.h...
13117
13118         * BufferView2.C:
13119         * LaTeXFeatures.C:
13120         * Painter.C:
13121         * bufferview_funcs.C:
13122         * font.C:
13123         * lyxfont.C:
13124         * text.C:
13125         * text2.C:
13126         * trans_mgr.C:
13127         * paragraph.C: ... but do it here instead
13128
13129 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13130
13131         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13132
13133         * tabular.C: small reformat
13134
13135         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13136         NEW_INSETS version
13137         (GetChar): ditto
13138         (BreakParagraph): ditto
13139         (SetOnlyLayout): ditto
13140         (SetLayout): ditto
13141
13142         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13143         with one arg less.
13144
13145         * lastfiles.C: removed most using decl, add std:: where needed
13146
13147         * buffer.C: ws changes
13148
13149         * MenuBackend.C (class compare_format): put into anon namespace
13150         (expand): constify label, names, action, action2
13151         (expand):
13152
13153         * text.C (SingleWidth): constify font
13154         (IsBoundary): constify rtl2
13155         (GetVisibleRow): constify ww
13156
13157         * LaTeX.C (deplog): constify logfile
13158
13159         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13160         start_x, end_x
13161         (workAreaExpose): constify widthChange, heightChange
13162
13163         * lyxrow.C (par): moved
13164         (height): moved
13165         (next): moved
13166         * lyxrow.h: as inlines here
13167
13168         * lyxfont.h (shape): moved from lyxfont.C
13169         (emph): moved from lyxfont.C
13170
13171         * lyxfont.C (LyXFont): use initialization list for all
13172         constructors
13173         (shape): move to lyxfont.h as inline
13174         (emph): move to lyxfont.h as inline
13175
13176
13177 2001-04-04  Juergen Vigna  <jug@sad.it>
13178
13179         * vspace.C: had to include stdio.h for use of sscanf
13180
13181 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13182
13183         * BufferView.h:
13184         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13185         independent of xforms.
13186
13187 2001-04-02  Juergen Vigna  <jug@sad.it>
13188
13189         * spellchecker.C: fixed namespace placing!
13190
13191 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13192
13193         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13194         the LyXParagraph * is 0.
13195
13196 2001-03-29  Juergen Vigna  <jug@sad.it>
13197
13198         * vspace.C: added support for %, c%, p%, l%.
13199         (stringFromUnit): added helper function.
13200         (asLatexString): changed to give right results for the %-values.
13201
13202         * buffer.C: convert the widthp in a width%.
13203
13204 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13205
13206         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13207         figureForm.[Ch].
13208
13209         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13210         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13211
13212         * lyx_cb.[Ch]: see above.
13213
13214         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13215         form1.[Ch].
13216
13217         * form1.[Ch]:
13218         * lyx.[Ch]: replaced by figure_form.[Ch].
13219
13220         * lyx_gui.C:
13221         * lyx_gui_misc.C:
13222         * lyxfunc.C: changed headers associated with above changes.
13223
13224 2001-03-27  Juergen Vigna  <jug@sad.it>
13225
13226         * BufferView_pimpl.C: set the temporary cursor right!
13227
13228 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13229
13230         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13231
13232 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13233
13234         * LString.h: removed "using std::getline"!
13235
13236         * BufferView_pimpl.C (Dispatch): changes due to changes in
13237         InsetInclude::Params.
13238
13239         * buffer.C (tag_name): removed redundant break statements as they were
13240         producing lots of warnings with my compiler.
13241
13242 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13243
13244         * LString.h: add "using std::getline" when using the real <string>.
13245
13246 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13247
13248         * buffer.C: removed bitset usage.
13249         PAR_TAG moved to an anonymous name space.
13250         (tag_name): new funtion, also in the anonymous namespace.
13251         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13252         (makeDocBookFile): clean code. Completed transition from string arrays
13253         to string vectors.
13254         (SimpleDocBookOnePar): code clean.
13255
13256 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13257
13258         * tabular.C: add some comments.
13259
13260 2001-03-22  Juergen Vigna  <jug@sad.it>
13261
13262         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13263         compatibility read a bit and fixed bug with minipage in different
13264         depth.
13265
13266 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13267
13268         * buffer.C (pop_tag): removed.
13269         (push_tag): removed.
13270         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13271         array replaced with vector. Added support for CDATA sections.
13272         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13273         at any nest level.
13274         (makeDocBookFile): XML conformant declaration of CDATA section,
13275         fixed bug related to <emphasis> in the first paragraph char.
13276         (sgmlOpenTag): exclude empty tags.
13277         (sgmlCloseTag): ditto.
13278
13279         * buffer.h (pop_tag): removed.
13280         (push_tag): removed.
13281
13282 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13283
13284         * language.h (Languages): added size_type and size().
13285
13286 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13287
13288         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13289         response on compability reading of minipages. One probliem is that
13290         the old usage of minipages was «flertydig»
13291
13292         * several files here and in subdirs: don't use static at file
13293         scope use anon namespaces instead.
13294
13295 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13296
13297         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13298         LaTeX output. This is necessary for Literate document
13299         processing.
13300
13301 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13302
13303         * buffer.C: insert hfill when needed.
13304
13305         * tabular.C (l_getline): use string::erase, small whitespace change.
13306
13307         * BufferView_pimpl.C: try the anon namespace.
13308         * WorkArea.C: ditto
13309
13310 2001-03-16  Juergen Vigna  <jug@sad.it>
13311
13312         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13313         otherwise it won't open options-dialogs.
13314
13315         * buffer.C: honor pextraWidth(p) on converting minipages.
13316
13317         * tabular.C (l_getline): changed the functions to strip trailing \r.
13318
13319 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13320
13321         * BufferView_pimpl.C:
13322         * minibuffer..C: added "using SigC::slot" declaration.
13323
13324 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13325
13326         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13327
13328         * text2.C: ditto
13329
13330         * text.C: ditto
13331
13332         * paragraph.C: ditto
13333
13334         * lyxtext.h: NO_PEXTRA
13335
13336         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13337
13338         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13339         * ParameterStruct.h: ditto
13340         * ParagraphParameters.h: ditto
13341         * lyxparagraph.h: ditto
13342
13343 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13344
13345         * buffer.C: add compability for minipage alignment.
13346         (latexParagraphs): remove unwanted pextra check.
13347
13348         * several files: remove CXX_WORKING_NAMESPACES
13349
13350         * buffer.C (pop_tag): tie is in namespace boost
13351
13352         * BufferView.h: noncopyable is in namespace boost
13353         * lyxlex.h: ditto
13354         * lyx_main.h: ditto
13355         * lyx_gui.h: ditto
13356         * layout.h: ditto
13357         * lastfiles.h: ditto
13358         * bufferlist.h: ditto
13359         * ShareContainer.h: ditto
13360         * LyXView.h: ditto
13361         * LyXAction.h: ditto
13362         * LaTeX.h: ditto
13363
13364 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13365
13366         * Merging changes from BRANCH_MVC back into HEAD.
13367
13368         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13369
13370 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13371
13372         * BufferView_pimpl.C: change from intl.C
13373
13374         * combox.h:
13375         * combox.C:
13376         * Makefile.am: move combox.*
13377
13378         * form1.h:
13379         * form1.C:
13380         * lyx_gui.C:
13381         * intl.h:
13382         * intl.C: remove dialog (covered by prefs)
13383
13384 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13385
13386         * lyxfunc.C (Dispatch): removed redundant break statement.
13387
13388 2001-03-14  Juergen Vigna  <jug@sad.it>
13389
13390         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13391
13392 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13393
13394         * buffer.C: add hack to fix compability reading of minipages.
13395
13396 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13397
13398         * buffer.C (getLists): Cleanup.
13399
13400 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13401
13402         * lyxfont.C (update): don't honor toggleall on font size.
13403
13404 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13405
13406         * bmtable.c:
13407         * bmtable.h:
13408         * Makefile.am: moved to frontends/xforms/
13409
13410         * lyx_gui_misc.C:
13411         * lyxfunc.C:
13412         * BufferView_pimpl.C: changes for moved mathpanel
13413
13414 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13415
13416         * gettext.h: fix gettext_init() in --disable-nls
13417
13418 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13419
13420         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13421
13422 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13423
13424         * lyx.C:
13425         * lyx.h: strip external form
13426
13427 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13428
13429         * BufferView_pimpl.C: add comment, destroySplash()
13430
13431 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13432
13433         * BufferView_pimpl.C:
13434         * LyXAction.C:
13435         * buffer.C:
13436         * commandtags.h:
13437         * lyxfunc.C: use re-worked insetinclude
13438
13439 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13440
13441         * buffer.C: add using std::stringstream.
13442
13443         * lyx_cb.C: readd using std::ios.
13444
13445         * buffer.C: add using std::map.
13446
13447         * BufferView_pimpl.C: add using std::vector.
13448
13449         * ShareContainer.h: add std:: to swap.
13450
13451         * buffer.h: add some typedefs
13452         * buffer.C (getLists): use them
13453         (getLists): renamed from getTocList.
13454         add a counter for the different float types and use it in the
13455         generated string.
13456         (getLists): use the same counter for the NEW_INSETS and the "non"
13457         NEW_INSETS
13458
13459         * lyx_cb.h: remove unused items, includes, using etc.
13460
13461         * ShareContainer.h: remove some commented code, add more comments
13462         and "documentation".
13463
13464 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13465
13466         * buffer.C (getTocList): make the list also when NEW_INSETS is
13467         defined.
13468
13469         * buffer.h: remove TocType
13470
13471         * buffer.C (getTocList): change to return a map<string,
13472         vector<TocItem> >, implement for dynamic number of list.
13473
13474         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13475         * text2.C (PasteSelection): adjust
13476         * CutAndPaste.C (pasteSelection): adjust
13477
13478         * FloatList.C (FloatList): update from the new_insets branch.
13479         * Floating.[Ch]: ditto
13480         * LaTeXFeatures.C: ditto
13481         * buffer.C: ditto
13482         * lyxlex_pimpl.C: ditto
13483
13484         * paragraph.C (Last): remove when NEW_INSETS is defined.
13485
13486         * other file: changes because of the above.
13487
13488 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13489
13490         * lyxparagraph.h: rename next to next_, previous to previous_,
13491         make them private for NEW_INSETS. Rename Next() to next(),
13492         Previous() to previous().
13493
13494         * other files: changes because of the above.
13495
13496 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13497
13498         * BufferView.h:
13499         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13500         problem.
13501
13502 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13503
13504         * main.C (main): pass lyx_localedir to gettext_init().
13505
13506         * gettext.h: remove locale_init and gettext_init macros
13507
13508         * gettext.C (locale_init): new function
13509         (gettext_init): new function
13510
13511         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13512         setlocale().
13513
13514 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13515
13516         * Moved credits to frontends:
13517         * credits.[Ch]: removed
13518         * credits_form.[Ch]: removed
13519         * lyx_gui_misc.C: remove credits stuff
13520         * Makefile.am:
13521
13522 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13523
13524         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13525
13526         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13527         unneeded destructor.
13528
13529         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13530         a standalone pointer again.
13531
13532         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13533
13534 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13535
13536         * Makefile.am:
13537         * filedlg.h:
13538         * filedlg.C:
13539         * LyXAction.C:
13540         * ToolbarDefaults.C:
13541         * bufferlist.C:
13542         * commandtags.h:
13543         * form1.C:
13544         * form1.h:
13545         * lyx_cb.C:
13546         * lyx_cb.h:
13547         * lyxfunc.h:
13548         * lyxfunc.C:
13549         * BufferView_pimpl.C: use new file dialog in GUII
13550
13551         * lyx_cb.h:
13552         * lyx_cb.C: remove LayoutsCB to Toolbar
13553
13554 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13555
13556         * ShareContainer.h (get): add std:: qualifier
13557
13558 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13559
13560         * ShareContainer.h: define a proper ShareContainer::value_type
13561         type (and use typename to please compaq cxx)
13562
13563 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13564
13565         * lyxparagraph.h: move serveral local vars to
13566         ParameterStruct/ParagraphParameters., use ShareContainer in
13567         FontTable., make vars in FontTable private and add getter and
13568         setter.
13569
13570         * paragraph.C: changes because of the above.
13571
13572         * lyxfont.h: remove copy constructor and copy assignment. (the
13573         default ones is ok), move number inside FontBits. move inlines to
13574         lyxfont.C
13575
13576         * lyxfont.C: add number to initializaton of statics, move several
13577         inlines here. constify several local vars. some whitespace
13578         cleanup. Dont hide outerscope variables.
13579
13580         * Spacing.h: add two new constructors to match the set methods.
13581
13582         * ShareContainer.h: new file, will perhaps be moved to support
13583
13584         * ParameterStruct.h: new file
13585
13586         * ParagraphParameters.h: new file
13587
13588         * ParagraphParameters.C: new file
13589
13590         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13591         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13592
13593         * BufferView_pimpl.C: ParagraphParameter changes.
13594         * buffer.C: Likewise.
13595         * bufferview_funcs.C: Likewise.
13596         * text.C: Likewise.
13597         * text2.C: Likewise.
13598
13599 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13600
13601         * lyxfind.C (LyXReplace): do not redefine default argument in
13602         implementation.
13603         (IsStringInText): ditto
13604         (SearchForward): ditto
13605         (SearchBackward): ditto
13606
13607 2001-03-06  Juergen Vigna  <jug@sad.it>
13608
13609         * lyxfind.C (IsStringInText): put parentes around expressions.
13610
13611 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13612
13613         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13614
13615 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13616
13617         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13618
13619         * stl_string_fwd.h: add comment
13620
13621         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13622
13623         * tabular.h:
13624         * tabular.C: remove unused DocBook methods
13625
13626         * intl.C:
13627         * language.C:
13628         * paragraph.C:
13629         * buffer.C:
13630         killed DO_USE_DEFAULT_LANGUAGE
13631
13632 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13633
13634         * lyx_gui.C: do not include language.h.
13635
13636         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13637         arguments in function implementation.
13638
13639 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13640
13641         * BufferView_pimpl.C: add <ctime>
13642
13643 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13644
13645         * BufferView_pimpl.C: add using std::find_if
13646
13647 2001-02-27  José Matos  <jamatos@fep.up.pt>
13648
13649         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13650         by OnlyPath.
13651
13652 2001-02-11  José Matos  <jamatos@fep.up.pt>
13653
13654         * buffer.C (makeDocBookFile): command styles now have a parameter as
13655         "title" by default.
13656
13657 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13658
13659         * layout_forms.[Ch]: removed
13660         * lyx_cb.[Ch]: out character
13661         * lyx_gui.C: out character
13662         * lyx_gui_misc.C: out character
13663         * bufferview_funcs.C: : out character,
13664         added toggleall as parameter in ToggleAndShow
13665
13666 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13667
13668         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13669
13670         * text2.C (SetCurrentFont): Disable number property at boundary.
13671
13672 2001-02-26  Juergen Vigna  <jug@sad.it>
13673
13674         * lyxfunc.C (getStatus): added a string argument override function so
13675         that this is correctly called from LyXFunc::Dispatch if it contains a
13676         do_not_use_argument which is used!
13677         (Dispatch): added check for "custom" export and call appropriate func.
13678
13679 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13680
13681         * lyxrc.C: Add language_command_local, language_use_babel and
13682         language_global_options.
13683
13684         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13685
13686         * buffer.C (makeLaTeXFile): Use language_use_babel and
13687         language_global_options.
13688
13689 2001-02-23  Juergen Vigna  <jug@sad.it>
13690
13691         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13692         which works with LyXText and putted it inside BufferView. Here now we
13693         only call for that part the BufferView::Dispatch() function.
13694
13695         * BufferView.C (Dispatch): added.
13696
13697         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13698         functions which needs to use a LyXText over from LyXFunc.
13699         (MenuInsertLyXFile): added
13700         (getInsetByCode): added
13701         (moveCursorUpdate): added
13702         (static TEXT): added
13703
13704 2001-02-22  Juergen Vigna  <jug@sad.it>
13705
13706         * BufferView_pimpl.C (update): call a status update to see if LyXText
13707         needs it.
13708
13709 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13710
13711         * vc-backend.C (revert): implement for CVS
13712         (getLog): implement for CVS
13713
13714 2001-02-20  Juergen Vigna  <jug@sad.it>
13715
13716         * text2.C (ClearSelection): added BufferView param for inset_owner call
13717
13718         * lyxfunc.C (TEXT): added this function and use it instead of
13719         directly owner->view()-text of getLyXText().
13720
13721 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13722
13723         * src/layout_forms.C: out preamble
13724         * src/layout_forms.h: out preamble
13725         * src/lyx_cb.C: out preamble
13726         * src/lyx_cb.h: out preamble
13727         * src/lyx_gui.C: out preamble
13728         * src/lyx_gui_misc.C: out preamble
13729         * src/lyxfunc.C: connect with guii preamble
13730
13731 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13732
13733         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13734
13735 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13736
13737         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13738         whether to run bibtex.
13739
13740 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13741
13742         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13743
13744 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13745
13746         * Makefile.am (lyx_SOURCES): removed bibforms.h
13747
13748         * vspace.h: doxygen
13749
13750         * text.C (GetVisibleRow): make several local vars const
13751
13752         * tabular.C: small cleanup.
13753
13754         * lyxserver.C (callback): use compare instead of strncmp
13755
13756         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13757         inlines to after class or to paragraph.C
13758
13759         * lyxfont.h: remove friend operator!=
13760
13761         * converter.h: move friend bool operator< to non friend and after
13762         class def.
13763
13764         * combox.h: small cleanup
13765
13766         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13767         to inlines after class def.
13768
13769         * buffer.C (pop_tag): use string operations instead of strcmp
13770
13771         * bmtable.c: doxygen, small cleanup
13772
13773         * LaTeX.h: remove friend operator==
13774
13775 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13776
13777         * screen.C:
13778         * lyxrc.[Ch]:
13779         * lyxfunc.C:
13780         * lyxfont.[Ch]:
13781         * lyx_cb.C:
13782         * intl.[Ch]:
13783         * commandtags.h:
13784         * buffer.C:
13785         * WorkArea.[Ch]:
13786         * LyXAction.C:
13787         * BufferView_pimpl.C:
13788         * BufferView.[Ch]: remove cruft
13789
13790 2001-02-14  Juergen Vigna  <jug@sad.it>
13791
13792         * lyxfunc.C: removed #if 0 unused code
13793
13794         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13795
13796         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13797
13798         * text2.C (SetSelection): added a BufferView * parameter
13799
13800 2001-02-13  Juergen Vigna  <jug@sad.it>
13801
13802         * lyxfunc.C (Dispatch): fixed protected blank problem.
13803         * BufferView2.C (protectedBlank): added LyxText * parameter.
13804
13805         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13806         (AppendColumn): same as above for column_info.
13807
13808         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13809         (moveCursorUpdate): use a LyXText param for support of InsetText.
13810
13811         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13812         (tripleClick): ditto
13813
13814         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13815
13816         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13817
13818         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13819
13820         * text2.C (SetSelection): set correct update status if inset_owner
13821         (ToggleFree): ditto
13822
13823 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13824
13825         * tabular.C: remove some commented code.
13826
13827 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13828
13829         * BufferView_pimpl.C: call hideSplash()
13830
13831         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13832
13833         * include_form.h:
13834         * bibforms.h: remove
13835
13836         * lyxfunc.C:
13837         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13838           add LFUN_CHILD_CREATE
13839
13840         * counters.h: fix tiny typo
13841
13842         * lyx_cb.C:
13843         * lyx.h:
13844         * lyx_gui.C:
13845         * lyx.C: move splash to frontends/xforms/
13846
13847         * lyx_gui_misc.C: move Include and Bibform to frontends
13848
13849         * lyxvc.h: clarify comment
13850
13851         * vspace.C: tiny housekeeping
13852
13853 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13854
13855         * text.C (PrepareToPrint): RTL Fix.
13856
13857         * paragraph.C (GetUChar): New method.
13858         (String):  Use GetUChar.
13859
13860         * buffer.C (asciiParagraph): Use GetUChar.
13861
13862 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13863
13864         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13865
13866 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13867
13868         * buffer.h:
13869         * buffer.C: rename to getLogName(), handle
13870           build log / latex log nicely
13871
13872 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13873
13874         * MenuBackend.C:
13875         * MenuBackend.h: remove support for reference menuitem type.
13876
13877 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13878
13879         * BufferView_pimpl.C: housekeeping
13880         * BufferView_pimpl.h:
13881         * LyXView.h:
13882         * Makefile.am:
13883         * Timeout.C:
13884         * Timeout.h:
13885         * minibuffer.h: move Timeout GUI-I
13886
13887 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13888
13889         * lyxrc.C (read): Update converters data-structures.
13890
13891 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13892
13893         * LaTeX.h (operator!=): add operator != for Aux_Info
13894
13895 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13896
13897         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13898
13899         * LaTeXLog.C: deleted, useful code moved to Buffer
13900
13901         * buffer.h:
13902         * buffer.C: new function getLatexLogName()
13903
13904         * lyx_gui_misc.C:
13905         * lyx_gui.C:
13906         * lyxvc.C:
13907         * lyxvc.h:
13908         * lyxfunc.C: use frontends for LaTeX and VC logs
13909
13910 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13911
13912         * LaTeX.h: yet another std:: that Allan forgot.
13913
13914         * Variables.C (set): renamed from isset(), because this clashes
13915         with some HP-UX macros (grr).
13916
13917 2001-02-06  Allan Rae  <rae@lyx.org>
13918
13919         * LaTeX.h: Another bug fix.  Missing std:: this time.
13920
13921 2001-02-04  Allan Rae  <rae@lyx.org>
13922
13923         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13924         floats problem. I've left it commented out because it's not quite
13925         correct.  It should also test that the current object is a table or
13926         figure inset.  But I haven't gotten around to figuring out how to do
13927         that.  I *think* it'll be something like: "table" == inset.type()
13928
13929         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13930         bool.
13931
13932 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13933
13934         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13935         all the citation/databases/styles in the auxilary file.
13936         (run): Rerun latex if there was a babel language error.
13937
13938 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13939
13940         * text.C (Backspace): Preserve the font when changing newline char
13941         with a space.
13942         (BreakParagraph): If the cursor is before a space, delete the space.
13943
13944         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13945
13946 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13947
13948         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13949         new argument (code).
13950         (ChangeCitationsIfUnique): New method.
13951
13952         * paragraph.C (GetPositionOfInset): Handle bibkey.
13953
13954 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13955
13956         * BufferView_pimpl.h: change type of Position::par_pos to
13957         LyXParagraph::size_type.
13958
13959 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13960
13961         * BufferView_pimpl.C (savePosition, restorePosition): Write
13962         messages to minibuffer.
13963
13964 2001-01-28  José Matos  <jamatos@fep.up.pt>
13965
13966         * buffer.C (makeDocBookFile): adds support for document language.
13967         A silly restriction on the name of LatexCommand types where removed.
13968         Added support for CDATA sections, allows to chars unescaped, used
13969         among others in code, to avoid escape < and >.
13970
13971 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13972
13973         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13974         saved positions instrad of a stack. Furthermore, a position is
13975         stored using paragraph id/paragraph position.
13976
13977         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13978         Remove LFUN_REF_BACK.
13979
13980 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13981
13982         * converter.C (dvipdfm_options): New method.
13983
13984 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13985
13986         * vspace.C (isValidLength): Fix for empty input string.
13987
13988 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13989
13990         * LyXAction.C (init): change description of LFUN_FIGURE to
13991         "Insert Graphics"
13992
13993 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13994
13995         * LaTeX.C: add using directive
13996
13997 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13998
13999         * MenuBackend.C (expand): Fix the sorting of the formats.
14000
14001 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14002
14003         * lyx_main.C: tiny error message fix
14004
14005 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14006
14007         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14008         calling fl_initialize(). This fixes the problem with ',' as
14009         decimal separator in text files.
14010
14011 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14012
14013         * trans.C (process): Fix the keymap bug.
14014
14015 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14016
14017         * LaTeX.C (scanAuxFiles): New method. Provides support for
14018         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14019         (scanLogFile) Scan for "run BibTeX" messages.
14020
14021         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14022         OT1 font encoding. Also, load the aecompl package if the ae
14023         package is loaded.
14024
14025         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14026
14027 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14028
14029         * texrow.C (increasePos): turn two error messages into debug
14030         messages.
14031
14032 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14033
14034         * LaTeX.C (scanAux): Handle the \@input macro.
14035         (runBibTeX): Use scanAux().
14036
14037         * language.C (latex_options_): New field.
14038
14039         * LaTeXFeatures.C (getMacros): Add language macros.
14040
14041         * buffer.C (makeLaTeXFile): Small fix.
14042
14043 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14044
14045         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14046
14047         * text2.C: add a using directive.
14048
14049 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14050
14051         * BufferView2.C:
14052         * lyx_gui_misc.h:
14053         * lyxfr1.C:
14054         * lyxfunc.C: kill LyXBell.
14055
14056 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14057
14058         * text.C (IsBoundary): Remove the error message
14059
14060         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14061
14062         * lyxrc.C (setDefaults): Correct initialization value for
14063         font_norm_type.
14064
14065 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14066
14067         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14068         gotoError().
14069
14070         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14071         and GotoNextNote().
14072
14073         * src/LyXAction.C: Added reference-next.
14074
14075         * text.C (InsertChar): Use contains instead of strchr.
14076
14077         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14078
14079 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14080
14081         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14082         alignment commands (when needed).
14083
14084         * text.C (InsertChar): Add ':' to number separator chars.